@keystrokehq/onenote 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (565) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
  4. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  5. package/dist/actions/copy-onenote-group-notebook.d.cts +16 -3
  6. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
  7. package/dist/actions/copy-onenote-group-notebook.d.mts +16 -3
  8. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
  9. package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
  10. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  11. package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
  12. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  13. package/dist/actions/copy-onenote-site-notebook.d.cts +18 -3
  14. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
  15. package/dist/actions/copy-onenote-site-notebook.d.mts +18 -3
  16. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
  17. package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
  18. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
  20. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +21 -3
  22. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
  23. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +21 -3
  24. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
  25. package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
  26. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  27. package/dist/actions/copy-section-to-notebook2.cjs +1 -1
  28. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  29. package/dist/actions/copy-section-to-notebook2.d.cts +20 -3
  30. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
  31. package/dist/actions/copy-section-to-notebook2.d.mts +20 -3
  32. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
  33. package/dist/actions/copy-section-to-notebook2.mjs +1 -1
  34. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  35. package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
  36. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  37. package/dist/actions/copy-section-to-section-group-for-user.d.cts +19 -3
  38. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
  39. package/dist/actions/copy-section-to-section-group-for-user.d.mts +19 -3
  40. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
  41. package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
  42. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  43. package/dist/actions/copy-section-to-section-group.cjs +1 -1
  44. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  45. package/dist/actions/copy-section-to-section-group.d.cts +17 -3
  46. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
  47. package/dist/actions/copy-section-to-section-group.d.mts +17 -3
  48. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
  49. package/dist/actions/copy-section-to-section-group.mjs +1 -1
  50. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  51. package/dist/actions/copy-site-page-to-section3.cjs +1 -1
  52. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  53. package/dist/actions/copy-site-page-to-section3.d.cts +20 -3
  54. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
  55. package/dist/actions/copy-site-page-to-section3.d.mts +20 -3
  56. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
  57. package/dist/actions/copy-site-page-to-section3.mjs +1 -1
  58. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  59. package/dist/actions/copy-user-page-to-section.cjs +1 -1
  60. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  61. package/dist/actions/copy-user-page-to-section.d.cts +16 -3
  62. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
  63. package/dist/actions/copy-user-page-to-section.d.mts +16 -3
  64. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
  65. package/dist/actions/copy-user-page-to-section.mjs +1 -1
  66. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  67. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
  68. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  69. package/dist/actions/count-notebooks-section-groups-sections.d.cts +11 -3
  70. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
  71. package/dist/actions/count-notebooks-section-groups-sections.d.mts +11 -3
  72. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
  73. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
  74. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  75. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
  76. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  77. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +13 -3
  78. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
  79. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +13 -3
  80. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
  81. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
  82. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  83. package/dist/actions/create-group-notebook.cjs +5 -5
  84. package/dist/actions/create-group-notebook.cjs.map +1 -1
  85. package/dist/actions/create-group-notebook.d.cts +56 -3
  86. package/dist/actions/create-group-notebook.d.cts.map +1 -1
  87. package/dist/actions/create-group-notebook.d.mts +56 -3
  88. package/dist/actions/create-group-notebook.d.mts.map +1 -1
  89. package/dist/actions/create-group-notebook.mjs +5 -5
  90. package/dist/actions/create-group-notebook.mjs.map +1 -1
  91. package/dist/actions/create-group-pages.cjs +4 -4
  92. package/dist/actions/create-group-pages.cjs.map +1 -1
  93. package/dist/actions/create-group-pages.d.cts +29 -3
  94. package/dist/actions/create-group-pages.d.cts.map +1 -1
  95. package/dist/actions/create-group-pages.d.mts +29 -3
  96. package/dist/actions/create-group-pages.d.mts.map +1 -1
  97. package/dist/actions/create-group-pages.mjs +4 -4
  98. package/dist/actions/create-group-pages.mjs.map +1 -1
  99. package/dist/actions/create-group-section-groups-sections.cjs +7 -7
  100. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  101. package/dist/actions/create-group-section-groups-sections.d.cts +55 -3
  102. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
  103. package/dist/actions/create-group-section-groups-sections.d.mts +55 -3
  104. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
  105. package/dist/actions/create-group-section-groups-sections.mjs +7 -7
  106. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  107. package/dist/actions/create-me-notebooks.cjs +5 -5
  108. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  109. package/dist/actions/create-me-notebooks.d.cts +54 -3
  110. package/dist/actions/create-me-notebooks.d.cts.map +1 -1
  111. package/dist/actions/create-me-notebooks.d.mts +54 -3
  112. package/dist/actions/create-me-notebooks.d.mts.map +1 -1
  113. package/dist/actions/create-me-notebooks.mjs +5 -5
  114. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  115. package/dist/actions/create-me-section-groups-sections.cjs +7 -7
  116. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  117. package/dist/actions/create-me-section-groups-sections.d.cts +53 -3
  118. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
  119. package/dist/actions/create-me-section-groups-sections.d.mts +53 -3
  120. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
  121. package/dist/actions/create-me-section-groups-sections.mjs +7 -7
  122. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  123. package/dist/actions/create-me-sections-pages.cjs +3 -3
  124. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  125. package/dist/actions/create-me-sections-pages.d.cts +31 -3
  126. package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
  127. package/dist/actions/create-me-sections-pages.d.mts +31 -3
  128. package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
  129. package/dist/actions/create-me-sections-pages.mjs +3 -3
  130. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  131. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
  132. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  133. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +47 -3
  134. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
  135. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +47 -3
  136. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
  137. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  139. package/dist/actions/create-site-notebooks-sections.cjs +7 -7
  140. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  141. package/dist/actions/create-site-notebooks-sections.d.cts +55 -3
  142. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
  143. package/dist/actions/create-site-notebooks-sections.d.mts +55 -3
  144. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
  145. package/dist/actions/create-site-notebooks-sections.mjs +7 -7
  146. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  147. package/dist/actions/create-user-notebooks-sections.cjs +7 -7
  148. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  149. package/dist/actions/create-user-notebooks-sections.d.cts +55 -3
  150. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
  151. package/dist/actions/create-user-notebooks-sections.d.mts +55 -3
  152. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
  153. package/dist/actions/create-user-notebooks-sections.mjs +7 -7
  154. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  155. package/dist/actions/create-user-pages.cjs +4 -4
  156. package/dist/actions/create-user-pages.cjs.map +1 -1
  157. package/dist/actions/create-user-pages.d.cts +29 -3
  158. package/dist/actions/create-user-pages.d.cts.map +1 -1
  159. package/dist/actions/create-user-pages.d.mts +29 -3
  160. package/dist/actions/create-user-pages.d.mts.map +1 -1
  161. package/dist/actions/create-user-pages.mjs +4 -4
  162. package/dist/actions/create-user-pages.mjs.map +1 -1
  163. package/dist/actions/create-user-section-groups-sections.cjs +7 -7
  164. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  165. package/dist/actions/create-user-section-groups-sections.d.cts +55 -3
  166. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
  167. package/dist/actions/create-user-section-groups-sections.d.mts +55 -3
  168. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
  169. package/dist/actions/create-user-section-groups-sections.mjs +7 -7
  170. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  171. package/dist/actions/create-user-sections-pages4.cjs +3 -3
  172. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  173. package/dist/actions/create-user-sections-pages4.d.cts +33 -3
  174. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
  175. package/dist/actions/create-user-sections-pages4.d.mts +33 -3
  176. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
  177. package/dist/actions/create-user-sections-pages4.mjs +3 -3
  178. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  179. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
  180. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  181. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +16 -3
  182. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
  183. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +16 -3
  184. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
  185. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
  186. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  187. package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
  188. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  189. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +16 -3
  190. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
  191. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +16 -3
  192. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
  193. package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
  194. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  195. package/dist/actions/delete-site-pages.cjs +1 -1
  196. package/dist/actions/delete-site-pages.cjs.map +1 -1
  197. package/dist/actions/delete-site-pages.d.cts +12 -3
  198. package/dist/actions/delete-site-pages.d.cts.map +1 -1
  199. package/dist/actions/delete-site-pages.d.mts +12 -3
  200. package/dist/actions/delete-site-pages.d.mts.map +1 -1
  201. package/dist/actions/delete-site-pages.mjs +1 -1
  202. package/dist/actions/delete-site-pages.mjs.map +1 -1
  203. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
  204. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  205. package/dist/actions/delete-user-onenote-sections-pages.d.cts +18 -3
  206. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
  207. package/dist/actions/delete-user-onenote-sections-pages.d.mts +18 -3
  208. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
  209. package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
  210. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  211. package/dist/actions/delete-user-pages.cjs +1 -1
  212. package/dist/actions/delete-user-pages.cjs.map +1 -1
  213. package/dist/actions/delete-user-pages.d.cts +12 -3
  214. package/dist/actions/delete-user-pages.d.cts.map +1 -1
  215. package/dist/actions/delete-user-pages.d.mts +12 -3
  216. package/dist/actions/delete-user-pages.d.mts.map +1 -1
  217. package/dist/actions/delete-user-pages.mjs +1 -1
  218. package/dist/actions/delete-user-pages.mjs.map +1 -1
  219. package/dist/actions/get-group-sections.cjs +7 -7
  220. package/dist/actions/get-group-sections.cjs.map +1 -1
  221. package/dist/actions/get-group-sections.d.cts +145 -3
  222. package/dist/actions/get-group-sections.d.cts.map +1 -1
  223. package/dist/actions/get-group-sections.d.mts +145 -3
  224. package/dist/actions/get-group-sections.d.mts.map +1 -1
  225. package/dist/actions/get-group-sections.mjs +7 -7
  226. package/dist/actions/get-group-sections.mjs.map +1 -1
  227. package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
  228. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  229. package/dist/actions/get-me-onenote-resources-value.d.cts +12 -3
  230. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
  231. package/dist/actions/get-me-onenote-resources-value.d.mts +12 -3
  232. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
  233. package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
  234. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  235. package/dist/actions/get-me-section-page-content.cjs +1 -1
  236. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  237. package/dist/actions/get-me-section-page-content.d.cts +13 -3
  238. package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
  239. package/dist/actions/get-me-section-page-content.d.mts +13 -3
  240. package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
  241. package/dist/actions/get-me-section-page-content.mjs +1 -1
  242. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  243. package/dist/actions/get-notebook-from-web-url.cjs +5 -5
  244. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  245. package/dist/actions/get-notebook-from-web-url.d.cts +57 -3
  246. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
  247. package/dist/actions/get-notebook-from-web-url.d.mts +57 -3
  248. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
  249. package/dist/actions/get-notebook-from-web-url.mjs +5 -5
  250. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  251. package/dist/actions/get-notebook-section-group.cjs +3 -3
  252. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  253. package/dist/actions/get-notebook-section-group.d.cts +49 -3
  254. package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
  255. package/dist/actions/get-notebook-section-group.d.mts +49 -3
  256. package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
  257. package/dist/actions/get-notebook-section-group.mjs +3 -3
  258. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  259. package/dist/actions/get-onenote-group-operations.cjs +2 -2
  260. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  261. package/dist/actions/get-onenote-group-operations.d.cts +26 -3
  262. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
  263. package/dist/actions/get-onenote-group-operations.d.mts +26 -3
  264. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
  265. package/dist/actions/get-onenote-group-operations.mjs +2 -2
  266. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  267. package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
  268. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  269. package/dist/actions/get-onenote-group-sections-pages.d.cts +51 -3
  270. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
  271. package/dist/actions/get-onenote-group-sections-pages.d.mts +51 -3
  272. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
  273. package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
  274. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  275. package/dist/actions/get-onenote-site-operations.cjs +2 -2
  276. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  277. package/dist/actions/get-onenote-site-operations.d.cts +26 -3
  278. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
  279. package/dist/actions/get-onenote-site-operations.d.mts +26 -3
  280. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
  281. package/dist/actions/get-onenote-site-operations.mjs +2 -2
  282. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  283. package/dist/actions/get-onenote-user-page-content.cjs +4 -4
  284. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  285. package/dist/actions/get-onenote-user-page-content.d.cts +26 -3
  286. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
  287. package/dist/actions/get-onenote-user-page-content.d.mts +26 -3
  288. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
  289. package/dist/actions/get-onenote-user-page-content.mjs +4 -4
  290. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  291. package/dist/actions/get-page.cjs +5 -5
  292. package/dist/actions/get-page.cjs.map +1 -1
  293. package/dist/actions/get-page.d.cts +43 -3
  294. package/dist/actions/get-page.d.cts.map +1 -1
  295. package/dist/actions/get-page.d.mts +43 -3
  296. package/dist/actions/get-page.d.mts.map +1 -1
  297. package/dist/actions/get-page.mjs +5 -5
  298. package/dist/actions/get-page.mjs.map +1 -1
  299. package/dist/actions/get-recent-notebooks.cjs +4 -4
  300. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  301. package/dist/actions/get-recent-notebooks.d.cts +32 -3
  302. package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
  303. package/dist/actions/get-recent-notebooks.d.mts +32 -3
  304. package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
  305. package/dist/actions/get-recent-notebooks.mjs +4 -4
  306. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  307. package/dist/actions/get-section.cjs +7 -7
  308. package/dist/actions/get-section.cjs.map +1 -1
  309. package/dist/actions/get-section.d.cts +67 -3
  310. package/dist/actions/get-section.d.cts.map +1 -1
  311. package/dist/actions/get-section.d.mts +67 -3
  312. package/dist/actions/get-section.d.mts.map +1 -1
  313. package/dist/actions/get-section.mjs +7 -7
  314. package/dist/actions/get-section.mjs.map +1 -1
  315. package/dist/actions/get-site-onenote-pages.cjs +6 -6
  316. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  317. package/dist/actions/get-site-onenote-pages.d.cts +39 -3
  318. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
  319. package/dist/actions/get-site-onenote-pages.d.mts +39 -3
  320. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
  321. package/dist/actions/get-site-onenote-pages.mjs +6 -6
  322. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  323. package/dist/actions/get-site-pages-preview.cjs +1 -1
  324. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  325. package/dist/actions/get-site-pages-preview.d.cts +12 -3
  326. package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
  327. package/dist/actions/get-site-pages-preview.d.mts +12 -3
  328. package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
  329. package/dist/actions/get-site-pages-preview.mjs +1 -1
  330. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  331. package/dist/actions/get-site-sections-pages.cjs +5 -5
  332. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  333. package/dist/actions/get-site-sections-pages.d.cts +51 -3
  334. package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
  335. package/dist/actions/get-site-sections-pages.d.mts +51 -3
  336. package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
  337. package/dist/actions/get-site-sections-pages.mjs +5 -5
  338. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  339. package/dist/actions/get-site-sections.cjs +7 -7
  340. package/dist/actions/get-site-sections.cjs.map +1 -1
  341. package/dist/actions/get-site-sections.d.cts +145 -3
  342. package/dist/actions/get-site-sections.d.cts.map +1 -1
  343. package/dist/actions/get-site-sections.d.mts +145 -3
  344. package/dist/actions/get-site-sections.d.mts.map +1 -1
  345. package/dist/actions/get-site-sections.mjs +7 -7
  346. package/dist/actions/get-site-sections.mjs.map +1 -1
  347. package/dist/actions/get-user-notebook.cjs +5 -5
  348. package/dist/actions/get-user-notebook.cjs.map +1 -1
  349. package/dist/actions/get-user-notebook.d.cts +123 -3
  350. package/dist/actions/get-user-notebook.d.cts.map +1 -1
  351. package/dist/actions/get-user-notebook.d.mts +123 -3
  352. package/dist/actions/get-user-notebook.d.mts.map +1 -1
  353. package/dist/actions/get-user-notebook.mjs +5 -5
  354. package/dist/actions/get-user-notebook.mjs.map +1 -1
  355. package/dist/actions/get-user-pages.cjs +5 -5
  356. package/dist/actions/get-user-pages.cjs.map +1 -1
  357. package/dist/actions/get-user-pages.d.cts +45 -3
  358. package/dist/actions/get-user-pages.d.cts.map +1 -1
  359. package/dist/actions/get-user-pages.d.mts +45 -3
  360. package/dist/actions/get-user-pages.d.mts.map +1 -1
  361. package/dist/actions/get-user-pages.mjs +5 -5
  362. package/dist/actions/get-user-pages.mjs.map +1 -1
  363. package/dist/actions/get-user-parent-section-group2.cjs +3 -3
  364. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  365. package/dist/actions/get-user-parent-section-group2.d.cts +52 -3
  366. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
  367. package/dist/actions/get-user-parent-section-group2.d.mts +52 -3
  368. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
  369. package/dist/actions/get-user-parent-section-group2.mjs +3 -3
  370. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  371. package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
  372. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  373. package/dist/actions/list-group-notebook-section-groups.d.cts +79 -3
  374. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
  375. package/dist/actions/list-group-notebook-section-groups.d.mts +79 -3
  376. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
  377. package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
  378. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  379. package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
  380. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  381. package/dist/actions/list-group-notebook-section-pages.d.cts +41 -3
  382. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
  383. package/dist/actions/list-group-notebook-section-pages.d.mts +41 -3
  384. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
  385. package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
  386. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  387. package/dist/actions/list-group-notebooks.cjs +1 -1
  388. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  389. package/dist/actions/list-group-notebooks.d.cts +94 -3
  390. package/dist/actions/list-group-notebooks.d.cts.map +1 -1
  391. package/dist/actions/list-group-notebooks.d.mts +94 -3
  392. package/dist/actions/list-group-notebooks.d.mts.map +1 -1
  393. package/dist/actions/list-group-notebooks.mjs +1 -1
  394. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  395. package/dist/actions/list-group-section-groups-sections.cjs +6 -6
  396. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  397. package/dist/actions/list-group-section-groups-sections.d.cts +71 -3
  398. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
  399. package/dist/actions/list-group-section-groups-sections.d.mts +71 -3
  400. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
  401. package/dist/actions/list-group-section-groups-sections.mjs +6 -6
  402. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  403. package/dist/actions/list-joined-teams.cjs.map +1 -1
  404. package/dist/actions/list-joined-teams.d.cts +47 -3
  405. package/dist/actions/list-joined-teams.d.cts.map +1 -1
  406. package/dist/actions/list-joined-teams.d.mts +47 -3
  407. package/dist/actions/list-joined-teams.d.mts.map +1 -1
  408. package/dist/actions/list-joined-teams.mjs.map +1 -1
  409. package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
  410. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  411. package/dist/actions/list-me-onenote-sections-pages4.d.cts +54 -3
  412. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
  413. package/dist/actions/list-me-onenote-sections-pages4.d.mts +54 -3
  414. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
  415. package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
  416. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  417. package/dist/actions/list-onenote-group-pages.cjs +5 -5
  418. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  419. package/dist/actions/list-onenote-group-pages.d.cts +37 -3
  420. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
  421. package/dist/actions/list-onenote-group-pages.d.mts +37 -3
  422. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
  423. package/dist/actions/list-onenote-group-pages.mjs +5 -5
  424. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  425. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
  426. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  427. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +63 -3
  428. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
  429. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +63 -3
  430. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
  431. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
  432. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  433. package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
  434. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  435. package/dist/actions/list-onenote-group-sections-pages4.d.cts +46 -3
  436. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
  437. package/dist/actions/list-onenote-group-sections-pages4.d.mts +46 -3
  438. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
  439. package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
  440. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  441. package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
  442. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  443. package/dist/actions/list-site-notebook-section-groups.d.cts +63 -3
  444. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
  445. package/dist/actions/list-site-notebook-section-groups.d.mts +63 -3
  446. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
  447. package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
  448. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  449. package/dist/actions/list-site-notebooks.cjs +1 -1
  450. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  451. package/dist/actions/list-site-notebooks.d.cts +94 -3
  452. package/dist/actions/list-site-notebooks.d.cts.map +1 -1
  453. package/dist/actions/list-site-notebooks.d.mts +94 -3
  454. package/dist/actions/list-site-notebooks.d.mts.map +1 -1
  455. package/dist/actions/list-site-notebooks.mjs +1 -1
  456. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  457. package/dist/actions/list-site-pages-content.cjs +1 -1
  458. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  459. package/dist/actions/list-site-pages-content.d.cts +15 -3
  460. package/dist/actions/list-site-pages-content.d.cts.map +1 -1
  461. package/dist/actions/list-site-pages-content.d.mts +15 -3
  462. package/dist/actions/list-site-pages-content.d.mts.map +1 -1
  463. package/dist/actions/list-site-pages-content.mjs +1 -1
  464. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  465. package/dist/actions/list-site-sections.cjs +8 -8
  466. package/dist/actions/list-site-sections.cjs.map +1 -1
  467. package/dist/actions/list-site-sections.d.cts +69 -3
  468. package/dist/actions/list-site-sections.d.cts.map +1 -1
  469. package/dist/actions/list-site-sections.d.mts +69 -3
  470. package/dist/actions/list-site-sections.d.mts.map +1 -1
  471. package/dist/actions/list-site-sections.mjs +8 -8
  472. package/dist/actions/list-site-sections.mjs.map +1 -1
  473. package/dist/actions/list-user-notebook-sections.cjs +6 -6
  474. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  475. package/dist/actions/list-user-notebook-sections.d.cts +77 -3
  476. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
  477. package/dist/actions/list-user-notebook-sections.d.mts +77 -3
  478. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
  479. package/dist/actions/list-user-notebook-sections.mjs +6 -6
  480. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  481. package/dist/actions/list-user-notebooks.cjs +6 -6
  482. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  483. package/dist/actions/list-user-notebooks.d.cts +76 -3
  484. package/dist/actions/list-user-notebooks.d.cts.map +1 -1
  485. package/dist/actions/list-user-notebooks.d.mts +76 -3
  486. package/dist/actions/list-user-notebooks.d.mts.map +1 -1
  487. package/dist/actions/list-user-notebooks.mjs +6 -6
  488. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  489. package/dist/actions/resolve-site-by-url.cjs.map +1 -1
  490. package/dist/actions/resolve-site-by-url.d.cts +43 -3
  491. package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
  492. package/dist/actions/resolve-site-by-url.d.mts +43 -3
  493. package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
  494. package/dist/actions/resolve-site-by-url.mjs.map +1 -1
  495. package/dist/actions/sites-search.cjs.map +1 -1
  496. package/dist/actions/sites-search.d.cts +47 -3
  497. package/dist/actions/sites-search.d.cts.map +1 -1
  498. package/dist/actions/sites-search.d.mts +47 -3
  499. package/dist/actions/sites-search.d.mts.map +1 -1
  500. package/dist/actions/sites-search.mjs.map +1 -1
  501. package/dist/actions/update-me-page-content.cjs +2 -2
  502. package/dist/actions/update-me-page-content.cjs.map +1 -1
  503. package/dist/actions/update-me-page-content.d.cts +32 -3
  504. package/dist/actions/update-me-page-content.d.cts.map +1 -1
  505. package/dist/actions/update-me-page-content.d.mts +32 -3
  506. package/dist/actions/update-me-page-content.d.mts.map +1 -1
  507. package/dist/actions/update-me-page-content.mjs +2 -2
  508. package/dist/actions/update-me-page-content.mjs.map +1 -1
  509. package/dist/actions/update-me-sections.cjs +7 -7
  510. package/dist/actions/update-me-sections.cjs.map +1 -1
  511. package/dist/actions/update-me-sections.d.cts +54 -3
  512. package/dist/actions/update-me-sections.d.cts.map +1 -1
  513. package/dist/actions/update-me-sections.d.mts +54 -3
  514. package/dist/actions/update-me-sections.d.mts.map +1 -1
  515. package/dist/actions/update-me-sections.mjs +7 -7
  516. package/dist/actions/update-me-sections.mjs.map +1 -1
  517. package/dist/actions/update-onenote-page-content.cjs +2 -2
  518. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  519. package/dist/actions/update-onenote-page-content.d.cts +34 -3
  520. package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
  521. package/dist/actions/update-onenote-page-content.d.mts +34 -3
  522. package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
  523. package/dist/actions/update-onenote-page-content.mjs +2 -2
  524. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  525. package/dist/actions/update-site-notebooks-sections.cjs +7 -7
  526. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  527. package/dist/actions/update-site-notebooks-sections.d.cts +57 -3
  528. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
  529. package/dist/actions/update-site-notebooks-sections.d.mts +57 -3
  530. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
  531. package/dist/actions/update-site-notebooks-sections.mjs +7 -7
  532. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  533. package/dist/actions/update-site-pages-content.cjs +2 -2
  534. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  535. package/dist/actions/update-site-pages-content.d.cts +34 -3
  536. package/dist/actions/update-site-pages-content.d.cts.map +1 -1
  537. package/dist/actions/update-site-pages-content.d.mts +34 -3
  538. package/dist/actions/update-site-pages-content.d.mts.map +1 -1
  539. package/dist/actions/update-site-pages-content.mjs +2 -2
  540. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  541. package/dist/actions/update-site-section-groups-sections.cjs +7 -7
  542. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  543. package/dist/actions/update-site-section-groups-sections.d.cts +59 -3
  544. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
  545. package/dist/actions/update-site-section-groups-sections.d.mts +59 -3
  546. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
  547. package/dist/actions/update-site-section-groups-sections.mjs +7 -7
  548. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  549. package/dist/actions/update-user-notebooks-sections.cjs +7 -7
  550. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  551. package/dist/actions/update-user-notebooks-sections.d.cts +55 -3
  552. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
  553. package/dist/actions/update-user-notebooks-sections.d.mts +55 -3
  554. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
  555. package/dist/actions/update-user-notebooks-sections.mjs +7 -7
  556. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  557. package/dist/actions/validate-credential.cjs +3 -3
  558. package/dist/actions/validate-credential.cjs.map +1 -1
  559. package/dist/actions/validate-credential.d.cts +6 -3
  560. package/dist/actions/validate-credential.d.cts.map +1 -1
  561. package/dist/actions/validate-credential.d.mts +6 -3
  562. package/dist/actions/validate-credential.d.mts.map +1 -1
  563. package/dist/actions/validate-credential.mjs +3 -3
  564. package/dist/actions/validate-credential.mjs.map +1 -1
  565. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["onenote","executeOnenoteTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { onenote } from \"./app\";\nimport { executeOnenoteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return onenote.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOnenoteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["onenote","executeOnenoteTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { onenote } from \"./app\";\nimport { executeOnenoteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return onenote.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeOnenoteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { onenote } from \"./app\";\nimport { executeOnenoteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return onenote.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOnenoteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { onenote } from \"./app\";\nimport { executeOnenoteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return onenote.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeOnenoteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -10,7 +10,7 @@ const OnenoteCopyOnenoteGroupNotebookInput = zod.z.object({
10
10
  const OnenoteCopyOnenoteGroupNotebookOutput = zod.z.object({
11
11
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
12
12
  "Operation-Location": zod.z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
13
- }).describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
13
+ }).passthrough().describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
14
14
  const onenoteCopyOnenoteGroupNotebook = require_action.action("ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK", {
15
15
  slug: "onenote-copy-onenote-group-notebook",
16
16
  name: "Copy notebook in group",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-group-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteGroupNotebookInput: z.ZodTypeAny = z.object({\n groupId: z.string().describe(\"The ID of the destination Microsoft 365 group to copy the notebook to. Use only when copying to a different Microsoft 365 group.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n}).describe(\"Request model for copying a notebook within a Microsoft 365 group.\");\nexport const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteGroupNotebook = action(\"ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-group-notebook\",\n name: \"Copy notebook in group\",\n description: \"Copies a OneNote notebook to the Notebooks folder in the destination Documents library. The notebook is copied asynchronously. This action initiates the copy operation and returns a 202 Accepted response with an Operation-Location header. Use the OnenoteOperationGet action to poll the Operation-Location endpoint to check the status of the copy operation until it completes. Use this action when you need to duplicate a notebook within a Microsoft 365 group, or copy it to a different group's documents library. The copied notebook's folder is created in the destination Documents library if it doesn't exist.\",\n input: OnenoteCopyOnenoteGroupNotebookInput,\n output: OnenoteCopyOnenoteGroupNotebookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,+MAA+M;AAE3N,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteGroupNotebookInput = z.object({\n groupId: z.string().describe(\"The ID of the destination Microsoft 365 group to copy the notebook to. Use only when copying to a different Microsoft 365 group.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n}).describe(\"Request model for copying a notebook within a Microsoft 365 group.\");\nexport const OnenoteCopyOnenoteGroupNotebookOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteGroupNotebook = action(\"ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-group-notebook\",\n name: \"Copy notebook in group\",\n description: \"Copies a OneNote notebook to the Notebooks folder in the destination Documents library. The notebook is copied asynchronously. This action initiates the copy operation and returns a 202 Accepted response with an Operation-Location header. Use the OnenoteOperationGet action to poll the Operation-Location endpoint to check the status of the copy operation until it completes. Use this action when you need to duplicate a notebook within a Microsoft 365 group, or copy it to a different group's documents library. The copied notebook's folder is created in the destination Documents library if it doesn't exist.\",\n input: OnenoteCopyOnenoteGroupNotebookInput,\n output: OnenoteCopyOnenoteGroupNotebookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+MAA+M;AAEzO,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-onenote-group-notebook.d.ts
4
- declare const OnenoteCopyOnenoteGroupNotebookInput: z.ZodTypeAny;
5
- declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodTypeAny;
6
- declare const onenoteCopyOnenoteGroupNotebook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopyOnenoteGroupNotebookInput: z.ZodObject<{
5
+ groupId: z.ZodOptional<z.ZodString>;
6
+ group_id: z.ZodString;
7
+ renameAs: z.ZodOptional<z.ZodString>;
8
+ notebook_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodObject<{
11
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
+ declare const onenoteCopyOnenoteGroupNotebook: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ group_id: string;
16
+ notebook_id: string;
17
+ groupId?: string | undefined;
18
+ renameAs?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { onenoteCopyOnenoteGroupNotebook };
9
22
  //# sourceMappingURL=copy-onenote-group-notebook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-group-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAK4B;AAAA,cACpE,qCAAA,EAAuC,CAAA,CAAE,UAGsK;AAAA,cAE/M,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-onenote-group-notebook.d.ts
4
- declare const OnenoteCopyOnenoteGroupNotebookInput: z.ZodTypeAny;
5
- declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodTypeAny;
6
- declare const onenoteCopyOnenoteGroupNotebook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopyOnenoteGroupNotebookInput: z.ZodObject<{
5
+ groupId: z.ZodOptional<z.ZodString>;
6
+ group_id: z.ZodString;
7
+ renameAs: z.ZodOptional<z.ZodString>;
8
+ notebook_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodObject<{
11
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>;
14
+ declare const onenoteCopyOnenoteGroupNotebook: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ group_id: string;
16
+ notebook_id: string;
17
+ groupId?: string | undefined;
18
+ renameAs?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { onenoteCopyOnenoteGroupNotebook };
9
22
  //# sourceMappingURL=copy-onenote-group-notebook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-group-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAK4B;AAAA,cACpE,qCAAA,EAAuC,CAAA,CAAE,UAGsK;AAAA,cAE/M,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
@@ -13,7 +13,7 @@ const onenoteCopyOnenoteGroupNotebook = action("ONENOTE_COPY_ONENOTE_GROUP_NOTEB
13
13
  output: z.object({
14
14
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
15
15
  "Operation-Location": z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
16
- }).describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
16
+ }).passthrough().describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
17
17
  });
18
18
  //#endregion
19
19
  export { onenoteCopyOnenoteGroupNotebook };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-group-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteGroupNotebookInput: z.ZodTypeAny = z.object({\n groupId: z.string().describe(\"The ID of the destination Microsoft 365 group to copy the notebook to. Use only when copying to a different Microsoft 365 group.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n}).describe(\"Request model for copying a notebook within a Microsoft 365 group.\");\nexport const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteGroupNotebook = action(\"ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-group-notebook\",\n name: \"Copy notebook in group\",\n description: \"Copies a OneNote notebook to the Notebooks folder in the destination Documents library. The notebook is copied asynchronously. This action initiates the copy operation and returns a 202 Accepted response with an Operation-Location header. Use the OnenoteOperationGet action to poll the Operation-Location endpoint to check the status of the copy operation until it completes. Use this action when you need to duplicate a notebook within a Microsoft 365 group, or copy it to a different group's documents library. The copied notebook's folder is created in the destination Documents library if it doesn't exist.\",\n input: OnenoteCopyOnenoteGroupNotebookInput,\n output: OnenoteCopyOnenoteGroupNotebookOutput,\n});\n"],"mappings":";;AAeA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgE,EAAE,OAAO;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAViE,EAAE,OAAO;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,+MAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteGroupNotebookInput = z.object({\n groupId: z.string().describe(\"The ID of the destination Microsoft 365 group to copy the notebook to. Use only when copying to a different Microsoft 365 group.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n}).describe(\"Request model for copying a notebook within a Microsoft 365 group.\");\nexport const OnenoteCopyOnenoteGroupNotebookOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteGroupNotebook = action(\"ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-group-notebook\",\n name: \"Copy notebook in group\",\n description: \"Copies a OneNote notebook to the Notebooks folder in the destination Documents library. The notebook is copied asynchronously. This action initiates the copy operation and returns a 202 Accepted response with an Operation-Location header. Use the OnenoteOperationGet action to poll the Operation-Location endpoint to check the status of the copy operation until it completes. Use this action when you need to duplicate a notebook within a Microsoft 365 group, or copy it to a different group's documents library. The copied notebook's folder is created in the destination Documents library if it doesn't exist.\",\n input: OnenoteCopyOnenoteGroupNotebookInput,\n output: OnenoteCopyOnenoteGroupNotebookOutput,\n});\n"],"mappings":";;AAeA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,oEAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+MAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const OnenoteCopyOnenoteSiteNotebookInput = zod.z.object({
11
11
  const OnenoteCopyOnenoteSiteNotebookOutput = zod.z.object({
12
12
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
13
13
  "Operation-Location": zod.z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
14
- }).describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
14
+ }).passthrough().describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
15
15
  const onenoteCopyOnenoteSiteNotebook = require_action.action("ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK", {
16
16
  slug: "onenote-copy-onenote-site-notebook",
17
17
  name: "Copy notebook in site",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-site-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteSiteNotebookInput: z.ZodTypeAny = z.object({\n folder: z.string().describe(\"The name of the destination folder in the destination site where the notebook will be copied. If not specified, the notebook is copied to the root folder.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n destinationId: z.string().describe(\"The ID of the site to copy the notebook to. Use only when copying to a different SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteSiteNotebook = action(\"ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-site-notebook\",\n name: \"Copy notebook in site\",\n description: \"Copies a OneNote notebook to the destination site in the SharePoint documents library. Use this action when you need to duplicate a notebook within a SharePoint site, or copy it to a different site's documents library. The copied notebook's folder is created in the destination documents library if it doesn't exist. This is an asynchronous operation — the API returns a 202 Accepted response with an Operation-Location header. Poll the provided URL to check whether the copy has completed. The copied notebook becomes available at the destination site once the operation succeeds.\",\n input: OnenoteCopyOnenoteSiteNotebookInput,\n output: OnenoteCopyOnenoteSiteNotebookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,+MAA+M;AAE3N,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteSiteNotebookInput = z.object({\n folder: z.string().describe(\"The name of the destination folder in the destination site where the notebook will be copied. If not specified, the notebook is copied to the root folder.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n destinationId: z.string().describe(\"The ID of the site to copy the notebook to. Use only when copying to a different SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCopyOnenoteSiteNotebookOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteSiteNotebook = action(\"ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-site-notebook\",\n name: \"Copy notebook in site\",\n description: \"Copies a OneNote notebook to the destination site in the SharePoint documents library. Use this action when you need to duplicate a notebook within a SharePoint site, or copy it to a different site's documents library. The copied notebook's folder is created in the destination documents library if it doesn't exist. This is an asynchronous operation — the API returns a 202 Accepted response with an Operation-Location header. Poll the provided URL to check whether the copy has completed. The copied notebook becomes available at the destination site once the operation succeeds.\",\n input: OnenoteCopyOnenoteSiteNotebookInput,\n output: OnenoteCopyOnenoteSiteNotebookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+MAA+M;AAEzO,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-onenote-site-notebook.d.ts
4
- declare const OnenoteCopyOnenoteSiteNotebookInput: z.ZodTypeAny;
5
- declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodTypeAny;
6
- declare const onenoteCopyOnenoteSiteNotebook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopyOnenoteSiteNotebookInput: z.ZodObject<{
5
+ folder: z.ZodOptional<z.ZodString>;
6
+ site_id: z.ZodString;
7
+ renameAs: z.ZodOptional<z.ZodString>;
8
+ notebook_id: z.ZodString;
9
+ destinationId: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodObject<{
12
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const onenoteCopyOnenoteSiteNotebook: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ site_id: string;
17
+ notebook_id: string;
18
+ folder?: string | undefined;
19
+ renameAs?: string | undefined;
20
+ destinationId?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { onenoteCopyOnenoteSiteNotebook };
9
24
  //# sourceMappingURL=copy-onenote-site-notebook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-site-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAMiC;AAAA,cACxE,oCAAA,EAAsC,CAAA,CAAE,UAGuK;AAAA,cAE/M,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-onenote-site-notebook.d.ts
4
- declare const OnenoteCopyOnenoteSiteNotebookInput: z.ZodTypeAny;
5
- declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodTypeAny;
6
- declare const onenoteCopyOnenoteSiteNotebook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopyOnenoteSiteNotebookInput: z.ZodObject<{
5
+ folder: z.ZodOptional<z.ZodString>;
6
+ site_id: z.ZodString;
7
+ renameAs: z.ZodOptional<z.ZodString>;
8
+ notebook_id: z.ZodString;
9
+ destinationId: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodObject<{
12
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const onenoteCopyOnenoteSiteNotebook: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ site_id: string;
17
+ notebook_id: string;
18
+ folder?: string | undefined;
19
+ renameAs?: string | undefined;
20
+ destinationId?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { onenoteCopyOnenoteSiteNotebook };
9
24
  //# sourceMappingURL=copy-onenote-site-notebook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-site-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAMiC;AAAA,cACxE,oCAAA,EAAsC,CAAA,CAAE,UAGuK;AAAA,cAE/M,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -14,7 +14,7 @@ const onenoteCopyOnenoteSiteNotebook = action("ONENOTE_COPY_ONENOTE_SITE_NOTEBOO
14
14
  output: z.object({
15
15
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
16
16
  "Operation-Location": z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
17
- }).describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
17
+ }).passthrough().describe("Response model for the copy notebook operation.\n\nThis API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { onenoteCopyOnenoteSiteNotebook };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-onenote-site-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteSiteNotebookInput: z.ZodTypeAny = z.object({\n folder: z.string().describe(\"The name of the destination folder in the destination site where the notebook will be copied. If not specified, the notebook is copied to the root folder.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n destinationId: z.string().describe(\"The ID of the site to copy the notebook to. Use only when copying to a different SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteSiteNotebook = action(\"ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-site-notebook\",\n name: \"Copy notebook in site\",\n description: \"Copies a OneNote notebook to the destination site in the SharePoint documents library. Use this action when you need to duplicate a notebook within a SharePoint site, or copy it to a different site's documents library. The copied notebook's folder is created in the destination documents library if it doesn't exist. This is an asynchronous operation — the API returns a 202 Accepted response with an Operation-Location header. Poll the provided URL to check whether the copy has completed. The copied notebook becomes available at the destination site once the operation succeeds.\",\n input: OnenoteCopyOnenoteSiteNotebookInput,\n output: OnenoteCopyOnenoteSiteNotebookOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+D,EAAE,OAAO;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,wEAUH;CACP,QAVgE,EAAE,OAAO;EACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,+MAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyOnenoteSiteNotebookInput = z.object({\n folder: z.string().describe(\"The name of the destination folder in the destination site where the notebook will be copied. If not specified, the notebook is copied to the root folder.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site containing the notebook.\"),\n renameAs: z.string().describe(\"The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook to copy.\"),\n destinationId: z.string().describe(\"The ID of the site to copy the notebook to. Use only when copying to a different SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCopyOnenoteSiteNotebookOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the copy notebook operation.\\n\\nThis API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopyOnenoteSiteNotebook = action(\"ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK\", {\n slug: \"onenote-copy-onenote-site-notebook\",\n name: \"Copy notebook in site\",\n description: \"Copies a OneNote notebook to the destination site in the SharePoint documents library. Use this action when you need to duplicate a notebook within a SharePoint site, or copy it to a different site's documents library. The copied notebook's folder is created in the destination documents library if it doesn't exist. This is an asynchronous operation — the API returns a 202 Accepted response with an Operation-Location header. Poll the provided URL to check whether the copy has completed. The copied notebook becomes available at the destination site once the operation succeeds.\",\n input: OnenoteCopyOnenoteSiteNotebookInput,\n output: OnenoteCopyOnenoteSiteNotebookOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,wEAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+MAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const OnenoteCopySectionToNotebookForUser2Output = zod.z.object({
13
13
  status: zod.z.string().describe("Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.").nullable().optional(),
14
14
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.").nullable().optional(),
15
15
  "Operation-Location": zod.z.string().describe("The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.").nullable().optional()
16
- }).describe("Response model for copying a section to a notebook operation.");
16
+ }).passthrough().describe("Response model for copying a section to a notebook operation.");
17
17
  const onenoteCopySectionToNotebookForUser2 = require_action.action("ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2", {
18
18
  slug: "onenote-copy-section-to-notebook-for-user2",
19
19
  name: "Copy section to notebook (user)",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook-for-user2.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebookForUser2Input: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy the section to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the source notebook that contains the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook for a specific user.\");\nexport const OnenoteCopySectionToNotebookForUser2Output: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).describe(\"Response model for copying a section to a notebook operation.\");\n\nexport const onenoteCopySectionToNotebookForUser2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2\", {\n slug: \"onenote-copy-section-to-notebook-for-user2\",\n name: \"Copy section to notebook (user)\",\n description: \"Copies a OneNote section to a specific notebook for a specified user. Use this action when you need to duplicate an existing OneNote section into a different notebook under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebookForUser2Input,\n output: OnenoteCopySectionToNotebookForUser2Output,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AACpH,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebookForUser2Input = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy the section to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the source notebook that contains the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook for a specific user.\");\nexport const OnenoteCopySectionToNotebookForUser2Output = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a section to a notebook operation.\");\n\nexport const onenoteCopySectionToNotebookForUser2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2\", {\n slug: \"onenote-copy-section-to-notebook-for-user2\",\n name: \"Copy section to notebook (user)\",\n description: \"Copies a OneNote section to a specific notebook for a specified user. Use this action when you need to duplicate an existing OneNote section into a different notebook under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebookForUser2Input,\n output: OnenoteCopySectionToNotebookForUser2Output,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AACpH,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-section-to-notebook-for-user2.d.ts
4
- declare const OnenoteCopySectionToNotebookForUser2Input: z.ZodTypeAny;
5
- declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodTypeAny;
6
- declare const onenoteCopySectionToNotebookForUser2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopySectionToNotebookForUser2Input: z.ZodObject<{
5
+ id: z.ZodString;
6
+ user_id: z.ZodString;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ rename_as: z.ZodOptional<z.ZodString>;
9
+ section_id: z.ZodString;
10
+ notebook_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodObject<{
13
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const onenoteCopySectionToNotebookForUser2: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ user_id: string;
20
+ section_id: string;
21
+ notebook_id: string;
22
+ group_id?: string | undefined;
23
+ rename_as?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { onenoteCopySectionToNotebookForUser2 };
9
27
  //# sourceMappingURL=copy-section-to-notebook-for-user2.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook-for-user2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAOmC;AAAA,cAChF,0CAAA,EAA4C,CAAA,CAAE,UAIiB;AAAA,cAE/D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-section-to-notebook-for-user2.d.ts
4
- declare const OnenoteCopySectionToNotebookForUser2Input: z.ZodTypeAny;
5
- declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodTypeAny;
6
- declare const onenoteCopySectionToNotebookForUser2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopySectionToNotebookForUser2Input: z.ZodObject<{
5
+ id: z.ZodString;
6
+ user_id: z.ZodString;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ rename_as: z.ZodOptional<z.ZodString>;
9
+ section_id: z.ZodString;
10
+ notebook_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodObject<{
13
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const onenoteCopySectionToNotebookForUser2: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ user_id: string;
20
+ section_id: string;
21
+ notebook_id: string;
22
+ group_id?: string | undefined;
23
+ rename_as?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { onenoteCopySectionToNotebookForUser2 };
9
27
  //# sourceMappingURL=copy-section-to-notebook-for-user2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook-for-user2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAOmC;AAAA,cAChF,0CAAA,EAA4C,CAAA,CAAE,UAIiB;AAAA,cAE/D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
@@ -16,7 +16,7 @@ const onenoteCopySectionToNotebookForUser2 = action("ONENOTE_COPY_SECTION_TO_NOT
16
16
  status: z.string().describe("Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.").nullable().optional(),
17
17
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.").nullable().optional(),
18
18
  "Operation-Location": z.string().describe("The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.").nullable().optional()
19
- }).describe("Response model for copying a section to a notebook operation.")
19
+ }).passthrough().describe("Response model for copying a section to a notebook operation.")
20
20
  });
21
21
  //#endregion
22
22
  export { onenoteCopySectionToNotebookForUser2 };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook-for-user2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebookForUser2Input: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy the section to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the source notebook that contains the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook for a specific user.\");\nexport const OnenoteCopySectionToNotebookForUser2Output: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).describe(\"Response model for copying a section to a notebook operation.\");\n\nexport const onenoteCopySectionToNotebookForUser2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2\", {\n slug: \"onenote-copy-section-to-notebook-for-user2\",\n name: \"Copy section to notebook (user)\",\n description: \"Copies a OneNote section to a specific notebook for a specified user. Use this action when you need to duplicate an existing OneNote section into a different notebook under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebookForUser2Input,\n output: OnenoteCopySectionToNotebookForUser2Output,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqE,EAAE,OAAO;EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,CAAC,CAAC,CAAC,SAAS,gFAWH;CACP,QAXsE,EAAE,OAAO;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebookForUser2Input = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy the section to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the source notebook that contains the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook for a specific user.\");\nexport const OnenoteCopySectionToNotebookForUser2Output = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a section to a notebook operation.\");\n\nexport const onenoteCopySectionToNotebookForUser2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2\", {\n slug: \"onenote-copy-section-to-notebook-for-user2\",\n name: \"Copy section to notebook (user)\",\n description: \"Copies a OneNote section to a specific notebook for a specified user. Use this action when you need to duplicate an existing OneNote section into a different notebook under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebookForUser2Input,\n output: OnenoteCopySectionToNotebookForUser2Output,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,CAAC,CAAC,CAAC,SAAS,gFAWH;CACP,QAXwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const OnenoteCopySectionToNotebook2Input = zod.z.object({
12
12
  const OnenoteCopySectionToNotebook2Output = zod.z.object({
13
13
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
14
14
  "Operation-Location": zod.z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
15
- }).describe("Response model for copying a section to a notebook.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
15
+ }).passthrough().describe("Response model for copying a section to a notebook.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
16
16
  const onenoteCopySectionToNotebook2 = require_action.action("ONENOTE_COPY_SECTION_TO_NOTEBOOK2", {
17
17
  slug: "onenote-copy-section-to-notebook2",
18
18
  name: "Copy section to notebook (site context)",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook2.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebook2Input: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook within a SharePoint site.\");\nexport const OnenoteCopySectionToNotebook2Output: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for copying a section to a notebook.\\n\\nThe API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopySectionToNotebook2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK2\", {\n slug: \"onenote-copy-section-to-notebook2\",\n name: \"Copy section to notebook (site context)\",\n description: \"Copies a OneNote section to a specific notebook within a SharePoint site. Use this action when you need to duplicate an existing OneNote section into a different notebook within the same SharePoint site. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebook2Input,\n output: OnenoteCopySectionToNotebook2Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAClH,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kNAAkN;AAE9N,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-notebook2.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebook2Input = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook within a SharePoint site.\");\nexport const OnenoteCopySectionToNotebook2Output = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a section to a notebook.\\n\\nThe API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopySectionToNotebook2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK2\", {\n slug: \"onenote-copy-section-to-notebook2\",\n name: \"Copy section to notebook (site context)\",\n description: \"Copies a OneNote section to a specific notebook within a SharePoint site. Use this action when you need to duplicate an existing OneNote section into a different notebook within the same SharePoint site. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebook2Input,\n output: OnenoteCopySectionToNotebook2Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAClH,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kNAAkN;AAE5O,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-section-to-notebook2.d.ts
4
- declare const OnenoteCopySectionToNotebook2Input: z.ZodTypeAny;
5
- declare const OnenoteCopySectionToNotebook2Output: z.ZodTypeAny;
6
- declare const onenoteCopySectionToNotebook2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopySectionToNotebook2Input: z.ZodObject<{
5
+ id: z.ZodString;
6
+ site_id: z.ZodString;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ rename_as: z.ZodOptional<z.ZodString>;
9
+ section_id: z.ZodString;
10
+ notebook_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const OnenoteCopySectionToNotebook2Output: z.ZodObject<{
13
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const onenoteCopySectionToNotebook2: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ id: string;
18
+ site_id: string;
19
+ section_id: string;
20
+ notebook_id: string;
21
+ group_id?: string | undefined;
22
+ rename_as?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { onenoteCopySectionToNotebook2 };
9
26
  //# sourceMappingURL=copy-section-to-notebook2.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAO+C;AAAA,cACrF,mCAAA,EAAqC,CAAA,CAAE,UAG2K;AAAA,cAElN,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/copy-section-to-notebook2.d.ts
4
- declare const OnenoteCopySectionToNotebook2Input: z.ZodTypeAny;
5
- declare const OnenoteCopySectionToNotebook2Output: z.ZodTypeAny;
6
- declare const onenoteCopySectionToNotebook2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OnenoteCopySectionToNotebook2Input: z.ZodObject<{
5
+ id: z.ZodString;
6
+ site_id: z.ZodString;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ rename_as: z.ZodOptional<z.ZodString>;
9
+ section_id: z.ZodString;
10
+ notebook_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const OnenoteCopySectionToNotebook2Output: z.ZodObject<{
13
+ status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const onenoteCopySectionToNotebook2: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ id: string;
18
+ site_id: string;
19
+ section_id: string;
20
+ notebook_id: string;
21
+ group_id?: string | undefined;
22
+ rename_as?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { onenoteCopySectionToNotebook2 };
9
26
  //# sourceMappingURL=copy-section-to-notebook2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAO+C;AAAA,cACrF,mCAAA,EAAqC,CAAA,CAAE,UAG2K;AAAA,cAElN,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -15,7 +15,7 @@ const onenoteCopySectionToNotebook2 = action("ONENOTE_COPY_SECTION_TO_NOTEBOOK2"
15
15
  output: z.object({
16
16
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
17
17
  "Operation-Location": z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
18
- }).describe("Response model for copying a section to a notebook.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
18
+ }).passthrough().describe("Response model for copying a section to a notebook.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
19
19
  });
20
20
  //#endregion
21
21
  export { onenoteCopySectionToNotebook2 };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-notebook2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebook2Input: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook within a SharePoint site.\");\nexport const OnenoteCopySectionToNotebook2Output: z.ZodTypeAny = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for copying a section to a notebook.\\n\\nThe API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopySectionToNotebook2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK2\", {\n slug: \"onenote-copy-section-to-notebook2\",\n name: \"Copy section to notebook (site context)\",\n description: \"Copies a OneNote section to a specific notebook within a SharePoint site. Use this action when you need to duplicate an existing OneNote section into a different notebook within the same SharePoint site. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebook2Input,\n output: OnenoteCopySectionToNotebook2Output,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAClH,CAAC,CAAC,CAAC,SAAS,qFAUH;CACP,QAV+D,EAAE,OAAO;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,kNAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-notebook2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToNotebook2Input = z.object({\n id: z.string().describe(\"The unique identifier of the destination notebook to copy the section into. Required.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the OneNote section to copy.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook containing the section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a notebook within a SharePoint site.\");\nexport const OnenoteCopySectionToNotebook2Output = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a section to a notebook.\\n\\nThe API returns a 202 Accepted response with an Operation-Location header.\\nPoll the Operation-Location endpoint to get the status of the copy operation.\");\n\nexport const onenoteCopySectionToNotebook2 = action(\"ONENOTE_COPY_SECTION_TO_NOTEBOOK2\", {\n slug: \"onenote-copy-section-to-notebook2\",\n name: \"Copy section to notebook (site context)\",\n description: \"Copies a OneNote section to a specific notebook within a SharePoint site. Use this action when you need to duplicate an existing OneNote section into a different notebook within the same SharePoint site. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToNotebook2Input,\n output: OnenoteCopySectionToNotebook2Output,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAClH,CAAC,CAAC,CAAC,SAAS,qFAUH;CACP,QAViD,EAAE,OAAO;EAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kNAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const OnenoteCopySectionToSectionGroupForUserOutput = zod.z.object({
12
12
  status: zod.z.string().describe("Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.").nullable().optional(),
13
13
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.").nullable().optional(),
14
14
  "Operation-Location": zod.z.string().describe("The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.").nullable().optional()
15
- }).describe("Response model for copying a section to a section group.");
15
+ }).passthrough().describe("Response model for copying a section to a section group.");
16
16
  const onenoteCopySectionToSectionGroupForUser = require_action.action("ONENOTE_COPY_SECTION_TO_SECTION_GROUP_FOR_USER", {
17
17
  slug: "onenote-copy-section-to-section-group-for-user",
18
18
  name: "Copy section to section group (user)",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-section-group-for-user.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-section-group-for-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupForUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the source section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a section group for a specific user.\");\nexport const OnenoteCopySectionToSectionGroupForUserOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).describe(\"Response model for copying a section to a section group.\");\n\nexport const onenoteCopySectionToSectionGroupForUser = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP_FOR_USER\", {\n slug: \"onenote-copy-section-to-section-group-for-user\",\n name: \"Copy section to section group (user)\",\n description: \"Copies a OneNote section to a specific section group for a specified user. Use this action when you need to duplicate an existing OneNote section into a different section group under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToSectionGroupForUserInput,\n output: OnenoteCopySectionToSectionGroupForUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACxF,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-section-group-for-user.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-section-group-for-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupForUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n user_id: z.string().describe(\"The unique identifier (ID or userPrincipalName) of the user who owns the section.\"),\n group_id: z.string().describe(\"The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n rename_as: z.string().describe(\"The name to assign to the copied section. If not specified, defaults to the name of the original section.\").optional(),\n section_id: z.string().describe(\"The unique identifier of the source section to copy.\"),\n}).describe(\"Request model for copying a OneNote section to a section group for a specific user.\");\nexport const OnenoteCopySectionToSectionGroupForUserOutput = z.object({\n status: z.string().describe(\"Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a section to a section group.\");\n\nexport const onenoteCopySectionToSectionGroupForUser = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP_FOR_USER\", {\n slug: \"onenote-copy-section-to-section-group-for-user\",\n name: \"Copy section to section group (user)\",\n description: \"Copies a OneNote section to a specific section group for a specified user. Use this action when you need to duplicate an existing OneNote section into a different section group under a specific user's account. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. This action is irreversible once the copy operation is initiated.\",\n input: OnenoteCopySectionToSectionGroupForUserInput,\n output: OnenoteCopySectionToSectionGroupForUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACxF,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}