@keystrokehq/reddit_ads 0.1.0 → 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 (667) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-ad-group.cjs +6 -6
  4. package/dist/actions/create-ad-group.cjs.map +1 -1
  5. package/dist/actions/create-ad-group.d.cts +82 -3
  6. package/dist/actions/create-ad-group.d.cts.map +1 -1
  7. package/dist/actions/create-ad-group.d.mts +82 -3
  8. package/dist/actions/create-ad-group.d.mts.map +1 -1
  9. package/dist/actions/create-ad-group.mjs +6 -6
  10. package/dist/actions/create-ad-group.mjs.map +1 -1
  11. package/dist/actions/create-batch-products.cjs +7 -7
  12. package/dist/actions/create-batch-products.cjs.map +1 -1
  13. package/dist/actions/create-batch-products.d.cts +125 -3
  14. package/dist/actions/create-batch-products.d.cts.map +1 -1
  15. package/dist/actions/create-batch-products.d.mts +125 -3
  16. package/dist/actions/create-batch-products.d.mts.map +1 -1
  17. package/dist/actions/create-batch-products.mjs +7 -7
  18. package/dist/actions/create-batch-products.mjs.map +1 -1
  19. package/dist/actions/create-campaign.cjs +7 -7
  20. package/dist/actions/create-campaign.cjs.map +1 -1
  21. package/dist/actions/create-campaign.d.cts +147 -3
  22. package/dist/actions/create-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-campaign.d.mts +147 -3
  24. package/dist/actions/create-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-campaign.mjs +7 -7
  26. package/dist/actions/create-campaign.mjs.map +1 -1
  27. package/dist/actions/create-custom-audience.cjs +5 -5
  28. package/dist/actions/create-custom-audience.cjs.map +1 -1
  29. package/dist/actions/create-custom-audience.d.cts +34 -3
  30. package/dist/actions/create-custom-audience.d.cts.map +1 -1
  31. package/dist/actions/create-custom-audience.d.mts +34 -3
  32. package/dist/actions/create-custom-audience.d.mts.map +1 -1
  33. package/dist/actions/create-custom-audience.mjs +5 -5
  34. package/dist/actions/create-custom-audience.mjs.map +1 -1
  35. package/dist/actions/create-lead-gen-form.cjs +4 -4
  36. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  37. package/dist/actions/create-lead-gen-form.d.cts +51 -3
  38. package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
  39. package/dist/actions/create-lead-gen-form.d.mts +51 -3
  40. package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
  41. package/dist/actions/create-lead-gen-form.mjs +4 -4
  42. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  43. package/dist/actions/create-post.cjs +6 -6
  44. package/dist/actions/create-post.cjs.map +1 -1
  45. package/dist/actions/create-post.d.cts +61 -3
  46. package/dist/actions/create-post.d.cts.map +1 -1
  47. package/dist/actions/create-post.d.mts +61 -3
  48. package/dist/actions/create-post.d.mts.map +1 -1
  49. package/dist/actions/create-post.mjs +6 -6
  50. package/dist/actions/create-post.mjs.map +1 -1
  51. package/dist/actions/create-product-catalog.cjs +3 -3
  52. package/dist/actions/create-product-catalog.cjs.map +1 -1
  53. package/dist/actions/create-product-catalog.d.cts +72 -3
  54. package/dist/actions/create-product-catalog.d.cts.map +1 -1
  55. package/dist/actions/create-product-catalog.d.mts +72 -3
  56. package/dist/actions/create-product-catalog.d.mts.map +1 -1
  57. package/dist/actions/create-product-catalog.mjs +3 -3
  58. package/dist/actions/create-product-catalog.mjs.map +1 -1
  59. package/dist/actions/create-product-feed.cjs +4 -4
  60. package/dist/actions/create-product-feed.cjs.map +1 -1
  61. package/dist/actions/create-product-feed.d.cts +50 -3
  62. package/dist/actions/create-product-feed.d.cts.map +1 -1
  63. package/dist/actions/create-product-feed.d.mts +50 -3
  64. package/dist/actions/create-product-feed.d.mts.map +1 -1
  65. package/dist/actions/create-product-feed.mjs +4 -4
  66. package/dist/actions/create-product-feed.mjs.map +1 -1
  67. package/dist/actions/create-product-set.cjs +4 -4
  68. package/dist/actions/create-product-set.cjs.map +1 -1
  69. package/dist/actions/create-product-set.d.cts +30 -3
  70. package/dist/actions/create-product-set.d.cts.map +1 -1
  71. package/dist/actions/create-product-set.d.mts +30 -3
  72. package/dist/actions/create-product-set.d.mts.map +1 -1
  73. package/dist/actions/create-product-set.mjs +4 -4
  74. package/dist/actions/create-product-set.mjs.map +1 -1
  75. package/dist/actions/create-saved-audience.cjs +6 -6
  76. package/dist/actions/create-saved-audience.cjs.map +1 -1
  77. package/dist/actions/create-saved-audience.d.cts +102 -3
  78. package/dist/actions/create-saved-audience.d.cts.map +1 -1
  79. package/dist/actions/create-saved-audience.d.mts +102 -3
  80. package/dist/actions/create-saved-audience.d.mts.map +1 -1
  81. package/dist/actions/create-saved-audience.mjs +6 -6
  82. package/dist/actions/create-saved-audience.mjs.map +1 -1
  83. package/dist/actions/create-structured-post-creation-job.cjs +18 -18
  84. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  85. package/dist/actions/create-structured-post-creation-job.d.cts +113 -3
  86. package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
  87. package/dist/actions/create-structured-post-creation-job.d.mts +113 -3
  88. package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
  89. package/dist/actions/create-structured-post-creation-job.mjs +18 -18
  90. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  91. package/dist/actions/delete-custom-audience.cjs +1 -1
  92. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  93. package/dist/actions/delete-custom-audience.d.cts +7 -3
  94. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  95. package/dist/actions/delete-custom-audience.d.mts +7 -3
  96. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  97. package/dist/actions/delete-custom-audience.mjs +1 -1
  98. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  99. package/dist/actions/delete-product-catalog.cjs +1 -1
  100. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  101. package/dist/actions/delete-product-catalog.d.cts +7 -3
  102. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  103. package/dist/actions/delete-product-catalog.d.mts +7 -3
  104. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  105. package/dist/actions/delete-product-catalog.mjs +1 -1
  106. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  107. package/dist/actions/delete-product-feed.cjs +1 -1
  108. package/dist/actions/delete-product-feed.cjs.map +1 -1
  109. package/dist/actions/delete-product-feed.d.cts +7 -3
  110. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  111. package/dist/actions/delete-product-feed.d.mts +7 -3
  112. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  113. package/dist/actions/delete-product-feed.mjs +1 -1
  114. package/dist/actions/delete-product-feed.mjs.map +1 -1
  115. package/dist/actions/delete-product-set.cjs +1 -1
  116. package/dist/actions/delete-product-set.cjs.map +1 -1
  117. package/dist/actions/delete-product-set.d.cts +7 -3
  118. package/dist/actions/delete-product-set.d.cts.map +1 -1
  119. package/dist/actions/delete-product-set.d.mts +7 -3
  120. package/dist/actions/delete-product-set.d.mts.map +1 -1
  121. package/dist/actions/delete-product-set.mjs +1 -1
  122. package/dist/actions/delete-product-set.mjs.map +1 -1
  123. package/dist/actions/delete-products.cjs +1 -1
  124. package/dist/actions/delete-products.cjs.map +1 -1
  125. package/dist/actions/delete-products.d.cts +11 -3
  126. package/dist/actions/delete-products.d.cts.map +1 -1
  127. package/dist/actions/delete-products.d.mts +11 -3
  128. package/dist/actions/delete-products.d.mts.map +1 -1
  129. package/dist/actions/delete-products.mjs +1 -1
  130. package/dist/actions/delete-products.mjs.map +1 -1
  131. package/dist/actions/do-geolocation-validations.cjs +3 -3
  132. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  133. package/dist/actions/do-geolocation-validations.d.cts +19 -3
  134. package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
  135. package/dist/actions/do-geolocation-validations.d.mts +19 -3
  136. package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
  137. package/dist/actions/do-geolocation-validations.mjs +3 -3
  138. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  139. package/dist/actions/do-keyword-validations.cjs +4 -4
  140. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  141. package/dist/actions/do-keyword-validations.d.cts +17 -3
  142. package/dist/actions/do-keyword-validations.d.cts.map +1 -1
  143. package/dist/actions/do-keyword-validations.d.mts +17 -3
  144. package/dist/actions/do-keyword-validations.d.mts.map +1 -1
  145. package/dist/actions/do-keyword-validations.mjs +4 -4
  146. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  147. package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
  148. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  149. package/dist/actions/generate-inspiration-creative-summary.d.cts +39 -3
  150. package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
  151. package/dist/actions/generate-inspiration-creative-summary.d.mts +39 -3
  152. package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
  153. package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
  154. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  155. package/dist/actions/get-a-report.cjs +3 -3
  156. package/dist/actions/get-a-report.cjs.map +1 -1
  157. package/dist/actions/get-a-report.d.cts +55 -3
  158. package/dist/actions/get-a-report.d.cts.map +1 -1
  159. package/dist/actions/get-a-report.d.mts +55 -3
  160. package/dist/actions/get-a-report.d.mts.map +1 -1
  161. package/dist/actions/get-a-report.mjs +3 -3
  162. package/dist/actions/get-a-report.mjs.map +1 -1
  163. package/dist/actions/get-ad-account-history.cjs +6 -6
  164. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  165. package/dist/actions/get-ad-account-history.d.cts +61 -3
  166. package/dist/actions/get-ad-account-history.d.cts.map +1 -1
  167. package/dist/actions/get-ad-account-history.d.mts +61 -3
  168. package/dist/actions/get-ad-account-history.d.mts.map +1 -1
  169. package/dist/actions/get-ad-account-history.mjs +6 -6
  170. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  171. package/dist/actions/get-ad-account.cjs +6 -6
  172. package/dist/actions/get-ad-account.cjs.map +1 -1
  173. package/dist/actions/get-ad-account.d.cts +60 -3
  174. package/dist/actions/get-ad-account.d.cts.map +1 -1
  175. package/dist/actions/get-ad-account.d.mts +60 -3
  176. package/dist/actions/get-ad-account.d.mts.map +1 -1
  177. package/dist/actions/get-ad-account.mjs +6 -6
  178. package/dist/actions/get-ad-account.mjs.map +1 -1
  179. package/dist/actions/get-ad-group.cjs +12 -12
  180. package/dist/actions/get-ad-group.cjs.map +1 -1
  181. package/dist/actions/get-ad-group.d.cts +40 -3
  182. package/dist/actions/get-ad-group.d.cts.map +1 -1
  183. package/dist/actions/get-ad-group.d.mts +40 -3
  184. package/dist/actions/get-ad-group.d.mts.map +1 -1
  185. package/dist/actions/get-ad-group.mjs +12 -12
  186. package/dist/actions/get-ad-group.mjs.map +1 -1
  187. package/dist/actions/get-app-last-fired-at.cjs +2 -2
  188. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  189. package/dist/actions/get-app-last-fired-at.d.cts +34 -3
  190. package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
  191. package/dist/actions/get-app-last-fired-at.d.mts +34 -3
  192. package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
  193. package/dist/actions/get-app-last-fired-at.mjs +2 -2
  194. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  195. package/dist/actions/get-business.cjs +8 -8
  196. package/dist/actions/get-business.cjs.map +1 -1
  197. package/dist/actions/get-business.d.cts +21 -3
  198. package/dist/actions/get-business.d.cts.map +1 -1
  199. package/dist/actions/get-business.d.mts +21 -3
  200. package/dist/actions/get-business.d.mts.map +1 -1
  201. package/dist/actions/get-business.mjs +8 -8
  202. package/dist/actions/get-business.mjs.map +1 -1
  203. package/dist/actions/get-campaign.cjs +10 -10
  204. package/dist/actions/get-campaign.cjs.map +1 -1
  205. package/dist/actions/get-campaign.d.cts +38 -3
  206. package/dist/actions/get-campaign.d.cts.map +1 -1
  207. package/dist/actions/get-campaign.d.mts +38 -3
  208. package/dist/actions/get-campaign.d.mts.map +1 -1
  209. package/dist/actions/get-campaign.mjs +10 -10
  210. package/dist/actions/get-campaign.mjs.map +1 -1
  211. package/dist/actions/get-channel-planning-reach.cjs +5 -5
  212. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  213. package/dist/actions/get-channel-planning-reach.d.cts +36 -3
  214. package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
  215. package/dist/actions/get-channel-planning-reach.d.mts +36 -3
  216. package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
  217. package/dist/actions/get-channel-planning-reach.mjs +5 -5
  218. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  219. package/dist/actions/get-child-funding-instruments.cjs +8 -8
  220. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  221. package/dist/actions/get-child-funding-instruments.d.cts +29 -3
  222. package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
  223. package/dist/actions/get-child-funding-instruments.d.mts +29 -3
  224. package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
  225. package/dist/actions/get-child-funding-instruments.mjs +8 -8
  226. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  227. package/dist/actions/get-custom-audience.cjs +15 -15
  228. package/dist/actions/get-custom-audience.cjs.map +1 -1
  229. package/dist/actions/get-custom-audience.d.cts +68 -3
  230. package/dist/actions/get-custom-audience.d.cts.map +1 -1
  231. package/dist/actions/get-custom-audience.d.mts +68 -3
  232. package/dist/actions/get-custom-audience.d.mts.map +1 -1
  233. package/dist/actions/get-custom-audience.mjs +15 -15
  234. package/dist/actions/get-custom-audience.mjs.map +1 -1
  235. package/dist/actions/get-lead-gen-form.cjs +3 -3
  236. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  237. package/dist/actions/get-lead-gen-form.d.cts +18 -3
  238. package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
  239. package/dist/actions/get-lead-gen-form.d.mts +18 -3
  240. package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
  241. package/dist/actions/get-lead-gen-form.mjs +3 -3
  242. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  243. package/dist/actions/get-me.cjs +5 -5
  244. package/dist/actions/get-me.cjs.map +1 -1
  245. package/dist/actions/get-me.d.cts +13 -3
  246. package/dist/actions/get-me.d.cts.map +1 -1
  247. package/dist/actions/get-me.d.mts +13 -3
  248. package/dist/actions/get-me.d.mts.map +1 -1
  249. package/dist/actions/get-me.mjs +5 -5
  250. package/dist/actions/get-me.mjs.map +1 -1
  251. package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
  252. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  253. package/dist/actions/get-pixel-last-fired-at.d.cts +24 -3
  254. package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
  255. package/dist/actions/get-pixel-last-fired-at.d.mts +24 -3
  256. package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
  257. package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
  258. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  259. package/dist/actions/get-post.cjs +5 -5
  260. package/dist/actions/get-post.cjs.map +1 -1
  261. package/dist/actions/get-post.d.cts +32 -3
  262. package/dist/actions/get-post.d.cts.map +1 -1
  263. package/dist/actions/get-post.d.mts +32 -3
  264. package/dist/actions/get-post.d.mts.map +1 -1
  265. package/dist/actions/get-post.mjs +5 -5
  266. package/dist/actions/get-post.mjs.map +1 -1
  267. package/dist/actions/get-product-catalog.cjs +3 -3
  268. package/dist/actions/get-product-catalog.cjs.map +1 -1
  269. package/dist/actions/get-product-catalog.d.cts +42 -3
  270. package/dist/actions/get-product-catalog.d.cts.map +1 -1
  271. package/dist/actions/get-product-catalog.d.mts +42 -3
  272. package/dist/actions/get-product-catalog.d.mts.map +1 -1
  273. package/dist/actions/get-product-catalog.mjs +3 -3
  274. package/dist/actions/get-product-catalog.mjs.map +1 -1
  275. package/dist/actions/get-product-feed.cjs +9 -9
  276. package/dist/actions/get-product-feed.cjs.map +1 -1
  277. package/dist/actions/get-product-feed.d.cts +36 -3
  278. package/dist/actions/get-product-feed.d.cts.map +1 -1
  279. package/dist/actions/get-product-feed.d.mts +36 -3
  280. package/dist/actions/get-product-feed.d.mts.map +1 -1
  281. package/dist/actions/get-product-feed.mjs +9 -9
  282. package/dist/actions/get-product-feed.mjs.map +1 -1
  283. package/dist/actions/get-product-set.cjs +4 -4
  284. package/dist/actions/get-product-set.cjs.map +1 -1
  285. package/dist/actions/get-product-set.d.cts +22 -3
  286. package/dist/actions/get-product-set.d.cts.map +1 -1
  287. package/dist/actions/get-product-set.d.mts +22 -3
  288. package/dist/actions/get-product-set.d.mts.map +1 -1
  289. package/dist/actions/get-product-set.mjs +4 -4
  290. package/dist/actions/get-product-set.mjs.map +1 -1
  291. package/dist/actions/get-profile.cjs +6 -6
  292. package/dist/actions/get-profile.cjs.map +1 -1
  293. package/dist/actions/get-profile.d.cts +15 -3
  294. package/dist/actions/get-profile.d.cts.map +1 -1
  295. package/dist/actions/get-profile.d.mts +15 -3
  296. package/dist/actions/get-profile.d.mts.map +1 -1
  297. package/dist/actions/get-profile.mjs +6 -6
  298. package/dist/actions/get-profile.mjs.map +1 -1
  299. package/dist/actions/get-saved-audience.cjs +9 -9
  300. package/dist/actions/get-saved-audience.cjs.map +1 -1
  301. package/dist/actions/get-saved-audience.d.cts +52 -3
  302. package/dist/actions/get-saved-audience.d.cts.map +1 -1
  303. package/dist/actions/get-saved-audience.d.mts +52 -3
  304. package/dist/actions/get-saved-audience.d.mts.map +1 -1
  305. package/dist/actions/get-saved-audience.mjs +9 -9
  306. package/dist/actions/get-saved-audience.mjs.map +1 -1
  307. package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
  308. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  309. package/dist/actions/get-sk-ad-network-availability.d.cts +32 -3
  310. package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
  311. package/dist/actions/get-sk-ad-network-availability.d.mts +32 -3
  312. package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
  313. package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
  314. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  315. package/dist/actions/get-structured-post.cjs +3 -3
  316. package/dist/actions/get-structured-post.cjs.map +1 -1
  317. package/dist/actions/get-structured-post.d.cts +15 -3
  318. package/dist/actions/get-structured-post.d.cts.map +1 -1
  319. package/dist/actions/get-structured-post.d.mts +15 -3
  320. package/dist/actions/get-structured-post.d.mts.map +1 -1
  321. package/dist/actions/get-structured-post.mjs +3 -3
  322. package/dist/actions/get-structured-post.mjs.map +1 -1
  323. package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
  324. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  325. package/dist/actions/list-ad-accounts-by-business.d.cts +38 -3
  326. package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
  327. package/dist/actions/list-ad-accounts-by-business.d.mts +38 -3
  328. package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
  329. package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
  330. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  331. package/dist/actions/list-ad-groups.cjs +9 -9
  332. package/dist/actions/list-ad-groups.cjs.map +1 -1
  333. package/dist/actions/list-ad-groups.d.cts +52 -3
  334. package/dist/actions/list-ad-groups.d.cts.map +1 -1
  335. package/dist/actions/list-ad-groups.d.mts +52 -3
  336. package/dist/actions/list-ad-groups.d.mts.map +1 -1
  337. package/dist/actions/list-ad-groups.mjs +9 -9
  338. package/dist/actions/list-ad-groups.mjs.map +1 -1
  339. package/dist/actions/list-ads.cjs +2 -2
  340. package/dist/actions/list-ads.cjs.map +1 -1
  341. package/dist/actions/list-ads.d.cts +19 -3
  342. package/dist/actions/list-ads.d.cts.map +1 -1
  343. package/dist/actions/list-ads.d.mts +19 -3
  344. package/dist/actions/list-ads.d.mts.map +1 -1
  345. package/dist/actions/list-ads.mjs +2 -2
  346. package/dist/actions/list-ads.mjs.map +1 -1
  347. package/dist/actions/list-campaigns.cjs +10 -10
  348. package/dist/actions/list-campaigns.cjs.map +1 -1
  349. package/dist/actions/list-campaigns.d.cts +46 -3
  350. package/dist/actions/list-campaigns.d.cts.map +1 -1
  351. package/dist/actions/list-campaigns.d.mts +46 -3
  352. package/dist/actions/list-campaigns.d.mts.map +1 -1
  353. package/dist/actions/list-campaigns.mjs +10 -10
  354. package/dist/actions/list-campaigns.mjs.map +1 -1
  355. package/dist/actions/list-carriers.cjs +6 -6
  356. package/dist/actions/list-carriers.cjs.map +1 -1
  357. package/dist/actions/list-carriers.d.cts +19 -3
  358. package/dist/actions/list-carriers.d.cts.map +1 -1
  359. package/dist/actions/list-carriers.d.mts +19 -3
  360. package/dist/actions/list-carriers.d.mts.map +1 -1
  361. package/dist/actions/list-carriers.mjs +6 -6
  362. package/dist/actions/list-carriers.mjs.map +1 -1
  363. package/dist/actions/list-catalog-imports.cjs +4 -4
  364. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  365. package/dist/actions/list-catalog-imports.d.cts +30 -3
  366. package/dist/actions/list-catalog-imports.d.cts.map +1 -1
  367. package/dist/actions/list-catalog-imports.d.mts +30 -3
  368. package/dist/actions/list-catalog-imports.d.mts.map +1 -1
  369. package/dist/actions/list-catalog-imports.mjs +4 -4
  370. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  371. package/dist/actions/list-communities-suggestions.cjs +6 -6
  372. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  373. package/dist/actions/list-communities-suggestions.d.cts +26 -3
  374. package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
  375. package/dist/actions/list-communities-suggestions.d.mts +26 -3
  376. package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
  377. package/dist/actions/list-communities-suggestions.mjs +6 -6
  378. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  379. package/dist/actions/list-communities.cjs +6 -6
  380. package/dist/actions/list-communities.cjs.map +1 -1
  381. package/dist/actions/list-communities.d.cts +24 -3
  382. package/dist/actions/list-communities.d.cts.map +1 -1
  383. package/dist/actions/list-communities.d.mts +24 -3
  384. package/dist/actions/list-communities.d.mts.map +1 -1
  385. package/dist/actions/list-communities.mjs +6 -6
  386. package/dist/actions/list-communities.mjs.map +1 -1
  387. package/dist/actions/list-devices.cjs +3 -3
  388. package/dist/actions/list-devices.cjs.map +1 -1
  389. package/dist/actions/list-devices.d.cts +18 -3
  390. package/dist/actions/list-devices.d.cts.map +1 -1
  391. package/dist/actions/list-devices.d.mts +18 -3
  392. package/dist/actions/list-devices.d.mts.map +1 -1
  393. package/dist/actions/list-devices.mjs +3 -3
  394. package/dist/actions/list-devices.mjs.map +1 -1
  395. package/dist/actions/list-funding-instruments.cjs +4 -4
  396. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  397. package/dist/actions/list-funding-instruments.d.cts +49 -3
  398. package/dist/actions/list-funding-instruments.d.cts.map +1 -1
  399. package/dist/actions/list-funding-instruments.d.mts +49 -3
  400. package/dist/actions/list-funding-instruments.d.mts.map +1 -1
  401. package/dist/actions/list-funding-instruments.mjs +4 -4
  402. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  403. package/dist/actions/list-geolocations.cjs +2 -2
  404. package/dist/actions/list-geolocations.cjs.map +1 -1
  405. package/dist/actions/list-geolocations.d.cts +21 -3
  406. package/dist/actions/list-geolocations.d.cts.map +1 -1
  407. package/dist/actions/list-geolocations.d.mts +21 -3
  408. package/dist/actions/list-geolocations.d.mts.map +1 -1
  409. package/dist/actions/list-geolocations.mjs +2 -2
  410. package/dist/actions/list-geolocations.mjs.map +1 -1
  411. package/dist/actions/list-industries.cjs +4 -4
  412. package/dist/actions/list-industries.cjs.map +1 -1
  413. package/dist/actions/list-industries.d.cts +8 -3
  414. package/dist/actions/list-industries.d.cts.map +1 -1
  415. package/dist/actions/list-industries.d.mts +8 -3
  416. package/dist/actions/list-industries.d.mts.map +1 -1
  417. package/dist/actions/list-industries.mjs +4 -4
  418. package/dist/actions/list-industries.mjs.map +1 -1
  419. package/dist/actions/list-interests.cjs +5 -5
  420. package/dist/actions/list-interests.cjs.map +1 -1
  421. package/dist/actions/list-interests.d.cts +9 -3
  422. package/dist/actions/list-interests.d.cts.map +1 -1
  423. package/dist/actions/list-interests.d.mts +9 -3
  424. package/dist/actions/list-interests.d.mts.map +1 -1
  425. package/dist/actions/list-interests.mjs +5 -5
  426. package/dist/actions/list-interests.mjs.map +1 -1
  427. package/dist/actions/list-lead-gen-forms.cjs +4 -4
  428. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  429. package/dist/actions/list-lead-gen-forms.d.cts +26 -3
  430. package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
  431. package/dist/actions/list-lead-gen-forms.d.mts +26 -3
  432. package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
  433. package/dist/actions/list-lead-gen-forms.mjs +4 -4
  434. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  435. package/dist/actions/list-my-businesses.cjs +3 -3
  436. package/dist/actions/list-my-businesses.cjs.map +1 -1
  437. package/dist/actions/list-my-businesses.d.cts +34 -3
  438. package/dist/actions/list-my-businesses.d.cts.map +1 -1
  439. package/dist/actions/list-my-businesses.d.mts +34 -3
  440. package/dist/actions/list-my-businesses.d.mts.map +1 -1
  441. package/dist/actions/list-my-businesses.mjs +3 -3
  442. package/dist/actions/list-my-businesses.mjs.map +1 -1
  443. package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
  444. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  445. package/dist/actions/list-pixels-by-ad-account.d.cts +26 -3
  446. package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
  447. package/dist/actions/list-pixels-by-ad-account.d.mts +26 -3
  448. package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
  449. package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
  450. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  451. package/dist/actions/list-pixels-by-business.cjs +4 -4
  452. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  453. package/dist/actions/list-pixels-by-business.d.cts +26 -3
  454. package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
  455. package/dist/actions/list-pixels-by-business.d.mts +26 -3
  456. package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
  457. package/dist/actions/list-pixels-by-business.mjs +4 -4
  458. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  459. package/dist/actions/list-posts.cjs +7 -7
  460. package/dist/actions/list-posts.cjs.map +1 -1
  461. package/dist/actions/list-posts.d.cts +45 -3
  462. package/dist/actions/list-posts.d.cts.map +1 -1
  463. package/dist/actions/list-posts.d.mts +45 -3
  464. package/dist/actions/list-posts.d.mts.map +1 -1
  465. package/dist/actions/list-posts.mjs +7 -7
  466. package/dist/actions/list-posts.mjs.map +1 -1
  467. package/dist/actions/list-product-catalogs.cjs +8 -8
  468. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  469. package/dist/actions/list-product-catalogs.d.cts +24 -3
  470. package/dist/actions/list-product-catalogs.d.cts.map +1 -1
  471. package/dist/actions/list-product-catalogs.d.mts +24 -3
  472. package/dist/actions/list-product-catalogs.d.mts.map +1 -1
  473. package/dist/actions/list-product-catalogs.mjs +8 -8
  474. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  475. package/dist/actions/list-product-feeds.cjs +9 -9
  476. package/dist/actions/list-product-feeds.cjs.map +1 -1
  477. package/dist/actions/list-product-feeds.d.cts +23 -3
  478. package/dist/actions/list-product-feeds.d.cts.map +1 -1
  479. package/dist/actions/list-product-feeds.d.mts +23 -3
  480. package/dist/actions/list-product-feeds.d.mts.map +1 -1
  481. package/dist/actions/list-product-feeds.mjs +9 -9
  482. package/dist/actions/list-product-feeds.mjs.map +1 -1
  483. package/dist/actions/list-product-sets.cjs +4 -4
  484. package/dist/actions/list-product-sets.cjs.map +1 -1
  485. package/dist/actions/list-product-sets.d.cts +28 -3
  486. package/dist/actions/list-product-sets.d.cts.map +1 -1
  487. package/dist/actions/list-product-sets.d.mts +28 -3
  488. package/dist/actions/list-product-sets.d.mts.map +1 -1
  489. package/dist/actions/list-product-sets.mjs +4 -4
  490. package/dist/actions/list-product-sets.mjs.map +1 -1
  491. package/dist/actions/list-products-in-product-catalog.cjs +17 -17
  492. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  493. package/dist/actions/list-products-in-product-catalog.d.cts +82 -3
  494. package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
  495. package/dist/actions/list-products-in-product-catalog.d.mts +82 -3
  496. package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
  497. package/dist/actions/list-products-in-product-catalog.mjs +17 -17
  498. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  499. package/dist/actions/list-products-in-product-set.cjs +13 -13
  500. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  501. package/dist/actions/list-products-in-product-set.d.cts +127 -3
  502. package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
  503. package/dist/actions/list-products-in-product-set.d.mts +127 -3
  504. package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
  505. package/dist/actions/list-products-in-product-set.mjs +13 -13
  506. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  507. package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
  508. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  509. package/dist/actions/list-profiles-by-ad-account.d.cts +23 -3
  510. package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
  511. package/dist/actions/list-profiles-by-ad-account.d.mts +23 -3
  512. package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
  513. package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
  514. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  515. package/dist/actions/list-profiles-by-business.cjs +3 -3
  516. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  517. package/dist/actions/list-profiles-by-business.d.cts +23 -3
  518. package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
  519. package/dist/actions/list-profiles-by-business.d.mts +23 -3
  520. package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
  521. package/dist/actions/list-profiles-by-business.mjs +3 -3
  522. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  523. package/dist/actions/list-saved-audiences.cjs +11 -11
  524. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  525. package/dist/actions/list-saved-audiences.d.cts +30 -3
  526. package/dist/actions/list-saved-audiences.d.cts.map +1 -1
  527. package/dist/actions/list-saved-audiences.d.mts +30 -3
  528. package/dist/actions/list-saved-audiences.d.mts.map +1 -1
  529. package/dist/actions/list-saved-audiences.mjs +11 -11
  530. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  531. package/dist/actions/list-structured-posts.cjs +3 -3
  532. package/dist/actions/list-structured-posts.cjs.map +1 -1
  533. package/dist/actions/list-structured-posts.d.cts +37 -3
  534. package/dist/actions/list-structured-posts.d.cts.map +1 -1
  535. package/dist/actions/list-structured-posts.d.mts +37 -3
  536. package/dist/actions/list-structured-posts.d.mts.map +1 -1
  537. package/dist/actions/list-structured-posts.mjs +3 -3
  538. package/dist/actions/list-structured-posts.mjs.map +1 -1
  539. package/dist/actions/list-time-zones.cjs +9 -9
  540. package/dist/actions/list-time-zones.cjs.map +1 -1
  541. package/dist/actions/list-time-zones.d.cts +22 -3
  542. package/dist/actions/list-time-zones.d.cts.map +1 -1
  543. package/dist/actions/list-time-zones.d.mts +22 -3
  544. package/dist/actions/list-time-zones.d.mts.map +1 -1
  545. package/dist/actions/list-time-zones.mjs +9 -9
  546. package/dist/actions/list-time-zones.mjs.map +1 -1
  547. package/dist/actions/list-user-custom-audiences.cjs +6 -6
  548. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  549. package/dist/actions/list-user-custom-audiences.d.cts +38 -3
  550. package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
  551. package/dist/actions/list-user-custom-audiences.d.mts +38 -3
  552. package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
  553. package/dist/actions/list-user-custom-audiences.mjs +6 -6
  554. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  555. package/dist/actions/list3rd-party-audiences.cjs +4 -4
  556. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  557. package/dist/actions/list3rd-party-audiences.d.cts +24 -3
  558. package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
  559. package/dist/actions/list3rd-party-audiences.d.mts +24 -3
  560. package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
  561. package/dist/actions/list3rd-party-audiences.mjs +4 -4
  562. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  563. package/dist/actions/query-ad-accounts.cjs +5 -5
  564. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  565. package/dist/actions/query-ad-accounts.d.cts +58 -3
  566. package/dist/actions/query-ad-accounts.d.cts.map +1 -1
  567. package/dist/actions/query-ad-accounts.d.mts +58 -3
  568. package/dist/actions/query-ad-accounts.d.mts.map +1 -1
  569. package/dist/actions/query-ad-accounts.mjs +5 -5
  570. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  571. package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
  572. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  573. package/dist/actions/query-funding-instruments-by-business.d.cts +44 -3
  574. package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
  575. package/dist/actions/query-funding-instruments-by-business.d.mts +44 -3
  576. package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
  577. package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
  578. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  579. package/dist/actions/search-communities.cjs +6 -6
  580. package/dist/actions/search-communities.cjs.map +1 -1
  581. package/dist/actions/search-communities.d.cts +24 -3
  582. package/dist/actions/search-communities.d.cts.map +1 -1
  583. package/dist/actions/search-communities.d.mts +24 -3
  584. package/dist/actions/search-communities.d.mts.map +1 -1
  585. package/dist/actions/search-communities.mjs +6 -6
  586. package/dist/actions/search-communities.mjs.map +1 -1
  587. package/dist/actions/update-ad-account.cjs +2 -2
  588. package/dist/actions/update-ad-account.cjs.map +1 -1
  589. package/dist/actions/update-ad-account.d.cts +88 -3
  590. package/dist/actions/update-ad-account.d.cts.map +1 -1
  591. package/dist/actions/update-ad-account.d.mts +88 -3
  592. package/dist/actions/update-ad-account.d.mts.map +1 -1
  593. package/dist/actions/update-ad-account.mjs +2 -2
  594. package/dist/actions/update-ad-account.mjs.map +1 -1
  595. package/dist/actions/update-business.cjs +2 -2
  596. package/dist/actions/update-business.cjs.map +1 -1
  597. package/dist/actions/update-business.d.cts +66 -3
  598. package/dist/actions/update-business.d.cts.map +1 -1
  599. package/dist/actions/update-business.d.mts +66 -3
  600. package/dist/actions/update-business.d.mts.map +1 -1
  601. package/dist/actions/update-business.mjs +2 -2
  602. package/dist/actions/update-business.mjs.map +1 -1
  603. package/dist/actions/update-campaign.cjs +3 -3
  604. package/dist/actions/update-campaign.cjs.map +1 -1
  605. package/dist/actions/update-campaign.d.cts +113 -3
  606. package/dist/actions/update-campaign.d.cts.map +1 -1
  607. package/dist/actions/update-campaign.d.mts +113 -3
  608. package/dist/actions/update-campaign.d.mts.map +1 -1
  609. package/dist/actions/update-campaign.mjs +3 -3
  610. package/dist/actions/update-campaign.mjs.map +1 -1
  611. package/dist/actions/update-custom-audience-users.cjs +1 -1
  612. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  613. package/dist/actions/update-custom-audience-users.d.cts +31 -3
  614. package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
  615. package/dist/actions/update-custom-audience-users.d.mts +31 -3
  616. package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
  617. package/dist/actions/update-custom-audience-users.mjs +1 -1
  618. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  619. package/dist/actions/update-post.cjs +2 -2
  620. package/dist/actions/update-post.cjs.map +1 -1
  621. package/dist/actions/update-post.d.cts +27 -3
  622. package/dist/actions/update-post.d.cts.map +1 -1
  623. package/dist/actions/update-post.d.mts +27 -3
  624. package/dist/actions/update-post.d.mts.map +1 -1
  625. package/dist/actions/update-post.mjs +2 -2
  626. package/dist/actions/update-post.mjs.map +1 -1
  627. package/dist/actions/update-product-catalog.cjs +3 -3
  628. package/dist/actions/update-product-catalog.cjs.map +1 -1
  629. package/dist/actions/update-product-catalog.d.cts +50 -3
  630. package/dist/actions/update-product-catalog.d.cts.map +1 -1
  631. package/dist/actions/update-product-catalog.d.mts +50 -3
  632. package/dist/actions/update-product-catalog.d.mts.map +1 -1
  633. package/dist/actions/update-product-catalog.mjs +3 -3
  634. package/dist/actions/update-product-catalog.mjs.map +1 -1
  635. package/dist/actions/update-product-feed.cjs +3 -3
  636. package/dist/actions/update-product-feed.cjs.map +1 -1
  637. package/dist/actions/update-product-feed.d.cts +69 -3
  638. package/dist/actions/update-product-feed.d.cts.map +1 -1
  639. package/dist/actions/update-product-feed.d.mts +69 -3
  640. package/dist/actions/update-product-feed.d.mts.map +1 -1
  641. package/dist/actions/update-product-feed.mjs +3 -3
  642. package/dist/actions/update-product-feed.mjs.map +1 -1
  643. package/dist/actions/update-product-set.cjs +4 -4
  644. package/dist/actions/update-product-set.cjs.map +1 -1
  645. package/dist/actions/update-product-set.d.cts +30 -3
  646. package/dist/actions/update-product-set.d.cts.map +1 -1
  647. package/dist/actions/update-product-set.d.mts +30 -3
  648. package/dist/actions/update-product-set.d.mts.map +1 -1
  649. package/dist/actions/update-product-set.mjs +4 -4
  650. package/dist/actions/update-product-set.mjs.map +1 -1
  651. package/dist/actions/update-saved-audience.cjs +3 -3
  652. package/dist/actions/update-saved-audience.cjs.map +1 -1
  653. package/dist/actions/update-saved-audience.d.cts +97 -3
  654. package/dist/actions/update-saved-audience.d.cts.map +1 -1
  655. package/dist/actions/update-saved-audience.d.mts +97 -3
  656. package/dist/actions/update-saved-audience.d.mts.map +1 -1
  657. package/dist/actions/update-saved-audience.mjs +3 -3
  658. package/dist/actions/update-saved-audience.mjs.map +1 -1
  659. package/dist/actions/update-structured-post.cjs +2 -2
  660. package/dist/actions/update-structured-post.cjs.map +1 -1
  661. package/dist/actions/update-structured-post.d.cts +21 -3
  662. package/dist/actions/update-structured-post.d.cts.map +1 -1
  663. package/dist/actions/update-structured-post.d.mts +21 -3
  664. package/dist/actions/update-structured-post.d.mts.map +1 -1
  665. package/dist/actions/update-structured-post.mjs +2 -2
  666. package/dist/actions/update-structured-post.mjs.map +1 -1
  667. package/package.json +2 -2
@@ -7,23 +7,23 @@ const RedditAdsListSavedAudiencesInput = z.object({
7
7
  ad_account_id: z.string().describe("The ID of the ad account to list saved audiences for.")
8
8
  }).describe("Request model for listing saved audiences.");
9
9
  const RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({
10
- id: z.string().describe("Unique identifier for the saved audience."),
11
- name: z.string().describe("Name of the saved audience."),
12
- type: z.string().describe("Type of the saved audience."),
13
- status: z.string().describe("Status of the saved audience."),
10
+ id: z.string().describe("Unique identifier for the saved audience.").nullable(),
11
+ name: z.string().describe("Name of the saved audience.").nullable(),
12
+ type: z.string().describe("Type of the saved audience.").nullable(),
13
+ status: z.string().describe("Status of the saved audience.").nullable(),
14
14
  targeting: z.record(z.string(), z.unknown()).describe("Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.").nullable().optional(),
15
- created_at: z.string().describe("Timestamp when the saved audience was created."),
16
- updated_at: z.string().describe("Timestamp when the saved audience was last updated."),
17
- ad_account_id: z.string().describe("The ID of the ad account that owns this saved audience."),
15
+ created_at: z.string().describe("Timestamp when the saved audience was created.").nullable(),
16
+ updated_at: z.string().describe("Timestamp when the saved audience was last updated.").nullable(),
17
+ ad_account_id: z.string().describe("The ID of the ad account that owns this saved audience.").nullable(),
18
18
  delivery_status: z.array(z.string()).describe("Delivery status information for the saved audience.").nullable().optional(),
19
19
  size_range_lower: z.number().int().describe("Lower bound of the audience size range.").nullable().optional(),
20
20
  size_range_upper: z.number().int().describe("Upper bound of the audience size range.").nullable().optional(),
21
- active_ad_groups_count: z.number().int().describe("Number of active ad groups using this saved audience.")
22
- }).describe("Represents a single saved audience.");
21
+ active_ad_groups_count: z.number().int().describe("Number of active ad groups using this saved audience.").nullable()
22
+ }).passthrough().describe("Represents a single saved audience.");
23
23
  const RedditAdsListSavedAudiences_PaginationSchema = z.object({
24
24
  next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without assuming pagination based on query parameters.").nullable().optional(),
25
25
  previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.").nullable().optional()
26
- }).describe("Pagination information for navigating through results.");
26
+ }).passthrough().describe("Pagination information for navigating through results.");
27
27
  const redditAdsListSavedAudiences = action("REDDIT_ADS_LIST_SAVED_AUDIENCES", {
28
28
  slug: "reddit_ads-list-saved-audiences",
29
29
  name: "List Saved Audiences",
@@ -32,7 +32,7 @@ const redditAdsListSavedAudiences = action("REDDIT_ADS_LIST_SAVED_AUDIENCES", {
32
32
  output: z.object({
33
33
  data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe("List of saved audiences for the specified ad account."),
34
34
  pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable()
35
- }).describe("Response model containing the list of saved audiences and pagination info.")
35
+ }).passthrough().describe("Response model containing the list of saved audiences and pagination info.")
36
36
  });
37
37
  //#endregion
38
38
  export { redditAdsListSavedAudiences };
@@ -1 +1 @@
1
- {"version":3,"file":"list-saved-audiences.mjs","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListSavedAudiencesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\"),\n name: z.string().describe(\"Name of the saved audience.\"),\n type: z.string().describe(\"Type of the saved audience.\"),\n status: z.string().describe(\"Status of the saved audience.\"),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\"),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\"),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\"),\n}).describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC5F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AAC3G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrO,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAMpE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uDAAuD;EAC/H,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-saved-audiences.mjs","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListSavedAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\").nullable(),\n name: z.string().describe(\"Name of the saved audience.\").nullable(),\n type: z.string().describe(\"Type of the saved audience.\").nullable(),\n status: z.string().describe(\"Status of the saved audience.\").nullable(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\").nullable(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\").nullable(),\n}).passthrough().describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACv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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uDAAuD;EAC/H,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
@@ -20,15 +20,15 @@ const RedditAdsListStructuredPosts_StructuredPostSchema = zod.z.object({
20
20
  creative: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Creative data associated with the structured post.").nullable().optional(),
21
21
  profile_id: zod.z.string().describe("The ID of the profile that owns this post.").nullable().optional(),
22
22
  allow_comments: zod.z.boolean().describe("Whether comments are allowed on the post.").nullable().optional()
23
- }).describe("Represents a structured post with creative data.");
23
+ }).passthrough().describe("Represents a structured post with creative data.");
24
24
  const RedditAdsListStructuredPosts_PaginationSchema = zod.z.object({
25
25
  next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
26
26
  previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
27
- }).describe("Pagination information for navigating through results.");
27
+ }).passthrough().describe("Pagination information for navigating through results.");
28
28
  const RedditAdsListStructuredPostsOutput = zod.z.object({
29
29
  data: zod.z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe("List of structured posts returned by the API."),
30
30
  pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional()
31
- }).describe("Response containing the list of structured posts and pagination information.");
31
+ }).passthrough().describe("Response containing the list of structured posts and pagination information.");
32
32
  const redditAdsListStructuredPosts = require_action.action("REDDIT_ADS_LIST_STRUCTURED_POSTS", {
33
33
  slug: "reddit_ads-list-structured-posts",
34
34
  name: "List Structured Posts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-structured-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput: z.ZodTypeAny = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListStructuredPostsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAS;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,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N,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-structured-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAS;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+CAA+C;CACzH,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-structured-posts.d.ts
4
- declare const RedditAdsListStructuredPostsInput: z.ZodTypeAny;
5
- declare const RedditAdsListStructuredPostsOutput: z.ZodTypeAny;
6
- declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListStructuredPostsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ CAROUSEL: "CAROUSEL";
8
+ IMAGE: "IMAGE";
9
+ TEXT: "TEXT";
10
+ VIDEO: "VIDEO";
11
+ }>>;
12
+ source: z.ZodOptional<z.ZodEnum<{
13
+ ORGANIC: "ORGANIC";
14
+ PROMOTED: "PROMOTED";
15
+ }>>;
16
+ page_size: z.ZodOptional<z.ZodNumber>;
17
+ page_token: z.ZodOptional<z.ZodString>;
18
+ profile_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
21
+ data: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ creative: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ }, z.core.$loose>>;
28
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
+ declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ profile_id: string;
35
+ id?: string[] | undefined;
36
+ type?: "CAROUSEL" | "IMAGE" | "TEXT" | "VIDEO" | undefined;
37
+ source?: "ORGANIC" | "PROMOTED" | undefined;
38
+ page_size?: number | undefined;
39
+ page_token?: string | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { redditAdsListStructuredPosts };
9
43
  //# sourceMappingURL=list-structured-posts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-structured-posts.d.cts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOwB;AAAA,cAY7D,kCAAA,EAAoC,CAAA,CAAE,UAGwC;AAAA,cAE9E,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-structured-posts.d.cts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-structured-posts.d.ts
4
- declare const RedditAdsListStructuredPostsInput: z.ZodTypeAny;
5
- declare const RedditAdsListStructuredPostsOutput: z.ZodTypeAny;
6
- declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListStructuredPostsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ CAROUSEL: "CAROUSEL";
8
+ IMAGE: "IMAGE";
9
+ TEXT: "TEXT";
10
+ VIDEO: "VIDEO";
11
+ }>>;
12
+ source: z.ZodOptional<z.ZodEnum<{
13
+ ORGANIC: "ORGANIC";
14
+ PROMOTED: "PROMOTED";
15
+ }>>;
16
+ page_size: z.ZodOptional<z.ZodNumber>;
17
+ page_token: z.ZodOptional<z.ZodString>;
18
+ profile_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
21
+ data: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ creative: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ }, z.core.$loose>>;
28
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
+ declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ profile_id: string;
35
+ id?: string[] | undefined;
36
+ type?: "CAROUSEL" | "IMAGE" | "TEXT" | "VIDEO" | undefined;
37
+ source?: "ORGANIC" | "PROMOTED" | undefined;
38
+ page_size?: number | undefined;
39
+ page_token?: string | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { redditAdsListStructuredPosts };
9
43
  //# sourceMappingURL=list-structured-posts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-structured-posts.d.mts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOwB;AAAA,cAY7D,kCAAA,EAAoC,CAAA,CAAE,UAGwC;AAAA,cAE9E,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-structured-posts.d.mts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -20,11 +20,11 @@ const RedditAdsListStructuredPosts_StructuredPostSchema = z.object({
20
20
  creative: z.record(z.string(), z.unknown()).describe("Creative data associated with the structured post.").nullable().optional(),
21
21
  profile_id: z.string().describe("The ID of the profile that owns this post.").nullable().optional(),
22
22
  allow_comments: z.boolean().describe("Whether comments are allowed on the post.").nullable().optional()
23
- }).describe("Represents a structured post with creative data.");
23
+ }).passthrough().describe("Represents a structured post with creative data.");
24
24
  const RedditAdsListStructuredPosts_PaginationSchema = z.object({
25
25
  next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
26
26
  previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
27
- }).describe("Pagination information for navigating through results.");
27
+ }).passthrough().describe("Pagination information for navigating through results.");
28
28
  const redditAdsListStructuredPosts = action("REDDIT_ADS_LIST_STRUCTURED_POSTS", {
29
29
  slug: "reddit_ads-list-structured-posts",
30
30
  name: "List Structured Posts",
@@ -33,7 +33,7 @@ const redditAdsListStructuredPosts = action("REDDIT_ADS_LIST_STRUCTURED_POSTS",
33
33
  output: z.object({
34
34
  data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe("List of structured posts returned by the API."),
35
35
  pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional()
36
- }).describe("Response containing the list of structured posts and pagination information.")
36
+ }).passthrough().describe("Response containing the list of structured posts and pagination information.")
37
37
  });
38
38
  //#endregion
39
39
  export { redditAdsListStructuredPosts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-structured-posts.mjs","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput: z.ZodTypeAny = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListStructuredPostsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAM,EAAE,KAAK;EAAC;EAAY;EAAS;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gDAA8D,EAAE,OAAO;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAMpE,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+CAA+C;EACzH,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-structured-posts.mjs","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAM,EAAE,KAAK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AC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+CAA+C;EACzH,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
@@ -6,21 +6,21 @@ const RedditAdsListTimeZonesInput = zod.z.object({
6
6
  page_token: zod.z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
7
7
  }).describe("Request model for listing all time zones. Supports pagination for navigating through large result sets.");
8
8
  const RedditAdsListTimeZones_TimeZoneSchema = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier for the time zone."),
10
- code: zod.z.string().describe("Time zone code (e.g., 'America/New_York')."),
11
- name: zod.z.string().describe("Human-readable name of the time zone."),
12
- offset: zod.z.number().int().describe("UTC offset in seconds for the time zone."),
13
- dst_offset: zod.z.number().int().describe("Daylight saving time offset in seconds."),
14
- is_dst_active: zod.z.boolean().describe("Whether daylight saving time is currently active.")
15
- }).describe("Represents a single time zone returned by the Reddit Ads API.");
9
+ id: zod.z.string().describe("Unique identifier for the time zone.").nullable(),
10
+ code: zod.z.string().describe("Time zone code (e.g., 'America/New_York').").nullable(),
11
+ name: zod.z.string().describe("Human-readable name of the time zone.").nullable(),
12
+ offset: zod.z.number().int().describe("UTC offset in seconds for the time zone.").nullable(),
13
+ dst_offset: zod.z.number().int().describe("Daylight saving time offset in seconds.").nullable(),
14
+ is_dst_active: zod.z.boolean().describe("Whether daylight saving time is currently active.").nullable()
15
+ }).passthrough().describe("Represents a single time zone returned by the Reddit Ads API.");
16
16
  const RedditAdsListTimeZones_PaginationSchema = zod.z.object({
17
17
  next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
18
18
  previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
19
- }).describe("Pagination information for navigating through time zone results.");
19
+ }).passthrough().describe("Pagination information for navigating through time zone results.");
20
20
  const RedditAdsListTimeZonesOutput = zod.z.object({
21
21
  data: zod.z.array(RedditAdsListTimeZones_TimeZoneSchema).describe("List of time zones available for campaign scheduling."),
22
22
  pagination: RedditAdsListTimeZones_PaginationSchema.nullable()
23
- }).describe("Response model for listing all time zones with pagination.");
23
+ }).passthrough().describe("Response model for listing all time zones with pagination.");
24
24
  const redditAdsListTimeZones = require_action.action("REDDIT_ADS_LIST_TIME_ZONES", {
25
25
  slug: "reddit_ads-list-time-zones",
26
26
  name: "List Time Zones",
@@ -1 +1 @@
1
- {"version":3,"file":"list-time-zones.cjs","names":["z","action"],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\"),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\"),\n name: z.string().describe(\"Human-readable name of the time zone.\"),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\"),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\"),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\"),\n}).describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through time zone results.\");\nexport const RedditAdsListTimeZonesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC/E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;CACrH,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-time-zones.cjs","names":["z","action"],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;CACrH,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-time-zones.d.ts
4
- declare const RedditAdsListTimeZonesInput: z.ZodTypeAny;
5
- declare const RedditAdsListTimeZonesOutput: z.ZodTypeAny;
6
- declare const redditAdsListTimeZones: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListTimeZonesInput: z.ZodObject<{
5
+ page_size: z.ZodOptional<z.ZodNumber>;
6
+ page_token: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RedditAdsListTimeZonesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ code: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ offset: z.ZodNullable<z.ZodNumber>;
14
+ dst_offset: z.ZodNullable<z.ZodNumber>;
15
+ is_dst_active: z.ZodNullable<z.ZodBoolean>;
16
+ }, z.core.$loose>>;
17
+ pagination: z.ZodNullable<z.ZodObject<{
18
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const redditAdsListTimeZones: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ page_size?: number | undefined;
24
+ page_token?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { redditAdsListTimeZones };
9
28
  //# sourceMappingURL=list-time-zones.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-time-zones.d.cts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG0E;AAAA,cAazG,4BAAA,EAA8B,CAAA,CAAE,UAG4B;AAAA,cAE5D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-time-zones.d.cts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-time-zones.d.ts
4
- declare const RedditAdsListTimeZonesInput: z.ZodTypeAny;
5
- declare const RedditAdsListTimeZonesOutput: z.ZodTypeAny;
6
- declare const redditAdsListTimeZones: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListTimeZonesInput: z.ZodObject<{
5
+ page_size: z.ZodOptional<z.ZodNumber>;
6
+ page_token: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RedditAdsListTimeZonesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ code: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ offset: z.ZodNullable<z.ZodNumber>;
14
+ dst_offset: z.ZodNullable<z.ZodNumber>;
15
+ is_dst_active: z.ZodNullable<z.ZodBoolean>;
16
+ }, z.core.$loose>>;
17
+ pagination: z.ZodNullable<z.ZodObject<{
18
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const redditAdsListTimeZones: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ page_size?: number | undefined;
24
+ page_token?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { redditAdsListTimeZones };
9
28
  //# sourceMappingURL=list-time-zones.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-time-zones.d.mts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG0E;AAAA,cAazG,4BAAA,EAA8B,CAAA,CAAE,UAG4B;AAAA,cAE5D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-time-zones.d.mts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -6,17 +6,17 @@ const RedditAdsListTimeZonesInput = z.object({
6
6
  page_token: z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
7
7
  }).describe("Request model for listing all time zones. Supports pagination for navigating through large result sets.");
8
8
  const RedditAdsListTimeZones_TimeZoneSchema = z.object({
9
- id: z.string().describe("Unique identifier for the time zone."),
10
- code: z.string().describe("Time zone code (e.g., 'America/New_York')."),
11
- name: z.string().describe("Human-readable name of the time zone."),
12
- offset: z.number().int().describe("UTC offset in seconds for the time zone."),
13
- dst_offset: z.number().int().describe("Daylight saving time offset in seconds."),
14
- is_dst_active: z.boolean().describe("Whether daylight saving time is currently active.")
15
- }).describe("Represents a single time zone returned by the Reddit Ads API.");
9
+ id: z.string().describe("Unique identifier for the time zone.").nullable(),
10
+ code: z.string().describe("Time zone code (e.g., 'America/New_York').").nullable(),
11
+ name: z.string().describe("Human-readable name of the time zone.").nullable(),
12
+ offset: z.number().int().describe("UTC offset in seconds for the time zone.").nullable(),
13
+ dst_offset: z.number().int().describe("Daylight saving time offset in seconds.").nullable(),
14
+ is_dst_active: z.boolean().describe("Whether daylight saving time is currently active.").nullable()
15
+ }).passthrough().describe("Represents a single time zone returned by the Reddit Ads API.");
16
16
  const RedditAdsListTimeZones_PaginationSchema = z.object({
17
17
  next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
18
18
  previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
19
- }).describe("Pagination information for navigating through time zone results.");
19
+ }).passthrough().describe("Pagination information for navigating through time zone results.");
20
20
  const redditAdsListTimeZones = action("REDDIT_ADS_LIST_TIME_ZONES", {
21
21
  slug: "reddit_ads-list-time-zones",
22
22
  name: "List Time Zones",
@@ -25,7 +25,7 @@ const redditAdsListTimeZones = action("REDDIT_ADS_LIST_TIME_ZONES", {
25
25
  output: z.object({
26
26
  data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe("List of time zones available for campaign scheduling."),
27
27
  pagination: RedditAdsListTimeZones_PaginationSchema.nullable()
28
- }).describe("Response model for listing all time zones with pagination.")
28
+ }).passthrough().describe("Response model for listing all time zones with pagination.")
29
29
  });
30
30
  //#endregion
31
31
  export { redditAdsListTimeZones };
@@ -1 +1 @@
1
- {"version":3,"file":"list-time-zones.mjs","names":[],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\"),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\"),\n name: z.string().describe(\"Human-readable name of the time zone.\"),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\"),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\"),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\"),\n}).describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through time zone results.\");\nexport const RedditAdsListTimeZonesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC/E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0CAAwD,EAAE,OAAO;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAM9E,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;EACrH,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-time-zones.mjs","names":[],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,0CAA0C,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAM5F,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;EACrH,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -10,12 +10,12 @@ const RedditAdsListUserCustomAudiencesInput = zod.z.object({
10
10
  const RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema = zod.z.object({
11
11
  amount: zod.z.number().describe("Cost amount").nullable().optional(),
12
12
  currency: zod.z.string().describe("Currency code").nullable().optional()
13
- }).describe("Third-Party Data Cost information.");
13
+ }).passthrough().describe("Third-Party Data Cost information.");
14
14
  const RedditAdsListUserCustomAudiences_CustomAudienceItemSchema = zod.z.object({
15
15
  id: zod.z.string().describe("Unique identifier for the audience").nullable().optional(),
16
16
  cost: RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema.nullable().optional(),
17
- name: zod.z.string().describe("Name of the custom audience"),
18
- type: zod.z.string().describe("Type of the custom audience"),
17
+ name: zod.z.string().describe("Name of the custom audience").nullable(),
18
+ type: zod.z.string().describe("Type of the custom audience").nullable(),
19
19
  status: zod.z.string().describe("Status of the audience").nullable().optional(),
20
20
  created_at: zod.z.string().describe("Timestamp when the audience was created").nullable().optional(),
21
21
  modified_at: zod.z.string().describe("Timestamp when the audience was last modified").nullable().optional(),
@@ -27,15 +27,15 @@ const RedditAdsListUserCustomAudiences_CustomAudienceItemSchema = zod.z.object({
27
27
  customer_list_config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Customer List Audience configuration").nullable().optional(),
28
28
  pixel_audience_config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pixel Audience configuration").nullable().optional(),
29
29
  engagement_audience_config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Engagement Audience configuration").nullable().optional()
30
- }).describe("Individual custom audience object.");
30
+ }).passthrough().describe("Individual custom audience object.");
31
31
  const RedditAdsListUserCustomAudiences_PaginationSchema = zod.z.object({
32
32
  next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page.").nullable().optional(),
33
33
  previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page.").nullable().optional()
34
- }).describe("Pagination information for navigating through results.");
34
+ }).passthrough().describe("Pagination information for navigating through results.");
35
35
  const RedditAdsListUserCustomAudiencesOutput = zod.z.object({
36
36
  data: zod.z.array(RedditAdsListUserCustomAudiences_CustomAudienceItemSchema).describe("List of custom audiences from the specified ad account"),
37
37
  pagination: RedditAdsListUserCustomAudiences_PaginationSchema.nullable()
38
- }).describe("Response containing a list of custom audiences with pagination information.");
38
+ }).passthrough().describe("Response containing a list of custom audiences with pagination information.");
39
39
  const redditAdsListUserCustomAudiences = require_action.action("REDDIT_ADS_LIST_USER_CUSTOM_AUDIENCES", {
40
40
  slug: "reddit_ads-list-user-custom-audiences",
41
41
  name: "List User Custom Audiences",
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-custom-audiences.cjs","names":["z","action"],"sources":["../../src/actions/list-user-custom-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListUserCustomAudiencesInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Optional field used for filtering by a specific custom audience name.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (e.g., 'a2_imh76hh7e126').\"),\n});\nconst RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Cost amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Third-Party Data Cost information.\");\nconst RedditAdsListUserCustomAudiences_CustomAudienceItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the audience\").nullable().optional(),\n cost: RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\"),\n type: z.string().describe(\"Type of the custom audience\"),\n status: z.string().describe(\"Status of the audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"Delivery status of the audience\").nullable().optional(),\n lookalike_config: z.record(z.string(), z.unknown()).describe(\"Lookalike Audience configuration\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Customer List Audience configuration\").nullable().optional(),\n pixel_audience_config: z.record(z.string(), z.unknown()).describe(\"Pixel Audience configuration\").nullable().optional(),\n engagement_audience_config: z.record(z.string(), z.unknown()).describe(\"Engagement Audience configuration\").nullable().optional(),\n}).describe(\"Individual custom audience object.\");\nconst RedditAdsListUserCustomAudiences_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListUserCustomAudiencesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListUserCustomAudiences_CustomAudienceItemSchema).describe(\"List of custom audiences from the specified ad account\"),\n pagination: RedditAdsListUserCustomAudiences_PaginationSchema.nullable(),\n}).describe(\"Response containing a list of custom audiences with pagination information.\");\n\nexport const redditAdsListUserCustomAudiences = action(\"REDDIT_ADS_LIST_USER_CUSTOM_AUDIENCES\", {\n slug: \"reddit_ads-list-user-custom-audiences\",\n name: \"List User Custom Audiences\",\n description: \"Tool to list all Custom Audiences under an ad account. Use when you need to retrieve custom audiences for targeting in Reddit Ads campaigns. Rate limit: 500 requests per 60 seconds (Targeting Taxonomy).\",\n input: RedditAdsListUserCustomAudiencesInput,\n output: RedditAdsListUserCustomAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACjG,CAAC;AACD,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAA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audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListUserCustomAudiencesInput = z.object({\n name: z.string().describe(\"Optional field used for filtering by a specific custom audience name.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (e.g., 'a2_imh76hh7e126').\"),\n});\nconst RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Third-Party Data Cost information.\");\nconst RedditAdsListUserCustomAudiences_CustomAudienceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the audience\").nullable().optional(),\n cost: RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable(),\n type: z.string().describe(\"Type of the custom audience\").nullable(),\n status: z.string().describe(\"Status of the audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"Delivery status of the audience\").nullable().optional(),\n lookalike_config: z.record(z.string(), z.unknown()).describe(\"Lookalike Audience configuration\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Customer List Audience configuration\").nullable().optional(),\n pixel_audience_config: z.record(z.string(), z.unknown()).describe(\"Pixel Audience configuration\").nullable().optional(),\n engagement_audience_config: z.record(z.string(), z.unknown()).describe(\"Engagement Audience configuration\").nullable().optional(),\n}).passthrough().describe(\"Individual custom audience object.\");\nconst RedditAdsListUserCustomAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListUserCustomAudiencesOutput = z.object({\n data: z.array(RedditAdsListUserCustomAudiences_CustomAudienceItemSchema).describe(\"List of custom audiences from the specified ad account\"),\n pagination: RedditAdsListUserCustomAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of custom audiences with pagination information.\");\n\nexport const redditAdsListUserCustomAudiences = action(\"REDDIT_ADS_LIST_USER_CUSTOM_AUDIENCES\", {\n slug: \"reddit_ads-list-user-custom-audiences\",\n name: \"List User Custom Audiences\",\n description: \"Tool to list all Custom Audiences under an ad account. Use when you need to retrieve custom audiences for targeting in Reddit Ads campaigns. Rate limit: 500 requests per 60 seconds (Targeting Taxonomy).\",\n input: RedditAdsListUserCustomAudiencesInput,\n output: RedditAdsListUserCustomAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACjG,CAAC;AACD,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-user-custom-audiences.d.ts
4
- declare const RedditAdsListUserCustomAudiencesInput: z.ZodTypeAny;
5
- declare const RedditAdsListUserCustomAudiencesOutput: z.ZodTypeAny;
6
- declare const redditAdsListUserCustomAudiences: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListUserCustomAudiencesInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ page_size: z.ZodOptional<z.ZodNumber>;
7
+ page_token: z.ZodOptional<z.ZodString>;
8
+ ad_account_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RedditAdsListUserCustomAudiencesOutput: z.ZodObject<{
11
+ data: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ ad_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ lookalike_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ size_range_lower: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ size_range_upper: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ customer_list_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
+ pixel_audience_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
+ engagement_audience_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
+ }, z.core.$loose>>;
31
+ pagination: z.ZodNullable<z.ZodObject<{
32
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
+ declare const redditAdsListUserCustomAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ ad_account_id: string;
38
+ name?: string | undefined;
39
+ page_size?: number | undefined;
40
+ page_token?: string | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { redditAdsListUserCustomAudiences };
9
44
  //# sourceMappingURL=list-user-custom-audiences.d.cts.map