@keystrokehq/reddit_ads 0.1.0 → 0.1.2

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 (573) 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 +4 -4
  4. package/dist/actions/create-ad-group.cjs.map +1 -1
  5. package/dist/actions/create-ad-group.d.cts +82 -3
  6. package/dist/actions/create-ad-group.d.cts.map +1 -1
  7. package/dist/actions/create-ad-group.d.mts +82 -3
  8. package/dist/actions/create-ad-group.d.mts.map +1 -1
  9. package/dist/actions/create-ad-group.mjs +4 -4
  10. package/dist/actions/create-ad-group.mjs.map +1 -1
  11. package/dist/actions/create-batch-products.cjs +1 -1
  12. package/dist/actions/create-batch-products.cjs.map +1 -1
  13. package/dist/actions/create-batch-products.d.cts +124 -3
  14. package/dist/actions/create-batch-products.d.cts.map +1 -1
  15. package/dist/actions/create-batch-products.d.mts +124 -3
  16. package/dist/actions/create-batch-products.d.mts.map +1 -1
  17. package/dist/actions/create-batch-products.mjs +1 -1
  18. package/dist/actions/create-batch-products.mjs.map +1 -1
  19. package/dist/actions/create-campaign.cjs +4 -4
  20. package/dist/actions/create-campaign.cjs.map +1 -1
  21. package/dist/actions/create-campaign.d.cts +147 -3
  22. package/dist/actions/create-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-campaign.d.mts +147 -3
  24. package/dist/actions/create-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-campaign.mjs +4 -4
  26. package/dist/actions/create-campaign.mjs.map +1 -1
  27. package/dist/actions/create-custom-audience.cjs.map +1 -1
  28. package/dist/actions/create-custom-audience.d.cts +34 -3
  29. package/dist/actions/create-custom-audience.d.cts.map +1 -1
  30. package/dist/actions/create-custom-audience.d.mts +34 -3
  31. package/dist/actions/create-custom-audience.d.mts.map +1 -1
  32. package/dist/actions/create-custom-audience.mjs.map +1 -1
  33. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  34. package/dist/actions/create-lead-gen-form.d.cts +50 -3
  35. package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
  36. package/dist/actions/create-lead-gen-form.d.mts +50 -3
  37. package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
  38. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  39. package/dist/actions/create-post.cjs +2 -2
  40. package/dist/actions/create-post.cjs.map +1 -1
  41. package/dist/actions/create-post.d.cts +60 -3
  42. package/dist/actions/create-post.d.cts.map +1 -1
  43. package/dist/actions/create-post.d.mts +60 -3
  44. package/dist/actions/create-post.d.mts.map +1 -1
  45. package/dist/actions/create-post.mjs +2 -2
  46. package/dist/actions/create-post.mjs.map +1 -1
  47. package/dist/actions/create-product-catalog.cjs.map +1 -1
  48. package/dist/actions/create-product-catalog.d.cts +72 -3
  49. package/dist/actions/create-product-catalog.d.cts.map +1 -1
  50. package/dist/actions/create-product-catalog.d.mts +72 -3
  51. package/dist/actions/create-product-catalog.d.mts.map +1 -1
  52. package/dist/actions/create-product-catalog.mjs.map +1 -1
  53. package/dist/actions/create-product-feed.cjs.map +1 -1
  54. package/dist/actions/create-product-feed.d.cts +50 -3
  55. package/dist/actions/create-product-feed.d.cts.map +1 -1
  56. package/dist/actions/create-product-feed.d.mts +50 -3
  57. package/dist/actions/create-product-feed.d.mts.map +1 -1
  58. package/dist/actions/create-product-feed.mjs.map +1 -1
  59. package/dist/actions/create-product-set.cjs.map +1 -1
  60. package/dist/actions/create-product-set.d.cts +30 -3
  61. package/dist/actions/create-product-set.d.cts.map +1 -1
  62. package/dist/actions/create-product-set.d.mts +30 -3
  63. package/dist/actions/create-product-set.d.mts.map +1 -1
  64. package/dist/actions/create-product-set.mjs.map +1 -1
  65. package/dist/actions/create-saved-audience.cjs +3 -3
  66. package/dist/actions/create-saved-audience.cjs.map +1 -1
  67. package/dist/actions/create-saved-audience.d.cts +102 -3
  68. package/dist/actions/create-saved-audience.d.cts.map +1 -1
  69. package/dist/actions/create-saved-audience.d.mts +102 -3
  70. package/dist/actions/create-saved-audience.d.mts.map +1 -1
  71. package/dist/actions/create-saved-audience.mjs +3 -3
  72. package/dist/actions/create-saved-audience.mjs.map +1 -1
  73. package/dist/actions/create-structured-post-creation-job.cjs +3 -3
  74. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  75. package/dist/actions/create-structured-post-creation-job.d.cts +109 -3
  76. package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
  77. package/dist/actions/create-structured-post-creation-job.d.mts +109 -3
  78. package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
  79. package/dist/actions/create-structured-post-creation-job.mjs +3 -3
  80. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  81. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  82. package/dist/actions/delete-custom-audience.d.cts +7 -3
  83. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  84. package/dist/actions/delete-custom-audience.d.mts +7 -3
  85. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  86. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  87. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  88. package/dist/actions/delete-product-catalog.d.cts +7 -3
  89. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  90. package/dist/actions/delete-product-catalog.d.mts +7 -3
  91. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  92. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  93. package/dist/actions/delete-product-feed.cjs.map +1 -1
  94. package/dist/actions/delete-product-feed.d.cts +7 -3
  95. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  96. package/dist/actions/delete-product-feed.d.mts +7 -3
  97. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  98. package/dist/actions/delete-product-feed.mjs.map +1 -1
  99. package/dist/actions/delete-product-set.cjs.map +1 -1
  100. package/dist/actions/delete-product-set.d.cts +7 -3
  101. package/dist/actions/delete-product-set.d.cts.map +1 -1
  102. package/dist/actions/delete-product-set.d.mts +7 -3
  103. package/dist/actions/delete-product-set.d.mts.map +1 -1
  104. package/dist/actions/delete-product-set.mjs.map +1 -1
  105. package/dist/actions/delete-products.cjs.map +1 -1
  106. package/dist/actions/delete-products.d.cts +11 -3
  107. package/dist/actions/delete-products.d.cts.map +1 -1
  108. package/dist/actions/delete-products.d.mts +11 -3
  109. package/dist/actions/delete-products.d.mts.map +1 -1
  110. package/dist/actions/delete-products.mjs.map +1 -1
  111. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  112. package/dist/actions/do-geolocation-validations.d.cts +19 -3
  113. package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
  114. package/dist/actions/do-geolocation-validations.d.mts +19 -3
  115. package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
  116. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  117. package/dist/actions/do-keyword-validations.cjs +2 -2
  118. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  119. package/dist/actions/do-keyword-validations.d.cts +17 -3
  120. package/dist/actions/do-keyword-validations.d.cts.map +1 -1
  121. package/dist/actions/do-keyword-validations.d.mts +17 -3
  122. package/dist/actions/do-keyword-validations.d.mts.map +1 -1
  123. package/dist/actions/do-keyword-validations.mjs +2 -2
  124. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  125. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  126. package/dist/actions/generate-inspiration-creative-summary.d.cts +39 -3
  127. package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
  128. package/dist/actions/generate-inspiration-creative-summary.d.mts +39 -3
  129. package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
  130. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  131. package/dist/actions/get-a-report.cjs.map +1 -1
  132. package/dist/actions/get-a-report.d.cts +55 -3
  133. package/dist/actions/get-a-report.d.cts.map +1 -1
  134. package/dist/actions/get-a-report.d.mts +55 -3
  135. package/dist/actions/get-a-report.d.mts.map +1 -1
  136. package/dist/actions/get-a-report.mjs.map +1 -1
  137. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  138. package/dist/actions/get-ad-account-history.d.cts +58 -3
  139. package/dist/actions/get-ad-account-history.d.cts.map +1 -1
  140. package/dist/actions/get-ad-account-history.d.mts +58 -3
  141. package/dist/actions/get-ad-account-history.d.mts.map +1 -1
  142. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  143. package/dist/actions/get-ad-account.cjs +4 -4
  144. package/dist/actions/get-ad-account.cjs.map +1 -1
  145. package/dist/actions/get-ad-account.d.cts +60 -3
  146. package/dist/actions/get-ad-account.d.cts.map +1 -1
  147. package/dist/actions/get-ad-account.d.mts +60 -3
  148. package/dist/actions/get-ad-account.d.mts.map +1 -1
  149. package/dist/actions/get-ad-account.mjs +4 -4
  150. package/dist/actions/get-ad-account.mjs.map +1 -1
  151. package/dist/actions/get-ad-group.cjs +6 -6
  152. package/dist/actions/get-ad-group.cjs.map +1 -1
  153. package/dist/actions/get-ad-group.d.cts +40 -3
  154. package/dist/actions/get-ad-group.d.cts.map +1 -1
  155. package/dist/actions/get-ad-group.d.mts +40 -3
  156. package/dist/actions/get-ad-group.d.mts.map +1 -1
  157. package/dist/actions/get-ad-group.mjs +6 -6
  158. package/dist/actions/get-ad-group.mjs.map +1 -1
  159. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  160. package/dist/actions/get-app-last-fired-at.d.cts +34 -3
  161. package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
  162. package/dist/actions/get-app-last-fired-at.d.mts +34 -3
  163. package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
  164. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  165. package/dist/actions/get-business.cjs +6 -6
  166. package/dist/actions/get-business.cjs.map +1 -1
  167. package/dist/actions/get-business.d.cts +21 -3
  168. package/dist/actions/get-business.d.cts.map +1 -1
  169. package/dist/actions/get-business.d.mts +21 -3
  170. package/dist/actions/get-business.d.mts.map +1 -1
  171. package/dist/actions/get-business.mjs +6 -6
  172. package/dist/actions/get-business.mjs.map +1 -1
  173. package/dist/actions/get-campaign.cjs +7 -7
  174. package/dist/actions/get-campaign.cjs.map +1 -1
  175. package/dist/actions/get-campaign.d.cts +38 -3
  176. package/dist/actions/get-campaign.d.cts.map +1 -1
  177. package/dist/actions/get-campaign.d.mts +38 -3
  178. package/dist/actions/get-campaign.d.mts.map +1 -1
  179. package/dist/actions/get-campaign.mjs +7 -7
  180. package/dist/actions/get-campaign.mjs.map +1 -1
  181. package/dist/actions/get-channel-planning-reach.cjs +2 -2
  182. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  183. package/dist/actions/get-channel-planning-reach.d.cts +36 -3
  184. package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
  185. package/dist/actions/get-channel-planning-reach.d.mts +36 -3
  186. package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
  187. package/dist/actions/get-channel-planning-reach.mjs +2 -2
  188. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  189. package/dist/actions/get-child-funding-instruments.cjs +5 -5
  190. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  191. package/dist/actions/get-child-funding-instruments.d.cts +29 -3
  192. package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
  193. package/dist/actions/get-child-funding-instruments.d.mts +29 -3
  194. package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
  195. package/dist/actions/get-child-funding-instruments.mjs +5 -5
  196. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  197. package/dist/actions/get-custom-audience.cjs +8 -8
  198. package/dist/actions/get-custom-audience.cjs.map +1 -1
  199. package/dist/actions/get-custom-audience.d.cts +68 -3
  200. package/dist/actions/get-custom-audience.d.cts.map +1 -1
  201. package/dist/actions/get-custom-audience.d.mts +68 -3
  202. package/dist/actions/get-custom-audience.d.mts.map +1 -1
  203. package/dist/actions/get-custom-audience.mjs +8 -8
  204. package/dist/actions/get-custom-audience.mjs.map +1 -1
  205. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  206. package/dist/actions/get-lead-gen-form.d.cts +18 -3
  207. package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
  208. package/dist/actions/get-lead-gen-form.d.mts +18 -3
  209. package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
  210. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  211. package/dist/actions/get-me.cjs +3 -3
  212. package/dist/actions/get-me.cjs.map +1 -1
  213. package/dist/actions/get-me.d.cts +13 -3
  214. package/dist/actions/get-me.d.cts.map +1 -1
  215. package/dist/actions/get-me.d.mts +13 -3
  216. package/dist/actions/get-me.d.mts.map +1 -1
  217. package/dist/actions/get-me.mjs +3 -3
  218. package/dist/actions/get-me.mjs.map +1 -1
  219. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  220. package/dist/actions/get-pixel-last-fired-at.d.cts +24 -3
  221. package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
  222. package/dist/actions/get-pixel-last-fired-at.d.mts +24 -3
  223. package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
  224. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  225. package/dist/actions/get-post.cjs +2 -2
  226. package/dist/actions/get-post.cjs.map +1 -1
  227. package/dist/actions/get-post.d.cts +32 -3
  228. package/dist/actions/get-post.d.cts.map +1 -1
  229. package/dist/actions/get-post.d.mts +32 -3
  230. package/dist/actions/get-post.d.mts.map +1 -1
  231. package/dist/actions/get-post.mjs +2 -2
  232. package/dist/actions/get-post.mjs.map +1 -1
  233. package/dist/actions/get-product-catalog.cjs.map +1 -1
  234. package/dist/actions/get-product-catalog.d.cts +42 -3
  235. package/dist/actions/get-product-catalog.d.cts.map +1 -1
  236. package/dist/actions/get-product-catalog.d.mts +42 -3
  237. package/dist/actions/get-product-catalog.d.mts.map +1 -1
  238. package/dist/actions/get-product-catalog.mjs.map +1 -1
  239. package/dist/actions/get-product-feed.cjs +5 -5
  240. package/dist/actions/get-product-feed.cjs.map +1 -1
  241. package/dist/actions/get-product-feed.d.cts +36 -3
  242. package/dist/actions/get-product-feed.d.cts.map +1 -1
  243. package/dist/actions/get-product-feed.d.mts +36 -3
  244. package/dist/actions/get-product-feed.d.mts.map +1 -1
  245. package/dist/actions/get-product-feed.mjs +5 -5
  246. package/dist/actions/get-product-feed.mjs.map +1 -1
  247. package/dist/actions/get-product-set.cjs.map +1 -1
  248. package/dist/actions/get-product-set.d.cts +22 -3
  249. package/dist/actions/get-product-set.d.cts.map +1 -1
  250. package/dist/actions/get-product-set.d.mts +22 -3
  251. package/dist/actions/get-product-set.d.mts.map +1 -1
  252. package/dist/actions/get-product-set.mjs.map +1 -1
  253. package/dist/actions/get-profile.cjs +4 -4
  254. package/dist/actions/get-profile.cjs.map +1 -1
  255. package/dist/actions/get-profile.d.cts +15 -3
  256. package/dist/actions/get-profile.d.cts.map +1 -1
  257. package/dist/actions/get-profile.d.mts +15 -3
  258. package/dist/actions/get-profile.d.mts.map +1 -1
  259. package/dist/actions/get-profile.mjs +4 -4
  260. package/dist/actions/get-profile.mjs.map +1 -1
  261. package/dist/actions/get-saved-audience.cjs +6 -6
  262. package/dist/actions/get-saved-audience.cjs.map +1 -1
  263. package/dist/actions/get-saved-audience.d.cts +52 -3
  264. package/dist/actions/get-saved-audience.d.cts.map +1 -1
  265. package/dist/actions/get-saved-audience.d.mts +52 -3
  266. package/dist/actions/get-saved-audience.d.mts.map +1 -1
  267. package/dist/actions/get-saved-audience.mjs +6 -6
  268. package/dist/actions/get-saved-audience.mjs.map +1 -1
  269. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  270. package/dist/actions/get-sk-ad-network-availability.d.cts +32 -3
  271. package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
  272. package/dist/actions/get-sk-ad-network-availability.d.mts +32 -3
  273. package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
  274. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  275. package/dist/actions/get-structured-post.cjs.map +1 -1
  276. package/dist/actions/get-structured-post.d.cts +15 -3
  277. package/dist/actions/get-structured-post.d.cts.map +1 -1
  278. package/dist/actions/get-structured-post.d.mts +15 -3
  279. package/dist/actions/get-structured-post.d.mts.map +1 -1
  280. package/dist/actions/get-structured-post.mjs.map +1 -1
  281. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  282. package/dist/actions/list-ad-accounts-by-business.d.cts +38 -3
  283. package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
  284. package/dist/actions/list-ad-accounts-by-business.d.mts +38 -3
  285. package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
  286. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  287. package/dist/actions/list-ad-groups.cjs +6 -6
  288. package/dist/actions/list-ad-groups.cjs.map +1 -1
  289. package/dist/actions/list-ad-groups.d.cts +52 -3
  290. package/dist/actions/list-ad-groups.d.cts.map +1 -1
  291. package/dist/actions/list-ad-groups.d.mts +52 -3
  292. package/dist/actions/list-ad-groups.d.mts.map +1 -1
  293. package/dist/actions/list-ad-groups.mjs +6 -6
  294. package/dist/actions/list-ad-groups.mjs.map +1 -1
  295. package/dist/actions/list-ads.cjs.map +1 -1
  296. package/dist/actions/list-ads.d.cts +19 -3
  297. package/dist/actions/list-ads.d.cts.map +1 -1
  298. package/dist/actions/list-ads.d.mts +19 -3
  299. package/dist/actions/list-ads.d.mts.map +1 -1
  300. package/dist/actions/list-ads.mjs.map +1 -1
  301. package/dist/actions/list-campaigns.cjs +7 -7
  302. package/dist/actions/list-campaigns.cjs.map +1 -1
  303. package/dist/actions/list-campaigns.d.cts +46 -3
  304. package/dist/actions/list-campaigns.d.cts.map +1 -1
  305. package/dist/actions/list-campaigns.d.mts +46 -3
  306. package/dist/actions/list-campaigns.d.mts.map +1 -1
  307. package/dist/actions/list-campaigns.mjs +7 -7
  308. package/dist/actions/list-campaigns.mjs.map +1 -1
  309. package/dist/actions/list-carriers.cjs +3 -3
  310. package/dist/actions/list-carriers.cjs.map +1 -1
  311. package/dist/actions/list-carriers.d.cts +19 -3
  312. package/dist/actions/list-carriers.d.cts.map +1 -1
  313. package/dist/actions/list-carriers.d.mts +19 -3
  314. package/dist/actions/list-carriers.d.mts.map +1 -1
  315. package/dist/actions/list-carriers.mjs +3 -3
  316. package/dist/actions/list-carriers.mjs.map +1 -1
  317. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  318. package/dist/actions/list-catalog-imports.d.cts +30 -3
  319. package/dist/actions/list-catalog-imports.d.cts.map +1 -1
  320. package/dist/actions/list-catalog-imports.d.mts +30 -3
  321. package/dist/actions/list-catalog-imports.d.mts.map +1 -1
  322. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  323. package/dist/actions/list-communities-suggestions.cjs +3 -3
  324. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  325. package/dist/actions/list-communities-suggestions.d.cts +26 -3
  326. package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
  327. package/dist/actions/list-communities-suggestions.d.mts +26 -3
  328. package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
  329. package/dist/actions/list-communities-suggestions.mjs +3 -3
  330. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  331. package/dist/actions/list-communities.cjs +3 -3
  332. package/dist/actions/list-communities.cjs.map +1 -1
  333. package/dist/actions/list-communities.d.cts +24 -3
  334. package/dist/actions/list-communities.d.cts.map +1 -1
  335. package/dist/actions/list-communities.d.mts +24 -3
  336. package/dist/actions/list-communities.d.mts.map +1 -1
  337. package/dist/actions/list-communities.mjs +3 -3
  338. package/dist/actions/list-communities.mjs.map +1 -1
  339. package/dist/actions/list-devices.cjs.map +1 -1
  340. package/dist/actions/list-devices.d.cts +18 -3
  341. package/dist/actions/list-devices.d.cts.map +1 -1
  342. package/dist/actions/list-devices.d.mts +18 -3
  343. package/dist/actions/list-devices.d.mts.map +1 -1
  344. package/dist/actions/list-devices.mjs.map +1 -1
  345. package/dist/actions/list-funding-instruments.cjs +1 -1
  346. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  347. package/dist/actions/list-funding-instruments.d.cts +49 -3
  348. package/dist/actions/list-funding-instruments.d.cts.map +1 -1
  349. package/dist/actions/list-funding-instruments.d.mts +49 -3
  350. package/dist/actions/list-funding-instruments.d.mts.map +1 -1
  351. package/dist/actions/list-funding-instruments.mjs +1 -1
  352. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  353. package/dist/actions/list-geolocations.cjs.map +1 -1
  354. package/dist/actions/list-geolocations.d.cts +21 -3
  355. package/dist/actions/list-geolocations.d.cts.map +1 -1
  356. package/dist/actions/list-geolocations.d.mts +21 -3
  357. package/dist/actions/list-geolocations.d.mts.map +1 -1
  358. package/dist/actions/list-geolocations.mjs.map +1 -1
  359. package/dist/actions/list-industries.cjs +2 -2
  360. package/dist/actions/list-industries.cjs.map +1 -1
  361. package/dist/actions/list-industries.d.cts +8 -3
  362. package/dist/actions/list-industries.d.cts.map +1 -1
  363. package/dist/actions/list-industries.d.mts +8 -3
  364. package/dist/actions/list-industries.d.mts.map +1 -1
  365. package/dist/actions/list-industries.mjs +2 -2
  366. package/dist/actions/list-industries.mjs.map +1 -1
  367. package/dist/actions/list-interests.cjs +3 -3
  368. package/dist/actions/list-interests.cjs.map +1 -1
  369. package/dist/actions/list-interests.d.cts +9 -3
  370. package/dist/actions/list-interests.d.cts.map +1 -1
  371. package/dist/actions/list-interests.d.mts +9 -3
  372. package/dist/actions/list-interests.d.mts.map +1 -1
  373. package/dist/actions/list-interests.mjs +3 -3
  374. package/dist/actions/list-interests.mjs.map +1 -1
  375. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  376. package/dist/actions/list-lead-gen-forms.d.cts +26 -3
  377. package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
  378. package/dist/actions/list-lead-gen-forms.d.mts +26 -3
  379. package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
  380. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  381. package/dist/actions/list-my-businesses.cjs.map +1 -1
  382. package/dist/actions/list-my-businesses.d.cts +34 -3
  383. package/dist/actions/list-my-businesses.d.cts.map +1 -1
  384. package/dist/actions/list-my-businesses.d.mts +34 -3
  385. package/dist/actions/list-my-businesses.d.mts.map +1 -1
  386. package/dist/actions/list-my-businesses.mjs.map +1 -1
  387. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  388. package/dist/actions/list-pixels-by-ad-account.d.cts +26 -3
  389. package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
  390. package/dist/actions/list-pixels-by-ad-account.d.mts +26 -3
  391. package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
  392. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  393. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  394. package/dist/actions/list-pixels-by-business.d.cts +26 -3
  395. package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
  396. package/dist/actions/list-pixels-by-business.d.mts +26 -3
  397. package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
  398. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  399. package/dist/actions/list-posts.cjs +3 -3
  400. package/dist/actions/list-posts.cjs.map +1 -1
  401. package/dist/actions/list-posts.d.cts +45 -3
  402. package/dist/actions/list-posts.d.cts.map +1 -1
  403. package/dist/actions/list-posts.d.mts +45 -3
  404. package/dist/actions/list-posts.d.mts.map +1 -1
  405. package/dist/actions/list-posts.mjs +3 -3
  406. package/dist/actions/list-posts.mjs.map +1 -1
  407. package/dist/actions/list-product-catalogs.cjs +5 -5
  408. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  409. package/dist/actions/list-product-catalogs.d.cts +24 -3
  410. package/dist/actions/list-product-catalogs.d.cts.map +1 -1
  411. package/dist/actions/list-product-catalogs.d.mts +24 -3
  412. package/dist/actions/list-product-catalogs.d.mts.map +1 -1
  413. package/dist/actions/list-product-catalogs.mjs +5 -5
  414. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  415. package/dist/actions/list-product-feeds.cjs +6 -6
  416. package/dist/actions/list-product-feeds.cjs.map +1 -1
  417. package/dist/actions/list-product-feeds.d.cts +23 -3
  418. package/dist/actions/list-product-feeds.d.cts.map +1 -1
  419. package/dist/actions/list-product-feeds.d.mts +23 -3
  420. package/dist/actions/list-product-feeds.d.mts.map +1 -1
  421. package/dist/actions/list-product-feeds.mjs +6 -6
  422. package/dist/actions/list-product-feeds.mjs.map +1 -1
  423. package/dist/actions/list-product-sets.cjs.map +1 -1
  424. package/dist/actions/list-product-sets.d.cts +28 -3
  425. package/dist/actions/list-product-sets.d.cts.map +1 -1
  426. package/dist/actions/list-product-sets.d.mts +28 -3
  427. package/dist/actions/list-product-sets.d.mts.map +1 -1
  428. package/dist/actions/list-product-sets.mjs.map +1 -1
  429. package/dist/actions/list-products-in-product-catalog.cjs +11 -11
  430. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  431. package/dist/actions/list-products-in-product-catalog.d.cts +82 -3
  432. package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
  433. package/dist/actions/list-products-in-product-catalog.d.mts +82 -3
  434. package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
  435. package/dist/actions/list-products-in-product-catalog.mjs +11 -11
  436. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  437. package/dist/actions/list-products-in-product-set.cjs +8 -8
  438. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  439. package/dist/actions/list-products-in-product-set.d.cts +127 -3
  440. package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
  441. package/dist/actions/list-products-in-product-set.d.mts +127 -3
  442. package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
  443. package/dist/actions/list-products-in-product-set.mjs +8 -8
  444. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  445. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  446. package/dist/actions/list-profiles-by-ad-account.d.cts +23 -3
  447. package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
  448. package/dist/actions/list-profiles-by-ad-account.d.mts +23 -3
  449. package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
  450. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  451. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  452. package/dist/actions/list-profiles-by-business.d.cts +23 -3
  453. package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
  454. package/dist/actions/list-profiles-by-business.d.mts +23 -3
  455. package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
  456. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  457. package/dist/actions/list-saved-audiences.cjs +8 -8
  458. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  459. package/dist/actions/list-saved-audiences.d.cts +30 -3
  460. package/dist/actions/list-saved-audiences.d.cts.map +1 -1
  461. package/dist/actions/list-saved-audiences.d.mts +30 -3
  462. package/dist/actions/list-saved-audiences.d.mts.map +1 -1
  463. package/dist/actions/list-saved-audiences.mjs +8 -8
  464. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  465. package/dist/actions/list-structured-posts.cjs.map +1 -1
  466. package/dist/actions/list-structured-posts.d.cts +37 -3
  467. package/dist/actions/list-structured-posts.d.cts.map +1 -1
  468. package/dist/actions/list-structured-posts.d.mts +37 -3
  469. package/dist/actions/list-structured-posts.d.mts.map +1 -1
  470. package/dist/actions/list-structured-posts.mjs.map +1 -1
  471. package/dist/actions/list-time-zones.cjs +6 -6
  472. package/dist/actions/list-time-zones.cjs.map +1 -1
  473. package/dist/actions/list-time-zones.d.cts +22 -3
  474. package/dist/actions/list-time-zones.d.cts.map +1 -1
  475. package/dist/actions/list-time-zones.d.mts +22 -3
  476. package/dist/actions/list-time-zones.d.mts.map +1 -1
  477. package/dist/actions/list-time-zones.mjs +6 -6
  478. package/dist/actions/list-time-zones.mjs.map +1 -1
  479. package/dist/actions/list-user-custom-audiences.cjs +2 -2
  480. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  481. package/dist/actions/list-user-custom-audiences.d.cts +38 -3
  482. package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
  483. package/dist/actions/list-user-custom-audiences.d.mts +38 -3
  484. package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
  485. package/dist/actions/list-user-custom-audiences.mjs +2 -2
  486. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  487. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  488. package/dist/actions/list3rd-party-audiences.d.cts +24 -3
  489. package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
  490. package/dist/actions/list3rd-party-audiences.d.mts +24 -3
  491. package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
  492. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  493. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  494. package/dist/actions/query-ad-accounts.d.cts +56 -3
  495. package/dist/actions/query-ad-accounts.d.cts.map +1 -1
  496. package/dist/actions/query-ad-accounts.d.mts +56 -3
  497. package/dist/actions/query-ad-accounts.d.mts.map +1 -1
  498. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  499. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  500. package/dist/actions/query-funding-instruments-by-business.d.cts +44 -3
  501. package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
  502. package/dist/actions/query-funding-instruments-by-business.d.mts +44 -3
  503. package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
  504. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  505. package/dist/actions/search-communities.cjs +3 -3
  506. package/dist/actions/search-communities.cjs.map +1 -1
  507. package/dist/actions/search-communities.d.cts +24 -3
  508. package/dist/actions/search-communities.d.cts.map +1 -1
  509. package/dist/actions/search-communities.d.mts +24 -3
  510. package/dist/actions/search-communities.d.mts.map +1 -1
  511. package/dist/actions/search-communities.mjs +3 -3
  512. package/dist/actions/search-communities.mjs.map +1 -1
  513. package/dist/actions/update-ad-account.cjs.map +1 -1
  514. package/dist/actions/update-ad-account.d.cts +88 -3
  515. package/dist/actions/update-ad-account.d.cts.map +1 -1
  516. package/dist/actions/update-ad-account.d.mts +88 -3
  517. package/dist/actions/update-ad-account.d.mts.map +1 -1
  518. package/dist/actions/update-ad-account.mjs.map +1 -1
  519. package/dist/actions/update-business.cjs.map +1 -1
  520. package/dist/actions/update-business.d.cts +66 -3
  521. package/dist/actions/update-business.d.cts.map +1 -1
  522. package/dist/actions/update-business.d.mts +66 -3
  523. package/dist/actions/update-business.d.mts.map +1 -1
  524. package/dist/actions/update-business.mjs.map +1 -1
  525. package/dist/actions/update-campaign.cjs.map +1 -1
  526. package/dist/actions/update-campaign.d.cts +113 -3
  527. package/dist/actions/update-campaign.d.cts.map +1 -1
  528. package/dist/actions/update-campaign.d.mts +113 -3
  529. package/dist/actions/update-campaign.d.mts.map +1 -1
  530. package/dist/actions/update-campaign.mjs.map +1 -1
  531. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  532. package/dist/actions/update-custom-audience-users.d.cts +31 -3
  533. package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
  534. package/dist/actions/update-custom-audience-users.d.mts +31 -3
  535. package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
  536. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  537. package/dist/actions/update-post.cjs.map +1 -1
  538. package/dist/actions/update-post.d.cts +27 -3
  539. package/dist/actions/update-post.d.cts.map +1 -1
  540. package/dist/actions/update-post.d.mts +27 -3
  541. package/dist/actions/update-post.d.mts.map +1 -1
  542. package/dist/actions/update-post.mjs.map +1 -1
  543. package/dist/actions/update-product-catalog.cjs.map +1 -1
  544. package/dist/actions/update-product-catalog.d.cts +50 -3
  545. package/dist/actions/update-product-catalog.d.cts.map +1 -1
  546. package/dist/actions/update-product-catalog.d.mts +50 -3
  547. package/dist/actions/update-product-catalog.d.mts.map +1 -1
  548. package/dist/actions/update-product-catalog.mjs.map +1 -1
  549. package/dist/actions/update-product-feed.cjs.map +1 -1
  550. package/dist/actions/update-product-feed.d.cts +69 -3
  551. package/dist/actions/update-product-feed.d.cts.map +1 -1
  552. package/dist/actions/update-product-feed.d.mts +69 -3
  553. package/dist/actions/update-product-feed.d.mts.map +1 -1
  554. package/dist/actions/update-product-feed.mjs.map +1 -1
  555. package/dist/actions/update-product-set.cjs.map +1 -1
  556. package/dist/actions/update-product-set.d.cts +30 -3
  557. package/dist/actions/update-product-set.d.cts.map +1 -1
  558. package/dist/actions/update-product-set.d.mts +30 -3
  559. package/dist/actions/update-product-set.d.mts.map +1 -1
  560. package/dist/actions/update-product-set.mjs.map +1 -1
  561. package/dist/actions/update-saved-audience.cjs.map +1 -1
  562. package/dist/actions/update-saved-audience.d.cts +97 -3
  563. package/dist/actions/update-saved-audience.d.cts.map +1 -1
  564. package/dist/actions/update-saved-audience.d.mts +97 -3
  565. package/dist/actions/update-saved-audience.d.mts.map +1 -1
  566. package/dist/actions/update-saved-audience.mjs.map +1 -1
  567. package/dist/actions/update-structured-post.cjs.map +1 -1
  568. package/dist/actions/update-structured-post.d.cts +21 -3
  569. package/dist/actions/update-structured-post.d.cts.map +1 -1
  570. package/dist/actions/update-structured-post.d.mts +21 -3
  571. package/dist/actions/update-structured-post.d.mts.map +1 -1
  572. package/dist/actions/update-structured-post.mjs.map +1 -1
  573. package/package.json +2 -2
@@ -7,12 +7,12 @@ const RedditAdsListCommunitiesInput = zod.z.object({
7
7
  page_token: zod.z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
8
8
  }).describe("Request model for listing targetable communities. Filter by community names and paginate through results.");
9
9
  const RedditAdsListCommunities_CommunitySchema = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier for the community."),
11
- name: zod.z.string().describe("Name of the community."),
10
+ id: zod.z.string().describe("Unique identifier for the community.").nullable(),
11
+ name: zod.z.string().describe("Name of the community.").nullable(),
12
12
  icon_url: zod.z.string().describe("URL to the community's icon image.").nullable().optional(),
13
13
  categories: zod.z.array(zod.z.string()).describe("Categories associated with the community.").nullable().optional(),
14
14
  description: zod.z.string().describe("Description of the community.").nullable().optional(),
15
- subscriber_count: zod.z.number().int().describe("Number of subscribers in the community.")
15
+ subscriber_count: zod.z.number().int().describe("Number of subscribers in the community.").nullable()
16
16
  }).describe("Represents a single targetable community returned by the Reddit Ads API.");
17
17
  const RedditAdsListCommunities_PaginationSchema = zod.z.object({
18
18
  next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-communities.cjs","names":["z","action"],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").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 listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").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.\"),\n}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,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,2GAA2G;AACvH,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,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;AACvF,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-communities.cjs","names":["z","action"],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").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 listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").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}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_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}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,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,2GAA2G;AACvH,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,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,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-communities.d.ts
4
- declare const RedditAdsListCommunitiesInput: z.ZodTypeAny;
5
- declare const RedditAdsListCommunitiesOutput: z.ZodTypeAny;
6
- declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListCommunitiesInput: z.ZodObject<{
5
+ names: z.ZodOptional<z.ZodString>;
6
+ page_size: z.ZodOptional<z.ZodNumber>;
7
+ page_token: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RedditAdsListCommunitiesOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ subscriber_count: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$strip>>;
18
+ pagination: z.ZodNullable<z.ZodObject<{
19
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ names?: 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]>;
7
28
  //#endregion
8
29
  export { redditAdsListCommunities };
9
30
  //# sourceMappingURL=list-communities.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-communities.d.cts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI0E;AAAA,cAa3G,8BAAA,EAAgC,CAAA,CAAE,UAGkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-communities.d.cts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-communities.d.ts
4
- declare const RedditAdsListCommunitiesInput: z.ZodTypeAny;
5
- declare const RedditAdsListCommunitiesOutput: z.ZodTypeAny;
6
- declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListCommunitiesInput: z.ZodObject<{
5
+ names: z.ZodOptional<z.ZodString>;
6
+ page_size: z.ZodOptional<z.ZodNumber>;
7
+ page_token: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RedditAdsListCommunitiesOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ subscriber_count: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$strip>>;
18
+ pagination: z.ZodNullable<z.ZodObject<{
19
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ names?: 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]>;
7
28
  //#endregion
8
29
  export { redditAdsListCommunities };
9
30
  //# sourceMappingURL=list-communities.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-communities.d.mts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI0E;AAAA,cAa3G,8BAAA,EAAgC,CAAA,CAAE,UAGkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-communities.d.mts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -7,12 +7,12 @@ const RedditAdsListCommunitiesInput = z.object({
7
7
  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()
8
8
  }).describe("Request model for listing targetable communities. Filter by community names and paginate through results.");
9
9
  const RedditAdsListCommunities_CommunitySchema = z.object({
10
- id: z.string().describe("Unique identifier for the community."),
11
- name: z.string().describe("Name of the community."),
10
+ id: z.string().describe("Unique identifier for the community.").nullable(),
11
+ name: z.string().describe("Name of the community.").nullable(),
12
12
  icon_url: z.string().describe("URL to the community's icon image.").nullable().optional(),
13
13
  categories: z.array(z.string()).describe("Categories associated with the community.").nullable().optional(),
14
14
  description: z.string().describe("Description of the community.").nullable().optional(),
15
- subscriber_count: z.number().int().describe("Number of subscribers in the community.")
15
+ subscriber_count: z.number().int().describe("Number of subscribers in the community.").nullable()
16
16
  }).describe("Represents a single targetable community returned by the Reddit Ads API.");
17
17
  const RedditAdsListCommunities_PaginationSchema = z.object({
18
18
  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(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-communities.mjs","names":[],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").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 listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").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.\"),\n}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,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,2GAA2G;AACvH,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,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;AACvF,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAM9E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;EACtH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-communities.mjs","names":[],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").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 listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").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}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_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}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,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,2GAA2G;AACvH,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,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,SAAS,0EAA0E;AACtF,MAAM,4CAA4C,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAM9E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;EACtH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,sGAAsG;AAClH,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;CACtH,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput = 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 devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_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}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,sGAAsG;AAClH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;CACtH,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-devices.d.ts
4
- declare const RedditAdsListDevicesInput: z.ZodTypeAny;
5
- declare const RedditAdsListDevicesOutput: z.ZodTypeAny;
6
- declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListDevicesInput: z.ZodObject<{
5
+ page_size: z.ZodOptional<z.ZodNumber>;
6
+ page_token: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RedditAdsListDevicesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>>;
13
+ pagination: z.ZodNullable<z.ZodObject<{
14
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ page_size?: number | undefined;
20
+ page_token?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { redditAdsListDevices };
9
24
  //# sourceMappingURL=list-devices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGyE;AAAA,cAStG,0BAAA,EAA4B,CAAA,CAAE,UAG2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-devices.d.ts
4
- declare const RedditAdsListDevicesInput: z.ZodTypeAny;
5
- declare const RedditAdsListDevicesOutput: z.ZodTypeAny;
6
- declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListDevicesInput: z.ZodObject<{
5
+ page_size: z.ZodOptional<z.ZodNumber>;
6
+ page_token: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RedditAdsListDevicesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>>;
13
+ pagination: z.ZodNullable<z.ZodObject<{
14
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ page_size?: number | undefined;
20
+ page_token?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { redditAdsListDevices };
9
24
  //# sourceMappingURL=list-devices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGyE;AAAA,cAStG,0BAAA,EAA4B,CAAA,CAAE,UAG2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,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,sGAAsG;AAClH,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAsD,EAAE,OAAO;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;EACtH,YAAY,sCAAsC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput = 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 devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_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}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,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,sGAAsG;AAClH,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAwC,EAAE,OAAO;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;EACtH,YAAY,sCAAsC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -20,7 +20,7 @@ const RedditAdsListFundingInstrumentsInput = zod.z.object({
20
20
  funding_instrument_ids: zod.z.array(zod.z.string()).describe("A list of funding instrument IDs to filter by.").optional()
21
21
  }).describe("Request model for listing funding instruments by ad account.");
22
22
  const RedditAdsListFundingInstruments_FundingInstrumentSchema = zod.z.object({
23
- id: zod.z.string().describe("Unique identifier of the funding instrument."),
23
+ id: zod.z.string().describe("Unique identifier of the funding instrument.").nullable(),
24
24
  name: zod.z.string().describe("Name of the funding instrument.").nullable().optional(),
25
25
  currency: zod.z.string().describe("Currency code (e.g., USD, EUR).").nullable().optional(),
26
26
  end_time: zod.z.string().describe("End time of the funding instrument in ISO-8601 format.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput: z.ZodTypeAny = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\"),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., 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 of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments = action(\"REDDIT_ADS_LIST_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-list-funding-instruments\",\n name: \"List Funding Instruments\",\n description: \"Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsListFundingInstrumentsInput,\n output: RedditAdsListFundingInstrumentsOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"list-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., 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 of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments = action(\"REDDIT_ADS_LIST_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-list-funding-instruments\",\n name: \"List Funding Instruments\",\n description: \"Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsListFundingInstrumentsInput,\n output: RedditAdsListFundingInstrumentsOutput,\n});\n"],"mappings":"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"}
@@ -1,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funding-instruments.d.ts
4
- declare const RedditAdsListFundingInstrumentsInput: z.ZodTypeAny;
5
- declare const RedditAdsListFundingInstrumentsOutput: z.ZodTypeAny;
6
- declare const redditAdsListFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListFundingInstrumentsInput: z.ZodObject<{
5
+ mode: z.ZodOptional<z.ZodEnum<{
6
+ ACTIVE: "ACTIVE";
7
+ ALL: "ALL";
8
+ INACTIVE: "INACTIVE";
9
+ UPCOMING: "UPCOMING";
10
+ SELECTABLE: "SELECTABLE";
11
+ }>>;
12
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ search: z.ZodOptional<z.ZodString>;
14
+ end_time: z.ZodOptional<z.ZodString>;
15
+ page_size: z.ZodOptional<z.ZodNumber>;
16
+ page_token: z.ZodOptional<z.ZodString>;
17
+ start_time: z.ZodOptional<z.ZodString>;
18
+ ad_account_id: z.ZodString;
19
+ is_selectable: z.ZodOptional<z.ZodBoolean>;
20
+ funding_instrument_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const RedditAdsListFundingInstrumentsOutput: z.ZodObject<{
23
+ data: z.ZodArray<z.ZodObject<{
24
+ id: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ is_servable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ credit_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ billable_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ authorize_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ invoice_group_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ reasons_not_servable: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
+ }, z.core.$strip>>;
36
+ pagination: z.ZodNullable<z.ZodObject<{
37
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>;
41
+ declare const redditAdsListFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ ad_account_id: string;
43
+ mode?: "ACTIVE" | "ALL" | "INACTIVE" | "UPCOMING" | "SELECTABLE" | undefined;
44
+ types?: string[] | undefined;
45
+ search?: string | undefined;
46
+ end_time?: string | undefined;
47
+ page_size?: number | undefined;
48
+ page_token?: string | undefined;
49
+ start_time?: string | undefined;
50
+ is_selectable?: boolean | undefined;
51
+ funding_instrument_ids?: string[] | undefined;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
53
  //#endregion
8
54
  export { redditAdsListFundingInstruments };
9
55
  //# sourceMappingURL=list-funding-instruments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funding-instruments.d.cts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAWsB;AAAA,cAkB9D,qCAAA,EAAuC,CAAA,CAAE,UAGQ;AAAA,cAEjD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funding-instruments.d.cts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funding-instruments.d.ts
4
- declare const RedditAdsListFundingInstrumentsInput: z.ZodTypeAny;
5
- declare const RedditAdsListFundingInstrumentsOutput: z.ZodTypeAny;
6
- declare const redditAdsListFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListFundingInstrumentsInput: z.ZodObject<{
5
+ mode: z.ZodOptional<z.ZodEnum<{
6
+ ACTIVE: "ACTIVE";
7
+ ALL: "ALL";
8
+ INACTIVE: "INACTIVE";
9
+ UPCOMING: "UPCOMING";
10
+ SELECTABLE: "SELECTABLE";
11
+ }>>;
12
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ search: z.ZodOptional<z.ZodString>;
14
+ end_time: z.ZodOptional<z.ZodString>;
15
+ page_size: z.ZodOptional<z.ZodNumber>;
16
+ page_token: z.ZodOptional<z.ZodString>;
17
+ start_time: z.ZodOptional<z.ZodString>;
18
+ ad_account_id: z.ZodString;
19
+ is_selectable: z.ZodOptional<z.ZodBoolean>;
20
+ funding_instrument_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const RedditAdsListFundingInstrumentsOutput: z.ZodObject<{
23
+ data: z.ZodArray<z.ZodObject<{
24
+ id: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ is_servable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ credit_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ billable_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ authorize_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ invoice_group_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ reasons_not_servable: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
+ }, z.core.$strip>>;
36
+ pagination: z.ZodNullable<z.ZodObject<{
37
+ next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>;
41
+ declare const redditAdsListFundingInstruments: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ ad_account_id: string;
43
+ mode?: "ACTIVE" | "ALL" | "INACTIVE" | "UPCOMING" | "SELECTABLE" | undefined;
44
+ types?: string[] | undefined;
45
+ search?: string | undefined;
46
+ end_time?: string | undefined;
47
+ page_size?: number | undefined;
48
+ page_token?: string | undefined;
49
+ start_time?: string | undefined;
50
+ is_selectable?: boolean | undefined;
51
+ funding_instrument_ids?: string[] | undefined;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
53
  //#endregion
8
54
  export { redditAdsListFundingInstruments };
9
55
  //# sourceMappingURL=list-funding-instruments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funding-instruments.d.mts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAWsB;AAAA,cAkB9D,qCAAA,EAAuC,CAAA,CAAE,UAGQ;AAAA,cAEjD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funding-instruments.d.mts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
@@ -20,7 +20,7 @@ const RedditAdsListFundingInstrumentsInput = z.object({
20
20
  funding_instrument_ids: z.array(z.string()).describe("A list of funding instrument IDs to filter by.").optional()
21
21
  }).describe("Request model for listing funding instruments by ad account.");
22
22
  const RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({
23
- id: z.string().describe("Unique identifier of the funding instrument."),
23
+ id: z.string().describe("Unique identifier of the funding instrument.").nullable(),
24
24
  name: z.string().describe("Name of the funding instrument.").nullable().optional(),
25
25
  currency: z.string().describe("Currency code (e.g., USD, EUR).").nullable().optional(),
26
26
  end_time: z.string().describe("End time of the funding instrument in ISO-8601 format.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-funding-instruments.mjs","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput: z.ZodTypeAny = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\"),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., 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 of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments = action(\"REDDIT_ADS_LIST_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-list-funding-instruments\",\n name: \"List Funding Instruments\",\n description: \"Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsListFundingInstrumentsInput,\n output: RedditAdsListFundingInstrumentsOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"list-funding-instruments.mjs","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., 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 of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments = action(\"REDDIT_ADS_LIST_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-list-funding-instruments\",\n name: \"List Funding Instruments\",\n description: \"Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsListFundingInstrumentsInput,\n output: RedditAdsListFundingInstrumentsOutput,\n});\n"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-geolocations.cjs","names":["z","action"],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListGeolocationsInput: z.ZodTypeAny = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yJAAyJ;AACrK,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+CAA+C,EACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-geolocations.cjs","names":["z","action"],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListGeolocationsInput = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yJAAyJ;AACrK,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+CAA+C,EACrH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-geolocations.d.ts
4
- declare const RedditAdsListGeolocationsInput: z.ZodTypeAny;
5
- declare const RedditAdsListGeolocationsOutput: z.ZodTypeAny;
6
- declare const redditAdsListGeolocations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListGeolocationsInput: z.ZodObject<{
5
+ country: z.ZodOptional<z.ZodString>;
6
+ postal_code: z.ZodOptional<z.ZodString>;
7
+ cities_search: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RedditAdsListGeolocationsOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ dma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>>;
19
+ }, z.core.$strip>;
20
+ declare const redditAdsListGeolocations: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ country?: string | undefined;
22
+ postal_code?: string | undefined;
23
+ cities_search?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { redditAdsListGeolocations };
9
27
  //# sourceMappingURL=list-geolocations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-geolocations.d.cts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIuH;AAAA,cAUzJ,+BAAA,EAAiC,CAAA,CAAE,UAEO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-geolocations.d.cts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-geolocations.d.ts
4
- declare const RedditAdsListGeolocationsInput: z.ZodTypeAny;
5
- declare const RedditAdsListGeolocationsOutput: z.ZodTypeAny;
6
- declare const redditAdsListGeolocations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditAdsListGeolocationsInput: z.ZodObject<{
5
+ country: z.ZodOptional<z.ZodString>;
6
+ postal_code: z.ZodOptional<z.ZodString>;
7
+ cities_search: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RedditAdsListGeolocationsOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ dma: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>>;
19
+ }, z.core.$strip>;
20
+ declare const redditAdsListGeolocations: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ country?: string | undefined;
22
+ postal_code?: string | undefined;
23
+ cities_search?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { redditAdsListGeolocations };
9
27
  //# sourceMappingURL=list-geolocations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-geolocations.d.mts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIuH;AAAA,cAUzJ,+BAAA,EAAiC,CAAA,CAAE,UAEO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-geolocations.d.mts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}