@keystrokehq/omnisend 0.1.0 → 0.1.2

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 (327) 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 +4 -4
  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 +4 -4
  10. package/dist/actions/add-cart-product.mjs.map +1 -1
  11. package/dist/actions/create-batch.cjs +3 -3
  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 +3 -3
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-cart.cjs +1 -1
  20. package/dist/actions/create-cart.cjs.map +1 -1
  21. package/dist/actions/create-cart.d.cts +44 -3
  22. package/dist/actions/create-cart.d.cts.map +1 -1
  23. package/dist/actions/create-cart.d.mts +44 -3
  24. package/dist/actions/create-cart.d.mts.map +1 -1
  25. package/dist/actions/create-cart.mjs +1 -1
  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 +2 -2
  36. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  37. package/dist/actions/create-or-update-contact.d.cts +58 -3
  38. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  39. package/dist/actions/create-or-update-contact.d.mts +58 -3
  40. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  41. package/dist/actions/create-or-update-contact.mjs +2 -2
  42. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  43. package/dist/actions/create-order.cjs +1 -1
  44. package/dist/actions/create-order.cjs.map +1 -1
  45. package/dist/actions/create-order.d.cts +164 -3
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +164 -3
  48. package/dist/actions/create-order.d.mts.map +1 -1
  49. package/dist/actions/create-order.mjs +1 -1
  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 +1 -1
  60. package/dist/actions/create-product.cjs.map +1 -1
  61. package/dist/actions/create-product.d.cts +67 -3
  62. package/dist/actions/create-product.d.cts.map +1 -1
  63. package/dist/actions/create-product.d.mts +67 -3
  64. package/dist/actions/create-product.d.mts.map +1 -1
  65. package/dist/actions/create-product.mjs +1 -1
  66. package/dist/actions/create-product.mjs.map +1 -1
  67. package/dist/actions/delete-cart.cjs.map +1 -1
  68. package/dist/actions/delete-cart.d.cts +7 -3
  69. package/dist/actions/delete-cart.d.cts.map +1 -1
  70. package/dist/actions/delete-cart.d.mts +7 -3
  71. package/dist/actions/delete-cart.d.mts.map +1 -1
  72. package/dist/actions/delete-cart.mjs.map +1 -1
  73. package/dist/actions/delete-category.cjs.map +1 -1
  74. package/dist/actions/delete-category.d.cts +7 -3
  75. package/dist/actions/delete-category.d.cts.map +1 -1
  76. package/dist/actions/delete-category.d.mts +7 -3
  77. package/dist/actions/delete-category.d.mts.map +1 -1
  78. package/dist/actions/delete-category.mjs.map +1 -1
  79. package/dist/actions/delete-order.cjs.map +1 -1
  80. package/dist/actions/delete-order.d.cts +7 -3
  81. package/dist/actions/delete-order.d.cts.map +1 -1
  82. package/dist/actions/delete-order.d.mts +7 -3
  83. package/dist/actions/delete-order.d.mts.map +1 -1
  84. package/dist/actions/delete-order.mjs.map +1 -1
  85. package/dist/actions/delete-product-category.cjs.map +1 -1
  86. package/dist/actions/delete-product-category.d.cts +7 -3
  87. package/dist/actions/delete-product-category.d.cts.map +1 -1
  88. package/dist/actions/delete-product-category.d.mts +7 -3
  89. package/dist/actions/delete-product-category.d.mts.map +1 -1
  90. package/dist/actions/delete-product-category.mjs.map +1 -1
  91. package/dist/actions/delete-product.cjs.map +1 -1
  92. package/dist/actions/delete-product.d.cts +7 -3
  93. package/dist/actions/delete-product.d.cts.map +1 -1
  94. package/dist/actions/delete-product.d.mts +7 -3
  95. package/dist/actions/delete-product.d.mts.map +1 -1
  96. package/dist/actions/delete-product.mjs.map +1 -1
  97. package/dist/actions/get-batch-information.cjs.map +1 -1
  98. package/dist/actions/get-batch-information.d.cts +16 -3
  99. package/dist/actions/get-batch-information.d.cts.map +1 -1
  100. package/dist/actions/get-batch-information.d.mts +16 -3
  101. package/dist/actions/get-batch-information.d.mts.map +1 -1
  102. package/dist/actions/get-batch-information.mjs.map +1 -1
  103. package/dist/actions/get-batch-item.cjs +1 -1
  104. package/dist/actions/get-batch-item.cjs.map +1 -1
  105. package/dist/actions/get-batch-item.d.cts +19 -3
  106. package/dist/actions/get-batch-item.d.cts.map +1 -1
  107. package/dist/actions/get-batch-item.d.mts +19 -3
  108. package/dist/actions/get-batch-item.d.mts.map +1 -1
  109. package/dist/actions/get-batch-item.mjs +1 -1
  110. package/dist/actions/get-batch-item.mjs.map +1 -1
  111. package/dist/actions/get-batch-items.cjs +2 -2
  112. package/dist/actions/get-batch-items.cjs.map +1 -1
  113. package/dist/actions/get-batch-items.d.cts +18 -3
  114. package/dist/actions/get-batch-items.d.cts.map +1 -1
  115. package/dist/actions/get-batch-items.d.mts +18 -3
  116. package/dist/actions/get-batch-items.d.mts.map +1 -1
  117. package/dist/actions/get-batch-items.mjs +2 -2
  118. package/dist/actions/get-batch-items.mjs.map +1 -1
  119. package/dist/actions/get-batches.cjs +9 -9
  120. package/dist/actions/get-batches.cjs.map +1 -1
  121. package/dist/actions/get-batches.d.cts +33 -3
  122. package/dist/actions/get-batches.d.cts.map +1 -1
  123. package/dist/actions/get-batches.d.mts +33 -3
  124. package/dist/actions/get-batches.d.mts.map +1 -1
  125. package/dist/actions/get-batches.mjs +9 -9
  126. package/dist/actions/get-batches.mjs.map +1 -1
  127. package/dist/actions/get-brand.cjs +7 -7
  128. package/dist/actions/get-brand.cjs.map +1 -1
  129. package/dist/actions/get-brand.d.cts +11 -3
  130. package/dist/actions/get-brand.d.cts.map +1 -1
  131. package/dist/actions/get-brand.d.mts +11 -3
  132. package/dist/actions/get-brand.d.mts.map +1 -1
  133. package/dist/actions/get-brand.mjs +7 -7
  134. package/dist/actions/get-brand.mjs.map +1 -1
  135. package/dist/actions/get-cart.cjs +1 -1
  136. package/dist/actions/get-cart.cjs.map +1 -1
  137. package/dist/actions/get-cart.d.cts +31 -3
  138. package/dist/actions/get-cart.d.cts.map +1 -1
  139. package/dist/actions/get-cart.d.mts +31 -3
  140. package/dist/actions/get-cart.d.mts.map +1 -1
  141. package/dist/actions/get-cart.mjs +1 -1
  142. package/dist/actions/get-cart.mjs.map +1 -1
  143. package/dist/actions/get-category.cjs +4 -4
  144. package/dist/actions/get-category.cjs.map +1 -1
  145. package/dist/actions/get-category.d.cts +12 -3
  146. package/dist/actions/get-category.d.cts.map +1 -1
  147. package/dist/actions/get-category.d.mts +12 -3
  148. package/dist/actions/get-category.d.mts.map +1 -1
  149. package/dist/actions/get-category.mjs +4 -4
  150. package/dist/actions/get-category.mjs.map +1 -1
  151. package/dist/actions/get-contact.cjs +15 -15
  152. package/dist/actions/get-contact.cjs.map +1 -1
  153. package/dist/actions/get-contact.d.cts +47 -3
  154. package/dist/actions/get-contact.d.cts.map +1 -1
  155. package/dist/actions/get-contact.d.mts +47 -3
  156. package/dist/actions/get-contact.d.mts.map +1 -1
  157. package/dist/actions/get-contact.mjs +15 -15
  158. package/dist/actions/get-contact.mjs.map +1 -1
  159. package/dist/actions/get-order.cjs +6 -6
  160. package/dist/actions/get-order.cjs.map +1 -1
  161. package/dist/actions/get-order.d.cts +87 -3
  162. package/dist/actions/get-order.d.cts.map +1 -1
  163. package/dist/actions/get-order.d.mts +87 -3
  164. package/dist/actions/get-order.d.mts.map +1 -1
  165. package/dist/actions/get-order.mjs +6 -6
  166. package/dist/actions/get-order.mjs.map +1 -1
  167. package/dist/actions/get-product-category.cjs +2 -2
  168. package/dist/actions/get-product-category.cjs.map +1 -1
  169. package/dist/actions/get-product-category.d.cts +12 -3
  170. package/dist/actions/get-product-category.d.cts.map +1 -1
  171. package/dist/actions/get-product-category.d.mts +12 -3
  172. package/dist/actions/get-product-category.d.mts.map +1 -1
  173. package/dist/actions/get-product-category.mjs +2 -2
  174. package/dist/actions/get-product-category.mjs.map +1 -1
  175. package/dist/actions/get-product.cjs +9 -9
  176. package/dist/actions/get-product.cjs.map +1 -1
  177. package/dist/actions/get-product.d.cts +42 -3
  178. package/dist/actions/get-product.d.cts.map +1 -1
  179. package/dist/actions/get-product.d.mts +42 -3
  180. package/dist/actions/get-product.d.mts.map +1 -1
  181. package/dist/actions/get-product.mjs +9 -9
  182. package/dist/actions/get-product.mjs.map +1 -1
  183. package/dist/actions/list-campaigns.cjs +7 -7
  184. package/dist/actions/list-campaigns.cjs.map +1 -1
  185. package/dist/actions/list-campaigns.d.cts +57 -3
  186. package/dist/actions/list-campaigns.d.cts.map +1 -1
  187. package/dist/actions/list-campaigns.d.mts +57 -3
  188. package/dist/actions/list-campaigns.d.mts.map +1 -1
  189. package/dist/actions/list-campaigns.mjs +7 -7
  190. package/dist/actions/list-campaigns.mjs.map +1 -1
  191. package/dist/actions/list-carts.cjs +2 -2
  192. package/dist/actions/list-carts.cjs.map +1 -1
  193. package/dist/actions/list-carts.d.cts +46 -3
  194. package/dist/actions/list-carts.d.cts.map +1 -1
  195. package/dist/actions/list-carts.d.mts +46 -3
  196. package/dist/actions/list-carts.d.mts.map +1 -1
  197. package/dist/actions/list-carts.mjs +2 -2
  198. package/dist/actions/list-carts.mjs.map +1 -1
  199. package/dist/actions/list-categories.cjs +6 -6
  200. package/dist/actions/list-categories.cjs.map +1 -1
  201. package/dist/actions/list-categories.d.cts +24 -3
  202. package/dist/actions/list-categories.d.cts.map +1 -1
  203. package/dist/actions/list-categories.d.mts +24 -3
  204. package/dist/actions/list-categories.d.mts.map +1 -1
  205. package/dist/actions/list-categories.mjs +6 -6
  206. package/dist/actions/list-categories.mjs.map +1 -1
  207. package/dist/actions/list-contacts.cjs +16 -16
  208. package/dist/actions/list-contacts.cjs.map +1 -1
  209. package/dist/actions/list-contacts.d.cts +72 -3
  210. package/dist/actions/list-contacts.d.cts.map +1 -1
  211. package/dist/actions/list-contacts.d.mts +72 -3
  212. package/dist/actions/list-contacts.d.mts.map +1 -1
  213. package/dist/actions/list-contacts.mjs +16 -16
  214. package/dist/actions/list-contacts.mjs.map +1 -1
  215. package/dist/actions/list-events.cjs.map +1 -1
  216. package/dist/actions/list-events.d.cts +18 -3
  217. package/dist/actions/list-events.d.cts.map +1 -1
  218. package/dist/actions/list-events.d.mts +18 -3
  219. package/dist/actions/list-events.d.mts.map +1 -1
  220. package/dist/actions/list-events.mjs.map +1 -1
  221. package/dist/actions/list-product-categories.cjs +4 -4
  222. package/dist/actions/list-product-categories.cjs.map +1 -1
  223. package/dist/actions/list-product-categories.d.cts +28 -3
  224. package/dist/actions/list-product-categories.d.cts.map +1 -1
  225. package/dist/actions/list-product-categories.d.mts +28 -3
  226. package/dist/actions/list-product-categories.d.mts.map +1 -1
  227. package/dist/actions/list-product-categories.mjs +4 -4
  228. package/dist/actions/list-product-categories.mjs.map +1 -1
  229. package/dist/actions/list-products.cjs +14 -14
  230. package/dist/actions/list-products.cjs.map +1 -1
  231. package/dist/actions/list-products.d.cts +58 -3
  232. package/dist/actions/list-products.d.cts.map +1 -1
  233. package/dist/actions/list-products.d.mts +58 -3
  234. package/dist/actions/list-products.d.mts.map +1 -1
  235. package/dist/actions/list-products.mjs +14 -14
  236. package/dist/actions/list-products.mjs.map +1 -1
  237. package/dist/actions/remove-cart-product.cjs.map +1 -1
  238. package/dist/actions/remove-cart-product.d.cts +9 -3
  239. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  240. package/dist/actions/remove-cart-product.d.mts +9 -3
  241. package/dist/actions/remove-cart-product.d.mts.map +1 -1
  242. package/dist/actions/remove-cart-product.mjs.map +1 -1
  243. package/dist/actions/replace-cart-product.cjs +4 -4
  244. package/dist/actions/replace-cart-product.cjs.map +1 -1
  245. package/dist/actions/replace-cart-product.d.cts +38 -3
  246. package/dist/actions/replace-cart-product.d.cts.map +1 -1
  247. package/dist/actions/replace-cart-product.d.mts +38 -3
  248. package/dist/actions/replace-cart-product.d.mts.map +1 -1
  249. package/dist/actions/replace-cart-product.mjs +4 -4
  250. package/dist/actions/replace-cart-product.mjs.map +1 -1
  251. package/dist/actions/replace-cart.cjs +1 -1
  252. package/dist/actions/replace-cart.cjs.map +1 -1
  253. package/dist/actions/replace-cart.d.cts +45 -3
  254. package/dist/actions/replace-cart.d.cts.map +1 -1
  255. package/dist/actions/replace-cart.d.mts +45 -3
  256. package/dist/actions/replace-cart.d.mts.map +1 -1
  257. package/dist/actions/replace-cart.mjs +1 -1
  258. package/dist/actions/replace-cart.mjs.map +1 -1
  259. package/dist/actions/replace-category.cjs.map +1 -1
  260. package/dist/actions/replace-category.d.cts +11 -3
  261. package/dist/actions/replace-category.d.cts.map +1 -1
  262. package/dist/actions/replace-category.d.mts +11 -3
  263. package/dist/actions/replace-category.d.mts.map +1 -1
  264. package/dist/actions/replace-category.mjs.map +1 -1
  265. package/dist/actions/replace-order.cjs +1 -1
  266. package/dist/actions/replace-order.cjs.map +1 -1
  267. package/dist/actions/replace-order.d.cts +135 -3
  268. package/dist/actions/replace-order.d.cts.map +1 -1
  269. package/dist/actions/replace-order.d.mts +135 -3
  270. package/dist/actions/replace-order.d.mts.map +1 -1
  271. package/dist/actions/replace-order.mjs +1 -1
  272. package/dist/actions/replace-order.mjs.map +1 -1
  273. package/dist/actions/replace-product.cjs +1 -1
  274. package/dist/actions/replace-product.cjs.map +1 -1
  275. package/dist/actions/replace-product.d.cts +69 -3
  276. package/dist/actions/replace-product.d.cts.map +1 -1
  277. package/dist/actions/replace-product.d.mts +69 -3
  278. package/dist/actions/replace-product.d.mts.map +1 -1
  279. package/dist/actions/replace-product.mjs +1 -1
  280. package/dist/actions/replace-product.mjs.map +1 -1
  281. package/dist/actions/send-event.cjs.map +1 -1
  282. package/dist/actions/send-event.d.cts +54 -3
  283. package/dist/actions/send-event.d.cts.map +1 -1
  284. package/dist/actions/send-event.d.mts +54 -3
  285. package/dist/actions/send-event.d.mts.map +1 -1
  286. package/dist/actions/send-event.mjs.map +1 -1
  287. package/dist/actions/update-cart-product.cjs +4 -4
  288. package/dist/actions/update-cart-product.cjs.map +1 -1
  289. package/dist/actions/update-cart-product.d.cts +38 -3
  290. package/dist/actions/update-cart-product.d.cts.map +1 -1
  291. package/dist/actions/update-cart-product.d.mts +38 -3
  292. package/dist/actions/update-cart-product.d.mts.map +1 -1
  293. package/dist/actions/update-cart-product.mjs +4 -4
  294. package/dist/actions/update-cart-product.mjs.map +1 -1
  295. package/dist/actions/update-cart.cjs +1 -1
  296. package/dist/actions/update-cart.cjs.map +1 -1
  297. package/dist/actions/update-cart.d.cts +43 -3
  298. package/dist/actions/update-cart.d.cts.map +1 -1
  299. package/dist/actions/update-cart.d.mts +43 -3
  300. package/dist/actions/update-cart.d.mts.map +1 -1
  301. package/dist/actions/update-cart.mjs +1 -1
  302. package/dist/actions/update-cart.mjs.map +1 -1
  303. package/dist/actions/update-contact.cjs +1 -1
  304. package/dist/actions/update-contact.cjs.map +1 -1
  305. package/dist/actions/update-contact.d.cts +88 -3
  306. package/dist/actions/update-contact.d.cts.map +1 -1
  307. package/dist/actions/update-contact.d.mts +88 -3
  308. package/dist/actions/update-contact.d.mts.map +1 -1
  309. package/dist/actions/update-contact.mjs +1 -1
  310. package/dist/actions/update-contact.mjs.map +1 -1
  311. package/dist/actions/update-order-status.cjs +1 -1
  312. package/dist/actions/update-order-status.cjs.map +1 -1
  313. package/dist/actions/update-order-status.d.cts +27 -3
  314. package/dist/actions/update-order-status.d.cts.map +1 -1
  315. package/dist/actions/update-order-status.d.mts +27 -3
  316. package/dist/actions/update-order-status.d.mts.map +1 -1
  317. package/dist/actions/update-order-status.mjs +1 -1
  318. package/dist/actions/update-order-status.mjs.map +1 -1
  319. package/dist/actions/update-product-category.cjs +1 -1
  320. package/dist/actions/update-product-category.cjs.map +1 -1
  321. package/dist/actions/update-product-category.d.cts +11 -3
  322. package/dist/actions/update-product-category.d.cts.map +1 -1
  323. package/dist/actions/update-product-category.d.mts +11 -3
  324. package/dist/actions/update-product-category.d.mts.map +1 -1
  325. package/dist/actions/update-product-category.mjs +1 -1
  326. package/dist/actions/update-product-category.mjs.map +1 -1
  327. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput: z.ZodTypeAny = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE7I,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE/H,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-cart-product.d.ts
4
- declare const OmnisendRemoveCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendRemoveCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
5
+ cart_id: z.ZodString;
6
+ cart_product_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OmnisendRemoveCartProductOutput: z.ZodObject<{}, z.core.$strip>;
9
+ declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ cart_id: string;
11
+ cart_product_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { omnisendRemoveCartProduct };
9
15
  //# sourceMappingURL=remove-cart-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAA8F;AAAA,cAEjI,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-cart-product.d.ts
4
- declare const OmnisendRemoveCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendRemoveCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
5
+ cart_id: z.ZodString;
6
+ cart_product_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OmnisendRemoveCartProductOutput: z.ZodObject<{}, z.core.$strip>;
9
+ declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ cart_id: string;
11
+ cart_product_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { omnisendRemoveCartProduct };
9
15
  //# sourceMappingURL=remove-cart-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.d.mts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAA8F;AAAA,cAEjI,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-cart-product.d.mts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.mjs","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput: z.ZodTypeAny = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;AAUA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAOS;CACP,QAP2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"remove-cart-product.mjs","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;AAUA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAOS;CACP,QAP6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAO3D;AACV,CAAC"}
@@ -18,10 +18,10 @@ const OmnisendReplaceCartProductInput = zod.z.object({
18
18
  cartProductID: zod.z.string().describe("Unique identifier of the product in the cart to replace.")
19
19
  });
20
20
  const OmnisendReplaceCartProductOutput = zod.z.object({
21
- cartID: zod.z.string().describe("Unique identifier of the cart."),
22
- productID: zod.z.string().describe("Product identifier."),
23
- variantID: zod.z.string().describe("Product variant identifier."),
24
- cartProductID: zod.z.string().describe("Unique identifier of the product in the cart.")
21
+ cartID: zod.z.string().describe("Unique identifier of the cart.").nullable(),
22
+ productID: zod.z.string().describe("Product identifier.").nullable(),
23
+ variantID: zod.z.string().describe("Product variant identifier.").nullable(),
24
+ cartProductID: zod.z.string().describe("Unique identifier of the product in the cart.").nullable()
25
25
  });
26
26
  const omnisendReplaceCartProduct = require_action.action("OMNISEND_REPLACE_CART_PRODUCT", {
27
27
  slug: "omnisend-replace-cart-product",
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product variant identifier.\"),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\"),\n});\n\nexport const omnisendReplaceCartProduct = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAA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BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"replace-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\").nullable(),\n productID: z.string().describe(\"Product identifier.\").nullable(),\n variantID: z.string().describe(\"Product variant identifier.\").nullable(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\").nullable(),\n});\n\nexport const omnisendReplaceCartProduct = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";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S,qBAAqB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/replace-cart-product.d.ts
4
- declare const OmnisendReplaceCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCartProductInput: z.ZodObject<{
5
+ sku: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodNumber;
7
+ title: z.ZodString;
8
+ cartID: z.ZodString;
9
+ currency: z.ZodString;
10
+ discount: z.ZodOptional<z.ZodNumber>;
11
+ imageUrl: z.ZodOptional<z.ZodString>;
12
+ oldPrice: z.ZodOptional<z.ZodNumber>;
13
+ quantity: z.ZodNumber;
14
+ productID: z.ZodString;
15
+ variantID: z.ZodString;
16
+ productUrl: z.ZodOptional<z.ZodString>;
17
+ description: z.ZodOptional<z.ZodString>;
18
+ cartProductID: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const OmnisendReplaceCartProductOutput: z.ZodObject<{
21
+ cartID: z.ZodNullable<z.ZodString>;
22
+ productID: z.ZodNullable<z.ZodString>;
23
+ variantID: z.ZodNullable<z.ZodString>;
24
+ cartProductID: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ price: number;
28
+ title: string;
29
+ cartID: string;
30
+ currency: string;
31
+ quantity: number;
32
+ productID: string;
33
+ variantID: string;
34
+ cartProductID: string;
35
+ sku?: string | undefined;
36
+ discount?: number | undefined;
37
+ imageUrl?: string | undefined;
38
+ oldPrice?: number | undefined;
39
+ productUrl?: string | undefined;
40
+ description?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { omnisendReplaceCartProduct };
9
44
  //# sourceMappingURL=replace-cart-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.d.cts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAe9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-cart-product.d.cts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/replace-cart-product.d.ts
4
- declare const OmnisendReplaceCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCartProductInput: z.ZodObject<{
5
+ sku: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodNumber;
7
+ title: z.ZodString;
8
+ cartID: z.ZodString;
9
+ currency: z.ZodString;
10
+ discount: z.ZodOptional<z.ZodNumber>;
11
+ imageUrl: z.ZodOptional<z.ZodString>;
12
+ oldPrice: z.ZodOptional<z.ZodNumber>;
13
+ quantity: z.ZodNumber;
14
+ productID: z.ZodString;
15
+ variantID: z.ZodString;
16
+ productUrl: z.ZodOptional<z.ZodString>;
17
+ description: z.ZodOptional<z.ZodString>;
18
+ cartProductID: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const OmnisendReplaceCartProductOutput: z.ZodObject<{
21
+ cartID: z.ZodNullable<z.ZodString>;
22
+ productID: z.ZodNullable<z.ZodString>;
23
+ variantID: z.ZodNullable<z.ZodString>;
24
+ cartProductID: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ declare const omnisendReplaceCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ price: number;
28
+ title: string;
29
+ cartID: string;
30
+ currency: string;
31
+ quantity: number;
32
+ productID: string;
33
+ variantID: string;
34
+ cartProductID: string;
35
+ sku?: string | undefined;
36
+ discount?: number | undefined;
37
+ imageUrl?: string | undefined;
38
+ oldPrice?: number | undefined;
39
+ productUrl?: string | undefined;
40
+ description?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { omnisendReplaceCartProduct };
9
44
  //# sourceMappingURL=replace-cart-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.d.mts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAe9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-cart-product.d.mts","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -21,10 +21,10 @@ const omnisendReplaceCartProduct = action("OMNISEND_REPLACE_CART_PRODUCT", {
21
21
  cartProductID: z.string().describe("Unique identifier of the product in the cart to replace.")
22
22
  }),
23
23
  output: z.object({
24
- cartID: z.string().describe("Unique identifier of the cart."),
25
- productID: z.string().describe("Product identifier."),
26
- variantID: z.string().describe("Product variant identifier."),
27
- cartProductID: z.string().describe("Unique identifier of the product in the cart.")
24
+ cartID: z.string().describe("Unique identifier of the cart.").nullable(),
25
+ productID: z.string().describe("Product identifier.").nullable(),
26
+ variantID: z.string().describe("Product variant identifier.").nullable(),
27
+ cartProductID: z.string().describe("Unique identifier of the product in the cart.").nullable()
28
28
  })
29
29
  });
30
30
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart-product.mjs","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product variant identifier.\"),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\"),\n});\n\nexport const omnisendReplaceCartProduct = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC/F,CAYS;CACP,QAZ4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACpF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"replace-cart-product.mjs","names":[],"sources":["../../src/actions/replace-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Product price in cents, without commas. For example, for 1.25 USD use 125.\"),\n title: z.string().describe(\"Product title.\"),\n cartID: z.string().describe(\"Unique identifier of the cart containing the product to replace.\"),\n currency: z.string().describe(\"ISO currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n imageUrl: z.string().describe(\"Link to product image (must be a valid URI).\").optional(),\n oldPrice: z.number().int().describe(\"Old price in cents, without commas. For example, for 1.43 USD use 143.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (only whole numbers, minimum 1).\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product modification identifier (variant ID).\"),\n productUrl: z.string().describe(\"Link to product page (must be a valid URI).\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart to replace.\"),\n});\nexport const OmnisendReplaceCartProductOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\").nullable(),\n productID: z.string().describe(\"Product identifier.\").nullable(),\n variantID: z.string().describe(\"Product variant identifier.\").nullable(),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\").nullable(),\n});\n\nexport const omnisendReplaceCartProduct = action(\"OMNISEND_REPLACE_CART_PRODUCT\", {\n slug: \"omnisend-replace-cart-product\",\n name: \"Replace Cart Product\",\n description: \"Tool to replace a product in a cart using Omnisend v3 API. Use when you need to update all details of a specific product in a cart.\",\n input: OmnisendReplaceCartProductInput,\n output: OmnisendReplaceCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC/F,CAYS;CACP,QAZ8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
@@ -22,7 +22,7 @@ const OmnisendReplaceCartInput = zod.z.object({
22
22
  updatedAt: zod.z.string().describe("ISO 8601 timestamp when the cart was last updated").optional(),
23
23
  cartRecoveryUrl: zod.z.string().describe("URL to restore the cart, used for abandoned cart recovery").optional()
24
24
  });
25
- const OmnisendReplaceCartOutput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the replaced cart") });
25
+ const OmnisendReplaceCartOutput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the replaced cart").nullable() });
26
26
  const omnisendReplaceCart = require_action.action("OMNISEND_REPLACE_CART", {
27
27
  slug: "omnisend-replace-cart",
28
28
  name: "Replace Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to replace\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 78777 = $787.77)\"),\n currency: z.string().describe(\"ISO 4217 currency code for the cart (e.g., USD, EUR, GBP)\"),\n products: z.array(z.object({\n price: z.number().int().describe(\"Current price of the product in cents (e.g., 78777 = $787.77)\"),\n title: z.string().describe(\"Name or title of the product\"),\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 this product in the cart\"),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Unique identifier of the product variant\"),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Description of the product\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n})).describe(\"List of products in the cart\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the cart was created\").optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the cart was last updated\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to restore the cart, used for abandoned cart recovery\").optional(),\n});\nexport const OmnisendReplaceCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the replaced cart\"),\n});\n\nexport const omnisendReplaceCart = action(\"OMNISEND_REPLACE_CART\", {\n slug: \"omnisend-replace-cart\",\n name: \"Replace Cart\",\n description: \"Tool to replace an existing cart in Omnisend using the v3 API. Use when you need to completely replace all cart data including products, pricing, and recovery URL.\",\n input: OmnisendReplaceCartInput,\n output: OmnisendReplaceCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2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,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"replace-cart.cjs","names":["z","action"],"sources":["../../src/actions/replace-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to replace\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 78777 = $787.77)\"),\n currency: z.string().describe(\"ISO 4217 currency code for the cart (e.g., USD, EUR, GBP)\"),\n products: z.array(z.object({\n price: z.number().int().describe(\"Current price of the product in cents (e.g., 78777 = $787.77)\"),\n title: z.string().describe(\"Name or title of the product\"),\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 this product in the cart\"),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Unique identifier of the product variant\"),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Description of the product\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n})).describe(\"List of products in the cart\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the cart was created\").optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the cart was last updated\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to restore the cart, used for abandoned cart recovery\").optional(),\n});\nexport const OmnisendReplaceCartOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the replaced cart\").nullable(),\n});\n\nexport const omnisendReplaceCart = action(\"OMNISEND_REPLACE_CART\", {\n slug: \"omnisend-replace-cart\",\n name: \"Replace Cart\",\n description: \"Tool to replace an existing cart in Omnisend using the v3 API. Use when you need to completely replace all cart data including products, pricing, and recovery URL.\",\n input: OmnisendReplaceCartInput,\n output: OmnisendReplaceCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACzF,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACjF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/replace-cart.d.ts
4
- declare const OmnisendReplaceCartInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCartOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ cartSum: z.ZodNumber;
7
+ currency: z.ZodString;
8
+ products: z.ZodArray<z.ZodObject<{
9
+ price: z.ZodNumber;
10
+ title: z.ZodString;
11
+ discount: z.ZodOptional<z.ZodNumber>;
12
+ imageUrl: z.ZodOptional<z.ZodString>;
13
+ oldPrice: z.ZodOptional<z.ZodNumber>;
14
+ quantity: z.ZodNumber;
15
+ productID: z.ZodString;
16
+ variantID: z.ZodString;
17
+ productUrl: z.ZodOptional<z.ZodString>;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ cartProductID: z.ZodString;
20
+ }, z.core.$strip>>;
21
+ createdAt: z.ZodOptional<z.ZodString>;
22
+ updatedAt: z.ZodOptional<z.ZodString>;
23
+ cartRecoveryUrl: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>;
25
+ declare const OmnisendReplaceCartOutput: z.ZodObject<{
26
+ cartID: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ declare const omnisendReplaceCart: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ cartID: string;
30
+ cartSum: number;
31
+ currency: string;
32
+ products: {
33
+ price: number;
34
+ title: string;
35
+ quantity: number;
36
+ productID: string;
37
+ variantID: string;
38
+ cartProductID: string;
39
+ discount?: number | undefined;
40
+ imageUrl?: string | undefined;
41
+ oldPrice?: number | undefined;
42
+ productUrl?: string | undefined;
43
+ description?: string | undefined;
44
+ }[];
45
+ createdAt?: string | undefined;
46
+ updatedAt?: string | undefined;
47
+ cartRecoveryUrl?: string | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { omnisendReplaceCart };
9
51
  //# sourceMappingURL=replace-cart.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart.d.cts","names":[],"sources":["../../src/actions/replace-cart.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoBvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-cart.d.cts","names":[],"sources":["../../src/actions/replace-cart.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/replace-cart.d.ts
4
- declare const OmnisendReplaceCartInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCartOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ cartSum: z.ZodNumber;
7
+ currency: z.ZodString;
8
+ products: z.ZodArray<z.ZodObject<{
9
+ price: z.ZodNumber;
10
+ title: z.ZodString;
11
+ discount: z.ZodOptional<z.ZodNumber>;
12
+ imageUrl: z.ZodOptional<z.ZodString>;
13
+ oldPrice: z.ZodOptional<z.ZodNumber>;
14
+ quantity: z.ZodNumber;
15
+ productID: z.ZodString;
16
+ variantID: z.ZodString;
17
+ productUrl: z.ZodOptional<z.ZodString>;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ cartProductID: z.ZodString;
20
+ }, z.core.$strip>>;
21
+ createdAt: z.ZodOptional<z.ZodString>;
22
+ updatedAt: z.ZodOptional<z.ZodString>;
23
+ cartRecoveryUrl: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>;
25
+ declare const OmnisendReplaceCartOutput: z.ZodObject<{
26
+ cartID: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ declare const omnisendReplaceCart: import("@keystrokehq/action").WorkflowActionDefinition<{
29
+ cartID: string;
30
+ cartSum: number;
31
+ currency: string;
32
+ products: {
33
+ price: number;
34
+ title: string;
35
+ quantity: number;
36
+ productID: string;
37
+ variantID: string;
38
+ cartProductID: string;
39
+ discount?: number | undefined;
40
+ imageUrl?: string | undefined;
41
+ oldPrice?: number | undefined;
42
+ productUrl?: string | undefined;
43
+ description?: string | undefined;
44
+ }[];
45
+ createdAt?: string | undefined;
46
+ updatedAt?: string | undefined;
47
+ cartRecoveryUrl?: string | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { omnisendReplaceCart };
9
51
  //# sourceMappingURL=replace-cart.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart.d.mts","names":[],"sources":["../../src/actions/replace-cart.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoBvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-cart.d.mts","names":[],"sources":["../../src/actions/replace-cart.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -25,7 +25,7 @@ const omnisendReplaceCart = action("OMNISEND_REPLACE_CART", {
25
25
  updatedAt: z.string().describe("ISO 8601 timestamp when the cart was last updated").optional(),
26
26
  cartRecoveryUrl: z.string().describe("URL to restore the cart, used for abandoned cart recovery").optional()
27
27
  }),
28
- output: z.object({ cartID: z.string().describe("Unique identifier of the replaced cart") })
28
+ output: z.object({ cartID: z.string().describe("Unique identifier of the replaced cart").nullable() })
29
29
  });
30
30
  //#endregion
31
31
  export { omnisendReplaceCart };
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cart.mjs","names":[],"sources":["../../src/actions/replace-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to replace\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 78777 = $787.77)\"),\n currency: z.string().describe(\"ISO 4217 currency code for the cart (e.g., USD, EUR, GBP)\"),\n products: z.array(z.object({\n price: z.number().int().describe(\"Current price of the product in cents (e.g., 78777 = $787.77)\"),\n title: z.string().describe(\"Name or title of the product\"),\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 this product in the cart\"),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Unique identifier of the product variant\"),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Description of the product\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n})).describe(\"List of products in the cart\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the cart was created\").optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the cart was last updated\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to restore the cart, used for abandoned cart recovery\").optional(),\n});\nexport const OmnisendReplaceCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the replaced cart\"),\n});\n\nexport const omnisendReplaceCart = action(\"OMNISEND_REPLACE_CART\", {\n slug: \"omnisend-replace-cart\",\n name: \"Replace Cart\",\n description: \"Tool to replace an existing cart in Omnisend using the v3 API. Use when you need to completely replace all cart data including products, pricing, and recovery URL.\",\n input: OmnisendReplaceCartInput,\n output: OmnisendReplaceCartOutput,\n});\n"],"mappings":";;AA6BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACzF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;GAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;GACzD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;GACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;GAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACzF,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B;EACzC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7G,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"replace-cart.mjs","names":[],"sources":["../../src/actions/replace-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to replace\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 78777 = $787.77)\"),\n currency: z.string().describe(\"ISO 4217 currency code for the cart (e.g., USD, EUR, GBP)\"),\n products: z.array(z.object({\n price: z.number().int().describe(\"Current price of the product in cents (e.g., 78777 = $787.77)\"),\n title: z.string().describe(\"Name or title of the product\"),\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 this product in the cart\"),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Unique identifier of the product variant\"),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Description of the product\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n})).describe(\"List of products in the cart\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the cart was created\").optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the cart was last updated\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to restore the cart, used for abandoned cart recovery\").optional(),\n});\nexport const OmnisendReplaceCartOutput = z.object({\n cartID: z.string().describe(\"Unique identifier of the replaced cart\").nullable(),\n});\n\nexport const omnisendReplaceCart = action(\"OMNISEND_REPLACE_CART\", {\n slug: \"omnisend-replace-cart\",\n name: \"Replace Cart\",\n description: \"Tool to replace an existing cart in Omnisend using the v3 API. Use when you need to completely replace all cart data including products, pricing, and recovery URL.\",\n input: OmnisendReplaceCartInput,\n output: OmnisendReplaceCartOutput,\n});\n"],"mappings":";;AA6BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDA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cjs","names":["z","action"],"sources":["../../src/actions/replace-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCategoryInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New title for the category\"),\n categoryID: z.string().describe(\"Unique identifier of the category to replace\"),\n});\nexport const OmnisendReplaceCategoryOutput: z.ZodTypeAny = z.object({\n categoryID: z.string().describe(\"Unique identifier of the replaced category\").nullable().optional(),\n});\n\nexport const omnisendReplaceCategory = action(\"OMNISEND_REPLACE_CATEGORY\", {\n slug: \"omnisend-replace-category\",\n name: \"Replace Category\",\n description: \"Tool to replace a category's title by ID. Use when you need to update an entire category resource.\",\n input: OmnisendReplaceCategoryInput,\n output: OmnisendReplaceCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"replace-category.cjs","names":["z","action"],"sources":["../../src/actions/replace-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCategoryInput = z.object({\n title: z.string().describe(\"New title for the category\"),\n categoryID: z.string().describe(\"Unique identifier of the category to replace\"),\n});\nexport const OmnisendReplaceCategoryOutput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the replaced category\").nullable().optional(),\n});\n\nexport const omnisendReplaceCategory = action(\"OMNISEND_REPLACE_CATEGORY\", {\n slug: \"omnisend-replace-category\",\n name: \"Replace Category\",\n description: \"Tool to replace a category's title by ID. Use when you need to update an entire category resource.\",\n input: OmnisendReplaceCategoryInput,\n output: OmnisendReplaceCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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/replace-category.d.ts
4
- declare const OmnisendReplaceCategoryInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCategoryOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCategoryInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ categoryID: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OmnisendReplaceCategoryOutput: z.ZodObject<{
9
+ categoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const omnisendReplaceCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ title: string;
13
+ categoryID: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { omnisendReplaceCategory };
9
17
  //# sourceMappingURL=replace-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-category.d.cts","names":[],"sources":["../../src/actions/replace-category.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-category.d.cts","names":[],"sources":["../../src/actions/replace-category.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/replace-category.d.ts
4
- declare const OmnisendReplaceCategoryInput: z.ZodTypeAny;
5
- declare const OmnisendReplaceCategoryOutput: z.ZodTypeAny;
6
- declare const omnisendReplaceCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendReplaceCategoryInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ categoryID: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OmnisendReplaceCategoryOutput: z.ZodObject<{
9
+ categoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const omnisendReplaceCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ title: string;
13
+ categoryID: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { omnisendReplaceCategory };
9
17
  //# sourceMappingURL=replace-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-category.d.mts","names":[],"sources":["../../src/actions/replace-category.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"replace-category.d.mts","names":[],"sources":["../../src/actions/replace-category.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"replace-category.mjs","names":[],"sources":["../../src/actions/replace-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCategoryInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New title for the category\"),\n categoryID: z.string().describe(\"Unique identifier of the category to replace\"),\n});\nexport const OmnisendReplaceCategoryOutput: z.ZodTypeAny = z.object({\n categoryID: z.string().describe(\"Unique identifier of the replaced category\").nullable().optional(),\n});\n\nexport const omnisendReplaceCategory = action(\"OMNISEND_REPLACE_CATEGORY\", {\n slug: \"omnisend-replace-category\",\n name: \"Replace Category\",\n description: \"Tool to replace a category's title by ID. Use when you need to update an entire category resource.\",\n input: OmnisendReplaceCategoryInput,\n output: OmnisendReplaceCategoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CASS;CACP,QATyD,EAAE,OAAO,EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"replace-category.mjs","names":[],"sources":["../../src/actions/replace-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceCategoryInput = z.object({\n title: z.string().describe(\"New title for the category\"),\n categoryID: z.string().describe(\"Unique identifier of the category to replace\"),\n});\nexport const OmnisendReplaceCategoryOutput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the replaced category\").nullable().optional(),\n});\n\nexport const omnisendReplaceCategory = action(\"OMNISEND_REPLACE_CATEGORY\", {\n slug: \"omnisend-replace-category\",\n name: \"Replace Category\",\n description: \"Tool to replace a category's title by ID. Use when you need to update an entire category resource.\",\n input: OmnisendReplaceCategoryInput,\n output: OmnisendReplaceCategoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAOU;AACV,CAAC"}
@@ -69,7 +69,7 @@ const OmnisendReplaceOrderInput = zod.z.object({
69
69
  const OmnisendReplaceOrderOutput = zod.z.object({
70
70
  email: zod.z.string().describe("Email address associated with the order").nullable().optional(),
71
71
  phone: zod.z.string().describe("Phone number associated with the order").nullable().optional(),
72
- orderID: zod.z.string().describe("Unique identifier of the replaced order")
72
+ orderID: zod.z.string().describe("Unique identifier of the replaced order").nullable()
73
73
  });
74
74
  const omnisendReplaceOrder = require_action.action("OMNISEND_REPLACE_ORDER", {
75
75
  slug: "omnisend-replace-order",
@@ -1 +1 @@
1
- {"version":3,"file":"replace-order.cjs","names":["z","action"],"sources":["../../src/actions/replace-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceOrderInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the order\").optional(),\n cartID: z.string().describe(\"Identifier of the cart that led to this order\").optional(),\n source: z.string().describe(\"Source of the order (e.g., 'web', 'mobile')\").optional(),\n taxSum: z.number().int().describe(\"Total tax amount in smallest currency unit\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to replace\"),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\"),\n orderSum: z.number().int().describe(\"Total order amount in the smallest currency unit (e.g., cents)\"),\n orderUrl: z.string().describe(\"URL to view the order\").optional(),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit code\").optional(),\n price: z.number().int().describe(\"Price per unit in the smallest currency unit (e.g., cents)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in the smallest currency unit (e.g., cents)\").optional(),\n imageUrl: z.string().describe(\"URL of the product image\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the order\").optional(),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Product variant identifier (required by API)\"),\n productUrl: z.string().describe(\"URL of the product page\").optional(),\n}).describe(\"Product information for order line items.\")).describe(\"List of products in the order\").optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the order was created\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the order was last updated\").optional(),\n courierUrl: z.string().describe(\"URL for courier tracking\").optional(),\n contactNote: z.string().describe(\"Notes about the customer\").optional(),\n discountSum: z.number().int().describe(\"Total discount amount in smallest currency unit\").optional(),\n orderNumber: z.number().int().describe(\"Human-readable order number\").optional(),\n shippingSum: z.number().int().describe(\"Shipping cost in smallest currency unit\").optional(),\n subTotalSum: z.number().int().describe(\"Subtotal before taxes and shipping in smallest currency unit\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation if applicable\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 timestamp when the order was canceled\").optional(),\n courierTitle: z.string().describe(\"Name of the shipping courier\").optional(),\n discountCode: z.string().describe(\"Discount or coupon code applied\").optional(),\n discountType: z.string().describe(\"Type of discount (e.g., 'percentage', 'fixed')\").optional(),\n trackingCode: z.string().describe(\"Shipment tracking code\").optional(),\n discountValue: z.number().int().describe(\"Discount value (percentage or fixed amount)\").optional(),\n paymentMethod: z.string().describe(\"Payment method used (e.g., 'credit_card', 'paypal')\").optional(),\n paymentStatus: z.string().describe(\"Payment status. Available values: awaitingPayment, partiallyPaid, paid, partiallyRefunded, refunded, voided\").optional(),\n billingAddress: z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n lastName: z.string().describe(\"Last name of the billing contact\").optional(),\n firstName: z.string().describe(\"First name of the billing contact\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n}).describe(\"Billing address information for the order.\").optional(),\n shippingMethod: z.string().describe(\"Shipping method used\").optional(),\n shippingAddress: z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n lastName: z.string().describe(\"Last name of the shipping contact\").optional(),\n firstName: z.string().describe(\"First name of the shipping contact\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n}).describe(\"Shipping address information for the order.\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status (e.g., 'fulfilled', 'unfulfilled', 'partially_fulfilled')\").optional(),\n subTotalTaxIncluded: z.boolean().describe(\"Whether subtotal includes tax\").optional(),\n});\nexport const OmnisendReplaceOrderOutput: z.ZodTypeAny = 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 replaced order\"),\n});\n\nexport const omnisendReplaceOrder = action(\"OMNISEND_REPLACE_ORDER\", {\n slug: \"omnisend-replace-order\",\n name: \"Replace Order\",\n description: \"Tool to completely replace an existing order in Omnisend. Use when you need to update all order details at once, replacing the entire order record.\",\n input: OmnisendReplaceOrderInput,\n output: OmnisendReplaceOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,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AC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAChI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtF,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACxE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"replace-order.cjs","names":["z","action"],"sources":["../../src/actions/replace-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceOrderInput = z.object({\n tags: z.array(z.string()).describe(\"Tags associated with the order\").optional(),\n cartID: z.string().describe(\"Identifier of the cart that led to this order\").optional(),\n source: z.string().describe(\"Source of the order (e.g., 'web', 'mobile')\").optional(),\n taxSum: z.number().int().describe(\"Total tax amount in smallest currency unit\").optional(),\n orderID: z.string().describe(\"Unique identifier of the order to replace\"),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\"),\n orderSum: z.number().int().describe(\"Total order amount in the smallest currency unit (e.g., cents)\"),\n orderUrl: z.string().describe(\"URL to view the order\").optional(),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit code\").optional(),\n price: z.number().int().describe(\"Price per unit in the smallest currency unit (e.g., cents)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in the smallest currency unit (e.g., cents)\").optional(),\n imageUrl: z.string().describe(\"URL of the product image\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the order\").optional(),\n productID: z.string().describe(\"Unique identifier of the product\"),\n variantID: z.string().describe(\"Product variant identifier (required by API)\"),\n productUrl: z.string().describe(\"URL of the product page\").optional(),\n}).describe(\"Product information for order line items.\")).describe(\"List of products in the order\").optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the order was created\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the order was last updated\").optional(),\n courierUrl: z.string().describe(\"URL for courier tracking\").optional(),\n contactNote: z.string().describe(\"Notes about the customer\").optional(),\n discountSum: z.number().int().describe(\"Total discount amount in smallest currency unit\").optional(),\n orderNumber: z.number().int().describe(\"Human-readable order number\").optional(),\n shippingSum: z.number().int().describe(\"Shipping cost in smallest currency unit\").optional(),\n subTotalSum: z.number().int().describe(\"Subtotal before taxes and shipping in smallest currency unit\").optional(),\n cancelReason: z.string().describe(\"Reason for order cancellation if applicable\").optional(),\n canceledDate: z.string().describe(\"ISO 8601 timestamp when the order was canceled\").optional(),\n courierTitle: z.string().describe(\"Name of the shipping courier\").optional(),\n discountCode: z.string().describe(\"Discount or coupon code applied\").optional(),\n discountType: z.string().describe(\"Type of discount (e.g., 'percentage', 'fixed')\").optional(),\n trackingCode: z.string().describe(\"Shipment tracking code\").optional(),\n discountValue: z.number().int().describe(\"Discount value (percentage or fixed amount)\").optional(),\n paymentMethod: z.string().describe(\"Payment method used (e.g., 'credit_card', 'paypal')\").optional(),\n paymentStatus: z.string().describe(\"Payment status. Available values: awaitingPayment, partiallyPaid, paid, partiallyRefunded, refunded, voided\").optional(),\n billingAddress: z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n lastName: z.string().describe(\"Last name of the billing contact\").optional(),\n firstName: z.string().describe(\"First name of the billing contact\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n}).describe(\"Billing address information for the order.\").optional(),\n shippingMethod: z.string().describe(\"Shipping method used\").optional(),\n shippingAddress: z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n lastName: z.string().describe(\"Last name of the shipping contact\").optional(),\n firstName: z.string().describe(\"First name of the shipping contact\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n}).describe(\"Shipping address information for the order.\").optional(),\n fulfillmentStatus: z.string().describe(\"Fulfillment status (e.g., 'fulfilled', 'unfulfilled', 'partially_fulfilled')\").optional(),\n subTotalTaxIncluded: z.boolean().describe(\"Whether subtotal includes tax\").optional(),\n});\nexport const OmnisendReplaceOrderOutput = 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 replaced order\").nullable(),\n});\n\nexport const omnisendReplaceOrder = action(\"OMNISEND_REPLACE_ORDER\", {\n slug: \"omnisend-replace-order\",\n name: \"Replace Order\",\n description: \"Tool to completely replace an existing order in Omnisend. Use when you need to update all order details at once, replacing the entire order record.\",\n input: OmnisendReplaceOrderInput,\n output: OmnisendReplaceOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC5G,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