@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":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListContactsInput = z.object({\n tag: z.string().describe(\"Filter contacts by tag.\").optional(),\n after: z.string().describe(\"Cursor for pagination: contacts after this base64-encoded ContactID.\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address.\").optional(),\n limit: z.number().int().default(100).describe(\"Number of results per page. Defaults to 100, maximum 250.\").optional(),\n phone: z.string().describe(\"Filter contacts by full phone number including country code.\").optional(),\n before: z.string().describe(\"Cursor for pagination: contacts before this base64-encoded ContactID.\").optional(),\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Filter contacts by email channel status.\").optional(),\n segmentID: z.number().int().describe(\"Filter contacts by segment ID.\").optional(),\n}).describe(\"Query parameters for listing contacts. Supply only needed filters.\");\nconst OmnisendListContacts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Page size returned.\").nullable(),\n offset: z.number().int().describe(\"Offset value (deprecated).\").nullable().optional(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListContacts_OptInSchema = z.object({\n date: z.string().describe(\"Timestamp of opt-in.\").nullable(),\n channel: z.string().describe(\"Opt-in channel.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given.\").nullable(),\n source: z.string().describe(\"Source of consent (e.g., signup form).\").nullable(),\n channel: z.string().describe(\"Consent channel (e.g., email, SMS).\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded.\").nullable(),\n userAgent: z.string().describe(\"User agent string at consent time.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_StatusEntrySchema = z.object({\n date: z.string().describe(\"Timestamp of status change.\").nullable(),\n status: z.string().describe(\"New status value.\").nullable(),\n channel: z.string().describe(\"Channel of the status update.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value.\").nullable(),\n type: z.string().describe(\"Identifier type.\").nullable(),\n channels: z.record(z.string(), z.unknown()).describe(\"Mapping of channel-specific identifier details.\"),\n}).passthrough();\nconst OmnisendListContacts_ContactSchema = z.object({\n city: z.string().describe(\"City.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to contact.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers.\").nullable().optional(),\n state: z.string().describe(\"State or region.\").nullable().optional(),\n gender: z.string().describe(\"Gender.\").nullable().optional(),\n optIns: z.array(OmnisendListContacts_OptInSchema).describe(\"List of opt-in events.\").nullable().optional(),\n address: z.string().describe(\"Mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n consents: z.array(OmnisendListContacts_ConsentSchema).describe(\"List of consent records.\").nullable().optional(),\n lastName: z.string().describe(\"Last name.\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segment IDs.\").nullable().optional(),\n statuses: z.array(OmnisendListContacts_StatusEntrySchema).describe(\"History of status changes.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in ISO format.\").nullable().optional(),\n contactID: z.string().describe(\"Unique Contact ID.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when contact was created.\").nullable(),\n firstName: z.string().describe(\"First name.\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n identifiers: z.array(OmnisendListContacts_IdentifierSchema).describe(\"List of additional identifiers.\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Additional custom properties.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListContactsOutput = z.object({\n paging: OmnisendListContacts_PagingSchema.nullable(),\n contacts: z.array(OmnisendListContacts_ContactSchema).describe(\"List of contacts.\"),\n}).passthrough();\n\nexport const omnisendListContacts = action(\"OMNISEND_LIST_CONTACTS\", {\n slug: \"omnisend-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to retrieve a paginated list of contacts with optional filtering. Use when you need to fetch contacts in batches and handle cursor pagination.\",\n input: OmnisendListContactsInput,\n output: OmnisendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,QAAQ,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OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB;CACpF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.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 OmnisendListContactsInput = z.object({\n tag: z.string().describe(\"Filter contacts by tag.\").optional(),\n after: z.string().describe(\"Cursor for pagination: contacts after this base64-encoded ContactID.\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address.\").optional(),\n limit: z.number().int().default(100).describe(\"Number of results per page. Defaults to 100, maximum 250.\").optional(),\n phone: z.string().describe(\"Filter contacts by full phone number including country code.\").optional(),\n before: z.string().describe(\"Cursor for pagination: contacts before this base64-encoded ContactID.\").optional(),\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Filter contacts by email channel status.\").optional(),\n segmentID: z.number().int().describe(\"Filter contacts by segment ID.\").optional(),\n}).describe(\"Query parameters for listing contacts. Supply only needed filters.\");\nconst OmnisendListContacts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Page size returned.\").nullable(),\n offset: z.number().int().describe(\"Offset value (deprecated).\").nullable().optional(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListContacts_OptInSchema = z.object({\n date: z.string().describe(\"Timestamp of opt-in.\").nullable(),\n channel: z.string().describe(\"Opt-in channel.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given.\").nullable(),\n source: z.string().describe(\"Source of consent (e.g., signup form).\").nullable(),\n channel: z.string().describe(\"Consent channel (e.g., email, SMS).\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded.\").nullable(),\n userAgent: z.string().describe(\"User agent string at consent time.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_StatusEntrySchema = z.object({\n date: z.string().describe(\"Timestamp of status change.\").nullable(),\n status: z.string().describe(\"New status value.\").nullable(),\n channel: z.string().describe(\"Channel of the status update.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value.\").nullable(),\n type: z.string().describe(\"Identifier type.\").nullable(),\n channels: z.record(z.string(), z.unknown()).describe(\"Mapping of channel-specific identifier details.\"),\n}).passthrough();\nconst OmnisendListContacts_ContactSchema = z.object({\n city: z.string().describe(\"City.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to contact.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers.\").nullable().optional(),\n state: z.string().describe(\"State or region.\").nullable().optional(),\n gender: z.string().describe(\"Gender.\").nullable().optional(),\n optIns: z.array(OmnisendListContacts_OptInSchema).describe(\"List of opt-in events.\").nullable().optional(),\n address: z.string().describe(\"Mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n consents: z.array(OmnisendListContacts_ConsentSchema).describe(\"List of consent records.\").nullable().optional(),\n lastName: z.string().describe(\"Last name.\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segment IDs.\").nullable().optional(),\n statuses: z.array(OmnisendListContacts_StatusEntrySchema).describe(\"History of status changes.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in ISO format.\").nullable().optional(),\n contactID: z.string().describe(\"Unique Contact ID.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when contact was created.\").nullable(),\n firstName: z.string().describe(\"First name.\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n identifiers: z.array(OmnisendListContacts_IdentifierSchema).describe(\"List of additional identifiers.\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Additional custom properties.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListContactsOutput = z.object({\n paging: OmnisendListContacts_PagingSchema.nullable(),\n contacts: z.array(OmnisendListContacts_ContactSchema).describe(\"List of contacts.\"),\n}).passthrough();\n\nexport const omnisendListContacts: AppAction<\n typeof OmnisendListContactsInput,\n typeof OmnisendListContactsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_CONTACTS\", {\n slug: \"omnisend-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to retrieve a paginated list of contacts with optional filtering. Use when you need to fetch contacts in batches and handle cursor pagination.\",\n input: OmnisendListContactsInput,\n output: OmnisendListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,QAAQ,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB;CACpF,CAAC,CAAC,CAAC,YAWO;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/list-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.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 OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents: AppAction<\n typeof OmnisendListEventsInput,\n typeof OmnisendListEventsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/list-events.d.ts
@@ -18,7 +20,7 @@ declare const OmnisendListEventsOutput: z.ZodObject<{
18
20
  systemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>>>;
20
22
  }, z.core.$loose>;
21
- declare const omnisendListEvents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const omnisendListEvents: AppAction<typeof OmnisendListEventsInput, typeof OmnisendListEventsOutput, typeof omnisend.credential>;
22
24
  //#endregion
23
25
  export { omnisendListEvents };
24
26
  //# sourceMappingURL=list-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/list-events.d.ts
@@ -18,7 +20,7 @@ declare const OmnisendListEventsOutput: z.ZodObject<{
18
20
  systemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>>>>;
20
22
  }, z.core.$loose>;
21
- declare const omnisendListEvents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const omnisendListEvents: AppAction<typeof OmnisendListEventsInput, typeof OmnisendListEventsOutput, typeof omnisend.credential>;
22
24
  //#endregion
23
25
  export { omnisendListEvents };
24
26
  //# sourceMappingURL=list-events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,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/list-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.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 OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents: AppAction<\n typeof OmnisendListEventsInput,\n typeof OmnisendListEventsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS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CAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/list-product-categories.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQ,2CAA2C,SAAS;CAC5D,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-product-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-categories.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 OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories: AppAction<\n typeof OmnisendListProductCategoriesInput,\n typeof OmnisendListProductCategoriesOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQ,2CAA2C,SAAS;CAC5D,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/list-product-categories.d.ts
@@ -24,11 +26,7 @@ declare const OmnisendListProductCategoriesOutput: z.ZodObject<{
24
26
  categoryID: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const omnisendListProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- sort?: "date" | "createdAt" | "updatedAt" | undefined;
29
- limit?: number | undefined;
30
- offset?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const omnisendListProductCategories: AppAction<typeof OmnisendListProductCategoriesInput, typeof OmnisendListProductCategoriesOutput, typeof omnisend.credential>;
32
30
  //#endregion
33
31
  export { omnisendListProductCategories };
34
32
  //# sourceMappingURL=list-product-categories.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.d.cts","names":[],"sources":["../../src/actions/list-product-categories.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"list-product-categories.d.cts","names":[],"sources":["../../src/actions/list-product-categories.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/list-product-categories.d.ts
@@ -24,11 +26,7 @@ declare const OmnisendListProductCategoriesOutput: z.ZodObject<{
24
26
  categoryID: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const omnisendListProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- sort?: "date" | "createdAt" | "updatedAt" | undefined;
29
- limit?: number | undefined;
30
- offset?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const omnisendListProductCategories: AppAction<typeof OmnisendListProductCategoriesInput, typeof OmnisendListProductCategoriesOutput, typeof omnisend.credential>;
32
30
  //#endregion
33
31
  export { omnisendListProductCategories };
34
32
  //# sourceMappingURL=list-product-categories.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.d.mts","names":[],"sources":["../../src/actions/list-product-categories.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"list-product-categories.d.mts","names":[],"sources":["../../src/actions/list-product-categories.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/list-product-categories.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.mjs","names":[],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,2CAA2C,SAAS;EAC5D,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-product-categories.mjs","names":[],"sources":["../../src/actions/list-product-categories.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 OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories: AppAction<\n typeof OmnisendListProductCategoriesInput,\n typeof OmnisendListProductCategoriesOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiD,EAAE,OAAO;EAC1D,QAAQ,2CAA2C,SAAS;EAC5D,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;CACjH,CAAC,CAAC,CAAC,YAWO;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/list-products.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQ,kCAAkC,SAAS;CACnD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;AAC5F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.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 OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts: AppAction<\n typeof OmnisendListProductsInput,\n typeof OmnisendListProductsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC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"}
@@ -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/list-products.d.ts
@@ -54,11 +56,7 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
54
56
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  }, z.core.$loose>>;
56
58
  }, z.core.$loose>;
57
- declare const omnisendListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- sort?: "date" | "createdAt" | "updatedAt" | undefined;
59
- limit?: number | undefined;
60
- offset?: number | undefined;
61
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ declare const omnisendListProducts: AppAction<typeof OmnisendListProductsInput, typeof OmnisendListProductsOutput, typeof omnisend.credential>;
62
60
  //#endregion
63
61
  export { omnisendListProducts };
64
62
  //# sourceMappingURL=list-products.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.d.cts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-products.d.cts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,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/list-products.d.ts
@@ -54,11 +56,7 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
54
56
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  }, z.core.$loose>>;
56
58
  }, z.core.$loose>;
57
- declare const omnisendListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- sort?: "date" | "createdAt" | "updatedAt" | undefined;
59
- limit?: number | undefined;
60
- offset?: number | undefined;
61
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ declare const omnisendListProducts: AppAction<typeof OmnisendListProductsInput, typeof OmnisendListProductsOutput, typeof omnisend.credential>;
62
60
  //#endregion
63
61
  export { omnisendListProducts };
64
62
  //# sourceMappingURL=list-products.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,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
  //#region src/actions/list-products.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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AAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;CAC5F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.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 OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts: AppAction<\n typeof OmnisendListProductsInput,\n typeof OmnisendListProductsOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CA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AAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;CAC5F,CAAC,CAAC,CAAC,YAWO;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/remove-cart-product.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEpJ,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.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 OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct: AppAction<\n typeof OmnisendRemoveCartProductInput,\n typeof OmnisendRemoveCartProductOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEpJ,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/remove-cart-product.d.ts
@@ -6,10 +8,7 @@ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
6
8
  cart_product_id: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  declare const OmnisendRemoveCartProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- cart_id: string;
11
- cart_product_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const omnisendRemoveCartProduct: AppAction<typeof OmnisendRemoveCartProductInput, typeof OmnisendRemoveCartProductOutput, typeof omnisend.credential>;
13
12
  //#endregion
14
13
  export { omnisendRemoveCartProduct };
15
14
  //# sourceMappingURL=remove-cart-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/remove-cart-product.d.ts
@@ -6,10 +8,7 @@ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
6
8
  cart_product_id: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  declare const OmnisendRemoveCartProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- cart_id: string;
11
- cart_product_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const omnisendRemoveCartProduct: AppAction<typeof OmnisendRemoveCartProductInput, typeof OmnisendRemoveCartProductOutput, typeof omnisend.credential>;
13
12
  //#endregion
14
13
  export { omnisendRemoveCartProduct };
15
14
  //# sourceMappingURL=remove-cart-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.d.mts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"remove-cart-product.d.mts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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 omnisendRemoveCartProduct = action("OMNISEND_REMOVE_CART_PRODUCT", {
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.mjs","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;AAUA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAOS;CACP,QAP6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAOhF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-cart-product.mjs","names":[],"sources":["../../src/actions/remove-cart-product.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 OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct: AppAction<\n typeof OmnisendRemoveCartProductInput,\n typeof OmnisendRemoveCartProductOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAYA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAWS;CACP,QAX6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAWhF;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/replace-cart-product.ts
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\").nullable(),\n productID: z.string().describe(\"Product identifier.\").nullable(),\n variantID: z.string().describe(\"Product variant identifier.\").nullable(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\").nullable(),\n}).passthrough();\n\nexport const omnisendReplaceCartProduct = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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C/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"replace-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart-product.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 OmnisendReplaceCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\").nullable(),\n productID: z.string().describe(\"Product identifier.\").nullable(),\n variantID: z.string().describe(\"Product variant identifier.\").nullable(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\").nullable(),\n}).passthrough();\n\nexport const omnisendReplaceCartProduct: AppAction<\n typeof OmnisendReplaceCartProductInput,\n typeof OmnisendReplaceCartProductOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC/F,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/replace-cart-product.d.ts
@@ -23,22 +25,7 @@ declare const OmnisendReplaceCartProductOutput: z.ZodObject<{
23
25
  variantID: z.ZodNullable<z.ZodString>;
24
26
  cartProductID: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>;
26
- declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- price: number;
28
- title: string;
29
- cartID: string;
30
- currency: string;
31
- quantity: number;
32
- productID: string;
33
- variantID: string;
34
- cartProductID: string;
35
- sku?: string | undefined;
36
- discount?: number | undefined;
37
- imageUrl?: string | undefined;
38
- oldPrice?: number | undefined;
39
- productUrl?: string | undefined;
40
- description?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const omnisendReplaceCartProduct: AppAction<typeof OmnisendReplaceCartProductInput, typeof OmnisendReplaceCartProductOutput, typeof omnisend.credential>;
42
29
  //#endregion
43
30
  export { omnisendReplaceCartProduct };
44
31
  //# sourceMappingURL=replace-cart-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.d.cts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"replace-cart-product.d.cts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/replace-cart-product.d.ts
@@ -23,22 +25,7 @@ declare const OmnisendReplaceCartProductOutput: z.ZodObject<{
23
25
  variantID: z.ZodNullable<z.ZodString>;
24
26
  cartProductID: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>;
26
- declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- price: number;
28
- title: string;
29
- cartID: string;
30
- currency: string;
31
- quantity: number;
32
- productID: string;
33
- variantID: string;
34
- cartProductID: string;
35
- sku?: string | undefined;
36
- discount?: number | undefined;
37
- imageUrl?: string | undefined;
38
- oldPrice?: number | undefined;
39
- productUrl?: string | undefined;
40
- description?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const omnisendReplaceCartProduct: AppAction<typeof OmnisendReplaceCartProductInput, typeof OmnisendReplaceCartProductOutput, typeof omnisend.credential>;
42
29
  //#endregion
43
30
  export { omnisendReplaceCartProduct };
44
31
  //# sourceMappingURL=replace-cart-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.d.mts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"replace-cart-product.d.mts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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 omnisendReplaceCartProduct = action("OMNISEND_REPLACE_CART_PRODUCT", {