@keystrokehq/reddit_ads 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (529) hide show
  1. package/dist/actions/create-ad-group.cjs +2 -2
  2. package/dist/actions/create-ad-group.cjs.map +1 -1
  3. package/dist/actions/create-ad-group.d.cts +15 -3
  4. package/dist/actions/create-ad-group.d.cts.map +1 -1
  5. package/dist/actions/create-ad-group.d.mts +15 -3
  6. package/dist/actions/create-ad-group.d.mts.map +1 -1
  7. package/dist/actions/create-ad-group.mjs +2 -2
  8. package/dist/actions/create-ad-group.mjs.map +1 -1
  9. package/dist/actions/create-batch-products.cjs +6 -6
  10. package/dist/actions/create-batch-products.cjs.map +1 -1
  11. package/dist/actions/create-batch-products.d.cts +21 -8
  12. package/dist/actions/create-batch-products.d.cts.map +1 -1
  13. package/dist/actions/create-batch-products.d.mts +21 -8
  14. package/dist/actions/create-batch-products.d.mts.map +1 -1
  15. package/dist/actions/create-batch-products.mjs +6 -6
  16. package/dist/actions/create-batch-products.mjs.map +1 -1
  17. package/dist/actions/create-campaign.cjs +3 -3
  18. package/dist/actions/create-campaign.cjs.map +1 -1
  19. package/dist/actions/create-campaign.d.cts +16 -4
  20. package/dist/actions/create-campaign.d.mts +16 -4
  21. package/dist/actions/create-campaign.mjs +3 -3
  22. package/dist/actions/create-campaign.mjs.map +1 -1
  23. package/dist/actions/create-custom-audience.cjs +5 -5
  24. package/dist/actions/create-custom-audience.cjs.map +1 -1
  25. package/dist/actions/create-custom-audience.d.cts +18 -6
  26. package/dist/actions/create-custom-audience.d.cts.map +1 -1
  27. package/dist/actions/create-custom-audience.d.mts +18 -6
  28. package/dist/actions/create-custom-audience.d.mts.map +1 -1
  29. package/dist/actions/create-custom-audience.mjs +5 -5
  30. package/dist/actions/create-custom-audience.mjs.map +1 -1
  31. package/dist/actions/create-lead-gen-form.cjs +4 -4
  32. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  33. package/dist/actions/create-lead-gen-form.d.cts +18 -5
  34. package/dist/actions/create-lead-gen-form.d.mts +18 -5
  35. package/dist/actions/create-lead-gen-form.mjs +4 -4
  36. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  37. package/dist/actions/create-post.cjs +4 -4
  38. package/dist/actions/create-post.cjs.map +1 -1
  39. package/dist/actions/create-post.d.cts +21 -8
  40. package/dist/actions/create-post.d.mts +21 -8
  41. package/dist/actions/create-post.mjs +4 -4
  42. package/dist/actions/create-post.mjs.map +1 -1
  43. package/dist/actions/create-product-catalog.cjs +3 -3
  44. package/dist/actions/create-product-catalog.cjs.map +1 -1
  45. package/dist/actions/create-product-catalog.d.cts +16 -4
  46. package/dist/actions/create-product-catalog.d.mts +16 -4
  47. package/dist/actions/create-product-catalog.mjs +3 -3
  48. package/dist/actions/create-product-catalog.mjs.map +1 -1
  49. package/dist/actions/create-product-feed.cjs +4 -4
  50. package/dist/actions/create-product-feed.cjs.map +1 -1
  51. package/dist/actions/create-product-feed.d.cts +17 -5
  52. package/dist/actions/create-product-feed.d.mts +17 -5
  53. package/dist/actions/create-product-feed.mjs +4 -4
  54. package/dist/actions/create-product-feed.mjs.map +1 -1
  55. package/dist/actions/create-product-set.cjs +4 -4
  56. package/dist/actions/create-product-set.cjs.map +1 -1
  57. package/dist/actions/create-product-set.d.cts +17 -5
  58. package/dist/actions/create-product-set.d.mts +17 -5
  59. package/dist/actions/create-product-set.mjs +4 -4
  60. package/dist/actions/create-product-set.mjs.map +1 -1
  61. package/dist/actions/create-saved-audience.cjs +3 -3
  62. package/dist/actions/create-saved-audience.cjs.map +1 -1
  63. package/dist/actions/create-saved-audience.d.cts +16 -4
  64. package/dist/actions/create-saved-audience.d.mts +16 -4
  65. package/dist/actions/create-saved-audience.mjs +3 -3
  66. package/dist/actions/create-saved-audience.mjs.map +1 -1
  67. package/dist/actions/create-structured-post-creation-job.cjs +15 -15
  68. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  69. package/dist/actions/create-structured-post-creation-job.d.cts +49 -33
  70. package/dist/actions/create-structured-post-creation-job.d.mts +49 -33
  71. package/dist/actions/create-structured-post-creation-job.mjs +15 -15
  72. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  73. package/dist/actions/delete-custom-audience.cjs +1 -1
  74. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  75. package/dist/actions/delete-custom-audience.d.cts +14 -2
  76. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  77. package/dist/actions/delete-custom-audience.d.mts +14 -2
  78. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  79. package/dist/actions/delete-custom-audience.mjs +1 -1
  80. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  81. package/dist/actions/delete-product-catalog.cjs +1 -1
  82. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  83. package/dist/actions/delete-product-catalog.d.cts +14 -2
  84. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  85. package/dist/actions/delete-product-catalog.d.mts +14 -2
  86. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  87. package/dist/actions/delete-product-catalog.mjs +1 -1
  88. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  89. package/dist/actions/delete-product-feed.cjs +1 -1
  90. package/dist/actions/delete-product-feed.cjs.map +1 -1
  91. package/dist/actions/delete-product-feed.d.cts +14 -2
  92. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  93. package/dist/actions/delete-product-feed.d.mts +14 -2
  94. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  95. package/dist/actions/delete-product-feed.mjs +1 -1
  96. package/dist/actions/delete-product-feed.mjs.map +1 -1
  97. package/dist/actions/delete-product-set.cjs +1 -1
  98. package/dist/actions/delete-product-set.cjs.map +1 -1
  99. package/dist/actions/delete-product-set.d.cts +14 -2
  100. package/dist/actions/delete-product-set.d.cts.map +1 -1
  101. package/dist/actions/delete-product-set.d.mts +14 -2
  102. package/dist/actions/delete-product-set.d.mts.map +1 -1
  103. package/dist/actions/delete-product-set.mjs +1 -1
  104. package/dist/actions/delete-product-set.mjs.map +1 -1
  105. package/dist/actions/delete-products.cjs +1 -1
  106. package/dist/actions/delete-products.cjs.map +1 -1
  107. package/dist/actions/delete-products.d.cts +15 -3
  108. package/dist/actions/delete-products.d.mts +15 -3
  109. package/dist/actions/delete-products.mjs +1 -1
  110. package/dist/actions/delete-products.mjs.map +1 -1
  111. package/dist/actions/do-geolocation-validations.cjs +3 -3
  112. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  113. package/dist/actions/do-geolocation-validations.d.cts +16 -4
  114. package/dist/actions/do-geolocation-validations.d.mts +16 -4
  115. package/dist/actions/do-geolocation-validations.mjs +3 -3
  116. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  117. package/dist/actions/do-keyword-validations.cjs +2 -2
  118. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  119. package/dist/actions/do-keyword-validations.d.cts +15 -3
  120. package/dist/actions/do-keyword-validations.d.mts +15 -3
  121. package/dist/actions/do-keyword-validations.mjs +2 -2
  122. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  123. package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
  124. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  125. package/dist/actions/generate-inspiration-creative-summary.d.cts +21 -9
  126. package/dist/actions/generate-inspiration-creative-summary.d.mts +21 -9
  127. package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
  128. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  129. package/dist/actions/get-a-report.cjs +3 -3
  130. package/dist/actions/get-a-report.cjs.map +1 -1
  131. package/dist/actions/get-a-report.d.cts +16 -4
  132. package/dist/actions/get-a-report.d.mts +16 -4
  133. package/dist/actions/get-a-report.mjs +3 -3
  134. package/dist/actions/get-a-report.mjs.map +1 -1
  135. package/dist/actions/get-ad-account-history.cjs +6 -6
  136. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  137. package/dist/actions/get-ad-account-history.d.cts +22 -7
  138. package/dist/actions/get-ad-account-history.d.mts +22 -7
  139. package/dist/actions/get-ad-account-history.mjs +6 -6
  140. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  141. package/dist/actions/get-ad-account.cjs +2 -2
  142. package/dist/actions/get-ad-account.cjs.map +1 -1
  143. package/dist/actions/get-ad-account.d.cts +15 -3
  144. package/dist/actions/get-ad-account.d.mts +15 -3
  145. package/dist/actions/get-ad-account.mjs +2 -2
  146. package/dist/actions/get-ad-account.mjs.map +1 -1
  147. package/dist/actions/get-ad-group.cjs +6 -6
  148. package/dist/actions/get-ad-group.cjs.map +1 -1
  149. package/dist/actions/get-ad-group.d.cts +19 -7
  150. package/dist/actions/get-ad-group.d.mts +19 -7
  151. package/dist/actions/get-ad-group.mjs +6 -6
  152. package/dist/actions/get-ad-group.mjs.map +1 -1
  153. package/dist/actions/get-app-last-fired-at.cjs +2 -2
  154. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  155. package/dist/actions/get-app-last-fired-at.d.cts +15 -3
  156. package/dist/actions/get-app-last-fired-at.d.mts +15 -3
  157. package/dist/actions/get-app-last-fired-at.mjs +2 -2
  158. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  159. package/dist/actions/get-business.cjs +2 -2
  160. package/dist/actions/get-business.cjs.map +1 -1
  161. package/dist/actions/get-business.d.cts +15 -3
  162. package/dist/actions/get-business.d.mts +15 -3
  163. package/dist/actions/get-business.mjs +2 -2
  164. package/dist/actions/get-business.mjs.map +1 -1
  165. package/dist/actions/get-campaign.cjs +3 -3
  166. package/dist/actions/get-campaign.cjs.map +1 -1
  167. package/dist/actions/get-campaign.d.cts +16 -4
  168. package/dist/actions/get-campaign.d.mts +16 -4
  169. package/dist/actions/get-campaign.mjs +3 -3
  170. package/dist/actions/get-campaign.mjs.map +1 -1
  171. package/dist/actions/get-channel-planning-reach.cjs +3 -3
  172. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  173. package/dist/actions/get-channel-planning-reach.d.cts +16 -4
  174. package/dist/actions/get-channel-planning-reach.d.mts +16 -4
  175. package/dist/actions/get-channel-planning-reach.mjs +3 -3
  176. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  177. package/dist/actions/get-child-funding-instruments.cjs +3 -3
  178. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  179. package/dist/actions/get-child-funding-instruments.d.cts +16 -4
  180. package/dist/actions/get-child-funding-instruments.d.mts +16 -4
  181. package/dist/actions/get-child-funding-instruments.mjs +3 -3
  182. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  183. package/dist/actions/get-custom-audience.cjs +7 -7
  184. package/dist/actions/get-custom-audience.cjs.map +1 -1
  185. package/dist/actions/get-custom-audience.d.cts +20 -8
  186. package/dist/actions/get-custom-audience.d.mts +20 -8
  187. package/dist/actions/get-custom-audience.mjs +7 -7
  188. package/dist/actions/get-custom-audience.mjs.map +1 -1
  189. package/dist/actions/get-lead-gen-form.cjs +3 -3
  190. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  191. package/dist/actions/get-lead-gen-form.d.cts +16 -4
  192. package/dist/actions/get-lead-gen-form.d.mts +16 -4
  193. package/dist/actions/get-lead-gen-form.mjs +3 -3
  194. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  195. package/dist/actions/get-me.cjs +2 -2
  196. package/dist/actions/get-me.cjs.map +1 -1
  197. package/dist/actions/get-me.d.cts +15 -3
  198. package/dist/actions/get-me.d.cts.map +1 -1
  199. package/dist/actions/get-me.d.mts +15 -3
  200. package/dist/actions/get-me.d.mts.map +1 -1
  201. package/dist/actions/get-me.mjs +2 -2
  202. package/dist/actions/get-me.mjs.map +1 -1
  203. package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
  204. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  205. package/dist/actions/get-pixel-last-fired-at.d.cts +17 -5
  206. package/dist/actions/get-pixel-last-fired-at.d.mts +17 -5
  207. package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
  208. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  209. package/dist/actions/get-post.cjs +3 -3
  210. package/dist/actions/get-post.cjs.map +1 -1
  211. package/dist/actions/get-post.d.cts +17 -5
  212. package/dist/actions/get-post.d.mts +17 -5
  213. package/dist/actions/get-post.mjs +3 -3
  214. package/dist/actions/get-post.mjs.map +1 -1
  215. package/dist/actions/get-product-catalog.cjs +3 -3
  216. package/dist/actions/get-product-catalog.cjs.map +1 -1
  217. package/dist/actions/get-product-catalog.d.cts +16 -4
  218. package/dist/actions/get-product-catalog.d.mts +16 -4
  219. package/dist/actions/get-product-catalog.mjs +3 -3
  220. package/dist/actions/get-product-catalog.mjs.map +1 -1
  221. package/dist/actions/get-product-feed.cjs +4 -4
  222. package/dist/actions/get-product-feed.cjs.map +1 -1
  223. package/dist/actions/get-product-feed.d.cts +17 -5
  224. package/dist/actions/get-product-feed.d.mts +17 -5
  225. package/dist/actions/get-product-feed.mjs +4 -4
  226. package/dist/actions/get-product-feed.mjs.map +1 -1
  227. package/dist/actions/get-product-set.cjs +4 -4
  228. package/dist/actions/get-product-set.cjs.map +1 -1
  229. package/dist/actions/get-product-set.d.cts +17 -5
  230. package/dist/actions/get-product-set.d.mts +17 -5
  231. package/dist/actions/get-product-set.mjs +4 -4
  232. package/dist/actions/get-product-set.mjs.map +1 -1
  233. package/dist/actions/get-profile.cjs +2 -2
  234. package/dist/actions/get-profile.cjs.map +1 -1
  235. package/dist/actions/get-profile.d.cts +15 -3
  236. package/dist/actions/get-profile.d.mts +15 -3
  237. package/dist/actions/get-profile.mjs +2 -2
  238. package/dist/actions/get-profile.mjs.map +1 -1
  239. package/dist/actions/get-saved-audience.cjs +3 -3
  240. package/dist/actions/get-saved-audience.cjs.map +1 -1
  241. package/dist/actions/get-saved-audience.d.cts +16 -4
  242. package/dist/actions/get-saved-audience.d.mts +16 -4
  243. package/dist/actions/get-saved-audience.mjs +3 -3
  244. package/dist/actions/get-saved-audience.mjs.map +1 -1
  245. package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
  246. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  247. package/dist/actions/get-sk-ad-network-availability.d.cts +18 -6
  248. package/dist/actions/get-sk-ad-network-availability.d.mts +18 -6
  249. package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
  250. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  251. package/dist/actions/get-structured-post.cjs +3 -3
  252. package/dist/actions/get-structured-post.cjs.map +1 -1
  253. package/dist/actions/get-structured-post.d.cts +16 -4
  254. package/dist/actions/get-structured-post.d.mts +16 -4
  255. package/dist/actions/get-structured-post.mjs +3 -3
  256. package/dist/actions/get-structured-post.mjs.map +1 -1
  257. package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
  258. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  259. package/dist/actions/list-ad-accounts-by-business.d.cts +16 -4
  260. package/dist/actions/list-ad-accounts-by-business.d.mts +16 -4
  261. package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
  262. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  263. package/dist/actions/list-ad-groups.cjs +3 -3
  264. package/dist/actions/list-ad-groups.cjs.map +1 -1
  265. package/dist/actions/list-ad-groups.d.cts +16 -4
  266. package/dist/actions/list-ad-groups.d.mts +16 -4
  267. package/dist/actions/list-ad-groups.mjs +3 -3
  268. package/dist/actions/list-ad-groups.mjs.map +1 -1
  269. package/dist/actions/list-ads.cjs +2 -2
  270. package/dist/actions/list-ads.cjs.map +1 -1
  271. package/dist/actions/list-ads.d.cts +15 -3
  272. package/dist/actions/list-ads.d.mts +15 -3
  273. package/dist/actions/list-ads.mjs +2 -2
  274. package/dist/actions/list-ads.mjs.map +1 -1
  275. package/dist/actions/list-campaigns.cjs +3 -3
  276. package/dist/actions/list-campaigns.cjs.map +1 -1
  277. package/dist/actions/list-campaigns.d.cts +16 -4
  278. package/dist/actions/list-campaigns.d.mts +16 -4
  279. package/dist/actions/list-campaigns.mjs +3 -3
  280. package/dist/actions/list-campaigns.mjs.map +1 -1
  281. package/dist/actions/list-carriers.cjs +3 -3
  282. package/dist/actions/list-carriers.cjs.map +1 -1
  283. package/dist/actions/list-carriers.d.cts +16 -4
  284. package/dist/actions/list-carriers.d.mts +16 -4
  285. package/dist/actions/list-carriers.mjs +3 -3
  286. package/dist/actions/list-carriers.mjs.map +1 -1
  287. package/dist/actions/list-catalog-imports.cjs +4 -4
  288. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  289. package/dist/actions/list-catalog-imports.d.cts +17 -5
  290. package/dist/actions/list-catalog-imports.d.mts +17 -5
  291. package/dist/actions/list-catalog-imports.mjs +4 -4
  292. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  293. package/dist/actions/list-communities-suggestions.cjs +3 -3
  294. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  295. package/dist/actions/list-communities-suggestions.d.cts +16 -4
  296. package/dist/actions/list-communities-suggestions.d.mts +16 -4
  297. package/dist/actions/list-communities-suggestions.mjs +3 -3
  298. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  299. package/dist/actions/list-communities.cjs +3 -3
  300. package/dist/actions/list-communities.cjs.map +1 -1
  301. package/dist/actions/list-communities.d.cts +16 -4
  302. package/dist/actions/list-communities.d.mts +16 -4
  303. package/dist/actions/list-communities.mjs +3 -3
  304. package/dist/actions/list-communities.mjs.map +1 -1
  305. package/dist/actions/list-devices.cjs +3 -3
  306. package/dist/actions/list-devices.cjs.map +1 -1
  307. package/dist/actions/list-devices.d.cts +16 -4
  308. package/dist/actions/list-devices.d.mts +16 -4
  309. package/dist/actions/list-devices.mjs +3 -3
  310. package/dist/actions/list-devices.mjs.map +1 -1
  311. package/dist/actions/list-funding-instruments.cjs +3 -3
  312. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  313. package/dist/actions/list-funding-instruments.d.cts +16 -4
  314. package/dist/actions/list-funding-instruments.d.mts +16 -4
  315. package/dist/actions/list-funding-instruments.mjs +3 -3
  316. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  317. package/dist/actions/list-geolocations.cjs +2 -2
  318. package/dist/actions/list-geolocations.cjs.map +1 -1
  319. package/dist/actions/list-geolocations.d.cts +15 -3
  320. package/dist/actions/list-geolocations.d.mts +15 -3
  321. package/dist/actions/list-geolocations.mjs +2 -2
  322. package/dist/actions/list-geolocations.mjs.map +1 -1
  323. package/dist/actions/list-industries.cjs +2 -2
  324. package/dist/actions/list-industries.cjs.map +1 -1
  325. package/dist/actions/list-industries.d.cts +15 -3
  326. package/dist/actions/list-industries.d.cts.map +1 -1
  327. package/dist/actions/list-industries.d.mts +15 -3
  328. package/dist/actions/list-industries.d.mts.map +1 -1
  329. package/dist/actions/list-industries.mjs +2 -2
  330. package/dist/actions/list-industries.mjs.map +1 -1
  331. package/dist/actions/list-interests.cjs +2 -2
  332. package/dist/actions/list-interests.cjs.map +1 -1
  333. package/dist/actions/list-interests.d.cts +15 -3
  334. package/dist/actions/list-interests.d.cts.map +1 -1
  335. package/dist/actions/list-interests.d.mts +15 -3
  336. package/dist/actions/list-interests.d.mts.map +1 -1
  337. package/dist/actions/list-interests.mjs +2 -2
  338. package/dist/actions/list-interests.mjs.map +1 -1
  339. package/dist/actions/list-lead-gen-forms.cjs +4 -4
  340. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  341. package/dist/actions/list-lead-gen-forms.d.cts +17 -5
  342. package/dist/actions/list-lead-gen-forms.d.mts +17 -5
  343. package/dist/actions/list-lead-gen-forms.mjs +4 -4
  344. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  345. package/dist/actions/list-my-businesses.cjs +3 -3
  346. package/dist/actions/list-my-businesses.cjs.map +1 -1
  347. package/dist/actions/list-my-businesses.d.cts +16 -4
  348. package/dist/actions/list-my-businesses.d.mts +16 -4
  349. package/dist/actions/list-my-businesses.mjs +3 -3
  350. package/dist/actions/list-my-businesses.mjs.map +1 -1
  351. package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
  352. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  353. package/dist/actions/list-pixels-by-ad-account.d.cts +15 -3
  354. package/dist/actions/list-pixels-by-ad-account.d.mts +15 -3
  355. package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
  356. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  357. package/dist/actions/list-pixels-by-business.cjs +4 -4
  358. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  359. package/dist/actions/list-pixels-by-business.d.cts +17 -5
  360. package/dist/actions/list-pixels-by-business.d.mts +17 -5
  361. package/dist/actions/list-pixels-by-business.mjs +4 -4
  362. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  363. package/dist/actions/list-posts.cjs +4 -4
  364. package/dist/actions/list-posts.cjs.map +1 -1
  365. package/dist/actions/list-posts.d.cts +19 -7
  366. package/dist/actions/list-posts.d.mts +19 -7
  367. package/dist/actions/list-posts.mjs +4 -4
  368. package/dist/actions/list-posts.mjs.map +1 -1
  369. package/dist/actions/list-product-catalogs.cjs +3 -3
  370. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  371. package/dist/actions/list-product-catalogs.d.cts +16 -4
  372. package/dist/actions/list-product-catalogs.d.mts +16 -4
  373. package/dist/actions/list-product-catalogs.mjs +3 -3
  374. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  375. package/dist/actions/list-product-feeds.cjs +3 -3
  376. package/dist/actions/list-product-feeds.cjs.map +1 -1
  377. package/dist/actions/list-product-feeds.d.cts +16 -4
  378. package/dist/actions/list-product-feeds.d.mts +16 -4
  379. package/dist/actions/list-product-feeds.mjs +3 -3
  380. package/dist/actions/list-product-feeds.mjs.map +1 -1
  381. package/dist/actions/list-product-sets.cjs +4 -4
  382. package/dist/actions/list-product-sets.cjs.map +1 -1
  383. package/dist/actions/list-product-sets.d.cts +17 -5
  384. package/dist/actions/list-product-sets.d.mts +17 -5
  385. package/dist/actions/list-product-sets.mjs +4 -4
  386. package/dist/actions/list-product-sets.mjs.map +1 -1
  387. package/dist/actions/list-products-in-product-catalog.cjs +6 -6
  388. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  389. package/dist/actions/list-products-in-product-catalog.d.cts +19 -7
  390. package/dist/actions/list-products-in-product-catalog.d.mts +19 -7
  391. package/dist/actions/list-products-in-product-catalog.mjs +6 -6
  392. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  393. package/dist/actions/list-products-in-product-set.cjs +5 -5
  394. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  395. package/dist/actions/list-products-in-product-set.d.cts +18 -6
  396. package/dist/actions/list-products-in-product-set.d.mts +18 -6
  397. package/dist/actions/list-products-in-product-set.mjs +5 -5
  398. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  399. package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
  400. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  401. package/dist/actions/list-profiles-by-ad-account.d.cts +16 -4
  402. package/dist/actions/list-profiles-by-ad-account.d.mts +16 -4
  403. package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
  404. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  405. package/dist/actions/list-profiles-by-business.cjs +3 -3
  406. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  407. package/dist/actions/list-profiles-by-business.d.cts +16 -4
  408. package/dist/actions/list-profiles-by-business.d.mts +16 -4
  409. package/dist/actions/list-profiles-by-business.mjs +3 -3
  410. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  411. package/dist/actions/list-saved-audiences.cjs +3 -3
  412. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  413. package/dist/actions/list-saved-audiences.d.cts +16 -4
  414. package/dist/actions/list-saved-audiences.d.mts +16 -4
  415. package/dist/actions/list-saved-audiences.mjs +3 -3
  416. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  417. package/dist/actions/list-structured-posts.cjs +3 -3
  418. package/dist/actions/list-structured-posts.cjs.map +1 -1
  419. package/dist/actions/list-structured-posts.d.cts +18 -6
  420. package/dist/actions/list-structured-posts.d.mts +18 -6
  421. package/dist/actions/list-structured-posts.mjs +3 -3
  422. package/dist/actions/list-structured-posts.mjs.map +1 -1
  423. package/dist/actions/list-time-zones.cjs +3 -3
  424. package/dist/actions/list-time-zones.cjs.map +1 -1
  425. package/dist/actions/list-time-zones.d.cts +16 -4
  426. package/dist/actions/list-time-zones.d.mts +16 -4
  427. package/dist/actions/list-time-zones.mjs +3 -3
  428. package/dist/actions/list-time-zones.mjs.map +1 -1
  429. package/dist/actions/list-user-custom-audiences.cjs +4 -4
  430. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  431. package/dist/actions/list-user-custom-audiences.d.cts +17 -5
  432. package/dist/actions/list-user-custom-audiences.d.mts +17 -5
  433. package/dist/actions/list-user-custom-audiences.mjs +4 -4
  434. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  435. package/dist/actions/list3rd-party-audiences.cjs +4 -4
  436. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  437. package/dist/actions/list3rd-party-audiences.d.cts +17 -5
  438. package/dist/actions/list3rd-party-audiences.d.mts +17 -5
  439. package/dist/actions/list3rd-party-audiences.mjs +4 -4
  440. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  441. package/dist/actions/query-ad-accounts.cjs +5 -5
  442. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  443. package/dist/actions/query-ad-accounts.d.cts +20 -6
  444. package/dist/actions/query-ad-accounts.d.mts +20 -6
  445. package/dist/actions/query-ad-accounts.mjs +5 -5
  446. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  447. package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
  448. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  449. package/dist/actions/query-funding-instruments-by-business.d.cts +16 -4
  450. package/dist/actions/query-funding-instruments-by-business.d.mts +16 -4
  451. package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
  452. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  453. package/dist/actions/search-communities.cjs +3 -3
  454. package/dist/actions/search-communities.cjs.map +1 -1
  455. package/dist/actions/search-communities.d.cts +16 -4
  456. package/dist/actions/search-communities.d.mts +16 -4
  457. package/dist/actions/search-communities.mjs +3 -3
  458. package/dist/actions/search-communities.mjs.map +1 -1
  459. package/dist/actions/update-ad-account.cjs +2 -2
  460. package/dist/actions/update-ad-account.cjs.map +1 -1
  461. package/dist/actions/update-ad-account.d.cts +15 -3
  462. package/dist/actions/update-ad-account.d.mts +15 -3
  463. package/dist/actions/update-ad-account.mjs +2 -2
  464. package/dist/actions/update-ad-account.mjs.map +1 -1
  465. package/dist/actions/update-business.cjs +2 -2
  466. package/dist/actions/update-business.cjs.map +1 -1
  467. package/dist/actions/update-business.d.cts +15 -3
  468. package/dist/actions/update-business.d.mts +15 -3
  469. package/dist/actions/update-business.mjs +2 -2
  470. package/dist/actions/update-business.mjs.map +1 -1
  471. package/dist/actions/update-campaign.cjs +3 -3
  472. package/dist/actions/update-campaign.cjs.map +1 -1
  473. package/dist/actions/update-campaign.d.cts +16 -4
  474. package/dist/actions/update-campaign.d.mts +16 -4
  475. package/dist/actions/update-campaign.mjs +3 -3
  476. package/dist/actions/update-campaign.mjs.map +1 -1
  477. package/dist/actions/update-custom-audience-users.cjs +1 -1
  478. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  479. package/dist/actions/update-custom-audience-users.d.cts +14 -2
  480. package/dist/actions/update-custom-audience-users.d.mts +14 -2
  481. package/dist/actions/update-custom-audience-users.mjs +1 -1
  482. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  483. package/dist/actions/update-post.cjs +2 -2
  484. package/dist/actions/update-post.cjs.map +1 -1
  485. package/dist/actions/update-post.d.cts +15 -3
  486. package/dist/actions/update-post.d.mts +15 -3
  487. package/dist/actions/update-post.mjs +2 -2
  488. package/dist/actions/update-post.mjs.map +1 -1
  489. package/dist/actions/update-product-catalog.cjs +3 -3
  490. package/dist/actions/update-product-catalog.cjs.map +1 -1
  491. package/dist/actions/update-product-catalog.d.cts +16 -4
  492. package/dist/actions/update-product-catalog.d.mts +16 -4
  493. package/dist/actions/update-product-catalog.mjs +3 -3
  494. package/dist/actions/update-product-catalog.mjs.map +1 -1
  495. package/dist/actions/update-product-feed.cjs +3 -3
  496. package/dist/actions/update-product-feed.cjs.map +1 -1
  497. package/dist/actions/update-product-feed.d.cts +16 -4
  498. package/dist/actions/update-product-feed.d.cts.map +1 -1
  499. package/dist/actions/update-product-feed.d.mts +16 -4
  500. package/dist/actions/update-product-feed.d.mts.map +1 -1
  501. package/dist/actions/update-product-feed.mjs +3 -3
  502. package/dist/actions/update-product-feed.mjs.map +1 -1
  503. package/dist/actions/update-product-set.cjs +4 -4
  504. package/dist/actions/update-product-set.cjs.map +1 -1
  505. package/dist/actions/update-product-set.d.cts +17 -5
  506. package/dist/actions/update-product-set.d.mts +17 -5
  507. package/dist/actions/update-product-set.mjs +4 -4
  508. package/dist/actions/update-product-set.mjs.map +1 -1
  509. package/dist/actions/update-saved-audience.cjs +3 -3
  510. package/dist/actions/update-saved-audience.cjs.map +1 -1
  511. package/dist/actions/update-saved-audience.d.cts +16 -4
  512. package/dist/actions/update-saved-audience.d.mts +16 -4
  513. package/dist/actions/update-saved-audience.mjs +3 -3
  514. package/dist/actions/update-saved-audience.mjs.map +1 -1
  515. package/dist/actions/update-structured-post.cjs +2 -2
  516. package/dist/actions/update-structured-post.cjs.map +1 -1
  517. package/dist/actions/update-structured-post.d.cts +15 -3
  518. package/dist/actions/update-structured-post.d.mts +15 -3
  519. package/dist/actions/update-structured-post.mjs +2 -2
  520. package/dist/actions/update-structured-post.mjs.map +1 -1
  521. package/dist/app.cjs +5 -2
  522. package/dist/app.cjs.map +1 -1
  523. package/dist/app.d.cts +9 -1
  524. package/dist/app.d.cts.map +1 -1
  525. package/dist/app.d.mts +9 -1
  526. package/dist/app.d.mts.map +1 -1
  527. package/dist/app.mjs +3 -1
  528. package/dist/app.mjs.map +1 -1
  529. package/package.json +1 -1
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-campaign.ts
4
4
  const RedditAdsGetCampaignInput = zod.z.object({ campaign_id: zod.z.string().describe("The ID of the campaign to retrieve.") }).describe("Request model for fetching a specific Reddit Ads campaign by ID.");
5
- const RedditAdsGetCampaign_SkadnetworkMetadataSchema = zod.z.object({ status: zod.z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
5
+ const RedditAdsGetCampaign_SkadnetworkMetadataSchema = zod.z.object({ status: zod.z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).passthrough().describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
6
6
  const RedditAdsGetCampaign_CampaignDataSchema = zod.z.object({
7
7
  id: zod.z.string().describe("The ID of the campaign.").nullable(),
8
8
  name: zod.z.string().describe("The campaign name.").nullable().optional(),
@@ -30,8 +30,8 @@ const RedditAdsGetCampaign_CampaignDataSchema = zod.z.object({
30
30
  special_ad_categories: zod.z.array(zod.z.string()).describe("List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.").nullable().optional(),
31
31
  view_through_conversion_type: zod.z.string().describe("The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).").nullable().optional(),
32
32
  is_campaign_budget_optimization: zod.z.boolean().describe("Indicates whether the campaign will have campaign budget optimization or not.").nullable().optional()
33
- }).describe("Campaign data returned by the Reddit Ads API.");
34
- const RedditAdsGetCampaignOutput = zod.z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).describe("Response model for fetching a specific Reddit Ads campaign.");
33
+ }).passthrough().describe("Campaign data returned by the Reddit Ads API.");
34
+ const RedditAdsGetCampaignOutput = zod.z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).passthrough().describe("Response model for fetching a specific Reddit Ads campaign.");
35
35
  const redditAdsGetCampaign = require_action.action("REDDIT_ADS_GET_CAMPAIGN", {
36
36
  slug: "reddit_ads-get-campaign",
37
37
  name: "Get Campaign by ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,S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AAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC7J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,sBAAsB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and opt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+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,16 +29,28 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
29
29
  conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
35
  view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  campaign_id: string;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ accessToken: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { redditAdsGetCampaign };
44
56
  //# sourceMappingURL=get-campaign.d.cts.map
@@ -29,16 +29,28 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
29
29
  conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
35
  view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  campaign_id: string;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ accessToken: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { redditAdsGetCampaign };
44
56
  //# sourceMappingURL=get-campaign.d.mts.map
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-campaign.ts
4
4
  const RedditAdsGetCampaignInput = z.object({ campaign_id: z.string().describe("The ID of the campaign to retrieve.") }).describe("Request model for fetching a specific Reddit Ads campaign by ID.");
5
- const RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({ status: z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
5
+ const RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({ status: z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).passthrough().describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
6
6
  const RedditAdsGetCampaign_CampaignDataSchema = z.object({
7
7
  id: z.string().describe("The ID of the campaign.").nullable(),
8
8
  name: z.string().describe("The campaign name.").nullable().optional(),
@@ -30,13 +30,13 @@ const RedditAdsGetCampaign_CampaignDataSchema = z.object({
30
30
  special_ad_categories: z.array(z.string()).describe("List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.").nullable().optional(),
31
31
  view_through_conversion_type: z.string().describe("The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).").nullable().optional(),
32
32
  is_campaign_budget_optimization: z.boolean().describe("Indicates whether the campaign will have campaign budget optimization or not.").nullable().optional()
33
- }).describe("Campaign data returned by the Reddit Ads API.");
33
+ }).passthrough().describe("Campaign data returned by the Reddit Ads API.");
34
34
  const redditAdsGetCampaign = action("REDDIT_ADS_GET_CAMPAIGN", {
35
35
  slug: "reddit_ads-get-campaign",
36
36
  name: "Get Campaign by ID",
37
37
  description: "Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.",
38
38
  input: RedditAdsGetCampaignInput,
39
- output: z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).describe("Response model for fetching a specific Reddit Ads campaign.")
39
+ output: z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).passthrough().describe("Response model for fetching a specific Reddit Ads campaign.")
40
40
  });
41
41
  //#endregion
42
42
  export { redditAdsGetCampaign };
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiD,EAAE,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E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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S;CAC9M,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,sBAAsB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -21,15 +21,15 @@ const RedditAdsGetChannelPlanningReachInput = zod.z.object({
21
21
  const RedditAdsGetChannelPlanningReach_ReachEstimateSchema = zod.z.object({
22
22
  reach: zod.z.number().int().describe("The estimated reach (unique users) for the given impression count.").nullable(),
23
23
  impressions: zod.z.number().int().describe("The number of impressions for this data point.").nullable()
24
- }).describe("A single data point representing estimated reach for a given impression count.");
24
+ }).passthrough().describe("A single data point representing estimated reach for a given impression count.");
25
25
  const RedditAdsGetChannelPlanningReach_PaginationSchema = zod.z.object({
26
26
  next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional(),
27
27
  previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional()
28
- }).describe("Pagination information for the response.");
28
+ }).passthrough().describe("Pagination information for the response.");
29
29
  const RedditAdsGetChannelPlanningReachOutput = zod.z.object({
30
30
  data: zod.z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe("An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points."),
31
31
  pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable()
32
- }).describe("Response containing a series of data points representing the estimated reach curve.");
32
+ }).passthrough().describe("Response containing a series of data points representing the estimated reach curve.");
33
33
  const redditAdsGetChannelPlanningReach = require_action.action("REDDIT_ADS_GET_CHANNEL_PLANNING_REACH", {
34
34
  slug: "reddit_ads-get-channel-planning-reach",
35
35
  name: "Get Channel Planning Reach",
@@ -1 +1 @@
1
- {"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,C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AO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).passthrough().describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC1J,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC9I,CAAC;AACD,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAC1G,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,sHAAsH;CACnM,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,12 +22,12 @@ declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
22
22
  data: z.ZodArray<z.ZodObject<{
23
23
  reach: z.ZodNullable<z.ZodNumber>;
24
24
  impressions: z.ZodNullable<z.ZodNumber>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  pagination: z.ZodNullable<z.ZodObject<{
27
27
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
31
31
  declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  geolocation: "US" | "CA" | "GB";
33
33
  duration_days: 7 | 28;
@@ -36,7 +36,19 @@ declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").Wo
36
36
  min_age?: number | undefined;
37
37
  page_size?: number | undefined;
38
38
  page_token?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { redditAdsGetChannelPlanningReach };
42
54
  //# sourceMappingURL=get-channel-planning-reach.d.cts.map
@@ -22,12 +22,12 @@ declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
22
22
  data: z.ZodArray<z.ZodObject<{
23
23
  reach: z.ZodNullable<z.ZodNumber>;
24
24
  impressions: z.ZodNullable<z.ZodNumber>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  pagination: z.ZodNullable<z.ZodObject<{
27
27
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
31
31
  declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  geolocation: "US" | "CA" | "GB";
33
33
  duration_days: 7 | 28;
@@ -36,7 +36,19 @@ declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").Wo
36
36
  min_age?: number | undefined;
37
37
  page_size?: number | undefined;
38
38
  page_token?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { redditAdsGetChannelPlanningReach };
42
54
  //# sourceMappingURL=get-channel-planning-reach.d.mts.map
@@ -21,11 +21,11 @@ const RedditAdsGetChannelPlanningReachInput = z.object({
21
21
  const RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({
22
22
  reach: z.number().int().describe("The estimated reach (unique users) for the given impression count.").nullable(),
23
23
  impressions: z.number().int().describe("The number of impressions for this data point.").nullable()
24
- }).describe("A single data point representing estimated reach for a given impression count.");
24
+ }).passthrough().describe("A single data point representing estimated reach for a given impression count.");
25
25
  const RedditAdsGetChannelPlanningReach_PaginationSchema = z.object({
26
26
  next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional(),
27
27
  previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional()
28
- }).describe("Pagination information for the response.");
28
+ }).passthrough().describe("Pagination information for the response.");
29
29
  const redditAdsGetChannelPlanningReach = action("REDDIT_ADS_GET_CHANNEL_PLANNING_REACH", {
30
30
  slug: "reddit_ads-get-channel-planning-reach",
31
31
  name: "Get Channel Planning Reach",
@@ -34,7 +34,7 @@ const redditAdsGetChannelPlanningReach = action("REDDIT_ADS_GET_CHANNEL_PLANNING
34
34
  output: z.object({
35
35
  data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe("An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points."),
36
36
  pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable()
37
- }).describe("Response containing a series of data points representing the estimated reach curve.")
37
+ }).passthrough().describe("Response containing a series of data points representing the estimated reach curve.")
38
38
  });
39
39
  //#endregion
40
40
  export { redditAdsGetChannelPlanningReach };
@@ -1 +1 @@
1
- {"version":3,"file":"get-channel-planning-reach.mjs","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAAS,EAAE,OAAO,CAAC,C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ent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).passthrough().describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").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. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC1I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,KAAK;EAAC;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC1J,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC9I,CAAC;AACD,MAAM,uDAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAC1G,MAAM,oDAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,sHAAsH;EACnM,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAOhB;AACV,CAAC"}
@@ -18,15 +18,15 @@ const RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = zod.z.object
18
18
  authorize_status: zod.z.string().describe("Authorization status of the funding instrument").nullable().optional(),
19
19
  invoice_group_status: zod.z.string().describe("Status of the associated invoice group").nullable().optional(),
20
20
  reasons_not_servable: zod.z.array(zod.z.string()).describe("List of reasons why the instrument is not servable, if applicable").nullable().optional()
21
- }).describe("A single funding instrument allocation record.");
21
+ }).passthrough().describe("A single funding instrument allocation record.");
22
22
  const RedditAdsGetChildFundingInstruments_PaginationInfoSchema = zod.z.object({
23
23
  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 query parameters").nullable().optional(),
24
24
  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 query parameters").nullable().optional()
25
- }).describe("Pagination information for navigating through result pages.");
25
+ }).passthrough().describe("Pagination information for navigating through result pages.");
26
26
  const RedditAdsGetChildFundingInstrumentsOutput = zod.z.object({
27
27
  data: zod.z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe("List of funding instrument allocations"),
28
28
  pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable()
29
- }).describe("Response model containing funding instrument allocations and pagination info.");
29
+ }).passthrough().describe("Response model containing funding instrument allocations and pagination info.");
30
30
  const redditAdsGetChildFundingInstruments = require_action.action("REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS", {
31
31
  slug: "reddit_ads-get-child-funding-instruments",
32
32
  name: "Get Child Funding Instruments",
@@ -1 +1 @@
1
- {"version":3,"file":"get-child-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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 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 modifying query parameters\").nullable().optional(),\n}).describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAClH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IA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C,CAAC,SAAS,6DAA6D;AACzE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;CAC5H,YAAY,yDAAyD,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-child-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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 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 modifying query parameters\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAClH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,C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AC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;CAC5H,YAAY,yDAAyD,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,17 +19,29 @@ declare const RedditAdsGetChildFundingInstrumentsOutput: z.ZodObject<{
19
19
  authorize_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  invoice_group_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  reasons_not_servable: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  pagination: z.ZodNullable<z.ZodObject<{
24
24
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const redditAdsGetChildFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  funding_instrument_id: string;
30
30
  "page.size"?: number | undefined;
31
31
  "page.token"?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { redditAdsGetChildFundingInstruments };
35
47
  //# sourceMappingURL=get-child-funding-instruments.d.cts.map
@@ -19,17 +19,29 @@ declare const RedditAdsGetChildFundingInstrumentsOutput: z.ZodObject<{
19
19
  authorize_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  invoice_group_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  reasons_not_servable: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  pagination: z.ZodNullable<z.ZodObject<{
24
24
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const redditAdsGetChildFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  funding_instrument_id: string;
30
30
  "page.size"?: number | undefined;
31
31
  "page.token"?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { redditAdsGetChildFundingInstruments };
35
47
  //# sourceMappingURL=get-child-funding-instruments.d.mts.map
@@ -18,11 +18,11 @@ const RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({
18
18
  authorize_status: z.string().describe("Authorization status of the funding instrument").nullable().optional(),
19
19
  invoice_group_status: z.string().describe("Status of the associated invoice group").nullable().optional(),
20
20
  reasons_not_servable: z.array(z.string()).describe("List of reasons why the instrument is not servable, if applicable").nullable().optional()
21
- }).describe("A single funding instrument allocation record.");
21
+ }).passthrough().describe("A single funding instrument allocation record.");
22
22
  const RedditAdsGetChildFundingInstruments_PaginationInfoSchema = z.object({
23
23
  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 query parameters").nullable().optional(),
24
24
  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 query parameters").nullable().optional()
25
- }).describe("Pagination information for navigating through result pages.");
25
+ }).passthrough().describe("Pagination information for navigating through result pages.");
26
26
  const redditAdsGetChildFundingInstruments = action("REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS", {
27
27
  slug: "reddit_ads-get-child-funding-instruments",
28
28
  name: "Get Child Funding Instruments",
@@ -31,7 +31,7 @@ const redditAdsGetChildFundingInstruments = action("REDDIT_ADS_GET_CHILD_FUNDING
31
31
  output: z.object({
32
32
  data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe("List of funding instrument allocations"),
33
33
  pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable()
34
- }).describe("Response model containing funding instrument allocations and pagination info.")
34
+ }).passthrough().describe("Response model containing funding instrument allocations and pagination info.")
35
35
  });
36
36
  //#endregion
37
37
  export { redditAdsGetChildFundingInstruments };
@@ -1 +1 @@
1
- {"version":3,"file":"get-child-funding-instruments.mjs","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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 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 modifying query parameters\").nullable().optional(),\n}).describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAClH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2DAA2D,EAAE,OAAO;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;EAC5H,YAAY,yDAAyD,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-child-funding-instruments.mjs","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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 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 modifying query parameters\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAClH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8DAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2DAA2D,EAAE,OAAO;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;EAC5H,YAAY,yDAAyD,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const RedditAdsGetCustomAudience_ThirdPartyDataCostSchema = zod.z.object({
12
12
  partner_segment_id: zod.z.string().describe("Segment ID from the partner").nullable().optional(),
13
13
  reddit_audience_id: zod.z.string().describe("Reddit's internal audience ID").nullable().optional(),
14
14
  currency_conversion_rate_to_usd: zod.z.number().int().describe("Conversion rate to USD").nullable().optional()
15
- }).describe("Cost information for custom audiences sourced from third-party data providers.");
15
+ }).passthrough().describe("Cost information for custom audiences sourced from third-party data providers.");
16
16
  const RedditAdsGetCustomAudience_AudienceTypeSchema = zod.z.enum([
17
17
  "CUSTOMER_LIST",
18
18
  "LOOKALIKE",
@@ -35,23 +35,23 @@ const RedditAdsGetCustomAudience_AudienceStatusSchema = zod.z.enum([
35
35
  const RedditAdsGetCustomAudience_LookalikeConfigSchema = zod.z.object({
36
36
  audience_size: zod.z.string().describe("Target size for the lookalike audience").nullable(),
37
37
  source_audience_id: zod.z.string().describe("ID of the source audience to build lookalike from").nullable()
38
- }).describe("Configuration for lookalike type audiences.");
38
+ }).passthrough().describe("Configuration for lookalike type audiences.");
39
39
  const RedditAdsGetCustomAudience_CustomerListConfigSchema = zod.z.object({
40
40
  origin: zod.z.string().describe("Origin of the customer list").nullable(),
41
41
  origin_client_id: zod.z.string().describe("Client ID from the origin platform").nullable(),
42
42
  external_audience_id: zod.z.string().describe("External ID for the audience").nullable()
43
- }).describe("Configuration for customer list type audiences.");
43
+ }).passthrough().describe("Configuration for customer list type audiences.");
44
44
  const RedditAdsGetCustomAudience_PixelAudienceConfigSchema = zod.z.object({
45
45
  pixel_ids: zod.z.array(zod.z.string()).describe("Pixel IDs to track").nullable().optional(),
46
46
  targetings: zod.z.array(zod.z.string()).describe("Targeting rules for the pixel audience"),
47
47
  custom_targetings: zod.z.array(zod.z.string()).describe("Custom targeting rules").nullable().optional(),
48
48
  lookback_window_days: zod.z.number().int().describe("Number of days to look back for pixel events").nullable()
49
- }).describe("Configuration for pixel retargeting type audiences.");
49
+ }).passthrough().describe("Configuration for pixel retargeting type audiences.");
50
50
  const RedditAdsGetCustomAudience_EngagementAudienceConfigSchema = zod.z.object({
51
51
  campaign_ids: zod.z.array(zod.z.string()).describe("Campaign IDs to track engagement from"),
52
52
  tracking_types: zod.z.array(zod.z.string()).describe("Types of engagement to track"),
53
53
  lookback_window_days: zod.z.number().int().describe("Number of days to look back for engagement").nullable()
54
- }).describe("Configuration for engagement retargeting type audiences.");
54
+ }).passthrough().describe("Configuration for engagement retargeting type audiences.");
55
55
  const RedditAdsGetCustomAudience_CustomAudienceDataSchema = zod.z.object({
56
56
  id: zod.z.string().describe("The ID of the custom audience").nullable().optional(),
57
57
  cost: RedditAdsGetCustomAudience_ThirdPartyDataCostSchema.nullable().optional(),
@@ -68,8 +68,8 @@ const RedditAdsGetCustomAudience_CustomAudienceDataSchema = zod.z.object({
68
68
  customer_list_config: RedditAdsGetCustomAudience_CustomerListConfigSchema.nullable().optional(),
69
69
  pixel_audience_config: RedditAdsGetCustomAudience_PixelAudienceConfigSchema.nullable().optional(),
70
70
  engagement_audience_config: RedditAdsGetCustomAudience_EngagementAudienceConfigSchema.nullable().optional()
71
- }).describe("Custom audience detailed information.");
72
- const RedditAdsGetCustomAudienceOutput = zod.z.object({ data: RedditAdsGetCustomAudience_CustomAudienceDataSchema.nullable() }).describe("Response model for fetching a custom audience.");
71
+ }).passthrough().describe("Custom audience detailed information.");
72
+ const RedditAdsGetCustomAudienceOutput = zod.z.object({ data: RedditAdsGetCustomAudience_CustomAudienceDataSchema.nullable() }).passthrough().describe("Response model for fetching a custom audience.");
73
73
  const redditAdsGetCustomAudience = require_action.action("REDDIT_ADS_GET_CUSTOM_AUDIENCE", {
74
74
  slug: "reddit_ads-get-custom-audience",
75
75
  name: "Get Custom Audience",