@keystrokehq/reddit_ads 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-ad-group.cjs +1 -0
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +3 -24
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +3 -24
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +1 -0
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +1 -0
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +3 -51
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +3 -51
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +1 -0
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +1 -0
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +4 -25
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +4 -25
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +1 -0
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +1 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +3 -8
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +3 -8
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +1 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +1 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +3 -14
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +3 -14
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +1 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +5 -18
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +5 -18
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +1 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +3 -9
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +3 -9
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +1 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +1 -0
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +3 -10
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +3 -10
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +1 -0
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +1 -0
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +3 -7
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +3 -7
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +1 -0
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +1 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +4 -26
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +4 -26
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +1 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +7 -44
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +7 -44
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +3 -3
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +3 -3
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +3 -3
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +3 -3
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +3 -3
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +3 -3
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -0
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +3 -3
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +3 -3
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -0
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -0
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +3 -4
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +3 -4
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -0
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +1 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +3 -4
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +3 -4
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +1 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +1 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +3 -5
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +3 -5
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +1 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -3
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -3
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +1 -0
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +3 -14
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +3 -14
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +1 -0
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +1 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +3 -26
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +3 -26
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +1 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +1 -0
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +3 -3
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +3 -3
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +1 -0
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +1 -0
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +3 -3
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +3 -3
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +1 -0
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +1 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +3 -3
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +3 -3
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +1 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +1 -0
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +3 -3
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +3 -3
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +1 -0
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +1 -0
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +3 -3
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +3 -3
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +1 -0
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +1 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +3 -9
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +3 -9
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +1 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +1 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +3 -5
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +3 -5
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +1 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +1 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +4 -4
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +4 -4
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +1 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +1 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +3 -3
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +3 -3
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +1 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +1 -0
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -1
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -1
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +1 -0
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +3 -3
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +3 -3
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +1 -0
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +4 -4
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +4 -4
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +1 -0
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +1 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +3 -3
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +3 -3
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +1 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +1 -0
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +3 -3
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +3 -3
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +1 -0
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +1 -0
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +3 -3
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +3 -3
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +1 -0
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +1 -0
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +3 -3
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -3
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +1 -0
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +1 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +4 -4
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +4 -4
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +1 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +3 -5
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +3 -5
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +1 -0
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +3 -3
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +3 -3
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +1 -0
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +3 -6
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +3 -6
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +1 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +3 -7
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +3 -7
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +1 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +1 -0
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +3 -6
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +3 -6
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +1 -0
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -6
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -6
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +1 -0
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +3 -4
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +3 -4
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +1 -0
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +1 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +3 -7
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +3 -7
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +1 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +1 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +3 -6
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +3 -6
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +1 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +1 -0
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +3 -5
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +3 -5
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +1 -0
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -4
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -4
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +1 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +3 -12
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +3 -12
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +1 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +1 -0
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +3 -5
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +3 -5
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +1 -0
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +1 -0
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +3 -1
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +3 -1
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +1 -0
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +1 -0
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +3 -1
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +3 -1
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +1 -0
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +1 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +3 -5
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +3 -5
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +1 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +1 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +3 -6
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +3 -6
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +1 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +3 -5
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +3 -5
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +1 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +3 -5
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +3 -5
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +1 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +1 -0
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +4 -8
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +4 -8
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +1 -0
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +1 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +3 -3
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +3 -3
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +1 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +1 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +3 -3
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +3 -3
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +1 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +1 -0
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +3 -5
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +3 -5
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +1 -0
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +3 -8
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +3 -8
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +1 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +3 -9
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +3 -9
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +1 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +3 -5
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +3 -5
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +1 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +3 -5
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +3 -5
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +1 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +1 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +3 -5
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +3 -5
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +1 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +1 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +4 -9
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +4 -9
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +1 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +1 -0
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +3 -4
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +3 -4
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +1 -0
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +1 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +3 -6
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +3 -6
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +1 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +1 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +3 -4
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +3 -4
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +1 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +1 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +3 -17
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +3 -17
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +1 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +3 -11
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +3 -11
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +1 -0
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +3 -5
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +3 -5
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +1 -0
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +1 -0
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +3 -17
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +3 -17
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +1 -0
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +1 -0
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +3 -12
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +3 -12
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +1 -0
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -27
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -27
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +3 -8
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +3 -8
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +1 -0
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +3 -6
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +3 -6
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +1 -0
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +1 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +3 -7
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +3 -7
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +1 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +1 -0
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +3 -21
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +3 -21
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +1 -0
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +1 -0
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +3 -7
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +3 -7
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +1 -0
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +1 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +4 -35
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +4 -35
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +1 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +1 -0
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +3 -6
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +3 -6
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +1 -0
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL 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.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.cjs","names":["z","action"],"sources":["../../src/actions/list-communities-suggestions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListCommunitiesSuggestionsInput = 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.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL 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.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing suggested communities with pagination.\");\n\nexport const redditAdsListCommunitiesSuggestions: AppAction<\n typeof RedditAdsListCommunitiesSuggestionsInput,\n typeof RedditAdsListCommunitiesSuggestionsOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wDAAwD;CACpI,YAAY,qDAAqD,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-communities-suggestions.d.ts
|
|
@@ -21,12 +23,7 @@ declare const RedditAdsListCommunitiesSuggestionsOutput: z.ZodObject<{
|
|
|
21
23
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const redditAdsListCommunitiesSuggestions:
|
|
25
|
-
names?: string | undefined;
|
|
26
|
-
page_size?: number | undefined;
|
|
27
|
-
page_token?: string | undefined;
|
|
28
|
-
website_url?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const redditAdsListCommunitiesSuggestions: AppAction<typeof RedditAdsListCommunitiesSuggestionsInput, typeof RedditAdsListCommunitiesSuggestionsOutput, typeof redditAds.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { redditAdsListCommunitiesSuggestions };
|
|
32
29
|
//# sourceMappingURL=list-communities-suggestions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities-suggestions.d.cts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.d.cts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAkBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-communities-suggestions.d.ts
|
|
@@ -21,12 +23,7 @@ declare const RedditAdsListCommunitiesSuggestionsOutput: z.ZodObject<{
|
|
|
21
23
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const redditAdsListCommunitiesSuggestions:
|
|
25
|
-
names?: string | undefined;
|
|
26
|
-
page_size?: number | undefined;
|
|
27
|
-
page_token?: string | undefined;
|
|
28
|
-
website_url?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const redditAdsListCommunitiesSuggestions: AppAction<typeof RedditAdsListCommunitiesSuggestionsInput, typeof RedditAdsListCommunitiesSuggestionsOutput, typeof redditAds.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { redditAdsListCommunitiesSuggestions };
|
|
32
29
|
//# sourceMappingURL=list-communities-suggestions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities-suggestions.d.mts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.d.mts","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAkBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL 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.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-communities-suggestions.mjs","names":[],"sources":["../../src/actions/list-communities-suggestions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListCommunitiesSuggestionsInput = 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.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL 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.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunitiesSuggestions_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesSuggestionsOutput = z.object({\n data: z.array(RedditAdsListCommunitiesSuggestions_CommunitySchema).describe(\"List of suggested communities available for targeting.\"),\n pagination: RedditAdsListCommunitiesSuggestions_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing suggested communities with pagination.\");\n\nexport const redditAdsListCommunitiesSuggestions: AppAction<\n typeof RedditAdsListCommunitiesSuggestionsInput,\n typeof RedditAdsListCommunitiesSuggestionsOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,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,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,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,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,uDAAuD,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,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAM5F,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wDAAwD;EACpI,YAAY,qDAAqD,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities.cjs","names":["z","action"],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-communities.cjs","names":["z","action"],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities: AppAction<\n typeof RedditAdsListCommunitiesInput,\n typeof RedditAdsListCommunitiesOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AACpG,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-communities.d.ts
|
|
@@ -20,11 +22,7 @@ declare const RedditAdsListCommunitiesOutput: z.ZodObject<{
|
|
|
20
22
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const redditAdsListCommunities:
|
|
24
|
-
names?: string | undefined;
|
|
25
|
-
page_size?: number | undefined;
|
|
26
|
-
page_token?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const redditAdsListCommunities: AppAction<typeof RedditAdsListCommunitiesInput, typeof RedditAdsListCommunitiesOutput, typeof redditAds.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { redditAdsListCommunities };
|
|
30
28
|
//# sourceMappingURL=list-communities.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities.d.cts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-communities.d.cts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-communities.d.ts
|
|
@@ -20,11 +22,7 @@ declare const RedditAdsListCommunitiesOutput: z.ZodObject<{
|
|
|
20
22
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const redditAdsListCommunities:
|
|
24
|
-
names?: string | undefined;
|
|
25
|
-
page_size?: number | undefined;
|
|
26
|
-
page_token?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const redditAdsListCommunities: AppAction<typeof RedditAdsListCommunitiesInput, typeof RedditAdsListCommunitiesOutput, typeof redditAds.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { redditAdsListCommunities };
|
|
30
28
|
//# sourceMappingURL=list-communities.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities.d.mts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-communities.d.mts","names":[],"sources":["../../src/actions/list-communities.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-communities.mjs","names":[],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-communities.mjs","names":[],"sources":["../../src/actions/list-communities.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListCommunitiesInput = z.object({\n names: z.string().describe(\"Comma-separated list of community names to get info for. Queried community won't be in response if it is not targetable.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing targetable communities. Filter by community names and paginate through results.\");\nconst RedditAdsListCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community.\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon image.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the community.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single targetable community returned by the Reddit Ads API.\");\nconst RedditAdsListCommunities_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community results.\");\nexport const RedditAdsListCommunitiesOutput = z.object({\n data: z.array(RedditAdsListCommunities_CommunitySchema).describe(\"List of targetable communities returned by the API.\"),\n pagination: RedditAdsListCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing targetable communities with pagination.\");\n\nexport const redditAdsListCommunities: AppAction<\n typeof RedditAdsListCommunitiesInput,\n typeof RedditAdsListCommunitiesOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AACpG,MAAM,4CAA4C,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAM5F,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;EACtH,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListDevicesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices: AppAction<\n typeof RedditAdsListDevicesInput,\n typeof RedditAdsListDevicesOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAClH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;CACtH,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-devices.d.ts
|
|
@@ -15,10 +17,7 @@ declare const RedditAdsListDevicesOutput: z.ZodObject<{
|
|
|
15
17
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const redditAdsListDevices:
|
|
19
|
-
page_size?: number | undefined;
|
|
20
|
-
page_token?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const redditAdsListDevices: AppAction<typeof RedditAdsListDevicesInput, typeof RedditAdsListDevicesOutput, typeof redditAds.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { redditAdsListDevices };
|
|
24
23
|
//# sourceMappingURL=list-devices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-devices.d.ts
|
|
@@ -15,10 +17,7 @@ declare const RedditAdsListDevicesOutput: z.ZodObject<{
|
|
|
15
17
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const redditAdsListDevices:
|
|
19
|
-
page_size?: number | undefined;
|
|
20
|
-
page_token?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const redditAdsListDevices: AppAction<typeof RedditAdsListDevicesInput, typeof RedditAdsListDevicesOutput, typeof redditAds.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { redditAdsListDevices };
|
|
24
23
|
//# sourceMappingURL=list-devices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListDevicesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListDevicesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing all devices. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListDevices_DeviceSchema = z.object({\n make: z.string().describe(\"The device manufacturer or make.\").nullable().optional(),\n model: z.string().describe(\"The device model name.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single device returned by the Reddit Ads API.\");\nconst RedditAdsListDevices_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Follow this URL directly without modifying it.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without modifying it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through device results.\");\nexport const RedditAdsListDevicesOutput = z.object({\n data: z.array(RedditAdsListDevices_DeviceSchema).describe(\"List of devices available for targeting by make and model.\"),\n pagination: RedditAdsListDevices_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all devices with pagination.\");\n\nexport const redditAdsListDevices: AppAction<\n typeof RedditAdsListDevicesInput,\n typeof RedditAdsListDevicesOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAClH,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,wCAAwC,EAAE,OAAO;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAMzF,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,4DAA4D;EACtH,YAAY,sCAAsC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., cents).\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., cents).\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments: AppAction<\n typeof RedditAdsListFundingInstrumentsInput,\n typeof RedditAdsListFundingInstrumentsOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,iDAAiD;CACjI,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-funding-instruments.d.ts
|
|
@@ -38,18 +40,7 @@ declare const RedditAdsListFundingInstrumentsOutput: z.ZodObject<{
|
|
|
38
40
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const redditAdsListFundingInstruments:
|
|
42
|
-
ad_account_id: string;
|
|
43
|
-
mode?: "ACTIVE" | "ALL" | "INACTIVE" | "UPCOMING" | "SELECTABLE" | undefined;
|
|
44
|
-
types?: string[] | undefined;
|
|
45
|
-
search?: string | undefined;
|
|
46
|
-
end_time?: string | undefined;
|
|
47
|
-
page_size?: number | undefined;
|
|
48
|
-
page_token?: string | undefined;
|
|
49
|
-
start_time?: string | undefined;
|
|
50
|
-
is_selectable?: boolean | undefined;
|
|
51
|
-
funding_instrument_ids?: string[] | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const redditAdsListFundingInstruments: AppAction<typeof RedditAdsListFundingInstrumentsInput, typeof RedditAdsListFundingInstrumentsOutput, typeof redditAds.credential>;
|
|
53
44
|
//#endregion
|
|
54
45
|
export { redditAdsListFundingInstruments };
|
|
55
46
|
//# sourceMappingURL=list-funding-instruments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-funding-instruments.d.cts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-funding-instruments.d.cts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-funding-instruments.d.ts
|
|
@@ -38,18 +40,7 @@ declare const RedditAdsListFundingInstrumentsOutput: z.ZodObject<{
|
|
|
38
40
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const redditAdsListFundingInstruments:
|
|
42
|
-
ad_account_id: string;
|
|
43
|
-
mode?: "ACTIVE" | "ALL" | "INACTIVE" | "UPCOMING" | "SELECTABLE" | undefined;
|
|
44
|
-
types?: string[] | undefined;
|
|
45
|
-
search?: string | undefined;
|
|
46
|
-
end_time?: string | undefined;
|
|
47
|
-
page_size?: number | undefined;
|
|
48
|
-
page_token?: string | undefined;
|
|
49
|
-
start_time?: string | undefined;
|
|
50
|
-
is_selectable?: boolean | undefined;
|
|
51
|
-
funding_instrument_ids?: string[] | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const redditAdsListFundingInstruments: AppAction<typeof RedditAdsListFundingInstrumentsInput, typeof RedditAdsListFundingInstrumentsOutput, typeof redditAds.credential>;
|
|
53
44
|
//#endregion
|
|
54
45
|
export { redditAdsListFundingInstruments };
|
|
55
46
|
//# sourceMappingURL=list-funding-instruments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-funding-instruments.d.mts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-funding-instruments.d.mts","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-funding-instruments.mjs","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., cents).\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-funding-instruments.mjs","names":[],"sources":["../../src/actions/list-funding-instruments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListFundingInstrumentsInput = z.object({\n mode: z.enum([\"ACTIVE\", \"INACTIVE\", \"UPCOMING\", \"SELECTABLE\", \"ALL\"]).describe(\"Enum for funding instrument modes.\").optional(),\n types: z.array(z.string()).describe(\"A list of funding instrument types to filter by.\").optional(),\n search: z.string().describe(\"Search text to filter funding instruments by name or other text fields.\").optional(),\n end_time: z.string().describe(\"End time in ISO-8601 format to filter funding instruments.\").optional(),\n page_size: z.number().int().describe(\"The number of items to return per page.\").optional(),\n page_token: z.string().describe(\"The pagination token for retrieving the next page of results. Obtained from the previous response's pagination.next_url.\").optional(),\n start_time: z.string().describe(\"Start time in ISO-8601 format to filter funding instruments.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list funding instruments for.\"),\n is_selectable: z.boolean().describe(\"Deprecated parameter. Use mode=SELECTABLE or mode=ALL instead.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of funding instrument IDs to filter by.\").optional(),\n}).describe(\"Request model for listing funding instruments by ad account.\");\nconst RedditAdsListFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier of the funding instrument.\").nullable(),\n name: z.string().describe(\"Name of the funding instrument.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"End time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the funding instrument in ISO-8601 format.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument can be used to serve ads.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in the smallest currency unit (e.g., cents).\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in the smallest currency unit (e.g., cents).\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status of the funding instrument.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single funding instrument.\");\nconst RedditAdsListFundingInstruments_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page of results. If null or not present, the current page is the final page. The URL should be followed directly.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page of results. If null or not present, the current page is the first page. The URL should be followed directly.\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RedditAdsListFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsListFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instruments for the ad account.\"),\n pagination: RedditAdsListFundingInstruments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing funding instruments.\");\n\nexport const redditAdsListFundingInstruments: AppAction<\n typeof RedditAdsListFundingInstrumentsInput,\n typeof RedditAdsListFundingInstrumentsOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,KAAK;EAAC;EAAU;EAAY;EAAY;EAAc;CAAK,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC/G,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,iDAAiD;EACjI,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geolocations.cjs","names":["z","action"],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListGeolocationsInput = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).passthrough().describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geolocations.cjs","names":["z","action"],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListGeolocationsInput = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).passthrough().describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations: AppAction<\n typeof RedditAdsListGeolocationsInput,\n typeof RedditAdsListGeolocationsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yJAAyJ;AACrK,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+CAA+C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-geolocations.d.ts
|
|
@@ -17,11 +19,7 @@ declare const RedditAdsListGeolocationsOutput: z.ZodObject<{
|
|
|
17
19
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const redditAdsListGeolocations:
|
|
21
|
-
country?: string | undefined;
|
|
22
|
-
postal_code?: string | undefined;
|
|
23
|
-
cities_search?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const redditAdsListGeolocations: AppAction<typeof RedditAdsListGeolocationsInput, typeof RedditAdsListGeolocationsOutput, typeof redditAds.credential>;
|
|
25
23
|
//#endregion
|
|
26
24
|
export { redditAdsListGeolocations };
|
|
27
25
|
//# sourceMappingURL=list-geolocations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geolocations.d.cts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geolocations.d.cts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-geolocations.d.ts
|
|
@@ -17,11 +19,7 @@ declare const RedditAdsListGeolocationsOutput: z.ZodObject<{
|
|
|
17
19
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const redditAdsListGeolocations:
|
|
21
|
-
country?: string | undefined;
|
|
22
|
-
postal_code?: string | undefined;
|
|
23
|
-
cities_search?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const redditAdsListGeolocations: AppAction<typeof RedditAdsListGeolocationsInput, typeof RedditAdsListGeolocationsOutput, typeof redditAds.credential>;
|
|
25
23
|
//#endregion
|
|
26
24
|
export { redditAdsListGeolocations };
|
|
27
25
|
//# sourceMappingURL=list-geolocations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geolocations.d.mts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geolocations.d.mts","names":[],"sources":["../../src/actions/list-geolocations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geolocations.mjs","names":[],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListGeolocationsInput = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).passthrough().describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geolocations.mjs","names":[],"sources":["../../src/actions/list-geolocations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListGeolocationsInput = z.object({\n country: z.string().describe(\"The filter for retrieving all geolocations by country.\").optional(),\n postal_code: z.string().describe(\"The filter for retrieving postal code geolocations by substring match.\").optional(),\n cities_search: z.string().describe(\"The filter for retrieving city geolocations by substring match.\").optional(),\n}).describe(\"Request model for listing geolocations. Postal code and City geolocations\\nare excluded by default unless the respective query parameters are provided.\");\nconst RedditAdsListGeolocations_GeolocationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the geolocation.\").nullable().optional(),\n dma: z.number().int().describe(\"Designated Market Area (DMA) code.\").nullable().optional(),\n city: z.string().describe(\"City name for the geolocation.\").nullable().optional(),\n name: z.string().describe(\"Name of the geolocation.\").nullable().optional(),\n region: z.string().describe(\"Region or state for the geolocation.\").nullable().optional(),\n country: z.string().describe(\"Country code for the geolocation.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for the geolocation.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single geolocation returned by the Reddit Ads API.\");\nexport const RedditAdsListGeolocationsOutput = z.object({\n data: z.array(RedditAdsListGeolocations_GeolocationSchema).describe(\"List of geolocations available for targeting.\"),\n}).passthrough().describe(\"Response model for listing geolocations.\");\n\nexport const redditAdsListGeolocations: AppAction<\n typeof RedditAdsListGeolocationsInput,\n typeof RedditAdsListGeolocationsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_GEOLOCATIONS\", {\n slug: \"reddit_ads-list-geolocations\",\n name: \"List Geolocations\",\n description: \"Tool to fetch a list of geolocations from Reddit Ads API. Use when you need geographic targeting options. Postal code and City geolocations are excluded by default unless postal_code or cities_search parameters are provided.\",\n input: RedditAdsListGeolocationsInput,\n output: RedditAdsListGeolocationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yJAAyJ;AACrK,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+CAA+C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|