@keystrokehq/onenote 0.1.4 → 0.1.5

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 (581) 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 -0
  4. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  5. package/dist/actions/copy-onenote-group-notebook.d.cts +3 -18
  6. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
  7. package/dist/actions/copy-onenote-group-notebook.d.mts +3 -18
  8. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
  9. package/dist/actions/copy-onenote-group-notebook.mjs +1 -0
  10. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  11. package/dist/actions/copy-onenote-site-notebook.cjs +1 -0
  12. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  13. package/dist/actions/copy-onenote-site-notebook.d.cts +3 -19
  14. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
  15. package/dist/actions/copy-onenote-site-notebook.d.mts +3 -19
  16. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
  17. package/dist/actions/copy-onenote-site-notebook.mjs +1 -0
  18. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -0
  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 +3 -20
  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 +3 -20
  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 -0
  26. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  27. package/dist/actions/copy-section-to-notebook2.cjs +1 -0
  28. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  29. package/dist/actions/copy-section-to-notebook2.d.cts +3 -20
  30. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
  31. package/dist/actions/copy-section-to-notebook2.d.mts +3 -20
  32. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
  33. package/dist/actions/copy-section-to-notebook2.mjs +1 -0
  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 -0
  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 +3 -19
  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 +3 -19
  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 -0
  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 -0
  44. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  45. package/dist/actions/copy-section-to-section-group.d.cts +3 -18
  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 +3 -18
  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 -0
  50. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  51. package/dist/actions/copy-site-page-to-section3.cjs +1 -0
  52. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  53. package/dist/actions/copy-site-page-to-section3.d.cts +3 -20
  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 +3 -20
  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 -0
  58. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  59. package/dist/actions/copy-user-page-to-section.cjs +1 -0
  60. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  61. package/dist/actions/copy-user-page-to-section.d.cts +3 -18
  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 +3 -18
  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 -0
  66. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  67. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -0
  68. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  69. package/dist/actions/count-notebooks-section-groups-sections.d.cts +3 -16
  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 +3 -16
  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 -0
  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 -0
  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 +3 -17
  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 +3 -17
  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 -0
  82. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  83. package/dist/actions/create-group-notebook.cjs +1 -0
  84. package/dist/actions/create-group-notebook.cjs.map +1 -1
  85. package/dist/actions/create-group-notebook.d.cts +3 -16
  86. package/dist/actions/create-group-notebook.d.cts.map +1 -1
  87. package/dist/actions/create-group-notebook.d.mts +3 -16
  88. package/dist/actions/create-group-notebook.d.mts.map +1 -1
  89. package/dist/actions/create-group-notebook.mjs +1 -0
  90. package/dist/actions/create-group-notebook.mjs.map +1 -1
  91. package/dist/actions/create-group-pages.cjs +1 -0
  92. package/dist/actions/create-group-pages.cjs.map +1 -1
  93. package/dist/actions/create-group-pages.d.cts +3 -17
  94. package/dist/actions/create-group-pages.d.cts.map +1 -1
  95. package/dist/actions/create-group-pages.d.mts +3 -17
  96. package/dist/actions/create-group-pages.d.mts.map +1 -1
  97. package/dist/actions/create-group-pages.mjs +1 -0
  98. package/dist/actions/create-group-pages.mjs.map +1 -1
  99. package/dist/actions/create-group-section-groups-sections.cjs +1 -0
  100. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  101. package/dist/actions/create-group-section-groups-sections.d.cts +3 -17
  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 +3 -17
  104. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
  105. package/dist/actions/create-group-section-groups-sections.mjs +1 -0
  106. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  107. package/dist/actions/create-me-notebooks.cjs +1 -0
  108. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  109. package/dist/actions/create-me-notebooks.d.cts +3 -15
  110. package/dist/actions/create-me-notebooks.d.cts.map +1 -1
  111. package/dist/actions/create-me-notebooks.d.mts +3 -15
  112. package/dist/actions/create-me-notebooks.d.mts.map +1 -1
  113. package/dist/actions/create-me-notebooks.mjs +1 -0
  114. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  115. package/dist/actions/create-me-section-groups-sections.cjs +1 -0
  116. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  117. package/dist/actions/create-me-section-groups-sections.d.cts +3 -16
  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 +3 -16
  120. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
  121. package/dist/actions/create-me-section-groups-sections.mjs +1 -0
  122. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  123. package/dist/actions/create-me-sections-pages.cjs +1 -0
  124. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  125. package/dist/actions/create-me-sections-pages.d.cts +3 -18
  126. package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
  127. package/dist/actions/create-me-sections-pages.d.mts +3 -18
  128. package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
  129. package/dist/actions/create-me-sections-pages.mjs +1 -0
  130. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  131. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +1 -0
  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 +3 -17
  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 +3 -17
  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 +1 -0
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  139. package/dist/actions/create-site-notebooks-sections.cjs +1 -0
  140. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  141. package/dist/actions/create-site-notebooks-sections.d.cts +3 -17
  142. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
  143. package/dist/actions/create-site-notebooks-sections.d.mts +3 -17
  144. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
  145. package/dist/actions/create-site-notebooks-sections.mjs +1 -0
  146. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  147. package/dist/actions/create-user-notebooks-sections.cjs +1 -0
  148. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  149. package/dist/actions/create-user-notebooks-sections.d.cts +3 -17
  150. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
  151. package/dist/actions/create-user-notebooks-sections.d.mts +3 -17
  152. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
  153. package/dist/actions/create-user-notebooks-sections.mjs +1 -0
  154. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  155. package/dist/actions/create-user-pages.cjs +1 -0
  156. package/dist/actions/create-user-pages.cjs.map +1 -1
  157. package/dist/actions/create-user-pages.d.cts +3 -17
  158. package/dist/actions/create-user-pages.d.cts.map +1 -1
  159. package/dist/actions/create-user-pages.d.mts +3 -17
  160. package/dist/actions/create-user-pages.d.mts.map +1 -1
  161. package/dist/actions/create-user-pages.mjs +1 -0
  162. package/dist/actions/create-user-pages.mjs.map +1 -1
  163. package/dist/actions/create-user-section-groups-sections.cjs +1 -0
  164. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  165. package/dist/actions/create-user-section-groups-sections.d.cts +3 -17
  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 +3 -17
  168. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
  169. package/dist/actions/create-user-section-groups-sections.mjs +1 -0
  170. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  171. package/dist/actions/create-user-sections-pages4.cjs +1 -0
  172. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  173. package/dist/actions/create-user-sections-pages4.d.cts +3 -19
  174. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
  175. package/dist/actions/create-user-sections-pages4.d.mts +3 -19
  176. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
  177. package/dist/actions/create-user-sections-pages4.mjs +1 -0
  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 -0
  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 +3 -18
  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 +3 -18
  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 -0
  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 -0
  188. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  189. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +3 -18
  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 +3 -18
  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 -0
  194. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  195. package/dist/actions/delete-site-pages.cjs +1 -0
  196. package/dist/actions/delete-site-pages.cjs.map +1 -1
  197. package/dist/actions/delete-site-pages.d.cts +3 -16
  198. package/dist/actions/delete-site-pages.d.cts.map +1 -1
  199. package/dist/actions/delete-site-pages.d.mts +3 -16
  200. package/dist/actions/delete-site-pages.d.mts.map +1 -1
  201. package/dist/actions/delete-site-pages.mjs +1 -0
  202. package/dist/actions/delete-site-pages.mjs.map +1 -1
  203. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -0
  204. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  205. package/dist/actions/delete-user-onenote-sections-pages.d.cts +3 -19
  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 +3 -19
  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 -0
  210. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  211. package/dist/actions/delete-user-pages.cjs +1 -0
  212. package/dist/actions/delete-user-pages.cjs.map +1 -1
  213. package/dist/actions/delete-user-pages.d.cts +3 -16
  214. package/dist/actions/delete-user-pages.d.cts.map +1 -1
  215. package/dist/actions/delete-user-pages.d.mts +3 -16
  216. package/dist/actions/delete-user-pages.d.mts.map +1 -1
  217. package/dist/actions/delete-user-pages.mjs +1 -0
  218. package/dist/actions/delete-user-pages.mjs.map +1 -1
  219. package/dist/actions/get-group-sections.cjs +1 -0
  220. package/dist/actions/get-group-sections.cjs.map +1 -1
  221. package/dist/actions/get-group-sections.d.cts +3 -18
  222. package/dist/actions/get-group-sections.d.cts.map +1 -1
  223. package/dist/actions/get-group-sections.d.mts +3 -18
  224. package/dist/actions/get-group-sections.d.mts.map +1 -1
  225. package/dist/actions/get-group-sections.mjs +1 -0
  226. package/dist/actions/get-group-sections.mjs.map +1 -1
  227. package/dist/actions/get-me-onenote-resources-value.cjs +1 -0
  228. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  229. package/dist/actions/get-me-onenote-resources-value.d.cts +3 -15
  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 +3 -15
  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 -0
  234. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  235. package/dist/actions/get-me-section-page-content.cjs +1 -0
  236. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  237. package/dist/actions/get-me-section-page-content.d.cts +3 -16
  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 +3 -16
  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 -0
  242. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  243. package/dist/actions/get-notebook-from-web-url.cjs +1 -0
  244. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  245. package/dist/actions/get-notebook-from-web-url.d.cts +3 -16
  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 +3 -16
  248. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
  249. package/dist/actions/get-notebook-from-web-url.mjs +1 -0
  250. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  251. package/dist/actions/get-notebook-section-group.cjs +1 -0
  252. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  253. package/dist/actions/get-notebook-section-group.d.cts +3 -18
  254. package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
  255. package/dist/actions/get-notebook-section-group.d.mts +3 -18
  256. package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
  257. package/dist/actions/get-notebook-section-group.mjs +1 -0
  258. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  259. package/dist/actions/get-onenote-group-operations.cjs +1 -0
  260. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  261. package/dist/actions/get-onenote-group-operations.d.cts +3 -16
  262. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
  263. package/dist/actions/get-onenote-group-operations.d.mts +3 -16
  264. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
  265. package/dist/actions/get-onenote-group-operations.mjs +1 -0
  266. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  267. package/dist/actions/get-onenote-group-sections-pages.cjs +1 -0
  268. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  269. package/dist/actions/get-onenote-group-sections-pages.d.cts +3 -21
  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 +3 -21
  272. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
  273. package/dist/actions/get-onenote-group-sections-pages.mjs +1 -0
  274. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  275. package/dist/actions/get-onenote-site-operations.cjs +1 -0
  276. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  277. package/dist/actions/get-onenote-site-operations.d.cts +3 -16
  278. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
  279. package/dist/actions/get-onenote-site-operations.d.mts +3 -16
  280. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
  281. package/dist/actions/get-onenote-site-operations.mjs +1 -0
  282. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  283. package/dist/actions/get-onenote-user-page-content.cjs +1 -0
  284. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  285. package/dist/actions/get-onenote-user-page-content.d.cts +3 -17
  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 +3 -17
  288. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
  289. package/dist/actions/get-onenote-user-page-content.mjs +1 -0
  290. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  291. package/dist/actions/get-page.cjs +1 -0
  292. package/dist/actions/get-page.cjs.map +1 -1
  293. package/dist/actions/get-page.d.cts +3 -17
  294. package/dist/actions/get-page.d.cts.map +1 -1
  295. package/dist/actions/get-page.d.mts +3 -17
  296. package/dist/actions/get-page.d.mts.map +1 -1
  297. package/dist/actions/get-page.mjs +1 -0
  298. package/dist/actions/get-page.mjs.map +1 -1
  299. package/dist/actions/get-recent-notebooks.cjs +1 -0
  300. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  301. package/dist/actions/get-recent-notebooks.d.cts +3 -20
  302. package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
  303. package/dist/actions/get-recent-notebooks.d.mts +3 -20
  304. package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
  305. package/dist/actions/get-recent-notebooks.mjs +1 -0
  306. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  307. package/dist/actions/get-section.cjs +1 -0
  308. package/dist/actions/get-section.cjs.map +1 -1
  309. package/dist/actions/get-section.d.cts +3 -17
  310. package/dist/actions/get-section.d.cts.map +1 -1
  311. package/dist/actions/get-section.d.mts +3 -17
  312. package/dist/actions/get-section.d.mts.map +1 -1
  313. package/dist/actions/get-section.mjs +1 -0
  314. package/dist/actions/get-section.mjs.map +1 -1
  315. package/dist/actions/get-site-onenote-pages.cjs +1 -0
  316. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  317. package/dist/actions/get-site-onenote-pages.d.cts +3 -18
  318. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
  319. package/dist/actions/get-site-onenote-pages.d.mts +3 -18
  320. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
  321. package/dist/actions/get-site-onenote-pages.mjs +1 -0
  322. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  323. package/dist/actions/get-site-pages-preview.cjs +1 -0
  324. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  325. package/dist/actions/get-site-pages-preview.d.cts +3 -16
  326. package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
  327. package/dist/actions/get-site-pages-preview.d.mts +3 -16
  328. package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
  329. package/dist/actions/get-site-pages-preview.mjs +1 -0
  330. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  331. package/dist/actions/get-site-sections-pages.cjs +1 -0
  332. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  333. package/dist/actions/get-site-sections-pages.d.cts +3 -21
  334. package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
  335. package/dist/actions/get-site-sections-pages.d.mts +3 -21
  336. package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
  337. package/dist/actions/get-site-sections-pages.mjs +1 -0
  338. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  339. package/dist/actions/get-site-sections.cjs +1 -0
  340. package/dist/actions/get-site-sections.cjs.map +1 -1
  341. package/dist/actions/get-site-sections.d.cts +3 -18
  342. package/dist/actions/get-site-sections.d.cts.map +1 -1
  343. package/dist/actions/get-site-sections.d.mts +3 -18
  344. package/dist/actions/get-site-sections.d.mts.map +1 -1
  345. package/dist/actions/get-site-sections.mjs +1 -0
  346. package/dist/actions/get-site-sections.mjs.map +1 -1
  347. package/dist/actions/get-user-notebook.cjs +1 -0
  348. package/dist/actions/get-user-notebook.cjs.map +1 -1
  349. package/dist/actions/get-user-notebook.d.cts +3 -18
  350. package/dist/actions/get-user-notebook.d.cts.map +1 -1
  351. package/dist/actions/get-user-notebook.d.mts +3 -18
  352. package/dist/actions/get-user-notebook.d.mts.map +1 -1
  353. package/dist/actions/get-user-notebook.mjs +1 -0
  354. package/dist/actions/get-user-notebook.mjs.map +1 -1
  355. package/dist/actions/get-user-pages.cjs +1 -0
  356. package/dist/actions/get-user-pages.cjs.map +1 -1
  357. package/dist/actions/get-user-pages.d.cts +3 -18
  358. package/dist/actions/get-user-pages.d.cts.map +1 -1
  359. package/dist/actions/get-user-pages.d.mts +3 -18
  360. package/dist/actions/get-user-pages.d.mts.map +1 -1
  361. package/dist/actions/get-user-pages.mjs +1 -0
  362. package/dist/actions/get-user-pages.mjs.map +1 -1
  363. package/dist/actions/get-user-parent-section-group2.cjs +1 -0
  364. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  365. package/dist/actions/get-user-parent-section-group2.d.cts +3 -19
  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 +3 -19
  368. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
  369. package/dist/actions/get-user-parent-section-group2.mjs +1 -0
  370. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  371. package/dist/actions/list-group-notebook-section-groups.cjs +1 -0
  372. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  373. package/dist/actions/list-group-notebook-section-groups.d.cts +3 -23
  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 +3 -23
  376. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
  377. package/dist/actions/list-group-notebook-section-groups.mjs +1 -0
  378. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  379. package/dist/actions/list-group-notebook-section-pages.cjs +1 -0
  380. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  381. package/dist/actions/list-group-notebook-section-pages.d.cts +3 -23
  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 +3 -23
  384. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
  385. package/dist/actions/list-group-notebook-section-pages.mjs +1 -0
  386. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  387. package/dist/actions/list-group-notebooks.cjs +1 -0
  388. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  389. package/dist/actions/list-group-notebooks.d.cts +3 -23
  390. package/dist/actions/list-group-notebooks.d.cts.map +1 -1
  391. package/dist/actions/list-group-notebooks.d.mts +3 -23
  392. package/dist/actions/list-group-notebooks.d.mts.map +1 -1
  393. package/dist/actions/list-group-notebooks.mjs +1 -0
  394. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  395. package/dist/actions/list-group-section-groups-sections.cjs +1 -0
  396. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  397. package/dist/actions/list-group-section-groups-sections.d.cts +3 -23
  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 +3 -23
  400. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
  401. package/dist/actions/list-group-section-groups-sections.mjs +1 -0
  402. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  403. package/dist/actions/list-joined-teams.cjs +1 -0
  404. package/dist/actions/list-joined-teams.cjs.map +1 -1
  405. package/dist/actions/list-joined-teams.d.cts +3 -16
  406. package/dist/actions/list-joined-teams.d.cts.map +1 -1
  407. package/dist/actions/list-joined-teams.d.mts +3 -16
  408. package/dist/actions/list-joined-teams.d.mts.map +1 -1
  409. package/dist/actions/list-joined-teams.mjs +1 -0
  410. package/dist/actions/list-joined-teams.mjs.map +1 -1
  411. package/dist/actions/list-me-onenote-sections-pages4.cjs +1 -0
  412. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  413. package/dist/actions/list-me-onenote-sections-pages4.d.cts +3 -22
  414. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
  415. package/dist/actions/list-me-onenote-sections-pages4.d.mts +3 -22
  416. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
  417. package/dist/actions/list-me-onenote-sections-pages4.mjs +1 -0
  418. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  419. package/dist/actions/list-onenote-group-pages.cjs +1 -0
  420. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  421. package/dist/actions/list-onenote-group-pages.d.cts +3 -21
  422. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
  423. package/dist/actions/list-onenote-group-pages.d.mts +3 -21
  424. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
  425. package/dist/actions/list-onenote-group-pages.mjs +1 -0
  426. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  427. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +1 -0
  428. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  429. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +3 -23
  430. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
  431. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +3 -23
  432. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
  433. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +1 -0
  434. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  435. package/dist/actions/list-onenote-group-sections-pages4.cjs +1 -0
  436. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  437. package/dist/actions/list-onenote-group-sections-pages4.d.cts +3 -23
  438. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
  439. package/dist/actions/list-onenote-group-sections-pages4.d.mts +3 -23
  440. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
  441. package/dist/actions/list-onenote-group-sections-pages4.mjs +1 -0
  442. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  443. package/dist/actions/list-site-notebook-section-groups.cjs +1 -0
  444. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  445. package/dist/actions/list-site-notebook-section-groups.d.cts +3 -23
  446. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
  447. package/dist/actions/list-site-notebook-section-groups.d.mts +3 -23
  448. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
  449. package/dist/actions/list-site-notebook-section-groups.mjs +1 -0
  450. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  451. package/dist/actions/list-site-notebooks.cjs +1 -0
  452. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  453. package/dist/actions/list-site-notebooks.d.cts +3 -23
  454. package/dist/actions/list-site-notebooks.d.cts.map +1 -1
  455. package/dist/actions/list-site-notebooks.d.mts +3 -23
  456. package/dist/actions/list-site-notebooks.d.mts.map +1 -1
  457. package/dist/actions/list-site-notebooks.mjs +1 -0
  458. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  459. package/dist/actions/list-site-pages-content.cjs +1 -0
  460. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  461. package/dist/actions/list-site-pages-content.d.cts +3 -17
  462. package/dist/actions/list-site-pages-content.d.cts.map +1 -1
  463. package/dist/actions/list-site-pages-content.d.mts +3 -17
  464. package/dist/actions/list-site-pages-content.d.mts.map +1 -1
  465. package/dist/actions/list-site-pages-content.mjs +1 -0
  466. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  467. package/dist/actions/list-site-sections.cjs +1 -0
  468. package/dist/actions/list-site-sections.cjs.map +1 -1
  469. package/dist/actions/list-site-sections.d.cts +3 -22
  470. package/dist/actions/list-site-sections.d.cts.map +1 -1
  471. package/dist/actions/list-site-sections.d.mts +3 -22
  472. package/dist/actions/list-site-sections.d.mts.map +1 -1
  473. package/dist/actions/list-site-sections.mjs +1 -0
  474. package/dist/actions/list-site-sections.mjs.map +1 -1
  475. package/dist/actions/list-user-notebook-sections.cjs +1 -0
  476. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  477. package/dist/actions/list-user-notebook-sections.d.cts +3 -23
  478. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
  479. package/dist/actions/list-user-notebook-sections.d.mts +3 -23
  480. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
  481. package/dist/actions/list-user-notebook-sections.mjs +1 -0
  482. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  483. package/dist/actions/list-user-notebooks.cjs +1 -0
  484. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  485. package/dist/actions/list-user-notebooks.d.cts +3 -21
  486. package/dist/actions/list-user-notebooks.d.cts.map +1 -1
  487. package/dist/actions/list-user-notebooks.d.mts +3 -21
  488. package/dist/actions/list-user-notebooks.d.mts.map +1 -1
  489. package/dist/actions/list-user-notebooks.mjs +1 -0
  490. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  491. package/dist/actions/resolve-site-by-url.cjs +1 -0
  492. package/dist/actions/resolve-site-by-url.cjs.map +1 -1
  493. package/dist/actions/resolve-site-by-url.d.cts +3 -19
  494. package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
  495. package/dist/actions/resolve-site-by-url.d.mts +3 -19
  496. package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
  497. package/dist/actions/resolve-site-by-url.mjs +1 -0
  498. package/dist/actions/resolve-site-by-url.mjs.map +1 -1
  499. package/dist/actions/sites-search.cjs +1 -0
  500. package/dist/actions/sites-search.cjs.map +1 -1
  501. package/dist/actions/sites-search.d.cts +3 -19
  502. package/dist/actions/sites-search.d.cts.map +1 -1
  503. package/dist/actions/sites-search.d.mts +3 -19
  504. package/dist/actions/sites-search.d.mts.map +1 -1
  505. package/dist/actions/sites-search.mjs +1 -0
  506. package/dist/actions/sites-search.mjs.map +1 -1
  507. package/dist/actions/update-me-page-content.cjs +1 -0
  508. package/dist/actions/update-me-page-content.cjs.map +1 -1
  509. package/dist/actions/update-me-page-content.d.cts +4 -23
  510. package/dist/actions/update-me-page-content.d.cts.map +1 -1
  511. package/dist/actions/update-me-page-content.d.mts +4 -23
  512. package/dist/actions/update-me-page-content.d.mts.map +1 -1
  513. package/dist/actions/update-me-page-content.mjs +1 -0
  514. package/dist/actions/update-me-page-content.mjs.map +1 -1
  515. package/dist/actions/update-me-sections.cjs +1 -0
  516. package/dist/actions/update-me-sections.cjs.map +1 -1
  517. package/dist/actions/update-me-sections.d.cts +3 -16
  518. package/dist/actions/update-me-sections.d.cts.map +1 -1
  519. package/dist/actions/update-me-sections.d.mts +3 -16
  520. package/dist/actions/update-me-sections.d.mts.map +1 -1
  521. package/dist/actions/update-me-sections.mjs +1 -0
  522. package/dist/actions/update-me-sections.mjs.map +1 -1
  523. package/dist/actions/update-onenote-page-content.cjs +1 -0
  524. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  525. package/dist/actions/update-onenote-page-content.d.cts +4 -24
  526. package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
  527. package/dist/actions/update-onenote-page-content.d.mts +4 -24
  528. package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
  529. package/dist/actions/update-onenote-page-content.mjs +1 -0
  530. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  531. package/dist/actions/update-site-notebooks-sections.cjs +1 -0
  532. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  533. package/dist/actions/update-site-notebooks-sections.d.cts +3 -18
  534. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
  535. package/dist/actions/update-site-notebooks-sections.d.mts +3 -18
  536. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
  537. package/dist/actions/update-site-notebooks-sections.mjs +1 -0
  538. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  539. package/dist/actions/update-site-pages-content.cjs +1 -0
  540. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  541. package/dist/actions/update-site-pages-content.d.cts +4 -24
  542. package/dist/actions/update-site-pages-content.d.cts.map +1 -1
  543. package/dist/actions/update-site-pages-content.d.mts +4 -24
  544. package/dist/actions/update-site-pages-content.d.mts.map +1 -1
  545. package/dist/actions/update-site-pages-content.mjs +1 -0
  546. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  547. package/dist/actions/update-site-section-groups-sections.cjs +1 -0
  548. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  549. package/dist/actions/update-site-section-groups-sections.d.cts +3 -19
  550. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
  551. package/dist/actions/update-site-section-groups-sections.d.mts +3 -19
  552. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
  553. package/dist/actions/update-site-section-groups-sections.mjs +1 -0
  554. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  555. package/dist/actions/update-user-notebooks-sections.cjs +1 -0
  556. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  557. package/dist/actions/update-user-notebooks-sections.d.cts +3 -17
  558. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
  559. package/dist/actions/update-user-notebooks-sections.d.mts +3 -17
  560. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
  561. package/dist/actions/update-user-notebooks-sections.mjs +1 -0
  562. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  563. package/dist/actions/validate-credential.cjs +1 -0
  564. package/dist/actions/validate-credential.cjs.map +1 -1
  565. package/dist/actions/validate-credential.d.cts +3 -13
  566. package/dist/actions/validate-credential.d.cts.map +1 -1
  567. package/dist/actions/validate-credential.d.mts +3 -13
  568. package/dist/actions/validate-credential.d.mts.map +1 -1
  569. package/dist/actions/validate-credential.mjs +1 -0
  570. package/dist/actions/validate-credential.mjs.map +1 -1
  571. package/dist/app.cjs +2 -2
  572. package/dist/app.cjs.map +1 -1
  573. package/dist/app.d.cts +4 -6
  574. package/dist/app.d.cts.map +1 -1
  575. package/dist/app.d.mts +4 -6
  576. package/dist/app.d.mts.map +1 -1
  577. package/dist/app.mjs +0 -1
  578. package/dist/app.mjs.map +1 -1
  579. package/dist/index.d.cts +1 -1
  580. package/dist/index.d.mts +1 -1
  581. 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<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
+ {"version":3,"file":"action.cjs","names":["onenote","executeOnenoteTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof onenote.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof onenote.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/copy-onenote-group-notebook.ts
@@ -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.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
+ {"version":3,"file":"copy-onenote-group-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopyOnenoteGroupNotebookInput,\n typeof OnenoteCopyOnenoteGroupNotebookOutput,\n typeof onenote.credential\n> = 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":";;;;AAMA,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,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-onenote-group-notebook.d.ts
@@ -11,24 +13,7 @@ declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodObject<{
11
13
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, 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<"onenote", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- accessToken: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- accessToken: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const onenoteCopyOnenoteGroupNotebook: AppAction<typeof OnenoteCopyOnenoteGroupNotebookInput, typeof OnenoteCopyOnenoteGroupNotebookOutput, typeof onenote.credential>;
32
17
  //#endregion
33
18
  export { onenoteCopyOnenoteGroupNotebook };
34
19
  //# 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,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-onenote-group-notebook.d.ts
@@ -11,24 +13,7 @@ declare const OnenoteCopyOnenoteGroupNotebookOutput: z.ZodObject<{
11
13
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, 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<"onenote", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- accessToken: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- accessToken: z.ZodString;
31
- }, z.core.$strip>>]>;
16
+ declare const onenoteCopyOnenoteGroupNotebook: AppAction<typeof OnenoteCopyOnenoteGroupNotebookInput, typeof OnenoteCopyOnenoteGroupNotebookOutput, typeof onenote.credential>;
32
17
  //#endregion
33
18
  export { onenoteCopyOnenoteGroupNotebook };
34
19
  //# 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,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const onenoteCopyOnenoteGroupNotebook = action("ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK", {
@@ -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.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"}
1
+ {"version":3,"file":"copy-onenote-group-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-group-notebook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopyOnenoteGroupNotebookInput,\n typeof OnenoteCopyOnenoteGroupNotebookOutput,\n typeof onenote.credential\n> = 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":";;;AAiBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,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,oEAcH;CACP,QAdmD,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,+MAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/copy-onenote-site-notebook.ts
@@ -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.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
+ {"version":3,"file":"copy-onenote-site-notebook.cjs","names":["z","action"],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopyOnenoteSiteNotebookInput,\n typeof OnenoteCopyOnenoteSiteNotebookOutput,\n typeof onenote.credential\n> = 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":";;;;AAMA,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,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-onenote-site-notebook.d.ts
@@ -12,25 +14,7 @@ declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodObject<{
12
14
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
15
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, 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<"onenote", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- accessToken: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>;
17
+ declare const onenoteCopyOnenoteSiteNotebook: AppAction<typeof OnenoteCopyOnenoteSiteNotebookInput, typeof OnenoteCopyOnenoteSiteNotebookOutput, typeof onenote.credential>;
34
18
  //#endregion
35
19
  export { onenoteCopyOnenoteSiteNotebook };
36
20
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.d.cts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-onenote-site-notebook.d.ts
@@ -12,25 +14,7 @@ declare const OnenoteCopyOnenoteSiteNotebookOutput: z.ZodObject<{
12
14
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
15
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, 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<"onenote", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- accessToken: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>;
17
+ declare const onenoteCopyOnenoteSiteNotebook: AppAction<typeof OnenoteCopyOnenoteSiteNotebookInput, typeof OnenoteCopyOnenoteSiteNotebookOutput, typeof onenote.credential>;
34
18
  //#endregion
35
19
  export { onenoteCopyOnenoteSiteNotebook };
36
20
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.d.mts","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const onenoteCopyOnenoteSiteNotebook = action("ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK", {
@@ -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.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"}
1
+ {"version":3,"file":"copy-onenote-site-notebook.mjs","names":[],"sources":["../../src/actions/copy-onenote-site-notebook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopyOnenoteSiteNotebookInput,\n typeof OnenoteCopyOnenoteSiteNotebookOutput,\n typeof onenote.credential\n> = 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":";;;AAkBA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBiD,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,wEAcH;CACP,QAdkD,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,+MAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/copy-section-to-notebook-for-user2.ts
@@ -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.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
+ {"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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopySectionToNotebookForUser2Input,\n typeof OnenoteCopySectionToNotebookForUser2Output,\n typeof onenote.credential\n> = 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":";;;;AAMA,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,uCAITC,eAAAA,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-section-to-notebook-for-user2.d.ts
@@ -14,26 +16,7 @@ declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodObject<{
14
16
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, 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<"onenote", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const onenoteCopySectionToNotebookForUser2: AppAction<typeof OnenoteCopySectionToNotebookForUser2Input, typeof OnenoteCopySectionToNotebookForUser2Output, typeof onenote.credential>;
37
20
  //#endregion
38
21
  export { onenoteCopySectionToNotebookForUser2 };
39
22
  //# 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,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-section-to-notebook-for-user2.d.ts
@@ -14,26 +16,7 @@ declare const OnenoteCopySectionToNotebookForUser2Output: z.ZodObject<{
14
16
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, 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<"onenote", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const onenoteCopySectionToNotebookForUser2: AppAction<typeof OnenoteCopySectionToNotebookForUser2Input, typeof OnenoteCopySectionToNotebookForUser2Output, typeof onenote.credential>;
37
20
  //#endregion
38
21
  export { onenoteCopySectionToNotebookForUser2 };
39
22
  //# 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,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const onenoteCopySectionToNotebookForUser2 = action("ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2", {
@@ -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.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"}
1
+ {"version":3,"file":"copy-section-to-notebook-for-user2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook-for-user2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopySectionToNotebookForUser2Input,\n typeof OnenoteCopySectionToNotebookForUser2Output,\n typeof onenote.credential\n> = 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":";;;AAoBA,MAAa,uCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuD,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,gFAeH;CACP,QAfwD,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,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/copy-section-to-notebook2.ts
@@ -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.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
+ {"version":3,"file":"copy-section-to-notebook2.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopySectionToNotebook2Input,\n typeof OnenoteCopySectionToNotebook2Output,\n typeof onenote.credential\n> = 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":";;;;AAMA,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,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-section-to-notebook2.d.ts
@@ -13,26 +15,7 @@ declare const OnenoteCopySectionToNotebook2Output: z.ZodObject<{
13
15
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, 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<"onenote", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- accessToken: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- accessToken: z.ZodString;
35
- }, z.core.$strip>>]>;
18
+ declare const onenoteCopySectionToNotebook2: AppAction<typeof OnenoteCopySectionToNotebook2Input, typeof OnenoteCopySectionToNotebook2Output, typeof onenote.credential>;
36
19
  //#endregion
37
20
  export { onenoteCopySectionToNotebook2 };
38
21
  //# 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,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook2.d.cts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-section-to-notebook2.d.ts
@@ -13,26 +15,7 @@ declare const OnenoteCopySectionToNotebook2Output: z.ZodObject<{
13
15
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, 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<"onenote", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- accessToken: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- accessToken: z.ZodString;
35
- }, z.core.$strip>>]>;
18
+ declare const onenoteCopySectionToNotebook2: AppAction<typeof OnenoteCopySectionToNotebook2Input, typeof OnenoteCopySectionToNotebook2Output, typeof onenote.credential>;
36
19
  //#endregion
37
20
  export { onenoteCopySectionToNotebook2 };
38
21
  //# 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,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"copy-section-to-notebook2.d.mts","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const onenoteCopySectionToNotebook2 = action("ONENOTE_COPY_SECTION_TO_NOTEBOOK2", {
@@ -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.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"}
1
+ {"version":3,"file":"copy-section-to-notebook2.mjs","names":[],"sources":["../../src/actions/copy-section-to-notebook2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopySectionToNotebook2Input,\n typeof OnenoteCopySectionToNotebook2Output,\n typeof onenote.credential\n> = 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":";;;AAmBA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,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,qFAcH;CACP,QAdiD,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,kNAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/copy-section-to-section-group-for-user.ts
@@ -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.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"}
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\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: AppAction<\n typeof OnenoteCopySectionToSectionGroupForUserInput,\n typeof OnenoteCopySectionToSectionGroupForUserOutput,\n typeof onenote.credential\n> = 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":";;;;AAMA,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,0CAITC,eAAAA,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/copy-section-to-section-group-for-user.d.ts
@@ -13,25 +15,7 @@ declare const OnenoteCopySectionToSectionGroupForUserOutput: z.ZodObject<{
13
15
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const onenoteCopySectionToSectionGroupForUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: string;
18
- user_id: string;
19
- section_id: string;
20
- group_id?: string | undefined;
21
- rename_as?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
18
+ declare const onenoteCopySectionToSectionGroupForUser: AppAction<typeof OnenoteCopySectionToSectionGroupForUserInput, typeof OnenoteCopySectionToSectionGroupForUserOutput, typeof onenote.credential>;
35
19
  //#endregion
36
20
  export { onenoteCopySectionToSectionGroupForUser };
37
21
  //# sourceMappingURL=copy-section-to-section-group-for-user.d.cts.map