@keystrokehq/reddit_ads 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-ad-group.cjs +1 -0
  4. package/dist/actions/create-ad-group.cjs.map +1 -1
  5. package/dist/actions/create-ad-group.d.cts +3 -24
  6. package/dist/actions/create-ad-group.d.cts.map +1 -1
  7. package/dist/actions/create-ad-group.d.mts +3 -24
  8. package/dist/actions/create-ad-group.d.mts.map +1 -1
  9. package/dist/actions/create-ad-group.mjs +1 -0
  10. package/dist/actions/create-ad-group.mjs.map +1 -1
  11. package/dist/actions/create-batch-products.cjs +1 -0
  12. package/dist/actions/create-batch-products.cjs.map +1 -1
  13. package/dist/actions/create-batch-products.d.cts +3 -51
  14. package/dist/actions/create-batch-products.d.cts.map +1 -1
  15. package/dist/actions/create-batch-products.d.mts +3 -51
  16. package/dist/actions/create-batch-products.d.mts.map +1 -1
  17. package/dist/actions/create-batch-products.mjs +1 -0
  18. package/dist/actions/create-batch-products.mjs.map +1 -1
  19. package/dist/actions/create-campaign.cjs +1 -0
  20. package/dist/actions/create-campaign.cjs.map +1 -1
  21. package/dist/actions/create-campaign.d.cts +4 -25
  22. package/dist/actions/create-campaign.d.cts.map +1 -1
  23. package/dist/actions/create-campaign.d.mts +4 -25
  24. package/dist/actions/create-campaign.d.mts.map +1 -1
  25. package/dist/actions/create-campaign.mjs +1 -0
  26. package/dist/actions/create-campaign.mjs.map +1 -1
  27. package/dist/actions/create-custom-audience.cjs +1 -0
  28. package/dist/actions/create-custom-audience.cjs.map +1 -1
  29. package/dist/actions/create-custom-audience.d.cts +3 -8
  30. package/dist/actions/create-custom-audience.d.cts.map +1 -1
  31. package/dist/actions/create-custom-audience.d.mts +3 -8
  32. package/dist/actions/create-custom-audience.d.mts.map +1 -1
  33. package/dist/actions/create-custom-audience.mjs +1 -0
  34. package/dist/actions/create-custom-audience.mjs.map +1 -1
  35. package/dist/actions/create-lead-gen-form.cjs +1 -0
  36. package/dist/actions/create-lead-gen-form.cjs.map +1 -1
  37. package/dist/actions/create-lead-gen-form.d.cts +3 -14
  38. package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
  39. package/dist/actions/create-lead-gen-form.d.mts +3 -14
  40. package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
  41. package/dist/actions/create-lead-gen-form.mjs +1 -0
  42. package/dist/actions/create-lead-gen-form.mjs.map +1 -1
  43. package/dist/actions/create-post.cjs +1 -0
  44. package/dist/actions/create-post.cjs.map +1 -1
  45. package/dist/actions/create-post.d.cts +5 -18
  46. package/dist/actions/create-post.d.cts.map +1 -1
  47. package/dist/actions/create-post.d.mts +5 -18
  48. package/dist/actions/create-post.d.mts.map +1 -1
  49. package/dist/actions/create-post.mjs +1 -0
  50. package/dist/actions/create-post.mjs.map +1 -1
  51. package/dist/actions/create-product-catalog.cjs +1 -0
  52. package/dist/actions/create-product-catalog.cjs.map +1 -1
  53. package/dist/actions/create-product-catalog.d.cts +3 -9
  54. package/dist/actions/create-product-catalog.d.cts.map +1 -1
  55. package/dist/actions/create-product-catalog.d.mts +3 -9
  56. package/dist/actions/create-product-catalog.d.mts.map +1 -1
  57. package/dist/actions/create-product-catalog.mjs +1 -0
  58. package/dist/actions/create-product-catalog.mjs.map +1 -1
  59. package/dist/actions/create-product-feed.cjs +1 -0
  60. package/dist/actions/create-product-feed.cjs.map +1 -1
  61. package/dist/actions/create-product-feed.d.cts +3 -10
  62. package/dist/actions/create-product-feed.d.cts.map +1 -1
  63. package/dist/actions/create-product-feed.d.mts +3 -10
  64. package/dist/actions/create-product-feed.d.mts.map +1 -1
  65. package/dist/actions/create-product-feed.mjs +1 -0
  66. package/dist/actions/create-product-feed.mjs.map +1 -1
  67. package/dist/actions/create-product-set.cjs +1 -0
  68. package/dist/actions/create-product-set.cjs.map +1 -1
  69. package/dist/actions/create-product-set.d.cts +3 -7
  70. package/dist/actions/create-product-set.d.cts.map +1 -1
  71. package/dist/actions/create-product-set.d.mts +3 -7
  72. package/dist/actions/create-product-set.d.mts.map +1 -1
  73. package/dist/actions/create-product-set.mjs +1 -0
  74. package/dist/actions/create-product-set.mjs.map +1 -1
  75. package/dist/actions/create-saved-audience.cjs +1 -0
  76. package/dist/actions/create-saved-audience.cjs.map +1 -1
  77. package/dist/actions/create-saved-audience.d.cts +4 -26
  78. package/dist/actions/create-saved-audience.d.cts.map +1 -1
  79. package/dist/actions/create-saved-audience.d.mts +4 -26
  80. package/dist/actions/create-saved-audience.d.mts.map +1 -1
  81. package/dist/actions/create-saved-audience.mjs +1 -0
  82. package/dist/actions/create-saved-audience.mjs.map +1 -1
  83. package/dist/actions/create-structured-post-creation-job.cjs +1 -0
  84. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
  85. package/dist/actions/create-structured-post-creation-job.d.cts +7 -44
  86. package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
  87. package/dist/actions/create-structured-post-creation-job.d.mts +7 -44
  88. package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
  89. package/dist/actions/create-structured-post-creation-job.mjs +1 -0
  90. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
  91. package/dist/actions/delete-custom-audience.cjs +1 -0
  92. package/dist/actions/delete-custom-audience.cjs.map +1 -1
  93. package/dist/actions/delete-custom-audience.d.cts +3 -3
  94. package/dist/actions/delete-custom-audience.d.cts.map +1 -1
  95. package/dist/actions/delete-custom-audience.d.mts +3 -3
  96. package/dist/actions/delete-custom-audience.d.mts.map +1 -1
  97. package/dist/actions/delete-custom-audience.mjs +1 -0
  98. package/dist/actions/delete-custom-audience.mjs.map +1 -1
  99. package/dist/actions/delete-product-catalog.cjs +1 -0
  100. package/dist/actions/delete-product-catalog.cjs.map +1 -1
  101. package/dist/actions/delete-product-catalog.d.cts +3 -3
  102. package/dist/actions/delete-product-catalog.d.cts.map +1 -1
  103. package/dist/actions/delete-product-catalog.d.mts +3 -3
  104. package/dist/actions/delete-product-catalog.d.mts.map +1 -1
  105. package/dist/actions/delete-product-catalog.mjs +1 -0
  106. package/dist/actions/delete-product-catalog.mjs.map +1 -1
  107. package/dist/actions/delete-product-feed.cjs +1 -0
  108. package/dist/actions/delete-product-feed.cjs.map +1 -1
  109. package/dist/actions/delete-product-feed.d.cts +3 -3
  110. package/dist/actions/delete-product-feed.d.cts.map +1 -1
  111. package/dist/actions/delete-product-feed.d.mts +3 -3
  112. package/dist/actions/delete-product-feed.d.mts.map +1 -1
  113. package/dist/actions/delete-product-feed.mjs +1 -0
  114. package/dist/actions/delete-product-feed.mjs.map +1 -1
  115. package/dist/actions/delete-product-set.cjs +1 -0
  116. package/dist/actions/delete-product-set.cjs.map +1 -1
  117. package/dist/actions/delete-product-set.d.cts +3 -3
  118. package/dist/actions/delete-product-set.d.cts.map +1 -1
  119. package/dist/actions/delete-product-set.d.mts +3 -3
  120. package/dist/actions/delete-product-set.d.mts.map +1 -1
  121. package/dist/actions/delete-product-set.mjs +1 -0
  122. package/dist/actions/delete-product-set.mjs.map +1 -1
  123. package/dist/actions/delete-products.cjs +1 -0
  124. package/dist/actions/delete-products.cjs.map +1 -1
  125. package/dist/actions/delete-products.d.cts +3 -4
  126. package/dist/actions/delete-products.d.cts.map +1 -1
  127. package/dist/actions/delete-products.d.mts +3 -4
  128. package/dist/actions/delete-products.d.mts.map +1 -1
  129. package/dist/actions/delete-products.mjs +1 -0
  130. package/dist/actions/delete-products.mjs.map +1 -1
  131. package/dist/actions/do-geolocation-validations.cjs +1 -0
  132. package/dist/actions/do-geolocation-validations.cjs.map +1 -1
  133. package/dist/actions/do-geolocation-validations.d.cts +3 -4
  134. package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
  135. package/dist/actions/do-geolocation-validations.d.mts +3 -4
  136. package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
  137. package/dist/actions/do-geolocation-validations.mjs +1 -0
  138. package/dist/actions/do-geolocation-validations.mjs.map +1 -1
  139. package/dist/actions/do-keyword-validations.cjs +1 -0
  140. package/dist/actions/do-keyword-validations.cjs.map +1 -1
  141. package/dist/actions/do-keyword-validations.d.cts +3 -5
  142. package/dist/actions/do-keyword-validations.d.cts.map +1 -1
  143. package/dist/actions/do-keyword-validations.d.mts +3 -5
  144. package/dist/actions/do-keyword-validations.d.mts.map +1 -1
  145. package/dist/actions/do-keyword-validations.mjs +1 -0
  146. package/dist/actions/do-keyword-validations.mjs.map +1 -1
  147. package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
  148. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
  149. package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -3
  150. package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
  151. package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -3
  152. package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
  153. package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
  154. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
  155. package/dist/actions/get-a-report.cjs +1 -0
  156. package/dist/actions/get-a-report.cjs.map +1 -1
  157. package/dist/actions/get-a-report.d.cts +3 -14
  158. package/dist/actions/get-a-report.d.cts.map +1 -1
  159. package/dist/actions/get-a-report.d.mts +3 -14
  160. package/dist/actions/get-a-report.d.mts.map +1 -1
  161. package/dist/actions/get-a-report.mjs +1 -0
  162. package/dist/actions/get-a-report.mjs.map +1 -1
  163. package/dist/actions/get-ad-account-history.cjs +1 -0
  164. package/dist/actions/get-ad-account-history.cjs.map +1 -1
  165. package/dist/actions/get-ad-account-history.d.cts +3 -26
  166. package/dist/actions/get-ad-account-history.d.cts.map +1 -1
  167. package/dist/actions/get-ad-account-history.d.mts +3 -26
  168. package/dist/actions/get-ad-account-history.d.mts.map +1 -1
  169. package/dist/actions/get-ad-account-history.mjs +1 -0
  170. package/dist/actions/get-ad-account-history.mjs.map +1 -1
  171. package/dist/actions/get-ad-account.cjs +1 -0
  172. package/dist/actions/get-ad-account.cjs.map +1 -1
  173. package/dist/actions/get-ad-account.d.cts +3 -3
  174. package/dist/actions/get-ad-account.d.cts.map +1 -1
  175. package/dist/actions/get-ad-account.d.mts +3 -3
  176. package/dist/actions/get-ad-account.d.mts.map +1 -1
  177. package/dist/actions/get-ad-account.mjs +1 -0
  178. package/dist/actions/get-ad-account.mjs.map +1 -1
  179. package/dist/actions/get-ad-group.cjs +1 -0
  180. package/dist/actions/get-ad-group.cjs.map +1 -1
  181. package/dist/actions/get-ad-group.d.cts +3 -3
  182. package/dist/actions/get-ad-group.d.cts.map +1 -1
  183. package/dist/actions/get-ad-group.d.mts +3 -3
  184. package/dist/actions/get-ad-group.d.mts.map +1 -1
  185. package/dist/actions/get-ad-group.mjs +1 -0
  186. package/dist/actions/get-ad-group.mjs.map +1 -1
  187. package/dist/actions/get-app-last-fired-at.cjs +1 -0
  188. package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
  189. package/dist/actions/get-app-last-fired-at.d.cts +3 -3
  190. package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
  191. package/dist/actions/get-app-last-fired-at.d.mts +3 -3
  192. package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
  193. package/dist/actions/get-app-last-fired-at.mjs +1 -0
  194. package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
  195. package/dist/actions/get-business.cjs +1 -0
  196. package/dist/actions/get-business.cjs.map +1 -1
  197. package/dist/actions/get-business.d.cts +3 -3
  198. package/dist/actions/get-business.d.cts.map +1 -1
  199. package/dist/actions/get-business.d.mts +3 -3
  200. package/dist/actions/get-business.d.mts.map +1 -1
  201. package/dist/actions/get-business.mjs +1 -0
  202. package/dist/actions/get-business.mjs.map +1 -1
  203. package/dist/actions/get-campaign.cjs +1 -0
  204. package/dist/actions/get-campaign.cjs.map +1 -1
  205. package/dist/actions/get-campaign.d.cts +3 -3
  206. package/dist/actions/get-campaign.d.cts.map +1 -1
  207. package/dist/actions/get-campaign.d.mts +3 -3
  208. package/dist/actions/get-campaign.d.mts.map +1 -1
  209. package/dist/actions/get-campaign.mjs +1 -0
  210. package/dist/actions/get-campaign.mjs.map +1 -1
  211. package/dist/actions/get-channel-planning-reach.cjs +1 -0
  212. package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
  213. package/dist/actions/get-channel-planning-reach.d.cts +3 -9
  214. package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
  215. package/dist/actions/get-channel-planning-reach.d.mts +3 -9
  216. package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
  217. package/dist/actions/get-channel-planning-reach.mjs +1 -0
  218. package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
  219. package/dist/actions/get-child-funding-instruments.cjs +1 -0
  220. package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
  221. package/dist/actions/get-child-funding-instruments.d.cts +3 -5
  222. package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
  223. package/dist/actions/get-child-funding-instruments.d.mts +3 -5
  224. package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
  225. package/dist/actions/get-child-funding-instruments.mjs +1 -0
  226. package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
  227. package/dist/actions/get-custom-audience.cjs +1 -0
  228. package/dist/actions/get-custom-audience.cjs.map +1 -1
  229. package/dist/actions/get-custom-audience.d.cts +4 -4
  230. package/dist/actions/get-custom-audience.d.cts.map +1 -1
  231. package/dist/actions/get-custom-audience.d.mts +4 -4
  232. package/dist/actions/get-custom-audience.d.mts.map +1 -1
  233. package/dist/actions/get-custom-audience.mjs +1 -0
  234. package/dist/actions/get-custom-audience.mjs.map +1 -1
  235. package/dist/actions/get-lead-gen-form.cjs +1 -0
  236. package/dist/actions/get-lead-gen-form.cjs.map +1 -1
  237. package/dist/actions/get-lead-gen-form.d.cts +3 -3
  238. package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
  239. package/dist/actions/get-lead-gen-form.d.mts +3 -3
  240. package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
  241. package/dist/actions/get-lead-gen-form.mjs +1 -0
  242. package/dist/actions/get-lead-gen-form.mjs.map +1 -1
  243. package/dist/actions/get-me.cjs +1 -0
  244. package/dist/actions/get-me.cjs.map +1 -1
  245. package/dist/actions/get-me.d.cts +3 -1
  246. package/dist/actions/get-me.d.cts.map +1 -1
  247. package/dist/actions/get-me.d.mts +3 -1
  248. package/dist/actions/get-me.d.mts.map +1 -1
  249. package/dist/actions/get-me.mjs +1 -0
  250. package/dist/actions/get-me.mjs.map +1 -1
  251. package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
  252. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
  253. package/dist/actions/get-pixel-last-fired-at.d.cts +3 -3
  254. package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
  255. package/dist/actions/get-pixel-last-fired-at.d.mts +3 -3
  256. package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
  257. package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
  258. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
  259. package/dist/actions/get-post.cjs +1 -0
  260. package/dist/actions/get-post.cjs.map +1 -1
  261. package/dist/actions/get-post.d.cts +4 -4
  262. package/dist/actions/get-post.d.cts.map +1 -1
  263. package/dist/actions/get-post.d.mts +4 -4
  264. package/dist/actions/get-post.d.mts.map +1 -1
  265. package/dist/actions/get-post.mjs +1 -0
  266. package/dist/actions/get-post.mjs.map +1 -1
  267. package/dist/actions/get-product-catalog.cjs +1 -0
  268. package/dist/actions/get-product-catalog.cjs.map +1 -1
  269. package/dist/actions/get-product-catalog.d.cts +3 -3
  270. package/dist/actions/get-product-catalog.d.cts.map +1 -1
  271. package/dist/actions/get-product-catalog.d.mts +3 -3
  272. package/dist/actions/get-product-catalog.d.mts.map +1 -1
  273. package/dist/actions/get-product-catalog.mjs +1 -0
  274. package/dist/actions/get-product-catalog.mjs.map +1 -1
  275. package/dist/actions/get-product-feed.cjs +1 -0
  276. package/dist/actions/get-product-feed.cjs.map +1 -1
  277. package/dist/actions/get-product-feed.d.cts +3 -3
  278. package/dist/actions/get-product-feed.d.cts.map +1 -1
  279. package/dist/actions/get-product-feed.d.mts +3 -3
  280. package/dist/actions/get-product-feed.d.mts.map +1 -1
  281. package/dist/actions/get-product-feed.mjs +1 -0
  282. package/dist/actions/get-product-feed.mjs.map +1 -1
  283. package/dist/actions/get-product-set.cjs +1 -0
  284. package/dist/actions/get-product-set.cjs.map +1 -1
  285. package/dist/actions/get-product-set.d.cts +3 -3
  286. package/dist/actions/get-product-set.d.cts.map +1 -1
  287. package/dist/actions/get-product-set.d.mts +3 -3
  288. package/dist/actions/get-product-set.d.mts.map +1 -1
  289. package/dist/actions/get-product-set.mjs +1 -0
  290. package/dist/actions/get-product-set.mjs.map +1 -1
  291. package/dist/actions/get-profile.cjs +1 -0
  292. package/dist/actions/get-profile.cjs.map +1 -1
  293. package/dist/actions/get-profile.d.cts +3 -3
  294. package/dist/actions/get-profile.d.cts.map +1 -1
  295. package/dist/actions/get-profile.d.mts +3 -3
  296. package/dist/actions/get-profile.d.mts.map +1 -1
  297. package/dist/actions/get-profile.mjs +1 -0
  298. package/dist/actions/get-profile.mjs.map +1 -1
  299. package/dist/actions/get-saved-audience.cjs +1 -0
  300. package/dist/actions/get-saved-audience.cjs.map +1 -1
  301. package/dist/actions/get-saved-audience.d.cts +4 -4
  302. package/dist/actions/get-saved-audience.d.cts.map +1 -1
  303. package/dist/actions/get-saved-audience.d.mts +4 -4
  304. package/dist/actions/get-saved-audience.d.mts.map +1 -1
  305. package/dist/actions/get-saved-audience.mjs +1 -0
  306. package/dist/actions/get-saved-audience.mjs.map +1 -1
  307. package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
  308. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
  309. package/dist/actions/get-sk-ad-network-availability.d.cts +3 -5
  310. package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
  311. package/dist/actions/get-sk-ad-network-availability.d.mts +3 -5
  312. package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
  313. package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
  314. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
  315. package/dist/actions/get-structured-post.cjs +1 -0
  316. package/dist/actions/get-structured-post.cjs.map +1 -1
  317. package/dist/actions/get-structured-post.d.cts +3 -3
  318. package/dist/actions/get-structured-post.d.cts.map +1 -1
  319. package/dist/actions/get-structured-post.d.mts +3 -3
  320. package/dist/actions/get-structured-post.d.mts.map +1 -1
  321. package/dist/actions/get-structured-post.mjs +1 -0
  322. package/dist/actions/get-structured-post.mjs.map +1 -1
  323. package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
  324. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
  325. package/dist/actions/list-ad-accounts-by-business.d.cts +3 -6
  326. package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
  327. package/dist/actions/list-ad-accounts-by-business.d.mts +3 -6
  328. package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
  329. package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
  330. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
  331. package/dist/actions/list-ad-groups.cjs +1 -0
  332. package/dist/actions/list-ad-groups.cjs.map +1 -1
  333. package/dist/actions/list-ad-groups.d.cts +3 -7
  334. package/dist/actions/list-ad-groups.d.cts.map +1 -1
  335. package/dist/actions/list-ad-groups.d.mts +3 -7
  336. package/dist/actions/list-ad-groups.d.mts.map +1 -1
  337. package/dist/actions/list-ad-groups.mjs +1 -0
  338. package/dist/actions/list-ad-groups.mjs.map +1 -1
  339. package/dist/actions/list-ads.cjs +1 -0
  340. package/dist/actions/list-ads.cjs.map +1 -1
  341. package/dist/actions/list-ads.d.cts +3 -6
  342. package/dist/actions/list-ads.d.cts.map +1 -1
  343. package/dist/actions/list-ads.d.mts +3 -6
  344. package/dist/actions/list-ads.d.mts.map +1 -1
  345. package/dist/actions/list-ads.mjs +1 -0
  346. package/dist/actions/list-ads.mjs.map +1 -1
  347. package/dist/actions/list-campaigns.cjs +1 -0
  348. package/dist/actions/list-campaigns.cjs.map +1 -1
  349. package/dist/actions/list-campaigns.d.cts +3 -6
  350. package/dist/actions/list-campaigns.d.cts.map +1 -1
  351. package/dist/actions/list-campaigns.d.mts +3 -6
  352. package/dist/actions/list-campaigns.d.mts.map +1 -1
  353. package/dist/actions/list-campaigns.mjs +1 -0
  354. package/dist/actions/list-campaigns.mjs.map +1 -1
  355. package/dist/actions/list-carriers.cjs +1 -0
  356. package/dist/actions/list-carriers.cjs.map +1 -1
  357. package/dist/actions/list-carriers.d.cts +3 -4
  358. package/dist/actions/list-carriers.d.cts.map +1 -1
  359. package/dist/actions/list-carriers.d.mts +3 -4
  360. package/dist/actions/list-carriers.d.mts.map +1 -1
  361. package/dist/actions/list-carriers.mjs +1 -0
  362. package/dist/actions/list-carriers.mjs.map +1 -1
  363. package/dist/actions/list-catalog-imports.cjs +1 -0
  364. package/dist/actions/list-catalog-imports.cjs.map +1 -1
  365. package/dist/actions/list-catalog-imports.d.cts +3 -7
  366. package/dist/actions/list-catalog-imports.d.cts.map +1 -1
  367. package/dist/actions/list-catalog-imports.d.mts +3 -7
  368. package/dist/actions/list-catalog-imports.d.mts.map +1 -1
  369. package/dist/actions/list-catalog-imports.mjs +1 -0
  370. package/dist/actions/list-catalog-imports.mjs.map +1 -1
  371. package/dist/actions/list-communities-suggestions.cjs +1 -0
  372. package/dist/actions/list-communities-suggestions.cjs.map +1 -1
  373. package/dist/actions/list-communities-suggestions.d.cts +3 -6
  374. package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
  375. package/dist/actions/list-communities-suggestions.d.mts +3 -6
  376. package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
  377. package/dist/actions/list-communities-suggestions.mjs +1 -0
  378. package/dist/actions/list-communities-suggestions.mjs.map +1 -1
  379. package/dist/actions/list-communities.cjs +1 -0
  380. package/dist/actions/list-communities.cjs.map +1 -1
  381. package/dist/actions/list-communities.d.cts +3 -5
  382. package/dist/actions/list-communities.d.cts.map +1 -1
  383. package/dist/actions/list-communities.d.mts +3 -5
  384. package/dist/actions/list-communities.d.mts.map +1 -1
  385. package/dist/actions/list-communities.mjs +1 -0
  386. package/dist/actions/list-communities.mjs.map +1 -1
  387. package/dist/actions/list-devices.cjs +1 -0
  388. package/dist/actions/list-devices.cjs.map +1 -1
  389. package/dist/actions/list-devices.d.cts +3 -4
  390. package/dist/actions/list-devices.d.cts.map +1 -1
  391. package/dist/actions/list-devices.d.mts +3 -4
  392. package/dist/actions/list-devices.d.mts.map +1 -1
  393. package/dist/actions/list-devices.mjs +1 -0
  394. package/dist/actions/list-devices.mjs.map +1 -1
  395. package/dist/actions/list-funding-instruments.cjs +1 -0
  396. package/dist/actions/list-funding-instruments.cjs.map +1 -1
  397. package/dist/actions/list-funding-instruments.d.cts +3 -12
  398. package/dist/actions/list-funding-instruments.d.cts.map +1 -1
  399. package/dist/actions/list-funding-instruments.d.mts +3 -12
  400. package/dist/actions/list-funding-instruments.d.mts.map +1 -1
  401. package/dist/actions/list-funding-instruments.mjs +1 -0
  402. package/dist/actions/list-funding-instruments.mjs.map +1 -1
  403. package/dist/actions/list-geolocations.cjs +1 -0
  404. package/dist/actions/list-geolocations.cjs.map +1 -1
  405. package/dist/actions/list-geolocations.d.cts +3 -5
  406. package/dist/actions/list-geolocations.d.cts.map +1 -1
  407. package/dist/actions/list-geolocations.d.mts +3 -5
  408. package/dist/actions/list-geolocations.d.mts.map +1 -1
  409. package/dist/actions/list-geolocations.mjs +1 -0
  410. package/dist/actions/list-geolocations.mjs.map +1 -1
  411. package/dist/actions/list-industries.cjs +1 -0
  412. package/dist/actions/list-industries.cjs.map +1 -1
  413. package/dist/actions/list-industries.d.cts +3 -1
  414. package/dist/actions/list-industries.d.cts.map +1 -1
  415. package/dist/actions/list-industries.d.mts +3 -1
  416. package/dist/actions/list-industries.d.mts.map +1 -1
  417. package/dist/actions/list-industries.mjs +1 -0
  418. package/dist/actions/list-industries.mjs.map +1 -1
  419. package/dist/actions/list-interests.cjs +1 -0
  420. package/dist/actions/list-interests.cjs.map +1 -1
  421. package/dist/actions/list-interests.d.cts +3 -1
  422. package/dist/actions/list-interests.d.cts.map +1 -1
  423. package/dist/actions/list-interests.d.mts +3 -1
  424. package/dist/actions/list-interests.d.mts.map +1 -1
  425. package/dist/actions/list-interests.mjs +1 -0
  426. package/dist/actions/list-interests.mjs.map +1 -1
  427. package/dist/actions/list-lead-gen-forms.cjs +1 -0
  428. package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
  429. package/dist/actions/list-lead-gen-forms.d.cts +3 -5
  430. package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
  431. package/dist/actions/list-lead-gen-forms.d.mts +3 -5
  432. package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
  433. package/dist/actions/list-lead-gen-forms.mjs +1 -0
  434. package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
  435. package/dist/actions/list-my-businesses.cjs +1 -0
  436. package/dist/actions/list-my-businesses.cjs.map +1 -1
  437. package/dist/actions/list-my-businesses.d.cts +3 -6
  438. package/dist/actions/list-my-businesses.d.cts.map +1 -1
  439. package/dist/actions/list-my-businesses.d.mts +3 -6
  440. package/dist/actions/list-my-businesses.d.mts.map +1 -1
  441. package/dist/actions/list-my-businesses.mjs +1 -0
  442. package/dist/actions/list-my-businesses.mjs.map +1 -1
  443. package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
  444. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
  445. package/dist/actions/list-pixels-by-ad-account.d.cts +3 -5
  446. package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
  447. package/dist/actions/list-pixels-by-ad-account.d.mts +3 -5
  448. package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
  449. package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
  450. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
  451. package/dist/actions/list-pixels-by-business.cjs +1 -0
  452. package/dist/actions/list-pixels-by-business.cjs.map +1 -1
  453. package/dist/actions/list-pixels-by-business.d.cts +3 -5
  454. package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
  455. package/dist/actions/list-pixels-by-business.d.mts +3 -5
  456. package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
  457. package/dist/actions/list-pixels-by-business.mjs +1 -0
  458. package/dist/actions/list-pixels-by-business.mjs.map +1 -1
  459. package/dist/actions/list-posts.cjs +1 -0
  460. package/dist/actions/list-posts.cjs.map +1 -1
  461. package/dist/actions/list-posts.d.cts +4 -8
  462. package/dist/actions/list-posts.d.cts.map +1 -1
  463. package/dist/actions/list-posts.d.mts +4 -8
  464. package/dist/actions/list-posts.d.mts.map +1 -1
  465. package/dist/actions/list-posts.mjs +1 -0
  466. package/dist/actions/list-posts.mjs.map +1 -1
  467. package/dist/actions/list-product-catalogs.cjs +1 -0
  468. package/dist/actions/list-product-catalogs.cjs.map +1 -1
  469. package/dist/actions/list-product-catalogs.d.cts +3 -3
  470. package/dist/actions/list-product-catalogs.d.cts.map +1 -1
  471. package/dist/actions/list-product-catalogs.d.mts +3 -3
  472. package/dist/actions/list-product-catalogs.d.mts.map +1 -1
  473. package/dist/actions/list-product-catalogs.mjs +1 -0
  474. package/dist/actions/list-product-catalogs.mjs.map +1 -1
  475. package/dist/actions/list-product-feeds.cjs +1 -0
  476. package/dist/actions/list-product-feeds.cjs.map +1 -1
  477. package/dist/actions/list-product-feeds.d.cts +3 -3
  478. package/dist/actions/list-product-feeds.d.cts.map +1 -1
  479. package/dist/actions/list-product-feeds.d.mts +3 -3
  480. package/dist/actions/list-product-feeds.d.mts.map +1 -1
  481. package/dist/actions/list-product-feeds.mjs +1 -0
  482. package/dist/actions/list-product-feeds.mjs.map +1 -1
  483. package/dist/actions/list-product-sets.cjs +1 -0
  484. package/dist/actions/list-product-sets.cjs.map +1 -1
  485. package/dist/actions/list-product-sets.d.cts +3 -5
  486. package/dist/actions/list-product-sets.d.cts.map +1 -1
  487. package/dist/actions/list-product-sets.d.mts +3 -5
  488. package/dist/actions/list-product-sets.d.mts.map +1 -1
  489. package/dist/actions/list-product-sets.mjs +1 -0
  490. package/dist/actions/list-product-sets.mjs.map +1 -1
  491. package/dist/actions/list-products-in-product-catalog.cjs +1 -0
  492. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
  493. package/dist/actions/list-products-in-product-catalog.d.cts +3 -8
  494. package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
  495. package/dist/actions/list-products-in-product-catalog.d.mts +3 -8
  496. package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
  497. package/dist/actions/list-products-in-product-catalog.mjs +1 -0
  498. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
  499. package/dist/actions/list-products-in-product-set.cjs +1 -0
  500. package/dist/actions/list-products-in-product-set.cjs.map +1 -1
  501. package/dist/actions/list-products-in-product-set.d.cts +3 -9
  502. package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
  503. package/dist/actions/list-products-in-product-set.d.mts +3 -9
  504. package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
  505. package/dist/actions/list-products-in-product-set.mjs +1 -0
  506. package/dist/actions/list-products-in-product-set.mjs.map +1 -1
  507. package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
  508. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
  509. package/dist/actions/list-profiles-by-ad-account.d.cts +3 -5
  510. package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
  511. package/dist/actions/list-profiles-by-ad-account.d.mts +3 -5
  512. package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
  513. package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
  514. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
  515. package/dist/actions/list-profiles-by-business.cjs +1 -0
  516. package/dist/actions/list-profiles-by-business.cjs.map +1 -1
  517. package/dist/actions/list-profiles-by-business.d.cts +3 -5
  518. package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
  519. package/dist/actions/list-profiles-by-business.d.mts +3 -5
  520. package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
  521. package/dist/actions/list-profiles-by-business.mjs +1 -0
  522. package/dist/actions/list-profiles-by-business.mjs.map +1 -1
  523. package/dist/actions/list-saved-audiences.cjs +1 -0
  524. package/dist/actions/list-saved-audiences.cjs.map +1 -1
  525. package/dist/actions/list-saved-audiences.d.cts +3 -5
  526. package/dist/actions/list-saved-audiences.d.cts.map +1 -1
  527. package/dist/actions/list-saved-audiences.d.mts +3 -5
  528. package/dist/actions/list-saved-audiences.d.mts.map +1 -1
  529. package/dist/actions/list-saved-audiences.mjs +1 -0
  530. package/dist/actions/list-saved-audiences.mjs.map +1 -1
  531. package/dist/actions/list-structured-posts.cjs +1 -0
  532. package/dist/actions/list-structured-posts.cjs.map +1 -1
  533. package/dist/actions/list-structured-posts.d.cts +4 -9
  534. package/dist/actions/list-structured-posts.d.cts.map +1 -1
  535. package/dist/actions/list-structured-posts.d.mts +4 -9
  536. package/dist/actions/list-structured-posts.d.mts.map +1 -1
  537. package/dist/actions/list-structured-posts.mjs +1 -0
  538. package/dist/actions/list-structured-posts.mjs.map +1 -1
  539. package/dist/actions/list-time-zones.cjs +1 -0
  540. package/dist/actions/list-time-zones.cjs.map +1 -1
  541. package/dist/actions/list-time-zones.d.cts +3 -4
  542. package/dist/actions/list-time-zones.d.cts.map +1 -1
  543. package/dist/actions/list-time-zones.d.mts +3 -4
  544. package/dist/actions/list-time-zones.d.mts.map +1 -1
  545. package/dist/actions/list-time-zones.mjs +1 -0
  546. package/dist/actions/list-time-zones.mjs.map +1 -1
  547. package/dist/actions/list-user-custom-audiences.cjs +1 -0
  548. package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
  549. package/dist/actions/list-user-custom-audiences.d.cts +3 -6
  550. package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
  551. package/dist/actions/list-user-custom-audiences.d.mts +3 -6
  552. package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
  553. package/dist/actions/list-user-custom-audiences.mjs +1 -0
  554. package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
  555. package/dist/actions/list3rd-party-audiences.cjs +1 -0
  556. package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
  557. package/dist/actions/list3rd-party-audiences.d.cts +3 -4
  558. package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
  559. package/dist/actions/list3rd-party-audiences.d.mts +3 -4
  560. package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
  561. package/dist/actions/list3rd-party-audiences.mjs +1 -0
  562. package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
  563. package/dist/actions/query-ad-accounts.cjs +1 -0
  564. package/dist/actions/query-ad-accounts.cjs.map +1 -1
  565. package/dist/actions/query-ad-accounts.d.cts +3 -17
  566. package/dist/actions/query-ad-accounts.d.cts.map +1 -1
  567. package/dist/actions/query-ad-accounts.d.mts +3 -17
  568. package/dist/actions/query-ad-accounts.d.mts.map +1 -1
  569. package/dist/actions/query-ad-accounts.mjs +1 -0
  570. package/dist/actions/query-ad-accounts.mjs.map +1 -1
  571. package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
  572. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
  573. package/dist/actions/query-funding-instruments-by-business.d.cts +3 -11
  574. package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
  575. package/dist/actions/query-funding-instruments-by-business.d.mts +3 -11
  576. package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
  577. package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
  578. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
  579. package/dist/actions/search-communities.cjs +1 -0
  580. package/dist/actions/search-communities.cjs.map +1 -1
  581. package/dist/actions/search-communities.d.cts +3 -5
  582. package/dist/actions/search-communities.d.cts.map +1 -1
  583. package/dist/actions/search-communities.d.mts +3 -5
  584. package/dist/actions/search-communities.d.mts.map +1 -1
  585. package/dist/actions/search-communities.mjs +1 -0
  586. package/dist/actions/search-communities.mjs.map +1 -1
  587. package/dist/actions/update-ad-account.cjs +1 -0
  588. package/dist/actions/update-ad-account.cjs.map +1 -1
  589. package/dist/actions/update-ad-account.d.cts +3 -17
  590. package/dist/actions/update-ad-account.d.cts.map +1 -1
  591. package/dist/actions/update-ad-account.d.mts +3 -17
  592. package/dist/actions/update-ad-account.d.mts.map +1 -1
  593. package/dist/actions/update-ad-account.mjs +1 -0
  594. package/dist/actions/update-ad-account.mjs.map +1 -1
  595. package/dist/actions/update-business.cjs +1 -0
  596. package/dist/actions/update-business.cjs.map +1 -1
  597. package/dist/actions/update-business.d.cts +3 -12
  598. package/dist/actions/update-business.d.cts.map +1 -1
  599. package/dist/actions/update-business.d.mts +3 -12
  600. package/dist/actions/update-business.d.mts.map +1 -1
  601. package/dist/actions/update-business.mjs +1 -0
  602. package/dist/actions/update-business.mjs.map +1 -1
  603. package/dist/actions/update-campaign.cjs +1 -0
  604. package/dist/actions/update-campaign.cjs.map +1 -1
  605. package/dist/actions/update-campaign.d.cts +3 -27
  606. package/dist/actions/update-campaign.d.cts.map +1 -1
  607. package/dist/actions/update-campaign.d.mts +3 -27
  608. package/dist/actions/update-campaign.d.mts.map +1 -1
  609. package/dist/actions/update-campaign.mjs +1 -0
  610. package/dist/actions/update-campaign.mjs.map +1 -1
  611. package/dist/actions/update-custom-audience-users.cjs +1 -0
  612. package/dist/actions/update-custom-audience-users.cjs.map +1 -1
  613. package/dist/actions/update-custom-audience-users.d.cts +3 -8
  614. package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
  615. package/dist/actions/update-custom-audience-users.d.mts +3 -8
  616. package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
  617. package/dist/actions/update-custom-audience-users.mjs +1 -0
  618. package/dist/actions/update-custom-audience-users.mjs.map +1 -1
  619. package/dist/actions/update-post.cjs +1 -0
  620. package/dist/actions/update-post.cjs.map +1 -1
  621. package/dist/actions/update-post.d.cts +3 -6
  622. package/dist/actions/update-post.d.cts.map +1 -1
  623. package/dist/actions/update-post.d.mts +3 -6
  624. package/dist/actions/update-post.d.mts.map +1 -1
  625. package/dist/actions/update-post.mjs +1 -0
  626. package/dist/actions/update-post.mjs.map +1 -1
  627. package/dist/actions/update-product-catalog.cjs +1 -0
  628. package/dist/actions/update-product-catalog.cjs.map +1 -1
  629. package/dist/actions/update-product-catalog.d.cts +3 -7
  630. package/dist/actions/update-product-catalog.d.cts.map +1 -1
  631. package/dist/actions/update-product-catalog.d.mts +3 -7
  632. package/dist/actions/update-product-catalog.d.mts.map +1 -1
  633. package/dist/actions/update-product-catalog.mjs +1 -0
  634. package/dist/actions/update-product-catalog.mjs.map +1 -1
  635. package/dist/actions/update-product-feed.cjs +1 -0
  636. package/dist/actions/update-product-feed.cjs.map +1 -1
  637. package/dist/actions/update-product-feed.d.cts +3 -21
  638. package/dist/actions/update-product-feed.d.cts.map +1 -1
  639. package/dist/actions/update-product-feed.d.mts +3 -21
  640. package/dist/actions/update-product-feed.d.mts.map +1 -1
  641. package/dist/actions/update-product-feed.mjs +1 -0
  642. package/dist/actions/update-product-feed.mjs.map +1 -1
  643. package/dist/actions/update-product-set.cjs +1 -0
  644. package/dist/actions/update-product-set.cjs.map +1 -1
  645. package/dist/actions/update-product-set.d.cts +3 -7
  646. package/dist/actions/update-product-set.d.cts.map +1 -1
  647. package/dist/actions/update-product-set.d.mts +3 -7
  648. package/dist/actions/update-product-set.d.mts.map +1 -1
  649. package/dist/actions/update-product-set.mjs +1 -0
  650. package/dist/actions/update-product-set.mjs.map +1 -1
  651. package/dist/actions/update-saved-audience.cjs +1 -0
  652. package/dist/actions/update-saved-audience.cjs.map +1 -1
  653. package/dist/actions/update-saved-audience.d.cts +4 -35
  654. package/dist/actions/update-saved-audience.d.cts.map +1 -1
  655. package/dist/actions/update-saved-audience.d.mts +4 -35
  656. package/dist/actions/update-saved-audience.d.mts.map +1 -1
  657. package/dist/actions/update-saved-audience.mjs +1 -0
  658. package/dist/actions/update-saved-audience.mjs.map +1 -1
  659. package/dist/actions/update-structured-post.cjs +1 -0
  660. package/dist/actions/update-structured-post.cjs.map +1 -1
  661. package/dist/actions/update-structured-post.d.cts +3 -6
  662. package/dist/actions/update-structured-post.d.cts.map +1 -1
  663. package/dist/actions/update-structured-post.d.mts +3 -6
  664. package/dist/actions/update-structured-post.d.mts.map +1 -1
  665. package/dist/actions/update-structured-post.mjs +1 -0
  666. package/dist/actions/update-structured-post.mjs.map +1 -1
  667. package/dist/app.cjs +5 -2
  668. package/dist/app.cjs.map +1 -1
  669. package/dist/app.d.cts +7 -1
  670. package/dist/app.d.cts.map +1 -1
  671. package/dist/app.d.mts +7 -1
  672. package/dist/app.d.mts.map +1 -1
  673. package/dist/app.mjs +3 -2
  674. package/dist/app.mjs.map +1 -1
  675. package/dist/index.d.cts +1 -1
  676. package/dist/index.d.mts +1 -1
  677. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.record(z.string(), z.unknown())).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).passthrough().describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,cAAcA,IAAAA,EAAE,OAAO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/list-products-in-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.record(z.string(), z.unknown())).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).passthrough().describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog: AppAction<\n typeof RedditAdsListProductsInProductCatalogInput,\n typeof RedditAdsListProductsInProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY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E,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;CAC9G,YAAY,2DAA2D,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,wCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-products-in-product-catalog.d.ts
@@ -75,14 +77,7 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
75
77
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
78
  }, z.core.$loose>>;
77
79
  }, z.core.$loose>;
78
- declare const redditAdsListProductsInProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
79
- catalog_id: string;
80
- ids?: string[] | undefined;
81
- search?: string | undefined;
82
- "page.size"?: number | undefined;
83
- "page.token"?: string | undefined;
84
- approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
85
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
80
+ declare const redditAdsListProductsInProductCatalog: AppAction<typeof RedditAdsListProductsInProductCatalogInput, typeof RedditAdsListProductsInProductCatalogOutput, typeof redditAds.credential>;
86
81
  //#endregion
87
82
  export { redditAdsListProductsInProductCatalog };
88
83
  //# sourceMappingURL=list-products-in-product-catalog.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-catalog.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"list-products-in-product-catalog.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-products-in-product-catalog.d.ts
@@ -75,14 +77,7 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
75
77
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
78
  }, z.core.$loose>>;
77
79
  }, z.core.$loose>;
78
- declare const redditAdsListProductsInProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
79
- catalog_id: string;
80
- ids?: string[] | undefined;
81
- search?: string | undefined;
82
- "page.size"?: number | undefined;
83
- "page.token"?: string | undefined;
84
- approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
85
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
80
+ declare const redditAdsListProductsInProductCatalog: AppAction<typeof RedditAdsListProductsInProductCatalogInput, typeof RedditAdsListProductsInProductCatalogOutput, typeof redditAds.credential>;
86
81
  //#endregion
87
82
  export { redditAdsListProductsInProductCatalog };
88
83
  //# sourceMappingURL=list-products-in-product-catalog.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-catalog.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"list-products-in-product-catalog.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-products-in-product-catalog.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-catalog.mjs","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.record(z.string(), z.unknown())).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).passthrough().describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,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AAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,wCAAwC,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;EAC9G,YAAY,2DAA2D,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-products-in-product-catalog.mjs","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.record(z.string(), z.unknown())).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).passthrough().describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog: AppAction<\n typeof RedditAdsListProductsInProductCatalogInput,\n typeof RedditAdsListProductsInProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,wCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;EAC9G,YAAY,2DAA2D,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-products-in-product-set.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-set.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAA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AAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;CAC9G,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-products-in-product-set.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet: AppAction<\n typeof RedditAdsListProductsInProductSetInput,\n typeof RedditAdsListProductsInProductSetOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0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C,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-products-in-product-set.d.ts
@@ -119,15 +121,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
119
121
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
122
  }, z.core.$loose>>;
121
123
  }, z.core.$loose>;
122
- declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
123
- product_set_id: string;
124
- ids?: string[] | undefined;
125
- search?: string | undefined;
126
- "page.size"?: number | undefined;
127
- issue_code?: "INVALID_ADDITIONAL_IMAGE_LINKS" | "INVALID_SALE_PRICE" | "INVALID_SALE_PRICE_EFFECTIVE_DATE" | "INVALID_EXPIRATION_DATE" | "IMAGE_PROCESSING_ERROR" | "IMAGE_REJECTED" | "LOW_IMAGE_QUALITY" | "INVALID_CUSTOM_LABEL_0" | "INVALID_CUSTOM_LABEL_1" | "INVALID_CUSTOM_LABEL_2" | "INVALID_CUSTOM_LABEL_3" | "INVALID_CUSTOM_LABEL_4" | "INVALID_GOOGLE_PRODUCT_CATEGORY" | "INVALID_PRODUCT_TYPE" | "INVALID_BRAND" | "INVALID_GTIN" | "INVALID_MPN" | "INVALID_ITEM_GROUP_ID" | "INVALID_COST_OF_GOODS_SOLD" | "INVALID_AVAILABILITY" | "INVALID_MOBILE_LINK" | "INVALID_PLATFORM_SPECIFIC_LINK" | "INVALID_AVERAGE_REVIEW_RATING" | "INVALID_NUMBER_OF_RATINGS" | "INVALID_CONDITION" | "INVALID_AGE_GROUP" | "INVALID_GENDER" | "INVALID_COLOR" | "INVALID_SIZE" | "INVALID_SIZE_TYPE" | "INVALID_MATERIAL" | "INVALID_PATTERN" | "INVALID_CUSTOM_NUMBER_0" | "INVALID_CUSTOM_NUMBER_1" | "INVALID_CUSTOM_NUMBER_2" | "INVALID_CUSTOM_NUMBER_3" | "INVALID_CUSTOM_NUMBER_4" | "INVALID_PRODUCT_DETAIL" | "INVALID_PRODUCT_HIGHLIGHT" | "INVALID_LIFESTYLE_IMAGE_LINK" | "INVALID_IS_BUNDLE" | "INCOMPATIBLE_WITH_FUTURE_RELEASE" | undefined;
128
- "page.token"?: string | undefined;
129
- approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
130
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
124
+ declare const redditAdsListProductsInProductSet: AppAction<typeof RedditAdsListProductsInProductSetInput, typeof RedditAdsListProductsInProductSetOutput, typeof redditAds.credential>;
131
125
  //#endregion
132
126
  export { redditAdsListProductsInProductSet };
133
127
  //# sourceMappingURL=list-products-in-product-set.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-set.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-products-in-product-set.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-products-in-product-set.d.ts
@@ -119,15 +121,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
119
121
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
122
  }, z.core.$loose>>;
121
123
  }, z.core.$loose>;
122
- declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
123
- product_set_id: string;
124
- ids?: string[] | undefined;
125
- search?: string | undefined;
126
- "page.size"?: number | undefined;
127
- issue_code?: "INVALID_ADDITIONAL_IMAGE_LINKS" | "INVALID_SALE_PRICE" | "INVALID_SALE_PRICE_EFFECTIVE_DATE" | "INVALID_EXPIRATION_DATE" | "IMAGE_PROCESSING_ERROR" | "IMAGE_REJECTED" | "LOW_IMAGE_QUALITY" | "INVALID_CUSTOM_LABEL_0" | "INVALID_CUSTOM_LABEL_1" | "INVALID_CUSTOM_LABEL_2" | "INVALID_CUSTOM_LABEL_3" | "INVALID_CUSTOM_LABEL_4" | "INVALID_GOOGLE_PRODUCT_CATEGORY" | "INVALID_PRODUCT_TYPE" | "INVALID_BRAND" | "INVALID_GTIN" | "INVALID_MPN" | "INVALID_ITEM_GROUP_ID" | "INVALID_COST_OF_GOODS_SOLD" | "INVALID_AVAILABILITY" | "INVALID_MOBILE_LINK" | "INVALID_PLATFORM_SPECIFIC_LINK" | "INVALID_AVERAGE_REVIEW_RATING" | "INVALID_NUMBER_OF_RATINGS" | "INVALID_CONDITION" | "INVALID_AGE_GROUP" | "INVALID_GENDER" | "INVALID_COLOR" | "INVALID_SIZE" | "INVALID_SIZE_TYPE" | "INVALID_MATERIAL" | "INVALID_PATTERN" | "INVALID_CUSTOM_NUMBER_0" | "INVALID_CUSTOM_NUMBER_1" | "INVALID_CUSTOM_NUMBER_2" | "INVALID_CUSTOM_NUMBER_3" | "INVALID_CUSTOM_NUMBER_4" | "INVALID_PRODUCT_DETAIL" | "INVALID_PRODUCT_HIGHLIGHT" | "INVALID_LIFESTYLE_IMAGE_LINK" | "INVALID_IS_BUNDLE" | "INCOMPATIBLE_WITH_FUTURE_RELEASE" | undefined;
128
- "page.token"?: string | undefined;
129
- approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
130
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
124
+ declare const redditAdsListProductsInProductSet: AppAction<typeof RedditAdsListProductsInProductSetInput, typeof RedditAdsListProductsInProductSetOutput, typeof redditAds.credential>;
131
125
  //#endregion
132
126
  export { redditAdsListProductsInProductSet };
133
127
  //# sourceMappingURL=list-products-in-product-set.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-set.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-products-in-product-set.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-products-in-product-set.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-products-in-product-set.mjs","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0B;EAA6B;EAAgC;EAAqB;CAAkC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxoC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,mBAAmB,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS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AAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;EAC9G,YAAY,uDAAuD,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-products-in-product-set.mjs","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet: AppAction<\n typeof RedditAdsListProductsInProductSetInput,\n typeof RedditAdsListProductsInProductSetOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0B;EAA6B;EAAgC;EAAqB;CAAkC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxoC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,mBAAmB,EAAE,KAAK;EAA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C,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yDAAyD,EAAE,OAAO;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,oCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;EAC9G,YAAY,uDAAuD,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-profiles-by-ad-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-profiles-by-ad-account.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kDAAkD;CACzH,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-profiles-by-ad-account.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount: AppAction<\n typeof RedditAdsListProfilesByAdAccountInput,\n typeof RedditAdsListProfilesByAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kDAAkD;CACzH,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,mCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-profiles-by-ad-account.d.ts
@@ -19,11 +21,7 @@ declare const RedditAdsListProfilesByAdAccountOutput: z.ZodObject<{
19
21
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const redditAdsListProfilesByAdAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- ad_account_id: string;
24
- page_size?: number | undefined;
25
- page_token?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const redditAdsListProfilesByAdAccount: AppAction<typeof RedditAdsListProfilesByAdAccountInput, typeof RedditAdsListProfilesByAdAccountOutput, typeof redditAds.credential>;
27
25
  //#endregion
28
26
  export { redditAdsListProfilesByAdAccount };
29
27
  //# sourceMappingURL=list-profiles-by-ad-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-profiles-by-ad-account.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"list-profiles-by-ad-account.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { redditAds } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-profiles-by-ad-account.d.ts
@@ -19,11 +21,7 @@ declare const RedditAdsListProfilesByAdAccountOutput: z.ZodObject<{
19
21
  previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const redditAdsListProfilesByAdAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- ad_account_id: string;
24
- page_size?: number | undefined;
25
- page_token?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const redditAdsListProfilesByAdAccount: AppAction<typeof RedditAdsListProfilesByAdAccountInput, typeof RedditAdsListProfilesByAdAccountOutput, typeof redditAds.credential>;
27
25
  //#endregion
28
26
  export { redditAdsListProfilesByAdAccount };
29
27
  //# sourceMappingURL=list-profiles-by-ad-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-profiles-by-ad-account.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"list-profiles-by-ad-account.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-profiles-by-ad-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-profiles-by-ad-account.mjs","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kDAAkD;EACzH,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-profiles-by-ad-account.mjs","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount: AppAction<\n typeof RedditAdsListProfilesByAdAccountInput,\n typeof RedditAdsListProfilesByAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-profiles-by-business.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-profiles-by-business.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC9I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACrH,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-profiles-by-business.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-business.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness: AppAction<\n typeof RedditAdsListProfilesByBusinessInput,\n typeof RedditAdsListProfilesByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC9I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,I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