@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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-ad-group.cjs +71 -0
- package/dist/actions/create-ad-group.cjs.map +1 -0
- package/dist/actions/create-ad-group.d.cts +9 -0
- package/dist/actions/create-ad-group.d.cts.map +1 -0
- package/dist/actions/create-ad-group.d.mts +9 -0
- package/dist/actions/create-ad-group.d.mts.map +1 -0
- package/dist/actions/create-ad-group.mjs +70 -0
- package/dist/actions/create-ad-group.mjs.map +1 -0
- package/dist/actions/create-batch-products.cjs +89 -0
- package/dist/actions/create-batch-products.cjs.map +1 -0
- package/dist/actions/create-batch-products.d.cts +9 -0
- package/dist/actions/create-batch-products.d.cts.map +1 -0
- package/dist/actions/create-batch-products.d.mts +9 -0
- package/dist/actions/create-batch-products.d.mts.map +1 -0
- package/dist/actions/create-batch-products.mjs +88 -0
- package/dist/actions/create-batch-products.mjs.map +1 -0
- package/dist/actions/create-campaign.cjs +130 -0
- package/dist/actions/create-campaign.cjs.map +1 -0
- package/dist/actions/create-campaign.d.cts +9 -0
- package/dist/actions/create-campaign.d.cts.map +1 -0
- package/dist/actions/create-campaign.d.mts +9 -0
- package/dist/actions/create-campaign.d.mts.map +1 -0
- package/dist/actions/create-campaign.mjs +129 -0
- package/dist/actions/create-campaign.mjs.map +1 -0
- package/dist/actions/create-custom-audience.cjs +41 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -0
- package/dist/actions/create-custom-audience.d.cts +9 -0
- package/dist/actions/create-custom-audience.d.cts.map +1 -0
- package/dist/actions/create-custom-audience.d.mts +9 -0
- package/dist/actions/create-custom-audience.d.mts.map +1 -0
- package/dist/actions/create-custom-audience.mjs +40 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -0
- package/dist/actions/create-lead-gen-form.cjs +51 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -0
- package/dist/actions/create-lead-gen-form.d.cts +9 -0
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -0
- package/dist/actions/create-lead-gen-form.d.mts +9 -0
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -0
- package/dist/actions/create-lead-gen-form.mjs +50 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -0
- package/dist/actions/create-post.cjs +60 -0
- package/dist/actions/create-post.cjs.map +1 -0
- package/dist/actions/create-post.d.cts +9 -0
- package/dist/actions/create-post.d.cts.map +1 -0
- package/dist/actions/create-post.d.mts +9 -0
- package/dist/actions/create-post.d.mts.map +1 -0
- package/dist/actions/create-post.mjs +59 -0
- package/dist/actions/create-post.mjs.map +1 -0
- package/dist/actions/create-product-catalog.cjs +79 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -0
- package/dist/actions/create-product-catalog.d.cts +9 -0
- package/dist/actions/create-product-catalog.d.cts.map +1 -0
- package/dist/actions/create-product-catalog.d.mts +9 -0
- package/dist/actions/create-product-catalog.d.mts.map +1 -0
- package/dist/actions/create-product-catalog.mjs +78 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -0
- package/dist/actions/create-product-feed.cjs +49 -0
- package/dist/actions/create-product-feed.cjs.map +1 -0
- package/dist/actions/create-product-feed.d.cts +9 -0
- package/dist/actions/create-product-feed.d.cts.map +1 -0
- package/dist/actions/create-product-feed.d.mts +9 -0
- package/dist/actions/create-product-feed.d.mts.map +1 -0
- package/dist/actions/create-product-feed.mjs +48 -0
- package/dist/actions/create-product-feed.mjs.map +1 -0
- package/dist/actions/create-product-set.cjs +37 -0
- package/dist/actions/create-product-set.cjs.map +1 -0
- package/dist/actions/create-product-set.d.cts +9 -0
- package/dist/actions/create-product-set.d.cts.map +1 -0
- package/dist/actions/create-product-set.d.mts +9 -0
- package/dist/actions/create-product-set.d.mts.map +1 -0
- package/dist/actions/create-product-set.mjs +36 -0
- package/dist/actions/create-product-set.mjs.map +1 -0
- package/dist/actions/create-saved-audience.cjs +93 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -0
- package/dist/actions/create-saved-audience.d.cts +9 -0
- package/dist/actions/create-saved-audience.d.cts.map +1 -0
- package/dist/actions/create-saved-audience.d.mts +9 -0
- package/dist/actions/create-saved-audience.d.mts.map +1 -0
- package/dist/actions/create-saved-audience.mjs +92 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs +89 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -0
- package/dist/actions/create-structured-post-creation-job.d.cts +9 -0
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -0
- package/dist/actions/create-structured-post-creation-job.d.mts +9 -0
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs +88 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -0
- package/dist/actions/delete-custom-audience.cjs +16 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -0
- package/dist/actions/delete-custom-audience.d.cts +9 -0
- package/dist/actions/delete-custom-audience.d.cts.map +1 -0
- package/dist/actions/delete-custom-audience.d.mts +9 -0
- package/dist/actions/delete-custom-audience.d.mts.map +1 -0
- package/dist/actions/delete-custom-audience.mjs +13 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -0
- package/dist/actions/delete-product-catalog.cjs +16 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -0
- package/dist/actions/delete-product-catalog.d.cts +9 -0
- package/dist/actions/delete-product-catalog.d.cts.map +1 -0
- package/dist/actions/delete-product-catalog.d.mts +9 -0
- package/dist/actions/delete-product-catalog.d.mts.map +1 -0
- package/dist/actions/delete-product-catalog.mjs +13 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -0
- package/dist/actions/delete-product-feed.cjs +16 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -0
- package/dist/actions/delete-product-feed.d.cts +9 -0
- package/dist/actions/delete-product-feed.d.cts.map +1 -0
- package/dist/actions/delete-product-feed.d.mts +9 -0
- package/dist/actions/delete-product-feed.d.mts.map +1 -0
- package/dist/actions/delete-product-feed.mjs +13 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -0
- package/dist/actions/delete-product-set.cjs +16 -0
- package/dist/actions/delete-product-set.cjs.map +1 -0
- package/dist/actions/delete-product-set.d.cts +9 -0
- package/dist/actions/delete-product-set.d.cts.map +1 -0
- package/dist/actions/delete-product-set.d.mts +9 -0
- package/dist/actions/delete-product-set.d.mts.map +1 -0
- package/dist/actions/delete-product-set.mjs +13 -0
- package/dist/actions/delete-product-set.mjs.map +1 -0
- package/dist/actions/delete-products.cjs +19 -0
- package/dist/actions/delete-products.cjs.map +1 -0
- package/dist/actions/delete-products.d.cts +9 -0
- package/dist/actions/delete-products.d.cts.map +1 -0
- package/dist/actions/delete-products.d.mts +9 -0
- package/dist/actions/delete-products.d.mts.map +1 -0
- package/dist/actions/delete-products.mjs +16 -0
- package/dist/actions/delete-products.mjs.map +1 -0
- package/dist/actions/do-geolocation-validations.cjs +29 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -0
- package/dist/actions/do-geolocation-validations.d.cts +9 -0
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -0
- package/dist/actions/do-geolocation-validations.d.mts +9 -0
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -0
- package/dist/actions/do-geolocation-validations.mjs +28 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -0
- package/dist/actions/do-keyword-validations.cjs +23 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -0
- package/dist/actions/do-keyword-validations.d.cts +9 -0
- package/dist/actions/do-keyword-validations.d.cts.map +1 -0
- package/dist/actions/do-keyword-validations.d.mts +9 -0
- package/dist/actions/do-keyword-validations.d.mts.map +1 -0
- package/dist/actions/do-keyword-validations.mjs +22 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs +53 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.d.cts +9 -0
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.d.mts +9 -0
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs +52 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -0
- package/dist/actions/get-a-report.cjs +58 -0
- package/dist/actions/get-a-report.cjs.map +1 -0
- package/dist/actions/get-a-report.d.cts +9 -0
- package/dist/actions/get-a-report.d.cts.map +1 -0
- package/dist/actions/get-a-report.d.mts +9 -0
- package/dist/actions/get-a-report.d.mts.map +1 -0
- package/dist/actions/get-a-report.mjs +57 -0
- package/dist/actions/get-a-report.mjs.map +1 -0
- package/dist/actions/get-ad-account-history.cjs +51 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -0
- package/dist/actions/get-ad-account-history.d.cts +9 -0
- package/dist/actions/get-ad-account-history.d.cts.map +1 -0
- package/dist/actions/get-ad-account-history.d.mts +9 -0
- package/dist/actions/get-ad-account-history.d.mts.map +1 -0
- package/dist/actions/get-ad-account-history.mjs +50 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -0
- package/dist/actions/get-ad-account.cjs +65 -0
- package/dist/actions/get-ad-account.cjs.map +1 -0
- package/dist/actions/get-ad-account.d.cts +9 -0
- package/dist/actions/get-ad-account.d.cts.map +1 -0
- package/dist/actions/get-ad-account.d.mts +9 -0
- package/dist/actions/get-ad-account.d.mts.map +1 -0
- package/dist/actions/get-ad-account.mjs +64 -0
- package/dist/actions/get-ad-account.mjs.map +1 -0
- package/dist/actions/get-ad-group.cjs +48 -0
- package/dist/actions/get-ad-group.cjs.map +1 -0
- package/dist/actions/get-ad-group.d.cts +9 -0
- package/dist/actions/get-ad-group.d.cts.map +1 -0
- package/dist/actions/get-ad-group.d.mts +9 -0
- package/dist/actions/get-ad-group.d.mts.map +1 -0
- package/dist/actions/get-ad-group.mjs +47 -0
- package/dist/actions/get-ad-group.mjs.map +1 -0
- package/dist/actions/get-app-last-fired-at.cjs +42 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -0
- package/dist/actions/get-app-last-fired-at.d.cts +9 -0
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -0
- package/dist/actions/get-app-last-fired-at.d.mts +9 -0
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -0
- package/dist/actions/get-app-last-fired-at.mjs +41 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -0
- package/dist/actions/get-business.cjs +29 -0
- package/dist/actions/get-business.cjs.map +1 -0
- package/dist/actions/get-business.d.cts +9 -0
- package/dist/actions/get-business.d.cts.map +1 -0
- package/dist/actions/get-business.d.mts +9 -0
- package/dist/actions/get-business.d.mts.map +1 -0
- package/dist/actions/get-business.mjs +28 -0
- package/dist/actions/get-business.mjs.map +1 -0
- package/dist/actions/get-campaign.cjs +45 -0
- package/dist/actions/get-campaign.cjs.map +1 -0
- package/dist/actions/get-campaign.d.cts +9 -0
- package/dist/actions/get-campaign.d.cts.map +1 -0
- package/dist/actions/get-campaign.d.mts +9 -0
- package/dist/actions/get-campaign.d.mts.map +1 -0
- package/dist/actions/get-campaign.mjs +44 -0
- package/dist/actions/get-campaign.mjs.map +1 -0
- package/dist/actions/get-channel-planning-reach.cjs +43 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -0
- package/dist/actions/get-channel-planning-reach.d.cts +9 -0
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -0
- package/dist/actions/get-channel-planning-reach.d.mts +9 -0
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -0
- package/dist/actions/get-channel-planning-reach.mjs +42 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -0
- package/dist/actions/get-child-funding-instruments.cjs +40 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -0
- package/dist/actions/get-child-funding-instruments.d.cts +9 -0
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -0
- package/dist/actions/get-child-funding-instruments.d.mts +9 -0
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -0
- package/dist/actions/get-child-funding-instruments.mjs +39 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -0
- package/dist/actions/get-custom-audience.cjs +83 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -0
- package/dist/actions/get-custom-audience.d.cts +9 -0
- package/dist/actions/get-custom-audience.d.cts.map +1 -0
- package/dist/actions/get-custom-audience.d.mts +9 -0
- package/dist/actions/get-custom-audience.d.mts.map +1 -0
- package/dist/actions/get-custom-audience.mjs +82 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -0
- package/dist/actions/get-lead-gen-form.cjs +26 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -0
- package/dist/actions/get-lead-gen-form.d.cts +9 -0
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -0
- package/dist/actions/get-lead-gen-form.d.mts +9 -0
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -0
- package/dist/actions/get-lead-gen-form.mjs +25 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -0
- package/dist/actions/get-me.cjs +25 -0
- package/dist/actions/get-me.cjs.map +1 -0
- package/dist/actions/get-me.d.cts +9 -0
- package/dist/actions/get-me.d.cts.map +1 -0
- package/dist/actions/get-me.d.mts +9 -0
- package/dist/actions/get-me.d.mts.map +1 -0
- package/dist/actions/get-me.mjs +24 -0
- package/dist/actions/get-me.mjs.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs +33 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.d.cts +9 -0
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.d.mts +9 -0
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs +32 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -0
- package/dist/actions/get-post.cjs +42 -0
- package/dist/actions/get-post.cjs.map +1 -0
- package/dist/actions/get-post.d.cts +9 -0
- package/dist/actions/get-post.d.cts.map +1 -0
- package/dist/actions/get-post.d.mts +9 -0
- package/dist/actions/get-post.d.mts.map +1 -0
- package/dist/actions/get-post.mjs +41 -0
- package/dist/actions/get-post.mjs.map +1 -0
- package/dist/actions/get-product-catalog.cjs +53 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -0
- package/dist/actions/get-product-catalog.d.cts +9 -0
- package/dist/actions/get-product-catalog.d.cts.map +1 -0
- package/dist/actions/get-product-catalog.d.mts +9 -0
- package/dist/actions/get-product-catalog.d.mts.map +1 -0
- package/dist/actions/get-product-catalog.mjs +52 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -0
- package/dist/actions/get-product-feed.cjs +44 -0
- package/dist/actions/get-product-feed.cjs.map +1 -0
- package/dist/actions/get-product-feed.d.cts +9 -0
- package/dist/actions/get-product-feed.d.cts.map +1 -0
- package/dist/actions/get-product-feed.d.mts +9 -0
- package/dist/actions/get-product-feed.d.mts.map +1 -0
- package/dist/actions/get-product-feed.mjs +43 -0
- package/dist/actions/get-product-feed.mjs.map +1 -0
- package/dist/actions/get-product-set.cjs +31 -0
- package/dist/actions/get-product-set.cjs.map +1 -0
- package/dist/actions/get-product-set.d.cts +9 -0
- package/dist/actions/get-product-set.d.cts.map +1 -0
- package/dist/actions/get-product-set.d.mts +9 -0
- package/dist/actions/get-product-set.d.mts.map +1 -0
- package/dist/actions/get-product-set.mjs +30 -0
- package/dist/actions/get-product-set.mjs.map +1 -0
- package/dist/actions/get-profile.cjs +23 -0
- package/dist/actions/get-profile.cjs.map +1 -0
- package/dist/actions/get-profile.d.cts +9 -0
- package/dist/actions/get-profile.d.cts.map +1 -0
- package/dist/actions/get-profile.d.mts +9 -0
- package/dist/actions/get-profile.d.mts.map +1 -0
- package/dist/actions/get-profile.mjs +22 -0
- package/dist/actions/get-profile.mjs.map +1 -0
- package/dist/actions/get-saved-audience.cjs +63 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -0
- package/dist/actions/get-saved-audience.d.cts +9 -0
- package/dist/actions/get-saved-audience.d.cts.map +1 -0
- package/dist/actions/get-saved-audience.d.mts +9 -0
- package/dist/actions/get-saved-audience.d.mts.map +1 -0
- package/dist/actions/get-saved-audience.mjs +62 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs +31 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.d.cts +9 -0
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.d.mts +9 -0
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs +30 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -0
- package/dist/actions/get-structured-post.cjs +23 -0
- package/dist/actions/get-structured-post.cjs.map +1 -0
- package/dist/actions/get-structured-post.d.cts +9 -0
- package/dist/actions/get-structured-post.d.cts.map +1 -0
- package/dist/actions/get-structured-post.d.mts +9 -0
- package/dist/actions/get-structured-post.d.mts.map +1 -0
- package/dist/actions/get-structured-post.mjs +22 -0
- package/dist/actions/get-structured-post.mjs.map +1 -0
- package/dist/actions/index.cjs +167 -0
- package/dist/actions/index.d.cts +84 -0
- package/dist/actions/index.d.mts +84 -0
- package/dist/actions/index.mjs +84 -0
- package/dist/actions/list-ad-accounts-by-business.cjs +48 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.d.cts +9 -0
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.d.mts +9 -0
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs +47 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -0
- package/dist/actions/list-ad-groups.cjs +61 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -0
- package/dist/actions/list-ad-groups.d.cts +9 -0
- package/dist/actions/list-ad-groups.d.cts.map +1 -0
- package/dist/actions/list-ad-groups.d.mts +9 -0
- package/dist/actions/list-ad-groups.d.mts.map +1 -0
- package/dist/actions/list-ad-groups.mjs +60 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -0
- package/dist/actions/list-ads.cjs +28 -0
- package/dist/actions/list-ads.cjs.map +1 -0
- package/dist/actions/list-ads.d.cts +9 -0
- package/dist/actions/list-ads.d.cts.map +1 -0
- package/dist/actions/list-ads.d.mts +9 -0
- package/dist/actions/list-ads.d.mts.map +1 -0
- package/dist/actions/list-ads.mjs +27 -0
- package/dist/actions/list-ads.mjs.map +1 -0
- package/dist/actions/list-campaigns.cjs +56 -0
- package/dist/actions/list-campaigns.cjs.map +1 -0
- package/dist/actions/list-campaigns.d.cts +9 -0
- package/dist/actions/list-campaigns.d.cts.map +1 -0
- package/dist/actions/list-campaigns.d.mts +9 -0
- package/dist/actions/list-campaigns.d.mts.map +1 -0
- package/dist/actions/list-campaigns.mjs +55 -0
- package/dist/actions/list-campaigns.mjs.map +1 -0
- package/dist/actions/list-carriers.cjs +31 -0
- package/dist/actions/list-carriers.cjs.map +1 -0
- package/dist/actions/list-carriers.d.cts +9 -0
- package/dist/actions/list-carriers.d.cts.map +1 -0
- package/dist/actions/list-carriers.d.mts +9 -0
- package/dist/actions/list-carriers.d.mts.map +1 -0
- package/dist/actions/list-carriers.mjs +30 -0
- package/dist/actions/list-carriers.mjs.map +1 -0
- package/dist/actions/list-catalog-imports.cjs +39 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -0
- package/dist/actions/list-catalog-imports.d.cts +9 -0
- package/dist/actions/list-catalog-imports.d.cts.map +1 -0
- package/dist/actions/list-catalog-imports.d.mts +9 -0
- package/dist/actions/list-catalog-imports.d.mts.map +1 -0
- package/dist/actions/list-catalog-imports.mjs +38 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -0
- package/dist/actions/list-communities-suggestions.cjs +36 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -0
- package/dist/actions/list-communities-suggestions.d.cts +9 -0
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -0
- package/dist/actions/list-communities-suggestions.d.mts +9 -0
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -0
- package/dist/actions/list-communities-suggestions.mjs +35 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -0
- package/dist/actions/list-communities.cjs +35 -0
- package/dist/actions/list-communities.cjs.map +1 -0
- package/dist/actions/list-communities.d.cts +9 -0
- package/dist/actions/list-communities.d.cts.map +1 -0
- package/dist/actions/list-communities.d.mts +9 -0
- package/dist/actions/list-communities.d.mts.map +1 -0
- package/dist/actions/list-communities.mjs +34 -0
- package/dist/actions/list-communities.mjs.map +1 -0
- package/dist/actions/list-devices.cjs +30 -0
- package/dist/actions/list-devices.cjs.map +1 -0
- package/dist/actions/list-devices.d.cts +9 -0
- package/dist/actions/list-devices.d.cts.map +1 -0
- package/dist/actions/list-devices.d.mts +9 -0
- package/dist/actions/list-devices.d.mts.map +1 -0
- package/dist/actions/list-devices.mjs +29 -0
- package/dist/actions/list-devices.mjs.map +1 -0
- package/dist/actions/list-funding-instruments.cjs +53 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -0
- package/dist/actions/list-funding-instruments.d.cts +9 -0
- package/dist/actions/list-funding-instruments.d.cts.map +1 -0
- package/dist/actions/list-funding-instruments.d.mts +9 -0
- package/dist/actions/list-funding-instruments.d.mts.map +1 -0
- package/dist/actions/list-funding-instruments.mjs +52 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -0
- package/dist/actions/list-geolocations.cjs +29 -0
- package/dist/actions/list-geolocations.cjs.map +1 -0
- package/dist/actions/list-geolocations.d.cts +9 -0
- package/dist/actions/list-geolocations.d.cts.map +1 -0
- package/dist/actions/list-geolocations.d.mts +9 -0
- package/dist/actions/list-geolocations.d.mts.map +1 -0
- package/dist/actions/list-geolocations.mjs +28 -0
- package/dist/actions/list-geolocations.mjs.map +1 -0
- package/dist/actions/list-industries.cjs +20 -0
- package/dist/actions/list-industries.cjs.map +1 -0
- package/dist/actions/list-industries.d.cts +9 -0
- package/dist/actions/list-industries.d.cts.map +1 -0
- package/dist/actions/list-industries.d.mts +9 -0
- package/dist/actions/list-industries.d.mts.map +1 -0
- package/dist/actions/list-industries.mjs +19 -0
- package/dist/actions/list-industries.mjs.map +1 -0
- package/dist/actions/list-interests.cjs +21 -0
- package/dist/actions/list-interests.cjs.map +1 -0
- package/dist/actions/list-interests.d.cts +9 -0
- package/dist/actions/list-interests.d.cts.map +1 -0
- package/dist/actions/list-interests.d.mts +9 -0
- package/dist/actions/list-interests.d.mts.map +1 -0
- package/dist/actions/list-interests.mjs +20 -0
- package/dist/actions/list-interests.mjs.map +1 -0
- package/dist/actions/list-lead-gen-forms.cjs +37 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -0
- package/dist/actions/list-lead-gen-forms.d.cts +9 -0
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -0
- package/dist/actions/list-lead-gen-forms.d.mts +9 -0
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -0
- package/dist/actions/list-lead-gen-forms.mjs +36 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -0
- package/dist/actions/list-my-businesses.cjs +41 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -0
- package/dist/actions/list-my-businesses.d.cts +9 -0
- package/dist/actions/list-my-businesses.d.cts.map +1 -0
- package/dist/actions/list-my-businesses.d.mts +9 -0
- package/dist/actions/list-my-businesses.d.mts.map +1 -0
- package/dist/actions/list-my-businesses.mjs +40 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs +38 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.d.cts +9 -0
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.d.mts +9 -0
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs +37 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -0
- package/dist/actions/list-pixels-by-business.cjs +38 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -0
- package/dist/actions/list-pixels-by-business.d.cts +9 -0
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -0
- package/dist/actions/list-pixels-by-business.d.mts +9 -0
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -0
- package/dist/actions/list-pixels-by-business.mjs +37 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -0
- package/dist/actions/list-posts.cjs +52 -0
- package/dist/actions/list-posts.cjs.map +1 -0
- package/dist/actions/list-posts.d.cts +9 -0
- package/dist/actions/list-posts.d.cts.map +1 -0
- package/dist/actions/list-posts.d.mts +9 -0
- package/dist/actions/list-posts.d.mts.map +1 -0
- package/dist/actions/list-posts.mjs +51 -0
- package/dist/actions/list-posts.mjs.map +1 -0
- package/dist/actions/list-product-catalogs.cjs +33 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -0
- package/dist/actions/list-product-catalogs.d.cts +9 -0
- package/dist/actions/list-product-catalogs.d.cts.map +1 -0
- package/dist/actions/list-product-catalogs.d.mts +9 -0
- package/dist/actions/list-product-catalogs.d.mts.map +1 -0
- package/dist/actions/list-product-catalogs.mjs +32 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -0
- package/dist/actions/list-product-feeds.cjs +32 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -0
- package/dist/actions/list-product-feeds.d.cts +9 -0
- package/dist/actions/list-product-feeds.d.cts.map +1 -0
- package/dist/actions/list-product-feeds.d.mts +9 -0
- package/dist/actions/list-product-feeds.d.mts.map +1 -0
- package/dist/actions/list-product-feeds.mjs +31 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -0
- package/dist/actions/list-product-sets.cjs +40 -0
- package/dist/actions/list-product-sets.cjs.map +1 -0
- package/dist/actions/list-product-sets.d.cts +9 -0
- package/dist/actions/list-product-sets.d.cts.map +1 -0
- package/dist/actions/list-product-sets.d.mts +9 -0
- package/dist/actions/list-product-sets.d.mts.map +1 -0
- package/dist/actions/list-product-sets.mjs +39 -0
- package/dist/actions/list-product-sets.mjs.map +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs +91 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -0
- package/dist/actions/list-products-in-product-catalog.d.cts +9 -0
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -0
- package/dist/actions/list-products-in-product-catalog.d.mts +9 -0
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs +90 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -0
- package/dist/actions/list-products-in-product-set.cjs +135 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -0
- package/dist/actions/list-products-in-product-set.d.cts +9 -0
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -0
- package/dist/actions/list-products-in-product-set.d.mts +9 -0
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -0
- package/dist/actions/list-products-in-product-set.mjs +134 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs +34 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.d.cts +9 -0
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.d.mts +9 -0
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs +33 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -0
- package/dist/actions/list-profiles-by-business.cjs +34 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -0
- package/dist/actions/list-profiles-by-business.d.cts +9 -0
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -0
- package/dist/actions/list-profiles-by-business.d.mts +9 -0
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -0
- package/dist/actions/list-profiles-by-business.mjs +33 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -0
- package/dist/actions/list-saved-audiences.cjs +41 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -0
- package/dist/actions/list-saved-audiences.d.cts +9 -0
- package/dist/actions/list-saved-audiences.d.cts.map +1 -0
- package/dist/actions/list-saved-audiences.d.mts +9 -0
- package/dist/actions/list-saved-audiences.d.mts.map +1 -0
- package/dist/actions/list-saved-audiences.mjs +40 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -0
- package/dist/actions/list-structured-posts.cjs +42 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -0
- package/dist/actions/list-structured-posts.d.cts +9 -0
- package/dist/actions/list-structured-posts.d.cts.map +1 -0
- package/dist/actions/list-structured-posts.d.mts +9 -0
- package/dist/actions/list-structured-posts.d.mts.map +1 -0
- package/dist/actions/list-structured-posts.mjs +41 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -0
- package/dist/actions/list-time-zones.cjs +34 -0
- package/dist/actions/list-time-zones.cjs.map +1 -0
- package/dist/actions/list-time-zones.d.cts +9 -0
- package/dist/actions/list-time-zones.d.cts.map +1 -0
- package/dist/actions/list-time-zones.d.mts +9 -0
- package/dist/actions/list-time-zones.d.mts.map +1 -0
- package/dist/actions/list-time-zones.mjs +33 -0
- package/dist/actions/list-time-zones.mjs.map +1 -0
- package/dist/actions/list-user-custom-audiences.cjs +49 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -0
- package/dist/actions/list-user-custom-audiences.d.cts +9 -0
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -0
- package/dist/actions/list-user-custom-audiences.d.mts +9 -0
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -0
- package/dist/actions/list-user-custom-audiences.mjs +48 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -0
- package/dist/actions/list3rd-party-audiences.cjs +37 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -0
- package/dist/actions/list3rd-party-audiences.d.cts +9 -0
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -0
- package/dist/actions/list3rd-party-audiences.d.mts +9 -0
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -0
- package/dist/actions/list3rd-party-audiences.mjs +36 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -0
- package/dist/actions/query-ad-accounts.cjs +53 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -0
- package/dist/actions/query-ad-accounts.d.cts +9 -0
- package/dist/actions/query-ad-accounts.d.cts.map +1 -0
- package/dist/actions/query-ad-accounts.d.mts +9 -0
- package/dist/actions/query-ad-accounts.d.mts.map +1 -0
- package/dist/actions/query-ad-accounts.mjs +52 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs +46 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.d.cts +9 -0
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.d.mts +9 -0
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs +45 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -0
- package/dist/actions/search-communities.cjs +35 -0
- package/dist/actions/search-communities.cjs.map +1 -0
- package/dist/actions/search-communities.d.cts +9 -0
- package/dist/actions/search-communities.d.cts.map +1 -0
- package/dist/actions/search-communities.d.mts +9 -0
- package/dist/actions/search-communities.d.mts.map +1 -0
- package/dist/actions/search-communities.mjs +34 -0
- package/dist/actions/search-communities.mjs.map +1 -0
- package/dist/actions/update-ad-account.cjs +79 -0
- package/dist/actions/update-ad-account.cjs.map +1 -0
- package/dist/actions/update-ad-account.d.cts +9 -0
- package/dist/actions/update-ad-account.d.cts.map +1 -0
- package/dist/actions/update-ad-account.d.mts +9 -0
- package/dist/actions/update-ad-account.d.mts.map +1 -0
- package/dist/actions/update-ad-account.mjs +78 -0
- package/dist/actions/update-ad-account.mjs.map +1 -0
- package/dist/actions/update-business.cjs +67 -0
- package/dist/actions/update-business.cjs.map +1 -0
- package/dist/actions/update-business.d.cts +9 -0
- package/dist/actions/update-business.d.cts.map +1 -0
- package/dist/actions/update-business.d.mts +9 -0
- package/dist/actions/update-business.d.mts.map +1 -0
- package/dist/actions/update-business.mjs +66 -0
- package/dist/actions/update-business.mjs.map +1 -0
- package/dist/actions/update-campaign.cjs +90 -0
- package/dist/actions/update-campaign.cjs.map +1 -0
- package/dist/actions/update-campaign.d.cts +9 -0
- package/dist/actions/update-campaign.d.cts.map +1 -0
- package/dist/actions/update-campaign.d.mts +9 -0
- package/dist/actions/update-campaign.d.mts.map +1 -0
- package/dist/actions/update-campaign.mjs +89 -0
- package/dist/actions/update-campaign.mjs.map +1 -0
- package/dist/actions/update-custom-audience-users.cjs +32 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -0
- package/dist/actions/update-custom-audience-users.d.cts +9 -0
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -0
- package/dist/actions/update-custom-audience-users.d.mts +9 -0
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -0
- package/dist/actions/update-custom-audience-users.mjs +29 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -0
- package/dist/actions/update-post.cjs +32 -0
- package/dist/actions/update-post.cjs.map +1 -0
- package/dist/actions/update-post.d.cts +9 -0
- package/dist/actions/update-post.d.cts.map +1 -0
- package/dist/actions/update-post.d.mts +9 -0
- package/dist/actions/update-post.d.mts.map +1 -0
- package/dist/actions/update-post.mjs +31 -0
- package/dist/actions/update-post.mjs.map +1 -0
- package/dist/actions/update-product-catalog.cjs +59 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -0
- package/dist/actions/update-product-catalog.d.cts +9 -0
- package/dist/actions/update-product-catalog.d.cts.map +1 -0
- package/dist/actions/update-product-catalog.d.mts +9 -0
- package/dist/actions/update-product-catalog.d.mts.map +1 -0
- package/dist/actions/update-product-catalog.mjs +58 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -0
- package/dist/actions/update-product-feed.cjs +59 -0
- package/dist/actions/update-product-feed.cjs.map +1 -0
- package/dist/actions/update-product-feed.d.cts +9 -0
- package/dist/actions/update-product-feed.d.cts.map +1 -0
- package/dist/actions/update-product-feed.d.mts +9 -0
- package/dist/actions/update-product-feed.d.mts.map +1 -0
- package/dist/actions/update-product-feed.mjs +58 -0
- package/dist/actions/update-product-feed.mjs.map +1 -0
- package/dist/actions/update-product-set.cjs +37 -0
- package/dist/actions/update-product-set.cjs.map +1 -0
- package/dist/actions/update-product-set.d.cts +9 -0
- package/dist/actions/update-product-set.d.cts.map +1 -0
- package/dist/actions/update-product-set.d.mts +9 -0
- package/dist/actions/update-product-set.d.mts.map +1 -0
- package/dist/actions/update-product-set.mjs +36 -0
- package/dist/actions/update-product-set.mjs.map +1 -0
- package/dist/actions/update-saved-audience.cjs +76 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -0
- package/dist/actions/update-saved-audience.d.cts +9 -0
- package/dist/actions/update-saved-audience.d.cts.map +1 -0
- package/dist/actions/update-saved-audience.d.mts +9 -0
- package/dist/actions/update-saved-audience.d.mts.map +1 -0
- package/dist/actions/update-saved-audience.mjs +75 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -0
- package/dist/actions/update-structured-post.cjs +26 -0
- package/dist/actions/update-structured-post.cjs.map +1 -0
- package/dist/actions/update-structured-post.d.cts +9 -0
- package/dist/actions/update-structured-post.d.cts.map +1 -0
- package/dist/actions/update-structured-post.d.mts +9 -0
- package/dist/actions/update-structured-post.d.mts.map +1 -0
- package/dist/actions/update-structured-post.mjs +25 -0
- package/dist/actions/update-structured-post.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +172 -0
- package/dist/index.d.cts +86 -0
- package/dist/index.d.mts +86 -0
- package/dist/index.mjs +87 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-carriers.mjs","names":[],"sources":["../../src/actions/list-carriers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCarriersInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all carriers. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListCarriers_CarrierSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the carrier.\"),\n name: z.string().describe(\"Name of the carrier.\"),\n country_code: z.string().describe(\"Country code where the carrier operates.\"),\n}).describe(\"Represents a single carrier returned by the Reddit Ads API.\");\nconst RedditAdsListCarriers_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through carrier results.\");\nexport const RedditAdsListCarriersOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCarriers_CarrierSchema).describe(\"List of carriers available for targeting.\"),\n pagination: RedditAdsListCarriers_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all carriers with pagination.\");\n\nexport const redditAdsListCarriers = action(\"REDDIT_ADS_LIST_CARRIERS\", {\n slug: \"reddit_ads-list-carriers\",\n name: \"List Carriers\",\n description: \"Tool to retrieve all available carriers from Reddit Ads API for targeting purposes. Use when you need to get a list of mobile carriers for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCarriersInput,\n output: RedditAdsListCarriersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,uGAAuG;AACnH,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC9E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,yCAAuD,EAAE,OAAO;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAM5E,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2CAA2C;EACvG,YAAY,uCAAuC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-catalog-imports.ts
|
|
4
|
+
const RedditAdsListCatalogImportsInput = zod.z.object({
|
|
5
|
+
feed_ids: zod.z.array(zod.z.string()).describe("List of product feed IDs to filter by.").optional(),
|
|
6
|
+
statuses: zod.z.array(zod.z.string()).describe("Catalog import statuses to filter by.").optional(),
|
|
7
|
+
page_size: zod.z.number().int().describe("The number of items to be returned by page.").optional(),
|
|
8
|
+
catalog_id: zod.z.string().describe("The ID of the parent product catalog."),
|
|
9
|
+
page_token: zod.z.string().describe("The token for the page to retrieve.").optional()
|
|
10
|
+
}).describe("Request model for listing catalog imports for a product catalog.");
|
|
11
|
+
const RedditAdsListCatalogImports_CatalogImportSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("Unique identifier of the catalog import.").nullable().optional(),
|
|
13
|
+
status: zod.z.string().describe("The status of the catalog import.").nullable().optional(),
|
|
14
|
+
feed_id: zod.z.string().describe("The ID of the product feed.").nullable().optional(),
|
|
15
|
+
summary: zod.z.object({}).describe("Summary information about the catalog import.").nullable().optional(),
|
|
16
|
+
filename: zod.z.string().describe("The filename of the imported catalog data.").nullable().optional(),
|
|
17
|
+
catalog_id: zod.z.string().describe("The ID of the parent product catalog.").nullable().optional(),
|
|
18
|
+
created_at: zod.z.string().describe("Timestamp when the catalog import was created.").nullable().optional(),
|
|
19
|
+
modified_at: zod.z.string().describe("Timestamp when the catalog import was last modified.").nullable().optional()
|
|
20
|
+
}).describe("Represents a single catalog import.");
|
|
21
|
+
const RedditAdsListCatalogImports_PaginationSchema = zod.z.object({
|
|
22
|
+
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page.").nullable().optional(),
|
|
23
|
+
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page.").nullable().optional()
|
|
24
|
+
}).describe("Pagination information for the response.");
|
|
25
|
+
const RedditAdsListCatalogImportsOutput = zod.z.object({
|
|
26
|
+
data: zod.z.array(RedditAdsListCatalogImports_CatalogImportSchema).describe("List of catalog imports for the product catalog."),
|
|
27
|
+
pagination: RedditAdsListCatalogImports_PaginationSchema.nullable()
|
|
28
|
+
}).describe("Response model containing the list of catalog imports.");
|
|
29
|
+
const redditAdsListCatalogImports = require_action.action("REDDIT_ADS_LIST_CATALOG_IMPORTS", {
|
|
30
|
+
slug: "reddit_ads-list-catalog-imports",
|
|
31
|
+
name: "List Catalog Imports",
|
|
32
|
+
description: "Tool to retrieve all imports for a catalog. Use when you need to list import history and status for a specific product catalog. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
33
|
+
input: RedditAdsListCatalogImportsInput,
|
|
34
|
+
output: RedditAdsListCatalogImportsOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.redditAdsListCatalogImports = redditAdsListCatalogImports;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=list-catalog-imports.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-catalog-imports.cjs","names":["z","action"],"sources":["../../src/actions/list-catalog-imports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCatalogImportsInput: z.ZodTypeAny = z.object({\n feed_ids: z.array(z.string()).describe(\"List of product feed IDs to filter by.\").optional(),\n statuses: z.array(z.string()).describe(\"Catalog import statuses to filter by.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n}).describe(\"Request model for listing catalog imports for a product catalog.\");\nconst RedditAdsListCatalogImports_CatalogImportSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the catalog import.\").nullable().optional(),\n status: z.string().describe(\"The status of the catalog import.\").nullable().optional(),\n feed_id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n summary: z.object({}).describe(\"Summary information about the catalog import.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the imported catalog data.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the catalog import was created.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the catalog import was last modified.\").nullable().optional(),\n}).describe(\"Represents a single catalog import.\");\nconst RedditAdsListCatalogImports_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RedditAdsListCatalogImportsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCatalogImports_CatalogImportSchema).describe(\"List of catalog imports for the product catalog.\"),\n pagination: RedditAdsListCatalogImports_PaginationSchema.nullable(),\n}).describe(\"Response model containing the list of catalog imports.\");\n\nexport const redditAdsListCatalogImports = action(\"REDDIT_ADS_LIST_CATALOG_IMPORTS\", {\n slug: \"reddit_ads-list-catalog-imports\",\n name: \"List Catalog Imports\",\n description: \"Tool to retrieve all imports for a catalog. Use when you need to list import history and status for a specific product catalog. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsListCatalogImportsInput,\n output: RedditAdsListCatalogImportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,kDAAkD;CAC1H,YAAY,6CAA6C,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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/list-catalog-imports.d.ts
|
|
4
|
+
declare const RedditAdsListCatalogImportsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCatalogImportsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCatalogImports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCatalogImports };
|
|
9
|
+
//# sourceMappingURL=list-catalog-imports.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-catalog-imports.d.cts","names":[],"sources":["../../src/actions/list-catalog-imports.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAM8B;AAAA,cAelE,iCAAA,EAAmC,CAAA,CAAE,UAGmB;AAAA,cAExD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-catalog-imports.d.ts
|
|
4
|
+
declare const RedditAdsListCatalogImportsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCatalogImportsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCatalogImports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCatalogImports };
|
|
9
|
+
//# sourceMappingURL=list-catalog-imports.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-catalog-imports.d.mts","names":[],"sources":["../../src/actions/list-catalog-imports.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAM8B;AAAA,cAelE,iCAAA,EAAmC,CAAA,CAAE,UAGmB;AAAA,cAExD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-catalog-imports.ts
|
|
4
|
+
const RedditAdsListCatalogImportsInput = z.object({
|
|
5
|
+
feed_ids: z.array(z.string()).describe("List of product feed IDs to filter by.").optional(),
|
|
6
|
+
statuses: z.array(z.string()).describe("Catalog import statuses to filter by.").optional(),
|
|
7
|
+
page_size: z.number().int().describe("The number of items to be returned by page.").optional(),
|
|
8
|
+
catalog_id: z.string().describe("The ID of the parent product catalog."),
|
|
9
|
+
page_token: z.string().describe("The token for the page to retrieve.").optional()
|
|
10
|
+
}).describe("Request model for listing catalog imports for a product catalog.");
|
|
11
|
+
const RedditAdsListCatalogImports_CatalogImportSchema = z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the catalog import.").nullable().optional(),
|
|
13
|
+
status: z.string().describe("The status of the catalog import.").nullable().optional(),
|
|
14
|
+
feed_id: z.string().describe("The ID of the product feed.").nullable().optional(),
|
|
15
|
+
summary: z.object({}).describe("Summary information about the catalog import.").nullable().optional(),
|
|
16
|
+
filename: z.string().describe("The filename of the imported catalog data.").nullable().optional(),
|
|
17
|
+
catalog_id: z.string().describe("The ID of the parent product catalog.").nullable().optional(),
|
|
18
|
+
created_at: z.string().describe("Timestamp when the catalog import was created.").nullable().optional(),
|
|
19
|
+
modified_at: z.string().describe("Timestamp when the catalog import was last modified.").nullable().optional()
|
|
20
|
+
}).describe("Represents a single catalog import.");
|
|
21
|
+
const RedditAdsListCatalogImports_PaginationSchema = z.object({
|
|
22
|
+
next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page.").nullable().optional(),
|
|
23
|
+
previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page.").nullable().optional()
|
|
24
|
+
}).describe("Pagination information for the response.");
|
|
25
|
+
const redditAdsListCatalogImports = action("REDDIT_ADS_LIST_CATALOG_IMPORTS", {
|
|
26
|
+
slug: "reddit_ads-list-catalog-imports",
|
|
27
|
+
name: "List Catalog Imports",
|
|
28
|
+
description: "Tool to retrieve all imports for a catalog. Use when you need to list import history and status for a specific product catalog. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
29
|
+
input: RedditAdsListCatalogImportsInput,
|
|
30
|
+
output: z.object({
|
|
31
|
+
data: z.array(RedditAdsListCatalogImports_CatalogImportSchema).describe("List of catalog imports for the product catalog."),
|
|
32
|
+
pagination: RedditAdsListCatalogImports_PaginationSchema.nullable()
|
|
33
|
+
}).describe("Response model containing the list of catalog imports.")
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { redditAdsListCatalogImports };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=list-catalog-imports.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-catalog-imports.mjs","names":[],"sources":["../../src/actions/list-catalog-imports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCatalogImportsInput: z.ZodTypeAny = z.object({\n feed_ids: z.array(z.string()).describe(\"List of product feed IDs to filter by.\").optional(),\n statuses: z.array(z.string()).describe(\"Catalog import statuses to filter by.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n}).describe(\"Request model for listing catalog imports for a product catalog.\");\nconst RedditAdsListCatalogImports_CatalogImportSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the catalog import.\").nullable().optional(),\n status: z.string().describe(\"The status of the catalog import.\").nullable().optional(),\n feed_id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n summary: z.object({}).describe(\"Summary information about the catalog import.\").nullable().optional(),\n filename: z.string().describe(\"The filename of the imported catalog data.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the catalog import was created.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the catalog import was last modified.\").nullable().optional(),\n}).describe(\"Represents a single catalog import.\");\nconst RedditAdsListCatalogImports_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RedditAdsListCatalogImportsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCatalogImports_CatalogImportSchema).describe(\"List of catalog imports for the product catalog.\"),\n pagination: RedditAdsListCatalogImports_PaginationSchema.nullable(),\n}).describe(\"Response model containing the list of catalog imports.\");\n\nexport const redditAdsListCatalogImports = action(\"REDDIT_ADS_LIST_CATALOG_IMPORTS\", {\n slug: \"reddit_ads-list-catalog-imports\",\n name: \"List Catalog Imports\",\n description: \"Tool to retrieve all imports for a catalog. Use when you need to list import history and status for a specific product catalog. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsListCatalogImportsInput,\n output: RedditAdsListCatalogImportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,kDAAkD;EAC1H,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-communities-suggestions.ts
|
|
4
|
+
const RedditAdsListCommunitiesSuggestionsInput = zod.z.object({
|
|
5
|
+
names: zod.z.string().describe("Comma-separated list of community names to get info for. If query is not provided, it will return a set of default suggestions.").optional(),
|
|
6
|
+
page_size: zod.z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
7
|
+
page_token: zod.z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional(),
|
|
8
|
+
website_url: zod.z.string().describe("The website that suggestions should relate to. If parameter is empty or not included, it will use the user's business website.").optional()
|
|
9
|
+
}).describe("Request model for listing suggested communities. All parameters are optional, allowing for both targeted and default suggestion retrieval.");
|
|
10
|
+
const RedditAdsListCommunitiesSuggestions_CommunitySchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("Unique identifier for the community."),
|
|
12
|
+
name: zod.z.string().describe("Name of the community."),
|
|
13
|
+
icon_url: zod.z.string().describe("URL of the community icon.").nullable().optional(),
|
|
14
|
+
categories: zod.z.array(zod.z.string()).describe("Categories that the community belongs to."),
|
|
15
|
+
description: zod.z.string().describe("Description of the community.").nullable().optional(),
|
|
16
|
+
subscriber_count: zod.z.number().int().describe("Number of subscribers in the community.")
|
|
17
|
+
}).describe("Represents a single community returned by the Reddit Ads API.");
|
|
18
|
+
const RedditAdsListCommunitiesSuggestions_PaginationSchema = zod.z.object({
|
|
19
|
+
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
20
|
+
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
21
|
+
}).describe("Pagination information for navigating through community results.");
|
|
22
|
+
const RedditAdsListCommunitiesSuggestionsOutput = zod.z.object({
|
|
23
|
+
data: zod.z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe("List of suggested communities available for targeting."),
|
|
24
|
+
pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable()
|
|
25
|
+
}).describe("Response model for listing suggested communities with pagination.");
|
|
26
|
+
const redditAdsListCommunitiesSuggestions = require_action.action("REDDIT_ADS_LIST_COMMUNITIES_SUGGESTIONS", {
|
|
27
|
+
slug: "reddit_ads-list-communities-suggestions",
|
|
28
|
+
name: "List Communities Suggestions",
|
|
29
|
+
description: "Tool to fetch suggested communities for given community names from Reddit Ads API. Use when you need to discover relevant communities for ad targeting based on community names or website URLs. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
30
|
+
input: RedditAdsListCommunitiesSuggestionsInput,
|
|
31
|
+
output: RedditAdsListCommunitiesSuggestionsOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.redditAdsListCommunitiesSuggestions = redditAdsListCommunitiesSuggestions;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=list-communities-suggestions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/list-communities-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesSuggestionsInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. If query is not provided, it will return a set of default suggestions.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n website_url: z.string().describe(\"The website that suggestions should relate to. If parameter is empty or not included, it will use the user's business website.\").optional(),\n}).describe(\"Request model for listing suggested communities. All parameters are optional, allowing for both targeted and default suggestion retrieval.\");\nconst RedditAdsListCommunitiesSuggestions_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL of the community icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories that the community belongs to.\"),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\"),\n}).describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).describe(\"Response model for listing suggested communities with pagination.\");\n\nexport const redditAdsListCommunitiesSuggestions = action(\"REDDIT_ADS_LIST_COMMUNITIES_SUGGESTIONS\", {\n slug: \"reddit_ads-list-communities-suggestions\",\n name: \"List Communities Suggestions\",\n description: \"Tool to fetch suggested communities for given community names from Reddit Ads API. Use when you need to discover relevant communities for ad targeting based on community names or website URLs. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesSuggestionsInput,\n output: RedditAdsListCommunitiesSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACvK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wDAAwD;CACpI,YAAY,qDAAqD,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,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/list-communities-suggestions.d.ts
|
|
4
|
+
declare const RedditAdsListCommunitiesSuggestionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCommunitiesSuggestionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCommunitiesSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCommunitiesSuggestions };
|
|
9
|
+
//# sourceMappingURL=list-communities-suggestions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.d.cts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAKgG;AAAA,cAa5I,yCAAA,EAA2C,CAAA,CAAE,UAGsB;AAAA,cAEnE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-communities-suggestions.d.ts
|
|
4
|
+
declare const RedditAdsListCommunitiesSuggestionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCommunitiesSuggestionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCommunitiesSuggestions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCommunitiesSuggestions };
|
|
9
|
+
//# sourceMappingURL=list-communities-suggestions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.d.mts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAKgG;AAAA,cAa5I,yCAAA,EAA2C,CAAA,CAAE,UAGsB;AAAA,cAEnE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-communities-suggestions.ts
|
|
4
|
+
const RedditAdsListCommunitiesSuggestionsInput = z.object({
|
|
5
|
+
names: z.string().describe("Comma-separated list of community names to get info for. If query is not provided, it will return a set of default suggestions.").optional(),
|
|
6
|
+
page_size: z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
7
|
+
page_token: z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional(),
|
|
8
|
+
website_url: z.string().describe("The website that suggestions should relate to. If parameter is empty or not included, it will use the user's business website.").optional()
|
|
9
|
+
}).describe("Request model for listing suggested communities. All parameters are optional, allowing for both targeted and default suggestion retrieval.");
|
|
10
|
+
const RedditAdsListCommunitiesSuggestions_CommunitySchema = z.object({
|
|
11
|
+
id: z.string().describe("Unique identifier for the community."),
|
|
12
|
+
name: z.string().describe("Name of the community."),
|
|
13
|
+
icon_url: z.string().describe("URL of the community icon.").nullable().optional(),
|
|
14
|
+
categories: z.array(z.string()).describe("Categories that the community belongs to."),
|
|
15
|
+
description: z.string().describe("Description of the community.").nullable().optional(),
|
|
16
|
+
subscriber_count: z.number().int().describe("Number of subscribers in the community.")
|
|
17
|
+
}).describe("Represents a single community returned by the Reddit Ads API.");
|
|
18
|
+
const RedditAdsListCommunitiesSuggestions_PaginationSchema = z.object({
|
|
19
|
+
next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
20
|
+
previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
21
|
+
}).describe("Pagination information for navigating through community results.");
|
|
22
|
+
const redditAdsListCommunitiesSuggestions = action("REDDIT_ADS_LIST_COMMUNITIES_SUGGESTIONS", {
|
|
23
|
+
slug: "reddit_ads-list-communities-suggestions",
|
|
24
|
+
name: "List Communities Suggestions",
|
|
25
|
+
description: "Tool to fetch suggested communities for given community names from Reddit Ads API. Use when you need to discover relevant communities for ad targeting based on community names or website URLs. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
26
|
+
input: RedditAdsListCommunitiesSuggestionsInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe("List of suggested communities available for targeting."),
|
|
29
|
+
pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable()
|
|
30
|
+
}).describe("Response model for listing suggested communities with pagination.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { redditAdsListCommunitiesSuggestions };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=list-communities-suggestions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.mjs","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesSuggestionsInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. If query is not provided, it will return a set of default suggestions.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n website_url: z.string().describe(\"The website that suggestions should relate to. If parameter is empty or not included, it will use the user's business website.\").optional(),\n}).describe(\"Request model for listing suggested communities. All parameters are optional, allowing for both targeted and default suggestion retrieval.\");\nconst RedditAdsListCommunitiesSuggestions_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL of the community icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories that the community belongs to.\"),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\"),\n}).describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).describe(\"Response model for listing suggested communities with pagination.\");\n\nexport const redditAdsListCommunitiesSuggestions = action(\"REDDIT_ADS_LIST_COMMUNITIES_SUGGESTIONS\", {\n slug: \"reddit_ads-list-communities-suggestions\",\n name: \"List Communities Suggestions\",\n description: \"Tool to fetch suggested communities for given community names from Reddit Ads API. Use when you need to discover relevant communities for ad targeting based on community names or website URLs. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesSuggestionsInput,\n output: RedditAdsListCommunitiesSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyD,EAAE,OAAO;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uDAAqE,EAAE,OAAO;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAM9E,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqE,EAAE,OAAO;EAC9E,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wDAAwD;EACpI,YAAY,qDAAqD,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-communities.ts
|
|
4
|
+
const RedditAdsListCommunitiesInput = zod.z.object({
|
|
5
|
+
names: zod.z.string().describe("Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.").optional(),
|
|
6
|
+
page_size: zod.z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
7
|
+
page_token: zod.z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
|
|
8
|
+
}).describe("Request model for listing targetable communities. Filter by community names and paginate through results.");
|
|
9
|
+
const RedditAdsListCommunities_CommunitySchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Unique identifier for the community."),
|
|
11
|
+
name: zod.z.string().describe("Name of the community."),
|
|
12
|
+
icon_url: zod.z.string().describe("URL to the community's icon image.").nullable().optional(),
|
|
13
|
+
categories: zod.z.array(zod.z.string()).describe("Categories associated with the community.").nullable().optional(),
|
|
14
|
+
description: zod.z.string().describe("Description of the community.").nullable().optional(),
|
|
15
|
+
subscriber_count: zod.z.number().int().describe("Number of subscribers in the community.")
|
|
16
|
+
}).describe("Represents a single targetable community returned by the Reddit Ads API.");
|
|
17
|
+
const RedditAdsListCommunities_PaginationSchema = zod.z.object({
|
|
18
|
+
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
19
|
+
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
20
|
+
}).describe("Pagination information for navigating through community results.");
|
|
21
|
+
const RedditAdsListCommunitiesOutput = zod.z.object({
|
|
22
|
+
data: zod.z.array(RedditAdsListCommunities_CommunitySchema).describe("List of targetable communities returned by the API."),
|
|
23
|
+
pagination: RedditAdsListCommunities_PaginationSchema.nullable()
|
|
24
|
+
}).describe("Response model for listing targetable communities with pagination.");
|
|
25
|
+
const redditAdsListCommunities = require_action.action("REDDIT_ADS_LIST_COMMUNITIES", {
|
|
26
|
+
slug: "reddit_ads-list-communities",
|
|
27
|
+
name: "List Communities",
|
|
28
|
+
description: "Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
29
|
+
input: RedditAdsListCommunitiesInput,
|
|
30
|
+
output: RedditAdsListCommunitiesOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.redditAdsListCommunities = redditAdsListCommunities;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=list-communities.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities.cjs","names":["z","action"],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\"),\n}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACvF,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-communities.d.ts
|
|
4
|
+
declare const RedditAdsListCommunitiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCommunitiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCommunities };
|
|
9
|
+
//# sourceMappingURL=list-communities.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities.d.cts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI0E;AAAA,cAa3G,8BAAA,EAAgC,CAAA,CAAE,UAGkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-communities.d.ts
|
|
4
|
+
declare const RedditAdsListCommunitiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListCommunitiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListCommunities: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListCommunities };
|
|
9
|
+
//# sourceMappingURL=list-communities.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities.d.mts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI0E;AAAA,cAa3G,8BAAA,EAAgC,CAAA,CAAE,UAGkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-communities.ts
|
|
4
|
+
const RedditAdsListCommunitiesInput = z.object({
|
|
5
|
+
names: z.string().describe("Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.").optional(),
|
|
6
|
+
page_size: z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
7
|
+
page_token: z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
|
|
8
|
+
}).describe("Request model for listing targetable communities. Filter by community names and paginate through results.");
|
|
9
|
+
const RedditAdsListCommunities_CommunitySchema = z.object({
|
|
10
|
+
id: z.string().describe("Unique identifier for the community."),
|
|
11
|
+
name: z.string().describe("Name of the community."),
|
|
12
|
+
icon_url: z.string().describe("URL to the community's icon image.").nullable().optional(),
|
|
13
|
+
categories: z.array(z.string()).describe("Categories associated with the community.").nullable().optional(),
|
|
14
|
+
description: z.string().describe("Description of the community.").nullable().optional(),
|
|
15
|
+
subscriber_count: z.number().int().describe("Number of subscribers in the community.")
|
|
16
|
+
}).describe("Represents a single targetable community returned by the Reddit Ads API.");
|
|
17
|
+
const RedditAdsListCommunities_PaginationSchema = z.object({
|
|
18
|
+
next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
19
|
+
previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
20
|
+
}).describe("Pagination information for navigating through community results.");
|
|
21
|
+
const redditAdsListCommunities = action("REDDIT_ADS_LIST_COMMUNITIES", {
|
|
22
|
+
slug: "reddit_ads-list-communities",
|
|
23
|
+
name: "List Communities",
|
|
24
|
+
description: "Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
25
|
+
input: RedditAdsListCommunitiesInput,
|
|
26
|
+
output: z.object({
|
|
27
|
+
data: z.array(RedditAdsListCommunities_CommunitySchema).describe("List of targetable communities returned by the API."),
|
|
28
|
+
pagination: RedditAdsListCommunities_PaginationSchema.nullable()
|
|
29
|
+
}).describe("Response model for listing targetable communities with pagination.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { redditAdsListCommunities };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-communities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-communities.mjs","names":[],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput: z.ZodTypeAny = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the community.\"),\n name: z.string().describe(\"Name of the community.\"),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\"),\n}).describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities = action(\"REDDIT_ADS_LIST_COMMUNITIES\", {\n slug: \"reddit_ads-list-communities\",\n name: \"List Communities\",\n description: \"Tool to list targetable communities matched by their names. Use when you need to find Reddit communities (subreddits) available for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListCommunitiesInput,\n output: RedditAdsListCommunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACvF,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAM9E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;EACtH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-devices.ts
|
|
4
|
+
const RedditAdsListDevicesInput = zod.z.object({
|
|
5
|
+
page_size: zod.z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
6
|
+
page_token: zod.z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
|
|
7
|
+
}).describe("Request model for listing all devices. Supports pagination for navigating through large result sets.");
|
|
8
|
+
const RedditAdsListDevices_DeviceSchema = zod.z.object({
|
|
9
|
+
make: zod.z.string().describe("The device manufacturer or make.").nullable().optional(),
|
|
10
|
+
model: zod.z.string().describe("The device model name.").nullable().optional()
|
|
11
|
+
}).describe("Represents a single device returned by the Reddit Ads API.");
|
|
12
|
+
const RedditAdsListDevices_PaginationSchema = zod.z.object({
|
|
13
|
+
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
14
|
+
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
15
|
+
}).describe("Pagination information for navigating through device results.");
|
|
16
|
+
const RedditAdsListDevicesOutput = zod.z.object({
|
|
17
|
+
data: zod.z.array(RedditAdsListDevices_DeviceSchema).describe("List of devices available for targeting by make and model."),
|
|
18
|
+
pagination: RedditAdsListDevices_PaginationSchema.nullable()
|
|
19
|
+
}).describe("Response model for listing all devices with pagination.");
|
|
20
|
+
const redditAdsListDevices = require_action.action("REDDIT_ADS_LIST_DEVICES", {
|
|
21
|
+
slug: "reddit_ads-list-devices",
|
|
22
|
+
name: "List Devices",
|
|
23
|
+
description: "Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
24
|
+
input: RedditAdsListDevicesInput,
|
|
25
|
+
output: RedditAdsListDevicesOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.redditAdsListDevices = redditAdsListDevices;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-devices.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAClH,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;CACtH,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-devices.d.ts
|
|
4
|
+
declare const RedditAdsListDevicesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListDevicesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListDevices };
|
|
9
|
+
//# sourceMappingURL=list-devices.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGyE;AAAA,cAStG,0BAAA,EAA4B,CAAA,CAAE,UAG2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-devices.d.ts
|
|
4
|
+
declare const RedditAdsListDevicesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsListDevicesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsListDevices };
|
|
9
|
+
//# sourceMappingURL=list-devices.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGyE;AAAA,cAStG,0BAAA,EAA4B,CAAA,CAAE,UAG2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-devices.ts
|
|
4
|
+
const RedditAdsListDevicesInput = z.object({
|
|
5
|
+
page_size: z.number().int().describe("The number of items to be returned per page. Controls pagination page size.").optional(),
|
|
6
|
+
page_token: z.string().describe("The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.").optional()
|
|
7
|
+
}).describe("Request model for listing all devices. Supports pagination for navigating through large result sets.");
|
|
8
|
+
const RedditAdsListDevices_DeviceSchema = z.object({
|
|
9
|
+
make: z.string().describe("The device manufacturer or make.").nullable().optional(),
|
|
10
|
+
model: z.string().describe("The device model name.").nullable().optional()
|
|
11
|
+
}).describe("Represents a single device returned by the Reddit Ads API.");
|
|
12
|
+
const RedditAdsListDevices_PaginationSchema = z.object({
|
|
13
|
+
next_url: z.string().describe("The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.").nullable().optional(),
|
|
14
|
+
previous_url: z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.").nullable().optional()
|
|
15
|
+
}).describe("Pagination information for navigating through device results.");
|
|
16
|
+
const redditAdsListDevices = action("REDDIT_ADS_LIST_DEVICES", {
|
|
17
|
+
slug: "reddit_ads-list-devices",
|
|
18
|
+
name: "List Devices",
|
|
19
|
+
description: "Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.",
|
|
20
|
+
input: RedditAdsListDevicesInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: z.array(RedditAdsListDevices_DeviceSchema).describe("List of devices available for targeting by make and model."),
|
|
23
|
+
pagination: RedditAdsListDevices_PaginationSchema.nullable()
|
|
24
|
+
}).describe("Response model for listing all devices with pagination.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { redditAdsListDevices };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-devices.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices = action(\"REDDIT_ADS_LIST_DEVICES\", {\n slug: \"reddit_ads-list-devices\",\n name: \"List Devices\",\n description: \"Tool to retrieve all available devices from Reddit Ads API for targeting purposes. Use when you need to get a list of devices (by make and model) for ad targeting. Rate limit: Targeting Taxonomy - 500 requests per 60 seconds.\",\n input: RedditAdsListDevicesInput,\n output: RedditAdsListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAClH,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,wCAAsD,EAAE,OAAO;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;EACtH,YAAY,sCAAsC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-funding-instruments.ts
|
|
4
|
+
const RedditAdsListFundingInstrumentsInput = zod.z.object({
|
|
5
|
+
mode: zod.z.enum([
|
|
6
|
+
"ACTIVE",
|
|
7
|
+
"INACTIVE",
|
|
8
|
+
"UPCOMING",
|
|
9
|
+
"SELECTABLE",
|
|
10
|
+
"ALL"
|
|
11
|
+
]).describe("Enum for funding instrument modes.").optional(),
|
|
12
|
+
types: zod.z.array(zod.z.string()).describe("A list of funding instrument types to filter by.").optional(),
|
|
13
|
+
search: zod.z.string().describe("Search text to filter funding instruments by name or other text fields.").optional(),
|
|
14
|
+
end_time: zod.z.string().describe("End time in ISO-8601 format to filter funding instruments.").optional(),
|
|
15
|
+
page_size: zod.z.number().int().describe("The number of items to return per page.").optional(),
|
|
16
|
+
page_token: zod.z.string().describe("The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.").optional(),
|
|
17
|
+
start_time: zod.z.string().describe("Start time in ISO-8601 format to filter funding instruments.").optional(),
|
|
18
|
+
ad_account_id: zod.z.string().describe("The ID of the ad account to list funding instruments for."),
|
|
19
|
+
is_selectable: zod.z.boolean().describe("Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.").optional(),
|
|
20
|
+
funding_instrument_ids: zod.z.array(zod.z.string()).describe("A list of funding instrument IDs to filter by.").optional()
|
|
21
|
+
}).describe("Request model for listing funding instruments by ad account.");
|
|
22
|
+
const RedditAdsListFundingInstruments_FundingInstrumentSchema = zod.z.object({
|
|
23
|
+
id: zod.z.string().describe("Unique identifier of the funding instrument."),
|
|
24
|
+
name: zod.z.string().describe("Name of the funding instrument.").nullable().optional(),
|
|
25
|
+
currency: zod.z.string().describe("Currency code (e.g., USD, EUR).").nullable().optional(),
|
|
26
|
+
end_time: zod.z.string().describe("End time of the funding instrument in ISO-8601 format.").nullable().optional(),
|
|
27
|
+
start_time: zod.z.string().describe("Start time of the funding instrument in ISO-8601 format.").nullable().optional(),
|
|
28
|
+
is_servable: zod.z.boolean().describe("Whether the funding instrument can be used to serve ads.").nullable().optional(),
|
|
29
|
+
credit_limit: zod.z.number().int().describe("Credit limit in the smallest currency unit (e.g., cents).").nullable().optional(),
|
|
30
|
+
billable_amount: zod.z.number().int().describe("Billable amount in the smallest currency unit (e.g., cents).").nullable().optional(),
|
|
31
|
+
authorize_status: zod.z.string().describe("Authorization status of the funding instrument.").nullable().optional(),
|
|
32
|
+
invoice_group_status: zod.z.string().describe("Invoice group status of the funding instrument.").nullable().optional(),
|
|
33
|
+
reasons_not_servable: zod.z.array(zod.z.string()).describe("List of reasons why the funding instrument is not servable.").nullable().optional()
|
|
34
|
+
}).describe("Model representing a single funding instrument.");
|
|
35
|
+
const RedditAdsListFundingInstruments_PaginationSchema = zod.z.object({
|
|
36
|
+
next_url: zod.z.string().describe("The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.").nullable().optional(),
|
|
37
|
+
previous_url: zod.z.string().describe("The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.").nullable().optional()
|
|
38
|
+
}).describe("Model representing pagination information.");
|
|
39
|
+
const RedditAdsListFundingInstrumentsOutput = zod.z.object({
|
|
40
|
+
data: zod.z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe("List of funding instruments for the ad account."),
|
|
41
|
+
pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable()
|
|
42
|
+
}).describe("Response model for listing funding instruments.");
|
|
43
|
+
const redditAdsListFundingInstruments = require_action.action("REDDIT_ADS_LIST_FUNDING_INSTRUMENTS", {
|
|
44
|
+
slug: "reddit_ads-list-funding-instruments",
|
|
45
|
+
name: "List Funding Instruments",
|
|
46
|
+
description: "Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).",
|
|
47
|
+
input: RedditAdsListFundingInstrumentsInput,
|
|
48
|
+
output: RedditAdsListFundingInstrumentsOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.redditAdsListFundingInstruments = redditAdsListFundingInstruments;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-funding-instruments.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput: z.ZodTypeAny = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\"),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., cents).\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema: z.ZodTypeAny = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput: z.ZodTypeAny = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments = action(\"REDDIT_ADS_LIST_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-list-funding-instruments\",\n name: \"List Funding Instruments\",\n description: \"Tool to list funding instruments (payment methods) for a Reddit Ads ad account. Use when you need to retrieve billing information or check available payment methods. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsListFundingInstrumentsInput,\n output: RedditAdsListFundingInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAY;EAAc;CAAK,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC/G,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,iDAAiD;CACjI,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|