@keystrokehq/omnisend 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -28
  6. package/dist/actions/add-cart-product.d.cts.map +1 -1
  7. package/dist/actions/add-cart-product.d.mts +3 -28
  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 +7 -22
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +7 -22
  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 -33
  22. package/dist/actions/create-cart.d.cts.map +1 -1
  23. package/dist/actions/create-cart.d.mts +3 -33
  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 -16
  30. package/dist/actions/create-category.d.cts.map +1 -1
  31. package/dist/actions/create-category.d.mts +3 -16
  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 -36
  38. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  39. package/dist/actions/create-or-update-contact.d.mts +4 -36
  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 +3 -86
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +3 -86
  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 -16
  54. package/dist/actions/create-product-category.d.cts.map +1 -1
  55. package/dist/actions/create-product-category.d.mts +3 -16
  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 -41
  62. package/dist/actions/create-product.d.cts.map +1 -1
  63. package/dist/actions/create-product.d.mts +3 -41
  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 -15
  70. package/dist/actions/delete-cart.d.cts.map +1 -1
  71. package/dist/actions/delete-cart.d.mts +3 -15
  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 -15
  78. package/dist/actions/delete-category.d.cts.map +1 -1
  79. package/dist/actions/delete-category.d.mts +3 -15
  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 -15
  86. package/dist/actions/delete-order.d.cts.map +1 -1
  87. package/dist/actions/delete-order.d.mts +3 -15
  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 -15
  94. package/dist/actions/delete-product-category.d.cts.map +1 -1
  95. package/dist/actions/delete-product-category.d.mts +3 -15
  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 -15
  102. package/dist/actions/delete-product.d.cts.map +1 -1
  103. package/dist/actions/delete-product.d.mts +3 -15
  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 -15
  110. package/dist/actions/get-batch-information.d.cts.map +1 -1
  111. package/dist/actions/get-batch-information.d.mts +3 -15
  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 -16
  118. package/dist/actions/get-batch-item.d.cts.map +1 -1
  119. package/dist/actions/get-batch-item.d.mts +3 -16
  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 -15
  126. package/dist/actions/get-batch-items.d.cts.map +1 -1
  127. package/dist/actions/get-batch-items.d.mts +3 -15
  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 +6 -18
  134. package/dist/actions/get-batches.d.cts.map +1 -1
  135. package/dist/actions/get-batches.d.mts +6 -18
  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 -13
  142. package/dist/actions/get-brand.d.cts.map +1 -1
  143. package/dist/actions/get-brand.d.mts +3 -13
  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 -15
  150. package/dist/actions/get-cart.d.cts.map +1 -1
  151. package/dist/actions/get-cart.d.mts +3 -15
  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 -15
  158. package/dist/actions/get-category.d.cts.map +1 -1
  159. package/dist/actions/get-category.d.mts +3 -15
  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 -15
  166. package/dist/actions/get-contact.d.cts.map +1 -1
  167. package/dist/actions/get-contact.d.mts +3 -15
  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 -15
  174. package/dist/actions/get-order.d.cts.map +1 -1
  175. package/dist/actions/get-order.d.mts +3 -15
  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 -15
  182. package/dist/actions/get-product-category.d.cts.map +1 -1
  183. package/dist/actions/get-product-category.d.mts +3 -15
  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 -15
  190. package/dist/actions/get-product.d.cts.map +1 -1
  191. package/dist/actions/get-product.d.mts +3 -15
  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 -19
  198. package/dist/actions/list-campaigns.d.cts.map +1 -1
  199. package/dist/actions/list-campaigns.d.mts +4 -19
  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 -25
  206. package/dist/actions/list-carts.d.cts.map +1 -1
  207. package/dist/actions/list-carts.d.mts +3 -25
  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 -17
  214. package/dist/actions/list-categories.d.cts.map +1 -1
  215. package/dist/actions/list-categories.d.mts +3 -17
  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 -23
  222. package/dist/actions/list-contacts.d.cts.map +1 -1
  223. package/dist/actions/list-contacts.d.mts +4 -23
  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 -13
  230. package/dist/actions/list-events.d.cts.map +1 -1
  231. package/dist/actions/list-events.d.mts +3 -13
  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 -17
  238. package/dist/actions/list-product-categories.d.cts.map +1 -1
  239. package/dist/actions/list-product-categories.d.mts +3 -17
  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 -17
  246. package/dist/actions/list-products.d.cts.map +1 -1
  247. package/dist/actions/list-products.d.mts +3 -17
  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 -16
  254. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  255. package/dist/actions/remove-cart-product.d.mts +3 -16
  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 -28
  262. package/dist/actions/replace-cart-product.d.cts.map +1 -1
  263. package/dist/actions/replace-cart-product.d.mts +3 -28
  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 -34
  270. package/dist/actions/replace-cart.d.cts.map +1 -1
  271. package/dist/actions/replace-cart.d.mts +3 -34
  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 -16
  278. package/dist/actions/replace-category.d.cts.map +1 -1
  279. package/dist/actions/replace-category.d.mts +3 -16
  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 -78
  286. package/dist/actions/replace-order.d.cts.map +1 -1
  287. package/dist/actions/replace-order.d.mts +3 -78
  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 -42
  294. package/dist/actions/replace-product.d.cts.map +1 -1
  295. package/dist/actions/replace-product.d.mts +3 -42
  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 -37
  302. package/dist/actions/send-event.d.cts.map +1 -1
  303. package/dist/actions/send-event.d.mts +3 -37
  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 -28
  310. package/dist/actions/update-cart-product.d.cts.map +1 -1
  311. package/dist/actions/update-cart-product.d.mts +3 -28
  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 -33
  318. package/dist/actions/update-cart.d.cts.map +1 -1
  319. package/dist/actions/update-cart.d.mts +3 -33
  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 -52
  326. package/dist/actions/update-contact.d.cts.map +1 -1
  327. package/dist/actions/update-contact.d.mts +3 -52
  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 -23
  334. package/dist/actions/update-order-status.d.cts.map +1 -1
  335. package/dist/actions/update-order-status.d.mts +3 -23
  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 -16
  342. package/dist/actions/update-product-category.d.cts.map +1 -1
  343. package/dist/actions/update-product-category.d.mts +3 -16
  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 +2 -2
  348. package/dist/app.cjs.map +1 -1
  349. package/dist/app.d.cts +4 -6
  350. package/dist/app.d.cts.map +1 -1
  351. package/dist/app.d.mts +4 -6
  352. package/dist/app.d.mts.map +1 -1
  353. package/dist/app.mjs +0 -1
  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,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/update-cart.d.ts
@@ -24,39 +26,7 @@ declare const OmnisendUpdateCartInput: z.ZodObject<{
24
26
  declare const OmnisendUpdateCartOutput: z.ZodObject<{
25
27
  cartID: z.ZodNullable<z.ZodString>;
26
28
  }, z.core.$loose>;
27
- declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- cartID: string;
29
- cartSum: number;
30
- currency: string;
31
- products?: {
32
- [x: string]: unknown;
33
- cartProductID: string;
34
- sku?: string | undefined;
35
- price?: number | undefined;
36
- title?: string | undefined;
37
- discount?: number | undefined;
38
- imageUrl?: string | undefined;
39
- oldPrice?: number | undefined;
40
- quantity?: number | undefined;
41
- productID?: string | undefined;
42
- variantID?: string | undefined;
43
- productUrl?: string | undefined;
44
- description?: string | undefined;
45
- }[] | undefined;
46
- cartRecoveryUrl?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- accessToken: z.ZodString;
53
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- accessToken: z.ZodString;
59
- }, z.core.$strip>>]>;
29
+ declare const omnisendUpdateCart: AppAction<typeof OmnisendUpdateCartInput, typeof OmnisendUpdateCartOutput, typeof omnisend.credential>;
60
30
  //#endregion
61
31
  export { omnisendUpdateCart };
62
32
  //# sourceMappingURL=update-cart.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart.d.mts","names":[],"sources":["../../src/actions/update-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"update-cart.d.mts","names":[],"sources":["../../src/actions/update-cart.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBvB,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
  const omnisendUpdateCart = action("OMNISEND_UPDATE_CART", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart.mjs","names":[],"sources":["../../src/actions/update-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to update\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, for $1.25 USD use 125\"),\n currency: z.string().describe(\"ISO currency code (3 characters)\"),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n price: z.number().int().describe(\"Product price in cents (e.g., 100 for $1.00)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in cents\").optional(),\n imageUrl: z.string().describe(\"URL to the product image\").optional(),\n oldPrice: z.number().int().describe(\"Original price before discount in cents\").optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the cart\").optional(),\n productID: z.string().describe(\"Product ID from your catalog\").optional(),\n variantID: z.string().describe(\"Product variant ID\").optional(),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Product description\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for the product in the cart\"),\n}).passthrough()).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateCart = action(\"OMNISEND_UPDATE_CART\", {\n slug: \"omnisend-update-cart\",\n name: \"Update Cart\",\n description: \"Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.\",\n input: OmnisendUpdateCartInput,\n output: OmnisendUpdateCartOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAChE,U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js","names":[],"sources":["../../src/actions/update-cart.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendUpdateCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to update\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, for $1.25 USD use 125\"),\n currency: z.string().describe(\"ISO currency code (3 characters)\"),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n price: z.number().int().describe(\"Product price in cents (e.g., 100 for $1.00)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in cents\").optional(),\n imageUrl: z.string().describe(\"URL to the product image\").optional(),\n oldPrice: z.number().int().describe(\"Original price before discount in cents\").optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the cart\").optional(),\n productID: z.string().describe(\"Product ID from your catalog\").optional(),\n variantID: z.string().describe(\"Product variant ID\").optional(),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Product description\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for the product in the cart\"),\n}).passthrough()).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateCart: AppAction<\n typeof OmnisendUpdateCartInput,\n typeof OmnisendUpdateCartOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_CART\", {\n slug: \"omnisend-update-cart\",\n name: \"Update Cart\",\n description: \"Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.\",\n input: OmnisendUpdateCartInput,\n output: OmnisendUpdateCartOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC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iB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CAaS;CACP,QAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,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/update-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateContactInput = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g., email address, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n}).passthrough()).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\").nullable(),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendUpdateContact = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\\\"..., body={firstName: 'John'})\",\n input: OmnisendUpdateContactInput,\n output: OmnisendUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS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S,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.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 OmnisendUpdateContactInput = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g., email address, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n}).passthrough()).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\").nullable(),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendUpdateContact: AppAction<\n typeof OmnisendUpdateContactInput,\n typeof OmnisendUpdateContactOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\\\"..., body={fir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AOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -50,58 +52,7 @@ declare const OmnisendUpdateContactOutput: z.ZodObject<{
50
52
  contactID: z.ZodNullable<z.ZodString>;
51
53
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  }, z.core.$loose>;
53
- declare const omnisendUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- body: {
55
- city?: string | undefined;
56
- tags?: string[] | undefined;
57
- state?: string | undefined;
58
- gender?: "m" | "f" | undefined;
59
- source?: string | undefined;
60
- address?: string | undefined;
61
- country?: string | undefined;
62
- lastName?: string | undefined;
63
- birthdate?: string | undefined;
64
- createdAt?: string | undefined;
65
- firstName?: string | undefined;
66
- postalCode?: string | undefined;
67
- countryCode?: string | undefined;
68
- identifiers?: {
69
- [x: string]: unknown;
70
- id: string;
71
- type: string;
72
- consent?: {
73
- ip?: string | undefined;
74
- source?: string | undefined;
75
- createdAt?: string | undefined;
76
- userAgent?: string | undefined;
77
- } | undefined;
78
- channels?: {
79
- sms?: {
80
- status?: string | undefined;
81
- statusDate?: string | undefined;
82
- } | undefined;
83
- email?: {
84
- status?: string | undefined;
85
- statusDate?: string | undefined;
86
- } | undefined;
87
- } | undefined;
88
- }[] | undefined;
89
- customProperties?: Record<string, unknown> | undefined;
90
- };
91
- contactId: string;
92
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
93
- connectionId: z.ZodString;
94
- entityId: z.ZodString;
95
- instanceId: z.ZodString;
96
- }, z.core.$strip>, z.ZodObject<{
97
- accessToken: z.ZodString;
98
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
99
- connectionId: z.ZodString;
100
- entityId: z.ZodString;
101
- instanceId: z.ZodString;
102
- }, z.core.$strip>, z.ZodObject<{
103
- accessToken: z.ZodString;
104
- }, z.core.$strip>>]>;
55
+ declare const omnisendUpdateContact: AppAction<typeof OmnisendUpdateContactInput, typeof OmnisendUpdateContactOutput, typeof omnisend.credential>;
105
56
  //#endregion
106
57
  export { omnisendUpdateContact };
107
58
  //# sourceMappingURL=update-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { omnisend } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -50,58 +52,7 @@ declare const OmnisendUpdateContactOutput: z.ZodObject<{
50
52
  contactID: z.ZodNullable<z.ZodString>;
51
53
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  }, z.core.$loose>;
53
- declare const omnisendUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- body: {
55
- city?: string | undefined;
56
- tags?: string[] | undefined;
57
- state?: string | undefined;
58
- gender?: "m" | "f" | undefined;
59
- source?: string | undefined;
60
- address?: string | undefined;
61
- country?: string | undefined;
62
- lastName?: string | undefined;
63
- birthdate?: string | undefined;
64
- createdAt?: string | undefined;
65
- firstName?: string | undefined;
66
- postalCode?: string | undefined;
67
- countryCode?: string | undefined;
68
- identifiers?: {
69
- [x: string]: unknown;
70
- id: string;
71
- type: string;
72
- consent?: {
73
- ip?: string | undefined;
74
- source?: string | undefined;
75
- createdAt?: string | undefined;
76
- userAgent?: string | undefined;
77
- } | undefined;
78
- channels?: {
79
- sms?: {
80
- status?: string | undefined;
81
- statusDate?: string | undefined;
82
- } | undefined;
83
- email?: {
84
- status?: string | undefined;
85
- statusDate?: string | undefined;
86
- } | undefined;
87
- } | undefined;
88
- }[] | undefined;
89
- customProperties?: Record<string, unknown> | undefined;
90
- };
91
- contactId: string;
92
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
93
- connectionId: z.ZodString;
94
- entityId: z.ZodString;
95
- instanceId: z.ZodString;
96
- }, z.core.$strip>, z.ZodObject<{
97
- accessToken: z.ZodString;
98
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
99
- connectionId: z.ZodString;
100
- entityId: z.ZodString;
101
- instanceId: z.ZodString;
102
- }, z.core.$strip>, z.ZodObject<{
103
- accessToken: z.ZodString;
104
- }, z.core.$strip>>]>;
55
+ declare const omnisendUpdateContact: AppAction<typeof OmnisendUpdateContactInput, typeof OmnisendUpdateContactOutput, typeof omnisend.credential>;
105
56
  //#endregion
106
57
  export { omnisendUpdateContact };
107
58
  //# sourceMappingURL=update-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const omnisendUpdateContact = action("OMNISEND_UPDATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateContactInput = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g., email address, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n}).passthrough()).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\").nullable(),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendUpdateContact = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\\\"..., body={firstName: 'John'})\",\n input: OmnisendUpdateContactInput,\n output: OmnisendUpdateContactOutput,\n});\n"],"mappings":";;AAmDA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnDwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAC5D,QAAQ,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC9D,SAAS,EAAE,OAAO,CAAC,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S,mCAAmC,CAAC,CAAC,SAAS;KACxD,OAAO,EAAE,OAAO;MAChB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;MACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;KAC7E,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;IAC5D,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GACvF,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChH,CAAC,CAAC,CAAC,SAAS,iCAAiC;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,CAaS;CACP,QAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.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 OmnisendUpdateContactInput = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g., email address, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n}).passthrough()).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\").nullable(),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendUpdateContact: AppAction<\n typeof OmnisendUpdateContactInput,\n typeof OmnisendUpdateContactOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\\\"..., body={firstName: 'John'})\",\n input: OmnisendUpdateContactInput,\n output: OmnisendUpdateContactOutput,\n});\n"],"mappings":";;;AAqDA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvDwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;GAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAC5D,QAAQ,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACvE,SAAS,EAAE,OAAO,CAAC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AAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;MACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;KAC7E,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;IAC5D,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GACvF,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChH,CAAC,CAAC,CAAC,SAAS,iCAAiC;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,CAiBS;CACP,QAjByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,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/update-order-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-order-status.cjs","names":["z","action"],"sources":["../../src/actions/update-order-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateOrderStatusInput = z.object({\n cartID: z.string().describe(\"Identifier of the cart associated with this order.\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to update.\"),\n courierUrl: z.string().describe(\"URL to track the shipment (must be a valid URI).\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation.\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 date-time when the order was canceled (e.g., '2017-05-30T14:11:12Z').\").optional(),\n courierTitle: z.string().describe(\"Name of the courier/shipping company.\").optional(),\n trackingCode: z.string().describe(\"Tracking code for the shipment.\").optional(),\n paymentStatus: z.string().describe(\"Payment status of the order. You need to map your status with Omnisend's statuses (e.g., 'pending', 'paid').\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status of the order. You need to map your status with Omnisend's statuses (e.g., 'unfulfilled', 'fulfilled').\").optional(),\n});\nexport const OmnisendUpdateOrderStatusOutput = z.object({\n email: z.string().describe(\"Email address associated with the order.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the order.\").nullable().optional(),\n orderID: z.string().describe(\"Unique identifier of the updated order.\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateOrderStatus = action(\"OMNISEND_UPDATE_ORDER_STATUS\", {\n slug: \"omnisend-update-order-status\",\n name: \"Update Order Status\",\n description: \"Tool to partially update an order status in Omnisend (v3 API). Use when you need to update shipping details, payment status, or fulfillment status of an existing order.\",\n input: OmnisendUpdateOrderStatusInput,\n output: OmnisendUpdateOrderStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC5J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-order-status.cjs","names":["z","action"],"sources":["../../src/actions/update-order-status.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 OmnisendUpdateOrderStatusInput = z.object({\n cartID: z.string().describe(\"Identifier of the cart associated with this order.\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to update.\"),\n courierUrl: z.string().describe(\"URL to track the shipment (must be a valid URI).\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation.\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 date-time when the order was canceled (e.g., '2017-05-30T14:11:12Z').\").optional(),\n courierTitle: z.string().describe(\"Name of the courier/shipping company.\").optional(),\n trackingCode: z.string().describe(\"Tracking code for the shipment.\").optional(),\n paymentStatus: z.string().describe(\"Payment status of the order. You need to map your status with Omnisend's statuses (e.g., 'pending', 'paid').\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status of the order. You need to map your status with Omnisend's statuses (e.g., 'unfulfilled', 'fulfilled').\").optional(),\n});\nexport const OmnisendUpdateOrderStatusOutput = z.object({\n email: z.string().describe(\"Email address associated with the order.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the order.\").nullable().optional(),\n orderID: z.string().describe(\"Unique identifier of the updated order.\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateOrderStatus: AppAction<\n typeof OmnisendUpdateOrderStatusInput,\n typeof OmnisendUpdateOrderStatusOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_ORDER_STATUS\", {\n slug: \"omnisend-update-order-status\",\n name: \"Update Order Status\",\n description: \"Tool to partially update an order status in Omnisend (v3 API). Use when you need to update shipping details, payment status, or fulfillment status of an existing order.\",\n input: OmnisendUpdateOrderStatusInput,\n output: OmnisendUpdateOrderStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC5J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAEf,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/update-order-status.d.ts
@@ -17,29 +19,7 @@ declare const OmnisendUpdateOrderStatusOutput: z.ZodObject<{
17
19
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  orderID: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const omnisendUpdateOrderStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- orderID: string;
22
- cartID?: string | undefined;
23
- courierUrl?: string | undefined;
24
- cancelReason?: string | undefined;
25
- canceledDate?: string | undefined;
26
- courierTitle?: string | undefined;
27
- trackingCode?: string | undefined;
28
- paymentStatus?: string | undefined;
29
- fulfillmentStatus?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- accessToken: z.ZodString;
42
- }, z.core.$strip>>]>;
22
+ declare const omnisendUpdateOrderStatus: AppAction<typeof OmnisendUpdateOrderStatusInput, typeof OmnisendUpdateOrderStatusOutput, typeof omnisend.credential>;
43
23
  //#endregion
44
24
  export { omnisendUpdateOrderStatus };
45
25
  //# sourceMappingURL=update-order-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-order-status.d.cts","names":[],"sources":["../../src/actions/update-order-status.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-order-status.d.cts","names":[],"sources":["../../src/actions/update-order-status.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/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/update-order-status.d.ts
@@ -17,29 +19,7 @@ declare const OmnisendUpdateOrderStatusOutput: z.ZodObject<{
17
19
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  orderID: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const omnisendUpdateOrderStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- orderID: string;
22
- cartID?: string | undefined;
23
- courierUrl?: string | undefined;
24
- cancelReason?: string | undefined;
25
- canceledDate?: string | undefined;
26
- courierTitle?: string | undefined;
27
- trackingCode?: string | undefined;
28
- paymentStatus?: string | undefined;
29
- fulfillmentStatus?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- accessToken: z.ZodString;
42
- }, z.core.$strip>>]>;
22
+ declare const omnisendUpdateOrderStatus: AppAction<typeof OmnisendUpdateOrderStatusInput, typeof OmnisendUpdateOrderStatusOutput, typeof omnisend.credential>;
43
23
  //#endregion
44
24
  export { omnisendUpdateOrderStatus };
45
25
  //# sourceMappingURL=update-order-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-order-status.d.mts","names":[],"sources":["../../src/actions/update-order-status.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-order-status.d.mts","names":[],"sources":["../../src/actions/update-order-status.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/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 omnisendUpdateOrderStatus = action("OMNISEND_UPDATE_ORDER_STATUS", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-order-status.mjs","names":[],"sources":["../../src/actions/update-order-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateOrderStatusInput = z.object({\n cartID: z.string().describe(\"Identifier of the cart associated with this order.\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to update.\"),\n courierUrl: z.string().describe(\"URL to track the shipment (must be a valid URI).\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation.\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 date-time when the order was canceled (e.g., '2017-05-30T14:11:12Z').\").optional(),\n courierTitle: z.string().describe(\"Name of the courier/shipping company.\").optional(),\n trackingCode: z.string().describe(\"Tracking code for the shipment.\").optional(),\n paymentStatus: z.string().describe(\"Payment status of the order. You need to map your status with Omnisend's statuses (e.g., 'pending', 'paid').\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status of the order. You need to map your status with Omnisend's statuses (e.g., 'unfulfilled', 'fulfilled').\").optional(),\n});\nexport const OmnisendUpdateOrderStatusOutput = z.object({\n email: z.string().describe(\"Email address associated with the order.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the order.\").nullable().optional(),\n orderID: z.string().describe(\"Unique identifier of the updated order.\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateOrderStatus = action(\"OMNISEND_UPDATE_ORDER_STATUS\", {\n slug: \"omnisend-update-order-status\",\n name: \"Update Order Status\",\n description: \"Tool to partially update an order status in Omnisend (v3 API). Use when you need to update shipping details, payment status, or fulfillment status of an existing order.\",\n input: OmnisendUpdateOrderStatusInput,\n output: OmnisendUpdateOrderStatusOutput,\n});\n"],"mappings":";;AAqBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EAC5J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC/K,CAWS;CACP,QAX6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"update-order-status.mjs","names":[],"sources":["../../src/actions/update-order-status.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 OmnisendUpdateOrderStatusInput = z.object({\n cartID: z.string().describe(\"Identifier of the cart associated with this order.\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to update.\"),\n courierUrl: z.string().describe(\"URL to track the shipment (must be a valid URI).\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation.\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 date-time when the order was canceled (e.g., '2017-05-30T14:11:12Z').\").optional(),\n courierTitle: z.string().describe(\"Name of the courier/shipping company.\").optional(),\n trackingCode: z.string().describe(\"Tracking code for the shipment.\").optional(),\n paymentStatus: z.string().describe(\"Payment status of the order. You need to map your status with Omnisend's statuses (e.g., 'pending', 'paid').\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status of the order. You need to map your status with Omnisend's statuses (e.g., 'unfulfilled', 'fulfilled').\").optional(),\n});\nexport const OmnisendUpdateOrderStatusOutput = z.object({\n email: z.string().describe(\"Email address associated with the order.\").nullable().optional(),\n phone: z.string().describe(\"Phone number associated with the order.\").nullable().optional(),\n orderID: z.string().describe(\"Unique identifier of the updated order.\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateOrderStatus: AppAction<\n typeof OmnisendUpdateOrderStatusInput,\n typeof OmnisendUpdateOrderStatusOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_ORDER_STATUS\", {\n slug: \"omnisend-update-order-status\",\n name: \"Update Order Status\",\n description: \"Tool to partially update an order status in Omnisend (v3 API). Use when you need to update shipping details, payment status, or fulfillment status of an existing order.\",\n input: OmnisendUpdateOrderStatusInput,\n output: OmnisendUpdateOrderStatusOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EAC5J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC/K,CAeS;CACP,QAf6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,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/update-product-category.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-category.cjs","names":["z","action"],"sources":["../../src/actions/update-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateProductCategoryInput = z.object({\n title: z.string().describe(\"Updated title for the product category\"),\n categoryID: z.string().describe(\"Product category ID to update\"),\n});\nexport const OmnisendUpdateProductCategoryOutput = z.object({\n categoryID: z.string().describe(\"Product category ID that was updated\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateProductCategory = action(\"OMNISEND_UPDATE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-update-product-category\",\n name: \"Update Product Category\",\n description: \"Tool to update an existing product category title in Omnisend. Use when you need to modify a category's name.\",\n input: OmnisendUpdateProductCategoryInput,\n output: OmnisendUpdateProductCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,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":"update-product-category.cjs","names":["z","action"],"sources":["../../src/actions/update-product-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendUpdateProductCategoryInput = z.object({\n title: z.string().describe(\"Updated title for the product category\"),\n categoryID: z.string().describe(\"Product category ID to update\"),\n});\nexport const OmnisendUpdateProductCategoryOutput = z.object({\n categoryID: z.string().describe(\"Product category ID that was updated\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateProductCategory: AppAction<\n typeof OmnisendUpdateProductCategoryInput,\n typeof OmnisendUpdateProductCategoryOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-update-product-category\",\n name: \"Update Product Category\",\n description: \"Tool to update an existing product category title in Omnisend. Use when you need to modify a category's name.\",\n input: OmnisendUpdateProductCategoryInput,\n output: OmnisendUpdateProductCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,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/update-product-category.d.ts
@@ -8,22 +10,7 @@ declare const OmnisendUpdateProductCategoryInput: z.ZodObject<{
8
10
  declare const OmnisendUpdateProductCategoryOutput: z.ZodObject<{
9
11
  categoryID: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const omnisendUpdateProductCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- title: string;
13
- categoryID: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const omnisendUpdateProductCategory: AppAction<typeof OmnisendUpdateProductCategoryInput, typeof OmnisendUpdateProductCategoryOutput, typeof omnisend.credential>;
27
14
  //#endregion
28
15
  export { omnisendUpdateProductCategory };
29
16
  //# sourceMappingURL=update-product-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-category.d.cts","names":[],"sources":["../../src/actions/update-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"update-product-category.d.cts","names":[],"sources":["../../src/actions/update-product-category.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,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/update-product-category.d.ts
@@ -8,22 +10,7 @@ declare const OmnisendUpdateProductCategoryInput: z.ZodObject<{
8
10
  declare const OmnisendUpdateProductCategoryOutput: z.ZodObject<{
9
11
  categoryID: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const omnisendUpdateProductCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- title: string;
13
- categoryID: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const omnisendUpdateProductCategory: AppAction<typeof OmnisendUpdateProductCategoryInput, typeof OmnisendUpdateProductCategoryOutput, typeof omnisend.credential>;
27
14
  //#endregion
28
15
  export { omnisendUpdateProductCategory };
29
16
  //# sourceMappingURL=update-product-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-category.d.mts","names":[],"sources":["../../src/actions/update-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"update-product-category.d.mts","names":[],"sources":["../../src/actions/update-product-category.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,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
  const omnisendUpdateProductCategory = action("OMNISEND_UPDATE_PRODUCT_CATEGORY", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-category.mjs","names":[],"sources":["../../src/actions/update-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateProductCategoryInput = z.object({\n title: z.string().describe(\"Updated title for the product category\"),\n categoryID: z.string().describe(\"Product category ID to update\"),\n});\nexport const OmnisendUpdateProductCategoryOutput = z.object({\n categoryID: z.string().describe(\"Product category ID that was updated\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateProductCategory = action(\"OMNISEND_UPDATE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-update-product-category\",\n name: \"Update Product Category\",\n description: \"Tool to update an existing product category title in Omnisend. Use when you need to modify a category's name.\",\n input: OmnisendUpdateProductCategoryInput,\n output: OmnisendUpdateProductCategoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-category.mjs","names":[],"sources":["../../src/actions/update-product-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendUpdateProductCategoryInput = z.object({\n title: z.string().describe(\"Updated title for the product category\"),\n categoryID: z.string().describe(\"Product category ID to update\"),\n});\nexport const OmnisendUpdateProductCategoryOutput = z.object({\n categoryID: z.string().describe(\"Product category ID that was updated\").nullable(),\n}).passthrough();\n\nexport const omnisendUpdateProductCategory: AppAction<\n typeof OmnisendUpdateProductCategoryInput,\n typeof OmnisendUpdateProductCategoryOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_UPDATE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-update-product-category\",\n name: \"Update Product Category\",\n description: \"Tool to update an existing product category title in Omnisend. Use when you need to modify a category's name.\",\n input: OmnisendUpdateProductCategoryInput,\n output: OmnisendUpdateProductCategoryOutput,\n});\n"],"mappings":";;;AAcA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAaS;CACP,QAbiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { accessToken: require("zod").z.string() };
4
4
  const omnisend = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "omnisend",
6
6
  auth: "keystroke",
7
- credential: { accessToken: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.omnisend = omnisend;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const omnisend = defineApp({\n slug: \"omnisend\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const omnisend: KeystrokeApp<\"omnisend\", typeof credential> = defineApp({\n slug: \"omnisend\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const omnisend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  accessToken: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const omnisend: KeystrokeApp<"omnisend", typeof credential>;
11
9
  //#endregion
12
10
  export { omnisend };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const omnisend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  accessToken: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const omnisend: KeystrokeApp<"omnisend", typeof credential>;
11
9
  //#endregion
12
10
  export { omnisend };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}