@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
@@ -20,8 +20,8 @@ declare const RedditAdsUpdatePostOutput: z.ZodObject<{
20
20
  is_richtext: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
21
  thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const redditAdsUpdatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  data: {
27
27
  allow_comments?: boolean | undefined;
@@ -17,13 +17,13 @@ const RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({
17
17
  is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
18
18
  thumbnail_url: z.string().describe("The URL to the thumbnail image for the post.").nullable().optional(),
19
19
  allow_comments: z.boolean().describe("Enable comments on the post.").nullable().optional()
20
- }).describe("Updated post data in the response.");
20
+ }).passthrough().describe("Updated post data in the response.");
21
21
  const redditAdsUpdatePost = action("REDDIT_ADS_UPDATE_POST", {
22
22
  slug: "reddit_ads-update-post",
23
23
  name: "Update Post",
24
24
  description: "Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).",
25
25
  input: RedditAdsUpdatePostInput,
26
- output: z.object({ data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable() }).describe("Response containing the updated post.")
26
+ output: z.object({ data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable() }).passthrough().describe("Response containing the updated post.")
27
27
  });
28
28
  //#endregion
29
29
  export { redditAdsUpdatePost };
@@ -1 +1 @@
1
- {"version":3,"file":"update-post.mjs","names":[],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).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().optional(),\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(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,EACf,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACpC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,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,oCAAoC;AAKhD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,iDAAiD,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-post.mjs","names":[],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).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().optional(),\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(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,EACf,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACpC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,C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UpdateProductCatalog_ProductCatalogSummarySchema = zod.z.object({
12
12
  products_count: zod.z.number().int().describe("The total number of products in the catalog.").nullable().optional(),
13
13
  approved_products_count: zod.z.number().int().describe("The number of approved products in the catalog.").nullable().optional(),
14
14
  rejected_products_count: zod.z.number().int().describe("The number of rejected products in the catalog.").nullable().optional()
15
- }).describe("Summary statistics for a product catalog.");
15
+ }).passthrough().describe("Summary statistics for a product catalog.");
16
16
  const RedditAdsUpdateProductCatalog_CurrencySchema = zod.z.enum([
17
17
  "USD",
18
18
  "GBP",
@@ -44,8 +44,8 @@ const RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = zod
44
44
  event_sources: zod.z.array(zod.z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
45
45
  default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),
46
46
  default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional()
47
- }).describe("Response data model for product catalog entity.");
48
- const RedditAdsUpdateProductCatalogOutput = zod.z.object({ data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional() }).describe("Response containing the updated product catalog details.");
47
+ }).passthrough().describe("Response data model for product catalog entity.");
48
+ const RedditAdsUpdateProductCatalogOutput = zod.z.object({ data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product catalog details.");
49
49
  const redditAdsUpdateProductCatalog = require_action.action("REDDIT_ADS_UPDATE_PRODUCT_CATALOG", {
50
50
  slug: "reddit_ads-update-product-catalog",
51
51
  name: "Update Product Catalog",
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = 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: RedditAdsUpdateProductCatalog_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: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACvC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,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,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,+CAA+CA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAA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0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = 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: RedditAdsUpdateProductCatalog_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: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACvC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9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,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,qEAAqE,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
16
16
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -42,8 +42,8 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
42
42
  it: "it";
43
43
  pt: "pt";
44
44
  }>>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>;
47
47
  declare const redditAdsUpdateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  data: {
49
49
  name?: string | undefined;
@@ -16,7 +16,7 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
16
16
  products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -42,8 +42,8 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
42
42
  it: "it";
43
43
  pt: "pt";
44
44
  }>>>;
45
- }, z.core.$strip>>>;
46
- }, z.core.$strip>;
45
+ }, z.core.$loose>>>;
46
+ }, z.core.$loose>;
47
47
  declare const redditAdsUpdateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  data: {
49
49
  name?: string | undefined;
@@ -12,7 +12,7 @@ const RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({
12
12
  products_count: z.number().int().describe("The total number of products in the catalog.").nullable().optional(),
13
13
  approved_products_count: z.number().int().describe("The number of approved products in the catalog.").nullable().optional(),
14
14
  rejected_products_count: z.number().int().describe("The number of rejected products in the catalog.").nullable().optional()
15
- }).describe("Summary statistics for a product catalog.");
15
+ }).passthrough().describe("Summary statistics for a product catalog.");
16
16
  const RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([
17
17
  "USD",
18
18
  "GBP",
@@ -44,13 +44,13 @@ const RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = z.o
44
44
  event_sources: z.array(z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
45
45
  default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),
46
46
  default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional()
47
- }).describe("Response data model for product catalog entity.");
47
+ }).passthrough().describe("Response data model for product catalog entity.");
48
48
  const redditAdsUpdateProductCatalog = action("REDDIT_ADS_UPDATE_PRODUCT_CATALOG", {
49
49
  slug: "reddit_ads-update-product-catalog",
50
50
  name: "Update Product Catalog",
51
51
  description: "Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.",
52
52
  input: RedditAdsUpdateProductCatalogInput,
53
- output: z.object({ data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional() }).describe("Response containing the updated product catalog details.")
53
+ output: z.object({ data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product catalog details.")
54
54
  });
55
55
  //#endregion
56
56
  export { redditAdsUpdateProductCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-catalog.mjs","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = 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: RedditAdsUpdateProductCatalog_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: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,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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,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,qEAAqE,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-catalog.mjs","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = 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: RedditAdsUpdateProductCatalog_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: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,C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,CAAC,CAAC,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,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,qEAAqE,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -32,7 +32,7 @@ const RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = zod.z.object({
32
32
  day_of_month: zod.z.number().int().describe("Day of the month for scheduled imports (1-31).").nullable().optional(),
33
33
  interval_count: zod.z.number().int().describe("Number of intervals between scheduled imports.").nullable().optional(),
34
34
  next_import_at: zod.z.string().describe("ISO 8601 timestamp of the next scheduled import.").nullable().optional()
35
- }).describe("Schedule configuration for product feed updates.");
35
+ }).passthrough().describe("Schedule configuration for product feed updates.");
36
36
  const RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = zod.z.object({
37
37
  id: zod.z.string().describe("The ID of the product feed.").nullable().optional(),
38
38
  url: zod.z.string().describe("The URL of the product feed to fetch.").nullable().optional(),
@@ -44,8 +44,8 @@ const RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = zod.z.object({
44
44
  catalog_id: zod.z.string().describe("The ID of the product catalog that this feed belongs to.").nullable().optional(),
45
45
  created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
46
46
  modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
47
- }).describe("Response data model for product feed entity.");
48
- const RedditAdsUpdateProductFeedOutput = zod.z.object({ data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional() }).describe("Response containing the updated product feed details.");
47
+ }).passthrough().describe("Response data model for product feed entity.");
48
+ const RedditAdsUpdateProductFeedOutput = zod.z.object({ data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product feed details.");
49
49
  const redditAdsUpdateProductFeed = require_action.action("REDDIT_ADS_UPDATE_PRODUCT_FEED", {
50
50
  slug: "reddit_ads-update-product-feed",
51
51
  name: "Update Product Feed",
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_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: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username 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(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,UAAUA,IAAAA,EAAE,OAAO;GACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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AE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_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: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username 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(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9G,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
  day_of_month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  interval_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  next_import_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>;
46
46
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>;
51
- }, z.core.$strip>;
50
+ }, z.core.$loose>>>;
51
+ }, z.core.$loose>;
52
52
  declare const redditAdsUpdateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  data: {
54
54
  url?: string | undefined;
@@ -42,13 +42,13 @@ declare const RedditAdsUpdateProductFeedOutput: z.ZodObject<{
42
42
  day_of_month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  interval_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  next_import_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>;
46
46
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>;
51
- }, z.core.$strip>;
50
+ }, z.core.$loose>>>;
51
+ }, z.core.$loose>;
52
52
  declare const redditAdsUpdateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  data: {
54
54
  url?: string | undefined;
@@ -32,7 +32,7 @@ const RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({
32
32
  day_of_month: z.number().int().describe("Day of the month for scheduled imports (1-31).").nullable().optional(),
33
33
  interval_count: z.number().int().describe("Number of intervals between scheduled imports.").nullable().optional(),
34
34
  next_import_at: z.string().describe("ISO 8601 timestamp of the next scheduled import.").nullable().optional()
35
- }).describe("Schedule configuration for product feed updates.");
35
+ }).passthrough().describe("Schedule configuration for product feed updates.");
36
36
  const RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({
37
37
  id: z.string().describe("The ID of the product feed.").nullable().optional(),
38
38
  url: z.string().describe("The URL of the product feed to fetch.").nullable().optional(),
@@ -44,13 +44,13 @@ const RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({
44
44
  catalog_id: z.string().describe("The ID of the product catalog that this feed belongs to.").nullable().optional(),
45
45
  created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
46
46
  modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
47
- }).describe("Response data model for product feed entity.");
47
+ }).passthrough().describe("Response data model for product feed entity.");
48
48
  const redditAdsUpdateProductFeed = action("REDDIT_ADS_UPDATE_PRODUCT_FEED", {
49
49
  slug: "reddit_ads-update-product-feed",
50
50
  name: "Update Product Feed",
51
51
  description: "Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.",
52
52
  input: RedditAdsUpdateProductFeedInput,
53
- output: z.object({ data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional() }).describe("Response containing the updated product feed details.")
53
+ output: z.object({ data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product feed details.")
54
54
  });
55
55
  //#endregion
56
56
  export { redditAdsUpdateProductFeed };
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-feed.mjs","names":[],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_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: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username 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(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SA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;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,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,8CAA8C;AAK1D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-feed.mjs","names":[],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_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: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username 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(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,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AAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,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,8CAA8C;AAKxE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -9,11 +9,11 @@ const RedditAdsUpdateProductSetInput = zod.z.object({
9
9
  product_set_id: zod.z.string().describe("The ID of the product set to update.")
10
10
  }).describe("Request parameters to update a product set in Reddit Ads.");
11
11
  const RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = zod.z.objec
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("Response data model for product set entity.");
26
- const RedditAdsUpdateProductSetOutput = zod.z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).describe("Response containing the updated product set details.");
25
+ }).passthrough().describe("Response data model for product set entity.");
26
+ const RedditAdsUpdateProductSetOutput = zod.z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product set details.");
27
27
  const redditAdsUpdateProductSet = require_action.action("REDDIT_ADS_UPDATE_PRODUCT_SET", {
28
28
  slug: "reddit_ads-update-product-set",
29
29
  name: "Update Product Set",
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-set.cjs","names":["z","action"],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;E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AAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAM,6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-set.cjs","names":["z","action"],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q,CAAC,CAAC,SAAS;CACpT,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS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,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,16 +14,16 @@ declare const RedditAdsUpdateProductSetOutput: 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 redditAdsUpdateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
29
  name?: string | undefined;
@@ -14,16 +14,16 @@ declare const RedditAdsUpdateProductSetOutput: 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 redditAdsUpdateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
29
  name?: string | undefined;
@@ -9,11 +9,11 @@ const RedditAdsUpdateProductSetInput = z.object({
9
9
  product_set_id: z.string().describe("The ID of the product set to update.")
10
10
  }).describe("Request parameters to update a product set in Reddit Ads.");
11
11
  const RedditAdsUpdateProductSet_ProductSetSummarySchema = z.object({
12
- issues: z.object({}).describe("Issues related to the product set.").nullable().optional(),
12
+ issues: z.record(z.string(), z.unknown()).describe("Issues related to the product set.").nullable().optional(),
13
13
  products_count: z.number().int().describe("Total number of products in the product set.").nullable().optional(),
14
14
  approved_products_count: z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
15
15
  rejected_products_count: 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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = z.object({
18
18
  id: z.string().describe("The ID of the product set.").nullable().optional(),
19
19
  name: z.string().describe("The name of the product set.").nullable().optional(),
@@ -22,13 +22,13 @@ const RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = z.object({
22
22
  catalog_id: z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
23
23
  created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
24
24
  modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
25
- }).describe("Response data model for product set entity.");
25
+ }).passthrough().describe("Response data model for product set entity.");
26
26
  const redditAdsUpdateProductSet = action("REDDIT_ADS_UPDATE_PRODUCT_SET", {
27
27
  slug: "reddit_ads-update-product-set",
28
28
  name: "Update Product Set",
29
29
  description: "Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.",
30
30
  input: RedditAdsUpdateProductSetInput,
31
- output: z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).describe("Response containing the updated product set details.")
31
+ output: z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product set details.")
32
32
  });
33
33
  //#endregion
34
34
  export { redditAdsUpdateProductSet };
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-set.mjs","names":[],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q,CAAC,CAAC,SAAS;CACpT,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,oDAAoD,EAA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6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-product-set.mjs","names":[],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q,CAAC,CAAC,SAAS;CACpT,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+DAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,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,6CAA6C;AAKvE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -53,7 +53,7 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = zod.z.objec
53
53
  name: zod.z.string().describe("The name of the saved audience").nullable().optional(),
54
54
  type: zod.z.string().describe("The type of the saved audience").nullable().optional(),
55
55
  status: zod.z.string().describe("The status of the saved audience").nullable().optional(),
56
- targeting: zod.z.object({}).describe("Targeting information for the ad group").nullable().optional(),
56
+ targeting: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Targeting information for the ad group").nullable().optional(),
57
57
  created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601").nullable().optional(),
58
58
  updated_at: zod.z.string().describe("The date and time the saved audience was last updated").nullable().optional(),
59
59
  ad_account_id: zod.z.string().describe("The unique identifier of the account").nullable().optional(),
@@ -61,8 +61,8 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = zod.z.objec
61
61
  size_range_lower: zod.z.number().int().describe("The lower bound of the size range of the saved audience").nullable().optional(),
62
62
  size_range_upper: zod.z.number().int().describe("The upper bound of the size range of the saved audience").nullable().optional(),
63
63
  active_ad_groups_count: zod.z.number().int().describe("The number of active ad groups that use this saved audience").nullable().optional()
64
- }).describe("Response data for an updated saved audience.");
65
- const RedditAdsUpdateSavedAudienceOutput = zod.z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).describe("Response model for updating a saved audience.");
64
+ }).passthrough().describe("Response data for an updated saved audience.");
65
+ const RedditAdsUpdateSavedAudienceOutput = zod.z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).passthrough().describe("Response model for updating a saved audience.");
66
66
  const redditAdsUpdateSavedAudience = require_action.action("REDDIT_ADS_UPDATE_SAVED_AUDIENCE", {
67
67
  slug: "reddit_ads-update-saved-audience",
68
68
  name: "Update Saved Audience",