@keystrokehq/reddit_ads 0.1.0 → 0.1.3
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 +6 -6
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +82 -3
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +82 -3
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +6 -6
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +7 -7
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +125 -3
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +125 -3
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +7 -7
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +7 -7
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +147 -3
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +147 -3
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +7 -7
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +5 -5
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +34 -3
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +34 -3
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +5 -5
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +4 -4
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +51 -3
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +51 -3
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +4 -4
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +6 -6
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +61 -3
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +61 -3
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +6 -6
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +3 -3
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +72 -3
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +72 -3
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +3 -3
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +4 -4
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +50 -3
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +50 -3
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +4 -4
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +4 -4
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +30 -3
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +30 -3
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +4 -4
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +6 -6
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +102 -3
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +102 -3
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +6 -6
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +18 -18
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +113 -3
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +113 -3
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +18 -18
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -1
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +7 -3
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +7 -3
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -1
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -1
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +7 -3
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +7 -3
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -1
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -1
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +7 -3
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +7 -3
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -1
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -1
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +7 -3
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +7 -3
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -1
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -1
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +11 -3
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +11 -3
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -1
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +3 -3
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +19 -3
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +19 -3
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +3 -3
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +4 -4
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +17 -3
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +17 -3
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +4 -4
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +39 -3
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +39 -3
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +3 -3
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +55 -3
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +55 -3
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +3 -3
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +6 -6
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +61 -3
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +61 -3
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +6 -6
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +6 -6
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +60 -3
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +60 -3
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +6 -6
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +12 -12
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +40 -3
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +40 -3
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +12 -12
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +2 -2
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +34 -3
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +34 -3
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +2 -2
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +8 -8
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +21 -3
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +21 -3
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +8 -8
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +10 -10
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +38 -3
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +38 -3
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +10 -10
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +5 -5
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +36 -3
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +36 -3
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +5 -5
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +8 -8
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +29 -3
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +29 -3
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +8 -8
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +15 -15
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +68 -3
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +68 -3
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +15 -15
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +3 -3
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +18 -3
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +18 -3
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +3 -3
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +5 -5
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +13 -3
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +13 -3
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +5 -5
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +24 -3
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +24 -3
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +5 -5
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +32 -3
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +32 -3
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +5 -5
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +3 -3
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +42 -3
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +42 -3
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +3 -3
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +9 -9
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +36 -3
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +36 -3
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +9 -9
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +4 -4
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +22 -3
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +22 -3
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +4 -4
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +6 -6
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +15 -3
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +15 -3
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +6 -6
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +9 -9
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +52 -3
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +52 -3
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +9 -9
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +32 -3
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +32 -3
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +3 -3
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +15 -3
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +15 -3
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +3 -3
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +38 -3
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +38 -3
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +9 -9
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +52 -3
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +52 -3
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +9 -9
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +2 -2
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +19 -3
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +19 -3
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +2 -2
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +10 -10
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +46 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +46 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +10 -10
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +6 -6
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +19 -3
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +19 -3
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +6 -6
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +4 -4
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +30 -3
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +30 -3
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +4 -4
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +6 -6
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +26 -3
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +26 -3
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +6 -6
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +6 -6
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +24 -3
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +24 -3
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +6 -6
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +3 -3
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +18 -3
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +18 -3
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +3 -3
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +4 -4
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +49 -3
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +49 -3
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +4 -4
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +2 -2
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +21 -3
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +21 -3
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +2 -2
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +4 -4
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +8 -3
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +8 -3
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +4 -4
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +5 -5
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +9 -3
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +9 -3
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +5 -5
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +4 -4
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +26 -3
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +26 -3
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +4 -4
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +3 -3
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +34 -3
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +34 -3
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +3 -3
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +26 -3
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +26 -3
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +4 -4
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +26 -3
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +26 -3
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +4 -4
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +7 -7
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +45 -3
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +45 -3
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +7 -7
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +8 -8
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +24 -3
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +24 -3
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +8 -8
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +9 -9
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +23 -3
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +23 -3
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +9 -9
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +4 -4
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +28 -3
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +28 -3
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +4 -4
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +17 -17
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +82 -3
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +82 -3
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +17 -17
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +13 -13
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +127 -3
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +127 -3
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +13 -13
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +23 -3
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +23 -3
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +3 -3
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +23 -3
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +23 -3
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +3 -3
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +11 -11
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +30 -3
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +30 -3
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +11 -11
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +3 -3
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +37 -3
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +37 -3
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +3 -3
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +9 -9
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +22 -3
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +22 -3
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +9 -9
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +6 -6
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +38 -3
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +38 -3
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +6 -6
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +4 -4
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +24 -3
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +24 -3
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +4 -4
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +5 -5
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +58 -3
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +58 -3
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +5 -5
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +44 -3
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +44 -3
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +6 -6
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +24 -3
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +24 -3
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +6 -6
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +2 -2
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +88 -3
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +88 -3
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +2 -2
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +2 -2
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +66 -3
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +66 -3
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +2 -2
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +3 -3
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +113 -3
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +113 -3
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +3 -3
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -1
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +31 -3
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +31 -3
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -1
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +2 -2
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +27 -3
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +27 -3
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +2 -2
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +3 -3
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +50 -3
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +50 -3
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +3 -3
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +3 -3
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +69 -3
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +69 -3
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +3 -3
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +4 -4
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +30 -3
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +30 -3
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +4 -4
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +3 -3
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +97 -3
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +97 -3
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +3 -3
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +2 -2
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +21 -3
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +21 -3
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +2 -2
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -9,11 +9,11 @@ const RedditAdsUpdateProductSetInput = zod.z.object({
|
|
|
9
9
|
product_set_id: zod.z.string().describe("The ID of the product set to update.")
|
|
10
10
|
}).describe("Request parameters to update a product set in Reddit Ads.");
|
|
11
11
|
const RedditAdsUpdateProductSet_ProductSetSummarySchema = zod.z.object({
|
|
12
|
-
issues: zod.z.
|
|
12
|
+
issues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Issues related to the product set.").nullable().optional(),
|
|
13
13
|
products_count: zod.z.number().int().describe("Total number of products in the product set.").nullable().optional(),
|
|
14
14
|
approved_products_count: zod.z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
|
|
15
15
|
rejected_products_count: zod.z.number().int().describe("Number of rejected products in the product set.").nullable().optional()
|
|
16
|
-
}).describe("Summary statistics for the product set.");
|
|
16
|
+
}).passthrough().describe("Summary statistics for the product set.");
|
|
17
17
|
const RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("The ID of the product set.").nullable().optional(),
|
|
19
19
|
name: zod.z.string().describe("The name of the product set.").nullable().optional(),
|
|
@@ -22,8 +22,8 @@ const RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = zod.z.objec
|
|
|
22
22
|
catalog_id: zod.z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
|
|
23
23
|
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
24
24
|
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
|
|
25
|
-
}).describe("Response data model for product set entity.");
|
|
26
|
-
const RedditAdsUpdateProductSetOutput = zod.z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).describe("Response containing the updated product set details.");
|
|
25
|
+
}).passthrough().describe("Response data model for product set entity.");
|
|
26
|
+
const RedditAdsUpdateProductSetOutput = zod.z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product set details.");
|
|
27
27
|
const redditAdsUpdateProductSet = require_action.action("REDDIT_ADS_UPDATE_PRODUCT_SET", {
|
|
28
28
|
slug: "reddit_ads-update-product-set",
|
|
29
29
|
name: "Update Product Set",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-set.cjs","names":["z","action"],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput
|
|
1
|
+
{"version":3,"file":"update-product-set.cjs","names":["z","action"],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q,CAAC,CAAC,SAAS;CACpT,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,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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a,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-product-set.d.ts
|
|
4
|
-
declare const RedditAdsUpdateProductSetInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsUpdateProductSetInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
product_set_id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RedditAdsUpdateProductSetOutput: z.ZodObject<{
|
|
12
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
filter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
issues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const redditAdsUpdateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
data: {
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
filter?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
product_set_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { redditAdsUpdateProductSet };
|
|
9
36
|
//# sourceMappingURL=update-product-set.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-set.d.cts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-product-set.d.cts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-product-set.d.ts
|
|
4
|
-
declare const RedditAdsUpdateProductSetInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsUpdateProductSetInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
product_set_id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RedditAdsUpdateProductSetOutput: z.ZodObject<{
|
|
12
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
filter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
issues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
approved_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
rejected_products_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const redditAdsUpdateProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
data: {
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
filter?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
product_set_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { redditAdsUpdateProductSet };
|
|
9
36
|
//# sourceMappingURL=update-product-set.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-set.d.mts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-product-set.d.mts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -9,11 +9,11 @@ const RedditAdsUpdateProductSetInput = z.object({
|
|
|
9
9
|
product_set_id: z.string().describe("The ID of the product set to update.")
|
|
10
10
|
}).describe("Request parameters to update a product set in Reddit Ads.");
|
|
11
11
|
const RedditAdsUpdateProductSet_ProductSetSummarySchema = z.object({
|
|
12
|
-
issues: z.
|
|
12
|
+
issues: z.record(z.string(), z.unknown()).describe("Issues related to the product set.").nullable().optional(),
|
|
13
13
|
products_count: z.number().int().describe("Total number of products in the product set.").nullable().optional(),
|
|
14
14
|
approved_products_count: z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
|
|
15
15
|
rejected_products_count: z.number().int().describe("Number of rejected products in the product set.").nullable().optional()
|
|
16
|
-
}).describe("Summary statistics for the product set.");
|
|
16
|
+
}).passthrough().describe("Summary statistics for the product set.");
|
|
17
17
|
const RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = z.object({
|
|
18
18
|
id: z.string().describe("The ID of the product set.").nullable().optional(),
|
|
19
19
|
name: z.string().describe("The name of the product set.").nullable().optional(),
|
|
@@ -22,13 +22,13 @@ const RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = z.object({
|
|
|
22
22
|
catalog_id: z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
|
|
23
23
|
created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
24
24
|
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
|
|
25
|
-
}).describe("Response data model for product set entity.");
|
|
25
|
+
}).passthrough().describe("Response data model for product set entity.");
|
|
26
26
|
const redditAdsUpdateProductSet = action("REDDIT_ADS_UPDATE_PRODUCT_SET", {
|
|
27
27
|
slug: "reddit_ads-update-product-set",
|
|
28
28
|
name: "Update Product Set",
|
|
29
29
|
description: "Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.",
|
|
30
30
|
input: RedditAdsUpdateProductSetInput,
|
|
31
|
-
output: z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).describe("Response containing the updated product set details.")
|
|
31
|
+
output: z.object({ data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional() }).passthrough().describe("Response containing the updated product set details.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { redditAdsUpdateProductSet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-set.mjs","names":[],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput
|
|
1
|
+
{"version":3,"file":"update-product-set.mjs","names":[],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductSetInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product set.\").optional(),\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.\").optional(),\n}).describe(\"The product set data to update.\"),\n product_set_id: z.string().describe(\"The ID of the product set to update.\"),\n}).describe(\"Request parameters to update a product set in Reddit Ads.\");\nconst RedditAdsUpdateProductSet_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 RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema = 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: RedditAdsUpdateProductSet_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(\"Response data model for product set entity.\");\nexport const RedditAdsUpdateProductSetOutput = z.object({\n data: RedditAdsUpdateProductSet_UpdateProductSetResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product set details.\");\n\nexport const redditAdsUpdateProductSet = action(\"REDDIT_ADS_UPDATE_PRODUCT_SET\", {\n slug: \"reddit_ads-update-product-set\",\n name: \"Update Product Set\",\n description: \"Tool to update a product set's name and filter rules in Reddit Ads. Use when you need to modify the name or filter conditions of an existing product set.\",\n input: RedditAdsUpdateProductSetInput,\n output: RedditAdsUpdateProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2QAA2Q,CAAC,CAAC,SAAS;CACpT,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC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ACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -53,7 +53,7 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = zod.z.objec
|
|
|
53
53
|
name: zod.z.string().describe("The name of the saved audience").nullable().optional(),
|
|
54
54
|
type: zod.z.string().describe("The type of the saved audience").nullable().optional(),
|
|
55
55
|
status: zod.z.string().describe("The status of the saved audience").nullable().optional(),
|
|
56
|
-
targeting: zod.z.
|
|
56
|
+
targeting: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Targeting information for the ad group").nullable().optional(),
|
|
57
57
|
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601").nullable().optional(),
|
|
58
58
|
updated_at: zod.z.string().describe("The date and time the saved audience was last updated").nullable().optional(),
|
|
59
59
|
ad_account_id: zod.z.string().describe("The unique identifier of the account").nullable().optional(),
|
|
@@ -61,8 +61,8 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = zod.z.objec
|
|
|
61
61
|
size_range_lower: zod.z.number().int().describe("The lower bound of the size range of the saved audience").nullable().optional(),
|
|
62
62
|
size_range_upper: zod.z.number().int().describe("The upper bound of the size range of the saved audience").nullable().optional(),
|
|
63
63
|
active_ad_groups_count: zod.z.number().int().describe("The number of active ad groups that use this saved audience").nullable().optional()
|
|
64
|
-
}).describe("Response data for an updated saved audience.");
|
|
65
|
-
const RedditAdsUpdateSavedAudienceOutput = zod.z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).describe("Response model for updating a saved audience.");
|
|
64
|
+
}).passthrough().describe("Response data for an updated saved audience.");
|
|
65
|
+
const RedditAdsUpdateSavedAudienceOutput = zod.z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).passthrough().describe("Response model for updating a saved audience.");
|
|
66
66
|
const redditAdsUpdateSavedAudience = require_action.action("REDDIT_ADS_UPDATE_SAVED_AUDIENCE", {
|
|
67
67
|
slug: "reddit_ads-update-saved-audience",
|
|
68
68
|
name: "Update Saved Audience",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-saved-audience.cjs","names":["z","action"],"sources":["../../src/actions/update-saved-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateSavedAudienceInput: z.ZodTypeAny = z.object({\n data: z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").optional(),\n name: z.string().describe(\"The name of the saved audience (3-500 characters)\").optional(),\n type: z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience.\").optional(),\n status: z.enum([\"DELETED\", \"INVALID\", \"INVALID_CHILD_AUDIENCE\", \"PROCESSING\", \"VALID\", \"INVALID_DATA_SOURCE\"]).describe(\"Status of the saved audience.\").optional(),\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\").optional(),\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 configuration for the saved audience.\").optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated in ISO 8601 format\").optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account. Must match pattern ^(t2|a2)_.*\").optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").optional(),\n}).describe(\"Saved audience data to update\"),\n saved_audience_id: z.string().describe(\"The ID of the saved audience to update\"),\n}).describe(\"Request model for updating a saved audience.\");\nconst RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").nullable().optional(),\n name: z.string().describe(\"The name of the saved audience\").nullable().optional(),\n type: z.string().describe(\"The type of the saved audience\").nullable().optional(),\n status: z.string().describe(\"The status of the saved audience\").nullable().optional(),\n targeting: z.object({}).describe(\"Targeting information for the ad group\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated\").nullable().optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").nullable().optional(),\n}).describe(\"Response data for an updated saved audience.\");\nexport const RedditAdsUpdateSavedAudienceOutput: z.ZodTypeAny = z.object({\n data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional(),\n}).describe(\"Response model for updating a saved audience.\");\n\nexport const redditAdsUpdateSavedAudience = action(\"REDDIT_ADS_UPDATE_SAVED_AUDIENCE\", {\n slug: \"reddit_ads-update-saved-audience\",\n name: \"Update Saved Audience\",\n description: \"Tool to update a saved audience by ID in Reddit Ads. Use when you need to modify saved audience settings such as name, targeting criteria, or status. Rate limit: 200 requests per 60 seconds (Campaign Management Write).\",\n input: RedditAdsUpdateSavedAudienceInput,\n output: RedditAdsUpdateSavedAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAiB;GAA0B;GAAa;GAAqB;EAAiB,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5J,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAW;GAA0B;GAAc;GAAS;EAAqB,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClK,WAAWA,IAAAA,EAAE,OAAO;GACpB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDA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;AACvI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAM,6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-saved-audience.cjs","names":["z","action"],"sources":["../../src/actions/update-saved-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateSavedAudienceInput = z.object({\n data: z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").optional(),\n name: z.string().describe(\"The name of the saved audience (3-500 characters)\").optional(),\n type: z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience.\").optional(),\n status: z.enum([\"DELETED\", \"INVALID\", \"INVALID_CHILD_AUDIENCE\", \"PROCESSING\", \"VALID\", \"INVALID_DATA_SOURCE\"]).describe(\"Status of the saved audience.\").optional(),\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\").optional(),\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 configuration for the saved audience.\").optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated in ISO 8601 format\").optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account. Must match pattern ^(t2|a2)_.*\").optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").optional(),\n}).describe(\"Saved audience data to update\"),\n saved_audience_id: z.string().describe(\"The ID of the saved audience to update\"),\n}).describe(\"Request model for updating a saved audience.\");\nconst RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").nullable().optional(),\n name: z.string().describe(\"The name of the saved audience\").nullable().optional(),\n type: z.string().describe(\"The type of the saved audience\").nullable().optional(),\n status: z.string().describe(\"The status of the saved audience\").nullable().optional(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting information for the ad group\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated\").nullable().optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for an updated saved audience.\");\nexport const RedditAdsUpdateSavedAudienceOutput = z.object({\n data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for updating a saved audience.\");\n\nexport const redditAdsUpdateSavedAudience = action(\"REDDIT_ADS_UPDATE_SAVED_AUDIENCE\", {\n slug: \"reddit_ads-update-saved-audience\",\n name: \"Update Saved Audience\",\n description: \"Tool to update a saved audience by ID in Reddit Ads. Use when you need to modify saved audience settings such as name, targeting criteria, or status. Rate limit: 200 requests per 60 seconds (Campaign Management Write).\",\n input: RedditAdsUpdateSavedAudienceInput,\n output: RedditAdsUpdateSavedAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAiB;GAA0B;GAAa;GAAqB;EAAiB,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5J,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW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AA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-saved-audience.d.ts
|
|
4
|
-
declare const RedditAdsUpdateSavedAudienceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsUpdateSavedAudienceInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
CUSTOMER_LIST: "CUSTOMER_LIST";
|
|
10
|
+
ENGAGEMENT_RETARGETING: "ENGAGEMENT_RETARGETING";
|
|
11
|
+
LOOKALIKE: "LOOKALIKE";
|
|
12
|
+
PIXEL_RETARGETING: "PIXEL_RETARGETING";
|
|
13
|
+
REDDIT_AUDIENCE: "REDDIT_AUDIENCE";
|
|
14
|
+
}>>;
|
|
15
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
DELETED: "DELETED";
|
|
17
|
+
PROCESSING: "PROCESSING";
|
|
18
|
+
INVALID: "INVALID";
|
|
19
|
+
INVALID_CHILD_AUDIENCE: "INVALID_CHILD_AUDIENCE";
|
|
20
|
+
VALID: "VALID";
|
|
21
|
+
INVALID_DATA_SOURCE: "INVALID_DATA_SOURCE";
|
|
22
|
+
}>>;
|
|
23
|
+
targeting: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
25
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
carriers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
interests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
view_modes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
communities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
geolocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
expand_targeting: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
excluded_keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
excluded_interests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
custom_audience_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
excluded_communities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
excluded_geolocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
+
suppression_event_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
excluded_custom_audience_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
42
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
43
|
+
ad_account_id: z.ZodOptional<z.ZodString>;
|
|
44
|
+
delivery_status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
+
size_range_lower: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
size_range_upper: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
active_ad_groups_count: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
saved_audience_id: z.ZodString;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const RedditAdsUpdateSavedAudienceOutput: z.ZodObject<{
|
|
52
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
targeting: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
ad_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
62
|
+
size_range_lower: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
size_range_upper: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
active_ad_groups_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
|
+
}, z.core.$loose>;
|
|
67
|
+
declare const redditAdsUpdateSavedAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
68
|
+
data: {
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
type?: "CUSTOMER_LIST" | "ENGAGEMENT_RETARGETING" | "LOOKALIKE" | "PIXEL_RETARGETING" | "REDDIT_AUDIENCE" | undefined;
|
|
72
|
+
status?: "DELETED" | "PROCESSING" | "INVALID" | "INVALID_CHILD_AUDIENCE" | "VALID" | "INVALID_DATA_SOURCE" | undefined;
|
|
73
|
+
targeting?: {
|
|
74
|
+
gender?: string | undefined;
|
|
75
|
+
devices?: string[] | undefined;
|
|
76
|
+
carriers?: string[] | undefined;
|
|
77
|
+
keywords?: string[] | undefined;
|
|
78
|
+
interests?: string[] | undefined;
|
|
79
|
+
view_modes?: string[] | undefined;
|
|
80
|
+
communities?: string[] | undefined;
|
|
81
|
+
geolocations?: string[] | undefined;
|
|
82
|
+
expand_targeting?: boolean | undefined;
|
|
83
|
+
excluded_keywords?: string[] | undefined;
|
|
84
|
+
excluded_interests?: string[] | undefined;
|
|
85
|
+
custom_audience_ids?: string[] | undefined;
|
|
86
|
+
excluded_communities?: string[] | undefined;
|
|
87
|
+
excluded_geolocations?: string[] | undefined;
|
|
88
|
+
suppression_event_types?: string[] | undefined;
|
|
89
|
+
excluded_custom_audience_ids?: string[] | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
created_at?: string | undefined;
|
|
92
|
+
updated_at?: string | undefined;
|
|
93
|
+
ad_account_id?: string | undefined;
|
|
94
|
+
delivery_status?: string[] | undefined;
|
|
95
|
+
size_range_lower?: number | undefined;
|
|
96
|
+
size_range_upper?: number | undefined;
|
|
97
|
+
active_ad_groups_count?: number | undefined;
|
|
98
|
+
};
|
|
99
|
+
saved_audience_id: string;
|
|
100
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { redditAdsUpdateSavedAudience };
|
|
9
103
|
//# sourceMappingURL=update-saved-audience.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-saved-audience.d.cts","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"update-saved-audience.d.cts","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-saved-audience.d.ts
|
|
4
|
-
declare const RedditAdsUpdateSavedAudienceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsUpdateSavedAudienceInput: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
CUSTOMER_LIST: "CUSTOMER_LIST";
|
|
10
|
+
ENGAGEMENT_RETARGETING: "ENGAGEMENT_RETARGETING";
|
|
11
|
+
LOOKALIKE: "LOOKALIKE";
|
|
12
|
+
PIXEL_RETARGETING: "PIXEL_RETARGETING";
|
|
13
|
+
REDDIT_AUDIENCE: "REDDIT_AUDIENCE";
|
|
14
|
+
}>>;
|
|
15
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
DELETED: "DELETED";
|
|
17
|
+
PROCESSING: "PROCESSING";
|
|
18
|
+
INVALID: "INVALID";
|
|
19
|
+
INVALID_CHILD_AUDIENCE: "INVALID_CHILD_AUDIENCE";
|
|
20
|
+
VALID: "VALID";
|
|
21
|
+
INVALID_DATA_SOURCE: "INVALID_DATA_SOURCE";
|
|
22
|
+
}>>;
|
|
23
|
+
targeting: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
25
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
carriers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
interests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
view_modes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
communities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
geolocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
expand_targeting: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
excluded_keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
excluded_interests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
custom_audience_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
excluded_communities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
excluded_geolocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
+
suppression_event_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
excluded_custom_audience_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
42
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
43
|
+
ad_account_id: z.ZodOptional<z.ZodString>;
|
|
44
|
+
delivery_status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
+
size_range_lower: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
size_range_upper: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
active_ad_groups_count: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
saved_audience_id: z.ZodString;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const RedditAdsUpdateSavedAudienceOutput: z.ZodObject<{
|
|
52
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
targeting: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
ad_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
62
|
+
size_range_lower: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
size_range_upper: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
active_ad_groups_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
|
+
}, z.core.$loose>;
|
|
67
|
+
declare const redditAdsUpdateSavedAudience: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
68
|
+
data: {
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
type?: "CUSTOMER_LIST" | "ENGAGEMENT_RETARGETING" | "LOOKALIKE" | "PIXEL_RETARGETING" | "REDDIT_AUDIENCE" | undefined;
|
|
72
|
+
status?: "DELETED" | "PROCESSING" | "INVALID" | "INVALID_CHILD_AUDIENCE" | "VALID" | "INVALID_DATA_SOURCE" | undefined;
|
|
73
|
+
targeting?: {
|
|
74
|
+
gender?: string | undefined;
|
|
75
|
+
devices?: string[] | undefined;
|
|
76
|
+
carriers?: string[] | undefined;
|
|
77
|
+
keywords?: string[] | undefined;
|
|
78
|
+
interests?: string[] | undefined;
|
|
79
|
+
view_modes?: string[] | undefined;
|
|
80
|
+
communities?: string[] | undefined;
|
|
81
|
+
geolocations?: string[] | undefined;
|
|
82
|
+
expand_targeting?: boolean | undefined;
|
|
83
|
+
excluded_keywords?: string[] | undefined;
|
|
84
|
+
excluded_interests?: string[] | undefined;
|
|
85
|
+
custom_audience_ids?: string[] | undefined;
|
|
86
|
+
excluded_communities?: string[] | undefined;
|
|
87
|
+
excluded_geolocations?: string[] | undefined;
|
|
88
|
+
suppression_event_types?: string[] | undefined;
|
|
89
|
+
excluded_custom_audience_ids?: string[] | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
created_at?: string | undefined;
|
|
92
|
+
updated_at?: string | undefined;
|
|
93
|
+
ad_account_id?: string | undefined;
|
|
94
|
+
delivery_status?: string[] | undefined;
|
|
95
|
+
size_range_lower?: number | undefined;
|
|
96
|
+
size_range_upper?: number | undefined;
|
|
97
|
+
active_ad_groups_count?: number | undefined;
|
|
98
|
+
};
|
|
99
|
+
saved_audience_id: string;
|
|
100
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { redditAdsUpdateSavedAudience };
|
|
9
103
|
//# sourceMappingURL=update-saved-audience.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-saved-audience.d.mts","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"update-saved-audience.d.mts","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -53,7 +53,7 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = z.object({
|
|
|
53
53
|
name: z.string().describe("The name of the saved audience").nullable().optional(),
|
|
54
54
|
type: z.string().describe("The type of the saved audience").nullable().optional(),
|
|
55
55
|
status: z.string().describe("The status of the saved audience").nullable().optional(),
|
|
56
|
-
targeting: z.
|
|
56
|
+
targeting: z.record(z.string(), z.unknown()).describe("Targeting information for the ad group").nullable().optional(),
|
|
57
57
|
created_at: z.string().describe("The time that this entity was created represented in ISO 8601").nullable().optional(),
|
|
58
58
|
updated_at: z.string().describe("The date and time the saved audience was last updated").nullable().optional(),
|
|
59
59
|
ad_account_id: z.string().describe("The unique identifier of the account").nullable().optional(),
|
|
@@ -61,13 +61,13 @@ const RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = z.object({
|
|
|
61
61
|
size_range_lower: z.number().int().describe("The lower bound of the size range of the saved audience").nullable().optional(),
|
|
62
62
|
size_range_upper: z.number().int().describe("The upper bound of the size range of the saved audience").nullable().optional(),
|
|
63
63
|
active_ad_groups_count: z.number().int().describe("The number of active ad groups that use this saved audience").nullable().optional()
|
|
64
|
-
}).describe("Response data for an updated saved audience.");
|
|
64
|
+
}).passthrough().describe("Response data for an updated saved audience.");
|
|
65
65
|
const redditAdsUpdateSavedAudience = action("REDDIT_ADS_UPDATE_SAVED_AUDIENCE", {
|
|
66
66
|
slug: "reddit_ads-update-saved-audience",
|
|
67
67
|
name: "Update Saved Audience",
|
|
68
68
|
description: "Tool to update a saved audience by ID in Reddit Ads. Use when you need to modify saved audience settings such as name, targeting criteria, or status. Rate limit: 200 requests per 60 seconds (Campaign Management Write).",
|
|
69
69
|
input: RedditAdsUpdateSavedAudienceInput,
|
|
70
|
-
output: z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).describe("Response model for updating a saved audience.")
|
|
70
|
+
output: z.object({ data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional() }).passthrough().describe("Response model for updating a saved audience.")
|
|
71
71
|
});
|
|
72
72
|
//#endregion
|
|
73
73
|
export { redditAdsUpdateSavedAudience };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-saved-audience.mjs","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateSavedAudienceInput
|
|
1
|
+
{"version":3,"file":"update-saved-audience.mjs","names":[],"sources":["../../src/actions/update-saved-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateSavedAudienceInput = z.object({\n data: z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").optional(),\n name: z.string().describe(\"The name of the saved audience (3-500 characters)\").optional(),\n type: z.enum([\"CUSTOMER_LIST\", \"ENGAGEMENT_RETARGETING\", \"LOOKALIKE\", \"PIXEL_RETARGETING\", \"REDDIT_AUDIENCE\"]).describe(\"Type of saved audience.\").optional(),\n status: z.enum([\"DELETED\", \"INVALID\", \"INVALID_CHILD_AUDIENCE\", \"PROCESSING\", \"VALID\", \"INVALID_DATA_SOURCE\"]).describe(\"Status of the saved audience.\").optional(),\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\").optional(),\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 configuration for the saved audience.\").optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated in ISO 8601 format\").optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account. Must match pattern ^(t2|a2)_.*\").optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").optional(),\n}).describe(\"Saved audience data to update\"),\n saved_audience_id: z.string().describe(\"The ID of the saved audience to update\"),\n}).describe(\"Request model for updating a saved audience.\");\nconst RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved audience\").nullable().optional(),\n name: z.string().describe(\"The name of the saved audience\").nullable().optional(),\n type: z.string().describe(\"The type of the saved audience\").nullable().optional(),\n status: z.string().describe(\"The status of the saved audience\").nullable().optional(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting information for the ad group\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the saved audience was last updated\").nullable().optional(),\n ad_account_id: z.string().describe(\"The unique identifier of the account\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"The lower bound of the size range of the saved audience\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"The upper bound of the size range of the saved audience\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"The number of active ad groups that use this saved audience\").nullable().optional(),\n}).passthrough().describe(\"Response data for an updated saved audience.\");\nexport const RedditAdsUpdateSavedAudienceOutput = z.object({\n data: RedditAdsUpdateSavedAudience_SavedAudienceResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for updating a saved audience.\");\n\nexport const redditAdsUpdateSavedAudience = action(\"REDDIT_ADS_UPDATE_SAVED_AUDIENCE\", {\n slug: \"reddit_ads-update-saved-audience\",\n name: \"Update Saved Audience\",\n description: \"Tool to update a saved audience by ID in Reddit Ads. Use when you need to modify saved audience settings such as name, targeting criteria, or status. Rate limit: 200 requests per 60 seconds (Campaign Management Write).\",\n input: RedditAdsUpdateSavedAudienceInput,\n output: RedditAdsUpdateSavedAudienceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,KAAK;GAAC;GAAiB;GAA0B;GAAa;GAAqB;EAAiB,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;G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V,CAAC"}
|
|
@@ -11,8 +11,8 @@ const RedditAdsUpdateStructuredPost_UpdateStructuredPostResponseDataSchema = zod
|
|
|
11
11
|
creative: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A post with structured data inside the creative property. Can be one of: ImageCreative, TextCreative, VideoCreative, or CarouselCreative.").nullable().optional(),
|
|
12
12
|
profile_id: zod.z.string().describe("The unique identifier of the profile that the post belongs to. Must match pattern ^t2_.*").nullable().optional(),
|
|
13
13
|
allow_comments: zod.z.boolean().describe("Enable comments on the post, manageable in the Ads Manager.").nullable().optional()
|
|
14
|
-
}).describe("Updated structured post data in the response.");
|
|
15
|
-
const RedditAdsUpdateStructuredPostOutput = zod.z.object({ data: RedditAdsUpdateStructuredPost_UpdateStructuredPostResponseDataSchema.nullable() }).describe("Response containing the updated structured post.");
|
|
14
|
+
}).passthrough().describe("Updated structured post data in the response.");
|
|
15
|
+
const RedditAdsUpdateStructuredPostOutput = zod.z.object({ data: RedditAdsUpdateStructuredPost_UpdateStructuredPostResponseDataSchema.nullable() }).passthrough().describe("Response containing the updated structured post.");
|
|
16
16
|
const redditAdsUpdateStructuredPost = require_action.action("REDDIT_ADS_UPDATE_STRUCTURED_POST", {
|
|
17
17
|
slug: "reddit_ads-update-structured-post",
|
|
18
18
|
name: "Update Structured Post",
|