@keystrokehq/omnisend 0.1.0 → 0.1.3

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 (347) 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 +5 -5
  4. package/dist/actions/add-cart-product.cjs.map +1 -1
  5. package/dist/actions/add-cart-product.d.cts +38 -3
  6. package/dist/actions/add-cart-product.d.cts.map +1 -1
  7. package/dist/actions/add-cart-product.d.mts +38 -3
  8. package/dist/actions/add-cart-product.d.mts.map +1 -1
  9. package/dist/actions/add-cart-product.mjs +5 -5
  10. package/dist/actions/add-cart-product.mjs.map +1 -1
  11. package/dist/actions/create-batch.cjs +6 -6
  12. package/dist/actions/create-batch.cjs.map +1 -1
  13. package/dist/actions/create-batch.d.cts +46 -3
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +46 -3
  16. package/dist/actions/create-batch.d.mts.map +1 -1
  17. package/dist/actions/create-batch.mjs +6 -6
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-cart.cjs +3 -3
  20. package/dist/actions/create-cart.cjs.map +1 -1
  21. package/dist/actions/create-cart.d.cts +45 -3
  22. package/dist/actions/create-cart.d.cts.map +1 -1
  23. package/dist/actions/create-cart.d.mts +45 -3
  24. package/dist/actions/create-cart.d.mts.map +1 -1
  25. package/dist/actions/create-cart.mjs +3 -3
  26. package/dist/actions/create-cart.mjs.map +1 -1
  27. package/dist/actions/create-category.cjs +1 -1
  28. package/dist/actions/create-category.cjs.map +1 -1
  29. package/dist/actions/create-category.d.cts +11 -3
  30. package/dist/actions/create-category.d.cts.map +1 -1
  31. package/dist/actions/create-category.d.mts +11 -3
  32. package/dist/actions/create-category.d.mts.map +1 -1
  33. package/dist/actions/create-category.mjs +1 -1
  34. package/dist/actions/create-category.mjs.map +1 -1
  35. package/dist/actions/create-or-update-contact.cjs +4 -4
  36. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  37. package/dist/actions/create-or-update-contact.d.cts +59 -3
  38. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  39. package/dist/actions/create-or-update-contact.d.mts +59 -3
  40. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  41. package/dist/actions/create-or-update-contact.mjs +4 -4
  42. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  43. package/dist/actions/create-order.cjs +4 -4
  44. package/dist/actions/create-order.cjs.map +1 -1
  45. package/dist/actions/create-order.d.cts +165 -3
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +165 -3
  48. package/dist/actions/create-order.d.mts.map +1 -1
  49. package/dist/actions/create-order.mjs +4 -4
  50. package/dist/actions/create-order.mjs.map +1 -1
  51. package/dist/actions/create-product-category.cjs +1 -1
  52. package/dist/actions/create-product-category.cjs.map +1 -1
  53. package/dist/actions/create-product-category.d.cts +11 -3
  54. package/dist/actions/create-product-category.d.cts.map +1 -1
  55. package/dist/actions/create-product-category.d.mts +11 -3
  56. package/dist/actions/create-product-category.d.mts.map +1 -1
  57. package/dist/actions/create-product-category.mjs +1 -1
  58. package/dist/actions/create-product-category.mjs.map +1 -1
  59. package/dist/actions/create-product.cjs +2 -2
  60. package/dist/actions/create-product.cjs.map +1 -1
  61. package/dist/actions/create-product.d.cts +68 -3
  62. package/dist/actions/create-product.d.cts.map +1 -1
  63. package/dist/actions/create-product.d.mts +68 -3
  64. package/dist/actions/create-product.d.mts.map +1 -1
  65. package/dist/actions/create-product.mjs +2 -2
  66. package/dist/actions/create-product.mjs.map +1 -1
  67. package/dist/actions/delete-cart.cjs +1 -1
  68. package/dist/actions/delete-cart.cjs.map +1 -1
  69. package/dist/actions/delete-cart.d.cts +7 -3
  70. package/dist/actions/delete-cart.d.cts.map +1 -1
  71. package/dist/actions/delete-cart.d.mts +7 -3
  72. package/dist/actions/delete-cart.d.mts.map +1 -1
  73. package/dist/actions/delete-cart.mjs +1 -1
  74. package/dist/actions/delete-cart.mjs.map +1 -1
  75. package/dist/actions/delete-category.cjs +1 -1
  76. package/dist/actions/delete-category.cjs.map +1 -1
  77. package/dist/actions/delete-category.d.cts +7 -3
  78. package/dist/actions/delete-category.d.cts.map +1 -1
  79. package/dist/actions/delete-category.d.mts +7 -3
  80. package/dist/actions/delete-category.d.mts.map +1 -1
  81. package/dist/actions/delete-category.mjs +1 -1
  82. package/dist/actions/delete-category.mjs.map +1 -1
  83. package/dist/actions/delete-order.cjs +1 -1
  84. package/dist/actions/delete-order.cjs.map +1 -1
  85. package/dist/actions/delete-order.d.cts +7 -3
  86. package/dist/actions/delete-order.d.cts.map +1 -1
  87. package/dist/actions/delete-order.d.mts +7 -3
  88. package/dist/actions/delete-order.d.mts.map +1 -1
  89. package/dist/actions/delete-order.mjs +1 -1
  90. package/dist/actions/delete-order.mjs.map +1 -1
  91. package/dist/actions/delete-product-category.cjs +1 -1
  92. package/dist/actions/delete-product-category.cjs.map +1 -1
  93. package/dist/actions/delete-product-category.d.cts +7 -3
  94. package/dist/actions/delete-product-category.d.cts.map +1 -1
  95. package/dist/actions/delete-product-category.d.mts +7 -3
  96. package/dist/actions/delete-product-category.d.mts.map +1 -1
  97. package/dist/actions/delete-product-category.mjs +1 -1
  98. package/dist/actions/delete-product-category.mjs.map +1 -1
  99. package/dist/actions/delete-product.cjs +1 -1
  100. package/dist/actions/delete-product.cjs.map +1 -1
  101. package/dist/actions/delete-product.d.cts +7 -3
  102. package/dist/actions/delete-product.d.cts.map +1 -1
  103. package/dist/actions/delete-product.d.mts +7 -3
  104. package/dist/actions/delete-product.d.mts.map +1 -1
  105. package/dist/actions/delete-product.mjs +1 -1
  106. package/dist/actions/delete-product.mjs.map +1 -1
  107. package/dist/actions/get-batch-information.cjs +1 -1
  108. package/dist/actions/get-batch-information.cjs.map +1 -1
  109. package/dist/actions/get-batch-information.d.cts +16 -3
  110. package/dist/actions/get-batch-information.d.cts.map +1 -1
  111. package/dist/actions/get-batch-information.d.mts +16 -3
  112. package/dist/actions/get-batch-information.d.mts.map +1 -1
  113. package/dist/actions/get-batch-information.mjs +1 -1
  114. package/dist/actions/get-batch-information.mjs.map +1 -1
  115. package/dist/actions/get-batch-item.cjs +2 -2
  116. package/dist/actions/get-batch-item.cjs.map +1 -1
  117. package/dist/actions/get-batch-item.d.cts +19 -3
  118. package/dist/actions/get-batch-item.d.cts.map +1 -1
  119. package/dist/actions/get-batch-item.d.mts +19 -3
  120. package/dist/actions/get-batch-item.d.mts.map +1 -1
  121. package/dist/actions/get-batch-item.mjs +2 -2
  122. package/dist/actions/get-batch-item.mjs.map +1 -1
  123. package/dist/actions/get-batch-items.cjs +4 -4
  124. package/dist/actions/get-batch-items.cjs.map +1 -1
  125. package/dist/actions/get-batch-items.d.cts +18 -3
  126. package/dist/actions/get-batch-items.d.cts.map +1 -1
  127. package/dist/actions/get-batch-items.d.mts +18 -3
  128. package/dist/actions/get-batch-items.d.mts.map +1 -1
  129. package/dist/actions/get-batch-items.mjs +4 -4
  130. package/dist/actions/get-batch-items.mjs.map +1 -1
  131. package/dist/actions/get-batches.cjs +12 -12
  132. package/dist/actions/get-batches.cjs.map +1 -1
  133. package/dist/actions/get-batches.d.cts +33 -3
  134. package/dist/actions/get-batches.d.cts.map +1 -1
  135. package/dist/actions/get-batches.d.mts +33 -3
  136. package/dist/actions/get-batches.d.mts.map +1 -1
  137. package/dist/actions/get-batches.mjs +12 -12
  138. package/dist/actions/get-batches.mjs.map +1 -1
  139. package/dist/actions/get-brand.cjs +8 -8
  140. package/dist/actions/get-brand.cjs.map +1 -1
  141. package/dist/actions/get-brand.d.cts +11 -3
  142. package/dist/actions/get-brand.d.cts.map +1 -1
  143. package/dist/actions/get-brand.d.mts +11 -3
  144. package/dist/actions/get-brand.d.mts.map +1 -1
  145. package/dist/actions/get-brand.mjs +8 -8
  146. package/dist/actions/get-brand.mjs.map +1 -1
  147. package/dist/actions/get-cart.cjs +3 -3
  148. package/dist/actions/get-cart.cjs.map +1 -1
  149. package/dist/actions/get-cart.d.cts +31 -3
  150. package/dist/actions/get-cart.d.cts.map +1 -1
  151. package/dist/actions/get-cart.d.mts +31 -3
  152. package/dist/actions/get-cart.d.mts.map +1 -1
  153. package/dist/actions/get-cart.mjs +3 -3
  154. package/dist/actions/get-cart.mjs.map +1 -1
  155. package/dist/actions/get-category.cjs +5 -5
  156. package/dist/actions/get-category.cjs.map +1 -1
  157. package/dist/actions/get-category.d.cts +12 -3
  158. package/dist/actions/get-category.d.cts.map +1 -1
  159. package/dist/actions/get-category.d.mts +12 -3
  160. package/dist/actions/get-category.d.mts.map +1 -1
  161. package/dist/actions/get-category.mjs +5 -5
  162. package/dist/actions/get-category.mjs.map +1 -1
  163. package/dist/actions/get-contact.cjs +21 -21
  164. package/dist/actions/get-contact.cjs.map +1 -1
  165. package/dist/actions/get-contact.d.cts +47 -3
  166. package/dist/actions/get-contact.d.cts.map +1 -1
  167. package/dist/actions/get-contact.d.mts +47 -3
  168. package/dist/actions/get-contact.d.mts.map +1 -1
  169. package/dist/actions/get-contact.mjs +21 -21
  170. package/dist/actions/get-contact.mjs.map +1 -1
  171. package/dist/actions/get-order.cjs +9 -9
  172. package/dist/actions/get-order.cjs.map +1 -1
  173. package/dist/actions/get-order.d.cts +87 -3
  174. package/dist/actions/get-order.d.cts.map +1 -1
  175. package/dist/actions/get-order.d.mts +87 -3
  176. package/dist/actions/get-order.d.mts.map +1 -1
  177. package/dist/actions/get-order.mjs +9 -9
  178. package/dist/actions/get-order.mjs.map +1 -1
  179. package/dist/actions/get-product-category.cjs +3 -3
  180. package/dist/actions/get-product-category.cjs.map +1 -1
  181. package/dist/actions/get-product-category.d.cts +12 -3
  182. package/dist/actions/get-product-category.d.cts.map +1 -1
  183. package/dist/actions/get-product-category.d.mts +12 -3
  184. package/dist/actions/get-product-category.d.mts.map +1 -1
  185. package/dist/actions/get-product-category.mjs +3 -3
  186. package/dist/actions/get-product-category.mjs.map +1 -1
  187. package/dist/actions/get-product.cjs +11 -11
  188. package/dist/actions/get-product.cjs.map +1 -1
  189. package/dist/actions/get-product.d.cts +42 -3
  190. package/dist/actions/get-product.d.cts.map +1 -1
  191. package/dist/actions/get-product.d.mts +42 -3
  192. package/dist/actions/get-product.d.mts.map +1 -1
  193. package/dist/actions/get-product.mjs +11 -11
  194. package/dist/actions/get-product.mjs.map +1 -1
  195. package/dist/actions/list-campaigns.cjs +12 -12
  196. package/dist/actions/list-campaigns.cjs.map +1 -1
  197. package/dist/actions/list-campaigns.d.cts +57 -3
  198. package/dist/actions/list-campaigns.d.cts.map +1 -1
  199. package/dist/actions/list-campaigns.d.mts +57 -3
  200. package/dist/actions/list-campaigns.d.mts.map +1 -1
  201. package/dist/actions/list-campaigns.mjs +12 -12
  202. package/dist/actions/list-campaigns.mjs.map +1 -1
  203. package/dist/actions/list-carts.cjs +5 -5
  204. package/dist/actions/list-carts.cjs.map +1 -1
  205. package/dist/actions/list-carts.d.cts +46 -3
  206. package/dist/actions/list-carts.d.cts.map +1 -1
  207. package/dist/actions/list-carts.d.mts +46 -3
  208. package/dist/actions/list-carts.d.mts.map +1 -1
  209. package/dist/actions/list-carts.mjs +5 -5
  210. package/dist/actions/list-carts.mjs.map +1 -1
  211. package/dist/actions/list-categories.cjs +9 -9
  212. package/dist/actions/list-categories.cjs.map +1 -1
  213. package/dist/actions/list-categories.d.cts +24 -3
  214. package/dist/actions/list-categories.d.cts.map +1 -1
  215. package/dist/actions/list-categories.d.mts +24 -3
  216. package/dist/actions/list-categories.d.mts.map +1 -1
  217. package/dist/actions/list-categories.mjs +9 -9
  218. package/dist/actions/list-categories.mjs.map +1 -1
  219. package/dist/actions/list-contacts.cjs +23 -23
  220. package/dist/actions/list-contacts.cjs.map +1 -1
  221. package/dist/actions/list-contacts.d.cts +72 -3
  222. package/dist/actions/list-contacts.d.cts.map +1 -1
  223. package/dist/actions/list-contacts.d.mts +72 -3
  224. package/dist/actions/list-contacts.d.mts.map +1 -1
  225. package/dist/actions/list-contacts.mjs +23 -23
  226. package/dist/actions/list-contacts.mjs.map +1 -1
  227. package/dist/actions/list-events.cjs +3 -3
  228. package/dist/actions/list-events.cjs.map +1 -1
  229. package/dist/actions/list-events.d.cts +18 -3
  230. package/dist/actions/list-events.d.cts.map +1 -1
  231. package/dist/actions/list-events.d.mts +18 -3
  232. package/dist/actions/list-events.d.mts.map +1 -1
  233. package/dist/actions/list-events.mjs +3 -3
  234. package/dist/actions/list-events.mjs.map +1 -1
  235. package/dist/actions/list-product-categories.cjs +7 -7
  236. package/dist/actions/list-product-categories.cjs.map +1 -1
  237. package/dist/actions/list-product-categories.d.cts +28 -3
  238. package/dist/actions/list-product-categories.d.cts.map +1 -1
  239. package/dist/actions/list-product-categories.d.mts +28 -3
  240. package/dist/actions/list-product-categories.d.mts.map +1 -1
  241. package/dist/actions/list-product-categories.mjs +7 -7
  242. package/dist/actions/list-product-categories.mjs.map +1 -1
  243. package/dist/actions/list-products.cjs +18 -18
  244. package/dist/actions/list-products.cjs.map +1 -1
  245. package/dist/actions/list-products.d.cts +58 -3
  246. package/dist/actions/list-products.d.cts.map +1 -1
  247. package/dist/actions/list-products.d.mts +58 -3
  248. package/dist/actions/list-products.d.mts.map +1 -1
  249. package/dist/actions/list-products.mjs +18 -18
  250. package/dist/actions/list-products.mjs.map +1 -1
  251. package/dist/actions/remove-cart-product.cjs +1 -1
  252. package/dist/actions/remove-cart-product.cjs.map +1 -1
  253. package/dist/actions/remove-cart-product.d.cts +9 -3
  254. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  255. package/dist/actions/remove-cart-product.d.mts +9 -3
  256. package/dist/actions/remove-cart-product.d.mts.map +1 -1
  257. package/dist/actions/remove-cart-product.mjs +1 -1
  258. package/dist/actions/remove-cart-product.mjs.map +1 -1
  259. package/dist/actions/replace-cart-product.cjs +5 -5
  260. package/dist/actions/replace-cart-product.cjs.map +1 -1
  261. package/dist/actions/replace-cart-product.d.cts +38 -3
  262. package/dist/actions/replace-cart-product.d.cts.map +1 -1
  263. package/dist/actions/replace-cart-product.d.mts +38 -3
  264. package/dist/actions/replace-cart-product.d.mts.map +1 -1
  265. package/dist/actions/replace-cart-product.mjs +5 -5
  266. package/dist/actions/replace-cart-product.mjs.map +1 -1
  267. package/dist/actions/replace-cart.cjs +2 -2
  268. package/dist/actions/replace-cart.cjs.map +1 -1
  269. package/dist/actions/replace-cart.d.cts +46 -3
  270. package/dist/actions/replace-cart.d.cts.map +1 -1
  271. package/dist/actions/replace-cart.d.mts +46 -3
  272. package/dist/actions/replace-cart.d.mts.map +1 -1
  273. package/dist/actions/replace-cart.mjs +2 -2
  274. package/dist/actions/replace-cart.mjs.map +1 -1
  275. package/dist/actions/replace-category.cjs +1 -1
  276. package/dist/actions/replace-category.cjs.map +1 -1
  277. package/dist/actions/replace-category.d.cts +11 -3
  278. package/dist/actions/replace-category.d.cts.map +1 -1
  279. package/dist/actions/replace-category.d.mts +11 -3
  280. package/dist/actions/replace-category.d.mts.map +1 -1
  281. package/dist/actions/replace-category.mjs +1 -1
  282. package/dist/actions/replace-category.mjs.map +1 -1
  283. package/dist/actions/replace-order.cjs +3 -3
  284. package/dist/actions/replace-order.cjs.map +1 -1
  285. package/dist/actions/replace-order.d.cts +136 -3
  286. package/dist/actions/replace-order.d.cts.map +1 -1
  287. package/dist/actions/replace-order.d.mts +136 -3
  288. package/dist/actions/replace-order.d.mts.map +1 -1
  289. package/dist/actions/replace-order.mjs +3 -3
  290. package/dist/actions/replace-order.mjs.map +1 -1
  291. package/dist/actions/replace-product.cjs +2 -2
  292. package/dist/actions/replace-product.cjs.map +1 -1
  293. package/dist/actions/replace-product.d.cts +70 -3
  294. package/dist/actions/replace-product.d.cts.map +1 -1
  295. package/dist/actions/replace-product.d.mts +70 -3
  296. package/dist/actions/replace-product.d.mts.map +1 -1
  297. package/dist/actions/replace-product.mjs +2 -2
  298. package/dist/actions/replace-product.mjs.map +1 -1
  299. package/dist/actions/send-event.cjs +3 -3
  300. package/dist/actions/send-event.cjs.map +1 -1
  301. package/dist/actions/send-event.d.cts +54 -3
  302. package/dist/actions/send-event.d.cts.map +1 -1
  303. package/dist/actions/send-event.d.mts +54 -3
  304. package/dist/actions/send-event.d.mts.map +1 -1
  305. package/dist/actions/send-event.mjs +3 -3
  306. package/dist/actions/send-event.mjs.map +1 -1
  307. package/dist/actions/update-cart-product.cjs +5 -5
  308. package/dist/actions/update-cart-product.cjs.map +1 -1
  309. package/dist/actions/update-cart-product.d.cts +38 -3
  310. package/dist/actions/update-cart-product.d.cts.map +1 -1
  311. package/dist/actions/update-cart-product.d.mts +38 -3
  312. package/dist/actions/update-cart-product.d.mts.map +1 -1
  313. package/dist/actions/update-cart-product.mjs +5 -5
  314. package/dist/actions/update-cart-product.mjs.map +1 -1
  315. package/dist/actions/update-cart.cjs +2 -2
  316. package/dist/actions/update-cart.cjs.map +1 -1
  317. package/dist/actions/update-cart.d.cts +44 -3
  318. package/dist/actions/update-cart.d.cts.map +1 -1
  319. package/dist/actions/update-cart.d.mts +44 -3
  320. package/dist/actions/update-cart.d.mts.map +1 -1
  321. package/dist/actions/update-cart.mjs +2 -2
  322. package/dist/actions/update-cart.mjs.map +1 -1
  323. package/dist/actions/update-contact.cjs +4 -4
  324. package/dist/actions/update-contact.cjs.map +1 -1
  325. package/dist/actions/update-contact.d.cts +89 -3
  326. package/dist/actions/update-contact.d.cts.map +1 -1
  327. package/dist/actions/update-contact.d.mts +89 -3
  328. package/dist/actions/update-contact.d.mts.map +1 -1
  329. package/dist/actions/update-contact.mjs +4 -4
  330. package/dist/actions/update-contact.mjs.map +1 -1
  331. package/dist/actions/update-order-status.cjs +2 -2
  332. package/dist/actions/update-order-status.cjs.map +1 -1
  333. package/dist/actions/update-order-status.d.cts +27 -3
  334. package/dist/actions/update-order-status.d.cts.map +1 -1
  335. package/dist/actions/update-order-status.d.mts +27 -3
  336. package/dist/actions/update-order-status.d.mts.map +1 -1
  337. package/dist/actions/update-order-status.mjs +2 -2
  338. package/dist/actions/update-order-status.mjs.map +1 -1
  339. package/dist/actions/update-product-category.cjs +1 -1
  340. package/dist/actions/update-product-category.cjs.map +1 -1
  341. package/dist/actions/update-product-category.d.cts +11 -3
  342. package/dist/actions/update-product-category.d.cts.map +1 -1
  343. package/dist/actions/update-product-category.d.mts +11 -3
  344. package/dist/actions/update-product-category.d.mts.map +1 -1
  345. package/dist/actions/update-product-category.mjs +1 -1
  346. package/dist/actions/update-product-category.mjs.map +1 -1
  347. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.d.cts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE8D;AAAA,cAoBzF,wBAAA,EAA0B,CAAA,CAAE,UAGqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-batches.d.cts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-batches.d.ts
4
- declare const OmnisendGetBatchesInput: z.ZodTypeAny;
5
- declare const OmnisendGetBatchesOutput: z.ZodTypeAny;
6
- declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetBatchesInput: z.ZodObject<{
5
+ endpoint: z.ZodEnum<{
6
+ products: "products";
7
+ contacts: "contacts";
8
+ orders: "orders";
9
+ events: "events";
10
+ categories: "categories";
11
+ }>;
12
+ }, z.core.$strip>;
13
+ declare const OmnisendGetBatchesOutput: z.ZodObject<{
14
+ paging: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ next: z.ZodNullable<z.ZodString>;
16
+ limit: z.ZodNullable<z.ZodNumber>;
17
+ offset: z.ZodNullable<z.ZodNumber>;
18
+ previous: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>>;
20
+ batches: z.ZodArray<z.ZodObject<{
21
+ method: z.ZodNullable<z.ZodString>;
22
+ origin: z.ZodNullable<z.ZodString>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ batchID: z.ZodNullable<z.ZodString>;
25
+ endedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ endpoint: z.ZodNullable<z.ZodString>;
27
+ createdAt: z.ZodNullable<z.ZodString>;
28
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ totalCount: z.ZodNullable<z.ZodNumber>;
30
+ errorsCount: z.ZodNullable<z.ZodNumber>;
31
+ finishedCount: z.ZodNullable<z.ZodNumber>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>;
34
+ declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ endpoint: "products" | "contacts" | "orders" | "events" | "categories";
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { omnisendGetBatches };
9
39
  //# sourceMappingURL=get-batches.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.d.mts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE8D;AAAA,cAoBzF,wBAAA,EAA0B,CAAA,CAAE,UAGqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-batches.d.mts","names":[],"sources":["../../src/actions/get-batches.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -13,20 +13,20 @@ const OmnisendGetBatches_PagingSchema = z.object({
13
13
  limit: z.number().int().nullable(),
14
14
  offset: z.number().int().nullable(),
15
15
  previous: z.string().nullable()
16
- });
16
+ }).passthrough();
17
17
  const OmnisendGetBatches_BatchSchema = z.object({
18
- method: z.string().describe("HTTP method used for the batch."),
19
- origin: z.string().describe("Origin of the batch operation."),
20
- status: z.string().describe("Current status of the batch operation."),
21
- batchID: z.string().describe("Unique identifier of the batch."),
18
+ method: z.string().describe("HTTP method used for the batch.").nullable(),
19
+ origin: z.string().describe("Origin of the batch operation.").nullable(),
20
+ status: z.string().describe("Current status of the batch operation.").nullable(),
21
+ batchID: z.string().describe("Unique identifier of the batch.").nullable(),
22
22
  endedAt: z.string().describe("Batch end timestamp (ISO 8601).").nullable().optional(),
23
- endpoint: z.string().describe("Endpoint targeted by the batch."),
24
- createdAt: z.string().describe("Timestamp when the batch was created (ISO 8601)."),
23
+ endpoint: z.string().describe("Endpoint targeted by the batch.").nullable(),
24
+ createdAt: z.string().describe("Timestamp when the batch was created (ISO 8601).").nullable(),
25
25
  startedAt: z.string().describe("Batch start timestamp (ISO 8601).").nullable().optional(),
26
- totalCount: z.number().int().describe("Total number of items in the batch."),
27
- errorsCount: z.number().int().describe("Number of items that encountered errors."),
28
- finishedCount: z.number().int().describe("Number of items processed successfully.")
29
- }).describe("Represents a batch operation record in Omnisend.");
26
+ totalCount: z.number().int().describe("Total number of items in the batch.").nullable(),
27
+ errorsCount: z.number().int().describe("Number of items that encountered errors.").nullable(),
28
+ finishedCount: z.number().int().describe("Number of items processed successfully.").nullable()
29
+ }).passthrough().describe("Represents a batch operation record in Omnisend.");
30
30
  const omnisendGetBatches = action("OMNISEND_GET_BATCHES", {
31
31
  slug: "omnisend-get-batches",
32
32
  name: "Get Batches",
@@ -35,7 +35,7 @@ const omnisendGetBatches = action("OMNISEND_GET_BATCHES", {
35
35
  output: z.object({
36
36
  paging: OmnisendGetBatches_PagingSchema.nullable().optional(),
37
37
  batches: z.array(OmnisendGetBatches_BatchSchema).describe("List of batch operations in the store.")
38
- }).describe("Response schema for retrieved batch operations.")
38
+ }).passthrough().describe("Response schema for retrieved batch operations.")
39
39
  });
40
40
  //#endregion
41
41
  export { omnisendGetBatches };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput: z.ZodTypeAny = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema: z.ZodTypeAny = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n});\nconst OmnisendGetBatches_BatchSchema: z.ZodTypeAny = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\"),\n origin: z.string().describe(\"Origin of the batch operation.\"),\n status: z.string().describe(\"Current status of the batch operation.\"),\n batchID: z.string().describe(\"Unique identifier of the batch.\"),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\"),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\"),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\"),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\"),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\"),\n}).describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput: z.ZodTypeAny = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC;AACD,MAAM,iCAA+C,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACjF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACpF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;CACpG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-brand.ts
4
4
  const OmnisendGetBrandInput = zod.z.object({}).describe("Request schema for retrieving current brand information.\nNo parameters required - retrieves information about the authenticated brand.");
5
5
  const OmnisendGetBrandOutput = zod.z.object({
6
- name: zod.z.string().describe("Name of the brand"),
7
- brandID: zod.z.string().describe("Unique identifier for the brand"),
8
- version: zod.z.string().describe("Version of the platform integration"),
9
- website: zod.z.string().describe("Website URL of the brand"),
10
- currency: zod.z.string().describe("Default currency code for the brand"),
11
- platform: zod.z.string().describe("E-commerce platform the brand is integrated with"),
12
- connected: zod.z.boolean().describe("Whether the brand is connected to the platform")
13
- }).describe("Response schema for brand information.");
6
+ name: zod.z.string().describe("Name of the brand").nullable(),
7
+ brandID: zod.z.string().describe("Unique identifier for the brand").nullable(),
8
+ version: zod.z.string().describe("Version of the platform integration").nullable(),
9
+ website: zod.z.string().describe("Website URL of the brand").nullable(),
10
+ currency: zod.z.string().describe("Default currency code for the brand").nullable(),
11
+ platform: zod.z.string().describe("E-commerce platform the brand is integrated with").nullable(),
12
+ connected: zod.z.boolean().describe("Whether the brand is connected to the platform").nullable()
13
+ }).passthrough().describe("Response schema for brand information.");
14
14
  const omnisendGetBrand = require_action.action("OMNISEND_GET_BRAND", {
15
15
  slug: "omnisend-get-brand",
16
16
  name: "Get Brand",
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the brand\"),\n brandID: z.string().describe(\"Unique identifier for the brand\"),\n version: z.string().describe(\"Version of the platform integration\"),\n website: z.string().describe(\"Website URL of the brand\"),\n currency: z.string().describe(\"Default currency code for the brand\"),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\"),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\"),\n}).describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AAClN,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAChF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AACpM,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-brand.d.ts
4
- declare const OmnisendGetBrandInput: z.ZodTypeAny;
5
- declare const OmnisendGetBrandOutput: z.ZodTypeAny;
6
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetBrandInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const OmnisendGetBrandOutput: z.ZodObject<{
6
+ name: z.ZodNullable<z.ZodString>;
7
+ brandID: z.ZodNullable<z.ZodString>;
8
+ version: z.ZodNullable<z.ZodString>;
9
+ website: z.ZodNullable<z.ZodString>;
10
+ currency: z.ZodNullable<z.ZodString>;
11
+ platform: z.ZodNullable<z.ZodString>;
12
+ connected: z.ZodNullable<z.ZodBoolean>;
13
+ }, z.core.$loose>;
14
+ declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { omnisendGetBrand };
9
17
  //# sourceMappingURL=get-brand.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA6K;AAAA,cACtM,sBAAA,EAAwB,CAAA,CAAE,UAQc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-brand.d.ts
4
- declare const OmnisendGetBrandInput: z.ZodTypeAny;
5
- declare const OmnisendGetBrandOutput: z.ZodTypeAny;
6
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetBrandInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const OmnisendGetBrandOutput: z.ZodObject<{
6
+ name: z.ZodNullable<z.ZodString>;
7
+ brandID: z.ZodNullable<z.ZodString>;
8
+ version: z.ZodNullable<z.ZodString>;
9
+ website: z.ZodNullable<z.ZodString>;
10
+ currency: z.ZodNullable<z.ZodString>;
11
+ platform: z.ZodNullable<z.ZodString>;
12
+ connected: z.ZodNullable<z.ZodBoolean>;
13
+ }, z.core.$loose>;
14
+ declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { omnisendGetBrand };
9
17
  //# sourceMappingURL=get-brand.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA6K;AAAA,cACtM,sBAAA,EAAwB,CAAA,CAAE,UAQc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,14 +6,14 @@ const omnisendGetBrand = action("OMNISEND_GET_BRAND", {
6
6
  description: "Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.",
7
7
  input: z.object({}).describe("Request schema for retrieving current brand information.\nNo parameters required - retrieves information about the authenticated brand."),
8
8
  output: z.object({
9
- name: z.string().describe("Name of the brand"),
10
- brandID: z.string().describe("Unique identifier for the brand"),
11
- version: z.string().describe("Version of the platform integration"),
12
- website: z.string().describe("Website URL of the brand"),
13
- currency: z.string().describe("Default currency code for the brand"),
14
- platform: z.string().describe("E-commerce platform the brand is integrated with"),
15
- connected: z.boolean().describe("Whether the brand is connected to the platform")
16
- }).describe("Response schema for brand information.")
9
+ name: z.string().describe("Name of the brand").nullable(),
10
+ brandID: z.string().describe("Unique identifier for the brand").nullable(),
11
+ version: z.string().describe("Version of the platform integration").nullable(),
12
+ website: z.string().describe("Website URL of the brand").nullable(),
13
+ currency: z.string().describe("Default currency code for the brand").nullable(),
14
+ platform: z.string().describe("E-commerce platform the brand is integrated with").nullable(),
15
+ connected: z.boolean().describe("Whether the brand is connected to the platform").nullable()
16
+ }).passthrough().describe("Response schema for brand information.")
17
17
  });
18
18
  //#endregion
19
19
  export { omnisendGetBrand };
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the brand\"),\n brandID: z.string().describe(\"Unique identifier for the brand\"),\n version: z.string().describe(\"Version of the platform integration\"),\n website: z.string().describe(\"Website URL of the brand\"),\n currency: z.string().describe(\"Default currency code for the brand\"),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\"),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\"),\n}).describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAehE;CACP,QAfkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAChF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -15,11 +15,11 @@ const OmnisendGetCart_CartProductSchema = zod.z.object({
15
15
  productUrl: zod.z.string().describe("Link to product page.").nullable().optional(),
16
16
  description: zod.z.string().describe("Product description.").nullable().optional(),
17
17
  cartProductID: zod.z.string().describe("Product identifier in cart.").nullable().optional()
18
- }).describe("Product item within a cart.");
18
+ }).passthrough().describe("Product item within a cart.");
19
19
  const OmnisendGetCartOutput = zod.z.object({
20
20
  email: zod.z.string().describe("Contact's email address.").nullable().optional(),
21
21
  phone: zod.z.string().describe("Contact's phone number.").nullable().optional(),
22
- cartID: zod.z.string().describe("Cart identifier."),
22
+ cartID: zod.z.string().describe("Cart identifier.").nullable(),
23
23
  cartSum: zod.z.number().int().describe("Total cart value in cents, without commas. For example, 125 for $1.25.").nullable().optional(),
24
24
  currency: zod.z.string().describe("ISO currency code (3 characters).").nullable().optional(),
25
25
  products: zod.z.array(OmnisendGetCart_CartProductSchema).describe("List of products in the cart.").nullable().optional(),
@@ -27,7 +27,7 @@ const OmnisendGetCartOutput = zod.z.object({
27
27
  createdAt: zod.z.string().describe("ISO 8601 format timestamp when cart was created.").nullable().optional(),
28
28
  updatedAt: zod.z.string().describe("ISO 8601 format timestamp when cart was last updated.").nullable().optional(),
29
29
  cartRecoveryUrl: zod.z.string().describe("Recovery link for the abandoned cart.").nullable().optional()
30
- }).describe("Complete cart details including products and contact information.");
30
+ }).passthrough().describe("Complete cart details including products and contact information.");
31
31
  const omnisendGetCart = require_action.action("OMNISEND_GET_CART", {
32
32
  slug: "omnisend-get-cart",
33
33
  name: "Get Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EA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"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,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CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-cart.d.ts
4
- declare const OmnisendGetCartInput: z.ZodTypeAny;
5
- declare const OmnisendGetCartOutput: z.ZodTypeAny;
6
- declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OmnisendGetCartOutput: z.ZodObject<{
8
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ cartID: z.ZodNullable<z.ZodString>;
11
+ cartSum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ discount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ oldPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ productID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ variantID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ productUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ cartProductID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>>;
27
+ contactID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>;
32
+ declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ cartID: string;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { omnisendGetCart };
9
37
  //# sourceMappingURL=get-cart.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.d.cts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAeW,qBAAA,EAAuB,CAAA,CAAE,UAW0C;AAAA,cAEnE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-cart.d.cts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-cart.d.ts
4
- declare const OmnisendGetCartInput: z.ZodTypeAny;
5
- declare const OmnisendGetCartOutput: z.ZodTypeAny;
6
- declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OmnisendGetCartOutput: z.ZodObject<{
8
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ cartID: z.ZodNullable<z.ZodString>;
11
+ cartSum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ discount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ oldPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ productID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ variantID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ productUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ cartProductID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>>;
27
+ contactID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>;
32
+ declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ cartID: string;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { omnisendGetCart };
9
37
  //# sourceMappingURL=get-cart.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.d.mts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAeW,qBAAA,EAAuB,CAAA,CAAE,UAW0C;AAAA,cAEnE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-cart.d.mts","names":[],"sources":["../../src/actions/get-cart.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAiBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAarB,eAAA,gCAAe,wBAAA"}
@@ -15,7 +15,7 @@ const OmnisendGetCart_CartProductSchema = z.object({
15
15
  productUrl: z.string().describe("Link to product page.").nullable().optional(),
16
16
  description: z.string().describe("Product description.").nullable().optional(),
17
17
  cartProductID: z.string().describe("Product identifier in cart.").nullable().optional()
18
- }).describe("Product item within a cart.");
18
+ }).passthrough().describe("Product item within a cart.");
19
19
  const omnisendGetCart = action("OMNISEND_GET_CART", {
20
20
  slug: "omnisend-get-cart",
21
21
  name: "Get Cart",
@@ -24,7 +24,7 @@ const omnisendGetCart = action("OMNISEND_GET_CART", {
24
24
  output: z.object({
25
25
  email: z.string().describe("Contact's email address.").nullable().optional(),
26
26
  phone: z.string().describe("Contact's phone number.").nullable().optional(),
27
- cartID: z.string().describe("Cart identifier."),
27
+ cartID: z.string().describe("Cart identifier.").nullable(),
28
28
  cartSum: z.number().int().describe("Total cart value in cents, without commas. For example, 125 for $1.25.").nullable().optional(),
29
29
  currency: z.string().describe("ISO currency code (3 characters).").nullable().optional(),
30
30
  products: z.array(OmnisendGetCart_CartProductSchema).describe("List of products in the cart.").nullable().optional(),
@@ -32,7 +32,7 @@ const omnisendGetCart = action("OMNISEND_GET_CART", {
32
32
  createdAt: z.string().describe("ISO 8601 format timestamp when cart was created.").nullable().optional(),
33
33
  updatedAt: z.string().describe("ISO 8601 format timestamp when cart was last updated.").nullable().optional(),
34
34
  cartRecoveryUrl: z.string().describe("Recovery link for the abandoned cart.").nullable().optional()
35
- }).describe("Complete cart details including products and contact information.")
35
+ }).passthrough().describe("Complete cart details including products and contact information.")
36
36
  });
37
37
  //#endregion
38
38
  export { omnisendGetCart };
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAA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C,CAAC,SAAS,kBAAkB;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD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AO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/get-category.ts
4
4
  const OmnisendGetCategoryInput = zod.z.object({ categoryID: zod.z.string().describe("Unique identifier of the category to retrieve.") });
5
5
  const OmnisendGetCategoryOutput = zod.z.object({
6
- title: zod.z.string().describe("Title of the category"),
7
- createdAt: zod.z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)"),
8
- updatedAt: zod.z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)"),
9
- categoryID: zod.z.string().describe("Unique identifier for the category")
10
- });
6
+ title: zod.z.string().describe("Title of the category").nullable(),
7
+ createdAt: zod.z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
8
+ updatedAt: zod.z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
9
+ categoryID: zod.z.string().describe("Unique identifier for the category").nullable()
10
+ }).passthrough();
11
11
  const omnisendGetCategory = require_action.action("OMNISEND_GET_CATEGORY", {
12
12
  slug: "omnisend-get-category",
13
13
  name: "Get Category",
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput: z.ZodTypeAny = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the category\"),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\"),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\"),\n categoryID: z.string().describe(\"Unique identifier for the category\"),\n});\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-category.d.ts
4
- declare const OmnisendGetCategoryInput: z.ZodTypeAny;
5
- declare const OmnisendGetCategoryOutput: z.ZodTypeAny;
6
- declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetCategoryInput: z.ZodObject<{
5
+ categoryID: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OmnisendGetCategoryOutput: z.ZodObject<{
8
+ title: z.ZodNullable<z.ZodString>;
9
+ createdAt: z.ZodNullable<z.ZodString>;
10
+ updatedAt: z.ZodNullable<z.ZodString>;
11
+ categoryID: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ categoryID: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { omnisendGetCategory };
9
18
  //# sourceMappingURL=get-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.d.cts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAKxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-category.d.cts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-category.d.ts
4
- declare const OmnisendGetCategoryInput: z.ZodTypeAny;
5
- declare const OmnisendGetCategoryOutput: z.ZodTypeAny;
6
- declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendGetCategoryInput: z.ZodObject<{
5
+ categoryID: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OmnisendGetCategoryOutput: z.ZodObject<{
8
+ title: z.ZodNullable<z.ZodString>;
9
+ createdAt: z.ZodNullable<z.ZodString>;
10
+ updatedAt: z.ZodNullable<z.ZodString>;
11
+ categoryID: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ categoryID: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { omnisendGetCategory };
9
18
  //# sourceMappingURL=get-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.d.mts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAKxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-category.d.mts","names":[],"sources":["../../src/actions/get-category.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,11 +6,11 @@ const omnisendGetCategory = action("OMNISEND_GET_CATEGORY", {
6
6
  description: "Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.",
7
7
  input: z.object({ categoryID: z.string().describe("Unique identifier of the category to retrieve.") }),
8
8
  output: z.object({
9
- title: z.string().describe("Title of the category"),
10
- createdAt: z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)"),
11
- updatedAt: z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)"),
12
- categoryID: z.string().describe("Unique identifier for the category")
13
- })
9
+ title: z.string().describe("Title of the category").nullable(),
10
+ createdAt: z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
11
+ updatedAt: z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
12
+ categoryID: z.string().describe("Unique identifier for the category").nullable()
13
+ }).passthrough()
14
14
  });
15
15
  //#endregion
16
16
  export { omnisendGetCategory };
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.mjs","names":[],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput: z.ZodTypeAny = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the category\"),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\"),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\"),\n categoryID: z.string().describe(\"Unique identifier for the category\"),\n});\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoD,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAYS;CACP,QAZqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-category.mjs","names":[],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAYS;CACP,QAZuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}