@keystrokehq/onenote 0.1.2 → 0.1.4

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 (425) hide show
  1. package/dist/actions/copy-onenote-group-notebook.cjs +1 -1
  2. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.d.cts +14 -2
  4. package/dist/actions/copy-onenote-group-notebook.d.mts +14 -2
  5. package/dist/actions/copy-onenote-group-notebook.mjs +1 -1
  6. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  7. package/dist/actions/copy-onenote-site-notebook.cjs +1 -1
  8. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  9. package/dist/actions/copy-onenote-site-notebook.d.cts +14 -2
  10. package/dist/actions/copy-onenote-site-notebook.d.mts +14 -2
  11. package/dist/actions/copy-onenote-site-notebook.mjs +1 -1
  12. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  13. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -1
  14. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  15. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +14 -2
  16. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +14 -2
  17. package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -1
  18. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook2.cjs +1 -1
  20. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook2.d.cts +14 -2
  22. package/dist/actions/copy-section-to-notebook2.d.mts +14 -2
  23. package/dist/actions/copy-section-to-notebook2.mjs +1 -1
  24. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  25. package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -1
  26. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  27. package/dist/actions/copy-section-to-section-group-for-user.d.cts +14 -2
  28. package/dist/actions/copy-section-to-section-group-for-user.d.mts +14 -2
  29. package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -1
  30. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  31. package/dist/actions/copy-section-to-section-group.cjs +1 -1
  32. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  33. package/dist/actions/copy-section-to-section-group.d.cts +14 -2
  34. package/dist/actions/copy-section-to-section-group.d.mts +14 -2
  35. package/dist/actions/copy-section-to-section-group.mjs +1 -1
  36. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  37. package/dist/actions/copy-site-page-to-section3.cjs +1 -1
  38. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  39. package/dist/actions/copy-site-page-to-section3.d.cts +14 -2
  40. package/dist/actions/copy-site-page-to-section3.d.mts +14 -2
  41. package/dist/actions/copy-site-page-to-section3.mjs +1 -1
  42. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  43. package/dist/actions/copy-user-page-to-section.cjs +1 -1
  44. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  45. package/dist/actions/copy-user-page-to-section.d.cts +14 -2
  46. package/dist/actions/copy-user-page-to-section.d.mts +14 -2
  47. package/dist/actions/copy-user-page-to-section.mjs +1 -1
  48. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  49. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -1
  50. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  51. package/dist/actions/count-notebooks-section-groups-sections.d.cts +14 -2
  52. package/dist/actions/count-notebooks-section-groups-sections.d.mts +14 -2
  53. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -1
  54. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  55. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -1
  56. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  57. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +14 -2
  58. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +14 -2
  59. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -1
  60. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  61. package/dist/actions/create-group-notebook.cjs +5 -5
  62. package/dist/actions/create-group-notebook.cjs.map +1 -1
  63. package/dist/actions/create-group-notebook.d.cts +25 -13
  64. package/dist/actions/create-group-notebook.d.mts +25 -13
  65. package/dist/actions/create-group-notebook.mjs +5 -5
  66. package/dist/actions/create-group-notebook.mjs.map +1 -1
  67. package/dist/actions/create-group-pages.cjs +4 -4
  68. package/dist/actions/create-group-pages.cjs.map +1 -1
  69. package/dist/actions/create-group-pages.d.cts +17 -5
  70. package/dist/actions/create-group-pages.d.mts +17 -5
  71. package/dist/actions/create-group-pages.mjs +4 -4
  72. package/dist/actions/create-group-pages.mjs.map +1 -1
  73. package/dist/actions/create-group-section-groups-sections.cjs +7 -7
  74. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  75. package/dist/actions/create-group-section-groups-sections.d.cts +25 -13
  76. package/dist/actions/create-group-section-groups-sections.d.mts +25 -13
  77. package/dist/actions/create-group-section-groups-sections.mjs +7 -7
  78. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  79. package/dist/actions/create-me-notebooks.cjs +5 -5
  80. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  81. package/dist/actions/create-me-notebooks.d.cts +25 -13
  82. package/dist/actions/create-me-notebooks.d.mts +25 -13
  83. package/dist/actions/create-me-notebooks.mjs +5 -5
  84. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  85. package/dist/actions/create-me-section-groups-sections.cjs +7 -7
  86. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  87. package/dist/actions/create-me-section-groups-sections.d.cts +25 -13
  88. package/dist/actions/create-me-section-groups-sections.d.mts +25 -13
  89. package/dist/actions/create-me-section-groups-sections.mjs +7 -7
  90. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  91. package/dist/actions/create-me-sections-pages.cjs +3 -3
  92. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  93. package/dist/actions/create-me-sections-pages.d.cts +17 -5
  94. package/dist/actions/create-me-sections-pages.d.mts +17 -5
  95. package/dist/actions/create-me-sections-pages.mjs +3 -3
  96. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  97. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +3 -3
  98. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  99. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +22 -10
  100. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +22 -10
  101. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +3 -3
  102. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  103. package/dist/actions/create-site-notebooks-sections.cjs +7 -7
  104. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  105. package/dist/actions/create-site-notebooks-sections.d.cts +25 -13
  106. package/dist/actions/create-site-notebooks-sections.d.mts +25 -13
  107. package/dist/actions/create-site-notebooks-sections.mjs +7 -7
  108. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  109. package/dist/actions/create-user-notebooks-sections.cjs +7 -7
  110. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  111. package/dist/actions/create-user-notebooks-sections.d.cts +25 -13
  112. package/dist/actions/create-user-notebooks-sections.d.mts +25 -13
  113. package/dist/actions/create-user-notebooks-sections.mjs +7 -7
  114. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  115. package/dist/actions/create-user-pages.cjs +4 -4
  116. package/dist/actions/create-user-pages.cjs.map +1 -1
  117. package/dist/actions/create-user-pages.d.cts +17 -5
  118. package/dist/actions/create-user-pages.d.mts +17 -5
  119. package/dist/actions/create-user-pages.mjs +4 -4
  120. package/dist/actions/create-user-pages.mjs.map +1 -1
  121. package/dist/actions/create-user-section-groups-sections.cjs +7 -7
  122. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  123. package/dist/actions/create-user-section-groups-sections.d.cts +25 -13
  124. package/dist/actions/create-user-section-groups-sections.d.mts +25 -13
  125. package/dist/actions/create-user-section-groups-sections.mjs +7 -7
  126. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  127. package/dist/actions/create-user-sections-pages4.cjs +3 -3
  128. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  129. package/dist/actions/create-user-sections-pages4.d.cts +17 -5
  130. package/dist/actions/create-user-sections-pages4.d.mts +17 -5
  131. package/dist/actions/create-user-sections-pages4.mjs +3 -3
  132. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  133. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -1
  134. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  135. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +14 -2
  136. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +14 -2
  137. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -1
  138. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  139. package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -1
  140. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  141. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +14 -2
  142. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +14 -2
  143. package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -1
  144. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  145. package/dist/actions/delete-site-pages.cjs +1 -1
  146. package/dist/actions/delete-site-pages.cjs.map +1 -1
  147. package/dist/actions/delete-site-pages.d.cts +14 -2
  148. package/dist/actions/delete-site-pages.d.mts +14 -2
  149. package/dist/actions/delete-site-pages.mjs +1 -1
  150. package/dist/actions/delete-site-pages.mjs.map +1 -1
  151. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -1
  152. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  153. package/dist/actions/delete-user-onenote-sections-pages.d.cts +14 -2
  154. package/dist/actions/delete-user-onenote-sections-pages.d.mts +14 -2
  155. package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -1
  156. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  157. package/dist/actions/delete-user-pages.cjs +1 -1
  158. package/dist/actions/delete-user-pages.cjs.map +1 -1
  159. package/dist/actions/delete-user-pages.d.cts +14 -2
  160. package/dist/actions/delete-user-pages.d.mts +14 -2
  161. package/dist/actions/delete-user-pages.mjs +1 -1
  162. package/dist/actions/delete-user-pages.mjs.map +1 -1
  163. package/dist/actions/get-group-sections.cjs +7 -7
  164. package/dist/actions/get-group-sections.cjs.map +1 -1
  165. package/dist/actions/get-group-sections.d.cts +41 -29
  166. package/dist/actions/get-group-sections.d.mts +41 -29
  167. package/dist/actions/get-group-sections.mjs +7 -7
  168. package/dist/actions/get-group-sections.mjs.map +1 -1
  169. package/dist/actions/get-me-onenote-resources-value.cjs +1 -1
  170. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  171. package/dist/actions/get-me-onenote-resources-value.d.cts +14 -2
  172. package/dist/actions/get-me-onenote-resources-value.d.mts +14 -2
  173. package/dist/actions/get-me-onenote-resources-value.mjs +1 -1
  174. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  175. package/dist/actions/get-me-section-page-content.cjs +1 -1
  176. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  177. package/dist/actions/get-me-section-page-content.d.cts +14 -2
  178. package/dist/actions/get-me-section-page-content.d.mts +14 -2
  179. package/dist/actions/get-me-section-page-content.mjs +1 -1
  180. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  181. package/dist/actions/get-notebook-from-web-url.cjs +5 -5
  182. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  183. package/dist/actions/get-notebook-from-web-url.d.cts +25 -13
  184. package/dist/actions/get-notebook-from-web-url.d.mts +25 -13
  185. package/dist/actions/get-notebook-from-web-url.mjs +5 -5
  186. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  187. package/dist/actions/get-notebook-section-group.cjs +3 -3
  188. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  189. package/dist/actions/get-notebook-section-group.d.cts +22 -10
  190. package/dist/actions/get-notebook-section-group.d.mts +22 -10
  191. package/dist/actions/get-notebook-section-group.mjs +3 -3
  192. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  193. package/dist/actions/get-onenote-group-operations.cjs +2 -2
  194. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  195. package/dist/actions/get-onenote-group-operations.d.cts +15 -3
  196. package/dist/actions/get-onenote-group-operations.d.mts +15 -3
  197. package/dist/actions/get-onenote-group-operations.mjs +2 -2
  198. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  199. package/dist/actions/get-onenote-group-sections-pages.cjs +5 -5
  200. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  201. package/dist/actions/get-onenote-group-sections-pages.d.cts +19 -7
  202. package/dist/actions/get-onenote-group-sections-pages.d.mts +19 -7
  203. package/dist/actions/get-onenote-group-sections-pages.mjs +5 -5
  204. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  205. package/dist/actions/get-onenote-site-operations.cjs +2 -2
  206. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  207. package/dist/actions/get-onenote-site-operations.d.cts +15 -3
  208. package/dist/actions/get-onenote-site-operations.d.mts +15 -3
  209. package/dist/actions/get-onenote-site-operations.mjs +2 -2
  210. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  211. package/dist/actions/get-onenote-user-page-content.cjs +4 -4
  212. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  213. package/dist/actions/get-onenote-user-page-content.d.cts +17 -5
  214. package/dist/actions/get-onenote-user-page-content.d.mts +17 -5
  215. package/dist/actions/get-onenote-user-page-content.mjs +4 -4
  216. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  217. package/dist/actions/get-page.cjs +5 -5
  218. package/dist/actions/get-page.cjs.map +1 -1
  219. package/dist/actions/get-page.d.cts +19 -7
  220. package/dist/actions/get-page.d.mts +19 -7
  221. package/dist/actions/get-page.mjs +5 -5
  222. package/dist/actions/get-page.mjs.map +1 -1
  223. package/dist/actions/get-recent-notebooks.cjs +4 -4
  224. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  225. package/dist/actions/get-recent-notebooks.d.cts +18 -6
  226. package/dist/actions/get-recent-notebooks.d.mts +18 -6
  227. package/dist/actions/get-recent-notebooks.mjs +4 -4
  228. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  229. package/dist/actions/get-section.cjs +7 -7
  230. package/dist/actions/get-section.cjs.map +1 -1
  231. package/dist/actions/get-section.d.cts +27 -15
  232. package/dist/actions/get-section.d.mts +27 -15
  233. package/dist/actions/get-section.mjs +7 -7
  234. package/dist/actions/get-section.mjs.map +1 -1
  235. package/dist/actions/get-site-onenote-pages.cjs +6 -6
  236. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  237. package/dist/actions/get-site-onenote-pages.d.cts +19 -7
  238. package/dist/actions/get-site-onenote-pages.d.mts +19 -7
  239. package/dist/actions/get-site-onenote-pages.mjs +6 -6
  240. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  241. package/dist/actions/get-site-pages-preview.cjs +1 -1
  242. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  243. package/dist/actions/get-site-pages-preview.d.cts +14 -2
  244. package/dist/actions/get-site-pages-preview.d.mts +14 -2
  245. package/dist/actions/get-site-pages-preview.mjs +1 -1
  246. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  247. package/dist/actions/get-site-sections-pages.cjs +5 -5
  248. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  249. package/dist/actions/get-site-sections-pages.d.cts +19 -7
  250. package/dist/actions/get-site-sections-pages.d.mts +19 -7
  251. package/dist/actions/get-site-sections-pages.mjs +5 -5
  252. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  253. package/dist/actions/get-site-sections.cjs +7 -7
  254. package/dist/actions/get-site-sections.cjs.map +1 -1
  255. package/dist/actions/get-site-sections.d.cts +41 -29
  256. package/dist/actions/get-site-sections.d.mts +41 -29
  257. package/dist/actions/get-site-sections.mjs +7 -7
  258. package/dist/actions/get-site-sections.mjs.map +1 -1
  259. package/dist/actions/get-user-notebook.cjs +5 -5
  260. package/dist/actions/get-user-notebook.cjs.map +1 -1
  261. package/dist/actions/get-user-notebook.d.cts +39 -27
  262. package/dist/actions/get-user-notebook.d.mts +39 -27
  263. package/dist/actions/get-user-notebook.mjs +5 -5
  264. package/dist/actions/get-user-notebook.mjs.map +1 -1
  265. package/dist/actions/get-user-pages.cjs +5 -5
  266. package/dist/actions/get-user-pages.cjs.map +1 -1
  267. package/dist/actions/get-user-pages.d.cts +19 -7
  268. package/dist/actions/get-user-pages.d.mts +19 -7
  269. package/dist/actions/get-user-pages.mjs +5 -5
  270. package/dist/actions/get-user-pages.mjs.map +1 -1
  271. package/dist/actions/get-user-parent-section-group2.cjs +3 -3
  272. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  273. package/dist/actions/get-user-parent-section-group2.d.cts +22 -10
  274. package/dist/actions/get-user-parent-section-group2.d.mts +22 -10
  275. package/dist/actions/get-user-parent-section-group2.mjs +3 -3
  276. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  277. package/dist/actions/list-group-notebook-section-groups.cjs +4 -4
  278. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  279. package/dist/actions/list-group-notebook-section-groups.d.cts +25 -13
  280. package/dist/actions/list-group-notebook-section-groups.d.mts +25 -13
  281. package/dist/actions/list-group-notebook-section-groups.mjs +4 -4
  282. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  283. package/dist/actions/list-group-notebook-section-pages.cjs +5 -5
  284. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  285. package/dist/actions/list-group-notebook-section-pages.d.cts +18 -6
  286. package/dist/actions/list-group-notebook-section-pages.d.mts +18 -6
  287. package/dist/actions/list-group-notebook-section-pages.mjs +5 -5
  288. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  289. package/dist/actions/list-group-notebooks.cjs +1 -1
  290. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  291. package/dist/actions/list-group-notebooks.d.cts +15 -3
  292. package/dist/actions/list-group-notebooks.d.mts +15 -3
  293. package/dist/actions/list-group-notebooks.mjs +1 -1
  294. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  295. package/dist/actions/list-group-section-groups-sections.cjs +6 -6
  296. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  297. package/dist/actions/list-group-section-groups-sections.d.cts +26 -14
  298. package/dist/actions/list-group-section-groups-sections.d.mts +26 -14
  299. package/dist/actions/list-group-section-groups-sections.mjs +6 -6
  300. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  301. package/dist/actions/list-joined-teams.d.cts +13 -1
  302. package/dist/actions/list-joined-teams.d.mts +13 -1
  303. package/dist/actions/list-me-onenote-sections-pages4.cjs +6 -6
  304. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  305. package/dist/actions/list-me-onenote-sections-pages4.d.cts +20 -8
  306. package/dist/actions/list-me-onenote-sections-pages4.d.mts +20 -8
  307. package/dist/actions/list-me-onenote-sections-pages4.mjs +6 -6
  308. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  309. package/dist/actions/list-onenote-group-pages.cjs +5 -5
  310. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  311. package/dist/actions/list-onenote-group-pages.d.cts +18 -6
  312. package/dist/actions/list-onenote-group-pages.d.mts +18 -6
  313. package/dist/actions/list-onenote-group-pages.mjs +5 -5
  314. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  315. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +4 -4
  316. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  317. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +23 -11
  318. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +23 -11
  319. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +4 -4
  320. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  321. package/dist/actions/list-onenote-group-sections-pages4.cjs +4 -4
  322. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  323. package/dist/actions/list-onenote-group-sections-pages4.d.cts +18 -6
  324. package/dist/actions/list-onenote-group-sections-pages4.d.mts +18 -6
  325. package/dist/actions/list-onenote-group-sections-pages4.mjs +4 -4
  326. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  327. package/dist/actions/list-site-notebook-section-groups.cjs +4 -4
  328. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  329. package/dist/actions/list-site-notebook-section-groups.d.cts +23 -11
  330. package/dist/actions/list-site-notebook-section-groups.d.mts +23 -11
  331. package/dist/actions/list-site-notebook-section-groups.mjs +4 -4
  332. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  333. package/dist/actions/list-site-notebooks.cjs +1 -1
  334. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  335. package/dist/actions/list-site-notebooks.d.cts +15 -3
  336. package/dist/actions/list-site-notebooks.d.mts +15 -3
  337. package/dist/actions/list-site-notebooks.mjs +1 -1
  338. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  339. package/dist/actions/list-site-pages-content.cjs +1 -1
  340. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  341. package/dist/actions/list-site-pages-content.d.cts +14 -2
  342. package/dist/actions/list-site-pages-content.d.mts +14 -2
  343. package/dist/actions/list-site-pages-content.mjs +1 -1
  344. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  345. package/dist/actions/list-site-sections.cjs +8 -8
  346. package/dist/actions/list-site-sections.cjs.map +1 -1
  347. package/dist/actions/list-site-sections.d.cts +26 -14
  348. package/dist/actions/list-site-sections.d.mts +26 -14
  349. package/dist/actions/list-site-sections.mjs +8 -8
  350. package/dist/actions/list-site-sections.mjs.map +1 -1
  351. package/dist/actions/list-user-notebook-sections.cjs +6 -6
  352. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  353. package/dist/actions/list-user-notebook-sections.d.cts +26 -14
  354. package/dist/actions/list-user-notebook-sections.d.mts +26 -14
  355. package/dist/actions/list-user-notebook-sections.mjs +6 -6
  356. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  357. package/dist/actions/list-user-notebooks.cjs +6 -6
  358. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  359. package/dist/actions/list-user-notebooks.d.cts +26 -14
  360. package/dist/actions/list-user-notebooks.d.mts +26 -14
  361. package/dist/actions/list-user-notebooks.mjs +6 -6
  362. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  363. package/dist/actions/resolve-site-by-url.d.cts +13 -1
  364. package/dist/actions/resolve-site-by-url.d.mts +13 -1
  365. package/dist/actions/sites-search.d.cts +13 -1
  366. package/dist/actions/sites-search.d.mts +13 -1
  367. package/dist/actions/update-me-page-content.cjs +2 -2
  368. package/dist/actions/update-me-page-content.cjs.map +1 -1
  369. package/dist/actions/update-me-page-content.d.cts +16 -3
  370. package/dist/actions/update-me-page-content.d.mts +16 -3
  371. package/dist/actions/update-me-page-content.mjs +2 -2
  372. package/dist/actions/update-me-page-content.mjs.map +1 -1
  373. package/dist/actions/update-me-sections.cjs +7 -7
  374. package/dist/actions/update-me-sections.cjs.map +1 -1
  375. package/dist/actions/update-me-sections.d.cts +25 -13
  376. package/dist/actions/update-me-sections.d.mts +25 -13
  377. package/dist/actions/update-me-sections.mjs +7 -7
  378. package/dist/actions/update-me-sections.mjs.map +1 -1
  379. package/dist/actions/update-onenote-page-content.cjs +2 -2
  380. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  381. package/dist/actions/update-onenote-page-content.d.cts +16 -3
  382. package/dist/actions/update-onenote-page-content.d.mts +16 -3
  383. package/dist/actions/update-onenote-page-content.mjs +2 -2
  384. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  385. package/dist/actions/update-site-notebooks-sections.cjs +7 -7
  386. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  387. package/dist/actions/update-site-notebooks-sections.d.cts +25 -13
  388. package/dist/actions/update-site-notebooks-sections.d.mts +25 -13
  389. package/dist/actions/update-site-notebooks-sections.mjs +7 -7
  390. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  391. package/dist/actions/update-site-pages-content.cjs +2 -2
  392. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  393. package/dist/actions/update-site-pages-content.d.cts +16 -3
  394. package/dist/actions/update-site-pages-content.d.mts +16 -3
  395. package/dist/actions/update-site-pages-content.mjs +2 -2
  396. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  397. package/dist/actions/update-site-section-groups-sections.cjs +7 -7
  398. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  399. package/dist/actions/update-site-section-groups-sections.d.cts +25 -13
  400. package/dist/actions/update-site-section-groups-sections.d.mts +25 -13
  401. package/dist/actions/update-site-section-groups-sections.mjs +7 -7
  402. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  403. package/dist/actions/update-user-notebooks-sections.cjs +7 -7
  404. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  405. package/dist/actions/update-user-notebooks-sections.d.cts +25 -13
  406. package/dist/actions/update-user-notebooks-sections.d.mts +25 -13
  407. package/dist/actions/update-user-notebooks-sections.mjs +7 -7
  408. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  409. package/dist/actions/validate-credential.cjs +1 -1
  410. package/dist/actions/validate-credential.cjs.map +1 -1
  411. package/dist/actions/validate-credential.d.cts +14 -2
  412. package/dist/actions/validate-credential.d.cts.map +1 -1
  413. package/dist/actions/validate-credential.d.mts +14 -2
  414. package/dist/actions/validate-credential.d.mts.map +1 -1
  415. package/dist/actions/validate-credential.mjs +1 -1
  416. package/dist/actions/validate-credential.mjs.map +1 -1
  417. package/dist/app.cjs +5 -2
  418. package/dist/app.cjs.map +1 -1
  419. package/dist/app.d.cts +9 -1
  420. package/dist/app.d.cts.map +1 -1
  421. package/dist/app.d.mts +9 -1
  422. package/dist/app.d.mts.map +1 -1
  423. package/dist/app.mjs +3 -1
  424. package/dist/app.mjs.map +1 -1
  425. package/package.json +1 -1
@@ -11,7 +11,7 @@ const OnenoteCopySectionToSectionGroupOutput = zod.z.object({
11
11
  status: zod.z.string().describe("Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.").nullable().optional(),
12
12
  status_code: zod.z.number().int().describe("The HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.").nullable().optional(),
13
13
  "Operation-Location": zod.z.string().describe("The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.").nullable().optional()
14
- }).describe("Response model for the copy section to section group operation.");
14
+ }).passthrough().describe("Response model for the copy section to section group operation.");
15
15
  const onenoteCopySectionToSectionGroup = require_action.action("ONENOTE_COPY_SECTION_TO_SECTION_GROUP", {
16
16
  slug: "onenote-copy-section-to-section-group",
17
17
  name: "Copy group section to section group",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-section-group.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-section-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group whose notebook owns the source section.\"),\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 that lives in a Microsoft 365 group's notebook to a section group.\");\nexport const OnenoteCopySectionToSectionGroupOutput = 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(\"The HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).describe(\"Response model for the copy section to section group operation.\");\n\nexport const onenoteCopySectionToSectionGroup = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP\", {\n slug: \"onenote-copy-section-to-section-group\",\n name: \"Copy group section to section group\",\n description: \"Copies a OneNote section from a Microsoft 365 group's notebook into another section group. Use this action when you need to duplicate an existing OneNote section that lives in a Microsoft 365 group's notebook into a different section group. 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: OnenoteCopySectionToSectionGroupInput,\n output: OnenoteCopySectionToSectionGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACxH,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,gHAAgH;AAC5H,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-section-group.cjs","names":["z","action"],"sources":["../../src/actions/copy-section-to-section-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group whose notebook owns the source section.\"),\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 that lives in a Microsoft 365 group's notebook to a section group.\");\nexport const OnenoteCopySectionToSectionGroupOutput = 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(\"The 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 the copy section to section group operation.\");\n\nexport const onenoteCopySectionToSectionGroup = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP\", {\n slug: \"onenote-copy-section-to-section-group\",\n name: \"Copy group section to section group\",\n description: \"Copies a OneNote section from a Microsoft 365 group's notebook into another section group. Use this action when you need to duplicate an existing OneNote section that lives in a Microsoft 365 group's notebook into a different section group. 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: OnenoteCopySectionToSectionGroupInput,\n output: OnenoteCopySectionToSectionGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACxH,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,gHAAgH;AAC5H,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,13 +11,25 @@ declare const OnenoteCopySectionToSectionGroupOutput: z.ZodObject<{
11
11
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const onenoteCopySectionToSectionGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: string;
17
17
  group_id: string;
18
18
  section_id: string;
19
19
  rename_as?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { onenoteCopySectionToSectionGroup };
23
35
  //# sourceMappingURL=copy-section-to-section-group.d.cts.map
@@ -11,13 +11,25 @@ declare const OnenoteCopySectionToSectionGroupOutput: z.ZodObject<{
11
11
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const onenoteCopySectionToSectionGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: string;
17
17
  group_id: string;
18
18
  section_id: string;
19
19
  rename_as?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { onenoteCopySectionToSectionGroup };
23
35
  //# sourceMappingURL=copy-section-to-section-group.d.mts.map
@@ -14,7 +14,7 @@ const onenoteCopySectionToSectionGroup = action("ONENOTE_COPY_SECTION_TO_SECTION
14
14
  status: z.string().describe("Human-readable status of the copy operation. Returns 'accepted' when the asynchronous copy has been initiated.").nullable().optional(),
15
15
  status_code: z.number().int().describe("The HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.").nullable().optional(),
16
16
  "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()
17
- }).describe("Response model for the copy section to section group operation.")
17
+ }).passthrough().describe("Response model for the copy section to section group operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { onenoteCopySectionToSectionGroup };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-section-to-section-group.mjs","names":[],"sources":["../../src/actions/copy-section-to-section-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group whose notebook owns the source section.\"),\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 that lives in a Microsoft 365 group's notebook to a section group.\");\nexport const OnenoteCopySectionToSectionGroupOutput = 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(\"The HTTP status code of the response. A 202 Accepted response indicates the copy operation has been initiated.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"The URL to poll for the status of the copy operation. Poll this endpoint to determine when the copy has completed.\").nullable().optional(),\n}).describe(\"Response model for the copy section to section group operation.\");\n\nexport const onenoteCopySectionToSectionGroup = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP\", {\n slug: \"onenote-copy-section-to-section-group\",\n name: \"Copy group section to section group\",\n description: \"Copies a OneNote section from a Microsoft 365 group's notebook into another section group. Use this action when you need to duplicate an existing OneNote section that lives in a Microsoft 365 group's notebook into a different section group. 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: OnenoteCopySectionToSectionGroupInput,\n output: OnenoteCopySectionToSectionGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,CAAC,CAAC,CAAC,SAAS,gHAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-section-to-section-group.mjs","names":[],"sources":["../../src/actions/copy-section-to-section-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySectionToSectionGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the destination section group where the section will be copied. Required.\"),\n group_id: z.string().describe(\"The unique identifier of the Microsoft 365 group whose notebook owns the source section.\"),\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 that lives in a Microsoft 365 group's notebook to a section group.\");\nexport const OnenoteCopySectionToSectionGroupOutput = 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(\"The 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 the copy section to section group operation.\");\n\nexport const onenoteCopySectionToSectionGroup = action(\"ONENOTE_COPY_SECTION_TO_SECTION_GROUP\", {\n slug: \"onenote-copy-section-to-section-group\",\n name: \"Copy group section to section group\",\n description: \"Copies a OneNote section from a Microsoft 365 group's notebook into another section group. Use this action when you need to duplicate an existing OneNote section that lives in a Microsoft 365 group's notebook into a different section group. 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: OnenoteCopySectionToSectionGroupInput,\n output: OnenoteCopySectionToSectionGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,CAAC,CAAC,CAAC,SAAS,gHAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const OnenoteCopySitePageToSection3Input = zod.z.object({
12
12
  const OnenoteCopySitePageToSection3Output = zod.z.object({
13
13
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
14
14
  "Operation-Location": zod.z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
15
- }).describe("Response model for copying a page to a section.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
15
+ }).passthrough().describe("Response model for copying a page to a section.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.");
16
16
  const onenoteCopySitePageToSection3 = require_action.action("ONENOTE_COPY_SITE_PAGE_TO_SECTION3", {
17
17
  slug: "onenote-copy-site-page-to-section3",
18
18
  name: "Copy site page to section",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-site-page-to-section3.cjs","names":["z","action"],"sources":["../../src/actions/copy-site-page-to-section3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySitePageToSection3Input = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n siteId: z.string().describe(\"The unique identifier of the destination SharePoint web. Use only when copying to a SharePoint site.\").optional(),\n groupId: z.string().describe(\"The id of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n siteCollectionId: z.string().describe(\"The unique identifier of the SharePoint site collection. Use only when copying to a SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote page from a site to a destination section.\");\nexport const OnenoteCopySitePageToSection3Output = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for copying a page to a section.\\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 onenoteCopySitePageToSection3 = action(\"ONENOTE_COPY_SITE_PAGE_TO_SECTION3\", {\n slug: \"onenote-copy-site-page-to-section3\",\n name: \"Copy site page to section\",\n description: \"Copies a OneNote page from a SharePoint site to a destination section. Use this action when you need to duplicate a OneNote page into a different section within the same or a different SharePoint site's notebook. The operation is asynchronous and returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. 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.\",\n input: OnenoteCopySitePageToSection3Input,\n output: OnenoteCopySitePageToSection3Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,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,SAAS,8MAA8M;AAE1N,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-site-page-to-section3.cjs","names":["z","action"],"sources":["../../src/actions/copy-site-page-to-section3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySitePageToSection3Input = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n siteId: z.string().describe(\"The unique identifier of the destination SharePoint web. Use only when copying to a SharePoint site.\").optional(),\n groupId: z.string().describe(\"The id of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n siteCollectionId: z.string().describe(\"The unique identifier of the SharePoint site collection. Use only when copying to a SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote page from a site to a destination section.\");\nexport const OnenoteCopySitePageToSection3Output = 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 page to a section.\\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 onenoteCopySitePageToSection3 = action(\"ONENOTE_COPY_SITE_PAGE_TO_SECTION3\", {\n slug: \"onenote-copy-site-page-to-section3\",\n name: \"Copy site page to section\",\n description: \"Copies a OneNote page from a SharePoint site to a destination section. Use this action when you need to duplicate a OneNote page into a different section within the same or a different SharePoint site's notebook. The operation is asynchronous and returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. 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.\",\n input: OnenoteCopySitePageToSection3Input,\n output: OnenoteCopySitePageToSection3Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,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,8MAA8M;AAExO,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const OnenoteCopySitePageToSection3Input: z.ZodObject<{
12
12
  declare const OnenoteCopySitePageToSection3Output: z.ZodObject<{
13
13
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const onenoteCopySitePageToSection3: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  id: string;
18
18
  page_id: string;
@@ -20,7 +20,19 @@ declare const onenoteCopySitePageToSection3: import("@keystrokehq/action").Workf
20
20
  siteId?: string | undefined;
21
21
  groupId?: string | undefined;
22
22
  siteCollectionId?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
24
36
  //#endregion
25
37
  export { onenoteCopySitePageToSection3 };
26
38
  //# sourceMappingURL=copy-site-page-to-section3.d.cts.map
@@ -12,7 +12,7 @@ declare const OnenoteCopySitePageToSection3Input: z.ZodObject<{
12
12
  declare const OnenoteCopySitePageToSection3Output: z.ZodObject<{
13
13
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const onenoteCopySitePageToSection3: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  id: string;
18
18
  page_id: string;
@@ -20,7 +20,19 @@ declare const onenoteCopySitePageToSection3: import("@keystrokehq/action").Workf
20
20
  siteId?: string | undefined;
21
21
  groupId?: string | undefined;
22
22
  siteCollectionId?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
24
36
  //#endregion
25
37
  export { onenoteCopySitePageToSection3 };
26
38
  //# sourceMappingURL=copy-site-page-to-section3.d.mts.map
@@ -15,7 +15,7 @@ const onenoteCopySitePageToSection3 = action("ONENOTE_COPY_SITE_PAGE_TO_SECTION3
15
15
  output: z.object({
16
16
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.").nullable().optional(),
17
17
  "Operation-Location": z.string().describe("URL to poll for the status of the copy operation.").nullable().optional()
18
- }).describe("Response model for copying a page to a section.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
18
+ }).passthrough().describe("Response model for copying a page to a section.\n\nThe API returns a 202 Accepted response with an Operation-Location header.\nPoll the Operation-Location endpoint to get the status of the copy operation.")
19
19
  });
20
20
  //#endregion
21
21
  export { onenoteCopySitePageToSection3 };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-site-page-to-section3.mjs","names":[],"sources":["../../src/actions/copy-site-page-to-section3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySitePageToSection3Input = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n siteId: z.string().describe(\"The unique identifier of the destination SharePoint web. Use only when copying to a SharePoint site.\").optional(),\n groupId: z.string().describe(\"The id of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n siteCollectionId: z.string().describe(\"The unique identifier of the SharePoint site collection. Use only when copying to a SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote page from a site to a destination section.\");\nexport const OnenoteCopySitePageToSection3Output = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted status indicates the operation was initiated successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation.\").nullable().optional(),\n}).describe(\"Response model for copying a page to a section.\\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 onenoteCopySitePageToSection3 = action(\"ONENOTE_COPY_SITE_PAGE_TO_SECTION3\", {\n slug: \"onenote-copy-site-page-to-section3\",\n name: \"Copy site page to section\",\n description: \"Copies a OneNote page from a SharePoint site to a destination section. Use this action when you need to duplicate a OneNote page into a different section within the same or a different SharePoint site's notebook. The operation is asynchronous and returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. 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.\",\n input: OnenoteCopySitePageToSection3Input,\n output: OnenoteCopySitePageToSection3Output,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,gFAUH;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,SAAS,8MAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-site-page-to-section3.mjs","names":[],"sources":["../../src/actions/copy-site-page-to-section3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopySitePageToSection3Input = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n siteId: z.string().describe(\"The unique identifier of the destination SharePoint web. Use only when copying to a SharePoint site.\").optional(),\n groupId: z.string().describe(\"The id of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook.\"),\n siteCollectionId: z.string().describe(\"The unique identifier of the SharePoint site collection. Use only when copying to a SharePoint site.\").optional(),\n}).describe(\"Request model for copying a OneNote page from a site to a destination section.\");\nexport const OnenoteCopySitePageToSection3Output = 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 page to a section.\\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 onenoteCopySitePageToSection3 = action(\"ONENOTE_COPY_SITE_PAGE_TO_SECTION3\", {\n slug: \"onenote-copy-site-page-to-section3\",\n name: \"Copy site page to section\",\n description: \"Copies a OneNote page from a SharePoint site to a destination section. Use this action when you need to duplicate a OneNote page into a different section within the same or a different SharePoint site's notebook. The operation is asynchronous and returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. 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.\",\n input: OnenoteCopySitePageToSection3Input,\n output: OnenoteCopySitePageToSection3Output,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,gFAUH;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,8MAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const OnenoteCopyUserPageToSectionInput = zod.z.object({
10
10
  const OnenoteCopyUserPageToSectionOutput = zod.z.object({
11
11
  status_code: zod.z.number().int().describe("HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.").nullable().optional(),
12
12
  "Operation-Location": zod.z.string().describe("URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.").nullable().optional()
13
- }).describe("Response model for copying a page to a section operation.");
13
+ }).passthrough().describe("Response model for copying a page to a section operation.");
14
14
  const onenoteCopyUserPageToSection = require_action.action("ONENOTE_COPY_USER_PAGE_TO_SECTION", {
15
15
  slug: "onenote-copy-user-page-to-section",
16
16
  name: "Copy user page to section",
@@ -1 +1 @@
1
- {"version":3,"file":"copy-user-page-to-section.cjs","names":["z","action"],"sources":["../../src/actions/copy-user-page-to-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyUserPageToSectionInput = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n groupId: z.string().describe(\"The unique identifier of the destination Microsoft 365 group. Use only when copying to a group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n user_id: z.string().describe(\"The unique identifier or user principal name of the user who owns the page.\"),\n}).describe(\"Request model for copying a OneNote page to a section within a user's notebook.\");\nexport const OnenoteCopyUserPageToSectionOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.\").nullable().optional(),\n}).describe(\"Response model for copying a page to a section operation.\");\n\nexport const onenoteCopyUserPageToSection = action(\"ONENOTE_COPY_USER_PAGE_TO_SECTION\", {\n slug: \"onenote-copy-user-page-to-section\",\n name: \"Copy user page to section\",\n description: \"Copy a OneNote page from a user's notebook to a specified section. Use this action when you need to duplicate a OneNote page into a different section within a user's Microsoft 365 account. This is an asynchronous operation that returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. The page is identified by its full path through the notebook's hierarchy.\",\n input: OnenoteCopyUserPageToSectionInput,\n output: OnenoteCopyUserPageToSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC5G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"copy-user-page-to-section.cjs","names":["z","action"],"sources":["../../src/actions/copy-user-page-to-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyUserPageToSectionInput = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n groupId: z.string().describe(\"The unique identifier of the destination Microsoft 365 group. Use only when copying to a group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n user_id: z.string().describe(\"The unique identifier or user principal name of the user who owns the page.\"),\n}).describe(\"Request model for copying a OneNote page to a section within a user's notebook.\");\nexport const OnenoteCopyUserPageToSectionOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a page to a section operation.\");\n\nexport const onenoteCopyUserPageToSection = action(\"ONENOTE_COPY_USER_PAGE_TO_SECTION\", {\n slug: \"onenote-copy-user-page-to-section\",\n name: \"Copy user page to section\",\n description: \"Copy a OneNote page from a user's notebook to a specified section. Use this action when you need to duplicate a OneNote page into a different section within a user's Microsoft 365 account. This is an asynchronous operation that returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. The page is identified by its full path through the notebook's hierarchy.\",\n input: OnenoteCopyUserPageToSectionInput,\n output: OnenoteCopyUserPageToSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC5G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,13 +10,25 @@ declare const OnenoteCopyUserPageToSectionInput: z.ZodObject<{
10
10
  declare const OnenoteCopyUserPageToSectionOutput: z.ZodObject<{
11
11
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const onenoteCopyUserPageToSection: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  id: string;
16
16
  page_id: string;
17
17
  user_id: string;
18
18
  groupId?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
20
32
  //#endregion
21
33
  export { onenoteCopyUserPageToSection };
22
34
  //# sourceMappingURL=copy-user-page-to-section.d.cts.map
@@ -10,13 +10,25 @@ declare const OnenoteCopyUserPageToSectionInput: z.ZodObject<{
10
10
  declare const OnenoteCopyUserPageToSectionOutput: z.ZodObject<{
11
11
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  "Operation-Location": z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const onenoteCopyUserPageToSection: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  id: string;
16
16
  page_id: string;
17
17
  user_id: string;
18
18
  groupId?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
20
32
  //#endregion
21
33
  export { onenoteCopyUserPageToSection };
22
34
  //# sourceMappingURL=copy-user-page-to-section.d.mts.map
@@ -13,7 +13,7 @@ const onenoteCopyUserPageToSection = action("ONENOTE_COPY_USER_PAGE_TO_SECTION",
13
13
  output: z.object({
14
14
  status_code: z.number().int().describe("HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.").nullable().optional(),
15
15
  "Operation-Location": z.string().describe("URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.").nullable().optional()
16
- }).describe("Response model for copying a page to a section operation.")
16
+ }).passthrough().describe("Response model for copying a page to a section operation.")
17
17
  });
18
18
  //#endregion
19
19
  export { onenoteCopyUserPageToSection };
@@ -1 +1 @@
1
- {"version":3,"file":"copy-user-page-to-section.mjs","names":[],"sources":["../../src/actions/copy-user-page-to-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyUserPageToSectionInput = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n groupId: z.string().describe(\"The unique identifier of the destination Microsoft 365 group. Use only when copying to a group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n user_id: z.string().describe(\"The unique identifier or user principal name of the user who owns the page.\"),\n}).describe(\"Request model for copying a OneNote page to a section within a user's notebook.\");\nexport const OnenoteCopyUserPageToSectionOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.\").nullable().optional(),\n}).describe(\"Response model for copying a page to a section operation.\");\n\nexport const onenoteCopyUserPageToSection = action(\"ONENOTE_COPY_USER_PAGE_TO_SECTION\", {\n slug: \"onenote-copy-user-page-to-section\",\n name: \"Copy user page to section\",\n description: \"Copy a OneNote page from a user's notebook to a specified section. Use this action when you need to duplicate a OneNote page into a different section within a user's Microsoft 365 account. This is an asynchronous operation that returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. The page is identified by its full path through the notebook's hierarchy.\",\n input: OnenoteCopyUserPageToSectionInput,\n output: OnenoteCopyUserPageToSectionOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC5G,CAAC,CAAC,CAAC,SAAS,iFAUH;CACP,QAVgD,EAAE,OAAO;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"copy-user-page-to-section.mjs","names":[],"sources":["../../src/actions/copy-user-page-to-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCopyUserPageToSectionInput = z.object({\n id: z.string().describe(\"Required. The unique identifier of the destination section to copy the page to.\"),\n groupId: z.string().describe(\"The unique identifier of the destination Microsoft 365 group. Use only when copying to a group.\").optional(),\n page_id: z.string().describe(\"The unique identifier of the OneNote page to copy.\"),\n user_id: z.string().describe(\"The unique identifier or user principal name of the user who owns the page.\"),\n}).describe(\"Request model for copying a OneNote page to a section within a user's notebook.\");\nexport const OnenoteCopyUserPageToSectionOutput = z.object({\n status_code: z.number().int().describe(\"HTTP status code of the response. A 202 Accepted indicates the copy operation was started successfully.\").nullable().optional(),\n \"Operation-Location\": z.string().describe(\"URL to poll for the status of the copy operation. Poll this endpoint to get the result once the operation completes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for copying a page to a section operation.\");\n\nexport const onenoteCopyUserPageToSection = action(\"ONENOTE_COPY_USER_PAGE_TO_SECTION\", {\n slug: \"onenote-copy-user-page-to-section\",\n name: \"Copy user page to section\",\n description: \"Copy a OneNote page from a user's notebook to a specified section. Use this action when you need to duplicate a OneNote page into a different section within a user's Microsoft 365 account. This is an asynchronous operation that returns a 202 Accepted response with an Operation-Location header. Poll that endpoint to determine when the copy completes and get the result of the operation. The page is identified by its full path through the notebook's hierarchy.\",\n input: OnenoteCopyUserPageToSectionInput,\n output: OnenoteCopyUserPageToSectionOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC5G,CAAC,CAAC,CAAC,SAAS,iFAUH;CACP,QAVgD,EAAE,OAAO;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const OnenoteCountNotebooksSectionGroupsSectionsInput = zod.z.object({
5
5
  user_id: zod.z.string().describe("The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user."),
6
6
  section_group_id: zod.z.string().describe("The unique identifier of the section group within the notebook.")
7
7
  }).describe("Request model for counting sections in a section group within a user's OneNote notebook.");
8
- const OnenoteCountNotebooksSectionGroupsSectionsOutput = zod.z.object({ count: zod.z.number().int().describe("The total count of sections in the specified section group.").nullable() }).describe("Response model for the count of sections in a section group.");
8
+ const OnenoteCountNotebooksSectionGroupsSectionsOutput = zod.z.object({ count: zod.z.number().int().describe("The total count of sections in the specified section group.").nullable() }).passthrough().describe("Response model for the count of sections in a section group.");
9
9
  const onenoteCountNotebooksSectionGroupsSections = require_action.action("ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS", {
10
10
  slug: "onenote-count-notebooks-section-groups-sections",
11
11
  name: "Count notebook section group sections",
@@ -1 +1 @@
1
- {"version":3,"file":"count-notebooks-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/count-notebooks-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountNotebooksSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections in a section group within a user's OneNote notebook.\");\nexport const OnenoteCountNotebooksSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).describe(\"Response model for the count of sections in a section group.\");\n\nexport const onenoteCountNotebooksSectionGroupsSections = action(\"ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-notebooks-section-groups-sections\",\n name: \"Count notebook section group sections\",\n description: \"Gets the count of OneNote sections within a section group in a user's notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. This is a read-only operation.\",\n input: OnenoteCountNotebooksSectionGroupsSectionsInput,\n output: OnenoteCountNotebooksSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"count-notebooks-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/count-notebooks-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountNotebooksSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections in a section group within a user's OneNote notebook.\");\nexport const OnenoteCountNotebooksSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).passthrough().describe(\"Response model for the count of sections in a section group.\");\n\nexport const onenoteCountNotebooksSectionGroupsSections = action(\"ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-notebooks-section-groups-sections\",\n name: \"Count notebook section group sections\",\n description: \"Gets the count of OneNote sections within a section group in a user's notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. This is a read-only operation.\",\n input: OnenoteCountNotebooksSectionGroupsSectionsInput,\n output: OnenoteCountNotebooksSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,11 +7,23 @@ declare const OnenoteCountNotebooksSectionGroupsSectionsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const OnenoteCountNotebooksSectionGroupsSectionsOutput: z.ZodObject<{
9
9
  count: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const onenoteCountNotebooksSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  user_id: string;
13
13
  section_group_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { onenoteCountNotebooksSectionGroupsSections };
17
29
  //# sourceMappingURL=count-notebooks-section-groups-sections.d.cts.map
@@ -7,11 +7,23 @@ declare const OnenoteCountNotebooksSectionGroupsSectionsInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const OnenoteCountNotebooksSectionGroupsSectionsOutput: z.ZodObject<{
9
9
  count: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const onenoteCountNotebooksSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  user_id: string;
13
13
  section_group_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { onenoteCountNotebooksSectionGroupsSections };
17
29
  //# sourceMappingURL=count-notebooks-section-groups-sections.d.mts.map
@@ -8,7 +8,7 @@ const onenoteCountNotebooksSectionGroupsSections = action("ONENOTE_COUNT_NOTEBOO
8
8
  user_id: z.string().describe("The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user."),
9
9
  section_group_id: z.string().describe("The unique identifier of the section group within the notebook.")
10
10
  }).describe("Request model for counting sections in a section group within a user's OneNote notebook."),
11
- output: z.object({ count: z.number().int().describe("The total count of sections in the specified section group.").nullable() }).describe("Response model for the count of sections in a section group.")
11
+ output: z.object({ count: z.number().int().describe("The total count of sections in the specified section group.").nullable() }).passthrough().describe("Response model for the count of sections in a section group.")
12
12
  });
13
13
  //#endregion
14
14
  export { onenoteCountNotebooksSectionGroupsSections };
@@ -1 +1 @@
1
- {"version":3,"file":"count-notebooks-section-groups-sections.mjs","names":[],"sources":["../../src/actions/count-notebooks-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountNotebooksSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections in a section group within a user's OneNote notebook.\");\nexport const OnenoteCountNotebooksSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).describe(\"Response model for the count of sections in a section group.\");\n\nexport const onenoteCountNotebooksSectionGroupsSections = action(\"ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-notebooks-section-groups-sections\",\n name: \"Count notebook section group sections\",\n description: \"Gets the count of OneNote sections within a section group in a user's notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. This is a read-only operation.\",\n input: OnenoteCountNotebooksSectionGroupsSectionsInput,\n output: OnenoteCountNotebooksSectionGroupsSectionsOutput,\n});\n"],"mappings":";;AAYA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC9H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,0FASH;CACP,QAT8D,EAAE,OAAO,EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"count-notebooks-section-groups-sections.mjs","names":[],"sources":["../../src/actions/count-notebooks-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountNotebooksSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections in a section group within a user's OneNote notebook.\");\nexport const OnenoteCountNotebooksSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).passthrough().describe(\"Response model for the count of sections in a section group.\");\n\nexport const onenoteCountNotebooksSectionGroupsSections = action(\"ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-notebooks-section-groups-sections\",\n name: \"Count notebook section group sections\",\n description: \"Gets the count of OneNote sections within a section group in a user's notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. This is a read-only operation.\",\n input: OnenoteCountNotebooksSectionGroupsSectionsInput,\n output: OnenoteCountNotebooksSectionGroupsSectionsOutput,\n});\n"],"mappings":";;AAYA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC9H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,0FASH;CACP,QAT8D,EAAE,OAAO,EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const OnenoteCountSiteNotebookSectionGroupsSectionsInput = zod.z.object({
6
6
  notebook_id: zod.z.string().describe("The unique identifier of the OneNote notebook within the site."),
7
7
  section_group_id: zod.z.string().describe("The unique identifier of the section group within the notebook.")
8
8
  }).describe("Request model for counting sections within a section group in a OneNote notebook within a SharePoint site.");
9
- const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = zod.z.object({ count: zod.z.number().int().describe("The total count of sections in the specified section group.").nullable() }).describe("Response model for the count of sections within a section group.");
9
+ const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = zod.z.object({ count: zod.z.number().int().describe("The total count of sections in the specified section group.").nullable() }).passthrough().describe("Response model for the count of sections within a section group.");
10
10
  const onenoteCountSiteNotebookSectionGroupsSections = require_action.action("ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS", {
11
11
  slug: "onenote-count-site-notebook-section-groups-sections",
12
12
  name: "Count site notebook section group sections",
@@ -1 +1 @@
1
- {"version":3,"file":"count-site-notebook-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/count-site-notebook-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections within a section group in a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).describe(\"Response model for the count of sections within a section group.\");\n\nexport const onenoteCountSiteNotebookSectionGroupsSections = action(\"ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-site-notebook-section-groups-sections\",\n name: \"Count site notebook section group sections\",\n description: \"Gets the count of sections within a OneNote section group in a SharePoint site notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. Microsoft Graph requires the `ConsistencyLevel: eventual` header when using the `$count=true` query parameter on OneNote endpoints.\",\n input: OnenoteCountSiteNotebookSectionGroupsSectionsInput,\n output: OnenoteCountSiteNotebookSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,sDAAsDA,IAAAA,EAAE,OAAO,EAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,gDAAgDC,eAAAA,OAAO,uDAAuD;CACzH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"count-site-notebook-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/count-site-notebook-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections within a section group in a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).passthrough().describe(\"Response model for the count of sections within a section group.\");\n\nexport const onenoteCountSiteNotebookSectionGroupsSections = action(\"ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-site-notebook-section-groups-sections\",\n name: \"Count site notebook section group sections\",\n description: \"Gets the count of sections within a OneNote section group in a SharePoint site notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. Microsoft Graph requires the `ConsistencyLevel: eventual` header when using the `$count=true` query parameter on OneNote endpoints.\",\n input: OnenoteCountSiteNotebookSectionGroupsSectionsInput,\n output: OnenoteCountSiteNotebookSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACzG,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,sDAAsDA,IAAAA,EAAE,OAAO,EAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,gDAAgDC,eAAAA,OAAO,uDAAuD;CACzH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,12 +8,24 @@ declare const OnenoteCountSiteNotebookSectionGroupsSectionsInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const OnenoteCountSiteNotebookSectionGroupsSectionsOutput: z.ZodObject<{
10
10
  count: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const onenoteCountSiteNotebookSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  site_id: string;
14
14
  notebook_id: string;
15
15
  section_group_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, 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>>]>;
17
29
  //#endregion
18
30
  export { onenoteCountSiteNotebookSectionGroupsSections };
19
31
  //# sourceMappingURL=count-site-notebook-section-groups-sections.d.cts.map
@@ -8,12 +8,24 @@ declare const OnenoteCountSiteNotebookSectionGroupsSectionsInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const OnenoteCountSiteNotebookSectionGroupsSectionsOutput: z.ZodObject<{
10
10
  count: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const onenoteCountSiteNotebookSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  site_id: string;
14
14
  notebook_id: string;
15
15
  section_group_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, 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>>]>;
17
29
  //#endregion
18
30
  export { onenoteCountSiteNotebookSectionGroupsSections };
19
31
  //# sourceMappingURL=count-site-notebook-section-groups-sections.d.mts.map
@@ -9,7 +9,7 @@ const onenoteCountSiteNotebookSectionGroupsSections = action("ONENOTE_COUNT_SITE
9
9
  notebook_id: z.string().describe("The unique identifier of the OneNote notebook within the site."),
10
10
  section_group_id: z.string().describe("The unique identifier of the section group within the notebook.")
11
11
  }).describe("Request model for counting sections within a section group in a OneNote notebook within a SharePoint site."),
12
- output: z.object({ count: z.number().int().describe("The total count of sections in the specified section group.").nullable() }).describe("Response model for the count of sections within a section group.")
12
+ output: z.object({ count: z.number().int().describe("The total count of sections in the specified section group.").nullable() }).passthrough().describe("Response model for the count of sections within a section group.")
13
13
  });
14
14
  //#endregion
15
15
  export { onenoteCountSiteNotebookSectionGroupsSections };
@@ -1 +1 @@
1
- {"version":3,"file":"count-site-notebook-section-groups-sections.mjs","names":[],"sources":["../../src/actions/count-site-notebook-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections within a section group in a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).describe(\"Response model for the count of sections within a section group.\");\n\nexport const onenoteCountSiteNotebookSectionGroupsSections = action(\"ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-site-notebook-section-groups-sections\",\n name: \"Count site notebook section group sections\",\n description: \"Gets the count of sections within a OneNote section group in a SharePoint site notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. Microsoft Graph requires the `ConsistencyLevel: eventual` header when using the `$count=true` query parameter on OneNote endpoints.\",\n input: OnenoteCountSiteNotebookSectionGroupsSectionsInput,\n output: OnenoteCountSiteNotebookSectionGroupsSectionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,gDAAgD,OAAO,uDAAuD;CACzH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,4GASH;CACP,QATiE,EAAE,OAAO,EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"count-site-notebook-section-groups-sections.mjs","names":[],"sources":["../../src/actions/count-site-notebook-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group within the notebook.\"),\n}).describe(\"Request model for counting sections within a section group in a OneNote notebook within a SharePoint site.\");\nexport const OnenoteCountSiteNotebookSectionGroupsSectionsOutput = z.object({\n count: z.number().int().describe(\"The total count of sections in the specified section group.\").nullable(),\n}).passthrough().describe(\"Response model for the count of sections within a section group.\");\n\nexport const onenoteCountSiteNotebookSectionGroupsSections = action(\"ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-count-site-notebook-section-groups-sections\",\n name: \"Count site notebook section group sections\",\n description: \"Gets the count of sections within a OneNote section group in a SharePoint site notebook. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. Microsoft Graph requires the `ConsistencyLevel: eventual` header when using the `$count=true` query parameter on OneNote endpoints.\",\n input: OnenoteCountSiteNotebookSectionGroupsSectionsInput,\n output: OnenoteCountSiteNotebookSectionGroupsSectionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,gDAAgD,OAAO,uDAAuD;CACzH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,4GASH;CACP,QATiE,EAAE,OAAO,EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
@@ -5,20 +5,20 @@ const OnenoteCreateGroupNotebookInput = zod.z.object({
5
5
  group_id: zod.z.string().describe("The unique identifier of the Microsoft 365 group that will own the notebook."),
6
6
  display_name: zod.z.string().describe("The name of the new notebook. This is the only required field when creating a notebook.")
7
7
  }).describe("Request model for creating a notebook in a Microsoft 365 group.");
8
- const OnenoteCreateGroupNotebook_NotebookLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).describe("Link URL for opening the notebook.");
8
+ const OnenoteCreateGroupNotebook_NotebookLinkSchema = zod.z.object({ href: zod.z.string().describe("The URL of the link.").nullable().optional() }).passthrough().describe("Link URL for opening the notebook.");
9
9
  const OnenoteCreateGroupNotebook_NotebookLinksSchema = zod.z.object({
10
10
  oneNoteWebUrl: OnenoteCreateGroupNotebook_NotebookLinkSchema.nullable().optional(),
11
11
  oneNoteClientUrl: OnenoteCreateGroupNotebook_NotebookLinkSchema.nullable().optional()
12
- }).describe("Links for opening the notebook in various clients.");
12
+ }).passthrough().describe("Links for opening the notebook in various clients.");
13
13
  const OnenoteCreateGroupNotebook_IdentityInfoSchema = zod.z.object({
14
14
  id: zod.z.string().describe("The unique identifier of the identity.").nullable().optional(),
15
15
  displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
16
- }).describe("Individual identity information for a user, device, or application.");
16
+ }).passthrough().describe("Individual identity information for a user, device, or application.");
17
17
  const OnenoteCreateGroupNotebook_IdentitySetSchema = zod.z.object({
18
18
  user: OnenoteCreateGroupNotebook_IdentityInfoSchema.nullable().optional(),
19
19
  device: OnenoteCreateGroupNotebook_IdentityInfoSchema.nullable().optional(),
20
20
  application: OnenoteCreateGroupNotebook_IdentityInfoSchema.nullable().optional()
21
- }).describe("Identity information for a user, device, or application.");
21
+ }).passthrough().describe("Identity information for a user, device, or application.");
22
22
  const OnenoteCreateGroupNotebookOutput = zod.z.object({
23
23
  id: zod.z.string().describe("The unique identifier of the created notebook.").nullable().optional(),
24
24
  self: zod.z.string().describe("The endpoint where you can get details about the notebook.").nullable().optional(),
@@ -33,7 +33,7 @@ const OnenoteCreateGroupNotebookOutput = zod.z.object({
33
33
  createdDateTime: zod.z.string().describe("The date and time when the notebook was created in UTC.").nullable().optional(),
34
34
  sectionGroupsUrl: zod.z.string().describe("The URL for the section groups navigation property.").nullable().optional(),
35
35
  lastModifiedDateTime: zod.z.string().describe("The date and time when the notebook was last modified in UTC.").nullable().optional()
36
- }).describe("Response model containing the created notebook details.");
36
+ }).passthrough().describe("Response model containing the created notebook details.");
37
37
  const onenoteCreateGroupNotebook = require_action.action("ONENOTE_CREATE_GROUP_NOTEBOOK", {
38
38
  slug: "onenote-create-group-notebook",
39
39
  name: "Create group notebook",