@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,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-event.d.ts
4
- declare const OmnisendSendEventInput: z.ZodTypeAny;
5
- declare const OmnisendSendEventOutput: z.ZodTypeAny;
6
- declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendSendEventInput: z.ZodObject<{
5
+ origin: z.ZodString;
6
+ contact: z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodString>;
8
+ city: z.ZodOptional<z.ZodString>;
9
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ email: z.ZodOptional<z.ZodString>;
11
+ phone: z.ZodOptional<z.ZodString>;
12
+ state: z.ZodOptional<z.ZodString>;
13
+ gender: z.ZodOptional<z.ZodString>;
14
+ address: z.ZodOptional<z.ZodString>;
15
+ country: z.ZodOptional<z.ZodString>;
16
+ lastName: z.ZodOptional<z.ZodString>;
17
+ birthdate: z.ZodOptional<z.ZodString>;
18
+ firstName: z.ZodOptional<z.ZodString>;
19
+ postalCode: z.ZodOptional<z.ZodString>;
20
+ countryCode: z.ZodOptional<z.ZodString>;
21
+ customProperties: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ eventID: z.ZodOptional<z.ZodString>;
24
+ eventName: z.ZodString;
25
+ eventTime: z.ZodOptional<z.ZodString>;
26
+ properties: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
27
+ eventVersion: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ declare const OmnisendSendEventOutput: z.ZodObject<{
30
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ eventID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$strip>;
33
+ declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ origin: string;
35
+ contact: {
36
+ id?: string | undefined;
37
+ city?: string | undefined;
38
+ tags?: string[] | undefined;
39
+ email?: string | undefined;
40
+ phone?: string | undefined;
41
+ state?: string | undefined;
42
+ gender?: string | undefined;
43
+ address?: string | undefined;
44
+ country?: string | undefined;
45
+ lastName?: string | undefined;
46
+ birthdate?: string | undefined;
47
+ firstName?: string | undefined;
48
+ postalCode?: string | undefined;
49
+ countryCode?: string | undefined;
50
+ customProperties?: Record<string, never> | undefined;
51
+ };
52
+ eventName: string;
53
+ eventID?: string | undefined;
54
+ eventTime?: string | undefined;
55
+ properties?: Record<string, never> | undefined;
56
+ eventVersion?: string | undefined;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { omnisendSendEvent };
9
60
  //# sourceMappingURL=send-event.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.d.cts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAwBgC;AAAA,cAC1D,uBAAA,EAAyB,CAAA,CAAE,UAGa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"send-event.d.cts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAyBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;;;;;;uBAM5B,MAAA;EAAA;;;;eAAA,MAAA"}
@@ -1,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-event.d.ts
4
- declare const OmnisendSendEventInput: z.ZodTypeAny;
5
- declare const OmnisendSendEventOutput: z.ZodTypeAny;
6
- declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendSendEventInput: z.ZodObject<{
5
+ origin: z.ZodString;
6
+ contact: z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodString>;
8
+ city: z.ZodOptional<z.ZodString>;
9
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ email: z.ZodOptional<z.ZodString>;
11
+ phone: z.ZodOptional<z.ZodString>;
12
+ state: z.ZodOptional<z.ZodString>;
13
+ gender: z.ZodOptional<z.ZodString>;
14
+ address: z.ZodOptional<z.ZodString>;
15
+ country: z.ZodOptional<z.ZodString>;
16
+ lastName: z.ZodOptional<z.ZodString>;
17
+ birthdate: z.ZodOptional<z.ZodString>;
18
+ firstName: z.ZodOptional<z.ZodString>;
19
+ postalCode: z.ZodOptional<z.ZodString>;
20
+ countryCode: z.ZodOptional<z.ZodString>;
21
+ customProperties: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ eventID: z.ZodOptional<z.ZodString>;
24
+ eventName: z.ZodString;
25
+ eventTime: z.ZodOptional<z.ZodString>;
26
+ properties: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
27
+ eventVersion: z.ZodOptional<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ declare const OmnisendSendEventOutput: z.ZodObject<{
30
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ eventID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$strip>;
33
+ declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ origin: string;
35
+ contact: {
36
+ id?: string | undefined;
37
+ city?: string | undefined;
38
+ tags?: string[] | undefined;
39
+ email?: string | undefined;
40
+ phone?: string | undefined;
41
+ state?: string | undefined;
42
+ gender?: string | undefined;
43
+ address?: string | undefined;
44
+ country?: string | undefined;
45
+ lastName?: string | undefined;
46
+ birthdate?: string | undefined;
47
+ firstName?: string | undefined;
48
+ postalCode?: string | undefined;
49
+ countryCode?: string | undefined;
50
+ customProperties?: Record<string, never> | undefined;
51
+ };
52
+ eventName: string;
53
+ eventID?: string | undefined;
54
+ eventTime?: string | undefined;
55
+ properties?: Record<string, never> | undefined;
56
+ eventVersion?: string | undefined;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { omnisendSendEvent };
9
60
  //# sourceMappingURL=send-event.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.d.mts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAwBgC;AAAA,cAC1D,uBAAA,EAAyB,CAAA,CAAE,UAGa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"send-event.d.mts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAyBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;;;;;;uBAM5B,MAAA;EAAA;;;;eAAA,MAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.mjs","names":[],"sources":["../../src/actions/send-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendSendEventInput: z.ZodTypeAny = z.object({\n origin: z.string().describe(\"Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values.\"),\n contact: z.object({\n id: z.string().describe(\"Contact ID from Omnisend\").optional(),\n city: z.string().describe(\"City name\").optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Contact email address\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n gender: z.string().describe(\"Contact's gender\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Full country name\").optional(),\n lastName: z.string().describe(\"Contact's last name\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n firstName: z.string().describe(\"Contact's first name\").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 customProperties: z.object({}).describe(\"Custom properties for the contact\").optional(),\n}).describe(\"Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required.\"),\n eventID: z.string().describe(\"UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.\").optional(),\n eventName: z.string().describe(\"Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names.\"),\n eventTime: z.string().describe(\"Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.\").optional(),\n properties: z.object({}).describe(\"Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.\").optional(),\n eventVersion: z.string().describe(\"Event version string. Check event documentation for required version for each event. Leave empty for custom events.\").optional(),\n}).describe(\"Request schema for sending a customer event to Omnisend.\");\nexport const OmnisendSendEventOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the event submission\").nullable().optional(),\n eventID: z.string().describe(\"UUID of the event that was created or processed\").nullable().optional(),\n}).describe(\"Response schema for send event action.\");\n\nexport const omnisendSendEvent = action(\"OMNISEND_SEND_EVENT\", {\n slug: \"omnisend-send-event\",\n name: \"Send Event\",\n description: \"Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.\",\n input: OmnisendSendEventInput,\n output: OmnisendSendEventOutput,\n});\n"],"mappings":";;AAkCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;EAC5J,SAAS,EAAE,OAAO;GAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC7D,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AAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACrL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,0DAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"send-event.mjs","names":[],"sources":["../../src/actions/send-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendSendEventInput = z.object({\n origin: z.string().describe(\"Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values.\"),\n contact: z.object({\n id: z.string().describe(\"Contact ID from Omnisend\").optional(),\n city: z.string().describe(\"City name\").optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Contact email address\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n gender: z.string().describe(\"Contact's gender\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Full country name\").optional(),\n lastName: z.string().describe(\"Contact's last name\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n firstName: z.string().describe(\"Contact's first name\").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 customProperties: z.object({}).describe(\"Custom properties for the contact\").optional(),\n}).describe(\"Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required.\"),\n eventID: z.string().describe(\"UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.\").optional(),\n eventName: z.string().describe(\"Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names.\"),\n eventTime: z.string().describe(\"Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.\").optional(),\n properties: z.object({}).describe(\"Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.\").optional(),\n eventVersion: z.string().describe(\"Event version string. Check event documentation for required version for each event. Leave empty for custom events.\").optional(),\n}).describe(\"Request schema for sending a customer event to Omnisend.\");\nexport const OmnisendSendEventOutput = z.object({\n status: z.string().describe(\"Status of the event submission\").nullable().optional(),\n eventID: z.string().describe(\"UUID of the event that was created or processed\").nullable().optional(),\n}).describe(\"Response schema for send event action.\");\n\nexport const omnisendSendEvent = action(\"OMNISEND_SEND_EVENT\", {\n slug: \"omnisend-send-event\",\n name: \"Send Event\",\n description: \"Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.\",\n input: OmnisendSendEventInput,\n output: OmnisendSendEventOutput,\n});\n"],"mappings":";;AAkCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;EAC5J,SAAS,EAAE,OAAO;GAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;GAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC7D,OAAO,EAAE,OAAO,CAAC,CAAC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AgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -18,10 +18,10 @@ const OmnisendUpdateCartProductInput = zod.z.object({
18
18
  cart_product_id: zod.z.string().describe("Unique identifier of the product in the cart to update.")
19
19
  });
20
20
  const OmnisendUpdateCartProductOutput = 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 omnisendUpdateCartProduct = require_action.action("OMNISEND_UPDATE_CART_PRODUCT", {
27
27
  slug: "omnisend-update-cart-product",
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput: 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 omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACpF,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput = 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 omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,C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AC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-cart-product.d.ts
4
- declare const OmnisendUpdateCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendUpdateCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendUpdateCartProductInput: z.ZodObject<{
5
+ sku: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodOptional<z.ZodNumber>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ cart_id: z.ZodString;
9
+ currency: z.ZodString;
10
+ discount: z.ZodOptional<z.ZodNumber>;
11
+ quantity: z.ZodOptional<z.ZodNumber>;
12
+ image_url: z.ZodOptional<z.ZodString>;
13
+ old_price: z.ZodOptional<z.ZodNumber>;
14
+ product_id: z.ZodOptional<z.ZodString>;
15
+ variant_id: z.ZodOptional<z.ZodString>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ product_url: z.ZodOptional<z.ZodString>;
18
+ cart_product_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const OmnisendUpdateCartProductOutput: 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 omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ cart_id: string;
28
+ currency: string;
29
+ cart_product_id: string;
30
+ sku?: string | undefined;
31
+ price?: number | undefined;
32
+ title?: string | undefined;
33
+ discount?: number | undefined;
34
+ quantity?: number | undefined;
35
+ image_url?: string | undefined;
36
+ old_price?: number | undefined;
37
+ product_id?: string | undefined;
38
+ variant_id?: string | undefined;
39
+ description?: string | undefined;
40
+ product_url?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { omnisendUpdateCartProduct };
9
44
  //# sourceMappingURL=update-cart-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart-product.d.cts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-cart-product.d.cts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-cart-product.d.ts
4
- declare const OmnisendUpdateCartProductInput: z.ZodTypeAny;
5
- declare const OmnisendUpdateCartProductOutput: z.ZodTypeAny;
6
- declare const omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendUpdateCartProductInput: z.ZodObject<{
5
+ sku: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodOptional<z.ZodNumber>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ cart_id: z.ZodString;
9
+ currency: z.ZodString;
10
+ discount: z.ZodOptional<z.ZodNumber>;
11
+ quantity: z.ZodOptional<z.ZodNumber>;
12
+ image_url: z.ZodOptional<z.ZodString>;
13
+ old_price: z.ZodOptional<z.ZodNumber>;
14
+ product_id: z.ZodOptional<z.ZodString>;
15
+ variant_id: z.ZodOptional<z.ZodString>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ product_url: z.ZodOptional<z.ZodString>;
18
+ cart_product_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const OmnisendUpdateCartProductOutput: 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 omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ cart_id: string;
28
+ currency: string;
29
+ cart_product_id: string;
30
+ sku?: string | undefined;
31
+ price?: number | undefined;
32
+ title?: string | undefined;
33
+ discount?: number | undefined;
34
+ quantity?: number | undefined;
35
+ image_url?: string | undefined;
36
+ old_price?: number | undefined;
37
+ product_id?: string | undefined;
38
+ variant_id?: string | undefined;
39
+ description?: string | undefined;
40
+ product_url?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { omnisendUpdateCartProduct };
9
44
  //# sourceMappingURL=update-cart-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart-product.d.mts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-cart-product.d.mts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA"}
@@ -21,10 +21,10 @@ const omnisendUpdateCartProduct = action("OMNISEND_UPDATE_CART_PRODUCT", {
21
21
  cart_product_id: z.string().describe("Unique identifier of the product in the cart to update.")
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":"update-cart-product.mjs","names":[],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput: 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 omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAYS;CACP,QAZ2D,EAAE,OAAO;EACpE,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":"update-cart-product.mjs","names":[],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput = 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 omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAYS;CACP,QAZ6C,EAAE,OAAO;EACtD,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"}
@@ -21,7 +21,7 @@ const OmnisendUpdateCartInput = zod.z.object({
21
21
  })).describe("List of products in the cart").optional(),
22
22
  cartRecoveryUrl: zod.z.string().describe("URL to recover the cart").optional()
23
23
  });
24
- const OmnisendUpdateCartOutput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the updated cart") });
24
+ const OmnisendUpdateCartOutput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the updated cart").nullable() });
25
25
  const omnisendUpdateCart = require_action.action("OMNISEND_UPDATE_CART", {
26
26
  slug: "omnisend-update-cart",
27
27
  name: "Update Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart.cjs","names":["z","action"],"sources":["../../src/actions/update-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartInput: z.ZodTypeAny = 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})).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\"),\n});\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":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;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M;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-cart.cjs","names":["z","action"],"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})).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});\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":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACr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iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-cart.d.ts
4
- declare const OmnisendUpdateCartInput: z.ZodTypeAny;
5
- declare const OmnisendUpdateCartOutput: z.ZodTypeAny;
6
- declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendUpdateCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ cartSum: z.ZodNumber;
7
+ currency: z.ZodString;
8
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ sku: z.ZodOptional<z.ZodString>;
10
+ price: z.ZodOptional<z.ZodNumber>;
11
+ title: z.ZodOptional<z.ZodString>;
12
+ discount: z.ZodOptional<z.ZodNumber>;
13
+ imageUrl: z.ZodOptional<z.ZodString>;
14
+ oldPrice: z.ZodOptional<z.ZodNumber>;
15
+ quantity: z.ZodOptional<z.ZodNumber>;
16
+ productID: z.ZodOptional<z.ZodString>;
17
+ variantID: z.ZodOptional<z.ZodString>;
18
+ productUrl: z.ZodOptional<z.ZodString>;
19
+ description: z.ZodOptional<z.ZodString>;
20
+ cartProductID: z.ZodString;
21
+ }, z.core.$strip>>>;
22
+ cartRecoveryUrl: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ declare const OmnisendUpdateCartOutput: z.ZodObject<{
25
+ cartID: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$strip>;
27
+ declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ cartID: string;
29
+ cartSum: number;
30
+ currency: string;
31
+ products?: {
32
+ cartProductID: string;
33
+ sku?: string | undefined;
34
+ price?: number | undefined;
35
+ title?: string | undefined;
36
+ discount?: number | undefined;
37
+ imageUrl?: string | undefined;
38
+ oldPrice?: number | undefined;
39
+ quantity?: number | undefined;
40
+ productID?: string | undefined;
41
+ variantID?: string | undefined;
42
+ productUrl?: string | undefined;
43
+ description?: string | undefined;
44
+ }[] | undefined;
45
+ cartRecoveryUrl?: string | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { omnisendUpdateCart };
9
49
  //# sourceMappingURL=update-cart.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-cart.d.cts","names":[],"sources":["../../src/actions/update-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAmBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-cart.d.cts","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,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-cart.d.ts
4
- declare const OmnisendUpdateCartInput: z.ZodTypeAny;
5
- declare const OmnisendUpdateCartOutput: z.ZodTypeAny;
6
- declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OmnisendUpdateCartInput: z.ZodObject<{
5
+ cartID: z.ZodString;
6
+ cartSum: z.ZodNumber;
7
+ currency: z.ZodString;
8
+ products: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ sku: z.ZodOptional<z.ZodString>;
10
+ price: z.ZodOptional<z.ZodNumber>;
11
+ title: z.ZodOptional<z.ZodString>;
12
+ discount: z.ZodOptional<z.ZodNumber>;
13
+ imageUrl: z.ZodOptional<z.ZodString>;
14
+ oldPrice: z.ZodOptional<z.ZodNumber>;
15
+ quantity: z.ZodOptional<z.ZodNumber>;
16
+ productID: z.ZodOptional<z.ZodString>;
17
+ variantID: z.ZodOptional<z.ZodString>;
18
+ productUrl: z.ZodOptional<z.ZodString>;
19
+ description: z.ZodOptional<z.ZodString>;
20
+ cartProductID: z.ZodString;
21
+ }, z.core.$strip>>>;
22
+ cartRecoveryUrl: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ declare const OmnisendUpdateCartOutput: z.ZodObject<{
25
+ cartID: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$strip>;
27
+ declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ cartID: string;
29
+ cartSum: number;
30
+ currency: string;
31
+ products?: {
32
+ cartProductID: string;
33
+ sku?: string | undefined;
34
+ price?: number | undefined;
35
+ title?: string | undefined;
36
+ discount?: number | undefined;
37
+ imageUrl?: string | undefined;
38
+ oldPrice?: number | undefined;
39
+ quantity?: number | undefined;
40
+ productID?: string | undefined;
41
+ variantID?: string | undefined;
42
+ productUrl?: string | undefined;
43
+ description?: string | undefined;
44
+ }[] | undefined;
45
+ cartRecoveryUrl?: string | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { omnisendUpdateCart };
9
49
  //# 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,EAAyB,CAAA,CAAE,UAmBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -24,7 +24,7 @@ const omnisendUpdateCart = action("OMNISEND_UPDATE_CART", {
24
24
  })).describe("List of products in the cart").optional(),
25
25
  cartRecoveryUrl: z.string().describe("URL to recover the cart").optional()
26
26
  }),
27
- output: z.object({ cartID: z.string().describe("Unique identifier of the updated cart") })
27
+ output: z.object({ cartID: z.string().describe("Unique identifier of the updated cart").nullable() })
28
28
  });
29
29
  //#endregion
30
30
  export { omnisendUpdateCart };
@@ -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.ZodTypeAny = 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})).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\"),\n});\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,OA5BmD,EAAE,OAAO;EAC5D,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,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACrD,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,qCAAqC,CAAC,CAAC,SAAS;GACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;GAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACpF,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CASS;CACP,QAToD,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAOU;AACV,CAAC"}
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})).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});\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,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACrD,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,qCAAqC,CAAC,CAAC,SAAS;GACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;GAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACpF,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CASS;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAOU;AACV,CAAC"}
@@ -44,7 +44,7 @@ const OmnisendUpdateContactOutput = zod.z.object({
44
44
  email: zod.z.string().describe("Email address of the updated contact").nullable().optional(),
45
45
  phone: zod.z.string().describe("Phone number of the updated contact").nullable().optional(),
46
46
  lastName: zod.z.string().describe("Last name of the updated contact").nullable().optional(),
47
- contactID: zod.z.string().describe("Unique identifier of the updated contact"),
47
+ contactID: zod.z.string().describe("Unique identifier of the updated contact").nullable(),
48
48
  firstName: zod.z.string().describe("First name of the updated contact").nullable().optional()
49
49
  });
50
50
  const omnisendUpdateContact = require_action.action("OMNISEND_UPDATE_CONTACT", {
@@ -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.ZodTypeAny = 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})).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.object({}).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.ZodTypeAny = 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\"),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n});\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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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;EAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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A,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAED,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 { 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})).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.object({}).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});\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;EAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS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