@keystrokehq/onenote 0.1.0 → 0.1.2

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 (439) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  4. package/dist/actions/copy-onenote-group-notebook.d.cts +16 -3
  5. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
  6. package/dist/actions/copy-onenote-group-notebook.d.mts +16 -3
  7. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
  8. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  9. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  10. package/dist/actions/copy-onenote-site-notebook.d.cts +18 -3
  11. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
  12. package/dist/actions/copy-onenote-site-notebook.d.mts +18 -3
  13. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
  14. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  15. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  16. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +21 -3
  17. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
  18. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +21 -3
  19. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
  20. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  22. package/dist/actions/copy-section-to-notebook2.d.cts +20 -3
  23. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
  24. package/dist/actions/copy-section-to-notebook2.d.mts +20 -3
  25. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
  26. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  27. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  28. package/dist/actions/copy-section-to-section-group-for-user.d.cts +19 -3
  29. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
  30. package/dist/actions/copy-section-to-section-group-for-user.d.mts +19 -3
  31. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
  32. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  33. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  34. package/dist/actions/copy-section-to-section-group.d.cts +17 -3
  35. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
  36. package/dist/actions/copy-section-to-section-group.d.mts +17 -3
  37. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
  38. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  39. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  40. package/dist/actions/copy-site-page-to-section3.d.cts +20 -3
  41. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
  42. package/dist/actions/copy-site-page-to-section3.d.mts +20 -3
  43. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
  44. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  45. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  46. package/dist/actions/copy-user-page-to-section.d.cts +16 -3
  47. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
  48. package/dist/actions/copy-user-page-to-section.d.mts +16 -3
  49. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
  50. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  51. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
  52. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  53. package/dist/actions/count-notebooks-section-groups-sections.d.cts +11 -3
  54. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
  55. package/dist/actions/count-notebooks-section-groups-sections.d.mts +11 -3
  56. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
  57. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
  58. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  59. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
  60. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  61. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +13 -3
  62. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
  63. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +13 -3
  64. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
  65. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
  66. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  67. package/dist/actions/create-group-notebook.cjs.map +1 -1
  68. package/dist/actions/create-group-notebook.d.cts +56 -3
  69. package/dist/actions/create-group-notebook.d.cts.map +1 -1
  70. package/dist/actions/create-group-notebook.d.mts +56 -3
  71. package/dist/actions/create-group-notebook.d.mts.map +1 -1
  72. package/dist/actions/create-group-notebook.mjs.map +1 -1
  73. package/dist/actions/create-group-pages.cjs +2 -2
  74. package/dist/actions/create-group-pages.cjs.map +1 -1
  75. package/dist/actions/create-group-pages.d.cts +29 -3
  76. package/dist/actions/create-group-pages.d.cts.map +1 -1
  77. package/dist/actions/create-group-pages.d.mts +29 -3
  78. package/dist/actions/create-group-pages.d.mts.map +1 -1
  79. package/dist/actions/create-group-pages.mjs +2 -2
  80. package/dist/actions/create-group-pages.mjs.map +1 -1
  81. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  82. package/dist/actions/create-group-section-groups-sections.d.cts +55 -3
  83. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
  84. package/dist/actions/create-group-section-groups-sections.d.mts +55 -3
  85. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
  86. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  87. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  88. package/dist/actions/create-me-notebooks.d.cts +54 -3
  89. package/dist/actions/create-me-notebooks.d.cts.map +1 -1
  90. package/dist/actions/create-me-notebooks.d.mts +54 -3
  91. package/dist/actions/create-me-notebooks.d.mts.map +1 -1
  92. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  93. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  94. package/dist/actions/create-me-section-groups-sections.d.cts +53 -3
  95. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
  96. package/dist/actions/create-me-section-groups-sections.d.mts +53 -3
  97. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
  98. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  99. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  100. package/dist/actions/create-me-sections-pages.d.cts +31 -3
  101. package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
  102. package/dist/actions/create-me-sections-pages.d.mts +31 -3
  103. package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
  104. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  105. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  106. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +47 -3
  107. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
  108. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +47 -3
  109. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
  110. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  111. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  112. package/dist/actions/create-site-notebooks-sections.d.cts +55 -3
  113. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
  114. package/dist/actions/create-site-notebooks-sections.d.mts +55 -3
  115. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
  116. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  117. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  118. package/dist/actions/create-user-notebooks-sections.d.cts +55 -3
  119. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
  120. package/dist/actions/create-user-notebooks-sections.d.mts +55 -3
  121. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
  122. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  123. package/dist/actions/create-user-pages.cjs +2 -2
  124. package/dist/actions/create-user-pages.cjs.map +1 -1
  125. package/dist/actions/create-user-pages.d.cts +29 -3
  126. package/dist/actions/create-user-pages.d.cts.map +1 -1
  127. package/dist/actions/create-user-pages.d.mts +29 -3
  128. package/dist/actions/create-user-pages.d.mts.map +1 -1
  129. package/dist/actions/create-user-pages.mjs +2 -2
  130. package/dist/actions/create-user-pages.mjs.map +1 -1
  131. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  132. package/dist/actions/create-user-section-groups-sections.d.cts +55 -3
  133. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
  134. package/dist/actions/create-user-section-groups-sections.d.mts +55 -3
  135. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
  136. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  137. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  138. package/dist/actions/create-user-sections-pages4.d.cts +33 -3
  139. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
  140. package/dist/actions/create-user-sections-pages4.d.mts +33 -3
  141. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
  142. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  143. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  144. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +16 -3
  145. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
  146. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +16 -3
  147. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
  148. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  149. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  150. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +16 -3
  151. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
  152. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +16 -3
  153. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
  154. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  155. package/dist/actions/delete-site-pages.cjs.map +1 -1
  156. package/dist/actions/delete-site-pages.d.cts +12 -3
  157. package/dist/actions/delete-site-pages.d.cts.map +1 -1
  158. package/dist/actions/delete-site-pages.d.mts +12 -3
  159. package/dist/actions/delete-site-pages.d.mts.map +1 -1
  160. package/dist/actions/delete-site-pages.mjs.map +1 -1
  161. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  162. package/dist/actions/delete-user-onenote-sections-pages.d.cts +18 -3
  163. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
  164. package/dist/actions/delete-user-onenote-sections-pages.d.mts +18 -3
  165. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
  166. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  167. package/dist/actions/delete-user-pages.cjs.map +1 -1
  168. package/dist/actions/delete-user-pages.d.cts +12 -3
  169. package/dist/actions/delete-user-pages.d.cts.map +1 -1
  170. package/dist/actions/delete-user-pages.d.mts +12 -3
  171. package/dist/actions/delete-user-pages.d.mts.map +1 -1
  172. package/dist/actions/delete-user-pages.mjs.map +1 -1
  173. package/dist/actions/get-group-sections.cjs.map +1 -1
  174. package/dist/actions/get-group-sections.d.cts +145 -3
  175. package/dist/actions/get-group-sections.d.cts.map +1 -1
  176. package/dist/actions/get-group-sections.d.mts +145 -3
  177. package/dist/actions/get-group-sections.d.mts.map +1 -1
  178. package/dist/actions/get-group-sections.mjs.map +1 -1
  179. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  180. package/dist/actions/get-me-onenote-resources-value.d.cts +12 -3
  181. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
  182. package/dist/actions/get-me-onenote-resources-value.d.mts +12 -3
  183. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
  184. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  185. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  186. package/dist/actions/get-me-section-page-content.d.cts +13 -3
  187. package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
  188. package/dist/actions/get-me-section-page-content.d.mts +13 -3
  189. package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
  190. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  191. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  192. package/dist/actions/get-notebook-from-web-url.d.cts +57 -3
  193. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
  194. package/dist/actions/get-notebook-from-web-url.d.mts +57 -3
  195. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
  196. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  197. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  198. package/dist/actions/get-notebook-section-group.d.cts +49 -3
  199. package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
  200. package/dist/actions/get-notebook-section-group.d.mts +49 -3
  201. package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
  202. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  203. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  204. package/dist/actions/get-onenote-group-operations.d.cts +26 -3
  205. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
  206. package/dist/actions/get-onenote-group-operations.d.mts +26 -3
  207. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
  208. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  209. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  210. package/dist/actions/get-onenote-group-sections-pages.d.cts +51 -3
  211. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
  212. package/dist/actions/get-onenote-group-sections-pages.d.mts +51 -3
  213. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
  214. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  215. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  216. package/dist/actions/get-onenote-site-operations.d.cts +26 -3
  217. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
  218. package/dist/actions/get-onenote-site-operations.d.mts +26 -3
  219. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
  220. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  221. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  222. package/dist/actions/get-onenote-user-page-content.d.cts +26 -3
  223. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
  224. package/dist/actions/get-onenote-user-page-content.d.mts +26 -3
  225. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
  226. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  227. package/dist/actions/get-page.cjs.map +1 -1
  228. package/dist/actions/get-page.d.cts +43 -3
  229. package/dist/actions/get-page.d.cts.map +1 -1
  230. package/dist/actions/get-page.d.mts +43 -3
  231. package/dist/actions/get-page.d.mts.map +1 -1
  232. package/dist/actions/get-page.mjs.map +1 -1
  233. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  234. package/dist/actions/get-recent-notebooks.d.cts +32 -3
  235. package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
  236. package/dist/actions/get-recent-notebooks.d.mts +32 -3
  237. package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
  238. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  239. package/dist/actions/get-section.cjs.map +1 -1
  240. package/dist/actions/get-section.d.cts +67 -3
  241. package/dist/actions/get-section.d.cts.map +1 -1
  242. package/dist/actions/get-section.d.mts +67 -3
  243. package/dist/actions/get-section.d.mts.map +1 -1
  244. package/dist/actions/get-section.mjs.map +1 -1
  245. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  246. package/dist/actions/get-site-onenote-pages.d.cts +39 -3
  247. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
  248. package/dist/actions/get-site-onenote-pages.d.mts +39 -3
  249. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
  250. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  251. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  252. package/dist/actions/get-site-pages-preview.d.cts +12 -3
  253. package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
  254. package/dist/actions/get-site-pages-preview.d.mts +12 -3
  255. package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
  256. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  257. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  258. package/dist/actions/get-site-sections-pages.d.cts +51 -3
  259. package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
  260. package/dist/actions/get-site-sections-pages.d.mts +51 -3
  261. package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
  262. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  263. package/dist/actions/get-site-sections.cjs.map +1 -1
  264. package/dist/actions/get-site-sections.d.cts +145 -3
  265. package/dist/actions/get-site-sections.d.cts.map +1 -1
  266. package/dist/actions/get-site-sections.d.mts +145 -3
  267. package/dist/actions/get-site-sections.d.mts.map +1 -1
  268. package/dist/actions/get-site-sections.mjs.map +1 -1
  269. package/dist/actions/get-user-notebook.cjs.map +1 -1
  270. package/dist/actions/get-user-notebook.d.cts +123 -3
  271. package/dist/actions/get-user-notebook.d.cts.map +1 -1
  272. package/dist/actions/get-user-notebook.d.mts +123 -3
  273. package/dist/actions/get-user-notebook.d.mts.map +1 -1
  274. package/dist/actions/get-user-notebook.mjs.map +1 -1
  275. package/dist/actions/get-user-pages.cjs.map +1 -1
  276. package/dist/actions/get-user-pages.d.cts +45 -3
  277. package/dist/actions/get-user-pages.d.cts.map +1 -1
  278. package/dist/actions/get-user-pages.d.mts +45 -3
  279. package/dist/actions/get-user-pages.d.mts.map +1 -1
  280. package/dist/actions/get-user-pages.mjs.map +1 -1
  281. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  282. package/dist/actions/get-user-parent-section-group2.d.cts +52 -3
  283. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
  284. package/dist/actions/get-user-parent-section-group2.d.mts +52 -3
  285. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
  286. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  287. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  288. package/dist/actions/list-group-notebook-section-groups.d.cts +79 -3
  289. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
  290. package/dist/actions/list-group-notebook-section-groups.d.mts +79 -3
  291. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
  292. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  293. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  294. package/dist/actions/list-group-notebook-section-pages.d.cts +41 -3
  295. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
  296. package/dist/actions/list-group-notebook-section-pages.d.mts +41 -3
  297. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
  298. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  299. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  300. package/dist/actions/list-group-notebooks.d.cts +94 -3
  301. package/dist/actions/list-group-notebooks.d.cts.map +1 -1
  302. package/dist/actions/list-group-notebooks.d.mts +94 -3
  303. package/dist/actions/list-group-notebooks.d.mts.map +1 -1
  304. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  305. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  306. package/dist/actions/list-group-section-groups-sections.d.cts +71 -3
  307. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
  308. package/dist/actions/list-group-section-groups-sections.d.mts +71 -3
  309. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
  310. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  311. package/dist/actions/list-joined-teams.cjs.map +1 -1
  312. package/dist/actions/list-joined-teams.d.cts +47 -3
  313. package/dist/actions/list-joined-teams.d.cts.map +1 -1
  314. package/dist/actions/list-joined-teams.d.mts +47 -3
  315. package/dist/actions/list-joined-teams.d.mts.map +1 -1
  316. package/dist/actions/list-joined-teams.mjs.map +1 -1
  317. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  318. package/dist/actions/list-me-onenote-sections-pages4.d.cts +54 -3
  319. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
  320. package/dist/actions/list-me-onenote-sections-pages4.d.mts +54 -3
  321. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
  322. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  323. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  324. package/dist/actions/list-onenote-group-pages.d.cts +37 -3
  325. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
  326. package/dist/actions/list-onenote-group-pages.d.mts +37 -3
  327. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
  328. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  329. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  330. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +63 -3
  331. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
  332. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +63 -3
  333. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
  334. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  335. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  336. package/dist/actions/list-onenote-group-sections-pages4.d.cts +46 -3
  337. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
  338. package/dist/actions/list-onenote-group-sections-pages4.d.mts +46 -3
  339. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
  340. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  341. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  342. package/dist/actions/list-site-notebook-section-groups.d.cts +63 -3
  343. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
  344. package/dist/actions/list-site-notebook-section-groups.d.mts +63 -3
  345. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
  346. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  347. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  348. package/dist/actions/list-site-notebooks.d.cts +94 -3
  349. package/dist/actions/list-site-notebooks.d.cts.map +1 -1
  350. package/dist/actions/list-site-notebooks.d.mts +94 -3
  351. package/dist/actions/list-site-notebooks.d.mts.map +1 -1
  352. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  353. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  354. package/dist/actions/list-site-pages-content.d.cts +15 -3
  355. package/dist/actions/list-site-pages-content.d.cts.map +1 -1
  356. package/dist/actions/list-site-pages-content.d.mts +15 -3
  357. package/dist/actions/list-site-pages-content.d.mts.map +1 -1
  358. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  359. package/dist/actions/list-site-sections.cjs.map +1 -1
  360. package/dist/actions/list-site-sections.d.cts +69 -3
  361. package/dist/actions/list-site-sections.d.cts.map +1 -1
  362. package/dist/actions/list-site-sections.d.mts +69 -3
  363. package/dist/actions/list-site-sections.d.mts.map +1 -1
  364. package/dist/actions/list-site-sections.mjs.map +1 -1
  365. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  366. package/dist/actions/list-user-notebook-sections.d.cts +77 -3
  367. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
  368. package/dist/actions/list-user-notebook-sections.d.mts +77 -3
  369. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
  370. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  371. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  372. package/dist/actions/list-user-notebooks.d.cts +76 -3
  373. package/dist/actions/list-user-notebooks.d.cts.map +1 -1
  374. package/dist/actions/list-user-notebooks.d.mts +76 -3
  375. package/dist/actions/list-user-notebooks.d.mts.map +1 -1
  376. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  377. package/dist/actions/resolve-site-by-url.cjs.map +1 -1
  378. package/dist/actions/resolve-site-by-url.d.cts +43 -3
  379. package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
  380. package/dist/actions/resolve-site-by-url.d.mts +43 -3
  381. package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
  382. package/dist/actions/resolve-site-by-url.mjs.map +1 -1
  383. package/dist/actions/sites-search.cjs.map +1 -1
  384. package/dist/actions/sites-search.d.cts +47 -3
  385. package/dist/actions/sites-search.d.cts.map +1 -1
  386. package/dist/actions/sites-search.d.mts +47 -3
  387. package/dist/actions/sites-search.d.mts.map +1 -1
  388. package/dist/actions/sites-search.mjs.map +1 -1
  389. package/dist/actions/update-me-page-content.cjs.map +1 -1
  390. package/dist/actions/update-me-page-content.d.cts +31 -3
  391. package/dist/actions/update-me-page-content.d.cts.map +1 -1
  392. package/dist/actions/update-me-page-content.d.mts +31 -3
  393. package/dist/actions/update-me-page-content.d.mts.map +1 -1
  394. package/dist/actions/update-me-page-content.mjs.map +1 -1
  395. package/dist/actions/update-me-sections.cjs.map +1 -1
  396. package/dist/actions/update-me-sections.d.cts +54 -3
  397. package/dist/actions/update-me-sections.d.cts.map +1 -1
  398. package/dist/actions/update-me-sections.d.mts +54 -3
  399. package/dist/actions/update-me-sections.d.mts.map +1 -1
  400. package/dist/actions/update-me-sections.mjs.map +1 -1
  401. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  402. package/dist/actions/update-onenote-page-content.d.cts +33 -3
  403. package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
  404. package/dist/actions/update-onenote-page-content.d.mts +33 -3
  405. package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
  406. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  407. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  408. package/dist/actions/update-site-notebooks-sections.d.cts +57 -3
  409. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
  410. package/dist/actions/update-site-notebooks-sections.d.mts +57 -3
  411. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
  412. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  413. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  414. package/dist/actions/update-site-pages-content.d.cts +33 -3
  415. package/dist/actions/update-site-pages-content.d.cts.map +1 -1
  416. package/dist/actions/update-site-pages-content.d.mts +33 -3
  417. package/dist/actions/update-site-pages-content.d.mts.map +1 -1
  418. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  419. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  420. package/dist/actions/update-site-section-groups-sections.d.cts +59 -3
  421. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
  422. package/dist/actions/update-site-section-groups-sections.d.mts +59 -3
  423. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
  424. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  425. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  426. package/dist/actions/update-user-notebooks-sections.d.cts +55 -3
  427. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
  428. package/dist/actions/update-user-notebooks-sections.d.mts +55 -3
  429. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
  430. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  431. package/dist/actions/validate-credential.cjs +2 -2
  432. package/dist/actions/validate-credential.cjs.map +1 -1
  433. package/dist/actions/validate-credential.d.cts +6 -3
  434. package/dist/actions/validate-credential.d.cts.map +1 -1
  435. package/dist/actions/validate-credential.d.mts +6 -3
  436. package/dist/actions/validate-credential.d.mts.map +1 -1
  437. package/dist/actions/validate-credential.mjs +2 -2
  438. package/dist/actions/validate-credential.mjs.map +1 -1
  439. package/package.json +2 -2
@@ -1,9 +1,63 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-site-notebooks-sections.d.ts
4
- declare const OnenoteUpdateSiteNotebooksSectionsInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateSiteNotebooksSectionsOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateSiteNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateSiteNotebooksSectionsInput: z.ZodObject<{
5
+ site_id: z.ZodString;
6
+ section_id: z.ZodString;
7
+ notebook_id: z.ZodOptional<z.ZodString>;
8
+ display_name: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const OnenoteUpdateSiteNotebooksSectionsOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>>;
17
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>>>;
20
+ }, z.core.$strip>>>;
21
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$strip>>>;
27
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$strip>>>;
31
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$strip>>>;
35
+ }, z.core.$strip>>>;
36
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ }, z.core.$strip>>>;
43
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$strip>>>;
47
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$strip>>>;
51
+ }, z.core.$strip>>>;
52
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ }, z.core.$strip>;
55
+ declare const onenoteUpdateSiteNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
56
+ site_id: string;
57
+ section_id: string;
58
+ notebook_id?: string | undefined;
59
+ display_name?: string | undefined;
60
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
61
  //#endregion
8
62
  export { onenoteUpdateSiteNotebooksSections };
9
63
  //# sourceMappingURL=update-site-notebooks-sections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/update-site-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAK4B;AAAA,cAyBvE,wCAAA,EAA0C,CAAA,CAAE,UAW6B;AAAA,cAEzE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/update-site-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;cA8BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/update-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteNotebooksSectionsInput: z.ZodTypeAny = z.object({\n site_id: z.string().describe(\"The unique identifier of the Microsoft Graph user who owns the section. Use 'me' for the signed-in user.\"),\n section_id: z.string().describe(\"The unique identifier of the section to update within the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section. Optional - kept for backwards compatibility.\").optional(),\n display_name: z.string().describe(\"The new name to assign to the section. Must be 50 characters or fewer and cannot contain: ? * / : < > | & # ' % ~. If not provided, the current name is preserved.\").optional(),\n}).describe(\"Request model for updating a section in a SharePoint site's notebook.\");\nconst OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteNotebooksSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityDeviceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityApplicationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteUpdateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteNotebooksSectionsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Response model for the updated section in a SharePoint site's notebook.\");\n\nexport const onenoteUpdateSiteNotebooksSections = action(\"ONENOTE_UPDATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-update-site-notebooks-sections\",\n name: \"Update section in site notebook\",\n description: \"Updates a OneNote section within a notebook in a SharePoint site. Use this action when you need to modify properties of an existing section, such as renaming it. This action uses a PATCH request to update the section entity at the specified path within the site's notebook hierarchy. Note: Only the displayName property of a section can be updated via this endpoint. Other properties like createdDateTime, isDefault, etc. are read-only.\",\n input: OnenoteUpdateSiteNotebooksSectionsInput,\n output: OnenoteUpdateSiteNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAChK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;AACnN,CAAC,CAAC,C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,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAc9G,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBoE,EAAE,OAAO;EAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/update-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the Microsoft Graph user who owns the section. Use 'me' for the signed-in user.\"),\n section_id: z.string().describe(\"The unique identifier of the section to update within the notebook.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section. Optional - kept for backwards compatibility.\").optional(),\n display_name: z.string().describe(\"The new name to assign to the section. Must be 50 characters or fewer and cannot contain: ? * / : < > | & # ' % ~. If not provided, the current name is preserved.\").optional(),\n}).describe(\"Request model for updating a section in a SharePoint site's notebook.\");\nconst OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteUpdateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Response model for the updated section in a SharePoint site's notebook.\");\n\nexport const onenoteUpdateSiteNotebooksSections = action(\"ONENOTE_UPDATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-update-site-notebooks-sections\",\n name: \"Update section in site notebook\",\n description: \"Updates a OneNote section within a notebook in a SharePoint site. Use this action when you need to modify properties of an existing section, such as renaming it. This action uses a PATCH request to update the section entity at the specified path within the site's notebook hierarchy. Note: Only the displayName property of a section can be updated via this endpoint. Other properties like createdDateTime, isDefault, etc. are read-only.\",\n input: OnenoteUpdateSiteNotebooksSectionsInput,\n output: OnenoteUpdateSiteNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACh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,SAAS;CAChF,QAAQ,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,6DAA6D,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,kGAAkG;AAc9G,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-pages-content.cjs","names":["z","action"],"sources":["../../src/actions/update-site-pages-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSitePagesContentInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that owns the notebook.\"),\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 (replace, append, delete, insert, prepend).\\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 within a site.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nwithin a SharePoint site by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateSitePagesContentOutput: z.ZodTypeAny = 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 onenoteUpdateSitePagesContent = action(\"ONENOTE_UPDATE_SITE_PAGES_CONTENT\", {\n slug: \"onenote-update-site-pages-content\",\n name: \"Update site OneNote page content\",\n description: \"Update the content of a OneNote page within a SharePoint site. 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 within a SharePoint site, 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: OnenoteUpdateSitePagesContentInput,\n output: OnenoteUpdateSitePagesContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,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,idAAid,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC5mB,CAAC,CAAC,CAAC,SAAS,uRAAuR;AACnS,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,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,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-site-pages-content.cjs","names":["z","action"],"sources":["../../src/actions/update-site-pages-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSitePagesContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that owns the notebook.\"),\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 (replace, append, delete, insert, prepend).\\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 within a site.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nwithin a SharePoint site by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateSitePagesContentOutput = 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 onenoteUpdateSitePagesContent = action(\"ONENOTE_UPDATE_SITE_PAGES_CONTENT\", {\n slug: \"onenote-update-site-pages-content\",\n name: \"Update site OneNote page content\",\n description: \"Update the content of a OneNote page within a SharePoint site. 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 within a SharePoint site, 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: OnenoteUpdateSitePagesContentInput,\n output: OnenoteUpdateSitePagesContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,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,idAAid,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC5mB,CAAC,CAAC,CAAC,SAAS,uRAAuR;AACnS,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-site-pages-content.d.ts
4
- declare const OnenoteUpdateSitePagesContentInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateSitePagesContentOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateSitePagesContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateSitePagesContentInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ site_id: z.ZodString;
7
+ commands: z.ZodArray<z.ZodObject<{
8
+ action: z.ZodEnum<{
9
+ replace: "replace";
10
+ append: "append";
11
+ delete: "delete";
12
+ insert: "insert";
13
+ prepend: "prepend";
14
+ }>;
15
+ target: z.ZodString;
16
+ content: z.ZodOptional<z.ZodString>;
17
+ position: z.ZodOptional<z.ZodEnum<{
18
+ before: "before";
19
+ after: "after";
20
+ }>>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const OnenoteUpdateSitePagesContentOutput: z.ZodObject<{
24
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
25
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ }, z.core.$strip>;
27
+ declare const onenoteUpdateSitePagesContent: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ page_id: string;
29
+ site_id: string;
30
+ commands: {
31
+ action: "replace" | "append" | "delete" | "insert" | "prepend";
32
+ target: string;
33
+ content?: string | undefined;
34
+ position?: "before" | "after" | undefined;
35
+ }[];
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { onenoteUpdateSitePagesContent };
9
39
  //# sourceMappingURL=update-site-pages-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-pages-content.d.cts","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UASiP;AAAA,cACvR,mCAAA,EAAqC,CAAA,CAAE,UAGsL;AAAA,cAE7N,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-site-pages-content.d.cts","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-site-pages-content.d.ts
4
- declare const OnenoteUpdateSitePagesContentInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateSitePagesContentOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateSitePagesContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateSitePagesContentInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ site_id: z.ZodString;
7
+ commands: z.ZodArray<z.ZodObject<{
8
+ action: z.ZodEnum<{
9
+ replace: "replace";
10
+ append: "append";
11
+ delete: "delete";
12
+ insert: "insert";
13
+ prepend: "prepend";
14
+ }>;
15
+ target: z.ZodString;
16
+ content: z.ZodOptional<z.ZodString>;
17
+ position: z.ZodOptional<z.ZodEnum<{
18
+ before: "before";
19
+ after: "after";
20
+ }>>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const OnenoteUpdateSitePagesContentOutput: z.ZodObject<{
24
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
25
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ }, z.core.$strip>;
27
+ declare const onenoteUpdateSitePagesContent: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ page_id: string;
29
+ site_id: string;
30
+ commands: {
31
+ action: "replace" | "append" | "delete" | "insert" | "prepend";
32
+ target: string;
33
+ content?: string | undefined;
34
+ position?: "before" | "after" | undefined;
35
+ }[];
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { onenoteUpdateSitePagesContent };
9
39
  //# sourceMappingURL=update-site-pages-content.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-pages-content.d.mts","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UASiP;AAAA,cACvR,mCAAA,EAAqC,CAAA,CAAE,UAGsL;AAAA,cAE7N,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-site-pages-content.d.mts","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-pages-content.mjs","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSitePagesContentInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that owns the notebook.\"),\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 (replace, append, delete, insert, prepend).\\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 within a site.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nwithin a SharePoint site by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateSitePagesContentOutput: z.ZodTypeAny = 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 onenoteUpdateSitePagesContent = action(\"ONENOTE_UPDATE_SITE_PAGES_CONTENT\", {\n slug: \"onenote-update-site-pages-content\",\n name: \"Update site OneNote page content\",\n description: \"Update the content of a OneNote page within a SharePoint site. 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 within a SharePoint site, 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: OnenoteUpdateSitePagesContentInput,\n output: OnenoteUpdateSitePagesContentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8D,EAAE,OAAO;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACnG,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,idAAid,CAAC,CAAC,CAAC,SAAS,mIAAmI;CAC5mB,CAAC,CAAC,CAAC,SAAS,uRAUH;CACP,QAV+D,EAAE,OAAO;EACxE,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-site-pages-content.mjs","names":[],"sources":["../../src/actions/update-site-pages-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSitePagesContentInput = z.object({\n page_id: z.string().describe(\"The unique identifier of the OneNote page to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that owns the notebook.\"),\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 (replace, append, delete, insert, prepend).\\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 within a site.\\n\\nUse this action when you need to update the content of a specific OneNote page\\nwithin a SharePoint site by sending patch commands (append, insert, replace,\\ndelete, prepend) to modify the page's HTML structure.\");\nexport const OnenoteUpdateSitePagesContentOutput = 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 onenoteUpdateSitePagesContent = action(\"ONENOTE_UPDATE_SITE_PAGES_CONTENT\", {\n slug: \"onenote-update-site-pages-content\",\n name: \"Update site OneNote page content\",\n description: \"Update the content of a OneNote page within a SharePoint site. 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 within a SharePoint site, 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: OnenoteUpdateSitePagesContentInput,\n output: OnenoteUpdateSitePagesContentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACnG,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,idAAid,CAAC,CAAC,CAAC,SAAS,mIAAmI;CAC5mB,CAAC,CAAC,CAAC,SAAS,uRAUH;CACP,QAViD,EAAE,OAAO;EAC1D,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 +1 @@
1
- {"version":3,"file":"update-site-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodTypeAny = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Can be the server-relative path (e.g., 'sites/contoso') or a SharePoint site ID in the format 'hostname,tenant-id,site-id'.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the SharePoint site.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~\").optional(),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for updating a OneNote section within a section group in a SharePoint site.\");\nconst OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a SharePoint site.\");\n\nexport const onenoteUpdateSiteSectionGroupsSections = action(\"ONENOTE_UPDATE_SITE_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-update-site-section-groups-sections\",\n name: \"Update site section group section\",\n description: \"Updates a OneNote section within a section group in a SharePoint site notebook. Use this action when you need to modify properties of an existing OneNote section, such as updating its display name. This action uses a PATCH request to update the section entity at the specified path within the SharePoint site's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties are read-only.\",\n input: OnenoteUpdateSiteSectionGroupsSectionsInput,\n output: OnenoteUpdateSiteSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CACxM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC7I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,4DAA0EA,IAAAA,EAAE,OAAO,EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkB,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,C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C,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-site-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Can be the server-relative path (e.g., 'sites/contoso') or a SharePoint site ID in the format 'hostname,tenant-id,site-id'.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the SharePoint site.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~\").optional(),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for updating a OneNote section within a section group in a SharePoint site.\");\nconst OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteSectionGroupsSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a SharePoint site.\");\n\nexport const onenoteUpdateSiteSectionGroupsSections = action(\"ONENOTE_UPDATE_SITE_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-update-site-section-groups-sections\",\n name: \"Update site section group section\",\n description: \"Updates a OneNote section within a section group in a SharePoint site notebook. Use this action when you need to modify properties of an existing OneNote section, such as updating its display name. This action uses a PATCH request to update the section entity at the specified path within the SharePoint site's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties are read-only.\",\n input: OnenoteUpdateSiteSectionGroupsSectionsInput,\n output: OnenoteUpdateSiteSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CACxM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC7I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAA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sections.d.ts
4
- declare const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateSiteSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodObject<{
5
+ site_id: z.ZodString;
6
+ section_id: z.ZodString;
7
+ notebook_id: z.ZodString;
8
+ display_name: z.ZodOptional<z.ZodString>;
9
+ section_group_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>;
18
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>;
21
+ }, z.core.$strip>>>;
22
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>>>;
37
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>>;
44
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$strip>>>;
52
+ }, z.core.$strip>>>;
53
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, z.core.$strip>;
56
+ declare const onenoteUpdateSiteSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
57
+ site_id: string;
58
+ section_id: string;
59
+ notebook_id: string;
60
+ section_group_id: string;
61
+ display_name?: string | undefined;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { onenoteUpdateSiteSectionGroupsSections };
9
65
  //# sourceMappingURL=update-site-section-groups-sections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-section-groups-sections.d.cts","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM4C;AAAA,cAyB3F,4CAAA,EAA8C,CAAA,CAAE,UAW2B;AAAA,cAE3E,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-site-section-groups-sections.d.cts","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cA+B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-site-section-groups-sections.d.ts
4
- declare const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateSiteSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodObject<{
5
+ site_id: z.ZodString;
6
+ section_id: z.ZodString;
7
+ notebook_id: z.ZodString;
8
+ display_name: z.ZodOptional<z.ZodString>;
9
+ section_group_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>;
18
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>;
21
+ }, z.core.$strip>>>;
22
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>>>;
37
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>>;
44
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>;
48
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$strip>>>;
52
+ }, z.core.$strip>>>;
53
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, z.core.$strip>;
56
+ declare const onenoteUpdateSiteSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
57
+ site_id: string;
58
+ section_id: string;
59
+ notebook_id: string;
60
+ section_group_id: string;
61
+ display_name?: string | undefined;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { onenoteUpdateSiteSectionGroupsSections };
9
65
  //# sourceMappingURL=update-site-section-groups-sections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-section-groups-sections.d.mts","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM4C;AAAA,cAyB3F,4CAAA,EAA8C,CAAA,CAAE,UAW2B;AAAA,cAE3E,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-site-section-groups-sections.d.mts","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cA+B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,gCAAsC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-site-section-groups-sections.mjs","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteSectionGroupsSectionsInput: z.ZodTypeAny = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Can be the server-relative path (e.g., 'sites/contoso') or a SharePoint site ID in the format 'hostname,tenant-id,site-id'.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the SharePoint site.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~\").optional(),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for updating a OneNote section within a section group in a SharePoint site.\");\nconst OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteSectionGroupsSectionsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a SharePoint site.\");\n\nexport const onenoteUpdateSiteSectionGroupsSections = action(\"ONENOTE_UPDATE_SITE_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-update-site-section-groups-sections\",\n name: \"Update site section group section\",\n description: \"Updates a OneNote section within a section group in a SharePoint site notebook. Use this action when you need to modify properties of an existing OneNote section, such as updating its display name. This action uses a PATCH request to update the section entity at the specified path within the SharePoint site's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties are read-only.\",\n input: OnenoteUpdateSiteSectionGroupsSectionsInput,\n output: OnenoteUpdateSiteSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CACxM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC7I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,4DAA0E,EAAE,OAAO,EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4DAA0E,EAAE,OAAO;CACvF,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkB,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,8DAA4E,EAAE,OAAO;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,a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CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-site-section-groups-sections.mjs","names":[],"sources":["../../src/actions/update-site-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateSiteSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. Can be the server-relative path (e.g., 'sites/contoso') or a SharePoint site ID in the format 'hostname,tenant-id,site-id'.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the SharePoint site.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ?*/:<>|&#''%~\").optional(),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for updating a OneNote section within a section group in a SharePoint site.\");\nconst OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateSiteSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteUpdateSiteSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateSiteSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateSiteSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateSiteSectionGroupsSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateSiteSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateSiteSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a SharePoint site.\");\n\nexport const onenoteUpdateSiteSectionGroupsSections = action(\"ONENOTE_UPDATE_SITE_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-update-site-section-groups-sections\",\n name: \"Update site section group section\",\n description: \"Updates a OneNote section within a section group in a SharePoint site notebook. Use this action when you need to modify properties of an existing OneNote section, such as updating its display name. This action uses a PATCH request to update the section entity at the specified path within the SharePoint site's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties are read-only.\",\n input: OnenoteUpdateSiteSectionGroupsSectionsInput,\n output: OnenoteUpdateSiteSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CACxM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC7I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,4DAA4D,EAAE,OAAO,EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4DAA4D,EAAE,OAAO;CACzE,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkB,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA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;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,yDAAyD,SAAS,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateUserNotebooksSectionsInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user who owns the notebook.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ? * / : < > | & # ' % ~. If not provided, the current name is preserved.\").optional(),\n}).describe(\"Request model for updating a OneNote section in a user's notebook.\");\nconst OnenoteUpdateUserNotebooksSections_ExternalLinkSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateUserNotebooksSections_SectionLinksSchema: z.ZodTypeAny = z.object({\n oneNoteWebUrl: OnenoteUpdateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityDeviceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityApplicationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OnenoteUpdateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateUserNotebooksSectionsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a user's notebook.\");\n\nexport const onenoteUpdateUserNotebooksSections = action(\"ONENOTE_UPDATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-update-user-notebooks-sections\",\n name: \"Update section in user notebook\",\n description: \"Updates a OneNote section within a user's notebook. Use this action when you need to modify properties of an existing OneNote section, such as renaming it, for a specific user identified by their Microsoft Graph user ID. This action uses a PATCH request to update the section entity at the specified path within the user's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties like isDefault, createdDateTime, etc. are read-only.\",\n input: OnenoteUpdateUserNotebooksSectionsInput,\n output: OnenoteUpdateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;AAC1M,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,wDAAsEA,IAAAA,EAAE,OAAO,EACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,IAAIA,IAAAA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CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/update-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteUpdateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user who owns the notebook.\"),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to update.\"),\n display_name: z.string().describe(\"The new name for the section. Must be 50 characters or fewer and cannot contain: ? * / : < > | & # ' % ~. If not provided, the current name is preserved.\").optional(),\n}).describe(\"Request model for updating a OneNote section in a user's notebook.\");\nconst OnenoteUpdateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteUpdateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteUpdateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteUpdateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).describe(\"Links for opening a OneNote section.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).describe(\"Represents the user identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).describe(\"Represents the device identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).describe(\"Represents the application identity within an identity set.\");\nconst OnenoteUpdateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteUpdateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteUpdateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteUpdateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteUpdateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteUpdateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteUpdateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteUpdateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).describe(\"Full response schema for an updated OneNote section in a user's notebook.\");\n\nexport const onenoteUpdateUserNotebooksSections = action(\"ONENOTE_UPDATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-update-user-notebooks-sections\",\n name: \"Update section in user notebook\",\n description: \"Updates a OneNote section within a user's notebook. Use this action when you need to modify properties of an existing OneNote section, such as renaming it, for a specific user identified by their Microsoft Graph user ID. This action uses a PATCH request to update the section entity at the specified path within the user's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties like isDefault, createdDateTime, etc. are read-only.\",\n input: OnenoteUpdateUserNotebooksSectionsInput,\n output: OnenoteUpdateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;AAC1M,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAA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kD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user-notebooks-sections.d.ts
4
- declare const OnenoteUpdateUserNotebooksSectionsInput: z.ZodTypeAny;
5
- declare const OnenoteUpdateUserNotebooksSectionsOutput: z.ZodTypeAny;
6
- declare const onenoteUpdateUserNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteUpdateUserNotebooksSectionsInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ section_id: z.ZodString;
7
+ display_name: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const OnenoteUpdateUserNotebooksSectionsOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ oneNoteWebUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>>>;
16
+ oneNoteClientUrl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>>>;
19
+ }, z.core.$strip>>>;
20
+ pagesUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$strip>>>;
26
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>>;
30
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>>>;
35
+ isDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>>>;
42
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ }, z.core.$strip>>>;
46
+ application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ }, z.core.$strip>>>;
50
+ }, z.core.$strip>>>;
51
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$strip>;
54
+ declare const onenoteUpdateUserNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
+ user_id: string;
56
+ section_id: string;
57
+ display_name?: string | undefined;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { onenoteUpdateUserNotebooksSections };
9
61
  //# sourceMappingURL=update-user-notebooks-sections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/update-user-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAIyB;AAAA,cAyBpE,wCAAA,EAA0C,CAAA,CAAE,UAW+B;AAAA,cAE3E,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/update-user-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}