@keystrokehq/reddit_ads 0.1.3 → 0.1.5

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 (677) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-ad-group.cjs +1 -0
  4. package/dist/actions/create-ad-group.cjs.map +1 -1
  5. package/dist/actions/create-ad-group.d.cts +3 -24
  6. package/dist/actions/create-ad-group.d.cts.map +1 -1
  7. package/dist/actions/create-ad-group.d.mts +3 -24
  8. package/dist/actions/create-ad-group.d.mts.map +1 -1
  9. package/dist/actions/create-ad-group.mjs +1 -0
  10. package/dist/actions/create-ad-group.mjs.map +1 -1
  11. package/dist/actions/create-batch-products.cjs +1 -0
  12. package/dist/actions/create-batch-products.cjs.map +1 -1
  13. package/dist/actions/create-batch-products.d.cts +3 -51
  14. package/dist/actions/create-batch-products.d.cts.map +1 -1
  15. package/dist/actions/create-batch-products.d.mts +3 -51
  16. package/dist/actions/create-batch-products.d.mts.map +1 -1
  17. package/dist/actions/create-batch-products.mjs +1 -0
  18. package/dist/actions/create-batch-products.mjs.map +1 -1
  19. package/dist/actions/create-campaign.cjs +1 -0
  20. package/dist/actions/create-campaign.cjs.map +1 -1
  21. package/dist/actions/create-campaign.d.cts +4 -25
  22. package/dist/actions/create-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-campaign.d.mts +4 -25
  24. package/dist/actions/create-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-campaign.mjs +1 -0
  26. package/dist/actions/create-campaign.mjs.map +1 -1
  27. package/dist/actions/create-custom-audience.cjs +1 -0
  28. package/dist/actions/create-custom-audience.cjs.map +1 -1
  29. package/dist/actions/create-custom-audience.d.cts +3 -8
  30. package/dist/actions/create-custom-audience.d.cts.map +1 -1
  31. package/dist/actions/create-custom-audience.d.mts +3 -8
  32. package/dist/actions/create-custom-audience.d.mts.map +1 -1
  33. package/dist/actions/create-custom-audience.mjs +1 -0
  34. package/dist/actions/create-custom-audience.mjs.map +1 -1
  35. package/dist/actions/create-lead-gen-form.cjs +1 -0
  36. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  37. package/dist/actions/create-lead-gen-form.d.cts +3 -14
  38. package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
  39. package/dist/actions/create-lead-gen-form.d.mts +3 -14
  40. package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
  41. package/dist/actions/create-lead-gen-form.mjs +1 -0
  42. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  43. package/dist/actions/create-post.cjs +1 -0
  44. package/dist/actions/create-post.cjs.map +1 -1
  45. package/dist/actions/create-post.d.cts +5 -18
  46. package/dist/actions/create-post.d.cts.map +1 -1
  47. package/dist/actions/create-post.d.mts +5 -18
  48. package/dist/actions/create-post.d.mts.map +1 -1
  49. package/dist/actions/create-post.mjs +1 -0
  50. package/dist/actions/create-post.mjs.map +1 -1
  51. package/dist/actions/create-product-catalog.cjs +1 -0
  52. package/dist/actions/create-product-catalog.cjs.map +1 -1
  53. package/dist/actions/create-product-catalog.d.cts +3 -9
  54. package/dist/actions/create-product-catalog.d.cts.map +1 -1
  55. package/dist/actions/create-product-catalog.d.mts +3 -9
  56. package/dist/actions/create-product-catalog.d.mts.map +1 -1
  57. package/dist/actions/create-product-catalog.mjs +1 -0
  58. package/dist/actions/create-product-catalog.mjs.map +1 -1
  59. package/dist/actions/create-product-feed.cjs +1 -0
  60. package/dist/actions/create-product-feed.cjs.map +1 -1
  61. package/dist/actions/create-product-feed.d.cts +3 -10
  62. package/dist/actions/create-product-feed.d.cts.map +1 -1
  63. package/dist/actions/create-product-feed.d.mts +3 -10
  64. package/dist/actions/create-product-feed.d.mts.map +1 -1
  65. package/dist/actions/create-product-feed.mjs +1 -0
  66. package/dist/actions/create-product-feed.mjs.map +1 -1
  67. package/dist/actions/create-product-set.cjs +1 -0
  68. package/dist/actions/create-product-set.cjs.map +1 -1
  69. package/dist/actions/create-product-set.d.cts +3 -7
  70. package/dist/actions/create-product-set.d.cts.map +1 -1
  71. package/dist/actions/create-product-set.d.mts +3 -7
  72. package/dist/actions/create-product-set.d.mts.map +1 -1
  73. package/dist/actions/create-product-set.mjs +1 -0
  74. package/dist/actions/create-product-set.mjs.map +1 -1
  75. package/dist/actions/create-saved-audience.cjs +1 -0
  76. package/dist/actions/create-saved-audience.cjs.map +1 -1
  77. package/dist/actions/create-saved-audience.d.cts +4 -26
  78. package/dist/actions/create-saved-audience.d.cts.map +1 -1
  79. package/dist/actions/create-saved-audience.d.mts +4 -26
  80. package/dist/actions/create-saved-audience.d.mts.map +1 -1
  81. package/dist/actions/create-saved-audience.mjs +1 -0
  82. package/dist/actions/create-saved-audience.mjs.map +1 -1
  83. package/dist/actions/create-structured-post-creation-job.cjs +1 -0
  84. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  85. package/dist/actions/create-structured-post-creation-job.d.cts +7 -44
  86. package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
  87. package/dist/actions/create-structured-post-creation-job.d.mts +7 -44
  88. package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
  89. package/dist/actions/create-structured-post-creation-job.mjs +1 -0
  90. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  91. package/dist/actions/delete-custom-audience.cjs +1 -0
  92. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  93. package/dist/actions/delete-custom-audience.d.cts +3 -3
  94. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  95. package/dist/actions/delete-custom-audience.d.mts +3 -3
  96. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  97. package/dist/actions/delete-custom-audience.mjs +1 -0
  98. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  99. package/dist/actions/delete-product-catalog.cjs +1 -0
  100. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  101. package/dist/actions/delete-product-catalog.d.cts +3 -3
  102. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  103. package/dist/actions/delete-product-catalog.d.mts +3 -3
  104. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  105. package/dist/actions/delete-product-catalog.mjs +1 -0
  106. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  107. package/dist/actions/delete-product-feed.cjs +1 -0
  108. package/dist/actions/delete-product-feed.cjs.map +1 -1
  109. package/dist/actions/delete-product-feed.d.cts +3 -3
  110. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  111. package/dist/actions/delete-product-feed.d.mts +3 -3
  112. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  113. package/dist/actions/delete-product-feed.mjs +1 -0
  114. package/dist/actions/delete-product-feed.mjs.map +1 -1
  115. package/dist/actions/delete-product-set.cjs +1 -0
  116. package/dist/actions/delete-product-set.cjs.map +1 -1
  117. package/dist/actions/delete-product-set.d.cts +3 -3
  118. package/dist/actions/delete-product-set.d.cts.map +1 -1
  119. package/dist/actions/delete-product-set.d.mts +3 -3
  120. package/dist/actions/delete-product-set.d.mts.map +1 -1
  121. package/dist/actions/delete-product-set.mjs +1 -0
  122. package/dist/actions/delete-product-set.mjs.map +1 -1
  123. package/dist/actions/delete-products.cjs +1 -0
  124. package/dist/actions/delete-products.cjs.map +1 -1
  125. package/dist/actions/delete-products.d.cts +3 -4
  126. package/dist/actions/delete-products.d.cts.map +1 -1
  127. package/dist/actions/delete-products.d.mts +3 -4
  128. package/dist/actions/delete-products.d.mts.map +1 -1
  129. package/dist/actions/delete-products.mjs +1 -0
  130. package/dist/actions/delete-products.mjs.map +1 -1
  131. package/dist/actions/do-geolocation-validations.cjs +1 -0
  132. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  133. package/dist/actions/do-geolocation-validations.d.cts +3 -4
  134. package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
  135. package/dist/actions/do-geolocation-validations.d.mts +3 -4
  136. package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
  137. package/dist/actions/do-geolocation-validations.mjs +1 -0
  138. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  139. package/dist/actions/do-keyword-validations.cjs +1 -0
  140. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  141. package/dist/actions/do-keyword-validations.d.cts +3 -5
  142. package/dist/actions/do-keyword-validations.d.cts.map +1 -1
  143. package/dist/actions/do-keyword-validations.d.mts +3 -5
  144. package/dist/actions/do-keyword-validations.d.mts.map +1 -1
  145. package/dist/actions/do-keyword-validations.mjs +1 -0
  146. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  147. package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
  148. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  149. package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -3
  150. package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
  151. package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -3
  152. package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
  153. package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
  154. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  155. package/dist/actions/get-a-report.cjs +1 -0
  156. package/dist/actions/get-a-report.cjs.map +1 -1
  157. package/dist/actions/get-a-report.d.cts +3 -14
  158. package/dist/actions/get-a-report.d.cts.map +1 -1
  159. package/dist/actions/get-a-report.d.mts +3 -14
  160. package/dist/actions/get-a-report.d.mts.map +1 -1
  161. package/dist/actions/get-a-report.mjs +1 -0
  162. package/dist/actions/get-a-report.mjs.map +1 -1
  163. package/dist/actions/get-ad-account-history.cjs +1 -0
  164. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  165. package/dist/actions/get-ad-account-history.d.cts +3 -26
  166. package/dist/actions/get-ad-account-history.d.cts.map +1 -1
  167. package/dist/actions/get-ad-account-history.d.mts +3 -26
  168. package/dist/actions/get-ad-account-history.d.mts.map +1 -1
  169. package/dist/actions/get-ad-account-history.mjs +1 -0
  170. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  171. package/dist/actions/get-ad-account.cjs +1 -0
  172. package/dist/actions/get-ad-account.cjs.map +1 -1
  173. package/dist/actions/get-ad-account.d.cts +3 -3
  174. package/dist/actions/get-ad-account.d.cts.map +1 -1
  175. package/dist/actions/get-ad-account.d.mts +3 -3
  176. package/dist/actions/get-ad-account.d.mts.map +1 -1
  177. package/dist/actions/get-ad-account.mjs +1 -0
  178. package/dist/actions/get-ad-account.mjs.map +1 -1
  179. package/dist/actions/get-ad-group.cjs +1 -0
  180. package/dist/actions/get-ad-group.cjs.map +1 -1
  181. package/dist/actions/get-ad-group.d.cts +3 -3
  182. package/dist/actions/get-ad-group.d.cts.map +1 -1
  183. package/dist/actions/get-ad-group.d.mts +3 -3
  184. package/dist/actions/get-ad-group.d.mts.map +1 -1
  185. package/dist/actions/get-ad-group.mjs +1 -0
  186. package/dist/actions/get-ad-group.mjs.map +1 -1
  187. package/dist/actions/get-app-last-fired-at.cjs +1 -0
  188. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  189. package/dist/actions/get-app-last-fired-at.d.cts +3 -3
  190. package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
  191. package/dist/actions/get-app-last-fired-at.d.mts +3 -3
  192. package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
  193. package/dist/actions/get-app-last-fired-at.mjs +1 -0
  194. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  195. package/dist/actions/get-business.cjs +1 -0
  196. package/dist/actions/get-business.cjs.map +1 -1
  197. package/dist/actions/get-business.d.cts +3 -3
  198. package/dist/actions/get-business.d.cts.map +1 -1
  199. package/dist/actions/get-business.d.mts +3 -3
  200. package/dist/actions/get-business.d.mts.map +1 -1
  201. package/dist/actions/get-business.mjs +1 -0
  202. package/dist/actions/get-business.mjs.map +1 -1
  203. package/dist/actions/get-campaign.cjs +1 -0
  204. package/dist/actions/get-campaign.cjs.map +1 -1
  205. package/dist/actions/get-campaign.d.cts +3 -3
  206. package/dist/actions/get-campaign.d.cts.map +1 -1
  207. package/dist/actions/get-campaign.d.mts +3 -3
  208. package/dist/actions/get-campaign.d.mts.map +1 -1
  209. package/dist/actions/get-campaign.mjs +1 -0
  210. package/dist/actions/get-campaign.mjs.map +1 -1
  211. package/dist/actions/get-channel-planning-reach.cjs +1 -0
  212. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  213. package/dist/actions/get-channel-planning-reach.d.cts +3 -9
  214. package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
  215. package/dist/actions/get-channel-planning-reach.d.mts +3 -9
  216. package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
  217. package/dist/actions/get-channel-planning-reach.mjs +1 -0
  218. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  219. package/dist/actions/get-child-funding-instruments.cjs +1 -0
  220. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  221. package/dist/actions/get-child-funding-instruments.d.cts +3 -5
  222. package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
  223. package/dist/actions/get-child-funding-instruments.d.mts +3 -5
  224. package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
  225. package/dist/actions/get-child-funding-instruments.mjs +1 -0
  226. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  227. package/dist/actions/get-custom-audience.cjs +1 -0
  228. package/dist/actions/get-custom-audience.cjs.map +1 -1
  229. package/dist/actions/get-custom-audience.d.cts +4 -4
  230. package/dist/actions/get-custom-audience.d.cts.map +1 -1
  231. package/dist/actions/get-custom-audience.d.mts +4 -4
  232. package/dist/actions/get-custom-audience.d.mts.map +1 -1
  233. package/dist/actions/get-custom-audience.mjs +1 -0
  234. package/dist/actions/get-custom-audience.mjs.map +1 -1
  235. package/dist/actions/get-lead-gen-form.cjs +1 -0
  236. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  237. package/dist/actions/get-lead-gen-form.d.cts +3 -3
  238. package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
  239. package/dist/actions/get-lead-gen-form.d.mts +3 -3
  240. package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
  241. package/dist/actions/get-lead-gen-form.mjs +1 -0
  242. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  243. package/dist/actions/get-me.cjs +1 -0
  244. package/dist/actions/get-me.cjs.map +1 -1
  245. package/dist/actions/get-me.d.cts +3 -1
  246. package/dist/actions/get-me.d.cts.map +1 -1
  247. package/dist/actions/get-me.d.mts +3 -1
  248. package/dist/actions/get-me.d.mts.map +1 -1
  249. package/dist/actions/get-me.mjs +1 -0
  250. package/dist/actions/get-me.mjs.map +1 -1
  251. package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
  252. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  253. package/dist/actions/get-pixel-last-fired-at.d.cts +3 -3
  254. package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
  255. package/dist/actions/get-pixel-last-fired-at.d.mts +3 -3
  256. package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
  257. package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
  258. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  259. package/dist/actions/get-post.cjs +1 -0
  260. package/dist/actions/get-post.cjs.map +1 -1
  261. package/dist/actions/get-post.d.cts +4 -4
  262. package/dist/actions/get-post.d.cts.map +1 -1
  263. package/dist/actions/get-post.d.mts +4 -4
  264. package/dist/actions/get-post.d.mts.map +1 -1
  265. package/dist/actions/get-post.mjs +1 -0
  266. package/dist/actions/get-post.mjs.map +1 -1
  267. package/dist/actions/get-product-catalog.cjs +1 -0
  268. package/dist/actions/get-product-catalog.cjs.map +1 -1
  269. package/dist/actions/get-product-catalog.d.cts +3 -3
  270. package/dist/actions/get-product-catalog.d.cts.map +1 -1
  271. package/dist/actions/get-product-catalog.d.mts +3 -3
  272. package/dist/actions/get-product-catalog.d.mts.map +1 -1
  273. package/dist/actions/get-product-catalog.mjs +1 -0
  274. package/dist/actions/get-product-catalog.mjs.map +1 -1
  275. package/dist/actions/get-product-feed.cjs +1 -0
  276. package/dist/actions/get-product-feed.cjs.map +1 -1
  277. package/dist/actions/get-product-feed.d.cts +3 -3
  278. package/dist/actions/get-product-feed.d.cts.map +1 -1
  279. package/dist/actions/get-product-feed.d.mts +3 -3
  280. package/dist/actions/get-product-feed.d.mts.map +1 -1
  281. package/dist/actions/get-product-feed.mjs +1 -0
  282. package/dist/actions/get-product-feed.mjs.map +1 -1
  283. package/dist/actions/get-product-set.cjs +1 -0
  284. package/dist/actions/get-product-set.cjs.map +1 -1
  285. package/dist/actions/get-product-set.d.cts +3 -3
  286. package/dist/actions/get-product-set.d.cts.map +1 -1
  287. package/dist/actions/get-product-set.d.mts +3 -3
  288. package/dist/actions/get-product-set.d.mts.map +1 -1
  289. package/dist/actions/get-product-set.mjs +1 -0
  290. package/dist/actions/get-product-set.mjs.map +1 -1
  291. package/dist/actions/get-profile.cjs +1 -0
  292. package/dist/actions/get-profile.cjs.map +1 -1
  293. package/dist/actions/get-profile.d.cts +3 -3
  294. package/dist/actions/get-profile.d.cts.map +1 -1
  295. package/dist/actions/get-profile.d.mts +3 -3
  296. package/dist/actions/get-profile.d.mts.map +1 -1
  297. package/dist/actions/get-profile.mjs +1 -0
  298. package/dist/actions/get-profile.mjs.map +1 -1
  299. package/dist/actions/get-saved-audience.cjs +1 -0
  300. package/dist/actions/get-saved-audience.cjs.map +1 -1
  301. package/dist/actions/get-saved-audience.d.cts +4 -4
  302. package/dist/actions/get-saved-audience.d.cts.map +1 -1
  303. package/dist/actions/get-saved-audience.d.mts +4 -4
  304. package/dist/actions/get-saved-audience.d.mts.map +1 -1
  305. package/dist/actions/get-saved-audience.mjs +1 -0
  306. package/dist/actions/get-saved-audience.mjs.map +1 -1
  307. package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
  308. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  309. package/dist/actions/get-sk-ad-network-availability.d.cts +3 -5
  310. package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
  311. package/dist/actions/get-sk-ad-network-availability.d.mts +3 -5
  312. package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
  313. package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
  314. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  315. package/dist/actions/get-structured-post.cjs +1 -0
  316. package/dist/actions/get-structured-post.cjs.map +1 -1
  317. package/dist/actions/get-structured-post.d.cts +3 -3
  318. package/dist/actions/get-structured-post.d.cts.map +1 -1
  319. package/dist/actions/get-structured-post.d.mts +3 -3
  320. package/dist/actions/get-structured-post.d.mts.map +1 -1
  321. package/dist/actions/get-structured-post.mjs +1 -0
  322. package/dist/actions/get-structured-post.mjs.map +1 -1
  323. package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
  324. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  325. package/dist/actions/list-ad-accounts-by-business.d.cts +3 -6
  326. package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
  327. package/dist/actions/list-ad-accounts-by-business.d.mts +3 -6
  328. package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
  329. package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
  330. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  331. package/dist/actions/list-ad-groups.cjs +1 -0
  332. package/dist/actions/list-ad-groups.cjs.map +1 -1
  333. package/dist/actions/list-ad-groups.d.cts +3 -7
  334. package/dist/actions/list-ad-groups.d.cts.map +1 -1
  335. package/dist/actions/list-ad-groups.d.mts +3 -7
  336. package/dist/actions/list-ad-groups.d.mts.map +1 -1
  337. package/dist/actions/list-ad-groups.mjs +1 -0
  338. package/dist/actions/list-ad-groups.mjs.map +1 -1
  339. package/dist/actions/list-ads.cjs +1 -0
  340. package/dist/actions/list-ads.cjs.map +1 -1
  341. package/dist/actions/list-ads.d.cts +3 -6
  342. package/dist/actions/list-ads.d.cts.map +1 -1
  343. package/dist/actions/list-ads.d.mts +3 -6
  344. package/dist/actions/list-ads.d.mts.map +1 -1
  345. package/dist/actions/list-ads.mjs +1 -0
  346. package/dist/actions/list-ads.mjs.map +1 -1
  347. package/dist/actions/list-campaigns.cjs +1 -0
  348. package/dist/actions/list-campaigns.cjs.map +1 -1
  349. package/dist/actions/list-campaigns.d.cts +3 -6
  350. package/dist/actions/list-campaigns.d.cts.map +1 -1
  351. package/dist/actions/list-campaigns.d.mts +3 -6
  352. package/dist/actions/list-campaigns.d.mts.map +1 -1
  353. package/dist/actions/list-campaigns.mjs +1 -0
  354. package/dist/actions/list-campaigns.mjs.map +1 -1
  355. package/dist/actions/list-carriers.cjs +1 -0
  356. package/dist/actions/list-carriers.cjs.map +1 -1
  357. package/dist/actions/list-carriers.d.cts +3 -4
  358. package/dist/actions/list-carriers.d.cts.map +1 -1
  359. package/dist/actions/list-carriers.d.mts +3 -4
  360. package/dist/actions/list-carriers.d.mts.map +1 -1
  361. package/dist/actions/list-carriers.mjs +1 -0
  362. package/dist/actions/list-carriers.mjs.map +1 -1
  363. package/dist/actions/list-catalog-imports.cjs +1 -0
  364. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  365. package/dist/actions/list-catalog-imports.d.cts +3 -7
  366. package/dist/actions/list-catalog-imports.d.cts.map +1 -1
  367. package/dist/actions/list-catalog-imports.d.mts +3 -7
  368. package/dist/actions/list-catalog-imports.d.mts.map +1 -1
  369. package/dist/actions/list-catalog-imports.mjs +1 -0
  370. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  371. package/dist/actions/list-communities-suggestions.cjs +1 -0
  372. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  373. package/dist/actions/list-communities-suggestions.d.cts +3 -6
  374. package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
  375. package/dist/actions/list-communities-suggestions.d.mts +3 -6
  376. package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
  377. package/dist/actions/list-communities-suggestions.mjs +1 -0
  378. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  379. package/dist/actions/list-communities.cjs +1 -0
  380. package/dist/actions/list-communities.cjs.map +1 -1
  381. package/dist/actions/list-communities.d.cts +3 -5
  382. package/dist/actions/list-communities.d.cts.map +1 -1
  383. package/dist/actions/list-communities.d.mts +3 -5
  384. package/dist/actions/list-communities.d.mts.map +1 -1
  385. package/dist/actions/list-communities.mjs +1 -0
  386. package/dist/actions/list-communities.mjs.map +1 -1
  387. package/dist/actions/list-devices.cjs +1 -0
  388. package/dist/actions/list-devices.cjs.map +1 -1
  389. package/dist/actions/list-devices.d.cts +3 -4
  390. package/dist/actions/list-devices.d.cts.map +1 -1
  391. package/dist/actions/list-devices.d.mts +3 -4
  392. package/dist/actions/list-devices.d.mts.map +1 -1
  393. package/dist/actions/list-devices.mjs +1 -0
  394. package/dist/actions/list-devices.mjs.map +1 -1
  395. package/dist/actions/list-funding-instruments.cjs +1 -0
  396. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  397. package/dist/actions/list-funding-instruments.d.cts +3 -12
  398. package/dist/actions/list-funding-instruments.d.cts.map +1 -1
  399. package/dist/actions/list-funding-instruments.d.mts +3 -12
  400. package/dist/actions/list-funding-instruments.d.mts.map +1 -1
  401. package/dist/actions/list-funding-instruments.mjs +1 -0
  402. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  403. package/dist/actions/list-geolocations.cjs +1 -0
  404. package/dist/actions/list-geolocations.cjs.map +1 -1
  405. package/dist/actions/list-geolocations.d.cts +3 -5
  406. package/dist/actions/list-geolocations.d.cts.map +1 -1
  407. package/dist/actions/list-geolocations.d.mts +3 -5
  408. package/dist/actions/list-geolocations.d.mts.map +1 -1
  409. package/dist/actions/list-geolocations.mjs +1 -0
  410. package/dist/actions/list-geolocations.mjs.map +1 -1
  411. package/dist/actions/list-industries.cjs +1 -0
  412. package/dist/actions/list-industries.cjs.map +1 -1
  413. package/dist/actions/list-industries.d.cts +3 -1
  414. package/dist/actions/list-industries.d.cts.map +1 -1
  415. package/dist/actions/list-industries.d.mts +3 -1
  416. package/dist/actions/list-industries.d.mts.map +1 -1
  417. package/dist/actions/list-industries.mjs +1 -0
  418. package/dist/actions/list-industries.mjs.map +1 -1
  419. package/dist/actions/list-interests.cjs +1 -0
  420. package/dist/actions/list-interests.cjs.map +1 -1
  421. package/dist/actions/list-interests.d.cts +3 -1
  422. package/dist/actions/list-interests.d.cts.map +1 -1
  423. package/dist/actions/list-interests.d.mts +3 -1
  424. package/dist/actions/list-interests.d.mts.map +1 -1
  425. package/dist/actions/list-interests.mjs +1 -0
  426. package/dist/actions/list-interests.mjs.map +1 -1
  427. package/dist/actions/list-lead-gen-forms.cjs +1 -0
  428. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  429. package/dist/actions/list-lead-gen-forms.d.cts +3 -5
  430. package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
  431. package/dist/actions/list-lead-gen-forms.d.mts +3 -5
  432. package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
  433. package/dist/actions/list-lead-gen-forms.mjs +1 -0
  434. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  435. package/dist/actions/list-my-businesses.cjs +1 -0
  436. package/dist/actions/list-my-businesses.cjs.map +1 -1
  437. package/dist/actions/list-my-businesses.d.cts +3 -6
  438. package/dist/actions/list-my-businesses.d.cts.map +1 -1
  439. package/dist/actions/list-my-businesses.d.mts +3 -6
  440. package/dist/actions/list-my-businesses.d.mts.map +1 -1
  441. package/dist/actions/list-my-businesses.mjs +1 -0
  442. package/dist/actions/list-my-businesses.mjs.map +1 -1
  443. package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
  444. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  445. package/dist/actions/list-pixels-by-ad-account.d.cts +3 -5
  446. package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
  447. package/dist/actions/list-pixels-by-ad-account.d.mts +3 -5
  448. package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
  449. package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
  450. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  451. package/dist/actions/list-pixels-by-business.cjs +1 -0
  452. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  453. package/dist/actions/list-pixels-by-business.d.cts +3 -5
  454. package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
  455. package/dist/actions/list-pixels-by-business.d.mts +3 -5
  456. package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
  457. package/dist/actions/list-pixels-by-business.mjs +1 -0
  458. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  459. package/dist/actions/list-posts.cjs +1 -0
  460. package/dist/actions/list-posts.cjs.map +1 -1
  461. package/dist/actions/list-posts.d.cts +4 -8
  462. package/dist/actions/list-posts.d.cts.map +1 -1
  463. package/dist/actions/list-posts.d.mts +4 -8
  464. package/dist/actions/list-posts.d.mts.map +1 -1
  465. package/dist/actions/list-posts.mjs +1 -0
  466. package/dist/actions/list-posts.mjs.map +1 -1
  467. package/dist/actions/list-product-catalogs.cjs +1 -0
  468. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  469. package/dist/actions/list-product-catalogs.d.cts +3 -3
  470. package/dist/actions/list-product-catalogs.d.cts.map +1 -1
  471. package/dist/actions/list-product-catalogs.d.mts +3 -3
  472. package/dist/actions/list-product-catalogs.d.mts.map +1 -1
  473. package/dist/actions/list-product-catalogs.mjs +1 -0
  474. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  475. package/dist/actions/list-product-feeds.cjs +1 -0
  476. package/dist/actions/list-product-feeds.cjs.map +1 -1
  477. package/dist/actions/list-product-feeds.d.cts +3 -3
  478. package/dist/actions/list-product-feeds.d.cts.map +1 -1
  479. package/dist/actions/list-product-feeds.d.mts +3 -3
  480. package/dist/actions/list-product-feeds.d.mts.map +1 -1
  481. package/dist/actions/list-product-feeds.mjs +1 -0
  482. package/dist/actions/list-product-feeds.mjs.map +1 -1
  483. package/dist/actions/list-product-sets.cjs +1 -0
  484. package/dist/actions/list-product-sets.cjs.map +1 -1
  485. package/dist/actions/list-product-sets.d.cts +3 -5
  486. package/dist/actions/list-product-sets.d.cts.map +1 -1
  487. package/dist/actions/list-product-sets.d.mts +3 -5
  488. package/dist/actions/list-product-sets.d.mts.map +1 -1
  489. package/dist/actions/list-product-sets.mjs +1 -0
  490. package/dist/actions/list-product-sets.mjs.map +1 -1
  491. package/dist/actions/list-products-in-product-catalog.cjs +1 -0
  492. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  493. package/dist/actions/list-products-in-product-catalog.d.cts +3 -8
  494. package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
  495. package/dist/actions/list-products-in-product-catalog.d.mts +3 -8
  496. package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
  497. package/dist/actions/list-products-in-product-catalog.mjs +1 -0
  498. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  499. package/dist/actions/list-products-in-product-set.cjs +1 -0
  500. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  501. package/dist/actions/list-products-in-product-set.d.cts +3 -9
  502. package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
  503. package/dist/actions/list-products-in-product-set.d.mts +3 -9
  504. package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
  505. package/dist/actions/list-products-in-product-set.mjs +1 -0
  506. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  507. package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
  508. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  509. package/dist/actions/list-profiles-by-ad-account.d.cts +3 -5
  510. package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
  511. package/dist/actions/list-profiles-by-ad-account.d.mts +3 -5
  512. package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
  513. package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
  514. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  515. package/dist/actions/list-profiles-by-business.cjs +1 -0
  516. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  517. package/dist/actions/list-profiles-by-business.d.cts +3 -5
  518. package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
  519. package/dist/actions/list-profiles-by-business.d.mts +3 -5
  520. package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
  521. package/dist/actions/list-profiles-by-business.mjs +1 -0
  522. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  523. package/dist/actions/list-saved-audiences.cjs +1 -0
  524. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  525. package/dist/actions/list-saved-audiences.d.cts +3 -5
  526. package/dist/actions/list-saved-audiences.d.cts.map +1 -1
  527. package/dist/actions/list-saved-audiences.d.mts +3 -5
  528. package/dist/actions/list-saved-audiences.d.mts.map +1 -1
  529. package/dist/actions/list-saved-audiences.mjs +1 -0
  530. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  531. package/dist/actions/list-structured-posts.cjs +1 -0
  532. package/dist/actions/list-structured-posts.cjs.map +1 -1
  533. package/dist/actions/list-structured-posts.d.cts +4 -9
  534. package/dist/actions/list-structured-posts.d.cts.map +1 -1
  535. package/dist/actions/list-structured-posts.d.mts +4 -9
  536. package/dist/actions/list-structured-posts.d.mts.map +1 -1
  537. package/dist/actions/list-structured-posts.mjs +1 -0
  538. package/dist/actions/list-structured-posts.mjs.map +1 -1
  539. package/dist/actions/list-time-zones.cjs +1 -0
  540. package/dist/actions/list-time-zones.cjs.map +1 -1
  541. package/dist/actions/list-time-zones.d.cts +3 -4
  542. package/dist/actions/list-time-zones.d.cts.map +1 -1
  543. package/dist/actions/list-time-zones.d.mts +3 -4
  544. package/dist/actions/list-time-zones.d.mts.map +1 -1
  545. package/dist/actions/list-time-zones.mjs +1 -0
  546. package/dist/actions/list-time-zones.mjs.map +1 -1
  547. package/dist/actions/list-user-custom-audiences.cjs +1 -0
  548. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  549. package/dist/actions/list-user-custom-audiences.d.cts +3 -6
  550. package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
  551. package/dist/actions/list-user-custom-audiences.d.mts +3 -6
  552. package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
  553. package/dist/actions/list-user-custom-audiences.mjs +1 -0
  554. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  555. package/dist/actions/list3rd-party-audiences.cjs +1 -0
  556. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  557. package/dist/actions/list3rd-party-audiences.d.cts +3 -4
  558. package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
  559. package/dist/actions/list3rd-party-audiences.d.mts +3 -4
  560. package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
  561. package/dist/actions/list3rd-party-audiences.mjs +1 -0
  562. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  563. package/dist/actions/query-ad-accounts.cjs +1 -0
  564. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  565. package/dist/actions/query-ad-accounts.d.cts +3 -17
  566. package/dist/actions/query-ad-accounts.d.cts.map +1 -1
  567. package/dist/actions/query-ad-accounts.d.mts +3 -17
  568. package/dist/actions/query-ad-accounts.d.mts.map +1 -1
  569. package/dist/actions/query-ad-accounts.mjs +1 -0
  570. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  571. package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
  572. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  573. package/dist/actions/query-funding-instruments-by-business.d.cts +3 -11
  574. package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
  575. package/dist/actions/query-funding-instruments-by-business.d.mts +3 -11
  576. package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
  577. package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
  578. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  579. package/dist/actions/search-communities.cjs +1 -0
  580. package/dist/actions/search-communities.cjs.map +1 -1
  581. package/dist/actions/search-communities.d.cts +3 -5
  582. package/dist/actions/search-communities.d.cts.map +1 -1
  583. package/dist/actions/search-communities.d.mts +3 -5
  584. package/dist/actions/search-communities.d.mts.map +1 -1
  585. package/dist/actions/search-communities.mjs +1 -0
  586. package/dist/actions/search-communities.mjs.map +1 -1
  587. package/dist/actions/update-ad-account.cjs +1 -0
  588. package/dist/actions/update-ad-account.cjs.map +1 -1
  589. package/dist/actions/update-ad-account.d.cts +3 -17
  590. package/dist/actions/update-ad-account.d.cts.map +1 -1
  591. package/dist/actions/update-ad-account.d.mts +3 -17
  592. package/dist/actions/update-ad-account.d.mts.map +1 -1
  593. package/dist/actions/update-ad-account.mjs +1 -0
  594. package/dist/actions/update-ad-account.mjs.map +1 -1
  595. package/dist/actions/update-business.cjs +1 -0
  596. package/dist/actions/update-business.cjs.map +1 -1
  597. package/dist/actions/update-business.d.cts +3 -12
  598. package/dist/actions/update-business.d.cts.map +1 -1
  599. package/dist/actions/update-business.d.mts +3 -12
  600. package/dist/actions/update-business.d.mts.map +1 -1
  601. package/dist/actions/update-business.mjs +1 -0
  602. package/dist/actions/update-business.mjs.map +1 -1
  603. package/dist/actions/update-campaign.cjs +1 -0
  604. package/dist/actions/update-campaign.cjs.map +1 -1
  605. package/dist/actions/update-campaign.d.cts +3 -27
  606. package/dist/actions/update-campaign.d.cts.map +1 -1
  607. package/dist/actions/update-campaign.d.mts +3 -27
  608. package/dist/actions/update-campaign.d.mts.map +1 -1
  609. package/dist/actions/update-campaign.mjs +1 -0
  610. package/dist/actions/update-campaign.mjs.map +1 -1
  611. package/dist/actions/update-custom-audience-users.cjs +1 -0
  612. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  613. package/dist/actions/update-custom-audience-users.d.cts +3 -8
  614. package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
  615. package/dist/actions/update-custom-audience-users.d.mts +3 -8
  616. package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
  617. package/dist/actions/update-custom-audience-users.mjs +1 -0
  618. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  619. package/dist/actions/update-post.cjs +1 -0
  620. package/dist/actions/update-post.cjs.map +1 -1
  621. package/dist/actions/update-post.d.cts +3 -6
  622. package/dist/actions/update-post.d.cts.map +1 -1
  623. package/dist/actions/update-post.d.mts +3 -6
  624. package/dist/actions/update-post.d.mts.map +1 -1
  625. package/dist/actions/update-post.mjs +1 -0
  626. package/dist/actions/update-post.mjs.map +1 -1
  627. package/dist/actions/update-product-catalog.cjs +1 -0
  628. package/dist/actions/update-product-catalog.cjs.map +1 -1
  629. package/dist/actions/update-product-catalog.d.cts +3 -7
  630. package/dist/actions/update-product-catalog.d.cts.map +1 -1
  631. package/dist/actions/update-product-catalog.d.mts +3 -7
  632. package/dist/actions/update-product-catalog.d.mts.map +1 -1
  633. package/dist/actions/update-product-catalog.mjs +1 -0
  634. package/dist/actions/update-product-catalog.mjs.map +1 -1
  635. package/dist/actions/update-product-feed.cjs +1 -0
  636. package/dist/actions/update-product-feed.cjs.map +1 -1
  637. package/dist/actions/update-product-feed.d.cts +3 -21
  638. package/dist/actions/update-product-feed.d.cts.map +1 -1
  639. package/dist/actions/update-product-feed.d.mts +3 -21
  640. package/dist/actions/update-product-feed.d.mts.map +1 -1
  641. package/dist/actions/update-product-feed.mjs +1 -0
  642. package/dist/actions/update-product-feed.mjs.map +1 -1
  643. package/dist/actions/update-product-set.cjs +1 -0
  644. package/dist/actions/update-product-set.cjs.map +1 -1
  645. package/dist/actions/update-product-set.d.cts +3 -7
  646. package/dist/actions/update-product-set.d.cts.map +1 -1
  647. package/dist/actions/update-product-set.d.mts +3 -7
  648. package/dist/actions/update-product-set.d.mts.map +1 -1
  649. package/dist/actions/update-product-set.mjs +1 -0
  650. package/dist/actions/update-product-set.mjs.map +1 -1
  651. package/dist/actions/update-saved-audience.cjs +1 -0
  652. package/dist/actions/update-saved-audience.cjs.map +1 -1
  653. package/dist/actions/update-saved-audience.d.cts +4 -35
  654. package/dist/actions/update-saved-audience.d.cts.map +1 -1
  655. package/dist/actions/update-saved-audience.d.mts +4 -35
  656. package/dist/actions/update-saved-audience.d.mts.map +1 -1
  657. package/dist/actions/update-saved-audience.mjs +1 -0
  658. package/dist/actions/update-saved-audience.mjs.map +1 -1
  659. package/dist/actions/update-structured-post.cjs +1 -0
  660. package/dist/actions/update-structured-post.cjs.map +1 -1
  661. package/dist/actions/update-structured-post.d.cts +3 -6
  662. package/dist/actions/update-structured-post.d.cts.map +1 -1
  663. package/dist/actions/update-structured-post.d.mts +3 -6
  664. package/dist/actions/update-structured-post.d.mts.map +1 -1
  665. package/dist/actions/update-structured-post.mjs +1 -0
  666. package/dist/actions/update-structured-post.mjs.map +1 -1
  667. package/dist/app.cjs +5 -2
  668. package/dist/app.cjs.map +1 -1
  669. package/dist/app.d.cts +7 -1
  670. package/dist/app.d.cts.map +1 -1
  671. package/dist/app.d.mts +7 -1
  672. package/dist/app.d.mts.map +1 -1
  673. package/dist/app.mjs +3 -2
  674. package/dist/app.mjs.map +1 -1
  675. package/dist/index.d.cts +1 -1
  676. package/dist/index.d.mts +1 -1
  677. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-custom-audiences.mjs","names":[],"sources":["../../src/actions/list-user-custom-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListUserCustomAudiencesInput = z.object({\n name: z.string().describe(\"Optional field used for filtering by a specific custom audience name.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (e.g., 'a2_imh76hh7e126').\"),\n});\nconst RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Third-Party Data Cost information.\");\nconst RedditAdsListUserCustomAudiences_CustomAudienceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the audience\").nullable().optional(),\n cost: RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable(),\n type: z.string().describe(\"Type of the custom audience\").nullable(),\n status: z.string().describe(\"Status of the audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"Delivery status of the audience\").nullable().optional(),\n lookalike_config: z.record(z.string(), z.unknown()).describe(\"Lookalike Audience configuration\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Customer List Audience configuration\").nullable().optional(),\n pixel_audience_config: z.record(z.string(), z.unknown()).describe(\"Pixel Audience configuration\").nullable().optional(),\n engagement_audience_config: z.record(z.string(), z.unknown()).describe(\"Engagement Audience configuration\").nullable().optional(),\n}).passthrough().describe(\"Individual custom audience object.\");\nconst RedditAdsListUserCustomAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListUserCustomAudiencesOutput = z.object({\n data: z.array(RedditAdsListUserCustomAudiences_CustomAudienceItemSchema).describe(\"List of custom audiences from the specified ad account\"),\n pagination: RedditAdsListUserCustomAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of custom audiences with pagination information.\");\n\nexport const redditAdsListUserCustomAudiences = action(\"REDDIT_ADS_LIST_USER_CUSTOM_AUDIENCES\", {\n slug: \"reddit_ads-list-user-custom-audiences\",\n name: \"List User Custom Audiences\",\n description: \"Tool to list all Custom Audiences under an ad account. Use when you need to retrieve custom audiences for targeting in Reddit Ads campaigns. Rate limit: 500 requests per 60 seconds (Targeting Taxonomy).\",\n input: RedditAdsListUserCustomAudiencesInput,\n output: RedditAdsListUserCustomAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACjG,CAAC;AACD,MAAM,4DAA4D,EAAE,OAAO;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CA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AS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,wDAAwD;EAC1I,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-user-custom-audiences.mjs","names":[],"sources":["../../src/actions/list-user-custom-audiences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListUserCustomAudiencesInput = z.object({\n name: z.string().describe(\"Optional field used for filtering by a specific custom audience name.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (e.g., 'a2_imh76hh7e126').\"),\n});\nconst RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Third-Party Data Cost information.\");\nconst RedditAdsListUserCustomAudiences_CustomAudienceItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the audience\").nullable().optional(),\n cost: RedditAdsListUserCustomAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable(),\n type: z.string().describe(\"Type of the custom audience\").nullable(),\n status: z.string().describe(\"Status of the audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"Delivery status of the audience\").nullable().optional(),\n lookalike_config: z.record(z.string(), z.unknown()).describe(\"Lookalike Audience configuration\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Customer List Audience configuration\").nullable().optional(),\n pixel_audience_config: z.record(z.string(), z.unknown()).describe(\"Pixel Audience configuration\").nullable().optional(),\n engagement_audience_config: z.record(z.string(), z.unknown()).describe(\"Engagement Audience configuration\").nullable().optional(),\n}).passthrough().describe(\"Individual custom audience object.\");\nconst RedditAdsListUserCustomAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListUserCustomAudiencesOutput = z.object({\n data: z.array(RedditAdsListUserCustomAudiences_CustomAudienceItemSchema).describe(\"List of custom audiences from the specified ad account\"),\n pagination: RedditAdsListUserCustomAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of custom audiences with pagination information.\");\n\nexport const redditAdsListUserCustomAudiences: AppAction<\n typeof RedditAdsListUserCustomAudiencesInput,\n typeof RedditAdsListUserCustomAudiencesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_USER_CUSTOM_AUDIENCES\", {\n slug: \"reddit_ads-list-user-custom-audiences\",\n name: \"List User Custom Audiences\",\n description: \"Tool to list all Custom Audiences under an ad account. Use when you need to retrieve custom audiences for targeting in Reddit Ads campaigns. Rate limit: 500 requests per 60 seconds (Targeting Taxonomy).\",\n input: RedditAdsListUserCustomAudiencesInput,\n output: RedditAdsListUserC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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,wDAAwD;EAC1I,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list3rd-party-audiences.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list3rd-party-audiences.cjs","names":["z","action"],"sources":["../../src/actions/list3rd-party-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsList3rdPartyAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all 3rd party audiences. Supports pagination.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount for the third-party data.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the cost (e.g., USD).\").nullable().optional(),\n}).passthrough().describe(\"Represents the cost information for third-party data.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the 3rd party audience.\").nullable().optional(),\n cost: RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the 3rd party audience.\").nullable().optional(),\n size: z.number().int().describe(\"Estimated size of the 3rd party audience.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the 3rd party audience including provider details.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single 3rd party audience returned by the Reddit Ads API.\");\nconst RedditAdsList3rdPartyAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through 3rd party audience results.\");\nexport const RedditAdsList3rdPartyAudiencesOutput = z.object({\n data: z.array(RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema).describe(\"List of 3rd party audiences available for targeting.\"),\n pagination: RedditAdsList3rdPartyAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all 3rd party audiences with pagination.\");\n\nexport const redditAdsList3rdPartyAudiences = action(\"REDDIT_ADS_LIST3RD_PARTY_AUDIENCES\", {\n slug: \"reddit_ads-list3rd-party-audiences\",\n name: \"List 3rd Party Audiences\",\n description: \"Tool to retrieve all available 3rd party audiences from Reddit Ads API for targeting purposes. Use when you need to get a list of third-party data audiences for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsList3rdPartyAudiencesInput,\n output: RedditAdsList3rdPartyAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS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ent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsList3rdPartyAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all 3rd party audiences. Supports pagination.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount for the third-party data.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the cost (e.g., USD).\").nullable().optional(),\n}).passthrough().describe(\"Represents the cost information for third-party data.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the 3rd party audience.\").nullable().optional(),\n cost: RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the 3rd party audience.\").nullable().optional(),\n size: z.number().int().describe(\"Estimated size of the 3rd party audience.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the 3rd party audience including provider details.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single 3rd party audience returned by the Reddit Ads API.\");\nconst RedditAdsList3rdPartyAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through 3rd party audience results.\");\nexport const RedditAdsList3rdPartyAudiencesOutput = z.object({\n data: z.array(RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema).describe(\"List of 3rd party audiences available for targeting.\"),\n pagination: RedditAdsList3rdPartyAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all 3rd party audiences with pagination.\");\n\nexport const redditAdsList3rdPartyAudiences: AppAction<\n typeof RedditAdsList3rdPartyAudiencesInput,\n typeof RedditAdsList3rdPartyAudiencesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST3RD_PARTY_AUDIENCES\", {\n slug: \"reddit_ads-list3rd-party-audiences\",\n name: \"List 3rd Party Audiences\",\n description: \"Tool to retrieve all available 3rd party audiences from Reddit Ads API for targeting purposes. Use when you need to get a list of third-party data audiences for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsList3rdPartyAudiencesInput,\n output: RedditAdsList3rdPartyAudiencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sDAAsD;CACtI,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list3rd-party-audiences.d.ts
@@ -21,10 +23,7 @@ declare const RedditAdsList3rdPartyAudiencesOutput: z.ZodObject<{
21
23
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const redditAdsList3rdPartyAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- page_size?: number | undefined;
26
- page_token?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const redditAdsList3rdPartyAudiences: AppAction<typeof RedditAdsList3rdPartyAudiencesInput, typeof RedditAdsList3rdPartyAudiencesOutput, typeof redditAds.credential>;
28
27
  //#endregion
29
28
  export { redditAdsList3rdPartyAudiences };
30
29
  //# sourceMappingURL=list3rd-party-audiences.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list3rd-party-audiences.d.cts","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list3rd-party-audiences.d.cts","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list3rd-party-audiences.d.ts
@@ -21,10 +23,7 @@ declare const RedditAdsList3rdPartyAudiencesOutput: z.ZodObject<{
21
23
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const redditAdsList3rdPartyAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- page_size?: number | undefined;
26
- page_token?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const redditAdsList3rdPartyAudiences: AppAction<typeof RedditAdsList3rdPartyAudiencesInput, typeof RedditAdsList3rdPartyAudiencesOutput, typeof redditAds.credential>;
28
27
  //#endregion
29
28
  export { redditAdsList3rdPartyAudiences };
30
29
  //# sourceMappingURL=list3rd-party-audiences.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list3rd-party-audiences.d.mts","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list3rd-party-audiences.d.mts","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list3rd-party-audiences.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list3rd-party-audiences.mjs","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsList3rdPartyAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all 3rd party audiences. Supports pagination.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount for the third-party data.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the cost (e.g., USD).\").nullable().optional(),\n}).passthrough().describe(\"Represents the cost information for third-party data.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the 3rd party audience.\").nullable().optional(),\n cost: RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the 3rd party audience.\").nullable().optional(),\n size: z.number().int().describe(\"Estimated size of the 3rd party audience.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the 3rd party audience including provider details.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single 3rd party audience returned by the Reddit Ads API.\");\nconst RedditAdsList3rdPartyAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through 3rd party audience results.\");\nexport const RedditAdsList3rdPartyAudiencesOutput = z.object({\n data: z.array(RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema).describe(\"List of 3rd party audiences available for targeting.\"),\n pagination: RedditAdsList3rdPartyAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all 3rd party audiences with pagination.\");\n\nexport const redditAdsList3rdPartyAudiences = action(\"REDDIT_ADS_LIST3RD_PARTY_AUDIENCES\", {\n slug: \"reddit_ads-list3rd-party-audiences\",\n name: \"List 3rd Party Audiences\",\n description: \"Tool to retrieve all available 3rd party audiences from Reddit Ads API for targeting purposes. Use when you need to get a list of third-party data audiences for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsList3rdPartyAudiencesInput,\n output: RedditAdsList3rdPartyAudiencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAs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2EAA2E;AAMrG,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sDAAsD;EACtI,YAAY,gDAAgD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list3rd-party-audiences.mjs","names":[],"sources":["../../src/actions/list3rd-party-audiences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsList3rdPartyAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all 3rd party audiences. Supports pagination.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema = z.object({\n amount: z.number().describe(\"Cost amount for the third-party data.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the cost (e.g., USD).\").nullable().optional(),\n}).passthrough().describe(\"Represents the cost information for third-party data.\");\nconst RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the 3rd party audience.\").nullable().optional(),\n cost: RedditAdsList3rdPartyAudiences_ThirdPartyDataCostSchema.nullable().optional(),\n name: z.string().describe(\"Name of the 3rd party audience.\").nullable().optional(),\n size: z.number().int().describe(\"Estimated size of the 3rd party audience.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the 3rd party audience including provider details.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single 3rd party audience returned by the Reddit Ads API.\");\nconst RedditAdsList3rdPartyAudiences_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through 3rd party audience results.\");\nexport const RedditAdsList3rdPartyAudiencesOutput = z.object({\n data: z.array(RedditAdsList3rdPartyAudiences_ThirdPartyAudienceSchema).describe(\"List of 3rd party audiences available for targeting.\"),\n pagination: RedditAdsList3rdPartyAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all 3rd party audiences with pagination.\");\n\nexport const redditAdsList3rdPartyAudiences: AppAction<\n typeof RedditAdsList3rdPartyAudiencesInput,\n typeof RedditAdsList3rdPartyAudiencesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST3RD_PARTY_AUDIENCES\", {\n slug: \"reddit_ads-list3rd-party-audiences\",\n name: \"List 3rd Party Audiences\",\n description: \"Tool to retrieve all available 3rd party audiences from Reddit Ads API for targeting purposes. Use when you need to get a list of third-party data audiences for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsList3rdPartyAudiencesInput,\n output: RedditAdsList3rdPartyAudiencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0DAA0D,EAAE,OAAO;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAM,kDAAkD,EAAE,OAAO;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAMrG,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sDAAsD;EACtI,YAAY,gDAAgD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-ad-accounts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-ad-accounts.cjs","names":["z","action"],"sources":["../../src/actions/query-ad-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsQueryAdAccountsInput = z.object({\n data: z.object({\n roles: z.array(z.string()).describe(\"Only return ad accounts to which specified actors do not have these roles.\").optional(),\n actors: z.array(z.object({\n id: z.string().describe(\"Actor ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for actor access to ad accounts.\")).describe(\"Only return ad accounts to which the specified actors do not have access.\").optional(),\n assets: z.array(z.object({\n id: z.string().describe(\"Asset ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for asset access to ad accounts.\")).describe(\"Only return ad accounts that have access to these assets.\").optional(),\n filter: z.string().describe(\"Filter string to query the entity. If null, the response contains all ad accounts within the business.\").optional(),\n}).describe(\"Filter criteria for querying ad accounts.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query ad accounts for.\"),\n}).describe(\"Request model for querying ad accounts by business.\");\nconst RedditAdsQueryAdAccounts_AdAccountSchema = z.object({\n id: z.string().describe(\"Ad account ID.\").nullable().optional(),\n name: z.string().describe(\"Ad account name.\").nullable().optional(),\n type: z.string().describe(\"Ad account type.\").nullable().optional(),\n currency: z.string().describe(\"Currency used by this ad account.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ad account was created.\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with this ad account.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the ad account was last modified.\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for this ad account.\").nullable().optional(),\n admin_approval: z.string().describe(\"Admin approval status.\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Spend cap type.\").nullable().optional(),\n attribution_type: z.string().describe(\"Attribution type used by this ad account.\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of excluded keywords.\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if account is suspended.\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of excluded communities.\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window.\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window.\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"Pixel partner preferences.\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID.\").nullable().optional(),\n}).passthrough().describe(\"Ad account information.\");\nconst RedditAdsQueryAdAccounts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsQueryAdAccountsOutput = z.object({\n data: z.array(RedditAdsQueryAdAccounts_AdAccountSchema).describe(\"List of ad accounts matching the query criteria.\"),\n pagination: RedditAdsQueryAdAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of queried ad accounts.\");\n\nexport const redditAdsQueryAdAccounts = action(\"REDDIT_ADS_QUERY_AD_ACCOUNTS\", {\n slug: \"reddit_ads-query-ad-accounts\",\n name: \"Query Ad Accounts\",\n description: \"Tool to query ad accounts by business with optional filtering by actors, assets, roles, or custom filter string. Use when you need to retrieve ad accounts for a specific business with filtering capabilities. Rate Limit: Business Manager - 100 requests per 60 seconds.\",\n input: RedditAdsQueryAdAccountsInput,\n output: RedditAdsQueryAdAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO;EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC3H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;CACnH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-ad-accounts.cjs","names":["z","action"],"sources":["../../src/actions/query-ad-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsQueryAdAccountsInput = z.object({\n data: z.object({\n roles: z.array(z.string()).describe(\"Only return ad accounts to which specified actors do not have these roles.\").optional(),\n actors: z.array(z.object({\n id: z.string().describe(\"Actor ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for actor access to ad accounts.\")).describe(\"Only return ad accounts to which the specified actors do not have access.\").optional(),\n assets: z.array(z.object({\n id: z.string().describe(\"Asset ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for asset access to ad accounts.\")).describe(\"Only return ad accounts that have access to these assets.\").optional(),\n filter: z.string().describe(\"Filter string to query the entity. If null, the response contains all ad accounts within the business.\").optional(),\n}).describe(\"Filter criteria for querying ad accounts.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query ad accounts for.\"),\n}).describe(\"Request model for querying ad accounts by business.\");\nconst RedditAdsQueryAdAccounts_AdAccountSchema = z.object({\n id: z.string().describe(\"Ad account ID.\").nullable().optional(),\n name: z.string().describe(\"Ad account name.\").nullable().optional(),\n type: z.string().describe(\"Ad account type.\").nullable().optional(),\n currency: z.string().describe(\"Currency used by this ad account.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ad account was created.\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with this ad account.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the ad account was last modified.\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for this ad account.\").nullable().optional(),\n admin_approval: z.string().describe(\"Admin approval status.\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Spend cap type.\").nullable().optional(),\n attribution_type: z.string().describe(\"Attribution type used by this ad account.\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of excluded keywords.\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if account is suspended.\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of excluded communities.\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window.\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window.\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"Pixel partner preferences.\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID.\").nullable().optional(),\n}).passthrough().describe(\"Ad account information.\");\nconst RedditAdsQueryAdAccounts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsQueryAdAccountsOutput = z.object({\n data: z.array(RedditAdsQueryAdAccounts_AdAccountSchema).describe(\"List of ad accounts matching the query criteria.\"),\n pagination: RedditAdsQueryAdAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of queried ad accounts.\");\n\nexport const redditAdsQueryAdAccounts: AppAction<\n typeof RedditAdsQueryAdAccountsInput,\n typeof RedditAdsQueryAdAccountsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_QUERY_AD_ACCOUNTS\", {\n slug: \"reddit_ads-query-ad-accounts\",\n name: \"Query Ad Accounts\",\n description: \"Tool to query ad accounts by business with optional filtering by actors, assets, roles, or custom filter string. Use when you need to retrieve ad accounts for a specific business with filtering capabilities. Rate Limit: Business Manager - 100 requests per 60 seconds.\",\n input: RedditAdsQueryAdAccountsInput,\n output: RedditAdsQueryAdAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO;EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC3H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnK,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,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AC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;CACnH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-ad-accounts.d.ts
@@ -42,23 +44,7 @@ declare const RedditAdsQueryAdAccountsOutput: z.ZodObject<{
42
44
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
45
  }, z.core.$loose>>;
44
46
  }, z.core.$loose>;
45
- declare const redditAdsQueryAdAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- business_id: string;
47
- data?: {
48
- roles?: string[] | undefined;
49
- actors?: {
50
- [x: string]: unknown;
51
- id?: string | undefined;
52
- }[] | undefined;
53
- assets?: {
54
- [x: string]: unknown;
55
- id?: string | undefined;
56
- }[] | undefined;
57
- filter?: string | undefined;
58
- } | undefined;
59
- page_size?: number | undefined;
60
- page_token?: string | undefined;
61
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const redditAdsQueryAdAccounts: AppAction<typeof RedditAdsQueryAdAccountsInput, typeof RedditAdsQueryAdAccountsOutput, typeof redditAds.credential>;
62
48
  //#endregion
63
49
  export { redditAdsQueryAdAccounts };
64
50
  //# sourceMappingURL=query-ad-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-ad-accounts.d.cts","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"query-ad-accounts.d.cts","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-ad-accounts.d.ts
@@ -42,23 +44,7 @@ declare const RedditAdsQueryAdAccountsOutput: z.ZodObject<{
42
44
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
45
  }, z.core.$loose>>;
44
46
  }, z.core.$loose>;
45
- declare const redditAdsQueryAdAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- business_id: string;
47
- data?: {
48
- roles?: string[] | undefined;
49
- actors?: {
50
- [x: string]: unknown;
51
- id?: string | undefined;
52
- }[] | undefined;
53
- assets?: {
54
- [x: string]: unknown;
55
- id?: string | undefined;
56
- }[] | undefined;
57
- filter?: string | undefined;
58
- } | undefined;
59
- page_size?: number | undefined;
60
- page_token?: string | undefined;
61
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const redditAdsQueryAdAccounts: AppAction<typeof RedditAdsQueryAdAccountsInput, typeof RedditAdsQueryAdAccountsOutput, typeof redditAds.credential>;
62
48
  //#endregion
63
49
  export { redditAdsQueryAdAccounts };
64
50
  //# sourceMappingURL=query-ad-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-ad-accounts.d.mts","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"query-ad-accounts.d.mts","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAuC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-ad-accounts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-ad-accounts.mjs","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsQueryAdAccountsInput = z.object({\n data: z.object({\n roles: z.array(z.string()).describe(\"Only return ad accounts to which specified actors do not have these roles.\").optional(),\n actors: z.array(z.object({\n id: z.string().describe(\"Actor ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for actor access to ad accounts.\")).describe(\"Only return ad accounts to which the specified actors do not have access.\").optional(),\n assets: z.array(z.object({\n id: z.string().describe(\"Asset ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for asset access to ad accounts.\")).describe(\"Only return ad accounts that have access to these assets.\").optional(),\n filter: z.string().describe(\"Filter string to query the entity. If null, the response contains all ad accounts within the business.\").optional(),\n}).describe(\"Filter criteria for querying ad accounts.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query ad accounts for.\"),\n}).describe(\"Request model for querying ad accounts by business.\");\nconst RedditAdsQueryAdAccounts_AdAccountSchema = z.object({\n id: z.string().describe(\"Ad account ID.\").nullable().optional(),\n name: z.string().describe(\"Ad account name.\").nullable().optional(),\n type: z.string().describe(\"Ad account type.\").nullable().optional(),\n currency: z.string().describe(\"Currency used by this ad account.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ad account was created.\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with this ad account.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the ad account was last modified.\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for this ad account.\").nullable().optional(),\n admin_approval: z.string().describe(\"Admin approval status.\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Spend cap type.\").nullable().optional(),\n attribution_type: z.string().describe(\"Attribution type used by this ad account.\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of excluded keywords.\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if account is suspended.\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of excluded communities.\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window.\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window.\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"Pixel partner preferences.\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID.\").nullable().optional(),\n}).passthrough().describe(\"Ad account information.\");\nconst RedditAdsQueryAdAccounts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsQueryAdAccountsOutput = z.object({\n data: z.array(RedditAdsQueryAdAccounts_AdAccountSchema).describe(\"List of ad accounts matching the query criteria.\"),\n pagination: RedditAdsQueryAdAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of queried ad accounts.\");\n\nexport const redditAdsQueryAdAccounts = action(\"REDDIT_ADS_QUERY_AD_ACCOUNTS\", {\n slug: \"reddit_ads-query-ad-accounts\",\n name: \"Query Ad Accounts\",\n description: \"Tool to query ad accounts by business with optional filtering by actors, assets, roles, or custom filter string. Use when you need to retrieve ad accounts for a specific business with filtering capabilities. Rate Limit: Business Manager - 100 requests per 60 seconds.\",\n input: RedditAdsQueryAdAccountsInput,\n output: RedditAdsQueryAdAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC3H,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnK,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAA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;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;EACnH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-ad-accounts.mjs","names":[],"sources":["../../src/actions/query-ad-accounts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsQueryAdAccountsInput = z.object({\n data: z.object({\n roles: z.array(z.string()).describe(\"Only return ad accounts to which specified actors do not have these roles.\").optional(),\n actors: z.array(z.object({\n id: z.string().describe(\"Actor ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for actor access to ad accounts.\")).describe(\"Only return ad accounts to which the specified actors do not have access.\").optional(),\n assets: z.array(z.object({\n id: z.string().describe(\"Asset ID to filter by.\").optional(),\n}).passthrough().describe(\"Filter for asset access to ad accounts.\")).describe(\"Only return ad accounts that have access to these assets.\").optional(),\n filter: z.string().describe(\"Filter string to query the entity. If null, the response contains all ad accounts within the business.\").optional(),\n}).describe(\"Filter criteria for querying ad accounts.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query ad accounts for.\"),\n}).describe(\"Request model for querying ad accounts by business.\");\nconst RedditAdsQueryAdAccounts_AdAccountSchema = z.object({\n id: z.string().describe(\"Ad account ID.\").nullable().optional(),\n name: z.string().describe(\"Ad account name.\").nullable().optional(),\n type: z.string().describe(\"Ad account type.\").nullable().optional(),\n currency: z.string().describe(\"Currency used by this ad account.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ad account was created.\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with this ad account.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the ad account was last modified.\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for this ad account.\").nullable().optional(),\n admin_approval: z.string().describe(\"Admin approval status.\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Spend cap type.\").nullable().optional(),\n attribution_type: z.string().describe(\"Attribution type used by this ad account.\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of excluded keywords.\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if account is suspended.\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of excluded communities.\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window.\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window.\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"Pixel partner preferences.\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID.\").nullable().optional(),\n}).passthrough().describe(\"Ad account information.\");\nconst RedditAdsQueryAdAccounts_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsQueryAdAccountsOutput = z.object({\n data: z.array(RedditAdsQueryAdAccounts_AdAccountSchema).describe(\"List of ad accounts matching the query criteria.\"),\n pagination: RedditAdsQueryAdAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of queried ad accounts.\");\n\nexport const redditAdsQueryAdAccounts: AppAction<\n typeof RedditAdsQueryAdAccountsInput,\n typeof RedditAdsQueryAdAccountsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_QUERY_AD_ACCOUNTS\", {\n slug: \"reddit_ads-query-ad-accounts\",\n name: \"Query Ad Accounts\",\n description: \"Tool to query ad accounts by business with optional filtering by actors, assets, roles, or custom filter string. Use when you need to retrieve ad accounts for a specific business with filtering capabilities. Rate Limit: Business Manager - 100 requests per 60 seconds.\",\n input: RedditAdsQueryAdAccountsInput,\n output: RedditAdsQueryAdAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC3H,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnK,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,O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AAC,CAAC,SAAS;CACxG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,4CAA4C,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;EACnH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-funding-instruments-by-business.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-funding-instruments-by-business.cjs","names":["z","action"],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;EAChQ,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO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,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,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,yBAAyB;AACnD,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,8BAA8B;CACzH,YAAY,4DAA4D,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,6CAA6CC,eAAAA,OAAO,oDAAoD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-funding-instruments-by-business.cjs","names":["z","action"],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness: AppAction<\n typeof RedditAdsQueryFundingInstrumentsByBusinessInput,\n typeof RedditAdsQueryFundingInstrumentsByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;EAChQ,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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AAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,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,yBAAyB;AACnD,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,8BAA8B;CACzH,YAAY,4DAA4D,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,6CAITC,eAAAA,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-funding-instruments-by-business.d.ts
@@ -34,17 +36,7 @@ declare const RedditAdsQueryFundingInstrumentsByBusinessOutput: z.ZodObject<{
34
36
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>;
37
- declare const redditAdsQueryFundingInstrumentsByBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
38
- business_id: string;
39
- data?: {
40
- mode?: "ACTIVE" | "ALL" | undefined;
41
- partner_business_id?: string | undefined;
42
- funding_instrument_ids?: string[] | undefined;
43
- } | undefined;
44
- search?: string | undefined;
45
- page_size?: number | undefined;
46
- page_token?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ declare const redditAdsQueryFundingInstrumentsByBusiness: AppAction<typeof RedditAdsQueryFundingInstrumentsByBusinessInput, typeof RedditAdsQueryFundingInstrumentsByBusinessOutput, typeof redditAds.credential>;
48
40
  //#endregion
49
41
  export { redditAdsQueryFundingInstrumentsByBusiness };
50
42
  //# sourceMappingURL=query-funding-instruments-by-business.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-funding-instruments-by-business.d.cts","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA4B/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKhD,0CAAA,gCAA0C,wBAAA"}
1
+ {"version":3,"file":"query-funding-instruments-by-business.d.cts","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA4B/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-funding-instruments-by-business.d.ts
@@ -34,17 +36,7 @@ declare const RedditAdsQueryFundingInstrumentsByBusinessOutput: z.ZodObject<{
34
36
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>;
37
- declare const redditAdsQueryFundingInstrumentsByBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
38
- business_id: string;
39
- data?: {
40
- mode?: "ACTIVE" | "ALL" | undefined;
41
- partner_business_id?: string | undefined;
42
- funding_instrument_ids?: string[] | undefined;
43
- } | undefined;
44
- search?: string | undefined;
45
- page_size?: number | undefined;
46
- page_token?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ declare const redditAdsQueryFundingInstrumentsByBusiness: AppAction<typeof RedditAdsQueryFundingInstrumentsByBusinessInput, typeof RedditAdsQueryFundingInstrumentsByBusinessOutput, typeof redditAds.credential>;
48
40
  //#endregion
49
41
  export { redditAdsQueryFundingInstrumentsByBusiness };
50
42
  //# sourceMappingURL=query-funding-instruments-by-business.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-funding-instruments-by-business.d.mts","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA4B/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKhD,0CAAA,gCAA0C,wBAAA"}
1
+ {"version":3,"file":"query-funding-instruments-by-business.d.mts","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA4B/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-funding-instruments-by-business.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-funding-instruments-by-business.mjs","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;EAChQ,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,8DAA8D,EAAE,OAAO;CAC3E,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,yBAAyB;AAMnD,MAAa,6CAA6C,OAAO,oDAAoD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,8BAA8B;EACzH,YAAY,4DAA4D,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-funding-instruments-by-business.mjs","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness: AppAction<\n typeof RedditAdsQueryFundingInstrumentsByBusinessInput,\n typeof RedditAdsQueryFundingInstrumentsByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;EAChQ,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qEAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,C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AAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,8BAA8B;EACzH,YAAY,4DAA4D,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-communities.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-communities.cjs","names":["z","action"],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AACnG,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD;CACnH,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-communities.cjs","names":["z","action"],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities: AppAction<\n typeof RedditAdsSearchCommunitiesInput,\n typeof RedditAdsSearchCommunitiesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAA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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-communities.d.ts
@@ -20,11 +22,7 @@ declare const RedditAdsSearchCommunitiesOutput: z.ZodObject<{
20
22
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const redditAdsSearchCommunities: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- query?: string | undefined;
25
- page_size?: number | undefined;
26
- page_token?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const redditAdsSearchCommunities: AppAction<typeof RedditAdsSearchCommunitiesInput, typeof RedditAdsSearchCommunitiesOutput, typeof redditAds.credential>;
28
26
  //#endregion
29
27
  export { redditAdsSearchCommunities };
30
28
  //# sourceMappingURL=search-communities.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-communities.d.cts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"search-communities.d.cts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-communities.d.ts
@@ -20,11 +22,7 @@ declare const RedditAdsSearchCommunitiesOutput: z.ZodObject<{
20
22
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const redditAdsSearchCommunities: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- query?: string | undefined;
25
- page_size?: number | undefined;
26
- page_token?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const redditAdsSearchCommunities: AppAction<typeof RedditAdsSearchCommunitiesInput, typeof RedditAdsSearchCommunitiesOutput, typeof redditAds.credential>;
28
26
  //#endregion
29
27
  export { redditAdsSearchCommunities };
30
28
  //# sourceMappingURL=search-communities.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-communities.d.mts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"search-communities.d.mts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search-communities.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-communities.mjs","names":[],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAMnG,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD;EACnH,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search-communities.mjs","names":[],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities: AppAction<\n typeof RedditAdsSearchCommunitiesInput,\n typeof RedditAdsSearchCommunitiesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,oHAAoH;AAChI,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAMnG,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD;EACnH,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-ad-account.ts