@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,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/create-campaign.d.ts
|
|
@@ -91,6 +93,7 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
91
93
|
invoice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
94
|
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
93
95
|
effective_status: z.ZodNullable<z.ZodEnum<{
|
|
96
|
+
PROCESSING: "PROCESSING";
|
|
94
97
|
ACTIVE: "ACTIVE";
|
|
95
98
|
ARCHIVED: "ARCHIVED";
|
|
96
99
|
DELETED: "DELETED";
|
|
@@ -102,7 +105,6 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
102
105
|
PENDING_BILLING_INFO: "PENDING_BILLING_INFO";
|
|
103
106
|
PENDING_ID_VERIFICATION: "PENDING_ID_VERIFICATION";
|
|
104
107
|
REJECTED: "REJECTED";
|
|
105
|
-
PROCESSING: "PROCESSING";
|
|
106
108
|
}>>;
|
|
107
109
|
configured_status: z.ZodNullable<z.ZodEnum<{
|
|
108
110
|
ACTIVE: "ACTIVE";
|
|
@@ -124,30 +126,7 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
124
126
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
125
127
|
}, z.core.$loose>>;
|
|
126
128
|
}, z.core.$loose>;
|
|
127
|
-
declare const redditAdsCreateCampaign:
|
|
128
|
-
data: {
|
|
129
|
-
name: string;
|
|
130
|
-
objective: "APP_INSTALLS" | "CATALOG_SALES" | "CLICKS" | "CONVERSIONS" | "IMPRESSIONS" | "LEAD_GENERATION" | "VIDEO_VIEWABLE_IMPRESSIONS";
|
|
131
|
-
configured_status: "ACTIVE" | "ARCHIVED" | "DELETED" | "PAUSED";
|
|
132
|
-
app_id?: string | undefined;
|
|
133
|
-
bid_type?: "CPC" | "CPM" | "CPV6" | undefined;
|
|
134
|
-
end_time?: string | undefined;
|
|
135
|
-
bid_value?: number | undefined;
|
|
136
|
-
goal_type?: "LIFETIME_SPEND" | "DAILY_SPEND" | undefined;
|
|
137
|
-
spend_cap?: number | undefined;
|
|
138
|
-
goal_value?: number | undefined;
|
|
139
|
-
start_time?: string | undefined;
|
|
140
|
-
bid_strategy?: "BIDLESS" | "MAXIMIZE_VOLUME" | "TARGET_CPX" | undefined;
|
|
141
|
-
invoice_label?: string | undefined;
|
|
142
|
-
optimization_goal?: string | undefined;
|
|
143
|
-
conversion_pixel_id?: string | undefined;
|
|
144
|
-
funding_instrument_id?: string | undefined;
|
|
145
|
-
special_ad_categories?: string[] | undefined;
|
|
146
|
-
view_through_conversion_type?: "SEVEN_DAY_CLICKS" | "SEVEN_DAY_CLICKS_ONE_DAY_VIEW" | undefined;
|
|
147
|
-
is_campaign_budget_optimization?: boolean | undefined;
|
|
148
|
-
};
|
|
149
|
-
ad_account_id: string;
|
|
150
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
129
|
+
declare const redditAdsCreateCampaign: AppAction<typeof RedditAdsCreateCampaignInput, typeof RedditAdsCreateCampaignOutput, typeof redditAds.credential>;
|
|
151
130
|
//#endregion
|
|
152
131
|
export { redditAdsCreateCampaign };
|
|
153
132
|
//# sourceMappingURL=create-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-campaign.d.cts","names":[],"sources":["../../src/actions/create-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-campaign.d.cts","names":[],"sources":["../../src/actions/create-campaign.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/create-campaign.d.ts
|
|
@@ -91,6 +93,7 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
91
93
|
invoice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
94
|
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
93
95
|
effective_status: z.ZodNullable<z.ZodEnum<{
|
|
96
|
+
PROCESSING: "PROCESSING";
|
|
94
97
|
ACTIVE: "ACTIVE";
|
|
95
98
|
ARCHIVED: "ARCHIVED";
|
|
96
99
|
DELETED: "DELETED";
|
|
@@ -102,7 +105,6 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
102
105
|
PENDING_BILLING_INFO: "PENDING_BILLING_INFO";
|
|
103
106
|
PENDING_ID_VERIFICATION: "PENDING_ID_VERIFICATION";
|
|
104
107
|
REJECTED: "REJECTED";
|
|
105
|
-
PROCESSING: "PROCESSING";
|
|
106
108
|
}>>;
|
|
107
109
|
configured_status: z.ZodNullable<z.ZodEnum<{
|
|
108
110
|
ACTIVE: "ACTIVE";
|
|
@@ -124,30 +126,7 @@ declare const RedditAdsCreateCampaignOutput: z.ZodObject<{
|
|
|
124
126
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
125
127
|
}, z.core.$loose>>;
|
|
126
128
|
}, z.core.$loose>;
|
|
127
|
-
declare const redditAdsCreateCampaign:
|
|
128
|
-
data: {
|
|
129
|
-
name: string;
|
|
130
|
-
objective: "APP_INSTALLS" | "CATALOG_SALES" | "CLICKS" | "CONVERSIONS" | "IMPRESSIONS" | "LEAD_GENERATION" | "VIDEO_VIEWABLE_IMPRESSIONS";
|
|
131
|
-
configured_status: "ACTIVE" | "ARCHIVED" | "DELETED" | "PAUSED";
|
|
132
|
-
app_id?: string | undefined;
|
|
133
|
-
bid_type?: "CPC" | "CPM" | "CPV6" | undefined;
|
|
134
|
-
end_time?: string | undefined;
|
|
135
|
-
bid_value?: number | undefined;
|
|
136
|
-
goal_type?: "LIFETIME_SPEND" | "DAILY_SPEND" | undefined;
|
|
137
|
-
spend_cap?: number | undefined;
|
|
138
|
-
goal_value?: number | undefined;
|
|
139
|
-
start_time?: string | undefined;
|
|
140
|
-
bid_strategy?: "BIDLESS" | "MAXIMIZE_VOLUME" | "TARGET_CPX" | undefined;
|
|
141
|
-
invoice_label?: string | undefined;
|
|
142
|
-
optimization_goal?: string | undefined;
|
|
143
|
-
conversion_pixel_id?: string | undefined;
|
|
144
|
-
funding_instrument_id?: string | undefined;
|
|
145
|
-
special_ad_categories?: string[] | undefined;
|
|
146
|
-
view_through_conversion_type?: "SEVEN_DAY_CLICKS" | "SEVEN_DAY_CLICKS_ONE_DAY_VIEW" | undefined;
|
|
147
|
-
is_campaign_budget_optimization?: boolean | undefined;
|
|
148
|
-
};
|
|
149
|
-
ad_account_id: string;
|
|
150
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
129
|
+
declare const redditAdsCreateCampaign: AppAction<typeof RedditAdsCreateCampaignInput, typeof RedditAdsCreateCampaignOutput, typeof redditAds.credential>;
|
|
151
130
|
//#endregion
|
|
152
131
|
export { redditAdsCreateCampaign };
|
|
153
132
|
//# sourceMappingURL=create-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-campaign.d.mts","names":[],"sources":["../../src/actions/create-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-campaign.d.mts","names":[],"sources":["../../src/actions/create-campaign.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-campaign.mjs","names":[],"sources":["../../src/actions/create-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateCampaignInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the campaign. Required field between 3-500 characters.\"),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns. Required when objective is APP_INSTALLS.\").optional(),\n bid_type: z.enum([\"CPC\", \"CPM\", \"CPV6\"]).describe(\"Bid type for campaign budget optimization.\").optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Required if start_time is provided. If unspecified, the campaign will run continuously starting today. Only works when is_campaign_budget_optimization is true.\").optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true and optional when bid_strategy is MAXIMIZE_VOLUME. If set at campaign level, it cannot be set at ad group level.\").optional(),\n goal_type: z.enum([\"LIFETIME_SPEND\", \"DAILY_SPEND\"]).describe(\"Campaign goal type for budget optimization.\").optional(),\n objective: z.enum([\"APP_INSTALLS\", \"CATALOG_SALES\", \"CLICKS\", \"CONVERSIONS\", \"IMPRESSIONS\", \"LEAD_GENERATION\", \"VIDEO_VIEWABLE_IMPRESSIONS\"]).describe(\"The objective type of the campaign. This determines the optimization goal and available features.\"),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO (campaign budget optimization) and non-CBO campaigns.\").optional(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Required if end_time is provided. If unspecified, the campaign will run continuously starting today. Only works when is_campaign_budget_optimization is true.\").optional(),\n bid_strategy: z.enum([\"BIDLESS\", \"MAXIMIZE_VOLUME\", \"TARGET_CPX\"]).describe(\"Bid strategy for campaign budget optimization.\").optional(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").optional(),\n configured_status: z.enum([\"ACTIVE\", \"ARCHIVED\", \"DELETED\", \"PAUSED\"]).describe(\"The status that the user has configured this entity to have. Can differ from effective_status depending on context such as pending billing information.\"),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns. This can't be changed later. Starting March 31st, 2026, this can't be set to NULL for video views campaigns.\").optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true. Important: This cannot be changed after publishing the campaign.\").optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID. This is the payment method for the campaign.\").optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").optional(),\n view_through_conversion_type: z.enum([\"SEVEN_DAY_CLICKS\", \"SEVEN_DAY_CLICKS_ONE_DAY_VIEW\"]).describe(\"View-through conversion tracking type.\").optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not. Important: This cannot be changed after publishing the campaign.\").optional(),\n}).describe(\"Campaign data containing name, status, objective, and optional configuration parameters.\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the campaign under. Must match pattern ^(t2|a2)_.*\"),\n}).describe(\"Request model for creating a Reddit Ads campaign.\");\nconst RedditAdsCreateCampaign_BidTypeSchema = z.enum([\"CPC\", \"CPM\", \"CPV6\"]).describe(\"Bid type for campaign budget optimization.\");\nconst RedditAdsCreateCampaign_GoalTypeSchema = z.enum([\"LIFETIME_SPEND\", \"DAILY_SPEND\"]).describe(\"Campaign goal type for budget optimization.\");\nconst RedditAdsCreateCampaign_ObjectiveSchema = z.enum([\"APP_INSTALLS\", \"CATALOG_SALES\", \"CLICKS\", \"CONVERSIONS\", \"IMPRESSIONS\", \"LEAD_GENERATION\", \"VIDEO_VIEWABLE_IMPRESSIONS\"]).describe(\"Campaign objective types.\");\nconst RedditAdsCreateCampaign_BidStrategySchema = z.enum([\"BIDLESS\", \"MAXIMIZE_VOLUME\", \"TARGET_CPX\"]).describe(\"Bid strategy for campaign budget optimization.\");\nconst RedditAdsCreateCampaign_EffectiveStatusSchema = z.enum([\"ACTIVE\", \"AD_GROUP_PAUSED\", \"ARCHIVED\", \"CAMPAIGN_PAUSED\", \"COMPLETED\", \"DELETED\", \"PAUSED\", \"PENDING_APPROVAL\", \"PENDING_BILLING_INFO\", \"PENDING_ID_VERIFICATION\", \"REJECTED\", \"PROCESSING\"]).describe(\"Effective status of the campaign.\");\nconst RedditAdsCreateCampaign_ConfiguredStatusSchema = z.enum([\"ACTIVE\", \"ARCHIVED\", \"DELETED\", \"PAUSED\"]).describe(\"Status configuration for the campaign.\");\nconst RedditAdsCreateCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"Status of the SKAdNetwork integration.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsCreateCampaign_ViewThroughConversionTypeSchema = z.enum([\"SEVEN_DAY_CLICKS\", \"SEVEN_DAY_CLICKS_ONE_DAY_VIEW\"]).describe(\"View-through conversion tracking type.\");\nconst RedditAdsCreateCampaign_CampaignResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store.\").nullable().optional(),\n bid_type: RedditAdsCreateCampaign_BidTypeSchema.nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event.\").nullable().optional(),\n goal_type: RedditAdsCreateCampaign_GoalTypeSchema.nullable().optional(),\n objective: RedditAdsCreateCampaign_ObjectiveSchema.nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: RedditAdsCreateCampaign_BidStrategySchema.nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this campaign.\").nullable().optional(),\n effective_status: RedditAdsCreateCampaign_EffectiveStatusSchema.nullable(),\n configured_status: RedditAdsCreateCampaign_ConfiguredStatusSchema.nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsCreateCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories related to the campaign.\").nullable().optional(),\n view_through_conversion_type: RedditAdsCreateCampaign_ViewThroughConversionTypeSchema.nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created campaign.\");\nexport const RedditAdsCreateCampaignOutput = z.object({\n data: RedditAdsCreateCampaign_CampaignResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for created Reddit Ads campaign.\");\n\nexport const redditAdsCreateCampaign = action(\"REDDIT_ADS_CREATE_CAMPAIGN\", {\n slug: \"reddit_ads-create-campaign\",\n name: \"Create Reddit Ads Campaign\",\n description: \"Tool to create a new Reddit Ads campaign for the specified ad account. Use when you need to set up a new advertising campaign with specific objective, budget, and targeting settings. Note: Max campaigns creation isn't currently supported - set up Max campaigns in the Ads Manager instead.\",\n input: RedditAdsCreateCampaignInput,\n output: RedditAdsCreateCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;EACrL,UAAU,EAAE,KAAK;GAAC;GAAO;GAAO;EAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EACrQ,WAAW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EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,sBAAsB,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC5F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,8BAA8B,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAC1G,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,mDAAmD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-campaign.mjs","names":[],"sources":["../../src/actions/create-campaign.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 RedditAdsCreateCampaignInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the campaign. Required field between 3-500 characters.\"),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns. Required when objective is APP_INSTALLS.\").optional(),\n bid_type: z.enum([\"CPC\", \"CPM\", \"CPV6\"]).describe(\"Bid type for campaign budget optimization.\").optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Required if start_time is provided. If unspecified, the campaign will run continuously starting today. Only works when is_campaign_budget_optimization is true.\").optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true and optional when bid_strategy is MAXIMIZE_VOLUME. If set at campaign level, it cannot be set at ad group level.\").optional(),\n goal_type: z.enum([\"LIFETIME_SPEND\", \"DAILY_SPEND\"]).describe(\"Campaign goal type for budget optimization.\").optional(),\n objective: z.enum([\"APP_INSTALLS\", \"CATALOG_SALES\", \"CLICKS\", \"CONVERSIONS\", \"IMPRESSIONS\", \"LEAD_GENERATION\", \"VIDEO_VIEWABLE_IMPRESSIONS\"]).describe(\"The objective type of the campaign. This determines the optimization goal and available features.\"),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO (campaign budget optimization) and non-CBO campaigns.\").optional(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Required if end_time is provided. If unspecified, the campaign will run continuously starting today. Only works when is_campaign_budget_optimization is true.\").optional(),\n bid_strategy: z.enum([\"BIDLESS\", \"MAXIMIZE_VOLUME\", \"TARGET_CPX\"]).describe(\"Bid strategy for campaign budget optimization.\").optional(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").optional(),\n configured_status: z.enum([\"ACTIVE\", \"ARCHIVED\", \"DELETED\", \"PAUSED\"]).describe(\"The status that the user has configured this entity to have. Can differ from effective_status depending on context such as pending billing information.\"),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns. This can't be changed later. Starting March 31st, 2026, this can't be set to NULL for video views campaigns.\").optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true. Important: This cannot be changed after publishing the campaign.\").optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID. This is the payment method for the campaign.\").optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").optional(),\n view_through_conversion_type: z.enum([\"SEVEN_DAY_CLICKS\", \"SEVEN_DAY_CLICKS_ONE_DAY_VIEW\"]).describe(\"View-through conversion tracking type.\").optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not. Important: This cannot be changed after publishing the campaign.\").optional(),\n}).describe(\"Campaign data containing name, status, objective, and optional configuration parameters.\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the campaign under. Must match pattern ^(t2|a2)_.*\"),\n}).describe(\"Request model for creating a Reddit Ads campaign.\");\nconst RedditAdsCreateCampaign_BidTypeSchema = z.enum([\"CPC\", \"CPM\", \"CPV6\"]).describe(\"Bid type for campaign budget optimization.\");\nconst RedditAdsCreateCampaign_GoalTypeSchema = z.enum([\"LIFETIME_SPEND\", \"DAILY_SPEND\"]).describe(\"Campaign goal type for budget optimization.\");\nconst RedditAdsCreateCampaign_ObjectiveSchema = z.enum([\"APP_INSTALLS\", \"CATALOG_SALES\", \"CLICKS\", \"CONVERSIONS\", \"IMPRESSIONS\", \"LEAD_GENERATION\", \"VIDEO_VIEWABLE_IMPRESSIONS\"]).describe(\"Campaign objective types.\");\nconst RedditAdsCreateCampaign_BidStrategySchema = z.enum([\"BIDLESS\", \"MAXIMIZE_VOLUME\", \"TARGET_CPX\"]).describe(\"Bid strategy for campaign budget optimization.\");\nconst RedditAdsCreateCampaign_EffectiveStatusSchema = z.enum([\"ACTIVE\", \"AD_GROUP_PAUSED\", \"ARCHIVED\", \"CAMPAIGN_PAUSED\", \"COMPLETED\", \"DELETED\", \"PAUSED\", \"PENDING_APPROVAL\", \"PENDING_BILLING_INFO\", \"PENDING_ID_VERIFICATION\", \"REJECTED\", \"PROCESSING\"]).describe(\"Effective status of the campaign.\");\nconst RedditAdsCreateCampaign_ConfiguredStatusSchema = z.enum([\"ACTIVE\", \"ARCHIVED\", \"DELETED\", \"PAUSED\"]).describe(\"Status configuration for the campaign.\");\nconst RedditAdsCreateCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"Status of the SKAdNetwork integration.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsCreateCampaign_ViewThroughConversionTypeSchema = z.enum([\"SEVEN_DAY_CLICKS\", \"SEVEN_DAY_CLICKS_ONE_DAY_VIEW\"]).describe(\"View-through conversion tracking type.\");\nconst RedditAdsCreateCampaign_CampaignResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store.\").nullable().optional(),\n bid_type: RedditAdsCreateCampaign_BidTypeSchema.nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event.\").nullable().optional(),\n goal_type: RedditAdsCreateCampaign_GoalTypeSchema.nullable().optional(),\n objective: RedditAdsCreateCampaign_ObjectiveSchema.nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: RedditAdsCreateCampaign_BidStrategySchema.nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this campaign.\").nullable().optional(),\n effective_status: RedditAdsCreateCampaign_EffectiveStatusSchema.nullable(),\n configured_status: RedditAdsCreateCampaign_ConfiguredStatusSchema.nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsCreateCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories related to the campaign.\").nullable().optional(),\n view_through_conversion_type: RedditAdsCreateCampaign_ViewThroughConversionTypeSchema.nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created campaign.\");\nexport const RedditAdsCreateCampaignOutput = z.object({\n data: RedditAdsCreateCampaign_CampaignResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for created Reddit Ads campaign.\");\n\nexport const redditAdsCreateCampaign: AppAction<\n typeof RedditAdsCreateCampaignInput,\n typeof RedditAdsCreateCampaignOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_CAMPAIGN\", {\n slug: \"reddit_ads-create-campaign\",\n name: \"Create Reddit Ads Campaign\",\n description: \"Tool to create a new Reddit Ads campaign for the specified ad account. Use when you need to set up a new advertising campaign with specific objective, budget, and targeting settings. Note: Max campaigns creation isn't currently supported - set up Max campaigns in the Ads Manager instead.\",\n input: RedditAdsCreateCampaignInput,\n output: RedditAdsCreateCampaignOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAA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CACvG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkB,8CAA8C,SAAS;CACzE,mBAAmB,+CAA+C,SAAS;CAC3E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,sBAAsB,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC5F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,8BAA8B,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAC1G,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,MAAM,mDAAmD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateCustomAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the custom audience to create\"),\n type: z.enum([\"CUSTOMER_LIST\"]).describe(\"Type of custom audience. Currently only CUSTOMER_LIST is supported\"),\n customer_list_config: z.object({}).describe(\"Configuration for customer list audience\").optional(),\n}).describe(\"Custom audience data containing name and type\"),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (format: a2_xxxxx)\"),\n}).describe(\"Request model for creating a custom audience\");\nconst RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created custom audience\").nullable().optional(),\n cost: z.record(z.string(), z.unknown()).describe(\"Third-party data cost information\").nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable().optional(),\n type: z.string().describe(\"Type of custom audience\").nullable().optional(),\n status: z.string().describe(\"Current status of the custom audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the custom audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the custom audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.union([z.string(), z.number().int(), z.record(z.string(), z.unknown())])).describe(\"Delivery status information for the audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for customer list audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for created custom audience\");\nexport const RedditAdsCreateCustomAudienceOutput = z.object({\n data: RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom audience\");\n\nexport const redditAdsCreateCustomAudience = action(\"REDDIT_ADS_CREATE_CUSTOM_AUDIENCE\", {\n slug: \"reddit_ads-create-custom-audience\",\n name: \"Create Custom Audience\",\n description: \"Tool to create a new Custom Audience in Reddit Ads. Use when you need to create a custom audience for targeted advertising campaigns. Note: This endpoint has rate limits - Custom Audiences Ingestion: 3000 requests per 900 seconds with burst limit of 500 requests per 60 seconds.\",\n input: RedditAdsCreateCustomAudienceInput,\n output: RedditAdsCreateCustomAudienceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-custom-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-audience.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 RedditAdsCreateCustomAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the custom audience to create\"),\n type: z.enum([\"CUSTOMER_LIST\"]).describe(\"Type of custom audience. Currently only CUSTOMER_LIST is supported\"),\n customer_list_config: z.object({}).describe(\"Configuration for customer list audience\").optional(),\n}).describe(\"Custom audience data containing name and type\"),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (format: a2_xxxxx)\"),\n}).describe(\"Request model for creating a custom audience\");\nconst RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created custom audience\").nullable().optional(),\n cost: z.record(z.string(), z.unknown()).describe(\"Third-party data cost information\").nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable().optional(),\n type: z.string().describe(\"Type of custom audience\").nullable().optional(),\n status: z.string().describe(\"Current status of the custom audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the custom audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the custom audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.union([z.string(), z.number().int(), z.record(z.string(), z.unknown())])).describe(\"Delivery status information for the audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for customer list audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for created custom audience\");\nexport const RedditAdsCreateCustomAudienceOutput = z.object({\n data: RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom audience\");\n\nexport const redditAdsCreateCustomAudience: AppAction<\n typeof RedditAdsCreateCustomAudienceInput,\n typeof RedditAdsCreateCustomAudienceOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_CUSTOM_AUDIENCE\", {\n slug: \"reddit_ads-create-custom-audience\",\n name: \"Create Custom Audience\",\n description: \"Tool to create a new Custom Audience in Reddit Ads. Use when you need to create a custom audience for targeted advertising campaigns. Note: This endpoint has rate limits - Custom Audiences Ingestion: 3000 requests per 900 seconds with burst limit of 500 requests per 60 seconds.\",\n input: RedditAdsCreateCustomAudienceInput,\n output: RedditAdsCreateCustomAudienceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,MAAMA,IAAAA,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,oEAAoE;EAC7G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACzF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,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,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,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/create-custom-audience.d.ts
|
|
@@ -27,14 +29,7 @@ declare const RedditAdsCreateCustomAudienceOutput: z.ZodObject<{
|
|
|
27
29
|
customer_list_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
30
|
}, z.core.$loose>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const redditAdsCreateCustomAudience:
|
|
31
|
-
data: {
|
|
32
|
-
name: string;
|
|
33
|
-
type: "CUSTOMER_LIST";
|
|
34
|
-
customer_list_config?: Record<string, never> | undefined;
|
|
35
|
-
};
|
|
36
|
-
ad_account_id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const redditAdsCreateCustomAudience: AppAction<typeof RedditAdsCreateCustomAudienceInput, typeof RedditAdsCreateCustomAudienceOutput, typeof redditAds.credential>;
|
|
38
33
|
//#endregion
|
|
39
34
|
export { redditAdsCreateCustomAudience };
|
|
40
35
|
//# sourceMappingURL=create-custom-audience.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-audience.d.cts","names":[],"sources":["../../src/actions/create-custom-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-custom-audience.d.cts","names":[],"sources":["../../src/actions/create-custom-audience.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;cAsBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/create-custom-audience.d.ts
|
|
@@ -27,14 +29,7 @@ declare const RedditAdsCreateCustomAudienceOutput: z.ZodObject<{
|
|
|
27
29
|
customer_list_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
30
|
}, z.core.$loose>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const redditAdsCreateCustomAudience:
|
|
31
|
-
data: {
|
|
32
|
-
name: string;
|
|
33
|
-
type: "CUSTOMER_LIST";
|
|
34
|
-
customer_list_config?: Record<string, never> | undefined;
|
|
35
|
-
};
|
|
36
|
-
ad_account_id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const redditAdsCreateCustomAudience: AppAction<typeof RedditAdsCreateCustomAudienceInput, typeof RedditAdsCreateCustomAudienceOutput, typeof redditAds.credential>;
|
|
38
33
|
//#endregion
|
|
39
34
|
export { redditAdsCreateCustomAudience };
|
|
40
35
|
//# sourceMappingURL=create-custom-audience.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-audience.d.mts","names":[],"sources":["../../src/actions/create-custom-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-custom-audience.d.mts","names":[],"sources":["../../src/actions/create-custom-audience.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;cAsBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-audience.mjs","names":[],"sources":["../../src/actions/create-custom-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateCustomAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the custom audience to create\"),\n type: z.enum([\"CUSTOMER_LIST\"]).describe(\"Type of custom audience. Currently only CUSTOMER_LIST is supported\"),\n customer_list_config: z.object({}).describe(\"Configuration for customer list audience\").optional(),\n}).describe(\"Custom audience data containing name and type\"),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (format: a2_xxxxx)\"),\n}).describe(\"Request model for creating a custom audience\");\nconst RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created custom audience\").nullable().optional(),\n cost: z.record(z.string(), z.unknown()).describe(\"Third-party data cost information\").nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable().optional(),\n type: z.string().describe(\"Type of custom audience\").nullable().optional(),\n status: z.string().describe(\"Current status of the custom audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the custom audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the custom audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.union([z.string(), z.number().int(), z.record(z.string(), z.unknown())])).describe(\"Delivery status information for the audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for customer list audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for created custom audience\");\nexport const RedditAdsCreateCustomAudienceOutput = z.object({\n data: RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom audience\");\n\nexport const redditAdsCreateCustomAudience = action(\"REDDIT_ADS_CREATE_CUSTOM_AUDIENCE\", {\n slug: \"reddit_ads-create-custom-audience\",\n name: \"Create Custom Audience\",\n description: \"Tool to create a new Custom Audience in Reddit Ads. Use when you need to create a custom audience for targeted advertising campaigns. Note: This endpoint has rate limits - Custom Audiences Ingestion: 3000 requests per 900 seconds with burst limit of 500 requests per 60 seconds.\",\n input: RedditAdsCreateCustomAudienceInput,\n output: RedditAdsCreateCustomAudienceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-custom-audience.mjs","names":[],"sources":["../../src/actions/create-custom-audience.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 RedditAdsCreateCustomAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the custom audience to create\"),\n type: z.enum([\"CUSTOMER_LIST\"]).describe(\"Type of custom audience. Currently only CUSTOMER_LIST is supported\"),\n customer_list_config: z.object({}).describe(\"Configuration for customer list audience\").optional(),\n}).describe(\"Custom audience data containing name and type\"),\n ad_account_id: z.string().describe(\"The ID of the parent ad account (format: a2_xxxxx)\"),\n}).describe(\"Request model for creating a custom audience\");\nconst RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created custom audience\").nullable().optional(),\n cost: z.record(z.string(), z.unknown()).describe(\"Third-party data cost information\").nullable().optional(),\n name: z.string().describe(\"Name of the custom audience\").nullable().optional(),\n type: z.string().describe(\"Type of custom audience\").nullable().optional(),\n status: z.string().describe(\"Current status of the custom audience\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the custom audience was created\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the custom audience was last modified\").nullable().optional(),\n ad_account_id: z.string().describe(\"ID of the parent ad account\").nullable().optional(),\n delivery_status: z.array(z.union([z.string(), z.number().int(), z.record(z.string(), z.unknown())])).describe(\"Delivery status information for the audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range\").nullable().optional(),\n customer_list_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for customer list audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for created custom audience\");\nexport const RedditAdsCreateCustomAudienceOutput = z.object({\n data: RedditAdsCreateCustomAudience_CustomAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a custom audience\");\n\nexport const redditAdsCreateCustomAudience: AppAction<\n typeof RedditAdsCreateCustomAudienceInput,\n typeof RedditAdsCreateCustomAudienceOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_CUSTOM_AUDIENCE\", {\n slug: \"reddit_ads-create-custom-audience\",\n name: \"Create Custom Audience\",\n description: \"Tool to create a new Custom Audience in Reddit Ads. Use when you need to create a custom audience for targeted advertising campaigns. Note: This endpoint has rate limits - Custom Audiences Ingestion: 3000 requests per 900 seconds with burst limit of 500 requests per 60 seconds.\",\n input: RedditAdsCreateCustomAudienceInput,\n output: RedditAdsCreateCustomAudienceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,MAAM,E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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,sBAAsB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead-gen-form.cjs","names":["z","action"],"sources":["../../src/actions/create-lead-gen-form.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateLeadGenFormInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the lead gen form\"),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\"),\n questions: z.array(z.object({\n type: z.enum([\"EMAIL\", \"FIRST_NAME\", \"LAST_NAME\", \"PHONE_NUMBER\", \"POSTAL_CODE\", \"JOB_TITLE\", \"COMPANY\", \"COMPANY_EMAIL\"]).describe(\"Type of question field to collect from the user\"),\n required: z.boolean().describe(\"Whether this question is required for form submission\"),\n}).passthrough().describe(\"A question field in the lead gen form.\")).describe(\"A list of questions presented to the user (minimum 1 question required)\"),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Lead gen form data containing name, privacy link, prompt, and questions\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Request model for creating a lead gen form.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema = z.object({\n type: z.string().describe(\"Type of question field\").nullable().optional(),\n required: z.boolean().describe(\"Whether this question is required\").nullable().optional(),\n}).passthrough().describe(\"A question field in the response.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the created lead gen form\").nullable().optional(),\n name: z.string().describe(\"The name of the lead gen form\").nullable().optional(),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\").nullable().optional(),\n questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe(\"List of questions presented to the user\").nullable().optional(),\n created_at: z.string().describe(\"The time that this form was created represented in ISO 8601\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this form was modified represented in ISO 8601\").nullable().optional(),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response data for created lead gen form.\");\nexport const RedditAdsCreateLeadGenFormOutput = z.object({\n data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a lead gen form.\");\n\nexport const redditAdsCreateLeadGenForm = action(\"REDDIT_ADS_CREATE_LEAD_GEN_FORM\", {\n slug: \"reddit_ads-create-lead-gen-form\",\n name: \"Create Lead Gen Form\",\n description: \"Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).\",\n input: RedditAdsCreateLeadGenFormInput,\n output: RedditAdsCreateLeadGenFormOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead-gen-form.cjs","names":["z","action"],"sources":["../../src/actions/create-lead-gen-form.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 RedditAdsCreateLeadGenFormInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the lead gen form\"),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\"),\n questions: z.array(z.object({\n type: z.enum([\"EMAIL\", \"FIRST_NAME\", \"LAST_NAME\", \"PHONE_NUMBER\", \"POSTAL_CODE\", \"JOB_TITLE\", \"COMPANY\", \"COMPANY_EMAIL\"]).describe(\"Type of question field to collect from the user\"),\n required: z.boolean().describe(\"Whether this question is required for form submission\"),\n}).passthrough().describe(\"A question field in the lead gen form.\")).describe(\"A list of questions presented to the user (minimum 1 question required)\"),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Lead gen form data containing name, privacy link, prompt, and questions\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Request model for creating a lead gen form.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema = z.object({\n type: z.string().describe(\"Type of question field\").nullable().optional(),\n required: z.boolean().describe(\"Whether this question is required\").nullable().optional(),\n}).passthrough().describe(\"A question field in the response.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the created lead gen form\").nullable().optional(),\n name: z.string().describe(\"The name of the lead gen form\").nullable().optional(),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\").nullable().optional(),\n questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe(\"List of questions presented to the user\").nullable().optional(),\n created_at: z.string().describe(\"The time that this form was created represented in ISO 8601\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this form was modified represented in ISO 8601\").nullable().optional(),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response data for created lead gen form.\");\nexport const RedditAdsCreateLeadGenFormOutput = z.object({\n data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a lead gen form.\");\n\nexport const redditAdsCreateLeadGenForm: AppAction<\n typeof RedditAdsCreateLeadGenFormInput,\n typeof RedditAdsCreateLeadGenFormOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_LEAD_GEN_FORM\", {\n slug: \"reddit_ads-create-lead-gen-form\",\n name: \"Create Lead Gen Form\",\n description: \"Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).\",\n input: RedditAdsCreateLeadGenFormInput,\n output: RedditAdsCreateLeadGenFormOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC7F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC5B,MAAMA,IAAAA,EAAE,KAAK;IAAC;IAAS;IAAc;IAAa;IAAgB;IAAe;IAAa;IAAW;GAAe,CAAC,CAAC,CAAC,SAAS,iDAAiD;GACrL,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;EACxF,CAAC,CAAC,C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C,SAAS;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/create-lead-gen-form.d.ts
|
|
@@ -38,20 +40,7 @@ declare const RedditAdsCreateLeadGenFormOutput: z.ZodObject<{
|
|
|
38
40
|
ad_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const redditAdsCreateLeadGenForm:
|
|
42
|
-
data: {
|
|
43
|
-
name: string;
|
|
44
|
-
prompt: string;
|
|
45
|
-
questions: {
|
|
46
|
-
[x: string]: unknown;
|
|
47
|
-
type: "EMAIL" | "FIRST_NAME" | "LAST_NAME" | "PHONE_NUMBER" | "POSTAL_CODE" | "JOB_TITLE" | "COMPANY" | "COMPANY_EMAIL";
|
|
48
|
-
required: boolean;
|
|
49
|
-
}[];
|
|
50
|
-
privacy_link: string;
|
|
51
|
-
ad_account_id: string;
|
|
52
|
-
};
|
|
53
|
-
ad_account_id: string;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const redditAdsCreateLeadGenForm: AppAction<typeof RedditAdsCreateLeadGenFormInput, typeof RedditAdsCreateLeadGenFormOutput, typeof redditAds.credential>;
|
|
55
44
|
//#endregion
|
|
56
45
|
export { redditAdsCreateLeadGenForm };
|
|
57
46
|
//# sourceMappingURL=create-lead-gen-form.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead-gen-form.d.cts","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead-gen-form.d.cts","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cA2B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/create-lead-gen-form.d.ts
|
|
@@ -38,20 +40,7 @@ declare const RedditAdsCreateLeadGenFormOutput: z.ZodObject<{
|
|
|
38
40
|
ad_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const redditAdsCreateLeadGenForm:
|
|
42
|
-
data: {
|
|
43
|
-
name: string;
|
|
44
|
-
prompt: string;
|
|
45
|
-
questions: {
|
|
46
|
-
[x: string]: unknown;
|
|
47
|
-
type: "EMAIL" | "FIRST_NAME" | "LAST_NAME" | "PHONE_NUMBER" | "POSTAL_CODE" | "JOB_TITLE" | "COMPANY" | "COMPANY_EMAIL";
|
|
48
|
-
required: boolean;
|
|
49
|
-
}[];
|
|
50
|
-
privacy_link: string;
|
|
51
|
-
ad_account_id: string;
|
|
52
|
-
};
|
|
53
|
-
ad_account_id: string;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const redditAdsCreateLeadGenForm: AppAction<typeof RedditAdsCreateLeadGenFormInput, typeof RedditAdsCreateLeadGenFormOutput, typeof redditAds.credential>;
|
|
55
44
|
//#endregion
|
|
56
45
|
export { redditAdsCreateLeadGenForm };
|
|
57
46
|
//# sourceMappingURL=create-lead-gen-form.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead-gen-form.d.mts","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead-gen-form.d.mts","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cA2B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead-gen-form.mjs","names":[],"sources":["../../src/actions/create-lead-gen-form.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateLeadGenFormInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the lead gen form\"),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\"),\n questions: z.array(z.object({\n type: z.enum([\"EMAIL\", \"FIRST_NAME\", \"LAST_NAME\", \"PHONE_NUMBER\", \"POSTAL_CODE\", \"JOB_TITLE\", \"COMPANY\", \"COMPANY_EMAIL\"]).describe(\"Type of question field to collect from the user\"),\n required: z.boolean().describe(\"Whether this question is required for form submission\"),\n}).passthrough().describe(\"A question field in the lead gen form.\")).describe(\"A list of questions presented to the user (minimum 1 question required)\"),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Lead gen form data containing name, privacy link, prompt, and questions\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Request model for creating a lead gen form.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema = z.object({\n type: z.string().describe(\"Type of question field\").nullable().optional(),\n required: z.boolean().describe(\"Whether this question is required\").nullable().optional(),\n}).passthrough().describe(\"A question field in the response.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the created lead gen form\").nullable().optional(),\n name: z.string().describe(\"The name of the lead gen form\").nullable().optional(),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\").nullable().optional(),\n questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe(\"List of questions presented to the user\").nullable().optional(),\n created_at: z.string().describe(\"The time that this form was created represented in ISO 8601\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this form was modified represented in ISO 8601\").nullable().optional(),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response data for created lead gen form.\");\nexport const RedditAdsCreateLeadGenFormOutput = z.object({\n data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a lead gen form.\");\n\nexport const redditAdsCreateLeadGenForm = action(\"REDDIT_ADS_CREATE_LEAD_GEN_FORM\", {\n slug: \"reddit_ads-create-lead-gen-form\",\n name: \"Create Lead Gen Form\",\n description: \"Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).\",\n input: RedditAdsCreateLeadGenFormInput,\n output: RedditAdsCreateLeadGenFormOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead-gen-form.mjs","names":[],"sources":["../../src/actions/create-lead-gen-form.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 RedditAdsCreateLeadGenFormInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the lead gen form\"),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\"),\n questions: z.array(z.object({\n type: z.enum([\"EMAIL\", \"FIRST_NAME\", \"LAST_NAME\", \"PHONE_NUMBER\", \"POSTAL_CODE\", \"JOB_TITLE\", \"COMPANY\", \"COMPANY_EMAIL\"]).describe(\"Type of question field to collect from the user\"),\n required: z.boolean().describe(\"Whether this question is required for form submission\"),\n}).passthrough().describe(\"A question field in the lead gen form.\")).describe(\"A list of questions presented to the user (minimum 1 question required)\"),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\"),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Lead gen form data containing name, privacy link, prompt, and questions\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the lead gen form under (format: a2_xxxxx or t2_xxxxx)\"),\n}).describe(\"Request model for creating a lead gen form.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema = z.object({\n type: z.string().describe(\"Type of question field\").nullable().optional(),\n required: z.boolean().describe(\"Whether this question is required\").nullable().optional(),\n}).passthrough().describe(\"A question field in the response.\");\nconst RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the created lead gen form\").nullable().optional(),\n name: z.string().describe(\"The name of the lead gen form\").nullable().optional(),\n prompt: z.string().describe(\"The prompt text displayed to the user when filling out the form\").nullable().optional(),\n questions: z.array(RedditAdsCreateLeadGenForm_LeadGenFormResponseQuestionSchema).describe(\"List of questions presented to the user\").nullable().optional(),\n created_at: z.string().describe(\"The time that this form was created represented in ISO 8601\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this form was modified represented in ISO 8601\").nullable().optional(),\n privacy_link: z.string().describe(\"The URL of the privacy policy for the form\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that the form belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response data for created lead gen form.\");\nexport const RedditAdsCreateLeadGenFormOutput = z.object({\n data: RedditAdsCreateLeadGenForm_LeadGenFormResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a lead gen form.\");\n\nexport const redditAdsCreateLeadGenForm: AppAction<\n typeof RedditAdsCreateLeadGenFormInput,\n typeof RedditAdsCreateLeadGenFormOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_LEAD_GEN_FORM\", {\n slug: \"reddit_ads-create-lead-gen-form\",\n name: \"Create Lead Gen Form\",\n description: \"Tool to create a new lead generation form in Reddit Ads. Use when you need to set up a lead gen form to collect user information such as emails, names, phone numbers, etc. Rate limit: 20 requests per 60 seconds (Leads).\",\n input: RedditAdsCreateLeadGenFormInput,\n output: RedditAdsCreateLeadGenFormOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC7F,WAAW,EAAE,MAA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CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).passthrough().describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).passthrough().describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsCreatePostInput,\n output: RedditAdsCreatePostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.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 RedditAdsCreatePostInput = z.object({\n data: z.object({\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post. Required field.\"),\n content: z.array(z.object({\n url: z.string().describe(\"The URL of the content item (e.g., image or video URL).\").optional(),\n media_id: z.string().describe(\"The media ID of the uploaded content.\").optional(),\n}).passthrough().describe(\"Content item for a post (used in CAROUSEL and other post types).\")).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1. Maximum 7 items.\").optional(),\n headline: z.string().describe(\"The title of the post. Required field.\"),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post data containing type, headline, body, and optional configuration parameters.\"),\n profile_id: z.string().describe(\"The ID of the profile to create a post for. Must match pattern ^t2_.*\"),\n}).describe(\"Request model for creating a Reddit post.\");\nconst RedditAdsCreatePost_PostTypeSchema = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsCreatePost_PostContentResponseSchema = z.object({\n media_url: z.string().describe(\"The media URL for the content.\").nullable().optional(),\n display_url: z.string().describe(\"The display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"The call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"The destination URL for the content.\").nullable().optional(),\n}).passthrough().describe(\"Content item in the response.\");\nconst RedditAdsCreatePost_PostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: RedditAdsCreatePost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsCreatePost_PostContentResponseSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created post.\");\nexport const RedditAdsCreatePostOutput = z.object({\n data: RedditAdsCreatePost_PostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for created Reddit post.\");\n\nexport const redditAdsCreatePost: AppAction<\n typeof RedditAdsCreatePostInput,\n typeof RedditAdsCreatePostOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_POST\", {\n slug: \"reddit_ads-create-post\",\n name: \"Create Reddit Post\",\n description: \"Tool to create a new Reddit post for a specified profile. Use when you need to create promotional content including text, images, videos, or carousel posts. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsCreatePostInput,\n output: RedditAdsCreatePostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAA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AC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/create-post.d.ts
|
|
@@ -5,10 +7,10 @@ declare const RedditAdsCreatePostInput: z.ZodObject<{
|
|
|
5
7
|
data: z.ZodObject<{
|
|
6
8
|
body: z.ZodOptional<z.ZodString>;
|
|
7
9
|
type: z.ZodEnum<{
|
|
8
|
-
CAROUSEL: "CAROUSEL";
|
|
9
10
|
IMAGE: "IMAGE";
|
|
10
11
|
TEXT: "TEXT";
|
|
11
12
|
VIDEO: "VIDEO";
|
|
13
|
+
CAROUSEL: "CAROUSEL";
|
|
12
14
|
}>;
|
|
13
15
|
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
16
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -26,10 +28,10 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
|
|
|
26
28
|
id: z.ZodNullable<z.ZodString>;
|
|
27
29
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
type: z.ZodNullable<z.ZodEnum<{
|
|
29
|
-
CAROUSEL: "CAROUSEL";
|
|
30
31
|
IMAGE: "IMAGE";
|
|
31
32
|
TEXT: "TEXT";
|
|
32
33
|
VIDEO: "VIDEO";
|
|
34
|
+
CAROUSEL: "CAROUSEL";
|
|
33
35
|
}>>;
|
|
34
36
|
content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
37
|
media_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -46,22 +48,7 @@ declare const RedditAdsCreatePostOutput: z.ZodObject<{
|
|
|
46
48
|
allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
49
|
}, z.core.$loose>>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const redditAdsCreatePost:
|
|
50
|
-
data: {
|
|
51
|
-
type: "CAROUSEL" | "IMAGE" | "TEXT" | "VIDEO";
|
|
52
|
-
headline: string;
|
|
53
|
-
body?: string | undefined;
|
|
54
|
-
content?: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
url?: string | undefined;
|
|
57
|
-
media_id?: string | undefined;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
is_richtext?: boolean | undefined;
|
|
60
|
-
thumbnail_url?: string | undefined;
|
|
61
|
-
allow_comments?: boolean | undefined;
|
|
62
|
-
};
|
|
63
|
-
profile_id: string;
|
|
64
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const redditAdsCreatePost: AppAction<typeof RedditAdsCreatePostInput, typeof RedditAdsCreatePostOutput, typeof redditAds.credential>;
|
|
65
52
|
//#endregion
|
|
66
53
|
export { redditAdsCreatePost };
|
|
67
54
|
//# sourceMappingURL=create-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAmCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|