@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.mjs";
|
|
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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-post.d.mts","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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreatePostInput = z.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.mjs","names":[],"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,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,KAAK;GAAC;GAAY;GAAS;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACrG,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACzP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0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S;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog: AppAction<\n typeof RedditAdsCreateProductCatalogInput,\n typeof RedditAdsCreateProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,I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AAO;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-product-catalog.d.ts
|
|
@@ -64,15 +66,7 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
|
|
|
64
66
|
}>>>;
|
|
65
67
|
}, z.core.$loose>>;
|
|
66
68
|
}, z.core.$loose>;
|
|
67
|
-
declare const redditAdsCreateProductCatalog:
|
|
68
|
-
data: {
|
|
69
|
-
name: string;
|
|
70
|
-
default_currency: "USD" | "GBP" | "CAD" | "EUR" | "AUD" | "JPY" | "CHF" | "NZD" | "SEK" | "NOK";
|
|
71
|
-
default_language: "en" | "de" | "es" | "fr" | "it" | "pt";
|
|
72
|
-
event_sources?: string[] | undefined;
|
|
73
|
-
};
|
|
74
|
-
business_id: string;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
69
|
+
declare const redditAdsCreateProductCatalog: AppAction<typeof RedditAdsCreateProductCatalogInput, typeof RedditAdsCreateProductCatalogOutput, typeof redditAds.credential>;
|
|
76
70
|
//#endregion
|
|
77
71
|
export { redditAdsCreateProductCatalog };
|
|
78
72
|
//# sourceMappingURL=create-product-catalog.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-catalog.d.cts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-catalog.d.cts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BlC,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-product-catalog.d.ts
|
|
@@ -64,15 +66,7 @@ declare const RedditAdsCreateProductCatalogOutput: z.ZodObject<{
|
|
|
64
66
|
}>>>;
|
|
65
67
|
}, z.core.$loose>>;
|
|
66
68
|
}, z.core.$loose>;
|
|
67
|
-
declare const redditAdsCreateProductCatalog:
|
|
68
|
-
data: {
|
|
69
|
-
name: string;
|
|
70
|
-
default_currency: "USD" | "GBP" | "CAD" | "EUR" | "AUD" | "JPY" | "CHF" | "NZD" | "SEK" | "NOK";
|
|
71
|
-
default_language: "en" | "de" | "es" | "fr" | "it" | "pt";
|
|
72
|
-
event_sources?: string[] | undefined;
|
|
73
|
-
};
|
|
74
|
-
business_id: string;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
69
|
+
declare const redditAdsCreateProductCatalog: AppAction<typeof RedditAdsCreateProductCatalogInput, typeof RedditAdsCreateProductCatalogOutput, typeof redditAds.credential>;
|
|
76
70
|
//#endregion
|
|
77
71
|
export { redditAdsCreateProductCatalog };
|
|
78
72
|
//# sourceMappingURL=create-product-catalog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-catalog.d.mts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-catalog.d.mts","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BlC,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-product-catalog.mjs","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-catalog.mjs","names":[],"sources":["../../src/actions/create-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsCreateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\"),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n default_currency: z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"The default currency of the catalog.\"),\n default_language: z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"The default language of the catalog.\"),\n}).describe(\"The product catalog data object containing name, language, currency, and optional event sources.\"),\n business_id: z.string().describe(\"The ID of the parent business.\"),\n}).describe(\"Request model for creating a new product catalog.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsCreateProductCatalog_CurrencyCodeSchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_LanguageCodeSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsCreateProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsCreateProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).passthrough().describe(\"Product catalog response data object.\");\nexport const RedditAdsCreateProductCatalogOutput = z.object({\n data: RedditAdsCreateProductCatalog_ProductCatalogResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product catalog.\");\n\nexport const redditAdsCreateProductCatalog: AppAction<\n typeof RedditAdsCreateProductCatalogInput,\n typeof RedditAdsCreateProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-create-product-catalog\",\n name: \"Create Product Catalog\",\n description: \"Tool to create a new product catalog. Use when you need to set up a product catalog for Reddit Ads. After creation, finish setup by manually creating products or linking a product feed.\",\n input: RedditAdsCreateProductCatalogInput,\n output: RedditAdsCreateProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAChJ,kBAAkB,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAChH,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4DAA4D,EAAE,OAAO;CACzE,gBAAgB,EAAE,OAAO,CAAC,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E,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,MAAM,+DAA+D,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/create-product-feed.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 RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed: AppAction<\n typeof RedditAdsCreateProductFeedInput,\n typeof RedditAdsCreateProductFeedOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I;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,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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-product-feed.d.ts
|
|
@@ -41,16 +43,7 @@ declare const RedditAdsCreateProductFeedOutput: z.ZodObject<{
|
|
|
41
43
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const redditAdsCreateProductFeed:
|
|
45
|
-
data: {
|
|
46
|
-
url: string;
|
|
47
|
-
mode: "REPLACE" | "UPDATE";
|
|
48
|
-
name?: string | undefined;
|
|
49
|
-
password?: string | undefined;
|
|
50
|
-
username?: string | undefined;
|
|
51
|
-
};
|
|
52
|
-
catalog_id: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const redditAdsCreateProductFeed: AppAction<typeof RedditAdsCreateProductFeedInput, typeof RedditAdsCreateProductFeedOutput, typeof redditAds.credential>;
|
|
54
47
|
//#endregion
|
|
55
48
|
export { redditAdsCreateProductFeed };
|
|
56
49
|
//# sourceMappingURL=create-product-feed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-feed.d.cts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-feed.d.cts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkC/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-product-feed.d.ts
|
|
@@ -41,16 +43,7 @@ declare const RedditAdsCreateProductFeedOutput: z.ZodObject<{
|
|
|
41
43
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const redditAdsCreateProductFeed:
|
|
45
|
-
data: {
|
|
46
|
-
url: string;
|
|
47
|
-
mode: "REPLACE" | "UPDATE";
|
|
48
|
-
name?: string | undefined;
|
|
49
|
-
password?: string | undefined;
|
|
50
|
-
username?: string | undefined;
|
|
51
|
-
};
|
|
52
|
-
catalog_id: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const redditAdsCreateProductFeed: AppAction<typeof RedditAdsCreateProductFeedInput, typeof RedditAdsCreateProductFeedOutput, typeof redditAds.credential>;
|
|
54
47
|
//#endregion
|
|
55
48
|
export { redditAdsCreateProductFeed };
|
|
56
49
|
//# sourceMappingURL=create-product-feed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-feed.d.mts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-feed.d.mts","names":[],"sources":["../../src/actions/create-product-feed.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAkC/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-product-feed.mjs","names":[],"sources":["../../src/actions/create-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-feed.mjs","names":[],"sources":["../../src/actions/create-product-feed.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 RedditAdsCreateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"The update mode of this feed. REPLACE will replace all products in the catalog with the feed data. UPDATE will only update existing products.\"),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").optional(),\n}).describe(\"The product feed data object containing URL, mode, and optional authentication credentials.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product feed.\");\nconst RedditAdsCreateProductFeed_FeedModeSchema = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for the product feed.\");\nconst RedditAdsCreateProductFeed_ScheduleResponseDataSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled feed updates.\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled feed updates.\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled feed updates.\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone information for the schedule.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled feed updates.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled feed updates.\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled feed updates.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule information for the product feed.\");\nconst RedditAdsCreateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: RedditAdsCreateProductFeed_FeedModeSchema.nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsCreateProductFeed_ScheduleResponseDataSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product feed response data object.\");\nexport const RedditAdsCreateProductFeedOutput = z.object({\n data: RedditAdsCreateProductFeed_ProductFeedResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product feed.\");\n\nexport const redditAdsCreateProductFeed: AppAction<\n typeof RedditAdsCreateProductFeedInput,\n typeof RedditAdsCreateProductFeedOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-create-product-feed\",\n name: \"Create Product Feed\",\n description: \"Tool to create a new feed for a product catalog. Use when setting up product feeds for Reddit catalog sales campaigns. Each catalog can contain up to 2 feeds, but they must be of different types (REPLACE or UPDATE).\",\n input: RedditAdsCreateProductFeedInput,\n output: RedditAdsCreateProductFeedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChE,MAAM,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I;EAC5L,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,C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,4CAA4C;AACtE,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-set.cjs","names":["z","action"],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.record(z.string(), z.unknown()).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-set.cjs","names":["z","action"],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.record(z.string(), z.unknown()).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet: AppAction<\n typeof RedditAdsCreateProductSetInput,\n typeof RedditAdsCreateProductSetOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q;CACzS,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-product-set.d.ts
|
|
@@ -24,13 +26,7 @@ declare const RedditAdsCreateProductSetOutput: z.ZodObject<{
|
|
|
24
26
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const redditAdsCreateProductSet:
|
|
28
|
-
data: {
|
|
29
|
-
name: string;
|
|
30
|
-
filter: string;
|
|
31
|
-
};
|
|
32
|
-
catalog_id: string;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const redditAdsCreateProductSet: AppAction<typeof RedditAdsCreateProductSetInput, typeof RedditAdsCreateProductSetOutput, typeof redditAds.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { redditAdsCreateProductSet };
|
|
36
32
|
//# sourceMappingURL=create-product-set.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-set.d.cts","names":[],"sources":["../../src/actions/create-product-set.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-set.d.cts","names":[],"sources":["../../src/actions/create-product-set.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-product-set.d.ts
|
|
@@ -24,13 +26,7 @@ declare const RedditAdsCreateProductSetOutput: z.ZodObject<{
|
|
|
24
26
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const redditAdsCreateProductSet:
|
|
28
|
-
data: {
|
|
29
|
-
name: string;
|
|
30
|
-
filter: string;
|
|
31
|
-
};
|
|
32
|
-
catalog_id: string;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const redditAdsCreateProductSet: AppAction<typeof RedditAdsCreateProductSetInput, typeof RedditAdsCreateProductSetOutput, typeof redditAds.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { redditAdsCreateProductSet };
|
|
36
32
|
//# sourceMappingURL=create-product-set.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-set.d.mts","names":[],"sources":["../../src/actions/create-product-set.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-set.d.mts","names":[],"sources":["../../src/actions/create-product-set.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-set.mjs","names":[],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.record(z.string(), z.unknown()).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-product-set.mjs","names":[],"sources":["../../src/actions/create-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsCreateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\"),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Must be a valid JSON string defining filter conditions (e.g., '{\\\"product_type\\\": {\\\"eq\\\": \\\"electronics\\\"}}'). Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\"),\n}).describe(\"The product set data object containing name and filter rule.\"),\n catalog_id: z.string().describe(\"The ID of the parent product catalog.\"),\n}).describe(\"Request model for creating a new product set in a catalog.\");\nconst RedditAdsCreateProductSet_ProductSetSummarySchema = z.object({\n issues: z.record(z.string(), z.unknown()).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for the product set.\");\nconst RedditAdsCreateProductSet_ProductSetResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog.\").nullable().optional(),\n summary: RedditAdsCreateProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Product set response data object.\");\nexport const RedditAdsCreateProductSetOutput = z.object({\n data: RedditAdsCreateProductSet_ProductSetResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a product set.\");\n\nexport const redditAdsCreateProductSet: AppAction<\n typeof RedditAdsCreateProductSetInput,\n typeof RedditAdsCreateProductSetOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_PRODUCT_SET\", {\n slug: \"reddit_ads-create-product-set\",\n name: \"Create Product Set\",\n description: \"Tool to create a new product set in a product catalog. Use when you need to define a subset of products from a catalog using filter rules for targeted advertising.\",\n input: RedditAdsCreateProductSetInput,\n output: RedditAdsCreateProductSetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q;CACzS,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,MAAM,uDAAuD,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-saved-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-saved-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsCreateSavedAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the saved audience (3-500 characters)\"),\n type: z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience to create. REDDIT_AUDIENCE is the most common type for standard targeting\"),\n targeting: z.object({\n gender: z.string().describe(\"Gender to target (e.g., 'male', 'female', 'all')\").optional(),\n devices: z.array(z.string()).describe(\"List of device types to target (e.g., 'mobile', 'desktop', 'tablet')\").optional(),\n carriers: z.array(z.string()).describe(\"List of mobile carrier IDs to target\").optional(),\n keywords: z.array(z.string()).describe(\"List of keywords to target for contextual targeting\").optional(),\n interests: z.array(z.string()).describe(\"List of interest IDs to target. Use Reddit's interest taxonomy IDs\").optional(),\n view_modes: z.array(z.string()).describe(\"List of view modes to target (e.g., 'card', 'classic')\").optional(),\n communities: z.array(z.string()).describe(\"List of subreddit names to target (without 'r/' prefix)\").optional(),\n geolocations: z.array(z.string()).describe(\"List of geographic location codes to target (e.g., ['US', 'CA', 'GB']). Use ISO 3166-1 alpha-2 country codes or more specific region/city codes\"),\n expand_targeting: z.boolean().describe(\"Whether to enable expanded targeting to reach similar audiences beyond exact targeting criteria\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of keywords to exclude from targeting\").optional(),\n excluded_interests: z.array(z.string()).describe(\"List of interest IDs to exclude from targeting\").optional(),\n custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to include in targeting\").optional(),\n excluded_communities: z.array(z.string()).describe(\"List of subreddit names to exclude from targeting\").optional(),\n excluded_geolocations: z.array(z.string()).describe(\"List of geographic location codes to exclude from targeting\").optional(),\n suppression_event_types: z.array(z.string()).describe(\"List of event types to suppress from targeting\").optional(),\n excluded_custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to exclude from targeting\").optional(),\n}).describe(\"Targeting criteria for the saved audience including geolocations, interests, communities, and other filters\"),\n}).describe(\"Saved audience configuration including name, type, and targeting parameters\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the saved audience under (format: 'a2_...')\"),\n}).describe(\"Request to create a saved audience for an ad account.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceTypeSchema = z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceStatusSchema = z.enum([\"DELETED\", \"INVALID\", \"INVALID_CHILD_AUDIENCE\", \"PROCESSING\", \"VALID\", \"INVALID_DATA_SOURCE\"]).describe(\"Status of the saved audience.\");\nconst RedditAdsCreateSavedAudience_TargetingSchema = z.object({\n gender: z.string().describe(\"Gender to target (e.g., 'male', 'female', 'all')\").nullable().optional(),\n devices: z.array(z.string()).describe(\"List of device types to target (e.g., 'mobile', 'desktop', 'tablet')\").nullable().optional(),\n carriers: z.array(z.string()).describe(\"List of mobile carrier IDs to target\").nullable().optional(),\n keywords: z.array(z.string()).describe(\"List of keywords to target for contextual targeting\").nullable().optional(),\n interests: z.array(z.string()).describe(\"List of interest IDs to target. Use Reddit's interest taxonomy IDs\").nullable().optional(),\n view_modes: z.array(z.string()).describe(\"List of view modes to target (e.g., 'card', 'classic')\").nullable().optional(),\n communities: z.array(z.string()).describe(\"List of subreddit names to target (without 'r/' prefix)\").nullable().optional(),\n geolocations: z.array(z.string()).describe(\"List of geographic location codes to target (e.g., ['US', 'CA', 'GB']). Use ISO 3166-1 alpha-2 country codes or more specific region/city codes\"),\n expand_targeting: z.boolean().describe(\"Whether to enable expanded targeting to reach similar audiences beyond exact targeting criteria\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of keywords to exclude from targeting\").nullable().optional(),\n excluded_interests: z.array(z.string()).describe(\"List of interest IDs to exclude from targeting\").nullable().optional(),\n custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to include in targeting\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of subreddit names to exclude from targeting\").nullable().optional(),\n excluded_geolocations: z.array(z.string()).describe(\"List of geographic location codes to exclude from targeting\").nullable().optional(),\n suppression_event_types: z.array(z.string()).describe(\"List of event types to suppress from targeting\").nullable().optional(),\n excluded_custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to exclude from targeting\").nullable().optional(),\n}).passthrough().describe(\"Targeting configuration for the saved audience.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved audience\").nullable(),\n name: z.string().describe(\"Name of the saved audience\").nullable(),\n type: RedditAdsCreateSavedAudience_SavedAudienceTypeSchema.nullable(),\n status: RedditAdsCreateSavedAudience_SavedAudienceStatusSchema.nullable(),\n targeting: RedditAdsCreateSavedAudience_TargetingSchema.nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the saved audience was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the saved audience was last updated\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Array of delivery status strings for this saved audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the estimated audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the estimated audience size range\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created saved audience.\");\nexport const RedditAdsCreateSavedAudienceOutput = z.object({\n data: RedditAdsCreateSavedAudience_SavedAudienceResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating a saved audience.\");\n\nexport const redditAdsCreateSavedAudience = action(\"REDDIT_ADS_CREATE_SAVED_AUDIENCE\", {\n slug: \"reddit_ads-create-saved-audience\",\n name: \"Create Saved Audience\",\n description: \"Tool to create a saved audience for a Reddit Ads ad account with targeting criteria. Use when you need to define and save audience segments for ad campaigns. Rate limit: 200 requests per 60 seconds (Campaign Management Write).\",\n input: RedditAdsCreateSavedAudienceInput,\n output: RedditAdsCreateSavedAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAiB;GAA0B;G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,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,6DAA6D,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-saved-audience.cjs","names":["z","action"],"sources":["../../src/actions/create-saved-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 RedditAdsCreateSavedAudienceInput = z.object({\n data: z.object({\n name: z.string().describe(\"Name of the saved audience (3-500 characters)\"),\n type: z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience to create. REDDIT_AUDIENCE is the most common type for standard targeting\"),\n targeting: z.object({\n gender: z.string().describe(\"Gender to target (e.g., 'male', 'female', 'all')\").optional(),\n devices: z.array(z.string()).describe(\"List of device types to target (e.g., 'mobile', 'desktop', 'tablet')\").optional(),\n carriers: z.array(z.string()).describe(\"List of mobile carrier IDs to target\").optional(),\n keywords: z.array(z.string()).describe(\"List of keywords to target for contextual targeting\").optional(),\n interests: z.array(z.string()).describe(\"List of interest IDs to target. Use Reddit's interest taxonomy IDs\").optional(),\n view_modes: z.array(z.string()).describe(\"List of view modes to target (e.g., 'card', 'classic')\").optional(),\n communities: z.array(z.string()).describe(\"List of subreddit names to target (without 'r/' prefix)\").optional(),\n geolocations: z.array(z.string()).describe(\"List of geographic location codes to target (e.g., ['US', 'CA', 'GB']). Use ISO 3166-1 alpha-2 country codes or more specific region/city codes\"),\n expand_targeting: z.boolean().describe(\"Whether to enable expanded targeting to reach similar audiences beyond exact targeting criteria\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of keywords to exclude from targeting\").optional(),\n excluded_interests: z.array(z.string()).describe(\"List of interest IDs to exclude from targeting\").optional(),\n custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to include in targeting\").optional(),\n excluded_communities: z.array(z.string()).describe(\"List of subreddit names to exclude from targeting\").optional(),\n excluded_geolocations: z.array(z.string()).describe(\"List of geographic location codes to exclude from targeting\").optional(),\n suppression_event_types: z.array(z.string()).describe(\"List of event types to suppress from targeting\").optional(),\n excluded_custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to exclude from targeting\").optional(),\n}).describe(\"Targeting criteria for the saved audience including geolocations, interests, communities, and other filters\"),\n}).describe(\"Saved audience configuration including name, type, and targeting parameters\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to create the saved audience under (format: 'a2_...')\"),\n}).describe(\"Request to create a saved audience for an ad account.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceTypeSchema = z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceStatusSchema = z.enum([\"DELETED\", \"INVALID\", \"INVALID_CHILD_AUDIENCE\", \"PROCESSING\", \"VALID\", \"INVALID_DATA_SOURCE\"]).describe(\"Status of the saved audience.\");\nconst RedditAdsCreateSavedAudience_TargetingSchema = z.object({\n gender: z.string().describe(\"Gender to target (e.g., 'male', 'female', 'all')\").nullable().optional(),\n devices: z.array(z.string()).describe(\"List of device types to target (e.g., 'mobile', 'desktop', 'tablet')\").nullable().optional(),\n carriers: z.array(z.string()).describe(\"List of mobile carrier IDs to target\").nullable().optional(),\n keywords: z.array(z.string()).describe(\"List of keywords to target for contextual targeting\").nullable().optional(),\n interests: z.array(z.string()).describe(\"List of interest IDs to target. Use Reddit's interest taxonomy IDs\").nullable().optional(),\n view_modes: z.array(z.string()).describe(\"List of view modes to target (e.g., 'card', 'classic')\").nullable().optional(),\n communities: z.array(z.string()).describe(\"List of subreddit names to target (without 'r/' prefix)\").nullable().optional(),\n geolocations: z.array(z.string()).describe(\"List of geographic location codes to target (e.g., ['US', 'CA', 'GB']). Use ISO 3166-1 alpha-2 country codes or more specific region/city codes\"),\n expand_targeting: z.boolean().describe(\"Whether to enable expanded targeting to reach similar audiences beyond exact targeting criteria\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"List of keywords to exclude from targeting\").nullable().optional(),\n excluded_interests: z.array(z.string()).describe(\"List of interest IDs to exclude from targeting\").nullable().optional(),\n custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to include in targeting\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"List of subreddit names to exclude from targeting\").nullable().optional(),\n excluded_geolocations: z.array(z.string()).describe(\"List of geographic location codes to exclude from targeting\").nullable().optional(),\n suppression_event_types: z.array(z.string()).describe(\"List of event types to suppress from targeting\").nullable().optional(),\n excluded_custom_audience_ids: z.array(z.string()).describe(\"List of custom audience IDs to exclude from targeting\").nullable().optional(),\n}).passthrough().describe(\"Targeting configuration for the saved audience.\");\nconst RedditAdsCreateSavedAudience_SavedAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved audience\").nullable(),\n name: z.string().describe(\"Name of the saved audience\").nullable(),\n type: RedditAdsCreateSavedAudience_SavedAudienceTypeSchema.nullable(),\n status: RedditAdsCreateSavedAudience_SavedAudienceStatusSchema.nullable(),\n targeting: RedditAdsCreateSavedAudience_TargetingSchema.nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the saved audience was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the saved audience was last updated\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Array of delivery status strings for this saved audience\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the estimated audience size range\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the estimated audience size range\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for a created saved audience.\");\nexport const RedditAdsCreateSavedAudienceOutput = z.object({\n data: RedditAdsCreateSavedAudience_SavedAudienceResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating a saved audience.\");\n\nexport const redditAdsCreateSavedAudience: AppAction<\n typeof RedditAdsCreateSavedAudienceInput,\n typeof RedditAdsCreateSavedAudienceOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_CREATE_SAVED_AUDIENCE\", {\n slug: \"reddit_ads-create-saved-audience\",\n name: \"Create Saved Audience\",\n description: \"Tool to create a saved audience for a Reddit Ads ad account with targeting criteria. Use when you need to define and save audience segments for ad campaigns. Rate limit: 200 requests per 60 seconds (Campaign Management Write).\",\n input: RedditAdsCreateSavedAudienceInput,\n output: RedditAdsCreateSavedAudienceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAiB;GAA0B;GAAa;GAAqB;EAAiB,CAAC,CAAC,CAAC,SAAS,kGAAkG;EAC1N,WAAWA,IAAAA,EAAE,OAAO;GACpB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SA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