@keystrokehq/omnisend 0.1.2 → 0.1.3

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 (275) 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 +1 -1
  4. package/dist/actions/add-cart-product.d.mts +1 -1
  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 +4 -4
  10. package/dist/actions/create-batch.d.mts +4 -4
  11. package/dist/actions/create-batch.mjs +3 -3
  12. package/dist/actions/create-batch.mjs.map +1 -1
  13. package/dist/actions/create-cart.cjs +2 -2
  14. package/dist/actions/create-cart.cjs.map +1 -1
  15. package/dist/actions/create-cart.d.cts +3 -2
  16. package/dist/actions/create-cart.d.mts +3 -2
  17. package/dist/actions/create-cart.mjs +2 -2
  18. package/dist/actions/create-cart.mjs.map +1 -1
  19. package/dist/actions/create-category.cjs +1 -1
  20. package/dist/actions/create-category.cjs.map +1 -1
  21. package/dist/actions/create-category.d.cts +1 -1
  22. package/dist/actions/create-category.d.mts +1 -1
  23. package/dist/actions/create-category.mjs +1 -1
  24. package/dist/actions/create-category.mjs.map +1 -1
  25. package/dist/actions/create-or-update-contact.cjs +2 -2
  26. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.d.cts +3 -2
  28. package/dist/actions/create-or-update-contact.d.mts +3 -2
  29. package/dist/actions/create-or-update-contact.mjs +2 -2
  30. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  31. package/dist/actions/create-order.cjs +3 -3
  32. package/dist/actions/create-order.cjs.map +1 -1
  33. package/dist/actions/create-order.d.cts +7 -6
  34. package/dist/actions/create-order.d.cts.map +1 -1
  35. package/dist/actions/create-order.d.mts +7 -6
  36. package/dist/actions/create-order.d.mts.map +1 -1
  37. package/dist/actions/create-order.mjs +3 -3
  38. package/dist/actions/create-order.mjs.map +1 -1
  39. package/dist/actions/create-product-category.cjs +1 -1
  40. package/dist/actions/create-product-category.cjs.map +1 -1
  41. package/dist/actions/create-product-category.d.cts +1 -1
  42. package/dist/actions/create-product-category.d.mts +1 -1
  43. package/dist/actions/create-product-category.mjs +1 -1
  44. package/dist/actions/create-product-category.mjs.map +1 -1
  45. package/dist/actions/create-product.cjs +2 -2
  46. package/dist/actions/create-product.cjs.map +1 -1
  47. package/dist/actions/create-product.d.cts +3 -2
  48. package/dist/actions/create-product.d.mts +3 -2
  49. package/dist/actions/create-product.mjs +2 -2
  50. package/dist/actions/create-product.mjs.map +1 -1
  51. package/dist/actions/delete-cart.cjs +1 -1
  52. package/dist/actions/delete-cart.cjs.map +1 -1
  53. package/dist/actions/delete-cart.d.cts +1 -1
  54. package/dist/actions/delete-cart.d.cts.map +1 -1
  55. package/dist/actions/delete-cart.d.mts +1 -1
  56. package/dist/actions/delete-cart.d.mts.map +1 -1
  57. package/dist/actions/delete-cart.mjs +1 -1
  58. package/dist/actions/delete-cart.mjs.map +1 -1
  59. package/dist/actions/delete-category.cjs +1 -1
  60. package/dist/actions/delete-category.cjs.map +1 -1
  61. package/dist/actions/delete-category.d.cts +1 -1
  62. package/dist/actions/delete-category.d.cts.map +1 -1
  63. package/dist/actions/delete-category.d.mts +1 -1
  64. package/dist/actions/delete-category.d.mts.map +1 -1
  65. package/dist/actions/delete-category.mjs +1 -1
  66. package/dist/actions/delete-category.mjs.map +1 -1
  67. package/dist/actions/delete-order.cjs +1 -1
  68. package/dist/actions/delete-order.cjs.map +1 -1
  69. package/dist/actions/delete-order.d.cts +1 -1
  70. package/dist/actions/delete-order.d.cts.map +1 -1
  71. package/dist/actions/delete-order.d.mts +1 -1
  72. package/dist/actions/delete-order.d.mts.map +1 -1
  73. package/dist/actions/delete-order.mjs +1 -1
  74. package/dist/actions/delete-order.mjs.map +1 -1
  75. package/dist/actions/delete-product-category.cjs +1 -1
  76. package/dist/actions/delete-product-category.cjs.map +1 -1
  77. package/dist/actions/delete-product-category.d.cts +1 -1
  78. package/dist/actions/delete-product-category.d.cts.map +1 -1
  79. package/dist/actions/delete-product-category.d.mts +1 -1
  80. package/dist/actions/delete-product-category.d.mts.map +1 -1
  81. package/dist/actions/delete-product-category.mjs +1 -1
  82. package/dist/actions/delete-product-category.mjs.map +1 -1
  83. package/dist/actions/delete-product.cjs +1 -1
  84. package/dist/actions/delete-product.cjs.map +1 -1
  85. package/dist/actions/delete-product.d.cts +1 -1
  86. package/dist/actions/delete-product.d.cts.map +1 -1
  87. package/dist/actions/delete-product.d.mts +1 -1
  88. package/dist/actions/delete-product.d.mts.map +1 -1
  89. package/dist/actions/delete-product.mjs +1 -1
  90. package/dist/actions/delete-product.mjs.map +1 -1
  91. package/dist/actions/get-batch-information.cjs +1 -1
  92. package/dist/actions/get-batch-information.cjs.map +1 -1
  93. package/dist/actions/get-batch-information.d.cts +1 -1
  94. package/dist/actions/get-batch-information.d.mts +1 -1
  95. package/dist/actions/get-batch-information.mjs +1 -1
  96. package/dist/actions/get-batch-information.mjs.map +1 -1
  97. package/dist/actions/get-batch-item.cjs +1 -1
  98. package/dist/actions/get-batch-item.cjs.map +1 -1
  99. package/dist/actions/get-batch-item.d.cts +1 -1
  100. package/dist/actions/get-batch-item.d.mts +1 -1
  101. package/dist/actions/get-batch-item.mjs +1 -1
  102. package/dist/actions/get-batch-item.mjs.map +1 -1
  103. package/dist/actions/get-batch-items.cjs +2 -2
  104. package/dist/actions/get-batch-items.cjs.map +1 -1
  105. package/dist/actions/get-batch-items.d.cts +2 -2
  106. package/dist/actions/get-batch-items.d.mts +2 -2
  107. package/dist/actions/get-batch-items.mjs +2 -2
  108. package/dist/actions/get-batch-items.mjs.map +1 -1
  109. package/dist/actions/get-batches.cjs +3 -3
  110. package/dist/actions/get-batches.cjs.map +1 -1
  111. package/dist/actions/get-batches.d.cts +3 -3
  112. package/dist/actions/get-batches.d.mts +3 -3
  113. package/dist/actions/get-batches.mjs +3 -3
  114. package/dist/actions/get-batches.mjs.map +1 -1
  115. package/dist/actions/get-brand.cjs +1 -1
  116. package/dist/actions/get-brand.cjs.map +1 -1
  117. package/dist/actions/get-brand.d.cts +1 -1
  118. package/dist/actions/get-brand.d.mts +1 -1
  119. package/dist/actions/get-brand.mjs +1 -1
  120. package/dist/actions/get-brand.mjs.map +1 -1
  121. package/dist/actions/get-cart.cjs +2 -2
  122. package/dist/actions/get-cart.cjs.map +1 -1
  123. package/dist/actions/get-cart.d.cts +2 -2
  124. package/dist/actions/get-cart.d.mts +2 -2
  125. package/dist/actions/get-cart.mjs +2 -2
  126. package/dist/actions/get-cart.mjs.map +1 -1
  127. package/dist/actions/get-category.cjs +1 -1
  128. package/dist/actions/get-category.cjs.map +1 -1
  129. package/dist/actions/get-category.d.cts +1 -1
  130. package/dist/actions/get-category.d.mts +1 -1
  131. package/dist/actions/get-category.mjs +1 -1
  132. package/dist/actions/get-category.mjs.map +1 -1
  133. package/dist/actions/get-contact.cjs +6 -6
  134. package/dist/actions/get-contact.cjs.map +1 -1
  135. package/dist/actions/get-contact.d.cts +6 -6
  136. package/dist/actions/get-contact.d.mts +6 -6
  137. package/dist/actions/get-contact.mjs +6 -6
  138. package/dist/actions/get-contact.mjs.map +1 -1
  139. package/dist/actions/get-order.cjs +3 -3
  140. package/dist/actions/get-order.cjs.map +1 -1
  141. package/dist/actions/get-order.d.cts +4 -4
  142. package/dist/actions/get-order.d.mts +4 -4
  143. package/dist/actions/get-order.mjs +3 -3
  144. package/dist/actions/get-order.mjs.map +1 -1
  145. package/dist/actions/get-product-category.cjs +1 -1
  146. package/dist/actions/get-product-category.cjs.map +1 -1
  147. package/dist/actions/get-product-category.d.cts +1 -1
  148. package/dist/actions/get-product-category.d.mts +1 -1
  149. package/dist/actions/get-product-category.mjs +1 -1
  150. package/dist/actions/get-product-category.mjs.map +1 -1
  151. package/dist/actions/get-product.cjs +2 -2
  152. package/dist/actions/get-product.cjs.map +1 -1
  153. package/dist/actions/get-product.d.cts +2 -2
  154. package/dist/actions/get-product.d.mts +2 -2
  155. package/dist/actions/get-product.mjs +2 -2
  156. package/dist/actions/get-product.mjs.map +1 -1
  157. package/dist/actions/list-campaigns.cjs +5 -5
  158. package/dist/actions/list-campaigns.cjs.map +1 -1
  159. package/dist/actions/list-campaigns.d.cts +5 -5
  160. package/dist/actions/list-campaigns.d.mts +5 -5
  161. package/dist/actions/list-campaigns.mjs +5 -5
  162. package/dist/actions/list-campaigns.mjs.map +1 -1
  163. package/dist/actions/list-carts.cjs +3 -3
  164. package/dist/actions/list-carts.cjs.map +1 -1
  165. package/dist/actions/list-carts.d.cts +3 -3
  166. package/dist/actions/list-carts.d.mts +3 -3
  167. package/dist/actions/list-carts.mjs +3 -3
  168. package/dist/actions/list-carts.mjs.map +1 -1
  169. package/dist/actions/list-categories.cjs +3 -3
  170. package/dist/actions/list-categories.cjs.map +1 -1
  171. package/dist/actions/list-categories.d.cts +3 -3
  172. package/dist/actions/list-categories.d.mts +3 -3
  173. package/dist/actions/list-categories.mjs +3 -3
  174. package/dist/actions/list-categories.mjs.map +1 -1
  175. package/dist/actions/list-contacts.cjs +7 -7
  176. package/dist/actions/list-contacts.cjs.map +1 -1
  177. package/dist/actions/list-contacts.d.cts +7 -7
  178. package/dist/actions/list-contacts.d.mts +7 -7
  179. package/dist/actions/list-contacts.mjs +7 -7
  180. package/dist/actions/list-contacts.mjs.map +1 -1
  181. package/dist/actions/list-events.cjs +3 -3
  182. package/dist/actions/list-events.cjs.map +1 -1
  183. package/dist/actions/list-events.d.cts +3 -3
  184. package/dist/actions/list-events.d.mts +3 -3
  185. package/dist/actions/list-events.mjs +3 -3
  186. package/dist/actions/list-events.mjs.map +1 -1
  187. package/dist/actions/list-product-categories.cjs +3 -3
  188. package/dist/actions/list-product-categories.cjs.map +1 -1
  189. package/dist/actions/list-product-categories.d.cts +3 -3
  190. package/dist/actions/list-product-categories.d.mts +3 -3
  191. package/dist/actions/list-product-categories.mjs +3 -3
  192. package/dist/actions/list-product-categories.mjs.map +1 -1
  193. package/dist/actions/list-products.cjs +4 -4
  194. package/dist/actions/list-products.cjs.map +1 -1
  195. package/dist/actions/list-products.d.cts +4 -4
  196. package/dist/actions/list-products.d.mts +4 -4
  197. package/dist/actions/list-products.mjs +4 -4
  198. package/dist/actions/list-products.mjs.map +1 -1
  199. package/dist/actions/remove-cart-product.cjs +1 -1
  200. package/dist/actions/remove-cart-product.cjs.map +1 -1
  201. package/dist/actions/remove-cart-product.d.cts +1 -1
  202. package/dist/actions/remove-cart-product.d.cts.map +1 -1
  203. package/dist/actions/remove-cart-product.d.mts +1 -1
  204. package/dist/actions/remove-cart-product.d.mts.map +1 -1
  205. package/dist/actions/remove-cart-product.mjs +1 -1
  206. package/dist/actions/remove-cart-product.mjs.map +1 -1
  207. package/dist/actions/replace-cart-product.cjs +1 -1
  208. package/dist/actions/replace-cart-product.cjs.map +1 -1
  209. package/dist/actions/replace-cart-product.d.cts +1 -1
  210. package/dist/actions/replace-cart-product.d.mts +1 -1
  211. package/dist/actions/replace-cart-product.mjs +1 -1
  212. package/dist/actions/replace-cart-product.mjs.map +1 -1
  213. package/dist/actions/replace-cart.cjs +2 -2
  214. package/dist/actions/replace-cart.cjs.map +1 -1
  215. package/dist/actions/replace-cart.d.cts +3 -2
  216. package/dist/actions/replace-cart.d.mts +3 -2
  217. package/dist/actions/replace-cart.mjs +2 -2
  218. package/dist/actions/replace-cart.mjs.map +1 -1
  219. package/dist/actions/replace-category.cjs +1 -1
  220. package/dist/actions/replace-category.cjs.map +1 -1
  221. package/dist/actions/replace-category.d.cts +1 -1
  222. package/dist/actions/replace-category.d.mts +1 -1
  223. package/dist/actions/replace-category.mjs +1 -1
  224. package/dist/actions/replace-category.mjs.map +1 -1
  225. package/dist/actions/replace-order.cjs +2 -2
  226. package/dist/actions/replace-order.cjs.map +1 -1
  227. package/dist/actions/replace-order.d.cts +3 -2
  228. package/dist/actions/replace-order.d.mts +3 -2
  229. package/dist/actions/replace-order.mjs +2 -2
  230. package/dist/actions/replace-order.mjs.map +1 -1
  231. package/dist/actions/replace-product.cjs +2 -2
  232. package/dist/actions/replace-product.cjs.map +1 -1
  233. package/dist/actions/replace-product.d.cts +3 -2
  234. package/dist/actions/replace-product.d.mts +3 -2
  235. package/dist/actions/replace-product.mjs +2 -2
  236. package/dist/actions/replace-product.mjs.map +1 -1
  237. package/dist/actions/send-event.cjs +3 -3
  238. package/dist/actions/send-event.cjs.map +1 -1
  239. package/dist/actions/send-event.d.cts +5 -5
  240. package/dist/actions/send-event.d.mts +5 -5
  241. package/dist/actions/send-event.mjs +3 -3
  242. package/dist/actions/send-event.mjs.map +1 -1
  243. package/dist/actions/update-cart-product.cjs +1 -1
  244. package/dist/actions/update-cart-product.cjs.map +1 -1
  245. package/dist/actions/update-cart-product.d.cts +1 -1
  246. package/dist/actions/update-cart-product.d.mts +1 -1
  247. package/dist/actions/update-cart-product.mjs +1 -1
  248. package/dist/actions/update-cart-product.mjs.map +1 -1
  249. package/dist/actions/update-cart.cjs +2 -2
  250. package/dist/actions/update-cart.cjs.map +1 -1
  251. package/dist/actions/update-cart.d.cts +3 -2
  252. package/dist/actions/update-cart.d.mts +3 -2
  253. package/dist/actions/update-cart.mjs +2 -2
  254. package/dist/actions/update-cart.mjs.map +1 -1
  255. package/dist/actions/update-contact.cjs +3 -3
  256. package/dist/actions/update-contact.cjs.map +1 -1
  257. package/dist/actions/update-contact.d.cts +5 -4
  258. package/dist/actions/update-contact.d.cts.map +1 -1
  259. package/dist/actions/update-contact.d.mts +5 -4
  260. package/dist/actions/update-contact.d.mts.map +1 -1
  261. package/dist/actions/update-contact.mjs +3 -3
  262. package/dist/actions/update-contact.mjs.map +1 -1
  263. package/dist/actions/update-order-status.cjs +1 -1
  264. package/dist/actions/update-order-status.cjs.map +1 -1
  265. package/dist/actions/update-order-status.d.cts +1 -1
  266. package/dist/actions/update-order-status.d.mts +1 -1
  267. package/dist/actions/update-order-status.mjs +1 -1
  268. package/dist/actions/update-order-status.mjs.map +1 -1
  269. package/dist/actions/update-product-category.cjs +1 -1
  270. package/dist/actions/update-product-category.cjs.map +1 -1
  271. package/dist/actions/update-product-category.d.cts +1 -1
  272. package/dist/actions/update-product-category.d.mts +1 -1
  273. package/dist/actions/update-product-category.mjs +1 -1
  274. package/dist/actions/update-product-category.mjs.map +1 -1
  275. package/package.json +1 -1
@@ -20,28 +20,28 @@ const OmnisendListContacts_PagingSchema = z.object({
20
20
  limit: z.number().int().describe("Page size returned.").nullable(),
21
21
  offset: z.number().int().describe("Offset value (deprecated).").nullable().optional(),
22
22
  previous: z.string().describe("URL for previous page of results.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const OmnisendListContacts_OptInSchema = z.object({
25
25
  date: z.string().describe("Timestamp of opt-in.").nullable(),
26
26
  channel: z.string().describe("Opt-in channel.").nullable()
27
- });
27
+ }).passthrough();
28
28
  const OmnisendListContacts_ConsentSchema = z.object({
29
29
  ip: z.string().describe("IP address from which consent was given.").nullable(),
30
30
  source: z.string().describe("Source of consent (e.g., signup form).").nullable(),
31
31
  channel: z.string().describe("Consent channel (e.g., email, SMS).").nullable(),
32
32
  createdAt: z.string().describe("Timestamp when consent was recorded.").nullable(),
33
33
  userAgent: z.string().describe("User agent string at consent time.").nullable()
34
- });
34
+ }).passthrough();
35
35
  const OmnisendListContacts_StatusEntrySchema = z.object({
36
36
  date: z.string().describe("Timestamp of status change.").nullable(),
37
37
  status: z.string().describe("New status value.").nullable(),
38
38
  channel: z.string().describe("Channel of the status update.").nullable()
39
- });
39
+ }).passthrough();
40
40
  const OmnisendListContacts_IdentifierSchema = z.object({
41
41
  id: z.string().describe("Identifier value.").nullable(),
42
42
  type: z.string().describe("Identifier type.").nullable(),
43
43
  channels: z.record(z.string(), z.unknown()).describe("Mapping of channel-specific identifier details.")
44
- });
44
+ }).passthrough();
45
45
  const OmnisendListContacts_ContactSchema = z.object({
46
46
  city: z.string().describe("City.").nullable().optional(),
47
47
  tags: z.array(z.string()).describe("Tags assigned to contact.").nullable().optional(),
@@ -64,7 +64,7 @@ const OmnisendListContacts_ContactSchema = z.object({
64
64
  countryCode: z.string().describe("ISO country code.").nullable().optional(),
65
65
  identifiers: z.array(OmnisendListContacts_IdentifierSchema).describe("List of additional identifiers.").nullable().optional(),
66
66
  customProperties: z.record(z.string(), z.unknown()).describe("Additional custom properties.").nullable().optional()
67
- });
67
+ }).passthrough();
68
68
  const omnisendListContacts = action("OMNISEND_LIST_CONTACTS", {
69
69
  slug: "omnisend-list-contacts",
70
70
  name: "List Contacts",
@@ -73,7 +73,7 @@ const omnisendListContacts = action("OMNISEND_LIST_CONTACTS", {
73
73
  output: z.object({
74
74
  paging: OmnisendListContacts_PagingSchema.nullable(),
75
75
  contacts: z.array(OmnisendListContacts_ContactSchema).describe("List of contacts.")
76
- })
76
+ }).passthrough()
77
77
  });
78
78
  //#endregion
79
79
  export { omnisendListContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListContactsInput = z.object({\n tag: z.string().describe(\"Filter contacts by tag.\").optional(),\n after: z.string().describe(\"Cursor for pagination: contacts after this base64-encoded ContactID.\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address.\").optional(),\n limit: z.number().int().default(100).describe(\"Number of results per page. Defaults to 100, maximum 250.\").optional(),\n phone: z.string().describe(\"Filter contacts by full phone number including country code.\").optional(),\n before: z.string().describe(\"Cursor for pagination: contacts before this base64-encoded ContactID.\").optional(),\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Filter contacts by email channel status.\").optional(),\n segmentID: z.number().int().describe(\"Filter contacts by segment ID.\").optional(),\n}).describe(\"Query parameters for listing contacts. Supply only needed filters.\");\nconst OmnisendListContacts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Page size returned.\").nullable(),\n offset: z.number().int().describe(\"Offset value (deprecated).\").nullable().optional(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n});\nconst OmnisendListContacts_OptInSchema = z.object({\n date: z.string().describe(\"Timestamp of opt-in.\").nullable(),\n channel: z.string().describe(\"Opt-in channel.\").nullable(),\n});\nconst OmnisendListContacts_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given.\").nullable(),\n source: z.string().describe(\"Source of consent (e.g., signup form).\").nullable(),\n channel: z.string().describe(\"Consent channel (e.g., email, SMS).\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded.\").nullable(),\n userAgent: z.string().describe(\"User agent string at consent time.\").nullable(),\n});\nconst OmnisendListContacts_StatusEntrySchema = z.object({\n date: z.string().describe(\"Timestamp of status change.\").nullable(),\n status: z.string().describe(\"New status value.\").nullable(),\n channel: z.string().describe(\"Channel of the status update.\").nullable(),\n});\nconst OmnisendListContacts_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value.\").nullable(),\n type: z.string().describe(\"Identifier type.\").nullable(),\n channels: z.record(z.string(), z.unknown()).describe(\"Mapping of channel-specific identifier details.\"),\n});\nconst OmnisendListContacts_ContactSchema = z.object({\n city: z.string().describe(\"City.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to contact.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers.\").nullable().optional(),\n state: z.string().describe(\"State or region.\").nullable().optional(),\n gender: z.string().describe(\"Gender.\").nullable().optional(),\n optIns: z.array(OmnisendListContacts_OptInSchema).describe(\"List of opt-in events.\").nullable().optional(),\n address: z.string().describe(\"Mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n consents: z.array(OmnisendListContacts_ConsentSchema).describe(\"List of consent records.\").nullable().optional(),\n lastName: z.string().describe(\"Last name.\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segment IDs.\").nullable().optional(),\n statuses: z.array(OmnisendListContacts_StatusEntrySchema).describe(\"History of status changes.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in ISO format.\").nullable().optional(),\n contactID: z.string().describe(\"Unique Contact ID.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when contact was created.\").nullable(),\n firstName: z.string().describe(\"First name.\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n identifiers: z.array(OmnisendListContacts_IdentifierSchema).describe(\"List of additional identifiers.\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Additional custom properties.\").nullable().optional(),\n});\nexport const OmnisendListContactsOutput = z.object({\n paging: OmnisendListContacts_PagingSchema.nullable(),\n contacts: z.array(OmnisendListContacts_ContactSchema).describe(\"List of contacts.\"),\n});\n\nexport const omnisendListContacts = action(\"OMNISEND_LIST_CONTACTS\", {\n slug: \"omnisend-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to retrieve a paginated list of contacts with optional filtering. Use when you need to fetch contacts in batches and handle cursor pagination.\",\n input: OmnisendListContactsInput,\n output: OmnisendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,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AAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC;AAMD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB;CACpF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListContactsInput = z.object({\n tag: z.string().describe(\"Filter contacts by tag.\").optional(),\n after: z.string().describe(\"Cursor for pagination: contacts after this base64-encoded ContactID.\").optional(),\n email: z.string().describe(\"Filter contacts by exact email address.\").optional(),\n limit: z.number().int().default(100).describe(\"Number of results per page. Defaults to 100, maximum 250.\").optional(),\n phone: z.string().describe(\"Filter contacts by full phone number including country code.\").optional(),\n before: z.string().describe(\"Cursor for pagination: contacts before this base64-encoded ContactID.\").optional(),\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Filter contacts by email channel status.\").optional(),\n segmentID: z.number().int().describe(\"Filter contacts by segment ID.\").optional(),\n}).describe(\"Query parameters for listing contacts. Supply only needed filters.\");\nconst OmnisendListContacts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Page size returned.\").nullable(),\n offset: z.number().int().describe(\"Offset value (deprecated).\").nullable().optional(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListContacts_OptInSchema = z.object({\n date: z.string().describe(\"Timestamp of opt-in.\").nullable(),\n channel: z.string().describe(\"Opt-in channel.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_ConsentSchema = z.object({\n ip: z.string().describe(\"IP address from which consent was given.\").nullable(),\n source: z.string().describe(\"Source of consent (e.g., signup form).\").nullable(),\n channel: z.string().describe(\"Consent channel (e.g., email, SMS).\").nullable(),\n createdAt: z.string().describe(\"Timestamp when consent was recorded.\").nullable(),\n userAgent: z.string().describe(\"User agent string at consent time.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_StatusEntrySchema = z.object({\n date: z.string().describe(\"Timestamp of status change.\").nullable(),\n status: z.string().describe(\"New status value.\").nullable(),\n channel: z.string().describe(\"Channel of the status update.\").nullable(),\n}).passthrough();\nconst OmnisendListContacts_IdentifierSchema = z.object({\n id: z.string().describe(\"Identifier value.\").nullable(),\n type: z.string().describe(\"Identifier type.\").nullable(),\n channels: z.record(z.string(), z.unknown()).describe(\"Mapping of channel-specific identifier details.\"),\n}).passthrough();\nconst OmnisendListContacts_ContactSchema = z.object({\n city: z.string().describe(\"City.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags assigned to contact.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable(),\n phone: z.array(z.string()).describe(\"List of phone numbers.\").nullable().optional(),\n state: z.string().describe(\"State or region.\").nullable().optional(),\n gender: z.string().describe(\"Gender.\").nullable().optional(),\n optIns: z.array(OmnisendListContacts_OptInSchema).describe(\"List of opt-in events.\").nullable().optional(),\n address: z.string().describe(\"Mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country name.\").nullable().optional(),\n consents: z.array(OmnisendListContacts_ConsentSchema).describe(\"List of consent records.\").nullable().optional(),\n lastName: z.string().describe(\"Last name.\").nullable().optional(),\n segments: z.array(z.string()).describe(\"List of segment IDs.\").nullable().optional(),\n statuses: z.array(OmnisendListContacts_StatusEntrySchema).describe(\"History of status changes.\").nullable().optional(),\n birthdate: z.string().describe(\"Birthdate in ISO format.\").nullable().optional(),\n contactID: z.string().describe(\"Unique Contact ID.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when contact was created.\").nullable(),\n firstName: z.string().describe(\"First name.\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code.\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code.\").nullable().optional(),\n identifiers: z.array(OmnisendListContacts_IdentifierSchema).describe(\"List of additional identifiers.\").nullable().optional(),\n customProperties: z.record(z.string(), z.unknown()).describe(\"Additional custom properties.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListContactsOutput = z.object({\n paging: OmnisendListContacts_PagingSchema.nullable(),\n contacts: z.array(OmnisendListContacts_ContactSchema).describe(\"List of contacts.\"),\n}).passthrough();\n\nexport const omnisendListContacts = action(\"OMNISEND_LIST_CONTACTS\", {\n slug: \"omnisend-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to retrieve a paginated list of contacts with optional filtering. Use when you need to fetch contacts in batches and handle cursor pagination.\",\n input: OmnisendListContactsInput,\n output: OmnisendListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,KAAK;EAAC;EAAc;EAAiB;CAAc,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,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U,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB;CACpF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,7 +6,7 @@ const OmnisendListEvents_EventFieldSchema = zod.z.object({
6
6
  name: zod.z.string().describe("Field name.").nullable().optional(),
7
7
  type: zod.z.string().describe("Field type.").nullable().optional(),
8
8
  required: zod.z.boolean().describe("Whether field is required.").nullable().optional()
9
- }).describe("Individual field definition in an event.");
9
+ }).passthrough().describe("Individual field definition in an event.");
10
10
  const OmnisendListEvents_EventSchema = zod.z.object({
11
11
  name: zod.z.string().describe("Event display name.").nullable().optional(),
12
12
  fields: zod.z.array(OmnisendListEvents_EventFieldSchema).describe("Custom fields defined for this event.").nullable().optional(),
@@ -16,8 +16,8 @@ const OmnisendListEvents_EventSchema = zod.z.object({
16
16
  updatedAt: zod.z.string().describe("Last updated timestamp (ISO 8601).").nullable().optional(),
17
17
  launchedAt: zod.z.string().describe("Event launch timestamp (ISO 8601).").nullable().optional(),
18
18
  systemName: zod.z.string().describe("System name for the event.").nullable().optional()
19
- }).describe("Custom event object.");
20
- const OmnisendListEventsOutput = zod.z.object({ events: zod.z.array(OmnisendListEvents_EventSchema).describe("Array of custom event objects.").nullable().optional() }).describe("Response schema containing array of custom events.");
19
+ }).passthrough().describe("Custom event object.");
20
+ const OmnisendListEventsOutput = zod.z.object({ events: zod.z.array(OmnisendListEvents_EventSchema).describe("Array of custom event objects.").nullable().optional() }).passthrough().describe("Response schema containing array of custom events.");
21
21
  const omnisendListEvents = require_action.action("OMNISEND_LIST_EVENTS", {
22
22
  slug: "omnisend-list-events",
23
23
  name: "List Events",
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CA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"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,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AAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,15 +9,15 @@ declare const OmnisendListEventsOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
- }, z.core.$strip>>>>;
12
+ }, z.core.$loose>>>>;
13
13
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  eventID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  launchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  systemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>>;
20
+ }, z.core.$loose>;
21
21
  declare const omnisendListEvents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
22
  //#endregion
23
23
  export { omnisendListEvents };
@@ -9,15 +9,15 @@ declare const OmnisendListEventsOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
- }, z.core.$strip>>>>;
12
+ }, z.core.$loose>>>>;
13
13
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  eventID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  launchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  systemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>>;
20
+ }, z.core.$loose>;
21
21
  declare const omnisendListEvents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
22
  //#endregion
23
23
  export { omnisendListEvents };
@@ -6,7 +6,7 @@ const OmnisendListEvents_EventFieldSchema = z.object({
6
6
  name: z.string().describe("Field name.").nullable().optional(),
7
7
  type: z.string().describe("Field type.").nullable().optional(),
8
8
  required: z.boolean().describe("Whether field is required.").nullable().optional()
9
- }).describe("Individual field definition in an event.");
9
+ }).passthrough().describe("Individual field definition in an event.");
10
10
  const OmnisendListEvents_EventSchema = z.object({
11
11
  name: z.string().describe("Event display name.").nullable().optional(),
12
12
  fields: z.array(OmnisendListEvents_EventFieldSchema).describe("Custom fields defined for this event.").nullable().optional(),
@@ -16,13 +16,13 @@ const OmnisendListEvents_EventSchema = z.object({
16
16
  updatedAt: z.string().describe("Last updated timestamp (ISO 8601).").nullable().optional(),
17
17
  launchedAt: z.string().describe("Event launch timestamp (ISO 8601).").nullable().optional(),
18
18
  systemName: z.string().describe("System name for the event.").nullable().optional()
19
- }).describe("Custom event object.");
19
+ }).passthrough().describe("Custom event object.");
20
20
  const omnisendListEvents = action("OMNISEND_LIST_EVENTS", {
21
21
  slug: "omnisend-list-events",
22
22
  name: "List Events",
23
23
  description: "Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.",
24
24
  input: OmnisendListEventsInput,
25
- output: z.object({ events: z.array(OmnisendListEvents_EventSchema).describe("Array of custom event objects.").nullable().optional() }).describe("Response schema containing array of custom events.")
25
+ output: z.object({ events: z.array(OmnisendListEvents_EventSchema).describe("Array of custom event objects.").nullable().optional() }).passthrough().describe("Response schema containing array of custom events.")
26
26
  });
27
27
  //#endregion
28
28
  export { omnisendListEvents };
@@ -1 +1 @@
1
- {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAKlC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListEventsInput = z.object({}).describe(\"Request schema for listing custom events. No parameters required.\");\nconst OmnisendListEvents_EventFieldSchema = z.object({\n name: z.string().describe(\"Field name.\").nullable().optional(),\n type: z.string().describe(\"Field type.\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required.\").nullable().optional(),\n}).passthrough().describe(\"Individual field definition in an event.\");\nconst OmnisendListEvents_EventSchema = z.object({\n name: z.string().describe(\"Event display name.\").nullable().optional(),\n fields: z.array(OmnisendListEvents_EventFieldSchema).describe(\"Custom fields defined for this event.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the event is currently enabled.\").nullable().optional(),\n eventID: z.string().describe(\"Unique event identifier.\").nullable().optional(),\n createdAt: z.string().describe(\"Event creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n launchedAt: z.string().describe(\"Event launch timestamp (ISO 8601).\").nullable().optional(),\n systemName: z.string().describe(\"System name for the event.\").nullable().optional(),\n}).passthrough().describe(\"Custom event object.\");\nexport const OmnisendListEventsOutput = z.object({\n events: z.array(OmnisendListEvents_EventSchema).describe(\"Array of custom event objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing array of custom events.\");\n\nexport const omnisendListEvents = action(\"OMNISEND_LIST_EVENTS\", {\n slug: \"omnisend-list-events\",\n name: \"List Events\",\n description: \"Tool to retrieve all custom events created in Omnisend app. Use when you need to view available event types for automation workflows or event tracking.\",\n input: OmnisendListEventsInput,\n output: OmnisendListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAChI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -15,17 +15,17 @@ const OmnisendListProductCategories_PagingSchema = zod.z.object({
15
15
  limit: zod.z.number().int().describe("Number of items requested per page.").nullable(),
16
16
  offset: zod.z.number().int().describe("Offset of the first item returned.").nullable(),
17
17
  previous: zod.z.string().describe("URL for previous page of results.").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const OmnisendListProductCategories_CategorySchema = zod.z.object({
20
20
  title: zod.z.string().describe("Category title.").nullable(),
21
21
  createdAt: zod.z.string().describe("Creation timestamp (ISO 8601).").nullable().optional(),
22
22
  updatedAt: zod.z.string().describe("Last updated timestamp (ISO 8601).").nullable().optional(),
23
23
  categoryID: zod.z.string().describe("Unique category identifier.").nullable()
24
- });
24
+ }).passthrough();
25
25
  const OmnisendListProductCategoriesOutput = zod.z.object({
26
26
  paging: OmnisendListProductCategories_PagingSchema.nullable(),
27
27
  categories: zod.z.array(OmnisendListProductCategories_CategorySchema).describe("Array of product category objects.")
28
- });
28
+ }).passthrough();
29
29
  const omnisendListProductCategories = require_action.action("OMNISEND_LIST_PRODUCT_CATEGORIES", {
30
30
  slug: "omnisend-list-product-categories",
31
31
  name: "List Product Categories",
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n});\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n});\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n});\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-product-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,I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AsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQ,2CAA2C,SAAS;CAC5D,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,14 +16,14 @@ declare const OmnisendListProductCategoriesOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  categories: z.ZodArray<z.ZodObject<{
21
21
  title: z.ZodNullable<z.ZodString>;
22
22
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  categoryID: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const omnisendListProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  sort?: "date" | "createdAt" | "updatedAt" | undefined;
29
29
  limit?: number | undefined;
@@ -16,14 +16,14 @@ declare const OmnisendListProductCategoriesOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  categories: z.ZodArray<z.ZodObject<{
21
21
  title: z.ZodNullable<z.ZodString>;
22
22
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  categoryID: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const omnisendListProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  sort?: "date" | "createdAt" | "updatedAt" | undefined;
29
29
  limit?: number | undefined;
@@ -15,13 +15,13 @@ const OmnisendListProductCategories_PagingSchema = z.object({
15
15
  limit: z.number().int().describe("Number of items requested per page.").nullable(),
16
16
  offset: z.number().int().describe("Offset of the first item returned.").nullable(),
17
17
  previous: z.string().describe("URL for previous page of results.").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const OmnisendListProductCategories_CategorySchema = z.object({
20
20
  title: z.string().describe("Category title.").nullable(),
21
21
  createdAt: z.string().describe("Creation timestamp (ISO 8601).").nullable().optional(),
22
22
  updatedAt: z.string().describe("Last updated timestamp (ISO 8601).").nullable().optional(),
23
23
  categoryID: z.string().describe("Unique category identifier.").nullable()
24
- });
24
+ }).passthrough();
25
25
  const omnisendListProductCategories = action("OMNISEND_LIST_PRODUCT_CATEGORIES", {
26
26
  slug: "omnisend-list-product-categories",
27
27
  name: "List Product Categories",
@@ -30,7 +30,7 @@ const omnisendListProductCategories = action("OMNISEND_LIST_PRODUCT_CATEGORIES",
30
30
  output: z.object({
31
31
  paging: OmnisendListProductCategories_PagingSchema.nullable(),
32
32
  categories: z.array(OmnisendListProductCategories_CategorySchema).describe("Array of product category objects.")
33
- })
33
+ }).passthrough()
34
34
  });
35
35
  //#endregion
36
36
  export { omnisendListProductCategories };
@@ -1 +1 @@
1
- {"version":3,"file":"list-product-categories.mjs","names":[],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n});\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n});\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n});\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC;AAMD,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,2CAA2C,SAAS;EAC5D,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;CACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-product-categories.mjs","names":[],"sources":["../../src/actions/list-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductCategoriesInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of categories to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first category to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProductCategories_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProductCategories_CategorySchema = z.object({\n title: z.string().describe(\"Category title.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable().optional(),\n categoryID: z.string().describe(\"Unique category identifier.\").nullable(),\n}).passthrough();\nexport const OmnisendListProductCategoriesOutput = z.object({\n paging: OmnisendListProductCategories_PagingSchema.nullable(),\n categories: z.array(OmnisendListProductCategories_CategorySchema).describe(\"Array of product category objects.\"),\n}).passthrough();\n\nexport const omnisendListProductCategories = action(\"OMNISEND_LIST_PRODUCT_CATEGORIES\", {\n slug: \"omnisend-list-product-categories\",\n name: \"List Product Categories\",\n description: \"Tool to retrieve a paginated list of product categories from the Omnisend catalog. Use when fetching category data for product organization.\",\n input: OmnisendListProductCategoriesInput,\n output: OmnisendListProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,2CAA2C,SAAS;EAC5D,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -15,7 +15,7 @@ const OmnisendListProducts_PagingSchema = zod.z.object({
15
15
  limit: zod.z.number().int().describe("Number of items requested per page.").nullable(),
16
16
  offset: zod.z.number().int().describe("Offset of the first item returned.").nullable(),
17
17
  previous: zod.z.string().describe("URL for previous page of results.").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const OmnisendListProducts_ProductVariantSchema = zod.z.object({
20
20
  id: zod.z.string().describe("Unique variant identifier.").nullable(),
21
21
  sku: zod.z.string().describe("Stock keeping unit.").nullable().optional(),
@@ -32,7 +32,7 @@ const OmnisendListProducts_ProductVariantSchema = zod.z.object({
32
32
  description: zod.z.string().describe("Variant description.").nullable().optional(),
33
33
  defaultImageUrl: zod.z.string().describe("Primary image URL for this variant.").nullable().optional(),
34
34
  strikeThroughPrice: zod.z.number().describe("Original price before discount.").nullable().optional()
35
- });
35
+ }).passthrough();
36
36
  const OmnisendListProducts_ProductSchema = zod.z.object({
37
37
  id: zod.z.string().describe("Product identifier.").nullable(),
38
38
  url: zod.z.string().describe("Product page URL.").nullable(),
@@ -52,11 +52,11 @@ const OmnisendListProducts_ProductSchema = zod.z.object({
52
52
  categoryIDs: zod.z.array(zod.z.string()).describe("List of category IDs.").nullable().optional(),
53
53
  description: zod.z.string().describe("Short product description.").nullable().optional(),
54
54
  defaultImageUrl: zod.z.string().describe("Primary image URL.").nullable().optional()
55
- });
55
+ }).passthrough();
56
56
  const OmnisendListProductsOutput = zod.z.object({
57
57
  paging: OmnisendListProducts_PagingSchema.nullable(),
58
58
  products: zod.z.array(OmnisendListProducts_ProductSchema).describe("Array of product objects.")
59
- });
59
+ }).passthrough();
60
60
  const omnisendListProducts = require_action.action("OMNISEND_LIST_PRODUCTS", {
61
61
  slug: "omnisend-list-products",
62
62
  name: "List Products",
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n});\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n});\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n});\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n});\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAA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UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;AAC5F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CA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AyC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQ,kCAAkC,SAAS;CACnD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;AAC5F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  products: z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodString>;
22
22
  url: z.ZodNullable<z.ZodString>;
@@ -46,14 +46,14 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
46
46
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  strikeThroughPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
- }, z.core.$strip>>>>;
49
+ }, z.core.$loose>>>>;
50
50
  createdAt: z.ZodNullable<z.ZodString>;
51
51
  updatedAt: z.ZodNullable<z.ZodString>;
52
52
  categoryIDs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
53
53
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- }, z.core.$strip>>;
56
- }, z.core.$strip>;
55
+ }, z.core.$loose>>;
56
+ }, z.core.$loose>;
57
57
  declare const omnisendListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
58
58
  sort?: "date" | "createdAt" | "updatedAt" | undefined;
59
59
  limit?: number | undefined;
@@ -16,7 +16,7 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
16
16
  limit: z.ZodNullable<z.ZodNumber>;
17
17
  offset: z.ZodNullable<z.ZodNumber>;
18
18
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  products: z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodString>;
22
22
  url: z.ZodNullable<z.ZodString>;
@@ -46,14 +46,14 @@ declare const OmnisendListProductsOutput: z.ZodObject<{
46
46
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  strikeThroughPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
- }, z.core.$strip>>>>;
49
+ }, z.core.$loose>>>>;
50
50
  createdAt: z.ZodNullable<z.ZodString>;
51
51
  updatedAt: z.ZodNullable<z.ZodString>;
52
52
  categoryIDs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
53
53
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  defaultImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- }, z.core.$strip>>;
56
- }, z.core.$strip>;
55
+ }, z.core.$loose>>;
56
+ }, z.core.$loose>;
57
57
  declare const omnisendListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
58
58
  sort?: "date" | "createdAt" | "updatedAt" | undefined;
59
59
  limit?: number | undefined;
@@ -15,7 +15,7 @@ const OmnisendListProducts_PagingSchema = z.object({
15
15
  limit: z.number().int().describe("Number of items requested per page.").nullable(),
16
16
  offset: z.number().int().describe("Offset of the first item returned.").nullable(),
17
17
  previous: z.string().describe("URL for previous page of results.").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const OmnisendListProducts_ProductVariantSchema = z.object({
20
20
  id: z.string().describe("Unique variant identifier.").nullable(),
21
21
  sku: z.string().describe("Stock keeping unit.").nullable().optional(),
@@ -32,7 +32,7 @@ const OmnisendListProducts_ProductVariantSchema = z.object({
32
32
  description: z.string().describe("Variant description.").nullable().optional(),
33
33
  defaultImageUrl: z.string().describe("Primary image URL for this variant.").nullable().optional(),
34
34
  strikeThroughPrice: z.number().describe("Original price before discount.").nullable().optional()
35
- });
35
+ }).passthrough();
36
36
  const OmnisendListProducts_ProductSchema = z.object({
37
37
  id: z.string().describe("Product identifier.").nullable(),
38
38
  url: z.string().describe("Product page URL.").nullable(),
@@ -52,7 +52,7 @@ const OmnisendListProducts_ProductSchema = z.object({
52
52
  categoryIDs: z.array(z.string()).describe("List of category IDs.").nullable().optional(),
53
53
  description: z.string().describe("Short product description.").nullable().optional(),
54
54
  defaultImageUrl: z.string().describe("Primary image URL.").nullable().optional()
55
- });
55
+ }).passthrough();
56
56
  const omnisendListProducts = action("OMNISEND_LIST_PRODUCTS", {
57
57
  slug: "omnisend-list-products",
58
58
  name: "List Products",
@@ -61,7 +61,7 @@ const omnisendListProducts = action("OMNISEND_LIST_PRODUCTS", {
61
61
  output: z.object({
62
62
  paging: OmnisendListProducts_PagingSchema.nullable(),
63
63
  products: z.array(OmnisendListProducts_ProductSchema).describe("Array of product objects.")
64
- })
64
+ }).passthrough()
65
65
  });
66
66
  //#endregion
67
67
  export { omnisendListProducts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n});\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n});\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n});\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n});\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzI,CAAC;AACD,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C,CAAC,SAAS;CACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;AAMD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;CAC5F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendListProductsInput = z.object({\n sort: z.enum([\"date\", \"createdAt\", \"updatedAt\"]).describe(\"Field to sort by. Allowed values: 'date', 'createdAt', or 'updatedAt'.\").optional(),\n limit: z.number().int().default(100).describe(\"Maximum number of products to return. Defaults to 100.\").optional(),\n offset: z.number().int().default(0).describe(\"Zero-based index of the first product to return. Use to page through results.\").optional(),\n});\nconst OmnisendListProducts_PagingSchema = z.object({\n next: z.string().describe(\"URL for next page of results.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of items requested per page.\").nullable(),\n offset: z.number().int().describe(\"Offset of the first item returned.\").nullable(),\n previous: z.string().describe(\"URL for previous page of results.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductVariantSchema = z.object({\n id: z.string().describe(\"Unique variant identifier.\").nullable(),\n sku: z.string().describe(\"Stock keeping unit.\").nullable().optional(),\n url: z.string().describe(\"Product page URL for this variant.\").nullable(),\n price: z.number().describe(\"Variant price.\").nullable(),\n title: z.string().describe(\"Variant title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status.\").nullable(),\n vendor: z.string().describe(\"Manufacturer or brand.\").nullable().optional(),\n description: z.string().describe(\"Variant description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").nullable().optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount.\").nullable().optional(),\n}).passthrough();\nconst OmnisendListProducts_ProductSchema = z.object({\n id: z.string().describe(\"Product identifier.\").nullable(),\n url: z.string().describe(\"Product page URL.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags.\").nullable().optional(),\n type: z.string().describe(\"Product type/category.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable(),\n images: z.array(z.string()).describe(\"Additional image URLs.\").nullable().optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall stock status.\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable(),\n variants: z.array(OmnisendListProducts_ProductVariantSchema).describe(\"List of product variants.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp (ISO 8601).\").nullable(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs.\").nullable().optional(),\n description: z.string().describe(\"Short product description.\").nullable().optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL.\").nullable().optional(),\n}).passthrough();\nexport const OmnisendListProductsOutput = z.object({\n paging: OmnisendListProducts_PagingSchema.nullable(),\n products: z.array(OmnisendListProducts_ProductSchema).describe(\"Array of product objects.\"),\n}).passthrough();\n\nexport const omnisendListProducts = action(\"OMNISEND_LIST_PRODUCTS\", {\n slug: \"omnisend-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a paginated list of products. Use when syncing product catalog before campaign creation.\",\n input: OmnisendListProductsInput,\n output: OmnisendListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,OAAO,CAAC,C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AC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,kCAAkC,SAAS;EACnD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B;CAC5F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,7 +5,7 @@ const OmnisendRemoveCartProductInput = zod.z.object({
5
5
  cart_id: zod.z.string().describe("Unique identifier of the cart."),
6
6
  cart_product_id: zod.z.string().describe("Unique identifier of the product in the cart to remove.")
7
7
  });
8
- const OmnisendRemoveCartProductOutput = zod.z.object({}).describe("Empty response for successful deletion (204 No Content).");
8
+ const OmnisendRemoveCartProductOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
9
9
  const omnisendRemoveCartProduct = require_action.action("OMNISEND_REMOVE_CART_PRODUCT", {
10
10
  slug: "omnisend-remove-cart-product",
11
11
  name: "Remove Cart Product",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.object({}).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE/H,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/remove-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendRemoveCartProductInput = z.object({\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to remove.\"),\n});\nexport const OmnisendRemoveCartProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendRemoveCartProduct = action(\"OMNISEND_REMOVE_CART_PRODUCT\", {\n slug: \"omnisend-remove-cart-product\",\n name: \"Remove Cart Product\",\n description: \"Tool to remove a product from a cart in Omnisend. Use when you need to delete a specific product from a cart.\",\n input: OmnisendRemoveCartProductInput,\n output: OmnisendRemoveCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEpJ,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
5
5
  cart_id: z.ZodString;
6
6
  cart_product_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
- declare const OmnisendRemoveCartProductOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const OmnisendRemoveCartProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  cart_id: string;
11
11
  cart_product_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"remove-cart-product.d.cts","names":[],"sources":["../../src/actions/remove-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,gCAAyB,wBAAA"}
@@ -5,7 +5,7 @@ declare const OmnisendRemoveCartProductInput: z.ZodObject<{
5
5
  cart_id: z.ZodString;
6
6
  cart_product_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
- declare const OmnisendRemoveCartProductOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const OmnisendRemoveCartProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const omnisendRemoveCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  cart_id: string;
11
11
  cart_product_id: string;