@keystrokehq/reddit_ads 0.1.0

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 (698) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-ad-group.cjs +71 -0
  7. package/dist/actions/create-ad-group.cjs.map +1 -0
  8. package/dist/actions/create-ad-group.d.cts +9 -0
  9. package/dist/actions/create-ad-group.d.cts.map +1 -0
  10. package/dist/actions/create-ad-group.d.mts +9 -0
  11. package/dist/actions/create-ad-group.d.mts.map +1 -0
  12. package/dist/actions/create-ad-group.mjs +70 -0
  13. package/dist/actions/create-ad-group.mjs.map +1 -0
  14. package/dist/actions/create-batch-products.cjs +89 -0
  15. package/dist/actions/create-batch-products.cjs.map +1 -0
  16. package/dist/actions/create-batch-products.d.cts +9 -0
  17. package/dist/actions/create-batch-products.d.cts.map +1 -0
  18. package/dist/actions/create-batch-products.d.mts +9 -0
  19. package/dist/actions/create-batch-products.d.mts.map +1 -0
  20. package/dist/actions/create-batch-products.mjs +88 -0
  21. package/dist/actions/create-batch-products.mjs.map +1 -0
  22. package/dist/actions/create-campaign.cjs +130 -0
  23. package/dist/actions/create-campaign.cjs.map +1 -0
  24. package/dist/actions/create-campaign.d.cts +9 -0
  25. package/dist/actions/create-campaign.d.cts.map +1 -0
  26. package/dist/actions/create-campaign.d.mts +9 -0
  27. package/dist/actions/create-campaign.d.mts.map +1 -0
  28. package/dist/actions/create-campaign.mjs +129 -0
  29. package/dist/actions/create-campaign.mjs.map +1 -0
  30. package/dist/actions/create-custom-audience.cjs +41 -0
  31. package/dist/actions/create-custom-audience.cjs.map +1 -0
  32. package/dist/actions/create-custom-audience.d.cts +9 -0
  33. package/dist/actions/create-custom-audience.d.cts.map +1 -0
  34. package/dist/actions/create-custom-audience.d.mts +9 -0
  35. package/dist/actions/create-custom-audience.d.mts.map +1 -0
  36. package/dist/actions/create-custom-audience.mjs +40 -0
  37. package/dist/actions/create-custom-audience.mjs.map +1 -0
  38. package/dist/actions/create-lead-gen-form.cjs +51 -0
  39. package/dist/actions/create-lead-gen-form.cjs.map +1 -0
  40. package/dist/actions/create-lead-gen-form.d.cts +9 -0
  41. package/dist/actions/create-lead-gen-form.d.cts.map +1 -0
  42. package/dist/actions/create-lead-gen-form.d.mts +9 -0
  43. package/dist/actions/create-lead-gen-form.d.mts.map +1 -0
  44. package/dist/actions/create-lead-gen-form.mjs +50 -0
  45. package/dist/actions/create-lead-gen-form.mjs.map +1 -0
  46. package/dist/actions/create-post.cjs +60 -0
  47. package/dist/actions/create-post.cjs.map +1 -0
  48. package/dist/actions/create-post.d.cts +9 -0
  49. package/dist/actions/create-post.d.cts.map +1 -0
  50. package/dist/actions/create-post.d.mts +9 -0
  51. package/dist/actions/create-post.d.mts.map +1 -0
  52. package/dist/actions/create-post.mjs +59 -0
  53. package/dist/actions/create-post.mjs.map +1 -0
  54. package/dist/actions/create-product-catalog.cjs +79 -0
  55. package/dist/actions/create-product-catalog.cjs.map +1 -0
  56. package/dist/actions/create-product-catalog.d.cts +9 -0
  57. package/dist/actions/create-product-catalog.d.cts.map +1 -0
  58. package/dist/actions/create-product-catalog.d.mts +9 -0
  59. package/dist/actions/create-product-catalog.d.mts.map +1 -0
  60. package/dist/actions/create-product-catalog.mjs +78 -0
  61. package/dist/actions/create-product-catalog.mjs.map +1 -0
  62. package/dist/actions/create-product-feed.cjs +49 -0
  63. package/dist/actions/create-product-feed.cjs.map +1 -0
  64. package/dist/actions/create-product-feed.d.cts +9 -0
  65. package/dist/actions/create-product-feed.d.cts.map +1 -0
  66. package/dist/actions/create-product-feed.d.mts +9 -0
  67. package/dist/actions/create-product-feed.d.mts.map +1 -0
  68. package/dist/actions/create-product-feed.mjs +48 -0
  69. package/dist/actions/create-product-feed.mjs.map +1 -0
  70. package/dist/actions/create-product-set.cjs +37 -0
  71. package/dist/actions/create-product-set.cjs.map +1 -0
  72. package/dist/actions/create-product-set.d.cts +9 -0
  73. package/dist/actions/create-product-set.d.cts.map +1 -0
  74. package/dist/actions/create-product-set.d.mts +9 -0
  75. package/dist/actions/create-product-set.d.mts.map +1 -0
  76. package/dist/actions/create-product-set.mjs +36 -0
  77. package/dist/actions/create-product-set.mjs.map +1 -0
  78. package/dist/actions/create-saved-audience.cjs +93 -0
  79. package/dist/actions/create-saved-audience.cjs.map +1 -0
  80. package/dist/actions/create-saved-audience.d.cts +9 -0
  81. package/dist/actions/create-saved-audience.d.cts.map +1 -0
  82. package/dist/actions/create-saved-audience.d.mts +9 -0
  83. package/dist/actions/create-saved-audience.d.mts.map +1 -0
  84. package/dist/actions/create-saved-audience.mjs +92 -0
  85. package/dist/actions/create-saved-audience.mjs.map +1 -0
  86. package/dist/actions/create-structured-post-creation-job.cjs +89 -0
  87. package/dist/actions/create-structured-post-creation-job.cjs.map +1 -0
  88. package/dist/actions/create-structured-post-creation-job.d.cts +9 -0
  89. package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -0
  90. package/dist/actions/create-structured-post-creation-job.d.mts +9 -0
  91. package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -0
  92. package/dist/actions/create-structured-post-creation-job.mjs +88 -0
  93. package/dist/actions/create-structured-post-creation-job.mjs.map +1 -0
  94. package/dist/actions/delete-custom-audience.cjs +16 -0
  95. package/dist/actions/delete-custom-audience.cjs.map +1 -0
  96. package/dist/actions/delete-custom-audience.d.cts +9 -0
  97. package/dist/actions/delete-custom-audience.d.cts.map +1 -0
  98. package/dist/actions/delete-custom-audience.d.mts +9 -0
  99. package/dist/actions/delete-custom-audience.d.mts.map +1 -0
  100. package/dist/actions/delete-custom-audience.mjs +13 -0
  101. package/dist/actions/delete-custom-audience.mjs.map +1 -0
  102. package/dist/actions/delete-product-catalog.cjs +16 -0
  103. package/dist/actions/delete-product-catalog.cjs.map +1 -0
  104. package/dist/actions/delete-product-catalog.d.cts +9 -0
  105. package/dist/actions/delete-product-catalog.d.cts.map +1 -0
  106. package/dist/actions/delete-product-catalog.d.mts +9 -0
  107. package/dist/actions/delete-product-catalog.d.mts.map +1 -0
  108. package/dist/actions/delete-product-catalog.mjs +13 -0
  109. package/dist/actions/delete-product-catalog.mjs.map +1 -0
  110. package/dist/actions/delete-product-feed.cjs +16 -0
  111. package/dist/actions/delete-product-feed.cjs.map +1 -0
  112. package/dist/actions/delete-product-feed.d.cts +9 -0
  113. package/dist/actions/delete-product-feed.d.cts.map +1 -0
  114. package/dist/actions/delete-product-feed.d.mts +9 -0
  115. package/dist/actions/delete-product-feed.d.mts.map +1 -0
  116. package/dist/actions/delete-product-feed.mjs +13 -0
  117. package/dist/actions/delete-product-feed.mjs.map +1 -0
  118. package/dist/actions/delete-product-set.cjs +16 -0
  119. package/dist/actions/delete-product-set.cjs.map +1 -0
  120. package/dist/actions/delete-product-set.d.cts +9 -0
  121. package/dist/actions/delete-product-set.d.cts.map +1 -0
  122. package/dist/actions/delete-product-set.d.mts +9 -0
  123. package/dist/actions/delete-product-set.d.mts.map +1 -0
  124. package/dist/actions/delete-product-set.mjs +13 -0
  125. package/dist/actions/delete-product-set.mjs.map +1 -0
  126. package/dist/actions/delete-products.cjs +19 -0
  127. package/dist/actions/delete-products.cjs.map +1 -0
  128. package/dist/actions/delete-products.d.cts +9 -0
  129. package/dist/actions/delete-products.d.cts.map +1 -0
  130. package/dist/actions/delete-products.d.mts +9 -0
  131. package/dist/actions/delete-products.d.mts.map +1 -0
  132. package/dist/actions/delete-products.mjs +16 -0
  133. package/dist/actions/delete-products.mjs.map +1 -0
  134. package/dist/actions/do-geolocation-validations.cjs +29 -0
  135. package/dist/actions/do-geolocation-validations.cjs.map +1 -0
  136. package/dist/actions/do-geolocation-validations.d.cts +9 -0
  137. package/dist/actions/do-geolocation-validations.d.cts.map +1 -0
  138. package/dist/actions/do-geolocation-validations.d.mts +9 -0
  139. package/dist/actions/do-geolocation-validations.d.mts.map +1 -0
  140. package/dist/actions/do-geolocation-validations.mjs +28 -0
  141. package/dist/actions/do-geolocation-validations.mjs.map +1 -0
  142. package/dist/actions/do-keyword-validations.cjs +23 -0
  143. package/dist/actions/do-keyword-validations.cjs.map +1 -0
  144. package/dist/actions/do-keyword-validations.d.cts +9 -0
  145. package/dist/actions/do-keyword-validations.d.cts.map +1 -0
  146. package/dist/actions/do-keyword-validations.d.mts +9 -0
  147. package/dist/actions/do-keyword-validations.d.mts.map +1 -0
  148. package/dist/actions/do-keyword-validations.mjs +22 -0
  149. package/dist/actions/do-keyword-validations.mjs.map +1 -0
  150. package/dist/actions/generate-inspiration-creative-summary.cjs +53 -0
  151. package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -0
  152. package/dist/actions/generate-inspiration-creative-summary.d.cts +9 -0
  153. package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -0
  154. package/dist/actions/generate-inspiration-creative-summary.d.mts +9 -0
  155. package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -0
  156. package/dist/actions/generate-inspiration-creative-summary.mjs +52 -0
  157. package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -0
  158. package/dist/actions/get-a-report.cjs +58 -0
  159. package/dist/actions/get-a-report.cjs.map +1 -0
  160. package/dist/actions/get-a-report.d.cts +9 -0
  161. package/dist/actions/get-a-report.d.cts.map +1 -0
  162. package/dist/actions/get-a-report.d.mts +9 -0
  163. package/dist/actions/get-a-report.d.mts.map +1 -0
  164. package/dist/actions/get-a-report.mjs +57 -0
  165. package/dist/actions/get-a-report.mjs.map +1 -0
  166. package/dist/actions/get-ad-account-history.cjs +51 -0
  167. package/dist/actions/get-ad-account-history.cjs.map +1 -0
  168. package/dist/actions/get-ad-account-history.d.cts +9 -0
  169. package/dist/actions/get-ad-account-history.d.cts.map +1 -0
  170. package/dist/actions/get-ad-account-history.d.mts +9 -0
  171. package/dist/actions/get-ad-account-history.d.mts.map +1 -0
  172. package/dist/actions/get-ad-account-history.mjs +50 -0
  173. package/dist/actions/get-ad-account-history.mjs.map +1 -0
  174. package/dist/actions/get-ad-account.cjs +65 -0
  175. package/dist/actions/get-ad-account.cjs.map +1 -0
  176. package/dist/actions/get-ad-account.d.cts +9 -0
  177. package/dist/actions/get-ad-account.d.cts.map +1 -0
  178. package/dist/actions/get-ad-account.d.mts +9 -0
  179. package/dist/actions/get-ad-account.d.mts.map +1 -0
  180. package/dist/actions/get-ad-account.mjs +64 -0
  181. package/dist/actions/get-ad-account.mjs.map +1 -0
  182. package/dist/actions/get-ad-group.cjs +48 -0
  183. package/dist/actions/get-ad-group.cjs.map +1 -0
  184. package/dist/actions/get-ad-group.d.cts +9 -0
  185. package/dist/actions/get-ad-group.d.cts.map +1 -0
  186. package/dist/actions/get-ad-group.d.mts +9 -0
  187. package/dist/actions/get-ad-group.d.mts.map +1 -0
  188. package/dist/actions/get-ad-group.mjs +47 -0
  189. package/dist/actions/get-ad-group.mjs.map +1 -0
  190. package/dist/actions/get-app-last-fired-at.cjs +42 -0
  191. package/dist/actions/get-app-last-fired-at.cjs.map +1 -0
  192. package/dist/actions/get-app-last-fired-at.d.cts +9 -0
  193. package/dist/actions/get-app-last-fired-at.d.cts.map +1 -0
  194. package/dist/actions/get-app-last-fired-at.d.mts +9 -0
  195. package/dist/actions/get-app-last-fired-at.d.mts.map +1 -0
  196. package/dist/actions/get-app-last-fired-at.mjs +41 -0
  197. package/dist/actions/get-app-last-fired-at.mjs.map +1 -0
  198. package/dist/actions/get-business.cjs +29 -0
  199. package/dist/actions/get-business.cjs.map +1 -0
  200. package/dist/actions/get-business.d.cts +9 -0
  201. package/dist/actions/get-business.d.cts.map +1 -0
  202. package/dist/actions/get-business.d.mts +9 -0
  203. package/dist/actions/get-business.d.mts.map +1 -0
  204. package/dist/actions/get-business.mjs +28 -0
  205. package/dist/actions/get-business.mjs.map +1 -0
  206. package/dist/actions/get-campaign.cjs +45 -0
  207. package/dist/actions/get-campaign.cjs.map +1 -0
  208. package/dist/actions/get-campaign.d.cts +9 -0
  209. package/dist/actions/get-campaign.d.cts.map +1 -0
  210. package/dist/actions/get-campaign.d.mts +9 -0
  211. package/dist/actions/get-campaign.d.mts.map +1 -0
  212. package/dist/actions/get-campaign.mjs +44 -0
  213. package/dist/actions/get-campaign.mjs.map +1 -0
  214. package/dist/actions/get-channel-planning-reach.cjs +43 -0
  215. package/dist/actions/get-channel-planning-reach.cjs.map +1 -0
  216. package/dist/actions/get-channel-planning-reach.d.cts +9 -0
  217. package/dist/actions/get-channel-planning-reach.d.cts.map +1 -0
  218. package/dist/actions/get-channel-planning-reach.d.mts +9 -0
  219. package/dist/actions/get-channel-planning-reach.d.mts.map +1 -0
  220. package/dist/actions/get-channel-planning-reach.mjs +42 -0
  221. package/dist/actions/get-channel-planning-reach.mjs.map +1 -0
  222. package/dist/actions/get-child-funding-instruments.cjs +40 -0
  223. package/dist/actions/get-child-funding-instruments.cjs.map +1 -0
  224. package/dist/actions/get-child-funding-instruments.d.cts +9 -0
  225. package/dist/actions/get-child-funding-instruments.d.cts.map +1 -0
  226. package/dist/actions/get-child-funding-instruments.d.mts +9 -0
  227. package/dist/actions/get-child-funding-instruments.d.mts.map +1 -0
  228. package/dist/actions/get-child-funding-instruments.mjs +39 -0
  229. package/dist/actions/get-child-funding-instruments.mjs.map +1 -0
  230. package/dist/actions/get-custom-audience.cjs +83 -0
  231. package/dist/actions/get-custom-audience.cjs.map +1 -0
  232. package/dist/actions/get-custom-audience.d.cts +9 -0
  233. package/dist/actions/get-custom-audience.d.cts.map +1 -0
  234. package/dist/actions/get-custom-audience.d.mts +9 -0
  235. package/dist/actions/get-custom-audience.d.mts.map +1 -0
  236. package/dist/actions/get-custom-audience.mjs +82 -0
  237. package/dist/actions/get-custom-audience.mjs.map +1 -0
  238. package/dist/actions/get-lead-gen-form.cjs +26 -0
  239. package/dist/actions/get-lead-gen-form.cjs.map +1 -0
  240. package/dist/actions/get-lead-gen-form.d.cts +9 -0
  241. package/dist/actions/get-lead-gen-form.d.cts.map +1 -0
  242. package/dist/actions/get-lead-gen-form.d.mts +9 -0
  243. package/dist/actions/get-lead-gen-form.d.mts.map +1 -0
  244. package/dist/actions/get-lead-gen-form.mjs +25 -0
  245. package/dist/actions/get-lead-gen-form.mjs.map +1 -0
  246. package/dist/actions/get-me.cjs +25 -0
  247. package/dist/actions/get-me.cjs.map +1 -0
  248. package/dist/actions/get-me.d.cts +9 -0
  249. package/dist/actions/get-me.d.cts.map +1 -0
  250. package/dist/actions/get-me.d.mts +9 -0
  251. package/dist/actions/get-me.d.mts.map +1 -0
  252. package/dist/actions/get-me.mjs +24 -0
  253. package/dist/actions/get-me.mjs.map +1 -0
  254. package/dist/actions/get-pixel-last-fired-at.cjs +33 -0
  255. package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -0
  256. package/dist/actions/get-pixel-last-fired-at.d.cts +9 -0
  257. package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -0
  258. package/dist/actions/get-pixel-last-fired-at.d.mts +9 -0
  259. package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -0
  260. package/dist/actions/get-pixel-last-fired-at.mjs +32 -0
  261. package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -0
  262. package/dist/actions/get-post.cjs +42 -0
  263. package/dist/actions/get-post.cjs.map +1 -0
  264. package/dist/actions/get-post.d.cts +9 -0
  265. package/dist/actions/get-post.d.cts.map +1 -0
  266. package/dist/actions/get-post.d.mts +9 -0
  267. package/dist/actions/get-post.d.mts.map +1 -0
  268. package/dist/actions/get-post.mjs +41 -0
  269. package/dist/actions/get-post.mjs.map +1 -0
  270. package/dist/actions/get-product-catalog.cjs +53 -0
  271. package/dist/actions/get-product-catalog.cjs.map +1 -0
  272. package/dist/actions/get-product-catalog.d.cts +9 -0
  273. package/dist/actions/get-product-catalog.d.cts.map +1 -0
  274. package/dist/actions/get-product-catalog.d.mts +9 -0
  275. package/dist/actions/get-product-catalog.d.mts.map +1 -0
  276. package/dist/actions/get-product-catalog.mjs +52 -0
  277. package/dist/actions/get-product-catalog.mjs.map +1 -0
  278. package/dist/actions/get-product-feed.cjs +44 -0
  279. package/dist/actions/get-product-feed.cjs.map +1 -0
  280. package/dist/actions/get-product-feed.d.cts +9 -0
  281. package/dist/actions/get-product-feed.d.cts.map +1 -0
  282. package/dist/actions/get-product-feed.d.mts +9 -0
  283. package/dist/actions/get-product-feed.d.mts.map +1 -0
  284. package/dist/actions/get-product-feed.mjs +43 -0
  285. package/dist/actions/get-product-feed.mjs.map +1 -0
  286. package/dist/actions/get-product-set.cjs +31 -0
  287. package/dist/actions/get-product-set.cjs.map +1 -0
  288. package/dist/actions/get-product-set.d.cts +9 -0
  289. package/dist/actions/get-product-set.d.cts.map +1 -0
  290. package/dist/actions/get-product-set.d.mts +9 -0
  291. package/dist/actions/get-product-set.d.mts.map +1 -0
  292. package/dist/actions/get-product-set.mjs +30 -0
  293. package/dist/actions/get-product-set.mjs.map +1 -0
  294. package/dist/actions/get-profile.cjs +23 -0
  295. package/dist/actions/get-profile.cjs.map +1 -0
  296. package/dist/actions/get-profile.d.cts +9 -0
  297. package/dist/actions/get-profile.d.cts.map +1 -0
  298. package/dist/actions/get-profile.d.mts +9 -0
  299. package/dist/actions/get-profile.d.mts.map +1 -0
  300. package/dist/actions/get-profile.mjs +22 -0
  301. package/dist/actions/get-profile.mjs.map +1 -0
  302. package/dist/actions/get-saved-audience.cjs +63 -0
  303. package/dist/actions/get-saved-audience.cjs.map +1 -0
  304. package/dist/actions/get-saved-audience.d.cts +9 -0
  305. package/dist/actions/get-saved-audience.d.cts.map +1 -0
  306. package/dist/actions/get-saved-audience.d.mts +9 -0
  307. package/dist/actions/get-saved-audience.d.mts.map +1 -0
  308. package/dist/actions/get-saved-audience.mjs +62 -0
  309. package/dist/actions/get-saved-audience.mjs.map +1 -0
  310. package/dist/actions/get-sk-ad-network-availability.cjs +31 -0
  311. package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -0
  312. package/dist/actions/get-sk-ad-network-availability.d.cts +9 -0
  313. package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -0
  314. package/dist/actions/get-sk-ad-network-availability.d.mts +9 -0
  315. package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -0
  316. package/dist/actions/get-sk-ad-network-availability.mjs +30 -0
  317. package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -0
  318. package/dist/actions/get-structured-post.cjs +23 -0
  319. package/dist/actions/get-structured-post.cjs.map +1 -0
  320. package/dist/actions/get-structured-post.d.cts +9 -0
  321. package/dist/actions/get-structured-post.d.cts.map +1 -0
  322. package/dist/actions/get-structured-post.d.mts +9 -0
  323. package/dist/actions/get-structured-post.d.mts.map +1 -0
  324. package/dist/actions/get-structured-post.mjs +22 -0
  325. package/dist/actions/get-structured-post.mjs.map +1 -0
  326. package/dist/actions/index.cjs +167 -0
  327. package/dist/actions/index.d.cts +84 -0
  328. package/dist/actions/index.d.mts +84 -0
  329. package/dist/actions/index.mjs +84 -0
  330. package/dist/actions/list-ad-accounts-by-business.cjs +48 -0
  331. package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -0
  332. package/dist/actions/list-ad-accounts-by-business.d.cts +9 -0
  333. package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -0
  334. package/dist/actions/list-ad-accounts-by-business.d.mts +9 -0
  335. package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -0
  336. package/dist/actions/list-ad-accounts-by-business.mjs +47 -0
  337. package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -0
  338. package/dist/actions/list-ad-groups.cjs +61 -0
  339. package/dist/actions/list-ad-groups.cjs.map +1 -0
  340. package/dist/actions/list-ad-groups.d.cts +9 -0
  341. package/dist/actions/list-ad-groups.d.cts.map +1 -0
  342. package/dist/actions/list-ad-groups.d.mts +9 -0
  343. package/dist/actions/list-ad-groups.d.mts.map +1 -0
  344. package/dist/actions/list-ad-groups.mjs +60 -0
  345. package/dist/actions/list-ad-groups.mjs.map +1 -0
  346. package/dist/actions/list-ads.cjs +28 -0
  347. package/dist/actions/list-ads.cjs.map +1 -0
  348. package/dist/actions/list-ads.d.cts +9 -0
  349. package/dist/actions/list-ads.d.cts.map +1 -0
  350. package/dist/actions/list-ads.d.mts +9 -0
  351. package/dist/actions/list-ads.d.mts.map +1 -0
  352. package/dist/actions/list-ads.mjs +27 -0
  353. package/dist/actions/list-ads.mjs.map +1 -0
  354. package/dist/actions/list-campaigns.cjs +56 -0
  355. package/dist/actions/list-campaigns.cjs.map +1 -0
  356. package/dist/actions/list-campaigns.d.cts +9 -0
  357. package/dist/actions/list-campaigns.d.cts.map +1 -0
  358. package/dist/actions/list-campaigns.d.mts +9 -0
  359. package/dist/actions/list-campaigns.d.mts.map +1 -0
  360. package/dist/actions/list-campaigns.mjs +55 -0
  361. package/dist/actions/list-campaigns.mjs.map +1 -0
  362. package/dist/actions/list-carriers.cjs +31 -0
  363. package/dist/actions/list-carriers.cjs.map +1 -0
  364. package/dist/actions/list-carriers.d.cts +9 -0
  365. package/dist/actions/list-carriers.d.cts.map +1 -0
  366. package/dist/actions/list-carriers.d.mts +9 -0
  367. package/dist/actions/list-carriers.d.mts.map +1 -0
  368. package/dist/actions/list-carriers.mjs +30 -0
  369. package/dist/actions/list-carriers.mjs.map +1 -0
  370. package/dist/actions/list-catalog-imports.cjs +39 -0
  371. package/dist/actions/list-catalog-imports.cjs.map +1 -0
  372. package/dist/actions/list-catalog-imports.d.cts +9 -0
  373. package/dist/actions/list-catalog-imports.d.cts.map +1 -0
  374. package/dist/actions/list-catalog-imports.d.mts +9 -0
  375. package/dist/actions/list-catalog-imports.d.mts.map +1 -0
  376. package/dist/actions/list-catalog-imports.mjs +38 -0
  377. package/dist/actions/list-catalog-imports.mjs.map +1 -0
  378. package/dist/actions/list-communities-suggestions.cjs +36 -0
  379. package/dist/actions/list-communities-suggestions.cjs.map +1 -0
  380. package/dist/actions/list-communities-suggestions.d.cts +9 -0
  381. package/dist/actions/list-communities-suggestions.d.cts.map +1 -0
  382. package/dist/actions/list-communities-suggestions.d.mts +9 -0
  383. package/dist/actions/list-communities-suggestions.d.mts.map +1 -0
  384. package/dist/actions/list-communities-suggestions.mjs +35 -0
  385. package/dist/actions/list-communities-suggestions.mjs.map +1 -0
  386. package/dist/actions/list-communities.cjs +35 -0
  387. package/dist/actions/list-communities.cjs.map +1 -0
  388. package/dist/actions/list-communities.d.cts +9 -0
  389. package/dist/actions/list-communities.d.cts.map +1 -0
  390. package/dist/actions/list-communities.d.mts +9 -0
  391. package/dist/actions/list-communities.d.mts.map +1 -0
  392. package/dist/actions/list-communities.mjs +34 -0
  393. package/dist/actions/list-communities.mjs.map +1 -0
  394. package/dist/actions/list-devices.cjs +30 -0
  395. package/dist/actions/list-devices.cjs.map +1 -0
  396. package/dist/actions/list-devices.d.cts +9 -0
  397. package/dist/actions/list-devices.d.cts.map +1 -0
  398. package/dist/actions/list-devices.d.mts +9 -0
  399. package/dist/actions/list-devices.d.mts.map +1 -0
  400. package/dist/actions/list-devices.mjs +29 -0
  401. package/dist/actions/list-devices.mjs.map +1 -0
  402. package/dist/actions/list-funding-instruments.cjs +53 -0
  403. package/dist/actions/list-funding-instruments.cjs.map +1 -0
  404. package/dist/actions/list-funding-instruments.d.cts +9 -0
  405. package/dist/actions/list-funding-instruments.d.cts.map +1 -0
  406. package/dist/actions/list-funding-instruments.d.mts +9 -0
  407. package/dist/actions/list-funding-instruments.d.mts.map +1 -0
  408. package/dist/actions/list-funding-instruments.mjs +52 -0
  409. package/dist/actions/list-funding-instruments.mjs.map +1 -0
  410. package/dist/actions/list-geolocations.cjs +29 -0
  411. package/dist/actions/list-geolocations.cjs.map +1 -0
  412. package/dist/actions/list-geolocations.d.cts +9 -0
  413. package/dist/actions/list-geolocations.d.cts.map +1 -0
  414. package/dist/actions/list-geolocations.d.mts +9 -0
  415. package/dist/actions/list-geolocations.d.mts.map +1 -0
  416. package/dist/actions/list-geolocations.mjs +28 -0
  417. package/dist/actions/list-geolocations.mjs.map +1 -0
  418. package/dist/actions/list-industries.cjs +20 -0
  419. package/dist/actions/list-industries.cjs.map +1 -0
  420. package/dist/actions/list-industries.d.cts +9 -0
  421. package/dist/actions/list-industries.d.cts.map +1 -0
  422. package/dist/actions/list-industries.d.mts +9 -0
  423. package/dist/actions/list-industries.d.mts.map +1 -0
  424. package/dist/actions/list-industries.mjs +19 -0
  425. package/dist/actions/list-industries.mjs.map +1 -0
  426. package/dist/actions/list-interests.cjs +21 -0
  427. package/dist/actions/list-interests.cjs.map +1 -0
  428. package/dist/actions/list-interests.d.cts +9 -0
  429. package/dist/actions/list-interests.d.cts.map +1 -0
  430. package/dist/actions/list-interests.d.mts +9 -0
  431. package/dist/actions/list-interests.d.mts.map +1 -0
  432. package/dist/actions/list-interests.mjs +20 -0
  433. package/dist/actions/list-interests.mjs.map +1 -0
  434. package/dist/actions/list-lead-gen-forms.cjs +37 -0
  435. package/dist/actions/list-lead-gen-forms.cjs.map +1 -0
  436. package/dist/actions/list-lead-gen-forms.d.cts +9 -0
  437. package/dist/actions/list-lead-gen-forms.d.cts.map +1 -0
  438. package/dist/actions/list-lead-gen-forms.d.mts +9 -0
  439. package/dist/actions/list-lead-gen-forms.d.mts.map +1 -0
  440. package/dist/actions/list-lead-gen-forms.mjs +36 -0
  441. package/dist/actions/list-lead-gen-forms.mjs.map +1 -0
  442. package/dist/actions/list-my-businesses.cjs +41 -0
  443. package/dist/actions/list-my-businesses.cjs.map +1 -0
  444. package/dist/actions/list-my-businesses.d.cts +9 -0
  445. package/dist/actions/list-my-businesses.d.cts.map +1 -0
  446. package/dist/actions/list-my-businesses.d.mts +9 -0
  447. package/dist/actions/list-my-businesses.d.mts.map +1 -0
  448. package/dist/actions/list-my-businesses.mjs +40 -0
  449. package/dist/actions/list-my-businesses.mjs.map +1 -0
  450. package/dist/actions/list-pixels-by-ad-account.cjs +38 -0
  451. package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -0
  452. package/dist/actions/list-pixels-by-ad-account.d.cts +9 -0
  453. package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -0
  454. package/dist/actions/list-pixels-by-ad-account.d.mts +9 -0
  455. package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -0
  456. package/dist/actions/list-pixels-by-ad-account.mjs +37 -0
  457. package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -0
  458. package/dist/actions/list-pixels-by-business.cjs +38 -0
  459. package/dist/actions/list-pixels-by-business.cjs.map +1 -0
  460. package/dist/actions/list-pixels-by-business.d.cts +9 -0
  461. package/dist/actions/list-pixels-by-business.d.cts.map +1 -0
  462. package/dist/actions/list-pixels-by-business.d.mts +9 -0
  463. package/dist/actions/list-pixels-by-business.d.mts.map +1 -0
  464. package/dist/actions/list-pixels-by-business.mjs +37 -0
  465. package/dist/actions/list-pixels-by-business.mjs.map +1 -0
  466. package/dist/actions/list-posts.cjs +52 -0
  467. package/dist/actions/list-posts.cjs.map +1 -0
  468. package/dist/actions/list-posts.d.cts +9 -0
  469. package/dist/actions/list-posts.d.cts.map +1 -0
  470. package/dist/actions/list-posts.d.mts +9 -0
  471. package/dist/actions/list-posts.d.mts.map +1 -0
  472. package/dist/actions/list-posts.mjs +51 -0
  473. package/dist/actions/list-posts.mjs.map +1 -0
  474. package/dist/actions/list-product-catalogs.cjs +33 -0
  475. package/dist/actions/list-product-catalogs.cjs.map +1 -0
  476. package/dist/actions/list-product-catalogs.d.cts +9 -0
  477. package/dist/actions/list-product-catalogs.d.cts.map +1 -0
  478. package/dist/actions/list-product-catalogs.d.mts +9 -0
  479. package/dist/actions/list-product-catalogs.d.mts.map +1 -0
  480. package/dist/actions/list-product-catalogs.mjs +32 -0
  481. package/dist/actions/list-product-catalogs.mjs.map +1 -0
  482. package/dist/actions/list-product-feeds.cjs +32 -0
  483. package/dist/actions/list-product-feeds.cjs.map +1 -0
  484. package/dist/actions/list-product-feeds.d.cts +9 -0
  485. package/dist/actions/list-product-feeds.d.cts.map +1 -0
  486. package/dist/actions/list-product-feeds.d.mts +9 -0
  487. package/dist/actions/list-product-feeds.d.mts.map +1 -0
  488. package/dist/actions/list-product-feeds.mjs +31 -0
  489. package/dist/actions/list-product-feeds.mjs.map +1 -0
  490. package/dist/actions/list-product-sets.cjs +40 -0
  491. package/dist/actions/list-product-sets.cjs.map +1 -0
  492. package/dist/actions/list-product-sets.d.cts +9 -0
  493. package/dist/actions/list-product-sets.d.cts.map +1 -0
  494. package/dist/actions/list-product-sets.d.mts +9 -0
  495. package/dist/actions/list-product-sets.d.mts.map +1 -0
  496. package/dist/actions/list-product-sets.mjs +39 -0
  497. package/dist/actions/list-product-sets.mjs.map +1 -0
  498. package/dist/actions/list-products-in-product-catalog.cjs +91 -0
  499. package/dist/actions/list-products-in-product-catalog.cjs.map +1 -0
  500. package/dist/actions/list-products-in-product-catalog.d.cts +9 -0
  501. package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -0
  502. package/dist/actions/list-products-in-product-catalog.d.mts +9 -0
  503. package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -0
  504. package/dist/actions/list-products-in-product-catalog.mjs +90 -0
  505. package/dist/actions/list-products-in-product-catalog.mjs.map +1 -0
  506. package/dist/actions/list-products-in-product-set.cjs +135 -0
  507. package/dist/actions/list-products-in-product-set.cjs.map +1 -0
  508. package/dist/actions/list-products-in-product-set.d.cts +9 -0
  509. package/dist/actions/list-products-in-product-set.d.cts.map +1 -0
  510. package/dist/actions/list-products-in-product-set.d.mts +9 -0
  511. package/dist/actions/list-products-in-product-set.d.mts.map +1 -0
  512. package/dist/actions/list-products-in-product-set.mjs +134 -0
  513. package/dist/actions/list-products-in-product-set.mjs.map +1 -0
  514. package/dist/actions/list-profiles-by-ad-account.cjs +34 -0
  515. package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -0
  516. package/dist/actions/list-profiles-by-ad-account.d.cts +9 -0
  517. package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -0
  518. package/dist/actions/list-profiles-by-ad-account.d.mts +9 -0
  519. package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -0
  520. package/dist/actions/list-profiles-by-ad-account.mjs +33 -0
  521. package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -0
  522. package/dist/actions/list-profiles-by-business.cjs +34 -0
  523. package/dist/actions/list-profiles-by-business.cjs.map +1 -0
  524. package/dist/actions/list-profiles-by-business.d.cts +9 -0
  525. package/dist/actions/list-profiles-by-business.d.cts.map +1 -0
  526. package/dist/actions/list-profiles-by-business.d.mts +9 -0
  527. package/dist/actions/list-profiles-by-business.d.mts.map +1 -0
  528. package/dist/actions/list-profiles-by-business.mjs +33 -0
  529. package/dist/actions/list-profiles-by-business.mjs.map +1 -0
  530. package/dist/actions/list-saved-audiences.cjs +41 -0
  531. package/dist/actions/list-saved-audiences.cjs.map +1 -0
  532. package/dist/actions/list-saved-audiences.d.cts +9 -0
  533. package/dist/actions/list-saved-audiences.d.cts.map +1 -0
  534. package/dist/actions/list-saved-audiences.d.mts +9 -0
  535. package/dist/actions/list-saved-audiences.d.mts.map +1 -0
  536. package/dist/actions/list-saved-audiences.mjs +40 -0
  537. package/dist/actions/list-saved-audiences.mjs.map +1 -0
  538. package/dist/actions/list-structured-posts.cjs +42 -0
  539. package/dist/actions/list-structured-posts.cjs.map +1 -0
  540. package/dist/actions/list-structured-posts.d.cts +9 -0
  541. package/dist/actions/list-structured-posts.d.cts.map +1 -0
  542. package/dist/actions/list-structured-posts.d.mts +9 -0
  543. package/dist/actions/list-structured-posts.d.mts.map +1 -0
  544. package/dist/actions/list-structured-posts.mjs +41 -0
  545. package/dist/actions/list-structured-posts.mjs.map +1 -0
  546. package/dist/actions/list-time-zones.cjs +34 -0
  547. package/dist/actions/list-time-zones.cjs.map +1 -0
  548. package/dist/actions/list-time-zones.d.cts +9 -0
  549. package/dist/actions/list-time-zones.d.cts.map +1 -0
  550. package/dist/actions/list-time-zones.d.mts +9 -0
  551. package/dist/actions/list-time-zones.d.mts.map +1 -0
  552. package/dist/actions/list-time-zones.mjs +33 -0
  553. package/dist/actions/list-time-zones.mjs.map +1 -0
  554. package/dist/actions/list-user-custom-audiences.cjs +49 -0
  555. package/dist/actions/list-user-custom-audiences.cjs.map +1 -0
  556. package/dist/actions/list-user-custom-audiences.d.cts +9 -0
  557. package/dist/actions/list-user-custom-audiences.d.cts.map +1 -0
  558. package/dist/actions/list-user-custom-audiences.d.mts +9 -0
  559. package/dist/actions/list-user-custom-audiences.d.mts.map +1 -0
  560. package/dist/actions/list-user-custom-audiences.mjs +48 -0
  561. package/dist/actions/list-user-custom-audiences.mjs.map +1 -0
  562. package/dist/actions/list3rd-party-audiences.cjs +37 -0
  563. package/dist/actions/list3rd-party-audiences.cjs.map +1 -0
  564. package/dist/actions/list3rd-party-audiences.d.cts +9 -0
  565. package/dist/actions/list3rd-party-audiences.d.cts.map +1 -0
  566. package/dist/actions/list3rd-party-audiences.d.mts +9 -0
  567. package/dist/actions/list3rd-party-audiences.d.mts.map +1 -0
  568. package/dist/actions/list3rd-party-audiences.mjs +36 -0
  569. package/dist/actions/list3rd-party-audiences.mjs.map +1 -0
  570. package/dist/actions/query-ad-accounts.cjs +53 -0
  571. package/dist/actions/query-ad-accounts.cjs.map +1 -0
  572. package/dist/actions/query-ad-accounts.d.cts +9 -0
  573. package/dist/actions/query-ad-accounts.d.cts.map +1 -0
  574. package/dist/actions/query-ad-accounts.d.mts +9 -0
  575. package/dist/actions/query-ad-accounts.d.mts.map +1 -0
  576. package/dist/actions/query-ad-accounts.mjs +52 -0
  577. package/dist/actions/query-ad-accounts.mjs.map +1 -0
  578. package/dist/actions/query-funding-instruments-by-business.cjs +46 -0
  579. package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -0
  580. package/dist/actions/query-funding-instruments-by-business.d.cts +9 -0
  581. package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -0
  582. package/dist/actions/query-funding-instruments-by-business.d.mts +9 -0
  583. package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -0
  584. package/dist/actions/query-funding-instruments-by-business.mjs +45 -0
  585. package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -0
  586. package/dist/actions/search-communities.cjs +35 -0
  587. package/dist/actions/search-communities.cjs.map +1 -0
  588. package/dist/actions/search-communities.d.cts +9 -0
  589. package/dist/actions/search-communities.d.cts.map +1 -0
  590. package/dist/actions/search-communities.d.mts +9 -0
  591. package/dist/actions/search-communities.d.mts.map +1 -0
  592. package/dist/actions/search-communities.mjs +34 -0
  593. package/dist/actions/search-communities.mjs.map +1 -0
  594. package/dist/actions/update-ad-account.cjs +79 -0
  595. package/dist/actions/update-ad-account.cjs.map +1 -0
  596. package/dist/actions/update-ad-account.d.cts +9 -0
  597. package/dist/actions/update-ad-account.d.cts.map +1 -0
  598. package/dist/actions/update-ad-account.d.mts +9 -0
  599. package/dist/actions/update-ad-account.d.mts.map +1 -0
  600. package/dist/actions/update-ad-account.mjs +78 -0
  601. package/dist/actions/update-ad-account.mjs.map +1 -0
  602. package/dist/actions/update-business.cjs +67 -0
  603. package/dist/actions/update-business.cjs.map +1 -0
  604. package/dist/actions/update-business.d.cts +9 -0
  605. package/dist/actions/update-business.d.cts.map +1 -0
  606. package/dist/actions/update-business.d.mts +9 -0
  607. package/dist/actions/update-business.d.mts.map +1 -0
  608. package/dist/actions/update-business.mjs +66 -0
  609. package/dist/actions/update-business.mjs.map +1 -0
  610. package/dist/actions/update-campaign.cjs +90 -0
  611. package/dist/actions/update-campaign.cjs.map +1 -0
  612. package/dist/actions/update-campaign.d.cts +9 -0
  613. package/dist/actions/update-campaign.d.cts.map +1 -0
  614. package/dist/actions/update-campaign.d.mts +9 -0
  615. package/dist/actions/update-campaign.d.mts.map +1 -0
  616. package/dist/actions/update-campaign.mjs +89 -0
  617. package/dist/actions/update-campaign.mjs.map +1 -0
  618. package/dist/actions/update-custom-audience-users.cjs +32 -0
  619. package/dist/actions/update-custom-audience-users.cjs.map +1 -0
  620. package/dist/actions/update-custom-audience-users.d.cts +9 -0
  621. package/dist/actions/update-custom-audience-users.d.cts.map +1 -0
  622. package/dist/actions/update-custom-audience-users.d.mts +9 -0
  623. package/dist/actions/update-custom-audience-users.d.mts.map +1 -0
  624. package/dist/actions/update-custom-audience-users.mjs +29 -0
  625. package/dist/actions/update-custom-audience-users.mjs.map +1 -0
  626. package/dist/actions/update-post.cjs +32 -0
  627. package/dist/actions/update-post.cjs.map +1 -0
  628. package/dist/actions/update-post.d.cts +9 -0
  629. package/dist/actions/update-post.d.cts.map +1 -0
  630. package/dist/actions/update-post.d.mts +9 -0
  631. package/dist/actions/update-post.d.mts.map +1 -0
  632. package/dist/actions/update-post.mjs +31 -0
  633. package/dist/actions/update-post.mjs.map +1 -0
  634. package/dist/actions/update-product-catalog.cjs +59 -0
  635. package/dist/actions/update-product-catalog.cjs.map +1 -0
  636. package/dist/actions/update-product-catalog.d.cts +9 -0
  637. package/dist/actions/update-product-catalog.d.cts.map +1 -0
  638. package/dist/actions/update-product-catalog.d.mts +9 -0
  639. package/dist/actions/update-product-catalog.d.mts.map +1 -0
  640. package/dist/actions/update-product-catalog.mjs +58 -0
  641. package/dist/actions/update-product-catalog.mjs.map +1 -0
  642. package/dist/actions/update-product-feed.cjs +59 -0
  643. package/dist/actions/update-product-feed.cjs.map +1 -0
  644. package/dist/actions/update-product-feed.d.cts +9 -0
  645. package/dist/actions/update-product-feed.d.cts.map +1 -0
  646. package/dist/actions/update-product-feed.d.mts +9 -0
  647. package/dist/actions/update-product-feed.d.mts.map +1 -0
  648. package/dist/actions/update-product-feed.mjs +58 -0
  649. package/dist/actions/update-product-feed.mjs.map +1 -0
  650. package/dist/actions/update-product-set.cjs +37 -0
  651. package/dist/actions/update-product-set.cjs.map +1 -0
  652. package/dist/actions/update-product-set.d.cts +9 -0
  653. package/dist/actions/update-product-set.d.cts.map +1 -0
  654. package/dist/actions/update-product-set.d.mts +9 -0
  655. package/dist/actions/update-product-set.d.mts.map +1 -0
  656. package/dist/actions/update-product-set.mjs +36 -0
  657. package/dist/actions/update-product-set.mjs.map +1 -0
  658. package/dist/actions/update-saved-audience.cjs +76 -0
  659. package/dist/actions/update-saved-audience.cjs.map +1 -0
  660. package/dist/actions/update-saved-audience.d.cts +9 -0
  661. package/dist/actions/update-saved-audience.d.cts.map +1 -0
  662. package/dist/actions/update-saved-audience.d.mts +9 -0
  663. package/dist/actions/update-saved-audience.d.mts.map +1 -0
  664. package/dist/actions/update-saved-audience.mjs +75 -0
  665. package/dist/actions/update-saved-audience.mjs.map +1 -0
  666. package/dist/actions/update-structured-post.cjs +26 -0
  667. package/dist/actions/update-structured-post.cjs.map +1 -0
  668. package/dist/actions/update-structured-post.d.cts +9 -0
  669. package/dist/actions/update-structured-post.d.cts.map +1 -0
  670. package/dist/actions/update-structured-post.d.mts +9 -0
  671. package/dist/actions/update-structured-post.d.mts.map +1 -0
  672. package/dist/actions/update-structured-post.mjs +25 -0
  673. package/dist/actions/update-structured-post.mjs.map +1 -0
  674. package/dist/app.cjs +9 -0
  675. package/dist/app.cjs.map +1 -0
  676. package/dist/app.d.cts +5 -0
  677. package/dist/app.d.cts.map +1 -0
  678. package/dist/app.d.mts +5 -0
  679. package/dist/app.d.mts.map +1 -0
  680. package/dist/app.mjs +10 -0
  681. package/dist/app.mjs.map +1 -0
  682. package/dist/catalog.cjs +15 -0
  683. package/dist/catalog.cjs.map +1 -0
  684. package/dist/catalog.d.cts +14 -0
  685. package/dist/catalog.d.cts.map +1 -0
  686. package/dist/catalog.d.mts +14 -0
  687. package/dist/catalog.d.mts.map +1 -0
  688. package/dist/catalog.mjs +15 -0
  689. package/dist/catalog.mjs.map +1 -0
  690. package/dist/execute.cjs +18 -0
  691. package/dist/execute.cjs.map +1 -0
  692. package/dist/execute.mjs +18 -0
  693. package/dist/execute.mjs.map +1 -0
  694. package/dist/index.cjs +172 -0
  695. package/dist/index.d.cts +86 -0
  696. package/dist/index.d.mts +86 -0
  697. package/dist/index.mjs +87 -0
  698. package/package.json +49 -0
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-lead-gen-form.ts
4
+ const RedditAdsCreateLeadGenFormInput = z.object({
5
+ data: z.object({
6
+ name: z.string().describe("The name of the lead gen form"),
7
+ prompt: z.string().describe("The prompt text displayed to the user when filling out the form"),
8
+ questions: z.array(z.object({
9
+ type: z.enum([
10
+ "EMAIL",
11
+ "FIRST_NAME",
12
+ "LAST_NAME",
13
+ "PHONE_NUMBER",
14
+ "POSTAL_CODE",
15
+ "JOB_TITLE",
16
+ "COMPANY",
17
+ "COMPANY_EMAIL"
18
+ ]).describe("Type of question field to collect from the user"),
19
+ required: z.boolean().describe("Whether this question is required for form submission")
20
+ }).describe("A question field in the lead gen form.")).describe("A list of questions presented to the user (minimum 1 question required)"),
21
+ privacy_link: z.string().describe("The URL of the privacy policy for the form"),
22
+ ad_account_id: z.string().describe("The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)")
23
+ }).describe("Lead gen form data containing name, privacy link, prompt, and questions"),
24
+ ad_account_id: z.string().describe("The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)")
25
+ }).describe("Request model for creating a lead gen form.");
26
+ const RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema = z.object({
27
+ type: z.string().describe("Type of question field").nullable().optional(),
28
+ required: z.boolean().describe("Whether this question is required").nullable().optional()
29
+ }).describe("A question field in the response.");
30
+ const RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema = z.object({
31
+ id: z.string().describe("The ID of the created lead gen form").nullable().optional(),
32
+ name: z.string().describe("The name of the lead gen form").nullable().optional(),
33
+ prompt: z.string().describe("The prompt text displayed to the user when filling out the form").nullable().optional(),
34
+ questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe("List of questions presented to the user").nullable().optional(),
35
+ created_at: z.string().describe("The time that this form was created represented in ISO 8601").nullable().optional(),
36
+ modified_at: z.string().describe("The last time that this form was modified represented in ISO 8601").nullable().optional(),
37
+ privacy_link: z.string().describe("The URL of the privacy policy for the form").nullable().optional(),
38
+ ad_account_id: z.string().describe("The ID of the ad account that the form belongs to").nullable().optional()
39
+ }).describe("Response data for created lead gen form.");
40
+ const redditAdsCreateLeadGenForm = action("REDDIT_ADS_CREATE_LEAD_GEN_FORM", {
41
+ slug: "reddit_ads-create-lead-gen-form",
42
+ name: "Create Lead Gen Form",
43
+ description: "Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).",
44
+ input: RedditAdsCreateLeadGenFormInput,
45
+ output: z.object({ data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional() }).describe("Response model for creating a lead gen form.")
46
+ });
47
+ //#endregion
48
+ export { redditAdsCreateLeadGenForm };
49
+
50
+ //# sourceMappingURL=create-lead-gen-form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-lead-gen-form.mjs","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateLeadGenFormInput: z.ZodTypeAny = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the lead gen form\"),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\"),\n questions: z.array(z.object({\n type: z.enum([\"EMAIL\", \"FIRST_NAME\", \"LAST_NAME\", \"PHONE_NUMBER\", \"POSTAL_CODE\", \"JOB_TITLE\", \"COMPANY\", \"COMPANY_EMAIL\"]).describe(\"Type of question field to collect from the user\"),\n required: z.boolean().describe(\"Whether this question is required for form submission\"),\n}).describe(\"A question field in the lead gen form.\")).describe(\"A list of questions presented to the user (minimum 1 question required)\"),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Lead gen form data containing name, privacy link, prompt, and questions\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Request model for creating a lead gen form.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of question field\").nullable().optional(),\n required: z.boolean().describe(\"Whether this question is required\").nullable().optional(),\n}).describe(\"A question field in the response.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the created lead gen form\").nullable().optional(),\n name: z.string().describe(\"The name of the lead gen form\").nullable().optional(),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\").nullable().optional(),\n questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe(\"List of questions presented to the user\").nullable().optional(),\n created_at: z.string().describe(\"The time that this form was created represented in ISO 8601\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this form was modified represented in ISO 8601\").nullable().optional(),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to\").nullable().optional(),\n}).describe(\"Response data for created lead gen form.\");\nexport const RedditAdsCreateLeadGenFormOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional(),\n}).describe(\"Response model for creating a lead gen form.\");\n\nexport const redditAdsCreateLeadGenForm = action(\"REDDIT_ADS_CREATE_LEAD_GEN_FORM\", {\n slug: \"reddit_ads-create-lead-gen-form\",\n name: \"Create Lead Gen Form\",\n description: \"Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).\",\n input: RedditAdsCreateLeadGenFormInput,\n output: RedditAdsCreateLeadGenFormOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO;EACf,MA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AS;CACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-post.ts
4
+ const RedditAdsCreatePostInput = zod.z.object({
5
+ data: zod.z.object({
6
+ body: zod.z.string().describe("The content for text posts. Maximum length 40000 characters.").optional(),
7
+ type: zod.z.enum([
8
+ "CAROUSEL",
9
+ "IMAGE",
10
+ "TEXT",
11
+ "VIDEO"
12
+ ]).describe("The type of the post. Required field."),
13
+ content: zod.z.array(zod.z.object({
14
+ url: zod.z.string().describe("The URL of the content item (e.g., image or video URL).").optional(),
15
+ media_id: zod.z.string().describe("The media ID of the uploaded content.").optional()
16
+ }).describe("Content item for a post (used in CAROUSEL and other post types).")).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.").optional(),
17
+ headline: zod.z.string().describe("The title of the post. Required field."),
18
+ is_richtext: zod.z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").optional(),
19
+ thumbnail_url: zod.z.string().describe("The URL to the thumbnail image for the post. Required for video posts.").optional(),
20
+ allow_comments: zod.z.boolean().describe("Enable comments on the post, manageable in the Ads Manager.").optional()
21
+ }).describe("Post data containing type, headline, body, and optional configuration parameters."),
22
+ profile_id: zod.z.string().describe("The ID of the profile to create a post for. Must match pattern ^t2_.*")
23
+ }).describe("Request model for creating a Reddit post.");
24
+ const RedditAdsCreatePost_PostTypeSchema = zod.z.enum([
25
+ "CAROUSEL",
26
+ "IMAGE",
27
+ "TEXT",
28
+ "VIDEO"
29
+ ]).describe("The type of the post.");
30
+ const RedditAdsCreatePost_PostContentResponseSchema = zod.z.object({
31
+ media_url: zod.z.string().describe("The media URL for the content.").nullable().optional(),
32
+ display_url: zod.z.string().describe("The display URL for the content.").nullable().optional(),
33
+ call_to_action: zod.z.string().describe("The call to action text.").nullable().optional(),
34
+ destination_url: zod.z.string().describe("The destination URL for the content.").nullable().optional()
35
+ }).describe("Content item in the response.");
36
+ const RedditAdsCreatePost_PostResponseDataSchema = zod.z.object({
37
+ id: zod.z.string().describe("The unique identifier of the post."),
38
+ body: zod.z.string().describe("The content for text posts.").nullable().optional(),
39
+ type: RedditAdsCreatePost_PostTypeSchema.nullable(),
40
+ content: zod.z.array(RedditAdsCreatePost_PostContentResponseSchema).describe("The content of the post. Carousel posts support arrays of up to 6 images.").nullable().optional(),
41
+ headline: zod.z.string().describe("The title of the post.").nullable().optional(),
42
+ post_url: zod.z.string().describe("Link to the post on Reddit.").nullable().optional(),
43
+ created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601."),
44
+ profile_id: zod.z.string().describe("The unique identifier of the profile that the post belongs to.").nullable().optional(),
45
+ is_richtext: zod.z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
46
+ thumbnail_url: zod.z.string().describe("The URL to the thumbnail image for the post.").nullable().optional(),
47
+ allow_comments: zod.z.boolean().describe("Enable comments on the post.").nullable().optional()
48
+ }).describe("Response data for a created post.");
49
+ const RedditAdsCreatePostOutput = zod.z.object({ data: RedditAdsCreatePost_PostResponseDataSchema.nullable() }).describe("Response model for created Reddit post.");
50
+ const redditAdsCreatePost = require_action.action("REDDIT_ADS_CREATE_POST", {
51
+ slug: "reddit_ads-create-post",
52
+ name: "Create Reddit Post",
53
+ description: "Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).",
54
+ input: RedditAdsCreatePostInput,
55
+ output: RedditAdsCreatePostOutput
56
+ });
57
+ //#endregion
58
+ exports.redditAdsCreatePost = redditAdsCreatePost;
59
+
60
+ //# sourceMappingURL=create-post.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput: z.ZodTypeAny = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema: z.ZodTypeAny = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema: z.ZodTypeAny = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the post.\"),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsCreatePostInput,\n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BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-post.d.ts
4
+ declare const RedditAdsCreatePostInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreatePostOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreatePost };
9
+ //# sourceMappingURL=create-post.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAce;AAAA,cAqB3C,yBAAA,EAA2B,CAAA,CAAE,UAEY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-post.d.ts
4
+ declare const RedditAdsCreatePostInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreatePostOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreatePost };
9
+ //# sourceMappingURL=create-post.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAce;AAAA,cAqB3C,yBAAA,EAA2B,CAAA,CAAE,UAEY;AAAA,cAEzC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,59 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-post.ts
4
+ const RedditAdsCreatePostInput = z.object({
5
+ data: z.object({
6
+ body: z.string().describe("The content for text posts. Maximum length 40000 characters.").optional(),
7
+ type: z.enum([
8
+ "CAROUSEL",
9
+ "IMAGE",
10
+ "TEXT",
11
+ "VIDEO"
12
+ ]).describe("The type of the post. Required field."),
13
+ content: z.array(z.object({
14
+ url: z.string().describe("The URL of the content item (e.g., image or video URL).").optional(),
15
+ media_id: z.string().describe("The media ID of the uploaded content.").optional()
16
+ }).describe("Content item for a post (used in CAROUSEL and other post types).")).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.").optional(),
17
+ headline: z.string().describe("The title of the post. Required field."),
18
+ is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").optional(),
19
+ thumbnail_url: z.string().describe("The URL to the thumbnail image for the post. Required for video posts.").optional(),
20
+ allow_comments: z.boolean().describe("Enable comments on the post, manageable in the Ads Manager.").optional()
21
+ }).describe("Post data containing type, headline, body, and optional configuration parameters."),
22
+ profile_id: z.string().describe("The ID of the profile to create a post for. Must match pattern ^t2_.*")
23
+ }).describe("Request model for creating a Reddit post.");
24
+ const RedditAdsCreatePost_PostTypeSchema = z.enum([
25
+ "CAROUSEL",
26
+ "IMAGE",
27
+ "TEXT",
28
+ "VIDEO"
29
+ ]).describe("The type of the post.");
30
+ const RedditAdsCreatePost_PostContentResponseSchema = z.object({
31
+ media_url: z.string().describe("The media URL for the content.").nullable().optional(),
32
+ display_url: z.string().describe("The display URL for the content.").nullable().optional(),
33
+ call_to_action: z.string().describe("The call to action text.").nullable().optional(),
34
+ destination_url: z.string().describe("The destination URL for the content.").nullable().optional()
35
+ }).describe("Content item in the response.");
36
+ const RedditAdsCreatePost_PostResponseDataSchema = z.object({
37
+ id: z.string().describe("The unique identifier of the post."),
38
+ body: z.string().describe("The content for text posts.").nullable().optional(),
39
+ type: RedditAdsCreatePost_PostTypeSchema.nullable(),
40
+ content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe("The content of the post. Carousel posts support arrays of up to 6 images.").nullable().optional(),
41
+ headline: z.string().describe("The title of the post.").nullable().optional(),
42
+ post_url: z.string().describe("Link to the post on Reddit.").nullable().optional(),
43
+ created_at: z.string().describe("The time that this entity was created represented in ISO 8601."),
44
+ profile_id: z.string().describe("The unique identifier of the profile that the post belongs to.").nullable().optional(),
45
+ is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
46
+ thumbnail_url: z.string().describe("The URL to the thumbnail image for the post.").nullable().optional(),
47
+ allow_comments: z.boolean().describe("Enable comments on the post.").nullable().optional()
48
+ }).describe("Response data for a created post.");
49
+ const redditAdsCreatePost = action("REDDIT_ADS_CREATE_POST", {
50
+ slug: "reddit_ads-create-post",
51
+ name: "Create Reddit Post",
52
+ description: "Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).",
53
+ input: RedditAdsCreatePostInput,
54
+ output: z.object({ data: RedditAdsCreatePost_PostResponseDataSchema.nullable() }).describe("Response model for created Reddit post.")
55
+ });
56
+ //#endregion
57
+ export { redditAdsCreatePost };
58
+
59
+ //# sourceMappingURL=create-post.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput: z.ZodTypeAny = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema: z.ZodTypeAny = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema: z.ZodTypeAny = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the post.\"),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsCreatePostInput,\n output: RedditAdsCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,KAAK;GAAC;GAAY;GAAS;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACrG,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,CAAC,CAAC,CAA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AA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,79 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-product-catalog.ts
4
+ const RedditAdsCreateProductCatalogInput = zod.z.object({
5
+ data: zod.z.object({
6
+ name: zod.z.string().describe("The name of the product catalog."),
7
+ event_sources: zod.z.array(zod.z.string()).describe("The list of the attached Reddit Pixel IDs.").optional(),
8
+ default_currency: zod.z.enum([
9
+ "USD",
10
+ "GBP",
11
+ "CAD",
12
+ "EUR",
13
+ "AUD",
14
+ "JPY",
15
+ "CHF",
16
+ "NZD",
17
+ "SEK",
18
+ "NOK"
19
+ ]).describe("The default currency of the catalog."),
20
+ default_language: zod.z.enum([
21
+ "en",
22
+ "de",
23
+ "es",
24
+ "fr",
25
+ "it",
26
+ "pt"
27
+ ]).describe("The default language of the catalog.")
28
+ }).describe("The product catalog data object containing name, language, currency, and optional event sources."),
29
+ business_id: zod.z.string().describe("The ID of the parent business.")
30
+ }).describe("Request model for creating a new product catalog.");
31
+ const RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = zod.z.object({
32
+ products_count: zod.z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
33
+ approved_products_count: zod.z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
34
+ rejected_products_count: zod.z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
35
+ }).describe("Summary statistics for the product catalog.");
36
+ const RedditAdsCreateProductCatalog_CurrencyCodeSchema = zod.z.enum([
37
+ "USD",
38
+ "GBP",
39
+ "CAD",
40
+ "EUR",
41
+ "AUD",
42
+ "JPY",
43
+ "CHF",
44
+ "NZD",
45
+ "SEK",
46
+ "NOK"
47
+ ]).describe("Supported currency codes for product catalogs.");
48
+ const RedditAdsCreateProductCatalog_LanguageCodeSchema = zod.z.enum([
49
+ "en",
50
+ "de",
51
+ "es",
52
+ "fr",
53
+ "it",
54
+ "pt"
55
+ ]).describe("Supported language codes for product catalogs.");
56
+ const RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = zod.z.object({
57
+ id: zod.z.string().describe("The ID of the product catalog.").nullable().optional(),
58
+ name: zod.z.string().describe("The name of the product catalog.").nullable().optional(),
59
+ summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),
60
+ created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
61
+ business_id: zod.z.string().describe("The ID of the parent business.").nullable().optional(),
62
+ modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional(),
63
+ data_sources: zod.z.array(zod.z.string()).describe("The list of catalog data sources.").nullable().optional(),
64
+ event_sources: zod.z.array(zod.z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
65
+ default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),
66
+ default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional()
67
+ }).describe("Product catalog response data object.");
68
+ const RedditAdsCreateProductCatalogOutput = zod.z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).describe("Response model for creating a product catalog.");
69
+ const redditAdsCreateProductCatalog = require_action.action("REDDIT_ADS_CREATE_PRODUCT_CATALOG", {
70
+ slug: "reddit_ads-create-product-catalog",
71
+ name: "Create Product Catalog",
72
+ description: "Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.",
73
+ input: RedditAdsCreateProductCatalogInput,
74
+ output: RedditAdsCreateProductCatalogOutput
75
+ });
76
+ //#endregion
77
+ exports.redditAdsCreateProductCatalog = redditAdsCreateProductCatalog;
78
+
79
+ //# sourceMappingURL=create-product-catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput: z.ZodTypeAny = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema: z.ZodTypeAny = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema: z.ZodTypeAny = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema: z.ZodTypeAny = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAA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AAC,SAAS,uCAAuC;AACnD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-product-catalog.d.ts
4
+ declare const RedditAdsCreateProductCatalogInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreateProductCatalogOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreateProductCatalog };
9
+ //# sourceMappingURL=create-product-catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-catalog.d.cts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAQa;AAAA,cAoBnD,mCAAA,EAAqC,CAAA,CAAE,UAES;AAAA,cAEhD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-product-catalog.d.ts
4
+ declare const RedditAdsCreateProductCatalogInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreateProductCatalogOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreateProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreateProductCatalog };
9
+ //# sourceMappingURL=create-product-catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-catalog.d.mts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAQa;AAAA,cAoBnD,mCAAA,EAAqC,CAAA,CAAE,UAES;AAAA,cAEhD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,78 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-product-catalog.ts
4
+ const RedditAdsCreateProductCatalogInput = z.object({
5
+ data: z.object({
6
+ name: z.string().describe("The name of the product catalog."),
7
+ event_sources: z.array(z.string()).describe("The list of the attached Reddit Pixel IDs.").optional(),
8
+ default_currency: z.enum([
9
+ "USD",
10
+ "GBP",
11
+ "CAD",
12
+ "EUR",
13
+ "AUD",
14
+ "JPY",
15
+ "CHF",
16
+ "NZD",
17
+ "SEK",
18
+ "NOK"
19
+ ]).describe("The default currency of the catalog."),
20
+ default_language: z.enum([
21
+ "en",
22
+ "de",
23
+ "es",
24
+ "fr",
25
+ "it",
26
+ "pt"
27
+ ]).describe("The default language of the catalog.")
28
+ }).describe("The product catalog data object containing name, language, currency, and optional event sources."),
29
+ business_id: z.string().describe("The ID of the parent business.")
30
+ }).describe("Request model for creating a new product catalog.");
31
+ const RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({
32
+ products_count: z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
33
+ approved_products_count: z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
34
+ rejected_products_count: z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
35
+ }).describe("Summary statistics for the product catalog.");
36
+ const RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([
37
+ "USD",
38
+ "GBP",
39
+ "CAD",
40
+ "EUR",
41
+ "AUD",
42
+ "JPY",
43
+ "CHF",
44
+ "NZD",
45
+ "SEK",
46
+ "NOK"
47
+ ]).describe("Supported currency codes for product catalogs.");
48
+ const RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([
49
+ "en",
50
+ "de",
51
+ "es",
52
+ "fr",
53
+ "it",
54
+ "pt"
55
+ ]).describe("Supported language codes for product catalogs.");
56
+ const RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({
57
+ id: z.string().describe("The ID of the product catalog.").nullable().optional(),
58
+ name: z.string().describe("The name of the product catalog.").nullable().optional(),
59
+ summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),
60
+ created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
61
+ business_id: z.string().describe("The ID of the parent business.").nullable().optional(),
62
+ modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional(),
63
+ data_sources: z.array(z.string()).describe("The list of catalog data sources.").nullable().optional(),
64
+ event_sources: z.array(z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
65
+ default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),
66
+ default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional()
67
+ }).describe("Product catalog response data object.");
68
+ const redditAdsCreateProductCatalog = action("REDDIT_ADS_CREATE_PRODUCT_CATALOG", {
69
+ slug: "reddit_ads-create-product-catalog",
70
+ name: "Create Product Catalog",
71
+ description: "Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.",
72
+ input: RedditAdsCreateProductCatalogInput,
73
+ output: z.object({ data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable() }).describe("Response model for creating a product catalog.")
74
+ });
75
+ //#endregion
76
+ export { redditAdsCreateProductCatalog };
77
+
78
+ //# sourceMappingURL=create-product-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-catalog.mjs","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput: z.ZodTypeAny = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema: z.ZodTypeAny = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema: z.ZodTypeAny = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema: z.ZodTypeAny = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkB,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC5G,aAAa,EAAE,OAAO,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MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-product-feed.ts
4
+ const RedditAdsCreateProductFeedInput = zod.z.object({
5
+ data: zod.z.object({
6
+ url: zod.z.string().describe("The URL of the product feed to fetch."),
7
+ mode: zod.z.enum(["REPLACE", "UPDATE"]).describe("The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products."),
8
+ name: zod.z.string().describe("The name of the feed.").optional(),
9
+ password: zod.z.string().describe("The password that is needed to access the URL.").optional(),
10
+ username: zod.z.string().describe("The username that is needed to access the URL.").optional()
11
+ }).describe("The product feed data object containing URL, mode, and optional authentication credentials."),
12
+ catalog_id: zod.z.string().describe("The ID of the parent product catalog.")
13
+ }).describe("Request model for creating a new product feed.");
14
+ const RedditAdsCreateProductFeed_FeedModeSchema = zod.z.enum(["REPLACE", "UPDATE"]).describe("Update mode for the product feed.");
15
+ const RedditAdsCreateProductFeed_ScheduleResponseDataSchema = zod.z.object({
16
+ hour: zod.z.number().int().describe("Hour of the day for scheduled feed updates.").nullable().optional(),
17
+ minute: zod.z.number().int().describe("Minute of the hour for scheduled feed updates.").nullable().optional(),
18
+ interval: zod.z.string().describe("Interval type for scheduled feed updates.").nullable().optional(),
19
+ timezone: zod.z.object({}).describe("Timezone information for the schedule.").nullable().optional(),
20
+ is_paused: zod.z.boolean().describe("Whether the schedule is paused.").nullable().optional(),
21
+ day_of_week: zod.z.string().describe("Day of the week for scheduled feed updates.").nullable().optional(),
22
+ day_of_month: zod.z.number().int().describe("Day of the month for scheduled feed updates.").nullable().optional(),
23
+ interval_count: zod.z.number().int().describe("Number of intervals between scheduled feed updates.").nullable().optional(),
24
+ next_import_at: zod.z.string().describe("ISO 8601 timestamp of the next scheduled import.").nullable().optional()
25
+ }).describe("Schedule information for the product feed.");
26
+ const RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = zod.z.object({
27
+ id: zod.z.string().describe("The ID of the product feed.").nullable().optional(),
28
+ url: zod.z.string().describe("The URL of the product feed to fetch.").nullable().optional(),
29
+ mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),
30
+ name: zod.z.string().describe("The name of the feed.").nullable().optional(),
31
+ password: zod.z.string().describe("The password that is needed to access the URL.").nullable().optional(),
32
+ schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),
33
+ username: zod.z.string().describe("The username that is needed to access the URL.").nullable().optional(),
34
+ catalog_id: zod.z.string().describe("The ID of the product catalog that this feed belongs to.").nullable().optional(),
35
+ created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
36
+ modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
37
+ }).describe("Product feed response data object.");
38
+ const RedditAdsCreateProductFeedOutput = zod.z.object({ data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable() }).describe("Response model for creating a product feed.");
39
+ const redditAdsCreateProductFeed = require_action.action("REDDIT_ADS_CREATE_PRODUCT_FEED", {
40
+ slug: "reddit_ads-create-product-feed",
41
+ name: "Create Product Feed",
42
+ description: "Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).",
43
+ input: RedditAdsCreateProductFeedInput,
44
+ output: RedditAdsCreateProductFeedOutput
45
+ });
46
+ //#endregion
47
+ exports.redditAdsCreateProductFeed = redditAdsCreateProductFeed;
48
+
49
+ //# sourceMappingURL=create-product-feed.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput: z.ZodTypeAny = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema: z.ZodTypeAny = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema: z.ZodTypeAny = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.object({}).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput: z.ZodTypeAny = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAu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AC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-product-feed.d.ts
4
+ declare const RedditAdsCreateProductFeedInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreateProductFeedOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreateProductFeed };
9
+ //# sourceMappingURL=create-product-feed.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-feed.d.cts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UASa;AAAA,cAyBhD,gCAAA,EAAkC,CAAA,CAAE,UAES;AAAA,cAE7C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-product-feed.d.ts
4
+ declare const RedditAdsCreateProductFeedInput: z.ZodTypeAny;
5
+ declare const RedditAdsCreateProductFeedOutput: z.ZodTypeAny;
6
+ declare const redditAdsCreateProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { redditAdsCreateProductFeed };
9
+ //# sourceMappingURL=create-product-feed.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-product-feed.d.mts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UASa;AAAA,cAyBhD,gCAAA,EAAkC,CAAA,CAAE,UAES;AAAA,cAE7C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}