@keystrokehq/reddit_ads 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-ad-group.cjs +1 -0
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +3 -24
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +3 -24
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +1 -0
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +1 -0
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +3 -51
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +3 -51
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +1 -0
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +1 -0
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +4 -25
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +4 -25
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +1 -0
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +1 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +3 -8
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +3 -8
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +1 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +1 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +3 -14
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +3 -14
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +1 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +5 -18
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +5 -18
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +1 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +3 -9
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +3 -9
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +1 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +1 -0
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +3 -10
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +3 -10
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +1 -0
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +1 -0
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +3 -7
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +3 -7
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +1 -0
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +1 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +4 -26
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +4 -26
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +1 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +7 -44
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +7 -44
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +3 -3
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +3 -3
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +3 -3
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +3 -3
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +3 -3
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +3 -3
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -0
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +3 -3
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +3 -3
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -0
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -0
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +3 -4
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +3 -4
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -0
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +1 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +3 -4
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +3 -4
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +1 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +1 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +3 -5
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +3 -5
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +1 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -3
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -3
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +1 -0
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +3 -14
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +3 -14
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +1 -0
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +1 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +3 -26
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +3 -26
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +1 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +1 -0
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +3 -3
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +3 -3
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +1 -0
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +1 -0
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +3 -3
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +3 -3
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +1 -0
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +1 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +3 -3
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +3 -3
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +1 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +1 -0
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +3 -3
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +3 -3
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +1 -0
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +1 -0
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +3 -3
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +3 -3
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +1 -0
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +1 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +3 -9
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +3 -9
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +1 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +1 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +3 -5
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +3 -5
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +1 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +1 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +4 -4
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +4 -4
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +1 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +1 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +3 -3
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +3 -3
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +1 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +1 -0
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -1
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -1
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +1 -0
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +3 -3
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +3 -3
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +1 -0
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +4 -4
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +4 -4
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +1 -0
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +1 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +3 -3
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +3 -3
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +1 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +1 -0
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +3 -3
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +3 -3
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +1 -0
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +1 -0
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +3 -3
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +3 -3
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +1 -0
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +1 -0
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +3 -3
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -3
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +1 -0
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +1 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +4 -4
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +4 -4
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +1 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +3 -5
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +3 -5
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +1 -0
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +3 -3
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +3 -3
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +1 -0
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +3 -6
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +3 -6
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +1 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +3 -7
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +3 -7
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +1 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +1 -0
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +3 -6
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +3 -6
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +1 -0
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -6
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -6
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +1 -0
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +3 -4
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +3 -4
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +1 -0
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +1 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +3 -7
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +3 -7
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +1 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +1 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +3 -6
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +3 -6
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +1 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +1 -0
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +3 -5
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +3 -5
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +1 -0
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -4
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -4
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +1 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +3 -12
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +3 -12
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +1 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +1 -0
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +3 -5
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +3 -5
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +1 -0
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +1 -0
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +3 -1
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +3 -1
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +1 -0
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +1 -0
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +3 -1
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +3 -1
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +1 -0
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +1 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +3 -5
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +3 -5
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +1 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +1 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +3 -6
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +3 -6
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +1 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +3 -5
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +3 -5
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +1 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +3 -5
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +3 -5
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +1 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +1 -0
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +4 -8
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +4 -8
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +1 -0
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +1 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +3 -3
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +3 -3
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +1 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +1 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +3 -3
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +3 -3
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +1 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +1 -0
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +3 -5
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +3 -5
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +1 -0
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +3 -8
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +3 -8
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +1 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +3 -9
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +3 -9
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +1 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +3 -5
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +3 -5
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +1 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +3 -5
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +3 -5
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +1 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +1 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +3 -5
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +3 -5
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +1 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +1 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +4 -9
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +4 -9
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +1 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +1 -0
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +3 -4
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +3 -4
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +1 -0
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +1 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +3 -6
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +3 -6
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +1 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +1 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +3 -4
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +3 -4
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +1 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +1 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +3 -17
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +3 -17
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +1 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +3 -11
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +3 -11
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +1 -0
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +3 -5
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +3 -5
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +1 -0
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +1 -0
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +3 -17
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +3 -17
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +1 -0
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +1 -0
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +3 -12
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +3 -12
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +1 -0
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -27
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -27
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +3 -8
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +3 -8
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +1 -0
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +3 -6
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +3 -6
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +1 -0
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +1 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +3 -7
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +3 -7
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +1 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +1 -0
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +3 -21
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +3 -21
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +1 -0
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +1 -0
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +3 -7
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +3 -7
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +1 -0
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +1 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +4 -35
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +4 -35
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +1 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +1 -0
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +3 -6
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +3 -6
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +1 -0
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-audience-users.d.cts","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-audience-users.d.cts","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-custom-audience-users.d.ts
|
|
@@ -24,14 +26,7 @@ declare const RedditAdsUpdateCustomAudienceUsersInput: z.ZodObject<{
|
|
|
24
26
|
declare const RedditAdsUpdateCustomAudienceUsersOutput: z.ZodObject<{
|
|
25
27
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const redditAdsUpdateCustomAudienceUsers:
|
|
28
|
-
data: {
|
|
29
|
-
user_data: string[][];
|
|
30
|
-
action_type: "ADD" | "REMOVE";
|
|
31
|
-
column_order: ("EMAIL_SHA256" | "MAID_SHA256" | "IDFA_SHA256" | "ANDROID_ID_SHA256" | "ROKU_ID_SHA256" | "SAMSUNG_TIFA_SHA256" | "LG_ADSID_SHA256" | "VIZIO_ADSID_SHA256")[];
|
|
32
|
-
};
|
|
33
|
-
audience_id: string;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const redditAdsUpdateCustomAudienceUsers: AppAction<typeof RedditAdsUpdateCustomAudienceUsersInput, typeof RedditAdsUpdateCustomAudienceUsersOutput, typeof redditAds.credential>;
|
|
35
30
|
//#endregion
|
|
36
31
|
export { redditAdsUpdateCustomAudienceUsers };
|
|
37
32
|
//# sourceMappingURL=update-custom-audience-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-audience-users.d.mts","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-audience-users.d.mts","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-audience-users.mjs","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateCustomAudienceUsersInput = z.object({\n data: z.object({\n user_data: z.array(z.array(z.string())).describe(\"Collection of unique user identifier data arrays (max 2,500 entries). Each inner array contains hashed identifier values in the order specified by column_order. For example, if column_order is [EMAIL_SHA256, MAID_SHA256], then each user_data array should have [email_hash, maid_hash]\"),\n action_type: z.enum([\"ADD\", \"REMOVE\"]).describe(\"Operation to perform on the Custom Audience's users - either ADD to add new users or REMOVE to remove existing users\"),\n column_order: z.array(z.enum([\"EMAIL_SHA256\", \"MAID_SHA256\", \"IDFA_SHA256\", \"ANDROID_ID_SHA256\", \"ROKU_ID_SHA256\", \"SAMSUNG_TIFA_SHA256\", \"LG_ADSID_SHA256\", \"VIZIO_ADSID_SHA256\"]).describe(\"Enum for supported user identifier types in column_order.\")).describe(\"Schema defining both the contents and order of data in each array in user_data. Each element specifies an identifier type (e.g., EMAIL_SHA256, MAID_SHA256). The order here determines how to interpret values in user_data arrays\"),\n}).describe(\"Data payload containing the action type, column schema, and user identifier data\"),\n audience_id: z.string().describe(\"The ID of the Custom Audience to update\"),\n}).describe(\"Request model for updating custom audience users.\");\nexport const RedditAdsUpdateCustomAudienceUsersOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates successful update of the custom audience users\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating custom audience users. The API returns 204 No Content on success.\");\n\nexport const redditAdsUpdateCustomAudienceUsers = action(\"REDDIT_ADS_UPDATE_CUSTOM_AUDIENCE_USERS\", {\n slug: \"reddit_ads-update-custom-audience-users\",\n name: \"Update Custom Audience Users\",\n description: \"Tool to update users in a Reddit Ads Custom Audience by adding or removing user identifiers. Use when you need to modify audience membership based on hashed user data like emails or mobile advertising IDs. Limited to 2,500 user entries per request.\",\n input: RedditAdsUpdateCustomAudienceUsersInput,\n output: RedditAdsUpdateCustomAudienceUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-audience-users.mjs","names":[],"sources":["../../src/actions/update-custom-audience-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdateCustomAudienceUsersInput = z.object({\n data: z.object({\n user_data: z.array(z.array(z.string())).describe(\"Collection of unique user identifier data arrays (max 2,500 entries). Each inner array contains hashed identifier values in the order specified by column_order. For example, if column_order is [EMAIL_SHA256, MAID_SHA256], then each user_data array should have [email_hash, maid_hash]\"),\n action_type: z.enum([\"ADD\", \"REMOVE\"]).describe(\"Operation to perform on the Custom Audience's users - either ADD to add new users or REMOVE to remove existing users\"),\n column_order: z.array(z.enum([\"EMAIL_SHA256\", \"MAID_SHA256\", \"IDFA_SHA256\", \"ANDROID_ID_SHA256\", \"ROKU_ID_SHA256\", \"SAMSUNG_TIFA_SHA256\", \"LG_ADSID_SHA256\", \"VIZIO_ADSID_SHA256\"]).describe(\"Enum for supported user identifier types in column_order.\")).describe(\"Schema defining both the contents and order of data in each array in user_data. Each element specifies an identifier type (e.g., EMAIL_SHA256, MAID_SHA256). The order here determines how to interpret values in user_data arrays\"),\n}).describe(\"Data payload containing the action type, column schema, and user identifier data\"),\n audience_id: z.string().describe(\"The ID of the Custom Audience to update\"),\n}).describe(\"Request model for updating custom audience users.\");\nexport const RedditAdsUpdateCustomAudienceUsersOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates successful update of the custom audience users\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating custom audience users. The API returns 204 No Content on success.\");\n\nexport const redditAdsUpdateCustomAudienceUsers: AppAction<\n typeof RedditAdsUpdateCustomAudienceUsersInput,\n typeof RedditAdsUpdateCustomAudienceUsersOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_CUSTOM_AUDIENCE_USERS\", {\n slug: \"reddit_ads-update-custom-audience-users\",\n name: \"Update Custom Audience Users\",\n description: \"Tool to update users in a Reddit Ads Custom Audience by adding or removing user identifiers. Use when you need to modify audience membership based on hashed user data like emails or mobile advertising IDs. Limited to 2,500 user entries per request.\",\n input: RedditAdsUpdateCustomAudienceUsersInput,\n output: RedditAdsUpdateCustomAudienceUsersOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO;GACf,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6RAA6R;GAC9U,aAAa,EAAE,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;GACtK,cAAc,EAAE,MAAM,EAAE,KAAK;IAAC;IAAgB;IAAe;IAAe;IAAqB;IAAkB;IAAuB;IAAmB;GAAoB,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,oOAAoO;EAC1e,CAAC,CAAC,CAAC,SAAS,kFAAkF;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC5E,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAbsD,EAAE,OAAO,EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-post.cjs","names":["z","action"],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-post.cjs","names":["z","action"],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost: AppAction<\n typeof RedditAdsUpdatePostInput,\n typeof RedditAdsUpdatePostOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,EACf,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACpC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA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D,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-post.d.ts
|
|
@@ -22,12 +24,7 @@ declare const RedditAdsUpdatePostOutput: z.ZodObject<{
|
|
|
22
24
|
allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const redditAdsUpdatePost:
|
|
26
|
-
data: {
|
|
27
|
-
allow_comments?: boolean | undefined;
|
|
28
|
-
};
|
|
29
|
-
post_id: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const redditAdsUpdatePost: AppAction<typeof RedditAdsUpdatePostInput, typeof RedditAdsUpdatePostOutput, typeof redditAds.credential>;
|
|
31
28
|
//#endregion
|
|
32
29
|
export { redditAdsUpdatePost };
|
|
33
30
|
//# sourceMappingURL=update-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-post.d.cts","names":[],"sources":["../../src/actions/update-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-post.d.cts","names":[],"sources":["../../src/actions/update-post.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-post.d.ts
|
|
@@ -22,12 +24,7 @@ declare const RedditAdsUpdatePostOutput: z.ZodObject<{
|
|
|
22
24
|
allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const redditAdsUpdatePost:
|
|
26
|
-
data: {
|
|
27
|
-
allow_comments?: boolean | undefined;
|
|
28
|
-
};
|
|
29
|
-
post_id: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const redditAdsUpdatePost: AppAction<typeof RedditAdsUpdatePostInput, typeof RedditAdsUpdatePostOutput, typeof redditAds.credential>;
|
|
31
28
|
//#endregion
|
|
32
29
|
export { redditAdsUpdatePost };
|
|
33
30
|
//# sourceMappingURL=update-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-post.d.mts","names":[],"sources":["../../src/actions/update-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-post.d.mts","names":[],"sources":["../../src/actions/update-post.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-post.mjs","names":[],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-post.mjs","names":[],"sources":["../../src/actions/update-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdatePostInput = z.object({\n data: z.object({\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").optional(),\n}).describe(\"Post metadata to update.\"),\n post_id: z.string().describe(\"The ID of the post to update. Must start with 't3_'\"),\n}).describe(\"Request to update a Reddit post by ID.\");\nconst RedditAdsUpdatePost_UpdatePostResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the post.\").nullable().optional(),\n body: z.string().describe(\"The content for text posts.\").nullable().optional(),\n type: z.string().describe(\"The type of the post (CAROUSEL, IMAGE, TEXT, or VIDEO).\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the post. Carousel posts support arrays of up to 6 images.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post.\").nullable().optional(),\n}).passthrough().describe(\"Updated post data in the response.\");\nexport const RedditAdsUpdatePostOutput = z.object({\n data: RedditAdsUpdatePost_UpdatePostResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated post.\");\n\nexport const redditAdsUpdatePost: AppAction<\n typeof RedditAdsUpdatePostInput,\n typeof RedditAdsUpdatePostOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_POST\", {\n slug: \"reddit_ads-update-post\",\n name: \"Update Post\",\n description: \"Tool to update a Reddit post by ID. Use when you need to modify post settings like enabling/disabling comments. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsUpdatePostInput,\n output: RedditAdsUpdatePostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,EACf,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACpC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,iDAAiD,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog: AppAction<\n typeof RedditAdsUpdateProductCatalogInput,\n typeof RedditAdsUpdateProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACvC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyBA,IAAAA,E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6C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,qEAAqE,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-catalog.d.ts
|
|
@@ -44,13 +46,7 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
|
|
|
44
46
|
}>>>;
|
|
45
47
|
}, z.core.$loose>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const redditAdsUpdateProductCatalog:
|
|
48
|
-
data: {
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
event_sources?: string[] | undefined;
|
|
51
|
-
};
|
|
52
|
-
catalog_id: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const redditAdsUpdateProductCatalog: AppAction<typeof RedditAdsUpdateProductCatalogInput, typeof RedditAdsUpdateProductCatalogOutput, typeof redditAds.credential>;
|
|
54
50
|
//#endregion
|
|
55
51
|
export { redditAdsUpdateProductCatalog };
|
|
56
52
|
//# sourceMappingURL=update-product-catalog.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-catalog.d.cts","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-catalog.d.cts","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cA0BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-catalog.d.ts
|
|
@@ -44,13 +46,7 @@ declare const RedditAdsUpdateProductCatalogOutput: z.ZodObject<{
|
|
|
44
46
|
}>>>;
|
|
45
47
|
}, z.core.$loose>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const redditAdsUpdateProductCatalog:
|
|
48
|
-
data: {
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
event_sources?: string[] | undefined;
|
|
51
|
-
};
|
|
52
|
-
catalog_id: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const redditAdsUpdateProductCatalog: AppAction<typeof RedditAdsUpdateProductCatalogInput, typeof RedditAdsUpdateProductCatalogOutput, typeof redditAds.credential>;
|
|
54
50
|
//#endregion
|
|
55
51
|
export { redditAdsUpdateProductCatalog };
|
|
56
52
|
//# sourceMappingURL=update-product-catalog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-catalog.d.mts","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-catalog.d.mts","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cA0BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-catalog.mjs","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-catalog.mjs","names":[],"sources":["../../src/actions/update-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdateProductCatalogInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the product catalog.\").optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").optional(),\n}).describe(\"The catalog data to update.\"),\n catalog_id: z.string().describe(\"The ID of the product catalog to update.\"),\n}).describe(\"Request parameters to update a product catalog in Reddit Ads.\");\nconst RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema = z.object({\n products_count: z.number().int().describe(\"The total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"The number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"The number of rejected products in the catalog.\").nullable().optional(),\n}).passthrough().describe(\"Summary statistics for a product catalog.\");\nconst RedditAdsUpdateProductCatalog_CurrencySchema = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currencies for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_LanguageSchema = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported languages for product catalogs.\");\nconst RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsUpdateProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsUpdateProductCatalog_CurrencySchema.nullable().optional(),\n default_language: RedditAdsUpdateProductCatalog_LanguageSchema.nullable().optional(),\n}).passthrough().describe(\"Response data model for product catalog entity.\");\nexport const RedditAdsUpdateProductCatalogOutput = z.object({\n data: RedditAdsUpdateProductCatalog_UpdateProductCatalogResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product catalog details.\");\n\nexport const redditAdsUpdateProductCatalog: AppAction<\n typeof RedditAdsUpdateProductCatalogInput,\n typeof RedditAdsUpdateProductCatalogOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-update-product-catalog\",\n name: \"Update Product Catalog\",\n description: \"Tool to update a product catalog's name or attached Pixel IDs in Reddit Ads. Use when you need to modify catalog settings such as name or event sources.\",\n input: RedditAdsUpdateProductCatalogInput,\n output: RedditAdsUpdateProductCatalogOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACvC,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4DAA4D,EAAE,OAAO;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,+CAA+C,EAAE,KAAK;CAAC;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;AAAK,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACzL,MAAM,+CAA+C,EAAE,KAAK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["z","action"],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed: AppAction<\n typeof RedditAdsUpdateProductFeedInput,\n typeof RedditAdsUpdateProductFeedOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,UAAUA,IAAAA,EAAE,OAAO;GACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACpH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GAC/G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS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AAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-feed.d.ts
|
|
@@ -49,27 +51,7 @@ declare const RedditAdsUpdateProductFeedOutput: z.ZodObject<{
|
|
|
49
51
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const redditAdsUpdateProductFeed:
|
|
53
|
-
data: {
|
|
54
|
-
url?: string | undefined;
|
|
55
|
-
mode?: "REPLACE" | "UPDATE" | undefined;
|
|
56
|
-
name?: string | undefined;
|
|
57
|
-
password?: string | undefined;
|
|
58
|
-
schedule?: {
|
|
59
|
-
hour?: number | undefined;
|
|
60
|
-
minute?: number | undefined;
|
|
61
|
-
interval?: string | undefined;
|
|
62
|
-
timezone?: Record<string, unknown> | undefined;
|
|
63
|
-
is_paused?: boolean | undefined;
|
|
64
|
-
day_of_week?: string | undefined;
|
|
65
|
-
day_of_month?: number | undefined;
|
|
66
|
-
interval_count?: number | undefined;
|
|
67
|
-
next_import_at?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
username?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
feed_id: string;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const redditAdsUpdateProductFeed: AppAction<typeof RedditAdsUpdateProductFeedInput, typeof RedditAdsUpdateProductFeedOutput, typeof redditAds.credential>;
|
|
73
55
|
//#endregion
|
|
74
56
|
export { redditAdsUpdateProductFeed };
|
|
75
57
|
//# sourceMappingURL=update-product-feed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-feed.d.cts","names":[],"sources":["../../src/actions/update-product-feed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-feed.d.cts","names":[],"sources":["../../src/actions/update-product-feed.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-feed.d.ts
|
|
@@ -49,27 +51,7 @@ declare const RedditAdsUpdateProductFeedOutput: z.ZodObject<{
|
|
|
49
51
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const redditAdsUpdateProductFeed:
|
|
53
|
-
data: {
|
|
54
|
-
url?: string | undefined;
|
|
55
|
-
mode?: "REPLACE" | "UPDATE" | undefined;
|
|
56
|
-
name?: string | undefined;
|
|
57
|
-
password?: string | undefined;
|
|
58
|
-
schedule?: {
|
|
59
|
-
hour?: number | undefined;
|
|
60
|
-
minute?: number | undefined;
|
|
61
|
-
interval?: string | undefined;
|
|
62
|
-
timezone?: Record<string, unknown> | undefined;
|
|
63
|
-
is_paused?: boolean | undefined;
|
|
64
|
-
day_of_week?: string | undefined;
|
|
65
|
-
day_of_month?: number | undefined;
|
|
66
|
-
interval_count?: number | undefined;
|
|
67
|
-
next_import_at?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
username?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
feed_id: string;
|
|
72
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const redditAdsUpdateProductFeed: AppAction<typeof RedditAdsUpdateProductFeedInput, typeof RedditAdsUpdateProductFeedOutput, typeof redditAds.credential>;
|
|
73
55
|
//#endregion
|
|
74
56
|
export { redditAdsUpdateProductFeed };
|
|
75
57
|
//# sourceMappingURL=update-product-feed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-feed.d.mts","names":[],"sources":["../../src/actions/update-product-feed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-feed.d.mts","names":[],"sources":["../../src/actions/update-product-feed.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product-feed.mjs","names":[],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-product-feed.mjs","names":[],"sources":["../../src/actions/update-product-feed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsUpdateProductFeedInput = z.object({\n data: z.object({\n url: z.string().describe(\"The URL of the product feed to fetch.\").optional(),\n mode: z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Enum representing the update mode of a product feed.\").optional(),\n name: z.string().describe(\"The name of the feed.\").optional(),\n password: z.string().describe(\"The password needed to access the URL (for authenticated feeds).\").optional(),\n schedule: z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").optional(),\n}).describe(\"Schedule configuration for product feed updates.\").optional(),\n username: z.string().describe(\"The username needed to access the URL (for authenticated feeds).\").optional(),\n}).describe(\"The product feed data to update.\"),\n feed_id: z.string().describe(\"The ID of the product feed to update.\"),\n}).describe(\"Request parameters to update a product feed in Reddit Ads.\");\nconst RedditAdsUpdateProductFeed_ProductFeedScheduleSchema = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports (e.g., 'DAILY', 'WEEKLY', 'MONTHLY').\").nullable().optional(),\n timezone: z.record(z.string(), z.unknown()).describe(\"Timezone configuration for scheduled imports.\").nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the scheduled imports are paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports (e.g., 'MONDAY', 'TUESDAY').\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between scheduled imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"ISO 8601 timestamp of the next scheduled import.\").nullable().optional(),\n}).passthrough().describe(\"Schedule configuration for product feed updates.\");\nconst RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the product feed.\").nullable().optional(),\n url: z.string().describe(\"The URL of the product feed to fetch.\").nullable().optional(),\n mode: z.string().describe(\"The update mode of this feed (REPLACE or UPDATE).\").nullable().optional(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsUpdateProductFeed_ProductFeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for product feed entity.\");\nexport const RedditAdsUpdateProductFeedOutput = z.object({\n data: RedditAdsUpdateProductFeed_ProductFeedResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated product feed details.\");\n\nexport const redditAdsUpdateProductFeed: AppAction<\n typeof RedditAdsUpdateProductFeedInput,\n typeof RedditAdsUpdateProductFeedOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_PRODUCT_FEED\", {\n slug: \"reddit_ads-update-product-feed\",\n name: \"Update Product Feed\",\n description: \"Tool to update a product feed's metadata in Reddit Ads. Use when you need to modify feed properties such as name, URL, mode, authentication credentials, or schedule configuration.\",\n input: RedditAdsUpdateProductFeedInput,\n output: RedditAdsUpdateProductFeedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO;GACnB,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACpH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;GACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;GAChH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI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,EAAE,OAAO,EACvD,MAAM,yDAAyD,SAAS,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"update-product-set.cjs","names":["z","action"],"sources":["../../src/actions/update-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsUpdateProductSetInput,\n typeof RedditAdsUpdateProductSetOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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,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AAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAM,6DAA6D,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-set.d.ts
|
|
@@ -24,13 +26,7 @@ declare const RedditAdsUpdateProductSetOutput: z.ZodObject<{
|
|
|
24
26
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const redditAdsUpdateProductSet:
|
|
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]>;
|
|
29
|
+
declare const redditAdsUpdateProductSet: AppAction<typeof RedditAdsUpdateProductSetInput, typeof RedditAdsUpdateProductSetOutput, typeof redditAds.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { redditAdsUpdateProductSet };
|
|
36
32
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-product-set.d.cts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-product-set.d.ts
|
|
@@ -24,13 +26,7 @@ declare const RedditAdsUpdateProductSetOutput: z.ZodObject<{
|
|
|
24
26
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const redditAdsUpdateProductSet:
|
|
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]>;
|
|
29
|
+
declare const redditAdsUpdateProductSet: AppAction<typeof RedditAdsUpdateProductSetInput, typeof RedditAdsUpdateProductSetOutput, typeof redditAds.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { redditAdsUpdateProductSet };
|
|
36
32
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-product-set.d.mts","names":[],"sources":["../../src/actions/update-product-set.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|