@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
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product-category.mjs","names":[],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProductCategory = action(\"OMNISEND_DELETE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-delete-product-category\",\n name: \"Delete Product Category\",\n description: \"Tool to remove a product category from Omnisend by its ID. Use when you need to delete a product category from your catalog.\",\n input: OmnisendDeleteProductCategoryInput,\n output: OmnisendDeleteProductCategoryOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAOS;CACP,QAPiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAO/D;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product-category.mjs","names":[],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProductCategory = action(\"OMNISEND_DELETE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-delete-product-category\",\n name: \"Delete Product Category\",\n description: \"Tool to remove a product category from Omnisend by its ID. Use when you need to delete a product category from your catalog.\",\n input: OmnisendDeleteProductCategoryInput,\n output: OmnisendDeleteProductCategoryOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAOS;CACP,QAPiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAOpF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-product.ts
4
4
  const OmnisendDeleteProductInput = zod.z.object({ product_id: zod.z.string().describe("Unique identifier of the product to delete.") });
5
- const OmnisendDeleteProductOutput = zod.z.object({}).describe("Empty response for successful deletion (204 No Content).");
5
+ const OmnisendDeleteProductOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
6
6
  const omnisendDeleteProduct = require_action.action("OMNISEND_DELETE_PRODUCT", {
7
7
  slug: "omnisend-delete-product",
8
8
  name: "Delete Product",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE3H,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEhJ,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const OmnisendDeleteProductInput: z.ZodObject<{
5
5
  product_id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const OmnisendDeleteProductOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const OmnisendDeleteProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const omnisendDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  product_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { omnisendDeleteProduct };
13
25
  //# sourceMappingURL=delete-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
@@ -4,10 +4,22 @@ import { z } from "zod";
4
4
  declare const OmnisendDeleteProductInput: z.ZodObject<{
5
5
  product_id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const OmnisendDeleteProductOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const OmnisendDeleteProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const omnisendDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  product_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
11
+ connectionId: z.ZodString;
12
+ entityId: z.ZodString;
13
+ instanceId: z.ZodString;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ accessToken: z.ZodString;
16
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>;
11
23
  //#endregion
12
24
  export { omnisendDeleteProduct };
13
25
  //# sourceMappingURL=delete-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
@@ -5,7 +5,7 @@ const omnisendDeleteProduct = action("OMNISEND_DELETE_PRODUCT", {
5
5
  name: "Delete Product",
6
6
  description: "Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.",
7
7
  input: z.object({ product_id: z.string().describe("Unique identifier of the product to delete.") }),
8
- output: z.object({}).describe("Empty response for successful deletion (204 No Content).")
8
+ output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
9
9
  });
10
10
  //#endregion
11
11
  export { omnisendDeleteProduct };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAOS;CACP,QAPyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAOvD;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAOS;CACP,QAPyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAO5E;AACV,CAAC"}
@@ -11,7 +11,7 @@ const OmnisendGetBatchInformationOutput = zod.z.object({
11
11
  totalCount: zod.z.number().int().describe("Total number of items in the batch").nullable().optional(),
12
12
  errorsCount: zod.z.number().int().describe("Number of items that encountered errors").nullable().optional(),
13
13
  finishedCount: zod.z.number().int().describe("Number of successfully finished items").nullable().optional()
14
- }).describe("Response schema for batch information.");
14
+ }).passthrough().describe("Response schema for batch information.");
15
15
  const omnisendGetBatchInformation = require_action.action("OMNISEND_GET_BATCH_INFORMATION", {
16
16
  slug: "omnisend-get-batch-information",
17
17
  name: "Get Batch Information",
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-information.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-information.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).passthrough().describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,10 +13,22 @@ declare const OmnisendGetBatchInformationOutput: z.ZodObject<{
13
13
  totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const omnisendGetBatchInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  batchId: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { omnisendGetBatchInformation };
22
34
  //# sourceMappingURL=get-batch-information.d.cts.map
@@ -13,10 +13,22 @@ declare const OmnisendGetBatchInformationOutput: z.ZodObject<{
13
13
  totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const omnisendGetBatchInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  batchId: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { omnisendGetBatchInformation };
22
34
  //# sourceMappingURL=get-batch-information.d.mts.map
@@ -14,7 +14,7 @@ const omnisendGetBatchInformation = action("OMNISEND_GET_BATCH_INFORMATION", {
14
14
  totalCount: z.number().int().describe("Total number of items in the batch").nullable().optional(),
15
15
  errorsCount: z.number().int().describe("Number of items that encountered errors").nullable().optional(),
16
16
  finishedCount: z.number().int().describe("Number of successfully finished items").nullable().optional()
17
- }).describe("Response schema for batch information.")
17
+ }).passthrough().describe("Response schema for batch information.")
18
18
  });
19
19
  //#endregion
20
20
  export { omnisendGetBatchInformation };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-information.mjs","names":[],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-information.mjs","names":[],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).passthrough().describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const OmnisendGetBatchItemOutput = zod.z.object({
15
15
  endpoint: zod.z.string().describe("API endpoint that was called for this batch item").nullable().optional(),
16
16
  response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON response returned by the API for this item").nullable().optional(),
17
17
  responseCode: zod.z.number().int().describe("HTTP status code returned for this batch item operation").nullable().optional()
18
- }).describe("Response schema for a specific batch item.");
18
+ }).passthrough().describe("Response schema for a specific batch item.");
19
19
  const omnisendGetBatchItem = require_action.action("OMNISEND_GET_BATCH_ITEM", {
20
20
  slug: "omnisend-get-batch-item",
21
21
  name: "Get Batch Item",
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,11 +15,23 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
15
15
  endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
17
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  itemID: string;
21
21
  batchID: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { omnisendGetBatchItem };
25
37
  //# sourceMappingURL=get-batch-item.d.cts.map
@@ -15,11 +15,23 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
15
15
  endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
17
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  itemID: string;
21
21
  batchID: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { omnisendGetBatchItem };
25
37
  //# sourceMappingURL=get-batch-item.d.mts.map
@@ -18,7 +18,7 @@ const omnisendGetBatchItem = action("OMNISEND_GET_BATCH_ITEM", {
18
18
  endpoint: z.string().describe("API endpoint that was called for this batch item").nullable().optional(),
19
19
  response: z.record(z.string(), z.unknown()).describe("JSON response returned by the API for this item").nullable().optional(),
20
20
  responseCode: z.number().int().describe("HTTP status code returned for this batch item operation").nullable().optional()
21
- }).describe("Response schema for a specific batch item.")
21
+ }).passthrough().describe("Response schema for a specific batch item.")
22
22
  });
23
23
  //#endregion
24
24
  export { omnisendGetBatchItem };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -8,8 +8,8 @@ const OmnisendGetBatchItems_BatchItemSchema = zod.z.object({
8
8
  request: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Original request payload submitted for this item.").nullable().optional(),
9
9
  response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON response returned by the API for this item.").nullable().optional(),
10
10
  responseCode: zod.z.number().int().describe("HTTP status code returned for this batch item operation.").nullable().optional()
11
- }).describe("Representation of a single item within a batch operation.");
12
- const OmnisendGetBatchItemsOutput = zod.z.object({ items: zod.z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).describe("Response schema containing items processed in the batch.");
11
+ }).passthrough().describe("Representation of a single item within a batch operation.");
12
+ const OmnisendGetBatchItemsOutput = zod.z.object({ items: zod.z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).passthrough().describe("Response schema containing items processed in the batch.");
13
13
  const omnisendGetBatchItems = require_action.action("OMNISEND_GET_BATCH_ITEMS", {
14
14
  slug: "omnisend-get-batch-items",
15
15
  name: "Get Batch Items",
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,11 +14,23 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
14
14
  request: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
15
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  batchId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ accessToken: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { omnisendGetBatchItems };
24
36
  //# sourceMappingURL=get-batch-items.d.cts.map
@@ -14,11 +14,23 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
14
14
  request: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
15
  response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  batchId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ accessToken: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { omnisendGetBatchItems };
24
36
  //# sourceMappingURL=get-batch-items.d.mts.map
@@ -8,13 +8,13 @@ const OmnisendGetBatchItems_BatchItemSchema = z.object({
8
8
  request: z.record(z.string(), z.unknown()).describe("Original request payload submitted for this item.").nullable().optional(),
9
9
  response: z.record(z.string(), z.unknown()).describe("JSON response returned by the API for this item.").nullable().optional(),
10
10
  responseCode: z.number().int().describe("HTTP status code returned for this batch item operation.").nullable().optional()
11
- }).describe("Representation of a single item within a batch operation.");
11
+ }).passthrough().describe("Representation of a single item within a batch operation.");
12
12
  const omnisendGetBatchItems = action("OMNISEND_GET_BATCH_ITEMS", {
13
13
  slug: "omnisend-get-batch-items",
14
14
  name: "Get Batch Items",
15
15
  description: "Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.",
16
16
  input: OmnisendGetBatchItemsInput,
17
- output: z.object({ items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).describe("Response schema containing items processed in the batch.")
17
+ output: z.object({ items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).passthrough().describe("Response schema containing items processed in the batch.")
18
18
  });
19
19
  //#endregion
20
20
  export { omnisendGetBatchItems };
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const OmnisendGetBatches_PagingSchema = zod.z.object({
13
13
  limit: zod.z.number().int().nullable(),
14
14
  offset: zod.z.number().int().nullable(),
15
15
  previous: zod.z.string().nullable()
16
- });
16
+ }).passthrough();
17
17
  const OmnisendGetBatches_BatchSchema = zod.z.object({
18
18
  method: zod.z.string().describe("HTTP method used for the batch.").nullable(),
19
19
  origin: zod.z.string().describe("Origin of the batch operation.").nullable(),
@@ -26,11 +26,11 @@ const OmnisendGetBatches_BatchSchema = zod.z.object({
26
26
  totalCount: zod.z.number().int().describe("Total number of items in the batch.").nullable(),
27
27
  errorsCount: zod.z.number().int().describe("Number of items that encountered errors.").nullable(),
28
28
  finishedCount: zod.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 OmnisendGetBatchesOutput = zod.z.object({
31
31
  paging: OmnisendGetBatches_PagingSchema.nullable().optional(),
32
32
  batches: zod.z.array(OmnisendGetBatches_BatchSchema).describe("List of batch operations in the store.")
33
- }).describe("Response schema for retrieved batch operations.");
33
+ }).passthrough().describe("Response schema for retrieved batch operations.");
34
34
  const omnisendGetBatches = require_action.action("OMNISEND_GET_BATCHES", {
35
35
  slug: "omnisend-get-batches",
36
36
  name: "Get Batches",
@@ -1 +1 @@
1
- {"version":3,"file":"get-batches.cjs","names":["z","action"],"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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;AACpG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batches.cjs","names":["z","action"],"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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/get-batches.d.ts
4
4
  declare const OmnisendGetBatchesInput: z.ZodObject<{
5
5
  endpoint: z.ZodEnum<{
6
- products: "products";
7
6
  contacts: "contacts";
8
7
  orders: "orders";
8
+ products: "products";
9
9
  events: "events";
10
10
  categories: "categories";
11
11
  }>;
@@ -16,7 +16,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  batches: z.ZodArray<z.ZodObject<{
21
21
  method: z.ZodNullable<z.ZodString>;
22
22
  origin: z.ZodNullable<z.ZodString>;
@@ -29,11 +29,23 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
29
29
  totalCount: z.ZodNullable<z.ZodNumber>;
30
30
  errorsCount: z.ZodNullable<z.ZodNumber>;
31
31
  finishedCount: z.ZodNullable<z.ZodNumber>;
32
- }, z.core.$strip>>;
33
- }, z.core.$strip>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>;
34
34
  declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- endpoint: "products" | "contacts" | "orders" | "events" | "categories";
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ endpoint: "contacts" | "orders" | "products" | "events" | "categories";
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ accessToken: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { omnisendGetBatches };
39
51
  //# sourceMappingURL=get-batches.d.cts.map
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/get-batches.d.ts
4
4
  declare const OmnisendGetBatchesInput: z.ZodObject<{
5
5
  endpoint: z.ZodEnum<{
6
- products: "products";
7
6
  contacts: "contacts";
8
7
  orders: "orders";
8
+ products: "products";
9
9
  events: "events";
10
10
  categories: "categories";
11
11
  }>;
@@ -16,7 +16,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  batches: z.ZodArray<z.ZodObject<{
21
21
  method: z.ZodNullable<z.ZodString>;
22
22
  origin: z.ZodNullable<z.ZodString>;
@@ -29,11 +29,23 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
29
29
  totalCount: z.ZodNullable<z.ZodNumber>;
30
30
  errorsCount: z.ZodNullable<z.ZodNumber>;
31
31
  finishedCount: z.ZodNullable<z.ZodNumber>;
32
- }, z.core.$strip>>;
33
- }, z.core.$strip>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>;
34
34
  declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- endpoint: "products" | "contacts" | "orders" | "events" | "categories";
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ endpoint: "contacts" | "orders" | "products" | "events" | "categories";
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ accessToken: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { omnisendGetBatches };
39
51
  //# sourceMappingURL=get-batches.d.mts.map