@keystrokehq/omnisend 0.1.3 → 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 (357) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-cart-product.cjs +1 -0
  4. package/dist/actions/add-cart-product.cjs.map +1 -1
  5. package/dist/actions/add-cart-product.d.cts +3 -16
  6. package/dist/actions/add-cart-product.d.cts.map +1 -1
  7. package/dist/actions/add-cart-product.d.mts +3 -16
  8. package/dist/actions/add-cart-product.d.mts.map +1 -1
  9. package/dist/actions/add-cart-product.mjs +1 -0
  10. package/dist/actions/add-cart-product.mjs.map +1 -1
  11. package/dist/actions/create-batch.cjs +1 -0
  12. package/dist/actions/create-batch.cjs.map +1 -1
  13. package/dist/actions/create-batch.d.cts +5 -8
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +5 -8
  16. package/dist/actions/create-batch.d.mts.map +1 -1
  17. package/dist/actions/create-batch.mjs +1 -0
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-cart.cjs +1 -0
  20. package/dist/actions/create-cart.cjs.map +1 -1
  21. package/dist/actions/create-cart.d.cts +3 -21
  22. package/dist/actions/create-cart.d.cts.map +1 -1
  23. package/dist/actions/create-cart.d.mts +3 -21
  24. package/dist/actions/create-cart.d.mts.map +1 -1
  25. package/dist/actions/create-cart.mjs +1 -0
  26. package/dist/actions/create-cart.mjs.map +1 -1
  27. package/dist/actions/create-category.cjs +1 -0
  28. package/dist/actions/create-category.cjs.map +1 -1
  29. package/dist/actions/create-category.d.cts +3 -4
  30. package/dist/actions/create-category.d.cts.map +1 -1
  31. package/dist/actions/create-category.d.mts +3 -4
  32. package/dist/actions/create-category.d.mts.map +1 -1
  33. package/dist/actions/create-category.mjs +1 -0
  34. package/dist/actions/create-category.mjs.map +1 -1
  35. package/dist/actions/create-or-update-contact.cjs +1 -0
  36. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  37. package/dist/actions/create-or-update-contact.d.cts +4 -24
  38. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  39. package/dist/actions/create-or-update-contact.d.mts +4 -24
  40. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  41. package/dist/actions/create-or-update-contact.mjs +1 -0
  42. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  43. package/dist/actions/create-order.cjs +1 -0
  44. package/dist/actions/create-order.cjs.map +1 -1
  45. package/dist/actions/create-order.d.cts +4 -75
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +4 -75
  48. package/dist/actions/create-order.d.mts.map +1 -1
  49. package/dist/actions/create-order.mjs +1 -0
  50. package/dist/actions/create-order.mjs.map +1 -1
  51. package/dist/actions/create-product-category.cjs +1 -0
  52. package/dist/actions/create-product-category.cjs.map +1 -1
  53. package/dist/actions/create-product-category.d.cts +3 -4
  54. package/dist/actions/create-product-category.d.cts.map +1 -1
  55. package/dist/actions/create-product-category.d.mts +3 -4
  56. package/dist/actions/create-product-category.d.mts.map +1 -1
  57. package/dist/actions/create-product-category.mjs +1 -0
  58. package/dist/actions/create-product-category.mjs.map +1 -1
  59. package/dist/actions/create-product.cjs +1 -0
  60. package/dist/actions/create-product.cjs.map +1 -1
  61. package/dist/actions/create-product.d.cts +3 -29
  62. package/dist/actions/create-product.d.cts.map +1 -1
  63. package/dist/actions/create-product.d.mts +3 -29
  64. package/dist/actions/create-product.d.mts.map +1 -1
  65. package/dist/actions/create-product.mjs +1 -0
  66. package/dist/actions/create-product.mjs.map +1 -1
  67. package/dist/actions/delete-cart.cjs +1 -0
  68. package/dist/actions/delete-cart.cjs.map +1 -1
  69. package/dist/actions/delete-cart.d.cts +3 -3
  70. package/dist/actions/delete-cart.d.cts.map +1 -1
  71. package/dist/actions/delete-cart.d.mts +3 -3
  72. package/dist/actions/delete-cart.d.mts.map +1 -1
  73. package/dist/actions/delete-cart.mjs +1 -0
  74. package/dist/actions/delete-cart.mjs.map +1 -1
  75. package/dist/actions/delete-category.cjs +1 -0
  76. package/dist/actions/delete-category.cjs.map +1 -1
  77. package/dist/actions/delete-category.d.cts +3 -3
  78. package/dist/actions/delete-category.d.cts.map +1 -1
  79. package/dist/actions/delete-category.d.mts +3 -3
  80. package/dist/actions/delete-category.d.mts.map +1 -1
  81. package/dist/actions/delete-category.mjs +1 -0
  82. package/dist/actions/delete-category.mjs.map +1 -1
  83. package/dist/actions/delete-order.cjs +1 -0
  84. package/dist/actions/delete-order.cjs.map +1 -1
  85. package/dist/actions/delete-order.d.cts +3 -3
  86. package/dist/actions/delete-order.d.cts.map +1 -1
  87. package/dist/actions/delete-order.d.mts +3 -3
  88. package/dist/actions/delete-order.d.mts.map +1 -1
  89. package/dist/actions/delete-order.mjs +1 -0
  90. package/dist/actions/delete-order.mjs.map +1 -1
  91. package/dist/actions/delete-product-category.cjs +1 -0
  92. package/dist/actions/delete-product-category.cjs.map +1 -1
  93. package/dist/actions/delete-product-category.d.cts +3 -3
  94. package/dist/actions/delete-product-category.d.cts.map +1 -1
  95. package/dist/actions/delete-product-category.d.mts +3 -3
  96. package/dist/actions/delete-product-category.d.mts.map +1 -1
  97. package/dist/actions/delete-product-category.mjs +1 -0
  98. package/dist/actions/delete-product-category.mjs.map +1 -1
  99. package/dist/actions/delete-product.cjs +1 -0
  100. package/dist/actions/delete-product.cjs.map +1 -1
  101. package/dist/actions/delete-product.d.cts +3 -3
  102. package/dist/actions/delete-product.d.cts.map +1 -1
  103. package/dist/actions/delete-product.d.mts +3 -3
  104. package/dist/actions/delete-product.d.mts.map +1 -1
  105. package/dist/actions/delete-product.mjs +1 -0
  106. package/dist/actions/delete-product.mjs.map +1 -1
  107. package/dist/actions/get-batch-information.cjs +1 -0
  108. package/dist/actions/get-batch-information.cjs.map +1 -1
  109. package/dist/actions/get-batch-information.d.cts +3 -3
  110. package/dist/actions/get-batch-information.d.cts.map +1 -1
  111. package/dist/actions/get-batch-information.d.mts +3 -3
  112. package/dist/actions/get-batch-information.d.mts.map +1 -1
  113. package/dist/actions/get-batch-information.mjs +1 -0
  114. package/dist/actions/get-batch-information.mjs.map +1 -1
  115. package/dist/actions/get-batch-item.cjs +1 -0
  116. package/dist/actions/get-batch-item.cjs.map +1 -1
  117. package/dist/actions/get-batch-item.d.cts +3 -4
  118. package/dist/actions/get-batch-item.d.cts.map +1 -1
  119. package/dist/actions/get-batch-item.d.mts +3 -4
  120. package/dist/actions/get-batch-item.d.mts.map +1 -1
  121. package/dist/actions/get-batch-item.mjs +1 -0
  122. package/dist/actions/get-batch-item.mjs.map +1 -1
  123. package/dist/actions/get-batch-items.cjs +1 -0
  124. package/dist/actions/get-batch-items.cjs.map +1 -1
  125. package/dist/actions/get-batch-items.d.cts +3 -3
  126. package/dist/actions/get-batch-items.d.cts.map +1 -1
  127. package/dist/actions/get-batch-items.d.mts +3 -3
  128. package/dist/actions/get-batch-items.d.mts.map +1 -1
  129. package/dist/actions/get-batch-items.mjs +1 -0
  130. package/dist/actions/get-batch-items.mjs.map +1 -1
  131. package/dist/actions/get-batches.cjs +1 -0
  132. package/dist/actions/get-batches.cjs.map +1 -1
  133. package/dist/actions/get-batches.d.cts +5 -5
  134. package/dist/actions/get-batches.d.cts.map +1 -1
  135. package/dist/actions/get-batches.d.mts +5 -5
  136. package/dist/actions/get-batches.d.mts.map +1 -1
  137. package/dist/actions/get-batches.mjs +1 -0
  138. package/dist/actions/get-batches.mjs.map +1 -1
  139. package/dist/actions/get-brand.cjs +1 -0
  140. package/dist/actions/get-brand.cjs.map +1 -1
  141. package/dist/actions/get-brand.d.cts +3 -1
  142. package/dist/actions/get-brand.d.cts.map +1 -1
  143. package/dist/actions/get-brand.d.mts +3 -1
  144. package/dist/actions/get-brand.d.mts.map +1 -1
  145. package/dist/actions/get-brand.mjs +1 -0
  146. package/dist/actions/get-brand.mjs.map +1 -1
  147. package/dist/actions/get-cart.cjs +1 -0
  148. package/dist/actions/get-cart.cjs.map +1 -1
  149. package/dist/actions/get-cart.d.cts +3 -3
  150. package/dist/actions/get-cart.d.cts.map +1 -1
  151. package/dist/actions/get-cart.d.mts +3 -3
  152. package/dist/actions/get-cart.d.mts.map +1 -1
  153. package/dist/actions/get-cart.mjs +1 -0
  154. package/dist/actions/get-cart.mjs.map +1 -1
  155. package/dist/actions/get-category.cjs +1 -0
  156. package/dist/actions/get-category.cjs.map +1 -1
  157. package/dist/actions/get-category.d.cts +3 -3
  158. package/dist/actions/get-category.d.cts.map +1 -1
  159. package/dist/actions/get-category.d.mts +3 -3
  160. package/dist/actions/get-category.d.mts.map +1 -1
  161. package/dist/actions/get-category.mjs +1 -0
  162. package/dist/actions/get-category.mjs.map +1 -1
  163. package/dist/actions/get-contact.cjs +1 -0
  164. package/dist/actions/get-contact.cjs.map +1 -1
  165. package/dist/actions/get-contact.d.cts +3 -3
  166. package/dist/actions/get-contact.d.cts.map +1 -1
  167. package/dist/actions/get-contact.d.mts +3 -3
  168. package/dist/actions/get-contact.d.mts.map +1 -1
  169. package/dist/actions/get-contact.mjs +1 -0
  170. package/dist/actions/get-contact.mjs.map +1 -1
  171. package/dist/actions/get-order.cjs +1 -0
  172. package/dist/actions/get-order.cjs.map +1 -1
  173. package/dist/actions/get-order.d.cts +3 -3
  174. package/dist/actions/get-order.d.cts.map +1 -1
  175. package/dist/actions/get-order.d.mts +3 -3
  176. package/dist/actions/get-order.d.mts.map +1 -1
  177. package/dist/actions/get-order.mjs +1 -0
  178. package/dist/actions/get-order.mjs.map +1 -1
  179. package/dist/actions/get-product-category.cjs +1 -0
  180. package/dist/actions/get-product-category.cjs.map +1 -1
  181. package/dist/actions/get-product-category.d.cts +3 -3
  182. package/dist/actions/get-product-category.d.cts.map +1 -1
  183. package/dist/actions/get-product-category.d.mts +3 -3
  184. package/dist/actions/get-product-category.d.mts.map +1 -1
  185. package/dist/actions/get-product-category.mjs +1 -0
  186. package/dist/actions/get-product-category.mjs.map +1 -1
  187. package/dist/actions/get-product.cjs +1 -0
  188. package/dist/actions/get-product.cjs.map +1 -1
  189. package/dist/actions/get-product.d.cts +3 -3
  190. package/dist/actions/get-product.d.cts.map +1 -1
  191. package/dist/actions/get-product.d.mts +3 -3
  192. package/dist/actions/get-product.d.mts.map +1 -1
  193. package/dist/actions/get-product.mjs +1 -0
  194. package/dist/actions/get-product.mjs.map +1 -1
  195. package/dist/actions/list-campaigns.cjs +1 -0
  196. package/dist/actions/list-campaigns.cjs.map +1 -1
  197. package/dist/actions/list-campaigns.d.cts +4 -7
  198. package/dist/actions/list-campaigns.d.cts.map +1 -1
  199. package/dist/actions/list-campaigns.d.mts +4 -7
  200. package/dist/actions/list-campaigns.d.mts.map +1 -1
  201. package/dist/actions/list-campaigns.mjs +1 -0
  202. package/dist/actions/list-campaigns.mjs.map +1 -1
  203. package/dist/actions/list-carts.cjs +1 -0
  204. package/dist/actions/list-carts.cjs.map +1 -1
  205. package/dist/actions/list-carts.d.cts +3 -13
  206. package/dist/actions/list-carts.d.cts.map +1 -1
  207. package/dist/actions/list-carts.d.mts +3 -13
  208. package/dist/actions/list-carts.d.mts.map +1 -1
  209. package/dist/actions/list-carts.mjs +1 -0
  210. package/dist/actions/list-carts.mjs.map +1 -1
  211. package/dist/actions/list-categories.cjs +1 -0
  212. package/dist/actions/list-categories.cjs.map +1 -1
  213. package/dist/actions/list-categories.d.cts +3 -5
  214. package/dist/actions/list-categories.d.cts.map +1 -1
  215. package/dist/actions/list-categories.d.mts +3 -5
  216. package/dist/actions/list-categories.d.mts.map +1 -1
  217. package/dist/actions/list-categories.mjs +1 -0
  218. package/dist/actions/list-categories.mjs.map +1 -1
  219. package/dist/actions/list-contacts.cjs +1 -0
  220. package/dist/actions/list-contacts.cjs.map +1 -1
  221. package/dist/actions/list-contacts.d.cts +4 -11
  222. package/dist/actions/list-contacts.d.cts.map +1 -1
  223. package/dist/actions/list-contacts.d.mts +4 -11
  224. package/dist/actions/list-contacts.d.mts.map +1 -1
  225. package/dist/actions/list-contacts.mjs +1 -0
  226. package/dist/actions/list-contacts.mjs.map +1 -1
  227. package/dist/actions/list-events.cjs +1 -0
  228. package/dist/actions/list-events.cjs.map +1 -1
  229. package/dist/actions/list-events.d.cts +3 -1
  230. package/dist/actions/list-events.d.cts.map +1 -1
  231. package/dist/actions/list-events.d.mts +3 -1
  232. package/dist/actions/list-events.d.mts.map +1 -1
  233. package/dist/actions/list-events.mjs +1 -0
  234. package/dist/actions/list-events.mjs.map +1 -1
  235. package/dist/actions/list-product-categories.cjs +1 -0
  236. package/dist/actions/list-product-categories.cjs.map +1 -1
  237. package/dist/actions/list-product-categories.d.cts +3 -5
  238. package/dist/actions/list-product-categories.d.cts.map +1 -1
  239. package/dist/actions/list-product-categories.d.mts +3 -5
  240. package/dist/actions/list-product-categories.d.mts.map +1 -1
  241. package/dist/actions/list-product-categories.mjs +1 -0
  242. package/dist/actions/list-product-categories.mjs.map +1 -1
  243. package/dist/actions/list-products.cjs +1 -0
  244. package/dist/actions/list-products.cjs.map +1 -1
  245. package/dist/actions/list-products.d.cts +3 -5
  246. package/dist/actions/list-products.d.cts.map +1 -1
  247. package/dist/actions/list-products.d.mts +3 -5
  248. package/dist/actions/list-products.d.mts.map +1 -1
  249. package/dist/actions/list-products.mjs +1 -0
  250. package/dist/actions/list-products.mjs.map +1 -1
  251. package/dist/actions/remove-cart-product.cjs +1 -0
  252. package/dist/actions/remove-cart-product.cjs.map +1 -1
  253. package/dist/actions/remove-cart-product.d.cts +3 -4
  254. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  255. package/dist/actions/remove-cart-product.d.mts +3 -4
  256. package/dist/actions/remove-cart-product.d.mts.map +1 -1
  257. package/dist/actions/remove-cart-product.mjs +1 -0
  258. package/dist/actions/remove-cart-product.mjs.map +1 -1
  259. package/dist/actions/replace-cart-product.cjs +1 -0
  260. package/dist/actions/replace-cart-product.cjs.map +1 -1
  261. package/dist/actions/replace-cart-product.d.cts +3 -16
  262. package/dist/actions/replace-cart-product.d.cts.map +1 -1
  263. package/dist/actions/replace-cart-product.d.mts +3 -16
  264. package/dist/actions/replace-cart-product.d.mts.map +1 -1
  265. package/dist/actions/replace-cart-product.mjs +1 -0
  266. package/dist/actions/replace-cart-product.mjs.map +1 -1
  267. package/dist/actions/replace-cart.cjs +1 -0
  268. package/dist/actions/replace-cart.cjs.map +1 -1
  269. package/dist/actions/replace-cart.d.cts +3 -22
  270. package/dist/actions/replace-cart.d.cts.map +1 -1
  271. package/dist/actions/replace-cart.d.mts +3 -22
  272. package/dist/actions/replace-cart.d.mts.map +1 -1
  273. package/dist/actions/replace-cart.mjs +1 -0
  274. package/dist/actions/replace-cart.mjs.map +1 -1
  275. package/dist/actions/replace-category.cjs +1 -0
  276. package/dist/actions/replace-category.cjs.map +1 -1
  277. package/dist/actions/replace-category.d.cts +3 -4
  278. package/dist/actions/replace-category.d.cts.map +1 -1
  279. package/dist/actions/replace-category.d.mts +3 -4
  280. package/dist/actions/replace-category.d.mts.map +1 -1
  281. package/dist/actions/replace-category.mjs +1 -0
  282. package/dist/actions/replace-category.mjs.map +1 -1
  283. package/dist/actions/replace-order.cjs +1 -0
  284. package/dist/actions/replace-order.cjs.map +1 -1
  285. package/dist/actions/replace-order.d.cts +3 -66
  286. package/dist/actions/replace-order.d.cts.map +1 -1
  287. package/dist/actions/replace-order.d.mts +3 -66
  288. package/dist/actions/replace-order.d.mts.map +1 -1
  289. package/dist/actions/replace-order.mjs +1 -0
  290. package/dist/actions/replace-order.mjs.map +1 -1
  291. package/dist/actions/replace-product.cjs +1 -0
  292. package/dist/actions/replace-product.cjs.map +1 -1
  293. package/dist/actions/replace-product.d.cts +3 -30
  294. package/dist/actions/replace-product.d.cts.map +1 -1
  295. package/dist/actions/replace-product.d.mts +3 -30
  296. package/dist/actions/replace-product.d.mts.map +1 -1
  297. package/dist/actions/replace-product.mjs +1 -0
  298. package/dist/actions/replace-product.mjs.map +1 -1
  299. package/dist/actions/send-event.cjs +1 -0
  300. package/dist/actions/send-event.cjs.map +1 -1
  301. package/dist/actions/send-event.d.cts +3 -25
  302. package/dist/actions/send-event.d.cts.map +1 -1
  303. package/dist/actions/send-event.d.mts +3 -25
  304. package/dist/actions/send-event.d.mts.map +1 -1
  305. package/dist/actions/send-event.mjs +1 -0
  306. package/dist/actions/send-event.mjs.map +1 -1
  307. package/dist/actions/update-cart-product.cjs +1 -0
  308. package/dist/actions/update-cart-product.cjs.map +1 -1
  309. package/dist/actions/update-cart-product.d.cts +3 -16
  310. package/dist/actions/update-cart-product.d.cts.map +1 -1
  311. package/dist/actions/update-cart-product.d.mts +3 -16
  312. package/dist/actions/update-cart-product.d.mts.map +1 -1
  313. package/dist/actions/update-cart-product.mjs +1 -0
  314. package/dist/actions/update-cart-product.mjs.map +1 -1
  315. package/dist/actions/update-cart.cjs +1 -0
  316. package/dist/actions/update-cart.cjs.map +1 -1
  317. package/dist/actions/update-cart.d.cts +3 -21
  318. package/dist/actions/update-cart.d.cts.map +1 -1
  319. package/dist/actions/update-cart.d.mts +3 -21
  320. package/dist/actions/update-cart.d.mts.map +1 -1
  321. package/dist/actions/update-cart.mjs +1 -0
  322. package/dist/actions/update-cart.mjs.map +1 -1
  323. package/dist/actions/update-contact.cjs +1 -0
  324. package/dist/actions/update-contact.cjs.map +1 -1
  325. package/dist/actions/update-contact.d.cts +3 -40
  326. package/dist/actions/update-contact.d.cts.map +1 -1
  327. package/dist/actions/update-contact.d.mts +3 -40
  328. package/dist/actions/update-contact.d.mts.map +1 -1
  329. package/dist/actions/update-contact.mjs +1 -0
  330. package/dist/actions/update-contact.mjs.map +1 -1
  331. package/dist/actions/update-order-status.cjs +1 -0
  332. package/dist/actions/update-order-status.cjs.map +1 -1
  333. package/dist/actions/update-order-status.d.cts +3 -11
  334. package/dist/actions/update-order-status.d.cts.map +1 -1
  335. package/dist/actions/update-order-status.d.mts +3 -11
  336. package/dist/actions/update-order-status.d.mts.map +1 -1
  337. package/dist/actions/update-order-status.mjs +1 -0
  338. package/dist/actions/update-order-status.mjs.map +1 -1
  339. package/dist/actions/update-product-category.cjs +1 -0
  340. package/dist/actions/update-product-category.cjs.map +1 -1
  341. package/dist/actions/update-product-category.d.cts +3 -4
  342. package/dist/actions/update-product-category.d.cts.map +1 -1
  343. package/dist/actions/update-product-category.d.mts +3 -4
  344. package/dist/actions/update-product-category.d.mts.map +1 -1
  345. package/dist/actions/update-product-category.mjs +1 -0
  346. package/dist/actions/update-product-category.mjs.map +1 -1
  347. package/dist/app.cjs +5 -2
  348. package/dist/app.cjs.map +1 -1
  349. package/dist/app.d.cts +7 -1
  350. package/dist/app.d.cts.map +1 -1
  351. package/dist/app.d.mts +7 -1
  352. package/dist/app.d.mts.map +1 -1
  353. package/dist/app.mjs +3 -2
  354. package/dist/app.mjs.map +1 -1
  355. package/dist/index.d.cts +1 -1
  356. package/dist/index.d.mts +1 -1
  357. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem: AppAction<\n typeof OmnisendGetBatchItemInput,\n typeof OmnisendGetBatchItemOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-item.d.ts
@@ -16,10 +18,7 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
16
18
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
19
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  }, z.core.$loose>;
19
- declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- itemID: string;
21
- batchID: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const omnisendGetBatchItem: AppAction<typeof OmnisendGetBatchItemInput, typeof OmnisendGetBatchItemOutput, typeof omnisend.credential>;
23
22
  //#endregion
24
23
  export { omnisendGetBatchItem };
25
24
  //# sourceMappingURL=get-batch-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.d.cts","names":[],"sources":["../../src/actions/get-batch-item.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-batch-item.d.cts","names":[],"sources":["../../src/actions/get-batch-item.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-item.d.ts
@@ -16,10 +18,7 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
16
18
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
19
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  }, z.core.$loose>;
19
- declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- itemID: string;
21
- batchID: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const omnisendGetBatchItem: AppAction<typeof OmnisendGetBatchItemInput, typeof OmnisendGetBatchItemOutput, typeof omnisend.credential>;
23
22
  //#endregion
24
23
  export { omnisendGetBatchItem };
25
24
  //# sourceMappingURL=get-batch-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.d.mts","names":[],"sources":["../../src/actions/get-batch-item.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-batch-item.d.mts","names":[],"sources":["../../src/actions/get-batch-item.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const omnisendGetBatchItem = action("OMNISEND_GET_BATCH_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem: AppAction<\n typeof OmnisendGetBatchItemInput,\n typeof OmnisendGetBatchItemOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAsBA,MAA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../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-batch-items.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems: AppAction<\n typeof OmnisendGetBatchItemsInput,\n typeof OmnisendGetBatchItemsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-items.d.ts
@@ -16,9 +18,7 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
16
18
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- batchId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const omnisendGetBatchItems: AppAction<typeof OmnisendGetBatchItemsInput, typeof OmnisendGetBatchItemsOutput, typeof omnisend.credential>;
22
22
  //#endregion
23
23
  export { omnisendGetBatchItems };
24
24
  //# sourceMappingURL=get-batch-items.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.d.cts","names":[],"sources":["../../src/actions/get-batch-items.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-batch-items.d.cts","names":[],"sources":["../../src/actions/get-batch-items.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-items.d.ts
@@ -16,9 +18,7 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
16
18
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- batchId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const omnisendGetBatchItems: AppAction<typeof OmnisendGetBatchItemsInput, typeof OmnisendGetBatchItemsOutput, typeof omnisend.credential>;
22
22
  //#endregion
23
23
  export { omnisendGetBatchItems };
24
24
  //# sourceMappingURL=get-batch-items.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.d.mts","names":[],"sources":["../../src/actions/get-batch-items.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-batch-items.d.mts","names":[],"sources":["../../src/actions/get-batch-items.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,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/get-batch-items.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems: AppAction<\n typeof OmnisendGetBatchItemsInput,\n typeof OmnisendGetBatchItemsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;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/get-batches.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.cjs","names":["z","action"],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batches.cjs","names":["z","action"],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches: AppAction<\n typeof OmnisendGetBatchesInput,\n typeof OmnisendGetBatchesOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,13 +1,15 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batches.d.ts
4
6
  declare const OmnisendGetBatchesInput: z.ZodObject<{
5
7
  endpoint: z.ZodEnum<{
6
8
  products: "products";
9
+ categories: "categories";
7
10
  contacts: "contacts";
8
- orders: "orders";
9
11
  events: "events";
10
- categories: "categories";
12
+ orders: "orders";
11
13
  }>;
12
14
  }, z.core.$strip>;
13
15
  declare const OmnisendGetBatchesOutput: z.ZodObject<{
@@ -31,9 +33,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
31
33
  finishedCount: z.ZodNullable<z.ZodNumber>;
32
34
  }, z.core.$loose>>;
33
35
  }, z.core.$loose>;
34
- declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- endpoint: "products" | "contacts" | "orders" | "events" | "categories";
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const omnisendGetBatches: AppAction<typeof OmnisendGetBatchesInput, typeof OmnisendGetBatchesOutput, typeof omnisend.credential>;
37
37
  //#endregion
38
38
  export { omnisendGetBatches };
39
39
  //# sourceMappingURL=get-batches.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.d.cts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-batches.d.cts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,13 +1,15 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batches.d.ts
4
6
  declare const OmnisendGetBatchesInput: z.ZodObject<{
5
7
  endpoint: z.ZodEnum<{
6
8
  products: "products";
9
+ categories: "categories";
7
10
  contacts: "contacts";
8
- orders: "orders";
9
11
  events: "events";
10
- categories: "categories";
12
+ orders: "orders";
11
13
  }>;
12
14
  }, z.core.$strip>;
13
15
  declare const OmnisendGetBatchesOutput: z.ZodObject<{
@@ -31,9 +33,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
31
33
  finishedCount: z.ZodNullable<z.ZodNumber>;
32
34
  }, z.core.$loose>>;
33
35
  }, z.core.$loose>;
34
- declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- endpoint: "products" | "contacts" | "orders" | "events" | "categories";
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const omnisendGetBatches: AppAction<typeof OmnisendGetBatchesInput, typeof OmnisendGetBatchesOutput, typeof omnisend.credential>;
37
37
  //#endregion
38
38
  export { omnisendGetBatches };
39
39
  //# sourceMappingURL=get-batches.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.d.mts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-batches.d.mts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,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/get-batches.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches: AppAction<\n typeof OmnisendGetBatchesInput,\n typeof OmnisendGetBatchesOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiC,EAAE,OAA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
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-brand.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AACpM,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand: AppAction<\n typeof OmnisendGetBrandInput,\n typeof OmnisendGetBrandOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AACpM,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-brand.d.ts
@@ -11,7 +13,7 @@ declare const OmnisendGetBrandOutput: z.ZodObject<{
11
13
  platform: z.ZodNullable<z.ZodString>;
12
14
  connected: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const omnisendGetBrand: AppAction<typeof OmnisendGetBrandInput, typeof OmnisendGetBrandOutput, typeof omnisend.credential>;
15
17
  //#endregion
16
18
  export { omnisendGetBrand };
17
19
  //# sourceMappingURL=get-brand.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-brand.d.ts
@@ -11,7 +13,7 @@ declare const OmnisendGetBrandOutput: z.ZodObject<{
11
13
  platform: z.ZodNullable<z.ZodString>;
12
14
  connected: z.ZodNullable<z.ZodBoolean>;
13
15
  }, z.core.$loose>;
14
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const omnisendGetBrand: AppAction<typeof OmnisendGetBrandInput, typeof OmnisendGetBrandOutput, typeof omnisend.credential>;
15
17
  //#endregion
16
18
  export { omnisendGetBrand };
17
19
  //# sourceMappingURL=get-brand.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const omnisendGetBrand = action("OMNISEND_GET_BRAND", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand: AppAction<\n typeof OmnisendGetBrandInput,\n typeof OmnisendGetBrandOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAmBlD;CACP,QAnBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;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/get-cart.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart: AppAction<\n typeof OmnisendGetCartInput,\n typeof OmnisendGetCartOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAA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E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-cart.d.ts
@@ -29,9 +31,7 @@ declare const OmnisendGetCartOutput: z.ZodObject<{
29
31
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
33
  }, z.core.$loose>;
32
- declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- cartID: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const omnisendGetCart: AppAction<typeof OmnisendGetCartInput, typeof OmnisendGetCartOutput, typeof omnisend.credential>;
35
35
  //#endregion
36
36
  export { omnisendGetCart };
37
37
  //# sourceMappingURL=get-cart.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.d.cts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-cart.d.cts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-cart.d.ts
@@ -29,9 +31,7 @@ declare const OmnisendGetCartOutput: z.ZodObject<{
29
31
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
33
  }, z.core.$loose>;
32
- declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- cartID: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const omnisendGetCart: AppAction<typeof OmnisendGetCartInput, typeof OmnisendGetCartOutput, typeof omnisend.credential>;
35
35
  //#endregion
36
36
  export { omnisendGetCart };
37
37
  //# sourceMappingURL=get-cart.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.d.mts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-cart.d.mts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,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/get-cart.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,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,OAAO;CACP,QAlBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart: AppAction<\n typeof OmnisendGetCartInput,\n typeof OmnisendGetCartOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAA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ACV,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/get-category.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory: AppAction<\n typeof OmnisendGetCategoryInput,\n typeof OmnisendGetCategoryOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-category.d.ts
@@ -10,9 +12,7 @@ declare const OmnisendGetCategoryOutput: z.ZodObject<{
10
12
  updatedAt: z.ZodNullable<z.ZodString>;
11
13
  categoryID: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- categoryID: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const omnisendGetCategory: AppAction<typeof OmnisendGetCategoryInput, typeof OmnisendGetCategoryOutput, typeof omnisend.credential>;
16
16
  //#endregion
17
17
  export { omnisendGetCategory };
18
18
  //# sourceMappingURL=get-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.d.cts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-category.d.cts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-category.d.ts
@@ -10,9 +12,7 @@ declare const OmnisendGetCategoryOutput: z.ZodObject<{
10
12
  updatedAt: z.ZodNullable<z.ZodString>;
11
13
  categoryID: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- categoryID: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const omnisendGetCategory: AppAction<typeof OmnisendGetCategoryInput, typeof OmnisendGetCategoryOutput, typeof omnisend.credential>;
16
16
  //#endregion
17
17
  export { omnisendGetCategory };
18
18
  //# sourceMappingURL=get-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.d.mts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-category.d.mts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}