@keystrokehq/omnisend 0.1.2 → 0.1.4

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 (291) hide show
  1. package/dist/actions/add-cart-product.cjs +1 -1
  2. package/dist/actions/add-cart-product.cjs.map +1 -1
  3. package/dist/actions/add-cart-product.d.cts +14 -2
  4. package/dist/actions/add-cart-product.d.mts +14 -2
  5. package/dist/actions/add-cart-product.mjs +1 -1
  6. package/dist/actions/add-cart-product.mjs.map +1 -1
  7. package/dist/actions/create-batch.cjs +3 -3
  8. package/dist/actions/create-batch.cjs.map +1 -1
  9. package/dist/actions/create-batch.d.cts +18 -6
  10. package/dist/actions/create-batch.d.cts.map +1 -1
  11. package/dist/actions/create-batch.d.mts +18 -6
  12. package/dist/actions/create-batch.d.mts.map +1 -1
  13. package/dist/actions/create-batch.mjs +3 -3
  14. package/dist/actions/create-batch.mjs.map +1 -1
  15. package/dist/actions/create-cart.cjs +2 -2
  16. package/dist/actions/create-cart.cjs.map +1 -1
  17. package/dist/actions/create-cart.d.cts +16 -3
  18. package/dist/actions/create-cart.d.mts +16 -3
  19. package/dist/actions/create-cart.mjs +2 -2
  20. package/dist/actions/create-cart.mjs.map +1 -1
  21. package/dist/actions/create-category.cjs +1 -1
  22. package/dist/actions/create-category.cjs.map +1 -1
  23. package/dist/actions/create-category.d.cts +14 -2
  24. package/dist/actions/create-category.d.mts +14 -2
  25. package/dist/actions/create-category.mjs +1 -1
  26. package/dist/actions/create-category.mjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.cjs +2 -2
  28. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  29. package/dist/actions/create-or-update-contact.d.cts +16 -3
  30. package/dist/actions/create-or-update-contact.d.mts +16 -3
  31. package/dist/actions/create-or-update-contact.mjs +2 -2
  32. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  33. package/dist/actions/create-order.cjs +3 -3
  34. package/dist/actions/create-order.cjs.map +1 -1
  35. package/dist/actions/create-order.d.cts +18 -5
  36. package/dist/actions/create-order.d.cts.map +1 -1
  37. package/dist/actions/create-order.d.mts +18 -5
  38. package/dist/actions/create-order.d.mts.map +1 -1
  39. package/dist/actions/create-order.mjs +3 -3
  40. package/dist/actions/create-order.mjs.map +1 -1
  41. package/dist/actions/create-product-category.cjs +1 -1
  42. package/dist/actions/create-product-category.cjs.map +1 -1
  43. package/dist/actions/create-product-category.d.cts +14 -2
  44. package/dist/actions/create-product-category.d.mts +14 -2
  45. package/dist/actions/create-product-category.mjs +1 -1
  46. package/dist/actions/create-product-category.mjs.map +1 -1
  47. package/dist/actions/create-product.cjs +2 -2
  48. package/dist/actions/create-product.cjs.map +1 -1
  49. package/dist/actions/create-product.d.cts +16 -3
  50. package/dist/actions/create-product.d.mts +16 -3
  51. package/dist/actions/create-product.mjs +2 -2
  52. package/dist/actions/create-product.mjs.map +1 -1
  53. package/dist/actions/delete-cart.cjs +1 -1
  54. package/dist/actions/delete-cart.cjs.map +1 -1
  55. package/dist/actions/delete-cart.d.cts +14 -2
  56. package/dist/actions/delete-cart.d.cts.map +1 -1
  57. package/dist/actions/delete-cart.d.mts +14 -2
  58. package/dist/actions/delete-cart.d.mts.map +1 -1
  59. package/dist/actions/delete-cart.mjs +1 -1
  60. package/dist/actions/delete-cart.mjs.map +1 -1
  61. package/dist/actions/delete-category.cjs +1 -1
  62. package/dist/actions/delete-category.cjs.map +1 -1
  63. package/dist/actions/delete-category.d.cts +14 -2
  64. package/dist/actions/delete-category.d.cts.map +1 -1
  65. package/dist/actions/delete-category.d.mts +14 -2
  66. package/dist/actions/delete-category.d.mts.map +1 -1
  67. package/dist/actions/delete-category.mjs +1 -1
  68. package/dist/actions/delete-category.mjs.map +1 -1
  69. package/dist/actions/delete-order.cjs +1 -1
  70. package/dist/actions/delete-order.cjs.map +1 -1
  71. package/dist/actions/delete-order.d.cts +14 -2
  72. package/dist/actions/delete-order.d.cts.map +1 -1
  73. package/dist/actions/delete-order.d.mts +14 -2
  74. package/dist/actions/delete-order.d.mts.map +1 -1
  75. package/dist/actions/delete-order.mjs +1 -1
  76. package/dist/actions/delete-order.mjs.map +1 -1
  77. package/dist/actions/delete-product-category.cjs +1 -1
  78. package/dist/actions/delete-product-category.cjs.map +1 -1
  79. package/dist/actions/delete-product-category.d.cts +14 -2
  80. package/dist/actions/delete-product-category.d.cts.map +1 -1
  81. package/dist/actions/delete-product-category.d.mts +14 -2
  82. package/dist/actions/delete-product-category.d.mts.map +1 -1
  83. package/dist/actions/delete-product-category.mjs +1 -1
  84. package/dist/actions/delete-product-category.mjs.map +1 -1
  85. package/dist/actions/delete-product.cjs +1 -1
  86. package/dist/actions/delete-product.cjs.map +1 -1
  87. package/dist/actions/delete-product.d.cts +14 -2
  88. package/dist/actions/delete-product.d.cts.map +1 -1
  89. package/dist/actions/delete-product.d.mts +14 -2
  90. package/dist/actions/delete-product.d.mts.map +1 -1
  91. package/dist/actions/delete-product.mjs +1 -1
  92. package/dist/actions/delete-product.mjs.map +1 -1
  93. package/dist/actions/get-batch-information.cjs +1 -1
  94. package/dist/actions/get-batch-information.cjs.map +1 -1
  95. package/dist/actions/get-batch-information.d.cts +14 -2
  96. package/dist/actions/get-batch-information.d.mts +14 -2
  97. package/dist/actions/get-batch-information.mjs +1 -1
  98. package/dist/actions/get-batch-information.mjs.map +1 -1
  99. package/dist/actions/get-batch-item.cjs +1 -1
  100. package/dist/actions/get-batch-item.cjs.map +1 -1
  101. package/dist/actions/get-batch-item.d.cts +14 -2
  102. package/dist/actions/get-batch-item.d.mts +14 -2
  103. package/dist/actions/get-batch-item.mjs +1 -1
  104. package/dist/actions/get-batch-item.mjs.map +1 -1
  105. package/dist/actions/get-batch-items.cjs +2 -2
  106. package/dist/actions/get-batch-items.cjs.map +1 -1
  107. package/dist/actions/get-batch-items.d.cts +15 -3
  108. package/dist/actions/get-batch-items.d.mts +15 -3
  109. package/dist/actions/get-batch-items.mjs +2 -2
  110. package/dist/actions/get-batch-items.mjs.map +1 -1
  111. package/dist/actions/get-batches.cjs +3 -3
  112. package/dist/actions/get-batches.cjs.map +1 -1
  113. package/dist/actions/get-batches.d.cts +18 -6
  114. package/dist/actions/get-batches.d.mts +18 -6
  115. package/dist/actions/get-batches.mjs +3 -3
  116. package/dist/actions/get-batches.mjs.map +1 -1
  117. package/dist/actions/get-brand.cjs +1 -1
  118. package/dist/actions/get-brand.cjs.map +1 -1
  119. package/dist/actions/get-brand.d.cts +14 -2
  120. package/dist/actions/get-brand.d.cts.map +1 -1
  121. package/dist/actions/get-brand.d.mts +14 -2
  122. package/dist/actions/get-brand.d.mts.map +1 -1
  123. package/dist/actions/get-brand.mjs +1 -1
  124. package/dist/actions/get-brand.mjs.map +1 -1
  125. package/dist/actions/get-cart.cjs +2 -2
  126. package/dist/actions/get-cart.cjs.map +1 -1
  127. package/dist/actions/get-cart.d.cts +15 -3
  128. package/dist/actions/get-cart.d.mts +15 -3
  129. package/dist/actions/get-cart.mjs +2 -2
  130. package/dist/actions/get-cart.mjs.map +1 -1
  131. package/dist/actions/get-category.cjs +1 -1
  132. package/dist/actions/get-category.cjs.map +1 -1
  133. package/dist/actions/get-category.d.cts +14 -2
  134. package/dist/actions/get-category.d.mts +14 -2
  135. package/dist/actions/get-category.mjs +1 -1
  136. package/dist/actions/get-category.mjs.map +1 -1
  137. package/dist/actions/get-contact.cjs +6 -6
  138. package/dist/actions/get-contact.cjs.map +1 -1
  139. package/dist/actions/get-contact.d.cts +19 -7
  140. package/dist/actions/get-contact.d.mts +19 -7
  141. package/dist/actions/get-contact.mjs +6 -6
  142. package/dist/actions/get-contact.mjs.map +1 -1
  143. package/dist/actions/get-order.cjs +3 -3
  144. package/dist/actions/get-order.cjs.map +1 -1
  145. package/dist/actions/get-order.d.cts +17 -5
  146. package/dist/actions/get-order.d.mts +17 -5
  147. package/dist/actions/get-order.mjs +3 -3
  148. package/dist/actions/get-order.mjs.map +1 -1
  149. package/dist/actions/get-product-category.cjs +1 -1
  150. package/dist/actions/get-product-category.cjs.map +1 -1
  151. package/dist/actions/get-product-category.d.cts +14 -2
  152. package/dist/actions/get-product-category.d.mts +14 -2
  153. package/dist/actions/get-product-category.mjs +1 -1
  154. package/dist/actions/get-product-category.mjs.map +1 -1
  155. package/dist/actions/get-product.cjs +2 -2
  156. package/dist/actions/get-product.cjs.map +1 -1
  157. package/dist/actions/get-product.d.cts +15 -3
  158. package/dist/actions/get-product.d.mts +15 -3
  159. package/dist/actions/get-product.mjs +2 -2
  160. package/dist/actions/get-product.mjs.map +1 -1
  161. package/dist/actions/list-campaigns.cjs +5 -5
  162. package/dist/actions/list-campaigns.cjs.map +1 -1
  163. package/dist/actions/list-campaigns.d.cts +18 -6
  164. package/dist/actions/list-campaigns.d.mts +18 -6
  165. package/dist/actions/list-campaigns.mjs +5 -5
  166. package/dist/actions/list-campaigns.mjs.map +1 -1
  167. package/dist/actions/list-carts.cjs +3 -3
  168. package/dist/actions/list-carts.cjs.map +1 -1
  169. package/dist/actions/list-carts.d.cts +16 -4
  170. package/dist/actions/list-carts.d.mts +16 -4
  171. package/dist/actions/list-carts.mjs +3 -3
  172. package/dist/actions/list-carts.mjs.map +1 -1
  173. package/dist/actions/list-categories.cjs +3 -3
  174. package/dist/actions/list-categories.cjs.map +1 -1
  175. package/dist/actions/list-categories.d.cts +16 -4
  176. package/dist/actions/list-categories.d.mts +16 -4
  177. package/dist/actions/list-categories.mjs +3 -3
  178. package/dist/actions/list-categories.mjs.map +1 -1
  179. package/dist/actions/list-contacts.cjs +7 -7
  180. package/dist/actions/list-contacts.cjs.map +1 -1
  181. package/dist/actions/list-contacts.d.cts +20 -8
  182. package/dist/actions/list-contacts.d.mts +20 -8
  183. package/dist/actions/list-contacts.mjs +7 -7
  184. package/dist/actions/list-contacts.mjs.map +1 -1
  185. package/dist/actions/list-events.cjs +3 -3
  186. package/dist/actions/list-events.cjs.map +1 -1
  187. package/dist/actions/list-events.d.cts +16 -4
  188. package/dist/actions/list-events.d.cts.map +1 -1
  189. package/dist/actions/list-events.d.mts +16 -4
  190. package/dist/actions/list-events.d.mts.map +1 -1
  191. package/dist/actions/list-events.mjs +3 -3
  192. package/dist/actions/list-events.mjs.map +1 -1
  193. package/dist/actions/list-product-categories.cjs +3 -3
  194. package/dist/actions/list-product-categories.cjs.map +1 -1
  195. package/dist/actions/list-product-categories.d.cts +16 -4
  196. package/dist/actions/list-product-categories.d.mts +16 -4
  197. package/dist/actions/list-product-categories.mjs +3 -3
  198. package/dist/actions/list-product-categories.mjs.map +1 -1
  199. package/dist/actions/list-products.cjs +4 -4
  200. package/dist/actions/list-products.cjs.map +1 -1
  201. package/dist/actions/list-products.d.cts +17 -5
  202. package/dist/actions/list-products.d.mts +17 -5
  203. package/dist/actions/list-products.mjs +4 -4
  204. package/dist/actions/list-products.mjs.map +1 -1
  205. package/dist/actions/remove-cart-product.cjs +1 -1
  206. package/dist/actions/remove-cart-product.cjs.map +1 -1
  207. package/dist/actions/remove-cart-product.d.cts +14 -2
  208. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  209. package/dist/actions/remove-cart-product.d.mts +14 -2
  210. package/dist/actions/remove-cart-product.d.mts.map +1 -1
  211. package/dist/actions/remove-cart-product.mjs +1 -1
  212. package/dist/actions/remove-cart-product.mjs.map +1 -1
  213. package/dist/actions/replace-cart-product.cjs +1 -1
  214. package/dist/actions/replace-cart-product.cjs.map +1 -1
  215. package/dist/actions/replace-cart-product.d.cts +14 -2
  216. package/dist/actions/replace-cart-product.d.mts +14 -2
  217. package/dist/actions/replace-cart-product.mjs +1 -1
  218. package/dist/actions/replace-cart-product.mjs.map +1 -1
  219. package/dist/actions/replace-cart.cjs +2 -2
  220. package/dist/actions/replace-cart.cjs.map +1 -1
  221. package/dist/actions/replace-cart.d.cts +16 -3
  222. package/dist/actions/replace-cart.d.mts +16 -3
  223. package/dist/actions/replace-cart.mjs +2 -2
  224. package/dist/actions/replace-cart.mjs.map +1 -1
  225. package/dist/actions/replace-category.cjs +1 -1
  226. package/dist/actions/replace-category.cjs.map +1 -1
  227. package/dist/actions/replace-category.d.cts +14 -2
  228. package/dist/actions/replace-category.d.mts +14 -2
  229. package/dist/actions/replace-category.mjs +1 -1
  230. package/dist/actions/replace-category.mjs.map +1 -1
  231. package/dist/actions/replace-order.cjs +2 -2
  232. package/dist/actions/replace-order.cjs.map +1 -1
  233. package/dist/actions/replace-order.d.cts +16 -3
  234. package/dist/actions/replace-order.d.mts +16 -3
  235. package/dist/actions/replace-order.mjs +2 -2
  236. package/dist/actions/replace-order.mjs.map +1 -1
  237. package/dist/actions/replace-product.cjs +2 -2
  238. package/dist/actions/replace-product.cjs.map +1 -1
  239. package/dist/actions/replace-product.d.cts +16 -3
  240. package/dist/actions/replace-product.d.mts +16 -3
  241. package/dist/actions/replace-product.mjs +2 -2
  242. package/dist/actions/replace-product.mjs.map +1 -1
  243. package/dist/actions/send-event.cjs +3 -3
  244. package/dist/actions/send-event.cjs.map +1 -1
  245. package/dist/actions/send-event.d.cts +18 -6
  246. package/dist/actions/send-event.d.cts.map +1 -1
  247. package/dist/actions/send-event.d.mts +18 -6
  248. package/dist/actions/send-event.d.mts.map +1 -1
  249. package/dist/actions/send-event.mjs +3 -3
  250. package/dist/actions/send-event.mjs.map +1 -1
  251. package/dist/actions/update-cart-product.cjs +1 -1
  252. package/dist/actions/update-cart-product.cjs.map +1 -1
  253. package/dist/actions/update-cart-product.d.cts +14 -2
  254. package/dist/actions/update-cart-product.d.mts +14 -2
  255. package/dist/actions/update-cart-product.mjs +1 -1
  256. package/dist/actions/update-cart-product.mjs.map +1 -1
  257. package/dist/actions/update-cart.cjs +2 -2
  258. package/dist/actions/update-cart.cjs.map +1 -1
  259. package/dist/actions/update-cart.d.cts +16 -3
  260. package/dist/actions/update-cart.d.mts +16 -3
  261. package/dist/actions/update-cart.mjs +2 -2
  262. package/dist/actions/update-cart.mjs.map +1 -1
  263. package/dist/actions/update-contact.cjs +3 -3
  264. package/dist/actions/update-contact.cjs.map +1 -1
  265. package/dist/actions/update-contact.d.cts +18 -5
  266. package/dist/actions/update-contact.d.cts.map +1 -1
  267. package/dist/actions/update-contact.d.mts +18 -5
  268. package/dist/actions/update-contact.d.mts.map +1 -1
  269. package/dist/actions/update-contact.mjs +3 -3
  270. package/dist/actions/update-contact.mjs.map +1 -1
  271. package/dist/actions/update-order-status.cjs +1 -1
  272. package/dist/actions/update-order-status.cjs.map +1 -1
  273. package/dist/actions/update-order-status.d.cts +14 -2
  274. package/dist/actions/update-order-status.d.mts +14 -2
  275. package/dist/actions/update-order-status.mjs +1 -1
  276. package/dist/actions/update-order-status.mjs.map +1 -1
  277. package/dist/actions/update-product-category.cjs +1 -1
  278. package/dist/actions/update-product-category.cjs.map +1 -1
  279. package/dist/actions/update-product-category.d.cts +14 -2
  280. package/dist/actions/update-product-category.d.mts +14 -2
  281. package/dist/actions/update-product-category.mjs +1 -1
  282. package/dist/actions/update-product-category.mjs.map +1 -1
  283. package/dist/app.cjs +5 -2
  284. package/dist/app.cjs.map +1 -1
  285. package/dist/app.d.cts +9 -1
  286. package/dist/app.d.cts.map +1 -1
  287. package/dist/app.d.mts +9 -1
  288. package/dist/app.d.mts.map +1 -1
  289. package/dist/app.mjs +3 -1
  290. package/dist/app.mjs.map +1 -1
  291. package/package.json +1 -1
@@ -13,7 +13,7 @@ const OmnisendGetBatches_PagingSchema = z.object({
13
13
  limit: z.number().int().nullable(),
14
14
  offset: z.number().int().nullable(),
15
15
  previous: z.string().nullable()
16
- });
16
+ }).passthrough();
17
17
  const OmnisendGetBatches_BatchSchema = z.object({
18
18
  method: z.string().describe("HTTP method used for the batch.").nullable(),
19
19
  origin: z.string().describe("Origin of the batch operation.").nullable(),
@@ -26,7 +26,7 @@ const OmnisendGetBatches_BatchSchema = z.object({
26
26
  totalCount: z.number().int().describe("Total number of items in the batch.").nullable(),
27
27
  errorsCount: z.number().int().describe("Number of items that encountered errors.").nullable(),
28
28
  finishedCount: z.number().int().describe("Number of items processed successfully.").nullable()
29
- }).describe("Represents a batch operation record in Omnisend.");
29
+ }).passthrough().describe("Represents a batch operation record in Omnisend.");
30
30
  const omnisendGetBatches = action("OMNISEND_GET_BATCHES", {
31
31
  slug: "omnisend-get-batches",
32
32
  name: "Get Batches",
@@ -35,7 +35,7 @@ const omnisendGetBatches = action("OMNISEND_GET_BATCHES", {
35
35
  output: z.object({
36
36
  paging: OmnisendGetBatches_PagingSchema.nullable().optional(),
37
37
  batches: z.array(OmnisendGetBatches_BatchSchema).describe("List of batch operations in the store.")
38
- }).describe("Response schema for retrieved batch operations.")
38
+ }).passthrough().describe("Response schema for retrieved batch operations.")
39
39
  });
40
40
  //#endregion
41
41
  export { omnisendGetBatches };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n});\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;CACpG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batches.mjs","names":[],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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ACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const OmnisendGetBrandOutput = zod.z.object({
10
10
  currency: zod.z.string().describe("Default currency code for the brand").nullable(),
11
11
  platform: zod.z.string().describe("E-commerce platform the brand is integrated with").nullable(),
12
12
  connected: zod.z.boolean().describe("Whether the brand is connected to the platform").nullable()
13
- }).describe("Response schema for brand information.");
13
+ }).passthrough().describe("Response schema for brand information.");
14
14
  const omnisendGetBrand = require_action.action("OMNISEND_GET_BRAND", {
15
15
  slug: "omnisend-get-brand",
16
16
  name: "Get Brand",
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AACpM,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.cjs","names":["z","action"],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI;AACpM,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,8 +10,20 @@ declare const OmnisendGetBrandOutput: z.ZodObject<{
10
10
  currency: z.ZodNullable<z.ZodString>;
11
11
  platform: z.ZodNullable<z.ZodString>;
12
12
  connected: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
14
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, z.core.$loose>;
14
+ declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { omnisendGetBrand };
17
29
  //# sourceMappingURL=get-brand.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.cts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
@@ -10,8 +10,20 @@ declare const OmnisendGetBrandOutput: z.ZodObject<{
10
10
  currency: z.ZodNullable<z.ZodString>;
11
11
  platform: z.ZodNullable<z.ZodString>;
12
12
  connected: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
14
- declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, z.core.$loose>;
14
+ declare const omnisendGetBrand: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { omnisendGetBrand };
17
29
  //# sourceMappingURL=get-brand.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-brand.d.mts","names":[],"sources":["../../src/actions/get-brand.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
@@ -13,7 +13,7 @@ const omnisendGetBrand = action("OMNISEND_GET_BRAND", {
13
13
  currency: z.string().describe("Default currency code for the brand").nullable(),
14
14
  platform: z.string().describe("E-commerce platform the brand is integrated with").nullable(),
15
15
  connected: z.boolean().describe("Whether the brand is connected to the platform").nullable()
16
- }).describe("Response schema for brand information.")
16
+ }).passthrough().describe("Response schema for brand information.")
17
17
  });
18
18
  //#endregion
19
19
  export { omnisendGetBrand };
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-brand.mjs","names":[],"sources":["../../src/actions/get-brand.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBrandInput = z.object({}).describe(\"Request schema for retrieving current brand information.\\nNo parameters required - retrieves information about the authenticated brand.\");\nexport const OmnisendGetBrandOutput = z.object({\n name: z.string().describe(\"Name of the brand\").nullable(),\n brandID: z.string().describe(\"Unique identifier for the brand\").nullable(),\n version: z.string().describe(\"Version of the platform integration\").nullable(),\n website: z.string().describe(\"Website URL of the brand\").nullable(),\n currency: z.string().describe(\"Default currency code for the brand\").nullable(),\n platform: z.string().describe(\"E-commerce platform the brand is integrated with\").nullable(),\n connected: z.boolean().describe(\"Whether the brand is connected to the platform\").nullable(),\n}).passthrough().describe(\"Response schema for brand information.\");\n\nexport const omnisendGetBrand = action(\"OMNISEND_GET_BRAND\", {\n slug: \"omnisend-get-brand\",\n name: \"Get Brand\",\n description: \"Tool to retrieve information about the current authenticated brand. Use when you need brand details like currency, platform, or website.\",\n input: OmnisendGetBrandInput,\n output: OmnisendGetBrandOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const OmnisendGetCart_CartProductSchema = zod.z.object({
15
15
  productUrl: zod.z.string().describe("Link to product page.").nullable().optional(),
16
16
  description: zod.z.string().describe("Product description.").nullable().optional(),
17
17
  cartProductID: zod.z.string().describe("Product identifier in cart.").nullable().optional()
18
- }).describe("Product item within a cart.");
18
+ }).passthrough().describe("Product item within a cart.");
19
19
  const OmnisendGetCartOutput = zod.z.object({
20
20
  email: zod.z.string().describe("Contact's email address.").nullable().optional(),
21
21
  phone: zod.z.string().describe("Contact's phone number.").nullable().optional(),
@@ -27,7 +27,7 @@ const OmnisendGetCartOutput = zod.z.object({
27
27
  createdAt: zod.z.string().describe("ISO 8601 format timestamp when cart was created.").nullable().optional(),
28
28
  updatedAt: zod.z.string().describe("ISO 8601 format timestamp when cart was last updated.").nullable().optional(),
29
29
  cartRecoveryUrl: zod.z.string().describe("Recovery link for the abandoned cart.").nullable().optional()
30
- }).describe("Complete cart details including products and contact information.");
30
+ }).passthrough().describe("Complete cart details including products and contact information.");
31
31
  const omnisendGetCart = require_action.action("OMNISEND_GET_CART", {
32
32
  slug: "omnisend-get-cart",
33
33
  name: "Get Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAA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,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-cart.cjs","names":["z","action"],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC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AE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,15 +23,27 @@ declare const OmnisendGetCartOutput: z.ZodObject<{
23
23
  productUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  cartProductID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  contactID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  cartID: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { omnisendGetCart };
37
49
  //# sourceMappingURL=get-cart.d.cts.map
@@ -23,15 +23,27 @@ declare const OmnisendGetCartOutput: z.ZodObject<{
23
23
  productUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  cartProductID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  contactID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  cartRecoveryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const omnisendGetCart: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  cartID: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { omnisendGetCart };
37
49
  //# sourceMappingURL=get-cart.d.mts.map
@@ -15,7 +15,7 @@ const OmnisendGetCart_CartProductSchema = z.object({
15
15
  productUrl: z.string().describe("Link to product page.").nullable().optional(),
16
16
  description: z.string().describe("Product description.").nullable().optional(),
17
17
  cartProductID: z.string().describe("Product identifier in cart.").nullable().optional()
18
- }).describe("Product item within a cart.");
18
+ }).passthrough().describe("Product item within a cart.");
19
19
  const omnisendGetCart = action("OMNISEND_GET_CART", {
20
20
  slug: "omnisend-get-cart",
21
21
  name: "Get Cart",
@@ -32,7 +32,7 @@ const omnisendGetCart = action("OMNISEND_GET_CART", {
32
32
  createdAt: z.string().describe("ISO 8601 format timestamp when cart was created.").nullable().optional(),
33
33
  updatedAt: z.string().describe("ISO 8601 format timestamp when cart was last updated.").nullable().optional(),
34
34
  cartRecoveryUrl: z.string().describe("Recovery link for the abandoned cart.").nullable().optional()
35
- }).describe("Complete cart details including products and contact information.")
35
+ }).passthrough().describe("Complete cart details including products and contact information.")
36
36
  });
37
37
  //#endregion
38
38
  export { omnisendGetCart };
@@ -1 +1 @@
1
- {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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AAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-cart.mjs","names":[],"sources":["../../src/actions/get-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to retrieve.\"),\n});\nconst OmnisendGetCart_CartProductSchema = z.object({\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n price: z.number().int().describe(\"Final price in cents (with discount, with taxes, etc.).\").nullable().optional(),\n title: z.string().describe(\"Product name.\").nullable().optional(),\n discount: z.number().int().describe(\"Discount sum in cents.\").nullable().optional(),\n imageUrl: z.string().describe(\"Product image link.\").nullable().optional(),\n oldPrice: z.number().int().describe(\"Original price in cents.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity (whole number, minimum 1).\").nullable().optional(),\n productID: z.string().describe(\"Product identifier.\").nullable().optional(),\n variantID: z.string().describe(\"Product modification identifier.\").nullable().optional(),\n productUrl: z.string().describe(\"Link to product page.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n cartProductID: z.string().describe(\"Product identifier in cart.\").nullable().optional(),\n}).passthrough().describe(\"Product item within a cart.\");\nexport const OmnisendGetCartOutput = z.object({\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n cartID: z.string().describe(\"Cart identifier.\").nullable(),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, 125 for $1.25.\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code (3 characters).\").nullable().optional(),\n products: z.array(OmnisendGetCart_CartProductSchema).describe(\"List of products in the cart.\").nullable().optional(),\n contactID: z.string().describe(\"Contact identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 format timestamp when cart was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 format timestamp when cart was last updated.\").nullable().optional(),\n cartRecoveryUrl: z.string().describe(\"Recovery link for the abandoned cart.\").nullable().optional(),\n}).passthrough().describe(\"Complete cart details including products and contact information.\");\n\nexport const omnisendGetCart = action(\"OMNISEND_GET_CART\", {\n slug: \"omnisend-get-cart\",\n name: \"Get Cart\",\n description: \"Tool to retrieve a specific cart by ID from Omnisend v3 API. Use when you need detailed cart information including products and customer contact details.\",\n input: OmnisendGetCartInput,\n output: OmnisendGetCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC1E,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,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,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const OmnisendGetCategoryOutput = zod.z.object({
7
7
  createdAt: zod.z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
8
8
  updatedAt: zod.z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
9
9
  categoryID: zod.z.string().describe("Unique identifier for the category").nullable()
10
- });
10
+ }).passthrough();
11
11
  const omnisendGetCategory = require_action.action("OMNISEND_GET_CATEGORY", {
12
12
  slug: "omnisend-get-category",
13
13
  name: "Get Category",
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n});\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-category.cjs","names":["z","action"],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,10 +9,22 @@ declare const OmnisendGetCategoryOutput: z.ZodObject<{
9
9
  createdAt: z.ZodNullable<z.ZodString>;
10
10
  updatedAt: z.ZodNullable<z.ZodString>;
11
11
  categoryID: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  categoryID: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ accessToken: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { omnisendGetCategory };
18
30
  //# sourceMappingURL=get-category.d.cts.map
@@ -9,10 +9,22 @@ declare const OmnisendGetCategoryOutput: z.ZodObject<{
9
9
  createdAt: z.ZodNullable<z.ZodString>;
10
10
  updatedAt: z.ZodNullable<z.ZodString>;
11
11
  categoryID: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const omnisendGetCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  categoryID: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ accessToken: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { omnisendGetCategory };
18
30
  //# sourceMappingURL=get-category.d.mts.map
@@ -10,7 +10,7 @@ const omnisendGetCategory = action("OMNISEND_GET_CATEGORY", {
10
10
  createdAt: z.string().describe("Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
11
11
  updatedAt: z.string().describe("Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)").nullable(),
12
12
  categoryID: z.string().describe("Unique identifier for the category").nullable()
13
- })
13
+ }).passthrough()
14
14
  });
15
15
  //#endregion
16
16
  export { omnisendGetCategory };
@@ -1 +1 @@
1
- {"version":3,"file":"get-category.mjs","names":[],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n});\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAYS;CACP,QAZuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-category.mjs","names":[],"sources":["../../src/actions/get-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetCategoryInput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the category to retrieve.\"),\n});\nexport const OmnisendGetCategoryOutput = z.object({\n title: z.string().describe(\"Title of the category\").nullable(),\n createdAt: z.string().describe(\"Creation date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n updatedAt: z.string().describe(\"Update date in ISO 8601 format (example: 2017-05-30T14:11:12Z)\").nullable(),\n categoryID: z.string().describe(\"Unique identifier for the category\").nullable(),\n}).passthrough();\n\nexport const omnisendGetCategory = action(\"OMNISEND_GET_CATEGORY\", {\n slug: \"omnisend-get-category\",\n name: \"Get Category\",\n description: \"Tool to retrieve details of a specific category by ID. Use when you need to fetch information about a category.\",\n input: OmnisendGetCategoryInput,\n output: OmnisendGetCategoryOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAYS;CACP,QAZuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,24 +5,24 @@ const OmnisendGetContactInput = zod.z.object({ contactId: zod.z.string().describ
5
5
  const OmnisendGetContact_OptInSchema = zod.z.object({
6
6
  date: zod.z.string().describe("Date when opt-in occurred (ISO 8601)").nullable(),
7
7
  channel: zod.z.string().describe("Channel for opt-in status (e.g., 'email')").nullable()
8
- });
8
+ }).passthrough();
9
9
  const OmnisendGetContact_ConsentSchema = zod.z.object({
10
10
  ip: zod.z.string().describe("IP address from which consent was given").nullable(),
11
11
  source: zod.z.string().describe("Origin of the consent, e.g., signup form").nullable(),
12
12
  channel: zod.z.string().describe("Channel through which consent was given").nullable(),
13
13
  createdAt: zod.z.string().describe("Timestamp when consent was recorded (ISO 8601)").nullable(),
14
14
  userAgent: zod.z.string().describe("User agent string at time of consent").nullable()
15
- });
15
+ }).passthrough();
16
16
  const OmnisendGetContact_StatusRecordSchema = zod.z.object({
17
17
  date: zod.z.string().describe("Date of this status update (ISO 8601)").nullable(),
18
18
  status: zod.z.string().describe("Status value (e.g., 'subscribed')").nullable(),
19
19
  channel: zod.z.string().describe("Channel for this status record (e.g., 'email')").nullable()
20
- });
20
+ }).passthrough();
21
21
  const OmnisendGetContact_IdentifierSchema = zod.z.object({
22
22
  id: zod.z.string().describe("Identifier value").nullable(),
23
23
  type: zod.z.string().describe("Type of the identifier").nullable(),
24
- channels: zod.z.object({}).describe("Channel-specific status details keyed by channel name (e.g., 'email', 'sms')")
25
- });
24
+ channels: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Channel-specific status details keyed by channel name (e.g., 'email', 'sms')")
25
+ }).passthrough();
26
26
  const OmnisendGetContactOutput = zod.z.object({
27
27
  city: zod.z.string().describe("City where the contact lives").nullable().optional(),
28
28
  tags: zod.z.array(zod.z.string()).describe("List of tags associated with the contact").nullable().optional(),
@@ -46,7 +46,7 @@ const OmnisendGetContactOutput = zod.z.object({
46
46
  countryCode: zod.z.string().describe("Two-letter country code").nullable().optional(),
47
47
  identifiers: zod.z.array(OmnisendGetContact_IdentifierSchema).describe("Other identifiers for the contact").nullable().optional(),
48
48
  customProperties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom properties as key-value pairs").nullable().optional()
49
- });
49
+ }).passthrough();
50
50
  const omnisendGetContact = require_action.action("OMNISEND_GET_CONTACT", {
51
51
  slug: "omnisend-get-contact",
52
52
  name: "Get Contact",
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetContactInput = z.object({\n contactId: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n});\nconst OmnisendGetContact_OptInSchema = z.object({\n date: z.string().describe(\"Date when opt-in occurred (ISO 8601)\").nullable(),\n channel: z.string().describe(\"Channel for opt-in status (e.g., 'email')\").nullable(),\n});\nconst OmnisendGetContact_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given\").nullable(),\n source: z.string().describe(\"Origin of the consent, e.g., signup form\").nullable(),\n channel: z.string().describe(\"Channel through which consent was given\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded (ISO 8601)\").nullable(),\n userAgent: z.string().describe(\"User agent string at time of consent\").nullable(),\n});\nconst OmnisendGetContact_StatusRecordSchema = z.object({\n date: z.string().describe(\"Date of this status update (ISO 8601)\").nullable(),\n status: z.string().describe(\"Status value (e.g., 'subscribed')\").nullable(),\n channel: z.string().describe(\"Channel for this status record (e.g., 'email')\").nullable(),\n});\nconst OmnisendGetContact_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value\").nullable(),\n type: z.string().describe(\"Type of the identifier\").nullable(),\n channels: z.object({}).describe(\"Channel-specific status details keyed by channel name (e.g., 'email', 'sms')\"),\n});\nexport const OmnisendGetContactOutput = z.object({\n city: z.string().describe(\"City where the contact lives\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers for the contact\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n gender: z.string().describe(\"Gender of the contact\").nullable().optional(),\n optIns: z.array(OmnisendGetContact_OptInSchema).describe(\"Opt-in history for the contact\").nullable().optional(),\n status: z.string().describe(\"Overall status, e.g., 'active'\").nullable().optional(),\n address: z.string().describe(\"Mailing address of the contact\").nullable().optional(),\n country: z.string().describe(\"Country where the contact lives\").nullable().optional(),\n consents: z.array(OmnisendGetContact_ConsentSchema).describe(\"History of consent records\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the contact\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segments the contact belongs to\").nullable().optional(),\n statuses: z.array(OmnisendGetContact_StatusRecordSchema).describe(\"Status change history for the contact\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate of the contact (ISO 8601)\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier for the contact\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601)\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Two-letter country code\").nullable().optional(),\n identifiers: z.array(OmnisendGetContact_IdentifierSchema).describe(\"Other identifiers for the contact\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").nullable().optional(),\n});\n\nexport const omnisendGetContact = action(\"OMNISEND_GET_CONTACT\", {\n slug: \"omnisend-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve details of a single contact by ID. Use when you already have a contactId and need the full profile.\",\n input: OmnisendGetContactInput,\n output: OmnisendGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC/E,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SA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,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetContactInput = z.object({\n contactId: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n});\nconst OmnisendGetContact_OptInSchema = z.object({\n date: z.string().describe(\"Date when opt-in occurred (ISO 8601)\").nullable(),\n channel: z.string().describe(\"Channel for opt-in status (e.g., 'email')\").nullable(),\n}).passthrough();\nconst OmnisendGetContact_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given\").nullable(),\n source: z.string().describe(\"Origin of the consent, e.g., signup form\").nullable(),\n channel: z.string().describe(\"Channel through which consent was given\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded (ISO 8601)\").nullable(),\n userAgent: z.string().describe(\"User agent string at time of consent\").nullable(),\n}).passthrough();\nconst OmnisendGetContact_StatusRecordSchema = z.object({\n date: z.string().describe(\"Date of this status update (ISO 8601)\").nullable(),\n status: z.string().describe(\"Status value (e.g., 'subscribed')\").nullable(),\n channel: z.string().describe(\"Channel for this status record (e.g., 'email')\").nullable(),\n}).passthrough();\nconst OmnisendGetContact_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value\").nullable(),\n type: z.string().describe(\"Type of the identifier\").nullable(),\n channels: z.record(z.string(), z.unknown()).describe(\"Channel-specific status details keyed by channel name (e.g., 'email', 'sms')\"),\n}).passthrough();\nexport const OmnisendGetContactOutput = z.object({\n city: z.string().describe(\"City where the contact lives\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers for the contact\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n gender: z.string().describe(\"Gender of the contact\").nullable().optional(),\n optIns: z.array(OmnisendGetContact_OptInSchema).describe(\"Opt-in history for the contact\").nullable().optional(),\n status: z.string().describe(\"Overall status, e.g., 'active'\").nullable().optional(),\n address: z.string().describe(\"Mailing address of the contact\").nullable().optional(),\n country: z.string().describe(\"Country where the contact lives\").nullable().optional(),\n consents: z.array(OmnisendGetContact_ConsentSchema).describe(\"History of consent records\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the contact\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segments the contact belongs to\").nullable().optional(),\n statuses: z.array(OmnisendGetContact_StatusRecordSchema).describe(\"Status change history for the contact\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate of the contact (ISO 8601)\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier for the contact\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the contact was created (ISO 8601)\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Two-letter country code\").nullable().optional(),\n identifiers: z.array(OmnisendGetContact_IdentifierSchema).describe(\"Other identifiers for the contact\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Custom properties as key-value pairs\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendGetContact = action(\"OMNISEND_GET_CONTACT\", {\n slug: \"omnisend-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve details of a single contact by ID. Use when you already have a contactId and need the full profile.\",\n input: OmnisendGetContactInput,\n output: OmnisendGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC/E,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAA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,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
14
14
  optIns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
15
  date: z.ZodNullable<z.ZodString>;
16
16
  channel: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>>>>;
17
+ }, z.core.$loose>>>>;
18
18
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24,14 +24,14 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
24
24
  channel: z.ZodNullable<z.ZodString>;
25
25
  createdAt: z.ZodNullable<z.ZodString>;
26
26
  userAgent: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>>>;
27
+ }, z.core.$loose>>>>;
28
28
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  segments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
30
30
  statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  date: z.ZodNullable<z.ZodString>;
32
32
  status: z.ZodNullable<z.ZodString>;
33
33
  channel: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>>>;
34
+ }, z.core.$loose>>>>;
35
35
  birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  contactID: z.ZodNullable<z.ZodString>;
37
37
  createdAt: z.ZodNullable<z.ZodString>;
@@ -41,13 +41,25 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
41
41
  identifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
42
  id: z.ZodNullable<z.ZodString>;
43
43
  type: z.ZodNullable<z.ZodString>;
44
- channels: z.ZodObject<{}, z.core.$strip>;
45
- }, z.core.$strip>>>>;
44
+ channels: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45
+ }, z.core.$loose>>>>;
46
46
  customProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const omnisendGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  contactId: string;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ accessToken: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { omnisendGetContact };
53
65
  //# sourceMappingURL=get-contact.d.cts.map
@@ -14,7 +14,7 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
14
14
  optIns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
15
  date: z.ZodNullable<z.ZodString>;
16
16
  channel: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>>>>;
17
+ }, z.core.$loose>>>>;
18
18
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24,14 +24,14 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
24
24
  channel: z.ZodNullable<z.ZodString>;
25
25
  createdAt: z.ZodNullable<z.ZodString>;
26
26
  userAgent: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>>>>;
27
+ }, z.core.$loose>>>>;
28
28
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  segments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
30
30
  statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  date: z.ZodNullable<z.ZodString>;
32
32
  status: z.ZodNullable<z.ZodString>;
33
33
  channel: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>>>;
34
+ }, z.core.$loose>>>>;
35
35
  birthdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  contactID: z.ZodNullable<z.ZodString>;
37
37
  createdAt: z.ZodNullable<z.ZodString>;
@@ -41,13 +41,25 @@ declare const OmnisendGetContactOutput: z.ZodObject<{
41
41
  identifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
42
  id: z.ZodNullable<z.ZodString>;
43
43
  type: z.ZodNullable<z.ZodString>;
44
- channels: z.ZodObject<{}, z.core.$strip>;
45
- }, z.core.$strip>>>>;
44
+ channels: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45
+ }, z.core.$loose>>>>;
46
46
  customProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const omnisendGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  contactId: string;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ accessToken: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { omnisendGetContact };
53
65
  //# sourceMappingURL=get-contact.d.mts.map