@keystrokehq/reddit_ads 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 (509) hide show
  1. package/dist/actions/create-ad-group.cjs +2 -2
  2. package/dist/actions/create-ad-group.cjs.map +1 -1
  3. package/dist/actions/create-ad-group.d.cts +2 -2
  4. package/dist/actions/create-ad-group.d.mts +2 -2
  5. package/dist/actions/create-ad-group.mjs +2 -2
  6. package/dist/actions/create-ad-group.mjs.map +1 -1
  7. package/dist/actions/create-batch-products.cjs +6 -6
  8. package/dist/actions/create-batch-products.cjs.map +1 -1
  9. package/dist/actions/create-batch-products.d.cts +8 -7
  10. package/dist/actions/create-batch-products.d.cts.map +1 -1
  11. package/dist/actions/create-batch-products.d.mts +8 -7
  12. package/dist/actions/create-batch-products.d.mts.map +1 -1
  13. package/dist/actions/create-batch-products.mjs +6 -6
  14. package/dist/actions/create-batch-products.mjs.map +1 -1
  15. package/dist/actions/create-campaign.cjs +3 -3
  16. package/dist/actions/create-campaign.cjs.map +1 -1
  17. package/dist/actions/create-campaign.d.cts +3 -3
  18. package/dist/actions/create-campaign.d.mts +3 -3
  19. package/dist/actions/create-campaign.mjs +3 -3
  20. package/dist/actions/create-campaign.mjs.map +1 -1
  21. package/dist/actions/create-custom-audience.cjs +5 -5
  22. package/dist/actions/create-custom-audience.cjs.map +1 -1
  23. package/dist/actions/create-custom-audience.d.cts +5 -5
  24. package/dist/actions/create-custom-audience.d.mts +5 -5
  25. package/dist/actions/create-custom-audience.mjs +5 -5
  26. package/dist/actions/create-custom-audience.mjs.map +1 -1
  27. package/dist/actions/create-lead-gen-form.cjs +4 -4
  28. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  29. package/dist/actions/create-lead-gen-form.d.cts +5 -4
  30. package/dist/actions/create-lead-gen-form.d.mts +5 -4
  31. package/dist/actions/create-lead-gen-form.mjs +4 -4
  32. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  33. package/dist/actions/create-post.cjs +4 -4
  34. package/dist/actions/create-post.cjs.map +1 -1
  35. package/dist/actions/create-post.d.cts +5 -4
  36. package/dist/actions/create-post.d.mts +5 -4
  37. package/dist/actions/create-post.mjs +4 -4
  38. package/dist/actions/create-post.mjs.map +1 -1
  39. package/dist/actions/create-product-catalog.cjs +3 -3
  40. package/dist/actions/create-product-catalog.cjs.map +1 -1
  41. package/dist/actions/create-product-catalog.d.cts +3 -3
  42. package/dist/actions/create-product-catalog.d.mts +3 -3
  43. package/dist/actions/create-product-catalog.mjs +3 -3
  44. package/dist/actions/create-product-catalog.mjs.map +1 -1
  45. package/dist/actions/create-product-feed.cjs +4 -4
  46. package/dist/actions/create-product-feed.cjs.map +1 -1
  47. package/dist/actions/create-product-feed.d.cts +4 -4
  48. package/dist/actions/create-product-feed.d.mts +4 -4
  49. package/dist/actions/create-product-feed.mjs +4 -4
  50. package/dist/actions/create-product-feed.mjs.map +1 -1
  51. package/dist/actions/create-product-set.cjs +4 -4
  52. package/dist/actions/create-product-set.cjs.map +1 -1
  53. package/dist/actions/create-product-set.d.cts +4 -4
  54. package/dist/actions/create-product-set.d.mts +4 -4
  55. package/dist/actions/create-product-set.mjs +4 -4
  56. package/dist/actions/create-product-set.mjs.map +1 -1
  57. package/dist/actions/create-saved-audience.cjs +3 -3
  58. package/dist/actions/create-saved-audience.cjs.map +1 -1
  59. package/dist/actions/create-saved-audience.d.cts +3 -3
  60. package/dist/actions/create-saved-audience.d.mts +3 -3
  61. package/dist/actions/create-saved-audience.mjs +3 -3
  62. package/dist/actions/create-saved-audience.mjs.map +1 -1
  63. package/dist/actions/create-structured-post-creation-job.cjs +15 -15
  64. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  65. package/dist/actions/create-structured-post-creation-job.d.cts +28 -24
  66. package/dist/actions/create-structured-post-creation-job.d.mts +28 -24
  67. package/dist/actions/create-structured-post-creation-job.mjs +15 -15
  68. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  69. package/dist/actions/delete-custom-audience.cjs +1 -1
  70. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  71. package/dist/actions/delete-custom-audience.d.cts +1 -1
  72. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  73. package/dist/actions/delete-custom-audience.d.mts +1 -1
  74. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  75. package/dist/actions/delete-custom-audience.mjs +1 -1
  76. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  77. package/dist/actions/delete-product-catalog.cjs +1 -1
  78. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  79. package/dist/actions/delete-product-catalog.d.cts +1 -1
  80. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  81. package/dist/actions/delete-product-catalog.d.mts +1 -1
  82. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  83. package/dist/actions/delete-product-catalog.mjs +1 -1
  84. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  85. package/dist/actions/delete-product-feed.cjs +1 -1
  86. package/dist/actions/delete-product-feed.cjs.map +1 -1
  87. package/dist/actions/delete-product-feed.d.cts +1 -1
  88. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  89. package/dist/actions/delete-product-feed.d.mts +1 -1
  90. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  91. package/dist/actions/delete-product-feed.mjs +1 -1
  92. package/dist/actions/delete-product-feed.mjs.map +1 -1
  93. package/dist/actions/delete-product-set.cjs +1 -1
  94. package/dist/actions/delete-product-set.cjs.map +1 -1
  95. package/dist/actions/delete-product-set.d.cts +1 -1
  96. package/dist/actions/delete-product-set.d.cts.map +1 -1
  97. package/dist/actions/delete-product-set.d.mts +1 -1
  98. package/dist/actions/delete-product-set.d.mts.map +1 -1
  99. package/dist/actions/delete-product-set.mjs +1 -1
  100. package/dist/actions/delete-product-set.mjs.map +1 -1
  101. package/dist/actions/delete-products.cjs +1 -1
  102. package/dist/actions/delete-products.cjs.map +1 -1
  103. package/dist/actions/delete-products.d.cts +2 -2
  104. package/dist/actions/delete-products.d.mts +2 -2
  105. package/dist/actions/delete-products.mjs +1 -1
  106. package/dist/actions/delete-products.mjs.map +1 -1
  107. package/dist/actions/do-geolocation-validations.cjs +3 -3
  108. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  109. package/dist/actions/do-geolocation-validations.d.cts +3 -3
  110. package/dist/actions/do-geolocation-validations.d.mts +3 -3
  111. package/dist/actions/do-geolocation-validations.mjs +3 -3
  112. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  113. package/dist/actions/do-keyword-validations.cjs +2 -2
  114. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  115. package/dist/actions/do-keyword-validations.d.cts +2 -2
  116. package/dist/actions/do-keyword-validations.d.mts +2 -2
  117. package/dist/actions/do-keyword-validations.mjs +2 -2
  118. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  119. package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
  120. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  121. package/dist/actions/generate-inspiration-creative-summary.d.cts +8 -8
  122. package/dist/actions/generate-inspiration-creative-summary.d.mts +8 -8
  123. package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
  124. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  125. package/dist/actions/get-a-report.cjs +3 -3
  126. package/dist/actions/get-a-report.cjs.map +1 -1
  127. package/dist/actions/get-a-report.d.cts +3 -3
  128. package/dist/actions/get-a-report.d.mts +3 -3
  129. package/dist/actions/get-a-report.mjs +3 -3
  130. package/dist/actions/get-a-report.mjs.map +1 -1
  131. package/dist/actions/get-ad-account-history.cjs +6 -6
  132. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  133. package/dist/actions/get-ad-account-history.d.cts +9 -6
  134. package/dist/actions/get-ad-account-history.d.mts +9 -6
  135. package/dist/actions/get-ad-account-history.mjs +6 -6
  136. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  137. package/dist/actions/get-ad-account.cjs +2 -2
  138. package/dist/actions/get-ad-account.cjs.map +1 -1
  139. package/dist/actions/get-ad-account.d.cts +2 -2
  140. package/dist/actions/get-ad-account.d.mts +2 -2
  141. package/dist/actions/get-ad-account.mjs +2 -2
  142. package/dist/actions/get-ad-account.mjs.map +1 -1
  143. package/dist/actions/get-ad-group.cjs +6 -6
  144. package/dist/actions/get-ad-group.cjs.map +1 -1
  145. package/dist/actions/get-ad-group.d.cts +6 -6
  146. package/dist/actions/get-ad-group.d.mts +6 -6
  147. package/dist/actions/get-ad-group.mjs +6 -6
  148. package/dist/actions/get-ad-group.mjs.map +1 -1
  149. package/dist/actions/get-app-last-fired-at.cjs +2 -2
  150. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  151. package/dist/actions/get-app-last-fired-at.d.cts +2 -2
  152. package/dist/actions/get-app-last-fired-at.d.mts +2 -2
  153. package/dist/actions/get-app-last-fired-at.mjs +2 -2
  154. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  155. package/dist/actions/get-business.cjs +2 -2
  156. package/dist/actions/get-business.cjs.map +1 -1
  157. package/dist/actions/get-business.d.cts +2 -2
  158. package/dist/actions/get-business.d.mts +2 -2
  159. package/dist/actions/get-business.mjs +2 -2
  160. package/dist/actions/get-business.mjs.map +1 -1
  161. package/dist/actions/get-campaign.cjs +3 -3
  162. package/dist/actions/get-campaign.cjs.map +1 -1
  163. package/dist/actions/get-campaign.d.cts +3 -3
  164. package/dist/actions/get-campaign.d.mts +3 -3
  165. package/dist/actions/get-campaign.mjs +3 -3
  166. package/dist/actions/get-campaign.mjs.map +1 -1
  167. package/dist/actions/get-channel-planning-reach.cjs +3 -3
  168. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  169. package/dist/actions/get-channel-planning-reach.d.cts +3 -3
  170. package/dist/actions/get-channel-planning-reach.d.mts +3 -3
  171. package/dist/actions/get-channel-planning-reach.mjs +3 -3
  172. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  173. package/dist/actions/get-child-funding-instruments.cjs +3 -3
  174. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  175. package/dist/actions/get-child-funding-instruments.d.cts +3 -3
  176. package/dist/actions/get-child-funding-instruments.d.mts +3 -3
  177. package/dist/actions/get-child-funding-instruments.mjs +3 -3
  178. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  179. package/dist/actions/get-custom-audience.cjs +7 -7
  180. package/dist/actions/get-custom-audience.cjs.map +1 -1
  181. package/dist/actions/get-custom-audience.d.cts +7 -7
  182. package/dist/actions/get-custom-audience.d.mts +7 -7
  183. package/dist/actions/get-custom-audience.mjs +7 -7
  184. package/dist/actions/get-custom-audience.mjs.map +1 -1
  185. package/dist/actions/get-lead-gen-form.cjs +3 -3
  186. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  187. package/dist/actions/get-lead-gen-form.d.cts +3 -3
  188. package/dist/actions/get-lead-gen-form.d.mts +3 -3
  189. package/dist/actions/get-lead-gen-form.mjs +3 -3
  190. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  191. package/dist/actions/get-me.cjs +2 -2
  192. package/dist/actions/get-me.cjs.map +1 -1
  193. package/dist/actions/get-me.d.cts +2 -2
  194. package/dist/actions/get-me.d.mts +2 -2
  195. package/dist/actions/get-me.mjs +2 -2
  196. package/dist/actions/get-me.mjs.map +1 -1
  197. package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
  198. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  199. package/dist/actions/get-pixel-last-fired-at.d.cts +4 -4
  200. package/dist/actions/get-pixel-last-fired-at.d.mts +4 -4
  201. package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
  202. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  203. package/dist/actions/get-post.cjs +3 -3
  204. package/dist/actions/get-post.cjs.map +1 -1
  205. package/dist/actions/get-post.d.cts +3 -3
  206. package/dist/actions/get-post.d.mts +3 -3
  207. package/dist/actions/get-post.mjs +3 -3
  208. package/dist/actions/get-post.mjs.map +1 -1
  209. package/dist/actions/get-product-catalog.cjs +3 -3
  210. package/dist/actions/get-product-catalog.cjs.map +1 -1
  211. package/dist/actions/get-product-catalog.d.cts +3 -3
  212. package/dist/actions/get-product-catalog.d.mts +3 -3
  213. package/dist/actions/get-product-catalog.mjs +3 -3
  214. package/dist/actions/get-product-catalog.mjs.map +1 -1
  215. package/dist/actions/get-product-feed.cjs +4 -4
  216. package/dist/actions/get-product-feed.cjs.map +1 -1
  217. package/dist/actions/get-product-feed.d.cts +4 -4
  218. package/dist/actions/get-product-feed.d.mts +4 -4
  219. package/dist/actions/get-product-feed.mjs +4 -4
  220. package/dist/actions/get-product-feed.mjs.map +1 -1
  221. package/dist/actions/get-product-set.cjs +4 -4
  222. package/dist/actions/get-product-set.cjs.map +1 -1
  223. package/dist/actions/get-product-set.d.cts +4 -4
  224. package/dist/actions/get-product-set.d.mts +4 -4
  225. package/dist/actions/get-product-set.mjs +4 -4
  226. package/dist/actions/get-product-set.mjs.map +1 -1
  227. package/dist/actions/get-profile.cjs +2 -2
  228. package/dist/actions/get-profile.cjs.map +1 -1
  229. package/dist/actions/get-profile.d.cts +2 -2
  230. package/dist/actions/get-profile.d.mts +2 -2
  231. package/dist/actions/get-profile.mjs +2 -2
  232. package/dist/actions/get-profile.mjs.map +1 -1
  233. package/dist/actions/get-saved-audience.cjs +3 -3
  234. package/dist/actions/get-saved-audience.cjs.map +1 -1
  235. package/dist/actions/get-saved-audience.d.cts +3 -3
  236. package/dist/actions/get-saved-audience.d.mts +3 -3
  237. package/dist/actions/get-saved-audience.mjs +3 -3
  238. package/dist/actions/get-saved-audience.mjs.map +1 -1
  239. package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
  240. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  241. package/dist/actions/get-sk-ad-network-availability.d.cts +5 -5
  242. package/dist/actions/get-sk-ad-network-availability.d.mts +5 -5
  243. package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
  244. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  245. package/dist/actions/get-structured-post.cjs +3 -3
  246. package/dist/actions/get-structured-post.cjs.map +1 -1
  247. package/dist/actions/get-structured-post.d.cts +3 -3
  248. package/dist/actions/get-structured-post.d.mts +3 -3
  249. package/dist/actions/get-structured-post.mjs +3 -3
  250. package/dist/actions/get-structured-post.mjs.map +1 -1
  251. package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
  252. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  253. package/dist/actions/list-ad-accounts-by-business.d.cts +3 -3
  254. package/dist/actions/list-ad-accounts-by-business.d.mts +3 -3
  255. package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
  256. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  257. package/dist/actions/list-ad-groups.cjs +3 -3
  258. package/dist/actions/list-ad-groups.cjs.map +1 -1
  259. package/dist/actions/list-ad-groups.d.cts +3 -3
  260. package/dist/actions/list-ad-groups.d.mts +3 -3
  261. package/dist/actions/list-ad-groups.mjs +3 -3
  262. package/dist/actions/list-ad-groups.mjs.map +1 -1
  263. package/dist/actions/list-ads.cjs +2 -2
  264. package/dist/actions/list-ads.cjs.map +1 -1
  265. package/dist/actions/list-ads.d.cts +2 -2
  266. package/dist/actions/list-ads.d.mts +2 -2
  267. package/dist/actions/list-ads.mjs +2 -2
  268. package/dist/actions/list-ads.mjs.map +1 -1
  269. package/dist/actions/list-campaigns.cjs +3 -3
  270. package/dist/actions/list-campaigns.cjs.map +1 -1
  271. package/dist/actions/list-campaigns.d.cts +3 -3
  272. package/dist/actions/list-campaigns.d.mts +3 -3
  273. package/dist/actions/list-campaigns.mjs +3 -3
  274. package/dist/actions/list-campaigns.mjs.map +1 -1
  275. package/dist/actions/list-carriers.cjs +3 -3
  276. package/dist/actions/list-carriers.cjs.map +1 -1
  277. package/dist/actions/list-carriers.d.cts +3 -3
  278. package/dist/actions/list-carriers.d.mts +3 -3
  279. package/dist/actions/list-carriers.mjs +3 -3
  280. package/dist/actions/list-carriers.mjs.map +1 -1
  281. package/dist/actions/list-catalog-imports.cjs +4 -4
  282. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  283. package/dist/actions/list-catalog-imports.d.cts +4 -4
  284. package/dist/actions/list-catalog-imports.d.mts +4 -4
  285. package/dist/actions/list-catalog-imports.mjs +4 -4
  286. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  287. package/dist/actions/list-communities-suggestions.cjs +3 -3
  288. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  289. package/dist/actions/list-communities-suggestions.d.cts +3 -3
  290. package/dist/actions/list-communities-suggestions.d.mts +3 -3
  291. package/dist/actions/list-communities-suggestions.mjs +3 -3
  292. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  293. package/dist/actions/list-communities.cjs +3 -3
  294. package/dist/actions/list-communities.cjs.map +1 -1
  295. package/dist/actions/list-communities.d.cts +3 -3
  296. package/dist/actions/list-communities.d.mts +3 -3
  297. package/dist/actions/list-communities.mjs +3 -3
  298. package/dist/actions/list-communities.mjs.map +1 -1
  299. package/dist/actions/list-devices.cjs +3 -3
  300. package/dist/actions/list-devices.cjs.map +1 -1
  301. package/dist/actions/list-devices.d.cts +3 -3
  302. package/dist/actions/list-devices.d.mts +3 -3
  303. package/dist/actions/list-devices.mjs +3 -3
  304. package/dist/actions/list-devices.mjs.map +1 -1
  305. package/dist/actions/list-funding-instruments.cjs +3 -3
  306. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  307. package/dist/actions/list-funding-instruments.d.cts +3 -3
  308. package/dist/actions/list-funding-instruments.d.mts +3 -3
  309. package/dist/actions/list-funding-instruments.mjs +3 -3
  310. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  311. package/dist/actions/list-geolocations.cjs +2 -2
  312. package/dist/actions/list-geolocations.cjs.map +1 -1
  313. package/dist/actions/list-geolocations.d.cts +2 -2
  314. package/dist/actions/list-geolocations.d.mts +2 -2
  315. package/dist/actions/list-geolocations.mjs +2 -2
  316. package/dist/actions/list-geolocations.mjs.map +1 -1
  317. package/dist/actions/list-industries.cjs +2 -2
  318. package/dist/actions/list-industries.cjs.map +1 -1
  319. package/dist/actions/list-industries.d.cts +2 -2
  320. package/dist/actions/list-industries.d.mts +2 -2
  321. package/dist/actions/list-industries.mjs +2 -2
  322. package/dist/actions/list-industries.mjs.map +1 -1
  323. package/dist/actions/list-interests.cjs +2 -2
  324. package/dist/actions/list-interests.cjs.map +1 -1
  325. package/dist/actions/list-interests.d.cts +2 -2
  326. package/dist/actions/list-interests.d.mts +2 -2
  327. package/dist/actions/list-interests.mjs +2 -2
  328. package/dist/actions/list-interests.mjs.map +1 -1
  329. package/dist/actions/list-lead-gen-forms.cjs +4 -4
  330. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  331. package/dist/actions/list-lead-gen-forms.d.cts +4 -4
  332. package/dist/actions/list-lead-gen-forms.d.mts +4 -4
  333. package/dist/actions/list-lead-gen-forms.mjs +4 -4
  334. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  335. package/dist/actions/list-my-businesses.cjs +3 -3
  336. package/dist/actions/list-my-businesses.cjs.map +1 -1
  337. package/dist/actions/list-my-businesses.d.cts +3 -3
  338. package/dist/actions/list-my-businesses.d.mts +3 -3
  339. package/dist/actions/list-my-businesses.mjs +3 -3
  340. package/dist/actions/list-my-businesses.mjs.map +1 -1
  341. package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
  342. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  343. package/dist/actions/list-pixels-by-ad-account.d.cts +2 -2
  344. package/dist/actions/list-pixels-by-ad-account.d.mts +2 -2
  345. package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
  346. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  347. package/dist/actions/list-pixels-by-business.cjs +4 -4
  348. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  349. package/dist/actions/list-pixels-by-business.d.cts +4 -4
  350. package/dist/actions/list-pixels-by-business.d.mts +4 -4
  351. package/dist/actions/list-pixels-by-business.mjs +4 -4
  352. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  353. package/dist/actions/list-posts.cjs +4 -4
  354. package/dist/actions/list-posts.cjs.map +1 -1
  355. package/dist/actions/list-posts.d.cts +4 -4
  356. package/dist/actions/list-posts.d.mts +4 -4
  357. package/dist/actions/list-posts.mjs +4 -4
  358. package/dist/actions/list-posts.mjs.map +1 -1
  359. package/dist/actions/list-product-catalogs.cjs +3 -3
  360. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  361. package/dist/actions/list-product-catalogs.d.cts +3 -3
  362. package/dist/actions/list-product-catalogs.d.mts +3 -3
  363. package/dist/actions/list-product-catalogs.mjs +3 -3
  364. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  365. package/dist/actions/list-product-feeds.cjs +3 -3
  366. package/dist/actions/list-product-feeds.cjs.map +1 -1
  367. package/dist/actions/list-product-feeds.d.cts +3 -3
  368. package/dist/actions/list-product-feeds.d.mts +3 -3
  369. package/dist/actions/list-product-feeds.mjs +3 -3
  370. package/dist/actions/list-product-feeds.mjs.map +1 -1
  371. package/dist/actions/list-product-sets.cjs +4 -4
  372. package/dist/actions/list-product-sets.cjs.map +1 -1
  373. package/dist/actions/list-product-sets.d.cts +4 -4
  374. package/dist/actions/list-product-sets.d.mts +4 -4
  375. package/dist/actions/list-product-sets.mjs +4 -4
  376. package/dist/actions/list-product-sets.mjs.map +1 -1
  377. package/dist/actions/list-products-in-product-catalog.cjs +6 -6
  378. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  379. package/dist/actions/list-products-in-product-catalog.d.cts +6 -6
  380. package/dist/actions/list-products-in-product-catalog.d.mts +6 -6
  381. package/dist/actions/list-products-in-product-catalog.mjs +6 -6
  382. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  383. package/dist/actions/list-products-in-product-set.cjs +5 -5
  384. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  385. package/dist/actions/list-products-in-product-set.d.cts +5 -5
  386. package/dist/actions/list-products-in-product-set.d.mts +5 -5
  387. package/dist/actions/list-products-in-product-set.mjs +5 -5
  388. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  389. package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
  390. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  391. package/dist/actions/list-profiles-by-ad-account.d.cts +3 -3
  392. package/dist/actions/list-profiles-by-ad-account.d.mts +3 -3
  393. package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
  394. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  395. package/dist/actions/list-profiles-by-business.cjs +3 -3
  396. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  397. package/dist/actions/list-profiles-by-business.d.cts +3 -3
  398. package/dist/actions/list-profiles-by-business.d.mts +3 -3
  399. package/dist/actions/list-profiles-by-business.mjs +3 -3
  400. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  401. package/dist/actions/list-saved-audiences.cjs +3 -3
  402. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  403. package/dist/actions/list-saved-audiences.d.cts +3 -3
  404. package/dist/actions/list-saved-audiences.d.mts +3 -3
  405. package/dist/actions/list-saved-audiences.mjs +3 -3
  406. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  407. package/dist/actions/list-structured-posts.cjs +3 -3
  408. package/dist/actions/list-structured-posts.cjs.map +1 -1
  409. package/dist/actions/list-structured-posts.d.cts +3 -3
  410. package/dist/actions/list-structured-posts.d.mts +3 -3
  411. package/dist/actions/list-structured-posts.mjs +3 -3
  412. package/dist/actions/list-structured-posts.mjs.map +1 -1
  413. package/dist/actions/list-time-zones.cjs +3 -3
  414. package/dist/actions/list-time-zones.cjs.map +1 -1
  415. package/dist/actions/list-time-zones.d.cts +3 -3
  416. package/dist/actions/list-time-zones.d.mts +3 -3
  417. package/dist/actions/list-time-zones.mjs +3 -3
  418. package/dist/actions/list-time-zones.mjs.map +1 -1
  419. package/dist/actions/list-user-custom-audiences.cjs +4 -4
  420. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  421. package/dist/actions/list-user-custom-audiences.d.cts +4 -4
  422. package/dist/actions/list-user-custom-audiences.d.mts +4 -4
  423. package/dist/actions/list-user-custom-audiences.mjs +4 -4
  424. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  425. package/dist/actions/list3rd-party-audiences.cjs +4 -4
  426. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  427. package/dist/actions/list3rd-party-audiences.d.cts +4 -4
  428. package/dist/actions/list3rd-party-audiences.d.mts +4 -4
  429. package/dist/actions/list3rd-party-audiences.mjs +4 -4
  430. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  431. package/dist/actions/query-ad-accounts.cjs +5 -5
  432. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  433. package/dist/actions/query-ad-accounts.d.cts +7 -5
  434. package/dist/actions/query-ad-accounts.d.mts +7 -5
  435. package/dist/actions/query-ad-accounts.mjs +5 -5
  436. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  437. package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
  438. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  439. package/dist/actions/query-funding-instruments-by-business.d.cts +3 -3
  440. package/dist/actions/query-funding-instruments-by-business.d.mts +3 -3
  441. package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
  442. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  443. package/dist/actions/search-communities.cjs +3 -3
  444. package/dist/actions/search-communities.cjs.map +1 -1
  445. package/dist/actions/search-communities.d.cts +3 -3
  446. package/dist/actions/search-communities.d.mts +3 -3
  447. package/dist/actions/search-communities.mjs +3 -3
  448. package/dist/actions/search-communities.mjs.map +1 -1
  449. package/dist/actions/update-ad-account.cjs +2 -2
  450. package/dist/actions/update-ad-account.cjs.map +1 -1
  451. package/dist/actions/update-ad-account.d.cts +2 -2
  452. package/dist/actions/update-ad-account.d.mts +2 -2
  453. package/dist/actions/update-ad-account.mjs +2 -2
  454. package/dist/actions/update-ad-account.mjs.map +1 -1
  455. package/dist/actions/update-business.cjs +2 -2
  456. package/dist/actions/update-business.cjs.map +1 -1
  457. package/dist/actions/update-business.d.cts +2 -2
  458. package/dist/actions/update-business.d.mts +2 -2
  459. package/dist/actions/update-business.mjs +2 -2
  460. package/dist/actions/update-business.mjs.map +1 -1
  461. package/dist/actions/update-campaign.cjs +3 -3
  462. package/dist/actions/update-campaign.cjs.map +1 -1
  463. package/dist/actions/update-campaign.d.cts +3 -3
  464. package/dist/actions/update-campaign.d.mts +3 -3
  465. package/dist/actions/update-campaign.mjs +3 -3
  466. package/dist/actions/update-campaign.mjs.map +1 -1
  467. package/dist/actions/update-custom-audience-users.cjs +1 -1
  468. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  469. package/dist/actions/update-custom-audience-users.d.cts +1 -1
  470. package/dist/actions/update-custom-audience-users.d.mts +1 -1
  471. package/dist/actions/update-custom-audience-users.mjs +1 -1
  472. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  473. package/dist/actions/update-post.cjs +2 -2
  474. package/dist/actions/update-post.cjs.map +1 -1
  475. package/dist/actions/update-post.d.cts +2 -2
  476. package/dist/actions/update-post.d.mts +2 -2
  477. package/dist/actions/update-post.mjs +2 -2
  478. package/dist/actions/update-post.mjs.map +1 -1
  479. package/dist/actions/update-product-catalog.cjs +3 -3
  480. package/dist/actions/update-product-catalog.cjs.map +1 -1
  481. package/dist/actions/update-product-catalog.d.cts +3 -3
  482. package/dist/actions/update-product-catalog.d.mts +3 -3
  483. package/dist/actions/update-product-catalog.mjs +3 -3
  484. package/dist/actions/update-product-catalog.mjs.map +1 -1
  485. package/dist/actions/update-product-feed.cjs +3 -3
  486. package/dist/actions/update-product-feed.cjs.map +1 -1
  487. package/dist/actions/update-product-feed.d.cts +3 -3
  488. package/dist/actions/update-product-feed.d.mts +3 -3
  489. package/dist/actions/update-product-feed.mjs +3 -3
  490. package/dist/actions/update-product-feed.mjs.map +1 -1
  491. package/dist/actions/update-product-set.cjs +4 -4
  492. package/dist/actions/update-product-set.cjs.map +1 -1
  493. package/dist/actions/update-product-set.d.cts +4 -4
  494. package/dist/actions/update-product-set.d.mts +4 -4
  495. package/dist/actions/update-product-set.mjs +4 -4
  496. package/dist/actions/update-product-set.mjs.map +1 -1
  497. package/dist/actions/update-saved-audience.cjs +3 -3
  498. package/dist/actions/update-saved-audience.cjs.map +1 -1
  499. package/dist/actions/update-saved-audience.d.cts +3 -3
  500. package/dist/actions/update-saved-audience.d.mts +3 -3
  501. package/dist/actions/update-saved-audience.mjs +3 -3
  502. package/dist/actions/update-saved-audience.mjs.map +1 -1
  503. package/dist/actions/update-structured-post.cjs +2 -2
  504. package/dist/actions/update-structured-post.cjs.map +1 -1
  505. package/dist/actions/update-structured-post.d.cts +2 -2
  506. package/dist/actions/update-structured-post.d.mts +2 -2
  507. package/dist/actions/update-structured-post.mjs +2 -2
  508. package/dist/actions/update-structured-post.mjs.map +1 -1
  509. package/package.json +1 -1
@@ -13,7 +13,7 @@ declare const RedditAdsCreatePostInput: z.ZodObject<{
13
13
  content: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
14
  url: z.ZodOptional<z.ZodString>;
15
15
  media_id: z.ZodOptional<z.ZodString>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  headline: z.ZodString;
18
18
  is_richtext: z.ZodOptional<z.ZodBoolean>;
19
19
  thumbnail_url: z.ZodOptional<z.ZodString>;
@@ -36,7 +36,7 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
36
36
  display_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  call_to_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  destination_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>>>;
39
+ }, z.core.$loose>>>>;
40
40
  headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  post_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  created_at: z.ZodNullable<z.ZodString>;
@@ -44,14 +44,15 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
44
44
  is_richtext: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
45
  thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>;
49
49
  declare const redditAdsCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  data: {
51
51
  type: "CAROUSEL" | "IMAGE" | "TEXT" | "VIDEO";
52
52
  headline: string;
53
53
  body?: string | undefined;
54
54
  content?: {
55
+ [x: string]: unknown;
55
56
  url?: string | undefined;
56
57
  media_id?: string | undefined;
57
58
  }[] | undefined;
@@ -13,7 +13,7 @@ declare const RedditAdsCreatePostInput: z.ZodObject<{
13
13
  content: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
14
  url: z.ZodOptional<z.ZodString>;
15
15
  media_id: z.ZodOptional<z.ZodString>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  headline: z.ZodString;
18
18
  is_richtext: z.ZodOptional<z.ZodBoolean>;
19
19
  thumbnail_url: z.ZodOptional<z.ZodString>;
@@ -36,7 +36,7 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
36
36
  display_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  call_to_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  destination_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>>>;
39
+ }, z.core.$loose>>>>;
40
40
  headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  post_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  created_at: z.ZodNullable<z.ZodString>;
@@ -44,14 +44,15 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
44
44
  is_richtext: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
45
  thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>;
49
49
  declare const redditAdsCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  data: {
51
51
  type: "CAROUSEL" | "IMAGE" | "TEXT" | "VIDEO";
52
52
  headline: string;
53
53
  body?: string | undefined;
54
54
  content?: {
55
+ [x: string]: unknown;
55
56
  url?: string | undefined;
56
57
  media_id?: string | undefined;
57
58
  }[] | undefined;
@@ -13,7 +13,7 @@ const RedditAdsCreatePostInput = z.object({
13
13
  content: z.array(z.object({
14
14
  url: z.string().describe("The URL of the content item (e.g., image or video URL).").optional(),
15
15
  media_id: z.string().describe("The media ID of the uploaded content.").optional()
16
- }).describe("Content item for a post (used in CAROUSEL and other post types).")).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.").optional(),
16
+ }).passthrough().describe("Content item for a post (used in CAROUSEL and other post types).")).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.").optional(),
17
17
  headline: z.string().describe("The title of the post. Required field."),
18
18
  is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").optional(),
19
19
  thumbnail_url: z.string().describe("The URL to the thumbnail image for the post. Required for video posts.").optional(),
@@ -32,7 +32,7 @@ const RedditAdsCreatePost_PostContentResponseSchema = z.object({
32
32
  display_url: z.string().describe("The display URL for the content.").nullable().optional(),
33
33
  call_to_action: z.string().describe("The call to action text.").nullable().optional(),
34
34
  destination_url: z.string().describe("The destination URL for the content.").nullable().optional()
35
- }).describe("Content item in the response.");
35
+ }).passthrough().describe("Content item in the response.");
36
36
  const RedditAdsCreatePost_PostResponseDataSchema = z.object({
37
37
  id: z.string().describe("The unique identifier of the post.").nullable(),
38
38
  body: z.string().describe("The content for text posts.").nullable().optional(),
@@ -45,13 +45,13 @@ const RedditAdsCreatePost_PostResponseDataSchema = z.object({
45
45
  is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
46
46
  thumbnail_url: z.string().describe("The URL to the thumbnail image for the post.").nullable().optional(),
47
47
  allow_comments: z.boolean().describe("Enable comments on the post.").nullable().optional()
48
- }).describe("Response data for a created post.");
48
+ }).passthrough().describe("Response data for a created post.");
49
49
  const redditAdsCreatePost = action("REDDIT_ADS_CREATE_POST", {
50
50
  slug: "reddit_ads-create-post",
51
51
  name: "Create Reddit Post",
52
52
  description: "Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).",
53
53
  input: RedditAdsCreatePostInput,
54
- output: z.object({ data: RedditAdsCreatePost_PostResponseDataSchema.nullable() }).describe("Response model for created Reddit post.")
54
+ output: z.object({ data: RedditAdsCreatePost_PostResponseDataSchema.nullable() }).passthrough().describe("Response model for created Reddit post.")
55
55
  });
56
56
  //#endregion
57
57
  export { redditAdsCreatePost };
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsCreatePostInput,\n output: RedditAdsCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,KAAK;GAAC;GAAY;GAAS;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACrG,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC3O,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC7F,YAAY,EAAE,OAAO,CA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H,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).passthrough().describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).passthrough().describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate lim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AC,SAAS,mCAAmC;AAK7D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -32,7 +32,7 @@ const RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = zod.z.object({
32
32
  products_count: zod.z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
33
33
  approved_products_count: zod.z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
34
34
  rejected_products_count: zod.z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
35
- }).describe("Summary statistics for the product catalog.");
35
+ }).passthrough().describe("Summary statistics for the product catalog.");
36
36
  const RedditAdsCreateProductCatalog_CurrencyCodeSchema = zod.z.enum([
37
37
  "USD",
38
38
  "GBP",
@@ -64,8 +64,8 @@ const RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = zod.z.obj
64
64
  event_sources: zod.z.array(zod.z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
65
65
  default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),
66
66
  default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional()
67
- }).describe("Product catalog response data object.");
68
- const RedditAdsCreateProductCatalogOutput = zod.z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).describe("Response model for creating a product catalog.");
67
+ }).passthrough().describe("Product catalog response data object.");
68
+ const RedditAdsCreateProductCatalogOutput = zod.z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a product catalog.");
69
69
  const redditAdsCreateProductCatalog = require_action.action("REDDIT_ADS_CREATE_PRODUCT_CATALOG", {
70
70
  slug: "reddit_ads-create-product-catalog",
71
71
  name: "Create Product Catalog",
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAA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AAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CA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AAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -36,7 +36,7 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
36
36
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
37
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- }, z.core.$strip>>>;
39
+ }, z.core.$loose>>>;
40
40
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -62,8 +62,8 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
62
62
  it: "it";
63
63
  pt: "pt";
64
64
  }>>>;
65
- }, z.core.$strip>>;
66
- }, z.core.$strip>;
65
+ }, z.core.$loose>>;
66
+ }, z.core.$loose>;
67
67
  declare const redditAdsCreateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
68
68
  data: {
69
69
  name: string;
@@ -36,7 +36,7 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
36
36
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
37
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- }, z.core.$strip>>>;
39
+ }, z.core.$loose>>>;
40
40
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -62,8 +62,8 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
62
62
  it: "it";
63
63
  pt: "pt";
64
64
  }>>>;
65
- }, z.core.$strip>>;
66
- }, z.core.$strip>;
65
+ }, z.core.$loose>>;
66
+ }, z.core.$loose>;
67
67
  declare const redditAdsCreateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
68
68
  data: {
69
69
  name: string;
@@ -32,7 +32,7 @@ const RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({
32
32
  products_count: z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
33
33
  approved_products_count: z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
34
34
  rejected_products_count: z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
35
- }).describe("Summary statistics for the product catalog.");
35
+ }).passthrough().describe("Summary statistics for the product catalog.");
36
36
  const RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([
37
37
  "USD",
38
38
  "GBP",
@@ -64,13 +64,13 @@ const RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object(
64
64
  event_sources: z.array(z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
65
65
  default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),
66
66
  default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional()
67
- }).describe("Product catalog response data object.");
67
+ }).passthrough().describe("Product catalog response data object.");
68
68
  const redditAdsCreateProductCatalog = action("REDDIT_ADS_CREATE_PRODUCT_CATALOG", {
69
69
  slug: "reddit_ads-create-product-catalog",
70
70
  name: "Create Product Catalog",
71
71
  description: "Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.",
72
72
  input: RedditAdsCreateProductCatalogInput,
73
- output: z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).describe("Response model for creating a product catalog.")
73
+ output: z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a product catalog.")
74
74
  });
75
75
  //#endregion
76
76
  export { redditAdsCreateProductCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-catalog.mjs","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAA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,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-product-catalog.mjs","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkB,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4DAA4D,EAAE,OAAO;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,mDAAmD,EAAE,KAAK;CAAC;CAAO;CAAO;C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AC,SAAS,gDAOhB;AACV,CAAC"}
@@ -16,13 +16,13 @@ const RedditAdsCreateProductFeed_ScheduleResponseDataSchema = zod.z.object({
16
16
  hour: zod.z.number().int().describe("Hour of the day for scheduled feed updates.").nullable().optional(),
17
17
  minute: zod.z.number().int().describe("Minute of the hour for scheduled feed updates.").nullable().optional(),
18
18
  interval: zod.z.string().describe("Interval type for scheduled feed updates.").nullable().optional(),
19
- timezone: zod.z.object({}).describe("Timezone information for the schedule.").nullable().optional(),
19
+ timezone: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Timezone information for the schedule.").nullable().optional(),
20
20
  is_paused: zod.z.boolean().describe("Whether the schedule is paused.").nullable().optional(),
21
21
  day_of_week: zod.z.string().describe("Day of the week for scheduled feed updates.").nullable().optional(),
22
22
  day_of_month: zod.z.number().int().describe("Day of the month for scheduled feed updates.").nullable().optional(),
23
23
  interval_count: zod.z.number().int().describe("Number of intervals between scheduled feed updates.").nullable().optional(),
24
24
  next_import_at: zod.z.string().describe("ISO 8601 timestamp of the next scheduled import.").nullable().optional()
25
- }).describe("Schedule information for the product feed.");
25
+ }).passthrough().describe("Schedule information for the product feed.");
26
26
  const RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = zod.z.object({
27
27
  id: zod.z.string().describe("The ID of the product feed.").nullable().optional(),
28
28
  url: zod.z.string().describe("The URL of the product feed to fetch.").nullable().optional(),
@@ -34,8 +34,8 @@ const RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = zod.z.object({
34
34
  catalog_id: zod.z.string().describe("The ID of the product catalog that this feed belongs to.").nullable().optional(),
35
35
  created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
36
36
  modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
37
- }).describe("Product feed response data object.");
38
- const RedditAdsCreateProductFeedOutput = zod.z.object({ data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable() }).describe("Response model for creating a product feed.");
37
+ }).passthrough().describe("Product feed response data object.");
38
+ const RedditAdsCreateProductFeedOutput = zod.z.object({ data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a product feed.");
39
39
  const redditAdsCreateProductFeed = require_action.action("REDDIT_ADS_CREATE_PRODUCT_FEED", {
40
40
  slug: "reddit_ads-create-product-feed",
41
41
  name: "Create Product Feed",
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.object({}).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,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,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAA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AAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,19 +28,19 @@ declare const RedditAdsCreateProductFeedOutput: z.ZodObject<{
28
28
  hour: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  minute: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- timezone: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  is_paused: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
33
  day_of_week: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  day_of_month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  interval_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  next_import_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$loose>;
44
44
  declare const redditAdsCreateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  data: {
46
46
  url: string;
@@ -28,19 +28,19 @@ declare const RedditAdsCreateProductFeedOutput: z.ZodObject<{
28
28
  hour: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
29
  minute: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- timezone: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  is_paused: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
33
  day_of_week: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  day_of_month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  interval_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  next_import_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$loose>;
44
44
  declare const redditAdsCreateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  data: {
46
46
  url: string;
@@ -16,13 +16,13 @@ const RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({
16
16
  hour: z.number().int().describe("Hour of the day for scheduled feed updates.").nullable().optional(),
17
17
  minute: z.number().int().describe("Minute of the hour for scheduled feed updates.").nullable().optional(),
18
18
  interval: z.string().describe("Interval type for scheduled feed updates.").nullable().optional(),
19
- timezone: z.object({}).describe("Timezone information for the schedule.").nullable().optional(),
19
+ timezone: z.record(z.string(), z.unknown()).describe("Timezone information for the schedule.").nullable().optional(),
20
20
  is_paused: z.boolean().describe("Whether the schedule is paused.").nullable().optional(),
21
21
  day_of_week: z.string().describe("Day of the week for scheduled feed updates.").nullable().optional(),
22
22
  day_of_month: z.number().int().describe("Day of the month for scheduled feed updates.").nullable().optional(),
23
23
  interval_count: z.number().int().describe("Number of intervals between scheduled feed updates.").nullable().optional(),
24
24
  next_import_at: z.string().describe("ISO 8601 timestamp of the next scheduled import.").nullable().optional()
25
- }).describe("Schedule information for the product feed.");
25
+ }).passthrough().describe("Schedule information for the product feed.");
26
26
  const RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({
27
27
  id: z.string().describe("The ID of the product feed.").nullable().optional(),
28
28
  url: z.string().describe("The URL of the product feed to fetch.").nullable().optional(),
@@ -34,13 +34,13 @@ const RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({
34
34
  catalog_id: z.string().describe("The ID of the product catalog that this feed belongs to.").nullable().optional(),
35
35
  created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
36
36
  modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
37
- }).describe("Product feed response data object.");
37
+ }).passthrough().describe("Product feed response data object.");
38
38
  const redditAdsCreateProductFeed = action("REDDIT_ADS_CREATE_PRODUCT_FEED", {
39
39
  slug: "reddit_ads-create-product-feed",
40
40
  name: "Create Product Feed",
41
41
  description: "Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).",
42
42
  input: RedditAdsCreateProductFeedInput,
43
- output: z.object({ data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable() }).describe("Response model for creating a product feed.")
43
+ output: z.object({ data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a product feed.")
44
44
  });
45
45
  //#endregion
46
46
  export { redditAdsCreateProductFeed };
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-feed.mjs","names":[],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.object({}).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAM,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I;EAC5L,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACvG,YAAY,EAAE,O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AK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-product-feed.mjs","names":[],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAM,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I;EAC5L,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,4CAA4C,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC5H,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,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SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -9,11 +9,11 @@ const RedditAdsCreateProductSetInput = zod.z.object({
9
9
  catalog_id: zod.z.string().describe("The ID of the parent product catalog.")
10
10
  }).describe("Request model for creating a new product set in a catalog.");
11
11
  const RedditAdsCreateProductSet_ProductSetSummarySchema = zod.z.object({
12
- issues: zod.z.object({}).describe("Issues related to the product set.").nullable().optional(),
12
+ issues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Issues related to the product set.").nullable().optional(),
13
13
  products_count: zod.z.number().int().describe("Total number of products in the product set.").nullable().optional(),
14
14
  approved_products_count: zod.z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
15
15
  rejected_products_count: zod.z.number().int().describe("Number of rejected products in the product set.").nullable().optional()
16
- }).describe("Summary statistics for the product set.");
16
+ }).passthrough().describe("Summary statistics for the product set.");
17
17
  const RedditAdsCreateProductSet_ProductSetResponseDataSchema = zod.z.object({
18
18
  id: zod.z.string().describe("The ID of the product set.").nullable().optional(),
19
19
  name: zod.z.string().describe("The name of the product set.").nullable().optional(),
@@ -22,8 +22,8 @@ const RedditAdsCreateProductSet_ProductSetResponseDataSchema = zod.z.object({
22
22
  catalog_id: zod.z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
23
23
  created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
24
24
  modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
25
- }).describe("Product set response data object.");
26
- const RedditAdsCreateProductSetOutput = zod.z.object({ data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable() }).describe("Response model for creating a product set.");
25
+ }).passthrough().describe("Product set response data object.");
26
+ const RedditAdsCreateProductSetOutput = zod.z.object({ data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable() }).passthrough().describe("Response model for creating a product set.");
27
27
  const redditAdsCreateProductSet = require_action.action("REDDIT_ADS_CREATE_PRODUCT_SET", {
28
28
  slug: "reddit_ads-create-product-set",
29
29
  name: "Create Product Set",
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-set.cjs","names":["z","action"],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.object({}).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q;CACzS,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,4D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,mCAAmC;AAC/C,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAM,uDAAuD,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-product-set.cjs","names":["z","action"],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.record(z.string(), z.unknown()).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q;CACzS,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyBA,IAA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ZodNullable<z.ZodString>>;
16
16
  summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
- issues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ issues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const redditAdsCreateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
29
  name: string;
@@ -14,16 +14,16 @@ declare const RedditAdsCreateProductSetOutput: z.ZodObject<{
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  filter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
- issues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ issues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>>;
21
+ }, z.core.$loose>>>;
22
22
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const redditAdsCreateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
29
  name: string;