@keystrokehq/onenote 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/copy-onenote-group-notebook.cjs +1 -0
  4. package/dist/actions/copy-onenote-group-notebook.cjs.map +1 -1
  5. package/dist/actions/copy-onenote-group-notebook.d.cts +3 -18
  6. package/dist/actions/copy-onenote-group-notebook.d.cts.map +1 -1
  7. package/dist/actions/copy-onenote-group-notebook.d.mts +3 -18
  8. package/dist/actions/copy-onenote-group-notebook.d.mts.map +1 -1
  9. package/dist/actions/copy-onenote-group-notebook.mjs +1 -0
  10. package/dist/actions/copy-onenote-group-notebook.mjs.map +1 -1
  11. package/dist/actions/copy-onenote-site-notebook.cjs +1 -0
  12. package/dist/actions/copy-onenote-site-notebook.cjs.map +1 -1
  13. package/dist/actions/copy-onenote-site-notebook.d.cts +3 -19
  14. package/dist/actions/copy-onenote-site-notebook.d.cts.map +1 -1
  15. package/dist/actions/copy-onenote-site-notebook.d.mts +3 -19
  16. package/dist/actions/copy-onenote-site-notebook.d.mts.map +1 -1
  17. package/dist/actions/copy-onenote-site-notebook.mjs +1 -0
  18. package/dist/actions/copy-onenote-site-notebook.mjs.map +1 -1
  19. package/dist/actions/copy-section-to-notebook-for-user2.cjs +1 -0
  20. package/dist/actions/copy-section-to-notebook-for-user2.cjs.map +1 -1
  21. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +3 -20
  22. package/dist/actions/copy-section-to-notebook-for-user2.d.cts.map +1 -1
  23. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +3 -20
  24. package/dist/actions/copy-section-to-notebook-for-user2.d.mts.map +1 -1
  25. package/dist/actions/copy-section-to-notebook-for-user2.mjs +1 -0
  26. package/dist/actions/copy-section-to-notebook-for-user2.mjs.map +1 -1
  27. package/dist/actions/copy-section-to-notebook2.cjs +1 -0
  28. package/dist/actions/copy-section-to-notebook2.cjs.map +1 -1
  29. package/dist/actions/copy-section-to-notebook2.d.cts +3 -20
  30. package/dist/actions/copy-section-to-notebook2.d.cts.map +1 -1
  31. package/dist/actions/copy-section-to-notebook2.d.mts +3 -20
  32. package/dist/actions/copy-section-to-notebook2.d.mts.map +1 -1
  33. package/dist/actions/copy-section-to-notebook2.mjs +1 -0
  34. package/dist/actions/copy-section-to-notebook2.mjs.map +1 -1
  35. package/dist/actions/copy-section-to-section-group-for-user.cjs +1 -0
  36. package/dist/actions/copy-section-to-section-group-for-user.cjs.map +1 -1
  37. package/dist/actions/copy-section-to-section-group-for-user.d.cts +3 -19
  38. package/dist/actions/copy-section-to-section-group-for-user.d.cts.map +1 -1
  39. package/dist/actions/copy-section-to-section-group-for-user.d.mts +3 -19
  40. package/dist/actions/copy-section-to-section-group-for-user.d.mts.map +1 -1
  41. package/dist/actions/copy-section-to-section-group-for-user.mjs +1 -0
  42. package/dist/actions/copy-section-to-section-group-for-user.mjs.map +1 -1
  43. package/dist/actions/copy-section-to-section-group.cjs +1 -0
  44. package/dist/actions/copy-section-to-section-group.cjs.map +1 -1
  45. package/dist/actions/copy-section-to-section-group.d.cts +3 -18
  46. package/dist/actions/copy-section-to-section-group.d.cts.map +1 -1
  47. package/dist/actions/copy-section-to-section-group.d.mts +3 -18
  48. package/dist/actions/copy-section-to-section-group.d.mts.map +1 -1
  49. package/dist/actions/copy-section-to-section-group.mjs +1 -0
  50. package/dist/actions/copy-section-to-section-group.mjs.map +1 -1
  51. package/dist/actions/copy-site-page-to-section3.cjs +1 -0
  52. package/dist/actions/copy-site-page-to-section3.cjs.map +1 -1
  53. package/dist/actions/copy-site-page-to-section3.d.cts +3 -20
  54. package/dist/actions/copy-site-page-to-section3.d.cts.map +1 -1
  55. package/dist/actions/copy-site-page-to-section3.d.mts +3 -20
  56. package/dist/actions/copy-site-page-to-section3.d.mts.map +1 -1
  57. package/dist/actions/copy-site-page-to-section3.mjs +1 -0
  58. package/dist/actions/copy-site-page-to-section3.mjs.map +1 -1
  59. package/dist/actions/copy-user-page-to-section.cjs +1 -0
  60. package/dist/actions/copy-user-page-to-section.cjs.map +1 -1
  61. package/dist/actions/copy-user-page-to-section.d.cts +3 -18
  62. package/dist/actions/copy-user-page-to-section.d.cts.map +1 -1
  63. package/dist/actions/copy-user-page-to-section.d.mts +3 -18
  64. package/dist/actions/copy-user-page-to-section.d.mts.map +1 -1
  65. package/dist/actions/copy-user-page-to-section.mjs +1 -0
  66. package/dist/actions/copy-user-page-to-section.mjs.map +1 -1
  67. package/dist/actions/count-notebooks-section-groups-sections.cjs +1 -0
  68. package/dist/actions/count-notebooks-section-groups-sections.cjs.map +1 -1
  69. package/dist/actions/count-notebooks-section-groups-sections.d.cts +3 -16
  70. package/dist/actions/count-notebooks-section-groups-sections.d.cts.map +1 -1
  71. package/dist/actions/count-notebooks-section-groups-sections.d.mts +3 -16
  72. package/dist/actions/count-notebooks-section-groups-sections.d.mts.map +1 -1
  73. package/dist/actions/count-notebooks-section-groups-sections.mjs +1 -0
  74. package/dist/actions/count-notebooks-section-groups-sections.mjs.map +1 -1
  75. package/dist/actions/count-site-notebook-section-groups-sections.cjs +1 -0
  76. package/dist/actions/count-site-notebook-section-groups-sections.cjs.map +1 -1
  77. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +3 -17
  78. package/dist/actions/count-site-notebook-section-groups-sections.d.cts.map +1 -1
  79. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +3 -17
  80. package/dist/actions/count-site-notebook-section-groups-sections.d.mts.map +1 -1
  81. package/dist/actions/count-site-notebook-section-groups-sections.mjs +1 -0
  82. package/dist/actions/count-site-notebook-section-groups-sections.mjs.map +1 -1
  83. package/dist/actions/create-group-notebook.cjs +1 -0
  84. package/dist/actions/create-group-notebook.cjs.map +1 -1
  85. package/dist/actions/create-group-notebook.d.cts +3 -16
  86. package/dist/actions/create-group-notebook.d.cts.map +1 -1
  87. package/dist/actions/create-group-notebook.d.mts +3 -16
  88. package/dist/actions/create-group-notebook.d.mts.map +1 -1
  89. package/dist/actions/create-group-notebook.mjs +1 -0
  90. package/dist/actions/create-group-notebook.mjs.map +1 -1
  91. package/dist/actions/create-group-pages.cjs +1 -0
  92. package/dist/actions/create-group-pages.cjs.map +1 -1
  93. package/dist/actions/create-group-pages.d.cts +3 -17
  94. package/dist/actions/create-group-pages.d.cts.map +1 -1
  95. package/dist/actions/create-group-pages.d.mts +3 -17
  96. package/dist/actions/create-group-pages.d.mts.map +1 -1
  97. package/dist/actions/create-group-pages.mjs +1 -0
  98. package/dist/actions/create-group-pages.mjs.map +1 -1
  99. package/dist/actions/create-group-section-groups-sections.cjs +1 -0
  100. package/dist/actions/create-group-section-groups-sections.cjs.map +1 -1
  101. package/dist/actions/create-group-section-groups-sections.d.cts +3 -17
  102. package/dist/actions/create-group-section-groups-sections.d.cts.map +1 -1
  103. package/dist/actions/create-group-section-groups-sections.d.mts +3 -17
  104. package/dist/actions/create-group-section-groups-sections.d.mts.map +1 -1
  105. package/dist/actions/create-group-section-groups-sections.mjs +1 -0
  106. package/dist/actions/create-group-section-groups-sections.mjs.map +1 -1
  107. package/dist/actions/create-me-notebooks.cjs +1 -0
  108. package/dist/actions/create-me-notebooks.cjs.map +1 -1
  109. package/dist/actions/create-me-notebooks.d.cts +3 -15
  110. package/dist/actions/create-me-notebooks.d.cts.map +1 -1
  111. package/dist/actions/create-me-notebooks.d.mts +3 -15
  112. package/dist/actions/create-me-notebooks.d.mts.map +1 -1
  113. package/dist/actions/create-me-notebooks.mjs +1 -0
  114. package/dist/actions/create-me-notebooks.mjs.map +1 -1
  115. package/dist/actions/create-me-section-groups-sections.cjs +1 -0
  116. package/dist/actions/create-me-section-groups-sections.cjs.map +1 -1
  117. package/dist/actions/create-me-section-groups-sections.d.cts +3 -16
  118. package/dist/actions/create-me-section-groups-sections.d.cts.map +1 -1
  119. package/dist/actions/create-me-section-groups-sections.d.mts +3 -16
  120. package/dist/actions/create-me-section-groups-sections.d.mts.map +1 -1
  121. package/dist/actions/create-me-section-groups-sections.mjs +1 -0
  122. package/dist/actions/create-me-section-groups-sections.mjs.map +1 -1
  123. package/dist/actions/create-me-sections-pages.cjs +1 -0
  124. package/dist/actions/create-me-sections-pages.cjs.map +1 -1
  125. package/dist/actions/create-me-sections-pages.d.cts +3 -18
  126. package/dist/actions/create-me-sections-pages.d.cts.map +1 -1
  127. package/dist/actions/create-me-sections-pages.d.mts +3 -18
  128. package/dist/actions/create-me-sections-pages.d.mts.map +1 -1
  129. package/dist/actions/create-me-sections-pages.mjs +1 -0
  130. package/dist/actions/create-me-sections-pages.mjs.map +1 -1
  131. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs +1 -0
  132. package/dist/actions/create-onenote-group-notebooks-section-groups.cjs.map +1 -1
  133. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +3 -17
  134. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts.map +1 -1
  135. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +3 -17
  136. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts.map +1 -1
  137. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs +1 -0
  138. package/dist/actions/create-onenote-group-notebooks-section-groups.mjs.map +1 -1
  139. package/dist/actions/create-site-notebooks-sections.cjs +1 -0
  140. package/dist/actions/create-site-notebooks-sections.cjs.map +1 -1
  141. package/dist/actions/create-site-notebooks-sections.d.cts +3 -17
  142. package/dist/actions/create-site-notebooks-sections.d.cts.map +1 -1
  143. package/dist/actions/create-site-notebooks-sections.d.mts +3 -17
  144. package/dist/actions/create-site-notebooks-sections.d.mts.map +1 -1
  145. package/dist/actions/create-site-notebooks-sections.mjs +1 -0
  146. package/dist/actions/create-site-notebooks-sections.mjs.map +1 -1
  147. package/dist/actions/create-user-notebooks-sections.cjs +1 -0
  148. package/dist/actions/create-user-notebooks-sections.cjs.map +1 -1
  149. package/dist/actions/create-user-notebooks-sections.d.cts +3 -17
  150. package/dist/actions/create-user-notebooks-sections.d.cts.map +1 -1
  151. package/dist/actions/create-user-notebooks-sections.d.mts +3 -17
  152. package/dist/actions/create-user-notebooks-sections.d.mts.map +1 -1
  153. package/dist/actions/create-user-notebooks-sections.mjs +1 -0
  154. package/dist/actions/create-user-notebooks-sections.mjs.map +1 -1
  155. package/dist/actions/create-user-pages.cjs +1 -0
  156. package/dist/actions/create-user-pages.cjs.map +1 -1
  157. package/dist/actions/create-user-pages.d.cts +3 -17
  158. package/dist/actions/create-user-pages.d.cts.map +1 -1
  159. package/dist/actions/create-user-pages.d.mts +3 -17
  160. package/dist/actions/create-user-pages.d.mts.map +1 -1
  161. package/dist/actions/create-user-pages.mjs +1 -0
  162. package/dist/actions/create-user-pages.mjs.map +1 -1
  163. package/dist/actions/create-user-section-groups-sections.cjs +1 -0
  164. package/dist/actions/create-user-section-groups-sections.cjs.map +1 -1
  165. package/dist/actions/create-user-section-groups-sections.d.cts +3 -17
  166. package/dist/actions/create-user-section-groups-sections.d.cts.map +1 -1
  167. package/dist/actions/create-user-section-groups-sections.d.mts +3 -17
  168. package/dist/actions/create-user-section-groups-sections.d.mts.map +1 -1
  169. package/dist/actions/create-user-section-groups-sections.mjs +1 -0
  170. package/dist/actions/create-user-section-groups-sections.mjs.map +1 -1
  171. package/dist/actions/create-user-sections-pages4.cjs +1 -0
  172. package/dist/actions/create-user-sections-pages4.cjs.map +1 -1
  173. package/dist/actions/create-user-sections-pages4.d.cts +3 -19
  174. package/dist/actions/create-user-sections-pages4.d.cts.map +1 -1
  175. package/dist/actions/create-user-sections-pages4.d.mts +3 -19
  176. package/dist/actions/create-user-sections-pages4.d.mts.map +1 -1
  177. package/dist/actions/create-user-sections-pages4.mjs +1 -0
  178. package/dist/actions/create-user-sections-pages4.mjs.map +1 -1
  179. package/dist/actions/delete-onenote-group-section-group-page-content.cjs +1 -0
  180. package/dist/actions/delete-onenote-group-section-group-page-content.cjs.map +1 -1
  181. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +3 -18
  182. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts.map +1 -1
  183. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +3 -18
  184. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts.map +1 -1
  185. package/dist/actions/delete-onenote-group-section-group-page-content.mjs +1 -0
  186. package/dist/actions/delete-onenote-group-section-group-page-content.mjs.map +1 -1
  187. package/dist/actions/delete-onenote-group-sections-pages2.cjs +1 -0
  188. package/dist/actions/delete-onenote-group-sections-pages2.cjs.map +1 -1
  189. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +3 -18
  190. package/dist/actions/delete-onenote-group-sections-pages2.d.cts.map +1 -1
  191. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +3 -18
  192. package/dist/actions/delete-onenote-group-sections-pages2.d.mts.map +1 -1
  193. package/dist/actions/delete-onenote-group-sections-pages2.mjs +1 -0
  194. package/dist/actions/delete-onenote-group-sections-pages2.mjs.map +1 -1
  195. package/dist/actions/delete-site-pages.cjs +1 -0
  196. package/dist/actions/delete-site-pages.cjs.map +1 -1
  197. package/dist/actions/delete-site-pages.d.cts +3 -16
  198. package/dist/actions/delete-site-pages.d.cts.map +1 -1
  199. package/dist/actions/delete-site-pages.d.mts +3 -16
  200. package/dist/actions/delete-site-pages.d.mts.map +1 -1
  201. package/dist/actions/delete-site-pages.mjs +1 -0
  202. package/dist/actions/delete-site-pages.mjs.map +1 -1
  203. package/dist/actions/delete-user-onenote-sections-pages.cjs +1 -0
  204. package/dist/actions/delete-user-onenote-sections-pages.cjs.map +1 -1
  205. package/dist/actions/delete-user-onenote-sections-pages.d.cts +3 -19
  206. package/dist/actions/delete-user-onenote-sections-pages.d.cts.map +1 -1
  207. package/dist/actions/delete-user-onenote-sections-pages.d.mts +3 -19
  208. package/dist/actions/delete-user-onenote-sections-pages.d.mts.map +1 -1
  209. package/dist/actions/delete-user-onenote-sections-pages.mjs +1 -0
  210. package/dist/actions/delete-user-onenote-sections-pages.mjs.map +1 -1
  211. package/dist/actions/delete-user-pages.cjs +1 -0
  212. package/dist/actions/delete-user-pages.cjs.map +1 -1
  213. package/dist/actions/delete-user-pages.d.cts +3 -16
  214. package/dist/actions/delete-user-pages.d.cts.map +1 -1
  215. package/dist/actions/delete-user-pages.d.mts +3 -16
  216. package/dist/actions/delete-user-pages.d.mts.map +1 -1
  217. package/dist/actions/delete-user-pages.mjs +1 -0
  218. package/dist/actions/delete-user-pages.mjs.map +1 -1
  219. package/dist/actions/get-group-sections.cjs +1 -0
  220. package/dist/actions/get-group-sections.cjs.map +1 -1
  221. package/dist/actions/get-group-sections.d.cts +3 -18
  222. package/dist/actions/get-group-sections.d.cts.map +1 -1
  223. package/dist/actions/get-group-sections.d.mts +3 -18
  224. package/dist/actions/get-group-sections.d.mts.map +1 -1
  225. package/dist/actions/get-group-sections.mjs +1 -0
  226. package/dist/actions/get-group-sections.mjs.map +1 -1
  227. package/dist/actions/get-me-onenote-resources-value.cjs +1 -0
  228. package/dist/actions/get-me-onenote-resources-value.cjs.map +1 -1
  229. package/dist/actions/get-me-onenote-resources-value.d.cts +3 -15
  230. package/dist/actions/get-me-onenote-resources-value.d.cts.map +1 -1
  231. package/dist/actions/get-me-onenote-resources-value.d.mts +3 -15
  232. package/dist/actions/get-me-onenote-resources-value.d.mts.map +1 -1
  233. package/dist/actions/get-me-onenote-resources-value.mjs +1 -0
  234. package/dist/actions/get-me-onenote-resources-value.mjs.map +1 -1
  235. package/dist/actions/get-me-section-page-content.cjs +1 -0
  236. package/dist/actions/get-me-section-page-content.cjs.map +1 -1
  237. package/dist/actions/get-me-section-page-content.d.cts +3 -16
  238. package/dist/actions/get-me-section-page-content.d.cts.map +1 -1
  239. package/dist/actions/get-me-section-page-content.d.mts +3 -16
  240. package/dist/actions/get-me-section-page-content.d.mts.map +1 -1
  241. package/dist/actions/get-me-section-page-content.mjs +1 -0
  242. package/dist/actions/get-me-section-page-content.mjs.map +1 -1
  243. package/dist/actions/get-notebook-from-web-url.cjs +1 -0
  244. package/dist/actions/get-notebook-from-web-url.cjs.map +1 -1
  245. package/dist/actions/get-notebook-from-web-url.d.cts +3 -16
  246. package/dist/actions/get-notebook-from-web-url.d.cts.map +1 -1
  247. package/dist/actions/get-notebook-from-web-url.d.mts +3 -16
  248. package/dist/actions/get-notebook-from-web-url.d.mts.map +1 -1
  249. package/dist/actions/get-notebook-from-web-url.mjs +1 -0
  250. package/dist/actions/get-notebook-from-web-url.mjs.map +1 -1
  251. package/dist/actions/get-notebook-section-group.cjs +1 -0
  252. package/dist/actions/get-notebook-section-group.cjs.map +1 -1
  253. package/dist/actions/get-notebook-section-group.d.cts +3 -18
  254. package/dist/actions/get-notebook-section-group.d.cts.map +1 -1
  255. package/dist/actions/get-notebook-section-group.d.mts +3 -18
  256. package/dist/actions/get-notebook-section-group.d.mts.map +1 -1
  257. package/dist/actions/get-notebook-section-group.mjs +1 -0
  258. package/dist/actions/get-notebook-section-group.mjs.map +1 -1
  259. package/dist/actions/get-onenote-group-operations.cjs +1 -0
  260. package/dist/actions/get-onenote-group-operations.cjs.map +1 -1
  261. package/dist/actions/get-onenote-group-operations.d.cts +3 -16
  262. package/dist/actions/get-onenote-group-operations.d.cts.map +1 -1
  263. package/dist/actions/get-onenote-group-operations.d.mts +3 -16
  264. package/dist/actions/get-onenote-group-operations.d.mts.map +1 -1
  265. package/dist/actions/get-onenote-group-operations.mjs +1 -0
  266. package/dist/actions/get-onenote-group-operations.mjs.map +1 -1
  267. package/dist/actions/get-onenote-group-sections-pages.cjs +1 -0
  268. package/dist/actions/get-onenote-group-sections-pages.cjs.map +1 -1
  269. package/dist/actions/get-onenote-group-sections-pages.d.cts +3 -21
  270. package/dist/actions/get-onenote-group-sections-pages.d.cts.map +1 -1
  271. package/dist/actions/get-onenote-group-sections-pages.d.mts +3 -21
  272. package/dist/actions/get-onenote-group-sections-pages.d.mts.map +1 -1
  273. package/dist/actions/get-onenote-group-sections-pages.mjs +1 -0
  274. package/dist/actions/get-onenote-group-sections-pages.mjs.map +1 -1
  275. package/dist/actions/get-onenote-site-operations.cjs +1 -0
  276. package/dist/actions/get-onenote-site-operations.cjs.map +1 -1
  277. package/dist/actions/get-onenote-site-operations.d.cts +3 -16
  278. package/dist/actions/get-onenote-site-operations.d.cts.map +1 -1
  279. package/dist/actions/get-onenote-site-operations.d.mts +3 -16
  280. package/dist/actions/get-onenote-site-operations.d.mts.map +1 -1
  281. package/dist/actions/get-onenote-site-operations.mjs +1 -0
  282. package/dist/actions/get-onenote-site-operations.mjs.map +1 -1
  283. package/dist/actions/get-onenote-user-page-content.cjs +1 -0
  284. package/dist/actions/get-onenote-user-page-content.cjs.map +1 -1
  285. package/dist/actions/get-onenote-user-page-content.d.cts +3 -17
  286. package/dist/actions/get-onenote-user-page-content.d.cts.map +1 -1
  287. package/dist/actions/get-onenote-user-page-content.d.mts +3 -17
  288. package/dist/actions/get-onenote-user-page-content.d.mts.map +1 -1
  289. package/dist/actions/get-onenote-user-page-content.mjs +1 -0
  290. package/dist/actions/get-onenote-user-page-content.mjs.map +1 -1
  291. package/dist/actions/get-page.cjs +1 -0
  292. package/dist/actions/get-page.cjs.map +1 -1
  293. package/dist/actions/get-page.d.cts +3 -17
  294. package/dist/actions/get-page.d.cts.map +1 -1
  295. package/dist/actions/get-page.d.mts +3 -17
  296. package/dist/actions/get-page.d.mts.map +1 -1
  297. package/dist/actions/get-page.mjs +1 -0
  298. package/dist/actions/get-page.mjs.map +1 -1
  299. package/dist/actions/get-recent-notebooks.cjs +1 -0
  300. package/dist/actions/get-recent-notebooks.cjs.map +1 -1
  301. package/dist/actions/get-recent-notebooks.d.cts +3 -20
  302. package/dist/actions/get-recent-notebooks.d.cts.map +1 -1
  303. package/dist/actions/get-recent-notebooks.d.mts +3 -20
  304. package/dist/actions/get-recent-notebooks.d.mts.map +1 -1
  305. package/dist/actions/get-recent-notebooks.mjs +1 -0
  306. package/dist/actions/get-recent-notebooks.mjs.map +1 -1
  307. package/dist/actions/get-section.cjs +1 -0
  308. package/dist/actions/get-section.cjs.map +1 -1
  309. package/dist/actions/get-section.d.cts +3 -17
  310. package/dist/actions/get-section.d.cts.map +1 -1
  311. package/dist/actions/get-section.d.mts +3 -17
  312. package/dist/actions/get-section.d.mts.map +1 -1
  313. package/dist/actions/get-section.mjs +1 -0
  314. package/dist/actions/get-section.mjs.map +1 -1
  315. package/dist/actions/get-site-onenote-pages.cjs +1 -0
  316. package/dist/actions/get-site-onenote-pages.cjs.map +1 -1
  317. package/dist/actions/get-site-onenote-pages.d.cts +3 -18
  318. package/dist/actions/get-site-onenote-pages.d.cts.map +1 -1
  319. package/dist/actions/get-site-onenote-pages.d.mts +3 -18
  320. package/dist/actions/get-site-onenote-pages.d.mts.map +1 -1
  321. package/dist/actions/get-site-onenote-pages.mjs +1 -0
  322. package/dist/actions/get-site-onenote-pages.mjs.map +1 -1
  323. package/dist/actions/get-site-pages-preview.cjs +1 -0
  324. package/dist/actions/get-site-pages-preview.cjs.map +1 -1
  325. package/dist/actions/get-site-pages-preview.d.cts +3 -16
  326. package/dist/actions/get-site-pages-preview.d.cts.map +1 -1
  327. package/dist/actions/get-site-pages-preview.d.mts +3 -16
  328. package/dist/actions/get-site-pages-preview.d.mts.map +1 -1
  329. package/dist/actions/get-site-pages-preview.mjs +1 -0
  330. package/dist/actions/get-site-pages-preview.mjs.map +1 -1
  331. package/dist/actions/get-site-sections-pages.cjs +1 -0
  332. package/dist/actions/get-site-sections-pages.cjs.map +1 -1
  333. package/dist/actions/get-site-sections-pages.d.cts +3 -21
  334. package/dist/actions/get-site-sections-pages.d.cts.map +1 -1
  335. package/dist/actions/get-site-sections-pages.d.mts +3 -21
  336. package/dist/actions/get-site-sections-pages.d.mts.map +1 -1
  337. package/dist/actions/get-site-sections-pages.mjs +1 -0
  338. package/dist/actions/get-site-sections-pages.mjs.map +1 -1
  339. package/dist/actions/get-site-sections.cjs +1 -0
  340. package/dist/actions/get-site-sections.cjs.map +1 -1
  341. package/dist/actions/get-site-sections.d.cts +3 -18
  342. package/dist/actions/get-site-sections.d.cts.map +1 -1
  343. package/dist/actions/get-site-sections.d.mts +3 -18
  344. package/dist/actions/get-site-sections.d.mts.map +1 -1
  345. package/dist/actions/get-site-sections.mjs +1 -0
  346. package/dist/actions/get-site-sections.mjs.map +1 -1
  347. package/dist/actions/get-user-notebook.cjs +1 -0
  348. package/dist/actions/get-user-notebook.cjs.map +1 -1
  349. package/dist/actions/get-user-notebook.d.cts +3 -18
  350. package/dist/actions/get-user-notebook.d.cts.map +1 -1
  351. package/dist/actions/get-user-notebook.d.mts +3 -18
  352. package/dist/actions/get-user-notebook.d.mts.map +1 -1
  353. package/dist/actions/get-user-notebook.mjs +1 -0
  354. package/dist/actions/get-user-notebook.mjs.map +1 -1
  355. package/dist/actions/get-user-pages.cjs +1 -0
  356. package/dist/actions/get-user-pages.cjs.map +1 -1
  357. package/dist/actions/get-user-pages.d.cts +3 -18
  358. package/dist/actions/get-user-pages.d.cts.map +1 -1
  359. package/dist/actions/get-user-pages.d.mts +3 -18
  360. package/dist/actions/get-user-pages.d.mts.map +1 -1
  361. package/dist/actions/get-user-pages.mjs +1 -0
  362. package/dist/actions/get-user-pages.mjs.map +1 -1
  363. package/dist/actions/get-user-parent-section-group2.cjs +1 -0
  364. package/dist/actions/get-user-parent-section-group2.cjs.map +1 -1
  365. package/dist/actions/get-user-parent-section-group2.d.cts +3 -19
  366. package/dist/actions/get-user-parent-section-group2.d.cts.map +1 -1
  367. package/dist/actions/get-user-parent-section-group2.d.mts +3 -19
  368. package/dist/actions/get-user-parent-section-group2.d.mts.map +1 -1
  369. package/dist/actions/get-user-parent-section-group2.mjs +1 -0
  370. package/dist/actions/get-user-parent-section-group2.mjs.map +1 -1
  371. package/dist/actions/list-group-notebook-section-groups.cjs +1 -0
  372. package/dist/actions/list-group-notebook-section-groups.cjs.map +1 -1
  373. package/dist/actions/list-group-notebook-section-groups.d.cts +3 -23
  374. package/dist/actions/list-group-notebook-section-groups.d.cts.map +1 -1
  375. package/dist/actions/list-group-notebook-section-groups.d.mts +3 -23
  376. package/dist/actions/list-group-notebook-section-groups.d.mts.map +1 -1
  377. package/dist/actions/list-group-notebook-section-groups.mjs +1 -0
  378. package/dist/actions/list-group-notebook-section-groups.mjs.map +1 -1
  379. package/dist/actions/list-group-notebook-section-pages.cjs +1 -0
  380. package/dist/actions/list-group-notebook-section-pages.cjs.map +1 -1
  381. package/dist/actions/list-group-notebook-section-pages.d.cts +3 -23
  382. package/dist/actions/list-group-notebook-section-pages.d.cts.map +1 -1
  383. package/dist/actions/list-group-notebook-section-pages.d.mts +3 -23
  384. package/dist/actions/list-group-notebook-section-pages.d.mts.map +1 -1
  385. package/dist/actions/list-group-notebook-section-pages.mjs +1 -0
  386. package/dist/actions/list-group-notebook-section-pages.mjs.map +1 -1
  387. package/dist/actions/list-group-notebooks.cjs +1 -0
  388. package/dist/actions/list-group-notebooks.cjs.map +1 -1
  389. package/dist/actions/list-group-notebooks.d.cts +3 -23
  390. package/dist/actions/list-group-notebooks.d.cts.map +1 -1
  391. package/dist/actions/list-group-notebooks.d.mts +3 -23
  392. package/dist/actions/list-group-notebooks.d.mts.map +1 -1
  393. package/dist/actions/list-group-notebooks.mjs +1 -0
  394. package/dist/actions/list-group-notebooks.mjs.map +1 -1
  395. package/dist/actions/list-group-section-groups-sections.cjs +1 -0
  396. package/dist/actions/list-group-section-groups-sections.cjs.map +1 -1
  397. package/dist/actions/list-group-section-groups-sections.d.cts +3 -23
  398. package/dist/actions/list-group-section-groups-sections.d.cts.map +1 -1
  399. package/dist/actions/list-group-section-groups-sections.d.mts +3 -23
  400. package/dist/actions/list-group-section-groups-sections.d.mts.map +1 -1
  401. package/dist/actions/list-group-section-groups-sections.mjs +1 -0
  402. package/dist/actions/list-group-section-groups-sections.mjs.map +1 -1
  403. package/dist/actions/list-joined-teams.cjs +1 -0
  404. package/dist/actions/list-joined-teams.cjs.map +1 -1
  405. package/dist/actions/list-joined-teams.d.cts +3 -16
  406. package/dist/actions/list-joined-teams.d.cts.map +1 -1
  407. package/dist/actions/list-joined-teams.d.mts +3 -16
  408. package/dist/actions/list-joined-teams.d.mts.map +1 -1
  409. package/dist/actions/list-joined-teams.mjs +1 -0
  410. package/dist/actions/list-joined-teams.mjs.map +1 -1
  411. package/dist/actions/list-me-onenote-sections-pages4.cjs +1 -0
  412. package/dist/actions/list-me-onenote-sections-pages4.cjs.map +1 -1
  413. package/dist/actions/list-me-onenote-sections-pages4.d.cts +3 -22
  414. package/dist/actions/list-me-onenote-sections-pages4.d.cts.map +1 -1
  415. package/dist/actions/list-me-onenote-sections-pages4.d.mts +3 -22
  416. package/dist/actions/list-me-onenote-sections-pages4.d.mts.map +1 -1
  417. package/dist/actions/list-me-onenote-sections-pages4.mjs +1 -0
  418. package/dist/actions/list-me-onenote-sections-pages4.mjs.map +1 -1
  419. package/dist/actions/list-onenote-group-pages.cjs +1 -0
  420. package/dist/actions/list-onenote-group-pages.cjs.map +1 -1
  421. package/dist/actions/list-onenote-group-pages.d.cts +3 -21
  422. package/dist/actions/list-onenote-group-pages.d.cts.map +1 -1
  423. package/dist/actions/list-onenote-group-pages.d.mts +3 -21
  424. package/dist/actions/list-onenote-group-pages.d.mts.map +1 -1
  425. package/dist/actions/list-onenote-group-pages.mjs +1 -0
  426. package/dist/actions/list-onenote-group-pages.mjs.map +1 -1
  427. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs +1 -0
  428. package/dist/actions/list-onenote-group-section-groups-section-groups2.cjs.map +1 -1
  429. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +3 -23
  430. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts.map +1 -1
  431. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +3 -23
  432. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts.map +1 -1
  433. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs +1 -0
  434. package/dist/actions/list-onenote-group-section-groups-section-groups2.mjs.map +1 -1
  435. package/dist/actions/list-onenote-group-sections-pages4.cjs +1 -0
  436. package/dist/actions/list-onenote-group-sections-pages4.cjs.map +1 -1
  437. package/dist/actions/list-onenote-group-sections-pages4.d.cts +3 -23
  438. package/dist/actions/list-onenote-group-sections-pages4.d.cts.map +1 -1
  439. package/dist/actions/list-onenote-group-sections-pages4.d.mts +3 -23
  440. package/dist/actions/list-onenote-group-sections-pages4.d.mts.map +1 -1
  441. package/dist/actions/list-onenote-group-sections-pages4.mjs +1 -0
  442. package/dist/actions/list-onenote-group-sections-pages4.mjs.map +1 -1
  443. package/dist/actions/list-site-notebook-section-groups.cjs +1 -0
  444. package/dist/actions/list-site-notebook-section-groups.cjs.map +1 -1
  445. package/dist/actions/list-site-notebook-section-groups.d.cts +3 -23
  446. package/dist/actions/list-site-notebook-section-groups.d.cts.map +1 -1
  447. package/dist/actions/list-site-notebook-section-groups.d.mts +3 -23
  448. package/dist/actions/list-site-notebook-section-groups.d.mts.map +1 -1
  449. package/dist/actions/list-site-notebook-section-groups.mjs +1 -0
  450. package/dist/actions/list-site-notebook-section-groups.mjs.map +1 -1
  451. package/dist/actions/list-site-notebooks.cjs +1 -0
  452. package/dist/actions/list-site-notebooks.cjs.map +1 -1
  453. package/dist/actions/list-site-notebooks.d.cts +3 -23
  454. package/dist/actions/list-site-notebooks.d.cts.map +1 -1
  455. package/dist/actions/list-site-notebooks.d.mts +3 -23
  456. package/dist/actions/list-site-notebooks.d.mts.map +1 -1
  457. package/dist/actions/list-site-notebooks.mjs +1 -0
  458. package/dist/actions/list-site-notebooks.mjs.map +1 -1
  459. package/dist/actions/list-site-pages-content.cjs +1 -0
  460. package/dist/actions/list-site-pages-content.cjs.map +1 -1
  461. package/dist/actions/list-site-pages-content.d.cts +3 -17
  462. package/dist/actions/list-site-pages-content.d.cts.map +1 -1
  463. package/dist/actions/list-site-pages-content.d.mts +3 -17
  464. package/dist/actions/list-site-pages-content.d.mts.map +1 -1
  465. package/dist/actions/list-site-pages-content.mjs +1 -0
  466. package/dist/actions/list-site-pages-content.mjs.map +1 -1
  467. package/dist/actions/list-site-sections.cjs +1 -0
  468. package/dist/actions/list-site-sections.cjs.map +1 -1
  469. package/dist/actions/list-site-sections.d.cts +3 -22
  470. package/dist/actions/list-site-sections.d.cts.map +1 -1
  471. package/dist/actions/list-site-sections.d.mts +3 -22
  472. package/dist/actions/list-site-sections.d.mts.map +1 -1
  473. package/dist/actions/list-site-sections.mjs +1 -0
  474. package/dist/actions/list-site-sections.mjs.map +1 -1
  475. package/dist/actions/list-user-notebook-sections.cjs +1 -0
  476. package/dist/actions/list-user-notebook-sections.cjs.map +1 -1
  477. package/dist/actions/list-user-notebook-sections.d.cts +3 -23
  478. package/dist/actions/list-user-notebook-sections.d.cts.map +1 -1
  479. package/dist/actions/list-user-notebook-sections.d.mts +3 -23
  480. package/dist/actions/list-user-notebook-sections.d.mts.map +1 -1
  481. package/dist/actions/list-user-notebook-sections.mjs +1 -0
  482. package/dist/actions/list-user-notebook-sections.mjs.map +1 -1
  483. package/dist/actions/list-user-notebooks.cjs +1 -0
  484. package/dist/actions/list-user-notebooks.cjs.map +1 -1
  485. package/dist/actions/list-user-notebooks.d.cts +3 -21
  486. package/dist/actions/list-user-notebooks.d.cts.map +1 -1
  487. package/dist/actions/list-user-notebooks.d.mts +3 -21
  488. package/dist/actions/list-user-notebooks.d.mts.map +1 -1
  489. package/dist/actions/list-user-notebooks.mjs +1 -0
  490. package/dist/actions/list-user-notebooks.mjs.map +1 -1
  491. package/dist/actions/resolve-site-by-url.cjs +1 -0
  492. package/dist/actions/resolve-site-by-url.cjs.map +1 -1
  493. package/dist/actions/resolve-site-by-url.d.cts +3 -19
  494. package/dist/actions/resolve-site-by-url.d.cts.map +1 -1
  495. package/dist/actions/resolve-site-by-url.d.mts +3 -19
  496. package/dist/actions/resolve-site-by-url.d.mts.map +1 -1
  497. package/dist/actions/resolve-site-by-url.mjs +1 -0
  498. package/dist/actions/resolve-site-by-url.mjs.map +1 -1
  499. package/dist/actions/sites-search.cjs +1 -0
  500. package/dist/actions/sites-search.cjs.map +1 -1
  501. package/dist/actions/sites-search.d.cts +3 -19
  502. package/dist/actions/sites-search.d.cts.map +1 -1
  503. package/dist/actions/sites-search.d.mts +3 -19
  504. package/dist/actions/sites-search.d.mts.map +1 -1
  505. package/dist/actions/sites-search.mjs +1 -0
  506. package/dist/actions/sites-search.mjs.map +1 -1
  507. package/dist/actions/update-me-page-content.cjs +1 -0
  508. package/dist/actions/update-me-page-content.cjs.map +1 -1
  509. package/dist/actions/update-me-page-content.d.cts +4 -23
  510. package/dist/actions/update-me-page-content.d.cts.map +1 -1
  511. package/dist/actions/update-me-page-content.d.mts +4 -23
  512. package/dist/actions/update-me-page-content.d.mts.map +1 -1
  513. package/dist/actions/update-me-page-content.mjs +1 -0
  514. package/dist/actions/update-me-page-content.mjs.map +1 -1
  515. package/dist/actions/update-me-sections.cjs +1 -0
  516. package/dist/actions/update-me-sections.cjs.map +1 -1
  517. package/dist/actions/update-me-sections.d.cts +3 -16
  518. package/dist/actions/update-me-sections.d.cts.map +1 -1
  519. package/dist/actions/update-me-sections.d.mts +3 -16
  520. package/dist/actions/update-me-sections.d.mts.map +1 -1
  521. package/dist/actions/update-me-sections.mjs +1 -0
  522. package/dist/actions/update-me-sections.mjs.map +1 -1
  523. package/dist/actions/update-onenote-page-content.cjs +1 -0
  524. package/dist/actions/update-onenote-page-content.cjs.map +1 -1
  525. package/dist/actions/update-onenote-page-content.d.cts +4 -24
  526. package/dist/actions/update-onenote-page-content.d.cts.map +1 -1
  527. package/dist/actions/update-onenote-page-content.d.mts +4 -24
  528. package/dist/actions/update-onenote-page-content.d.mts.map +1 -1
  529. package/dist/actions/update-onenote-page-content.mjs +1 -0
  530. package/dist/actions/update-onenote-page-content.mjs.map +1 -1
  531. package/dist/actions/update-site-notebooks-sections.cjs +1 -0
  532. package/dist/actions/update-site-notebooks-sections.cjs.map +1 -1
  533. package/dist/actions/update-site-notebooks-sections.d.cts +3 -18
  534. package/dist/actions/update-site-notebooks-sections.d.cts.map +1 -1
  535. package/dist/actions/update-site-notebooks-sections.d.mts +3 -18
  536. package/dist/actions/update-site-notebooks-sections.d.mts.map +1 -1
  537. package/dist/actions/update-site-notebooks-sections.mjs +1 -0
  538. package/dist/actions/update-site-notebooks-sections.mjs.map +1 -1
  539. package/dist/actions/update-site-pages-content.cjs +1 -0
  540. package/dist/actions/update-site-pages-content.cjs.map +1 -1
  541. package/dist/actions/update-site-pages-content.d.cts +4 -24
  542. package/dist/actions/update-site-pages-content.d.cts.map +1 -1
  543. package/dist/actions/update-site-pages-content.d.mts +4 -24
  544. package/dist/actions/update-site-pages-content.d.mts.map +1 -1
  545. package/dist/actions/update-site-pages-content.mjs +1 -0
  546. package/dist/actions/update-site-pages-content.mjs.map +1 -1
  547. package/dist/actions/update-site-section-groups-sections.cjs +1 -0
  548. package/dist/actions/update-site-section-groups-sections.cjs.map +1 -1
  549. package/dist/actions/update-site-section-groups-sections.d.cts +3 -19
  550. package/dist/actions/update-site-section-groups-sections.d.cts.map +1 -1
  551. package/dist/actions/update-site-section-groups-sections.d.mts +3 -19
  552. package/dist/actions/update-site-section-groups-sections.d.mts.map +1 -1
  553. package/dist/actions/update-site-section-groups-sections.mjs +1 -0
  554. package/dist/actions/update-site-section-groups-sections.mjs.map +1 -1
  555. package/dist/actions/update-user-notebooks-sections.cjs +1 -0
  556. package/dist/actions/update-user-notebooks-sections.cjs.map +1 -1
  557. package/dist/actions/update-user-notebooks-sections.d.cts +3 -17
  558. package/dist/actions/update-user-notebooks-sections.d.cts.map +1 -1
  559. package/dist/actions/update-user-notebooks-sections.d.mts +3 -17
  560. package/dist/actions/update-user-notebooks-sections.d.mts.map +1 -1
  561. package/dist/actions/update-user-notebooks-sections.mjs +1 -0
  562. package/dist/actions/update-user-notebooks-sections.mjs.map +1 -1
  563. package/dist/actions/validate-credential.cjs +1 -0
  564. package/dist/actions/validate-credential.cjs.map +1 -1
  565. package/dist/actions/validate-credential.d.cts +3 -13
  566. package/dist/actions/validate-credential.d.cts.map +1 -1
  567. package/dist/actions/validate-credential.d.mts +3 -13
  568. package/dist/actions/validate-credential.d.mts.map +1 -1
  569. package/dist/actions/validate-credential.mjs +1 -0
  570. package/dist/actions/validate-credential.mjs.map +1 -1
  571. package/dist/app.cjs +2 -2
  572. package/dist/app.cjs.map +1 -1
  573. package/dist/app.d.cts +4 -6
  574. package/dist/app.d.cts.map +1 -1
  575. package/dist/app.d.mts +4 -6
  576. package/dist/app.d.mts.map +1 -1
  577. package/dist/app.mjs +0 -1
  578. package/dist/app.mjs.map +1 -1
  579. package/dist/index.d.cts +1 -1
  580. package/dist/index.d.mts +1 -1
  581. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-site-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAA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AAS,CAAC,CAAC,SAAS;CACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-site-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections: AppAction<\n typeof OnenoteCreateSiteNotebooksSectionsInput,\n typeof OnenoteCreateSiteNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,cAAcA,IAAAA,EAAE,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;AAElG,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-site-notebooks-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateSiteNotebooksSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateSiteNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- notebook_id: string;
56
- display_name: string;
57
- site_id?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateSiteNotebooksSections: AppAction<typeof OnenoteCreateSiteNotebooksSectionsInput, typeof OnenoteCreateSiteNotebooksSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateSiteNotebooksSections };
73
59
  //# sourceMappingURL=create-site-notebooks-sections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-site-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-site-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-site-notebooks-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateSiteNotebooksSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateSiteNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- notebook_id: string;
56
- display_name: string;
57
- site_id?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateSiteNotebooksSections: AppAction<typeof OnenoteCreateSiteNotebooksSectionsInput, typeof OnenoteCreateSiteNotebooksSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateSiteNotebooksSections };
73
59
  //# sourceMappingURL=create-site-notebooks-sections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-site-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-site-notebooks-sections.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\n output: OnenoteCreateSiteNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,sFAA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ChF,QAAQ,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,6DAA6D,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kGAAkG;AAc5H,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-site-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-site-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateSiteNotebooksSectionsInput = z.object({\n site_id: z.string().describe(\"The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.\").optional(),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook within the site.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook in a SharePoint site.\");\nconst OnenoteCreateSiteNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateSiteNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateSiteNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateSiteNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateSiteNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateSiteNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateSiteNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateSiteNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateSiteNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateSiteNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a site notebook.\");\n\nexport const onenoteCreateSiteNotebooksSections: AppAction<\n typeof OnenoteCreateSiteNotebooksSectionsInput,\n typeof OnenoteCreateSiteNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-site-notebooks-sections\",\n name: \"Create section in site notebook\",\n description: \"Creates a new OneNote section within a specified notebook in a SharePoint site. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a SharePoint site. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated/personal account), Notes.ReadWrite.All (application).\",\n input: OnenoteCreateSiteNotebooksSectionsInput,\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AC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-user-notebooks-sections.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-user-notebooks-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections: AppAction<\n typeof OnenoteCreateUserNotebooksSectionsInput,\n typeof OnenoteCreateUserNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-notebooks-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateUserNotebooksSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateUserNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- user_id: string;
56
- notebook_id: string;
57
- display_name: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateUserNotebooksSections: AppAction<typeof OnenoteCreateUserNotebooksSectionsInput, typeof OnenoteCreateUserNotebooksSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateUserNotebooksSections };
73
59
  //# sourceMappingURL=create-user-notebooks-sections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-user-notebooks-sections.d.cts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-notebooks-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateUserNotebooksSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateUserNotebooksSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- user_id: string;
56
- notebook_id: string;
57
- display_name: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateUserNotebooksSections: AppAction<typeof OnenoteCreateUserNotebooksSectionsInput, typeof OnenoteCreateUserNotebooksSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateUserNotebooksSections };
73
59
  //# sourceMappingURL=create-user-notebooks-sections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-user-notebooks-sections.d.mts","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cA6BvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAaxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-user-notebooks-sections.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wDAAwD,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,wDAAwD,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,C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S,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-user-notebooks-sections.mjs","names":[],"sources":["../../src/actions/create-user-notebooks-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserNotebooksSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the user. Use 'me' for the current signed-in user.\"),\n notebook_id: z.string().describe(\"The unique identifier of the OneNote notebook.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n}).describe(\"Request model for creating a OneNote section within a notebook for a specific user.\");\nconst OnenoteCreateUserNotebooksSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserNotebooksSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserNotebooksSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserNotebooksSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserNotebooksSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserNotebooksSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserNotebooksSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserNotebooksSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserNotebooksSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserNotebooksSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserNotebooksSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section in a user notebook.\");\n\nexport const onenoteCreateUserNotebooksSections: AppAction<\n typeof OnenoteCreateUserNotebooksSectionsInput,\n typeof OnenoteCreateUserNotebooksSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS\", {\n slug: \"onenote-create-user-notebooks-sections\",\n name: \"Create section in user notebook\",\n description: \"Creates a new OneNote section within a specified notebook for a specific user. Use this action when you need to add a new section to organize OneNote pages within a notebook that belongs to a specific user. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. Returns the full created section object including the server-assigned ID.\",\n input: OnenoteCreateUserNotebooksSectionsInput,\n output: OnenoteCreateUserNotebooksSectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAClJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wDAAwD,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,wDAAwD,EAAE,OAAO;CACrE,eAAe,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,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AAS;EACtH,OAAO,sDAAsD,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-user-pages.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAAS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C,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-user-pages.cjs","names":["z","action"],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages: AppAction<\n typeof OnenoteCreateUserPagesInput,\n typeof OnenoteCreateUserPagesOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA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6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-pages.d.ts
@@ -25,23 +27,7 @@ declare const OnenoteCreateUserPagesOutput: z.ZodObject<{
25
27
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
29
  }, z.core.$loose>;
28
- declare const onenoteCreateUserPages: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- user_id: string;
30
- html_content: string;
31
- section_name?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- accessToken: z.ZodString;
44
- }, z.core.$strip>>]>;
30
+ declare const onenoteCreateUserPages: AppAction<typeof OnenoteCreateUserPagesInput, typeof OnenoteCreateUserPagesOutput, typeof onenote.credential>;
45
31
  //#endregion
46
32
  export { onenoteCreateUserPages };
47
33
  //# sourceMappingURL=create-user-pages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-pages.d.cts","names":[],"sources":["../../src/actions/create-user-pages.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"create-user-pages.d.cts","names":[],"sources":["../../src/actions/create-user-pages.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-pages.d.ts
@@ -25,23 +27,7 @@ declare const OnenoteCreateUserPagesOutput: z.ZodObject<{
25
27
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
29
  }, z.core.$loose>;
28
- declare const onenoteCreateUserPages: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- user_id: string;
30
- html_content: string;
31
- section_name?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- accessToken: z.ZodString;
44
- }, z.core.$strip>>]>;
30
+ declare const onenoteCreateUserPages: AppAction<typeof OnenoteCreateUserPagesInput, typeof OnenoteCreateUserPagesOutput, typeof onenote.credential>;
45
31
  //#endregion
46
32
  export { onenoteCreateUserPages };
47
33
  //# sourceMappingURL=create-user-pages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-pages.d.mts","names":[],"sources":["../../src/actions/create-user-pages.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"create-user-pages.d.mts","names":[],"sources":["../../src/actions/create-user-pages.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-user-pages.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-pages.mjs","names":[],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAc/D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-user-pages.mjs","names":[],"sources":["../../src/actions/create-user-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserPagesInput = z.object({\n user_id: z.string().describe(\"The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.\"),\n html_content: z.string().describe(\"The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.\"),\n section_name: z.string().describe(\"Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.\").optional(),\n});\nconst OnenoteCreateUserPages_OneNoteWebUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote web.\").nullable(),\n}).passthrough().describe(\"Link to open the page in OneNote on the web.\");\nconst OnenoteCreateUserPages_OneNoteClientUrlSchema = z.object({\n href: z.string().describe(\"The URL for opening in OneNote client.\").nullable(),\n}).passthrough().describe(\"Link to open the page in the OneNote native client.\");\nconst OnenoteCreateUserPages_PageLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserPages_OneNoteWebUrlSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserPages_OneNoteClientUrlSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening the OneNote page.\");\nexport const OnenoteCreateUserPagesOutput = z.object({\n id: z.string().describe(\"The unique identifier of the page. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the page. Read-only.\").nullable().optional(),\n level: z.number().int().describe(\"The indentation level of the page. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserPages_PageLinksSchema.nullable().optional(),\n order: z.number().int().describe(\"The order of the page within its parent section. Read-only.\").nullable().optional(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n contentUrl: z.string().describe(\"The URL for the page's HTML content. Read-only.\").nullable().optional(),\n createdByAppId: z.string().describe(\"The unique identifier of the application that created the page. Read-only.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the page was created in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the page was last modified in ISO 8601 format (UTC). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OneNote page details.\");\n\nexport const onenoteCreateUserPages: AppAction<\n typeof OnenoteCreateUserPagesInput,\n typeof OnenoteCreateUserPagesOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_PAGES\", {\n slug: \"onenote-create-user-pages\",\n name: \"Create user OneNote page\",\n description: \"Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.\",\n input: OnenoteCreateUserPagesInput,\n output: OnenoteCreateUserPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAc/D,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,OAAO,uCAAuC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-user-section-groups-sections.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section.\");\n\nexport const onenoteCreateUserSectionGroupsSections = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,MAAMA,IAA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file":"create-user-section-groups-sections.cjs","names":["z","action"],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { onenote } from \"../app\";\n\nexport const OnenoteCreateUserSectionGroupsSectionsInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.\"),\n display_name: z.string().describe(\"The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?*/:<>|&#''%~\"),\n section_group_id: z.string().describe(\"The unique identifier of the section group.\"),\n}).describe(\"Request model for creating a OneNote section within a section group for a specific user.\");\nconst OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema = z.object({\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n}).passthrough().describe(\"Represents a URL that opens a OneNote page, section, or notebook.\");\nconst OnenoteCreateUserSectionGroupsSections_SectionLinksSchema = z.object({\n oneNoteWebUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n oneNoteClientUrl: OnenoteCreateUserSectionGroupsSections_ExternalLinkSchema.nullable().optional(),\n}).passthrough().describe(\"Links for opening a OneNote section.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityUserSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents the user identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema = z.object({\n id: z.string().describe(\"The unique identifier of the device.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the device.\").nullable().optional(),\n}).passthrough().describe(\"Represents the device identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema = z.object({\n id: z.string().describe(\"The unique identifier of the application.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the application.\").nullable().optional(),\n}).passthrough().describe(\"Represents the application identity within an identity set.\");\nconst OnenoteCreateUserSectionGroupsSections_IdentitySetSchema = z.object({\n user: OnenoteCreateUserSectionGroupsSections_IdentityUserSchema.nullable().optional(),\n device: OnenoteCreateUserSectionGroupsSections_IdentityDeviceSchema.nullable().optional(),\n application: OnenoteCreateUserSectionGroupsSections_IdentityApplicationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a keyed collection of identity resources used in createdBy and lastModifiedBy fields.\");\nexport const OnenoteCreateUserSectionGroupsSectionsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the section. Read-only.\").nullable().optional(),\n self: z.string().describe(\"The endpoint where you can get details about the section. Read-only.\").nullable().optional(),\n links: OnenoteCreateUserSectionGroupsSections_SectionLinksSchema.nullable().optional(),\n pagesUrl: z.string().describe(\"The pages endpoint for retrieving all pages in the section. Read-only.\").nullable().optional(),\n createdBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n isDefault: z.boolean().describe(\"Indicates whether this is the user's default section. Read-only.\").nullable().optional(),\n displayName: z.string().describe(\"The name of the section.\").nullable().optional(),\n lastModifiedBy: OnenoteCreateUserSectionGroupsSections_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time when the section was created. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time when the section was last modified. UTC format (ISO 8601). Read-only.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for a created OneNote section.\");\n\nexport const onenoteCreateUserSectionGroupsSections: AppAction<\n typeof OnenoteCreateUserSectionGroupsSectionsInput,\n typeof OnenoteCreateUserSectionGroupsSectionsOutput,\n typeof onenote.credential\n> = action(\"ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS\", {\n slug: \"onenote-create-user-section-groups-sections\",\n name: \"Create section in user section group\",\n description: \"Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?*/:<>|&#''%~. This action is idempotent — calling it multiple times with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.\",\n input: OnenoteCreateUserSectionGroupsSectionsInput,\n output: OnenoteCreateUserSectionGroupsSectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,eAAe,0DAA0D,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkB,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CA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AC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-section-groups-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateUserSectionGroupsSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateUserSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- user_id: string;
56
- display_name: string;
57
- section_group_id: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateUserSectionGroupsSections: AppAction<typeof OnenoteCreateUserSectionGroupsSectionsInput, typeof OnenoteCreateUserSectionGroupsSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateUserSectionGroupsSections };
73
59
  //# sourceMappingURL=create-user-section-groups-sections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-section-groups-sections.d.cts","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA6B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"create-user-section-groups-sections.d.cts","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA6B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { onenote } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user-section-groups-sections.d.ts
@@ -51,23 +53,7 @@ declare const OnenoteCreateUserSectionGroupsSectionsOutput: z.ZodObject<{
51
53
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
55
  }, z.core.$loose>;
54
- declare const onenoteCreateUserSectionGroupsSections: import("@keystrokehq/action").WorkflowActionDefinition<{
55
- user_id: string;
56
- display_name: string;
57
- section_group_id: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
59
- connectionId: z.ZodString;
60
- entityId: z.ZodString;
61
- instanceId: z.ZodString;
62
- }, z.core.$strip>, z.ZodObject<{
63
- accessToken: z.ZodString;
64
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
65
- connectionId: z.ZodString;
66
- entityId: z.ZodString;
67
- instanceId: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- accessToken: z.ZodString;
70
- }, z.core.$strip>>]>;
56
+ declare const onenoteCreateUserSectionGroupsSections: AppAction<typeof OnenoteCreateUserSectionGroupsSectionsInput, typeof OnenoteCreateUserSectionGroupsSectionsOutput, typeof onenote.credential>;
71
57
  //#endregion
72
58
  export { onenoteCreateUserSectionGroupsSections };
73
59
  //# sourceMappingURL=create-user-section-groups-sections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-section-groups-sections.d.mts","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA6B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"create-user-section-groups-sections.d.mts","names":[],"sources":["../../src/actions/create-user-section-groups-sections.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA6B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-user-section-groups-sections.ts