@keystrokehq/reddit_ads 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-ad-group.cjs +2 -2
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +2 -2
- package/dist/actions/create-ad-group.d.mts +2 -2
- package/dist/actions/create-ad-group.mjs +2 -2
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +6 -6
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +8 -7
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +8 -7
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +6 -6
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +3 -3
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +3 -3
- package/dist/actions/create-campaign.d.mts +3 -3
- package/dist/actions/create-campaign.mjs +3 -3
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +5 -5
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +5 -5
- package/dist/actions/create-custom-audience.d.mts +5 -5
- package/dist/actions/create-custom-audience.mjs +5 -5
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +4 -4
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +5 -4
- package/dist/actions/create-lead-gen-form.d.mts +5 -4
- package/dist/actions/create-lead-gen-form.mjs +4 -4
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +4 -4
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +5 -4
- package/dist/actions/create-post.d.mts +5 -4
- package/dist/actions/create-post.mjs +4 -4
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +3 -3
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +3 -3
- package/dist/actions/create-product-catalog.d.mts +3 -3
- package/dist/actions/create-product-catalog.mjs +3 -3
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +4 -4
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +4 -4
- package/dist/actions/create-product-feed.d.mts +4 -4
- package/dist/actions/create-product-feed.mjs +4 -4
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +4 -4
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +4 -4
- package/dist/actions/create-product-set.d.mts +4 -4
- package/dist/actions/create-product-set.mjs +4 -4
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +3 -3
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +3 -3
- package/dist/actions/create-saved-audience.d.mts +3 -3
- package/dist/actions/create-saved-audience.mjs +3 -3
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +15 -15
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +28 -24
- package/dist/actions/create-structured-post-creation-job.d.mts +28 -24
- package/dist/actions/create-structured-post-creation-job.mjs +15 -15
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -1
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +1 -1
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +1 -1
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -1
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -1
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +1 -1
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +1 -1
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -1
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -1
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +1 -1
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +1 -1
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -1
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -1
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +1 -1
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +1 -1
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -1
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -1
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +2 -2
- package/dist/actions/delete-products.d.mts +2 -2
- package/dist/actions/delete-products.mjs +1 -1
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +3 -3
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +3 -3
- package/dist/actions/do-geolocation-validations.d.mts +3 -3
- package/dist/actions/do-geolocation-validations.mjs +3 -3
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +2 -2
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +2 -2
- package/dist/actions/do-keyword-validations.d.mts +2 -2
- package/dist/actions/do-keyword-validations.mjs +2 -2
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +8 -8
- package/dist/actions/generate-inspiration-creative-summary.d.mts +8 -8
- package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +3 -3
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +3 -3
- package/dist/actions/get-a-report.d.mts +3 -3
- package/dist/actions/get-a-report.mjs +3 -3
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +6 -6
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +9 -6
- package/dist/actions/get-ad-account-history.d.mts +9 -6
- package/dist/actions/get-ad-account-history.mjs +6 -6
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +2 -2
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +2 -2
- package/dist/actions/get-ad-account.d.mts +2 -2
- package/dist/actions/get-ad-account.mjs +2 -2
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +6 -6
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +6 -6
- package/dist/actions/get-ad-group.d.mts +6 -6
- package/dist/actions/get-ad-group.mjs +6 -6
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +2 -2
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +2 -2
- package/dist/actions/get-app-last-fired-at.d.mts +2 -2
- package/dist/actions/get-app-last-fired-at.mjs +2 -2
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +2 -2
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +2 -2
- package/dist/actions/get-business.d.mts +2 -2
- package/dist/actions/get-business.mjs +2 -2
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +3 -3
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +3 -3
- package/dist/actions/get-campaign.d.mts +3 -3
- package/dist/actions/get-campaign.mjs +3 -3
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +3 -3
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +3 -3
- package/dist/actions/get-channel-planning-reach.d.mts +3 -3
- package/dist/actions/get-channel-planning-reach.mjs +3 -3
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +3 -3
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +3 -3
- package/dist/actions/get-child-funding-instruments.d.mts +3 -3
- package/dist/actions/get-child-funding-instruments.mjs +3 -3
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +7 -7
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +7 -7
- package/dist/actions/get-custom-audience.d.mts +7 -7
- package/dist/actions/get-custom-audience.mjs +7 -7
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +3 -3
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +3 -3
- package/dist/actions/get-lead-gen-form.d.mts +3 -3
- package/dist/actions/get-lead-gen-form.mjs +3 -3
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +2 -2
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +2 -2
- package/dist/actions/get-me.d.mts +2 -2
- package/dist/actions/get-me.mjs +2 -2
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +4 -4
- package/dist/actions/get-pixel-last-fired-at.d.mts +4 -4
- package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +3 -3
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +3 -3
- package/dist/actions/get-post.d.mts +3 -3
- package/dist/actions/get-post.mjs +3 -3
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +3 -3
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +3 -3
- package/dist/actions/get-product-catalog.d.mts +3 -3
- package/dist/actions/get-product-catalog.mjs +3 -3
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +4 -4
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +4 -4
- package/dist/actions/get-product-feed.d.mts +4 -4
- package/dist/actions/get-product-feed.mjs +4 -4
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +4 -4
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +4 -4
- package/dist/actions/get-product-set.d.mts +4 -4
- package/dist/actions/get-product-set.mjs +4 -4
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +2 -2
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +2 -2
- package/dist/actions/get-profile.d.mts +2 -2
- package/dist/actions/get-profile.mjs +2 -2
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +3 -3
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +3 -3
- package/dist/actions/get-saved-audience.d.mts +3 -3
- package/dist/actions/get-saved-audience.mjs +3 -3
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +5 -5
- package/dist/actions/get-sk-ad-network-availability.d.mts +5 -5
- package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +3 -3
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +3 -3
- package/dist/actions/get-structured-post.d.mts +3 -3
- package/dist/actions/get-structured-post.mjs +3 -3
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +3 -3
- package/dist/actions/list-ad-accounts-by-business.d.mts +3 -3
- package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +3 -3
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +3 -3
- package/dist/actions/list-ad-groups.d.mts +3 -3
- package/dist/actions/list-ad-groups.mjs +3 -3
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +2 -2
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +2 -2
- package/dist/actions/list-ads.d.mts +2 -2
- package/dist/actions/list-ads.mjs +2 -2
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +3 -3
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -3
- package/dist/actions/list-campaigns.d.mts +3 -3
- package/dist/actions/list-campaigns.mjs +3 -3
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +3 -3
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +3 -3
- package/dist/actions/list-carriers.d.mts +3 -3
- package/dist/actions/list-carriers.mjs +3 -3
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +4 -4
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +4 -4
- package/dist/actions/list-catalog-imports.d.mts +4 -4
- package/dist/actions/list-catalog-imports.mjs +4 -4
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +3 -3
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +3 -3
- package/dist/actions/list-communities-suggestions.d.mts +3 -3
- package/dist/actions/list-communities-suggestions.mjs +3 -3
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +3 -3
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +3 -3
- package/dist/actions/list-communities.d.mts +3 -3
- package/dist/actions/list-communities.mjs +3 -3
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +3 -3
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -3
- package/dist/actions/list-devices.d.mts +3 -3
- package/dist/actions/list-devices.mjs +3 -3
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +3 -3
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +3 -3
- package/dist/actions/list-funding-instruments.d.mts +3 -3
- package/dist/actions/list-funding-instruments.mjs +3 -3
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +2 -2
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +2 -2
- package/dist/actions/list-geolocations.d.mts +2 -2
- package/dist/actions/list-geolocations.mjs +2 -2
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +2 -2
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +2 -2
- package/dist/actions/list-industries.d.mts +2 -2
- package/dist/actions/list-industries.mjs +2 -2
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +2 -2
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +2 -2
- package/dist/actions/list-interests.d.mts +2 -2
- package/dist/actions/list-interests.mjs +2 -2
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +4 -4
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +4 -4
- package/dist/actions/list-lead-gen-forms.d.mts +4 -4
- package/dist/actions/list-lead-gen-forms.mjs +4 -4
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +3 -3
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +3 -3
- package/dist/actions/list-my-businesses.d.mts +3 -3
- package/dist/actions/list-my-businesses.mjs +3 -3
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +2 -2
- package/dist/actions/list-pixels-by-ad-account.d.mts +2 -2
- package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +4 -4
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +4 -4
- package/dist/actions/list-pixels-by-business.d.mts +4 -4
- package/dist/actions/list-pixels-by-business.mjs +4 -4
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +4 -4
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +4 -4
- package/dist/actions/list-posts.d.mts +4 -4
- package/dist/actions/list-posts.mjs +4 -4
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +3 -3
- 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.mts +3 -3
- package/dist/actions/list-product-catalogs.mjs +3 -3
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +3 -3
- 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.mts +3 -3
- package/dist/actions/list-product-feeds.mjs +3 -3
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +4 -4
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +4 -4
- package/dist/actions/list-product-sets.d.mts +4 -4
- package/dist/actions/list-product-sets.mjs +4 -4
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +6 -6
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +6 -6
- package/dist/actions/list-products-in-product-catalog.d.mts +6 -6
- package/dist/actions/list-products-in-product-catalog.mjs +6 -6
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +5 -5
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +5 -5
- package/dist/actions/list-products-in-product-set.d.mts +5 -5
- package/dist/actions/list-products-in-product-set.mjs +5 -5
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +3 -3
- package/dist/actions/list-profiles-by-ad-account.d.mts +3 -3
- package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +3 -3
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +3 -3
- package/dist/actions/list-profiles-by-business.d.mts +3 -3
- package/dist/actions/list-profiles-by-business.mjs +3 -3
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +3 -3
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +3 -3
- package/dist/actions/list-saved-audiences.d.mts +3 -3
- package/dist/actions/list-saved-audiences.mjs +3 -3
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +3 -3
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +3 -3
- package/dist/actions/list-structured-posts.d.mts +3 -3
- package/dist/actions/list-structured-posts.mjs +3 -3
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +3 -3
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +3 -3
- package/dist/actions/list-time-zones.d.mts +3 -3
- package/dist/actions/list-time-zones.mjs +3 -3
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +4 -4
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +4 -4
- package/dist/actions/list-user-custom-audiences.d.mts +4 -4
- package/dist/actions/list-user-custom-audiences.mjs +4 -4
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +4 -4
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +4 -4
- package/dist/actions/list3rd-party-audiences.d.mts +4 -4
- package/dist/actions/list3rd-party-audiences.mjs +4 -4
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +5 -5
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +7 -5
- package/dist/actions/query-ad-accounts.d.mts +7 -5
- package/dist/actions/query-ad-accounts.mjs +5 -5
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +3 -3
- package/dist/actions/query-funding-instruments-by-business.d.mts +3 -3
- package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +3 -3
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +3 -3
- package/dist/actions/search-communities.d.mts +3 -3
- package/dist/actions/search-communities.mjs +3 -3
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +2 -2
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +2 -2
- package/dist/actions/update-ad-account.d.mts +2 -2
- package/dist/actions/update-ad-account.mjs +2 -2
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +2 -2
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +2 -2
- package/dist/actions/update-business.d.mts +2 -2
- package/dist/actions/update-business.mjs +2 -2
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +3 -3
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -3
- package/dist/actions/update-campaign.d.mts +3 -3
- package/dist/actions/update-campaign.mjs +3 -3
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -1
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -1
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +2 -2
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +2 -2
- package/dist/actions/update-post.d.mts +2 -2
- package/dist/actions/update-post.mjs +2 -2
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +3 -3
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +3 -3
- package/dist/actions/update-product-catalog.d.mts +3 -3
- package/dist/actions/update-product-catalog.mjs +3 -3
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +3 -3
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +3 -3
- package/dist/actions/update-product-feed.d.mts +3 -3
- package/dist/actions/update-product-feed.mjs +3 -3
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +4 -4
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +4 -4
- package/dist/actions/update-product-set.d.mts +4 -4
- package/dist/actions/update-product-set.mjs +4 -4
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +3 -3
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +3 -3
- package/dist/actions/update-saved-audience.d.mts +3 -3
- package/dist/actions/update-saved-audience.mjs +3 -3
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +2 -2
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +2 -2
- package/dist/actions/update-structured-post.d.mts +2 -2
- package/dist/actions/update-structured-post.mjs +2 -2
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,10 +11,10 @@ declare const RedditAdsGetAdGroupOutput: z.ZodObject<{
|
|
|
11
11
|
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
bid_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
schedule: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
14
|
+
schedule: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
15
15
|
bid_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
goal_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
targeting: z.ZodOptional<z.ZodNullable<z.
|
|
17
|
+
targeting: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
18
|
created_at: z.ZodNullable<z.ZodString>;
|
|
19
19
|
goal_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,15 +29,15 @@ declare const RedditAdsGetAdGroupOutput: z.ZodObject<{
|
|
|
29
29
|
configured_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
optimization_goal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
saved_audience_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
shopping_targeting: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
+
shopping_targeting: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
33
|
conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.
|
|
34
|
+
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
35
|
campaign_objective_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
optimization_strategy_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
|
-
}, z.core.$
|
|
40
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const redditAdsGetAdGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
ad_group_id: string;
|
|
43
43
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,10 +8,10 @@ const RedditAdsGetAdGroup_AdGroupDataSchema = z.object({
|
|
|
8
8
|
app_id: z.string().describe("The ID of the app associated with this ad group.").nullable().optional(),
|
|
9
9
|
bid_type: z.string().describe("The type of bid for the ad group.").nullable().optional(),
|
|
10
10
|
end_time: z.string().describe("The end time of the ad group.").nullable().optional(),
|
|
11
|
-
schedule: z.array(z.
|
|
11
|
+
schedule: z.array(z.record(z.string(), z.unknown())).describe("The schedule for the ad group.").nullable().optional(),
|
|
12
12
|
bid_value: z.number().int().describe("The bid value in micros (e.g., 1000000 = $1).").nullable().optional(),
|
|
13
13
|
goal_type: z.string().describe("The goal type for the ad group.").nullable().optional(),
|
|
14
|
-
targeting: z.
|
|
14
|
+
targeting: z.record(z.string(), z.unknown()).describe("The targeting settings for the ad group.").nullable().optional(),
|
|
15
15
|
created_at: z.string().describe("The timestamp when the ad group was created.").nullable(),
|
|
16
16
|
goal_value: z.number().int().describe("The goal value for the ad group.").nullable().optional(),
|
|
17
17
|
start_time: z.string().describe("The start time of the ad group.").nullable().optional(),
|
|
@@ -26,20 +26,20 @@ const RedditAdsGetAdGroup_AdGroupDataSchema = z.object({
|
|
|
26
26
|
configured_status: z.string().describe("The configured status of the ad group.").nullable().optional(),
|
|
27
27
|
optimization_goal: z.string().describe("The optimization goal for the ad group.").nullable().optional(),
|
|
28
28
|
saved_audience_id: z.string().describe("The ID of the saved audience used by this ad group.").nullable().optional(),
|
|
29
|
-
shopping_targeting: z.
|
|
29
|
+
shopping_targeting: z.record(z.string(), z.unknown()).describe("The shopping targeting settings for the ad group.").nullable().optional(),
|
|
30
30
|
conversion_pixel_id: z.string().describe("The ID of the conversion pixel associated with this ad group.").nullable().optional(),
|
|
31
|
-
skadnetwork_metadata: z.
|
|
31
|
+
skadnetwork_metadata: z.record(z.string(), z.unknown()).describe("SKAdNetwork metadata for the ad group.").nullable().optional(),
|
|
32
32
|
campaign_objective_type: z.string().describe("The objective type of the parent campaign.").nullable().optional(),
|
|
33
33
|
optimization_strategy_type: z.string().describe("The optimization strategy type for the ad group.").nullable().optional(),
|
|
34
34
|
view_through_conversion_type: z.string().describe("The view-through conversion type for the ad group.").nullable().optional(),
|
|
35
35
|
is_campaign_budget_optimization: z.boolean().describe("Whether campaign budget optimization is enabled.").nullable().optional()
|
|
36
|
-
}).describe("Ad group data model.");
|
|
36
|
+
}).passthrough().describe("Ad group data model.");
|
|
37
37
|
const redditAdsGetAdGroup = action("REDDIT_ADS_GET_AD_GROUP", {
|
|
38
38
|
slug: "reddit_ads-get-ad-group",
|
|
39
39
|
name: "Get Ad Group",
|
|
40
40
|
description: "Tool to get an ad group by its ID from Reddit Ads API. Use when you need to retrieve details about a specific ad group. Note: Rate limit of 400 requests per 60 seconds applies (Campaign Management Read).",
|
|
41
41
|
input: RedditAdsGetAdGroupInput,
|
|
42
|
-
output: z.object({ data: RedditAdsGetAdGroup_AdGroupDataSchema.nullable() }).describe("Response model containing the ad group data.")
|
|
42
|
+
output: z.object({ data: RedditAdsGetAdGroup_AdGroupDataSchema.nullable() }).passthrough().describe("Response model containing the ad group data.")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { redditAdsGetAdGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ad-group.mjs","names":[],"sources":["../../src/actions/get-ad-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAdGroupInput = z.object({\n ad_group_id: z.string().describe(\"The ID of the ad group to get.\"),\n}).describe(\"Request model for retrieving an ad group by its ID.\");\nconst RedditAdsGetAdGroup_AdGroupDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the ad group.\").nullable(),\n name: z.string().describe(\"The name of the ad group.\").nullable(),\n app_id: z.string().describe(\"The ID of the app associated with this ad group.\").nullable().optional(),\n bid_type: z.string().describe(\"The type of bid for the ad group.\").nullable().optional(),\n end_time: z.string().describe(\"The end time of the ad group.\").nullable().optional(),\n schedule: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-ad-group.mjs","names":[],"sources":["../../src/actions/get-ad-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAdGroupInput = z.object({\n ad_group_id: z.string().describe(\"The ID of the ad group to get.\"),\n}).describe(\"Request model for retrieving an ad group by its ID.\");\nconst RedditAdsGetAdGroup_AdGroupDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the ad group.\").nullable(),\n name: z.string().describe(\"The name of the ad group.\").nullable(),\n app_id: z.string().describe(\"The ID of the app associated with this ad group.\").nullable().optional(),\n bid_type: z.string().describe(\"The type of bid for the ad group.\").nullable().optional(),\n end_time: z.string().describe(\"The end time of the ad group.\").nullable().optional(),\n schedule: z.array(z.record(z.string(), z.unknown())).describe(\"The schedule for the ad group.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The bid value in micros (e.g., 1000000 = $1).\").nullable().optional(),\n goal_type: z.string().describe(\"The goal type for the ad group.\").nullable().optional(),\n targeting: z.record(z.string(), z.unknown()).describe(\"The targeting settings for the ad group.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the ad group was created.\").nullable(),\n goal_value: z.number().int().describe(\"The goal value for the ad group.\").nullable().optional(),\n start_time: z.string().describe(\"The start time of the ad group.\").nullable().optional(),\n campaign_id: z.string().describe(\"The ID of the campaign this ad group belongs to.\").nullable(),\n modified_at: z.string().describe(\"The timestamp when the ad group was last modified.\").nullable(),\n bid_strategy: z.string().describe(\"The bidding strategy for the ad group.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account this ad group belongs to.\").nullable(),\n shopping_type: z.string().describe(\"The shopping type for the ad group.\").nullable().optional(),\n product_set_id: z.string().describe(\"The ID of the product set associated with this ad group.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"The delivery status of the ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The effective status of the ad group.\").nullable().optional(),\n configured_status: z.string().describe(\"The configured status of the ad group.\").nullable().optional(),\n optimization_goal: z.string().describe(\"The optimization goal for the ad group.\").nullable().optional(),\n saved_audience_id: z.string().describe(\"The ID of the saved audience used by this ad group.\").nullable().optional(),\n shopping_targeting: z.record(z.string(), z.unknown()).describe(\"The shopping targeting settings for the ad group.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The ID of the conversion pixel associated with this ad group.\").nullable().optional(),\n skadnetwork_metadata: z.record(z.string(), z.unknown()).describe(\"SKAdNetwork metadata for the ad group.\").nullable().optional(),\n campaign_objective_type: z.string().describe(\"The objective type of the parent campaign.\").nullable().optional(),\n optimization_strategy_type: z.string().describe(\"The optimization strategy type for the ad group.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The view-through conversion type for the ad group.\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Whether campaign budget optimization is enabled.\").nullable().optional(),\n}).passthrough().describe(\"Ad group data model.\");\nexport const RedditAdsGetAdGroupOutput = z.object({\n data: RedditAdsGetAdGroup_AdGroupDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the ad group data.\");\n\nexport const redditAdsGetAdGroup = action(\"REDDIT_ADS_GET_AD_GROUP\", {\n slug: \"reddit_ads-get-ad-group\",\n name: \"Get Ad Group\",\n description: \"Tool to get an ad group by its ID from Reddit Ads API. Use when you need to retrieve details about a specific ad group. Note: Rate limit of 400 requests per 60 seconds applies (Campaign Management Read).\",\n input: RedditAdsGetAdGroupInput,\n output: RedditAdsGetAdGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACnE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,S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OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -27,8 +27,8 @@ const RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = zod.z.object({
|
|
|
27
27
|
mobile_conversion_completed_tutorial: zod.z.string().describe("The last time the app had a Completed Tutorial mobile conversion event fire.").nullable().optional(),
|
|
28
28
|
mobile_conversion_unlock_achievement: zod.z.string().describe("The last time the app had an Unlock Achievement mobile conversion event fire.").nullable().optional(),
|
|
29
29
|
mobile_conversion_first_time_purchase: zod.z.string().describe("The last time the app had a First Time Purchase mobile conversion event fire.").nullable().optional()
|
|
30
|
-
}).describe("Data model containing timestamps for when each mobile conversion event last fired for an app.\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.");
|
|
31
|
-
const RedditAdsGetAppLastFiredAtOutput = zod.z.object({ data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable() }).describe("Response model containing the last fired at report for an app's mobile conversion events.");
|
|
30
|
+
}).passthrough().describe("Data model containing timestamps for when each mobile conversion event last fired for an app.\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.");
|
|
31
|
+
const RedditAdsGetAppLastFiredAtOutput = zod.z.object({ data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable() }).passthrough().describe("Response model containing the last fired at report for an app's mobile conversion events.");
|
|
32
32
|
const redditAdsGetAppLastFiredAt = require_action.action("REDDIT_ADS_GET_APP_LAST_FIRED_AT", {
|
|
33
33
|
slug: "reddit_ads-get-app-last-fired-at",
|
|
34
34
|
name: "Get App Last Fired At Report",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-last-fired-at.cjs","names":["z","action"],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EACxL,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,C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AAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,mMAAmM;
|
|
1
|
+
{"version":3,"file":"get-app-last-fired-at.cjs","names":["z","action"],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).passthrough().describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EACxL,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,4BAA4BA,IAAAA,E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,SAAS,CAAC,CAAC,SAAS;CAC3J,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAC7N,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,oDAAoD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,6BAA6BC,eAAAA,OAAO,oCAAoC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,8 +30,8 @@ declare const RedditAdsGetAppLastFiredAtOutput: z.ZodObject<{
|
|
|
30
30
|
mobile_conversion_completed_tutorial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
mobile_conversion_unlock_achievement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
mobile_conversion_first_time_purchase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const redditAdsGetAppLastFiredAt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
app_id: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -30,8 +30,8 @@ declare const RedditAdsGetAppLastFiredAtOutput: z.ZodObject<{
|
|
|
30
30
|
mobile_conversion_completed_tutorial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
mobile_conversion_unlock_achievement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
mobile_conversion_first_time_purchase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const redditAdsGetAppLastFiredAt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
app_id: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -27,13 +27,13 @@ const RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({
|
|
|
27
27
|
mobile_conversion_completed_tutorial: z.string().describe("The last time the app had a Completed Tutorial mobile conversion event fire.").nullable().optional(),
|
|
28
28
|
mobile_conversion_unlock_achievement: z.string().describe("The last time the app had an Unlock Achievement mobile conversion event fire.").nullable().optional(),
|
|
29
29
|
mobile_conversion_first_time_purchase: z.string().describe("The last time the app had a First Time Purchase mobile conversion event fire.").nullable().optional()
|
|
30
|
-
}).describe("Data model containing timestamps for when each mobile conversion event last fired for an app.\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.");
|
|
30
|
+
}).passthrough().describe("Data model containing timestamps for when each mobile conversion event last fired for an app.\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.");
|
|
31
31
|
const redditAdsGetAppLastFiredAt = action("REDDIT_ADS_GET_APP_LAST_FIRED_AT", {
|
|
32
32
|
slug: "reddit_ads-get-app-last-fired-at",
|
|
33
33
|
name: "Get App Last Fired At Report",
|
|
34
34
|
description: "Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).",
|
|
35
35
|
input: RedditAdsGetAppLastFiredAtInput,
|
|
36
|
-
output: z.object({ data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable() }).describe("Response model containing the last fired at report for an app's mobile conversion events.")
|
|
36
|
+
output: z.object({ data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable() }).passthrough().describe("Response model containing the last fired at report for an app's mobile conversion events.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { redditAdsGetAppLastFiredAt };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-last-fired-at.mjs","names":[],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EACxL,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,sDAAsD,EAAE,OAAO;CACnE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS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C,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,uCAAuC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,mMAAmM;
|
|
1
|
+
{"version":3,"file":"get-app-last-fired-at.mjs","names":[],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).passthrough().describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EACxL,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,sDAAsD,EAAE,OAAO;CACnE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,4BAA4B,EAAE,OA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,SAAS;CAC7J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,uCAAuC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAK7N,MAAa,6BAA6B,OAAO,oCAAoC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,oDAAoD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ const RedditAdsGetBusiness_BusinessSchema = zod.z.object({
|
|
|
14
14
|
website_url: zod.z.string().describe("The website URL for the business").nullable().optional(),
|
|
15
15
|
agency_affiliated: zod.z.boolean().describe("Whether the business is affiliated with an agency").nullable(),
|
|
16
16
|
primary_contact_id: zod.z.string().describe("The member_id for the primary contact of the business").nullable().optional()
|
|
17
|
-
}).describe("A business is the parent entity that owns all other entities for the organization.");
|
|
18
|
-
const RedditAdsGetBusinessOutput = zod.z.object({ data: RedditAdsGetBusiness_BusinessSchema.nullable() }).describe("Response model for fetching a business by ID.");
|
|
17
|
+
}).passthrough().describe("A business is the parent entity that owns all other entities for the organization.");
|
|
18
|
+
const RedditAdsGetBusinessOutput = zod.z.object({ data: RedditAdsGetBusiness_BusinessSchema.nullable() }).passthrough().describe("Response model for fetching a business by ID.");
|
|
19
19
|
const redditAdsGetBusiness = require_action.action("REDDIT_ADS_GET_BUSINESS", {
|
|
20
20
|
slug: "reddit_ads-get-business",
|
|
21
21
|
name: "Get Business by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.cjs","names":["z","action"],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).describe(\"A business is the parent entity that owns all other entities for the organization.\");\nexport const RedditAdsGetBusinessOutput = z.object({\n data: RedditAdsGetBusiness_BusinessSchema.nullable(),\n}).describe(\"Response model for fetching a business by ID.\");\n\nexport const redditAdsGetBusiness = action(\"REDDIT_ADS_GET_BUSINESS\", {\n slug: \"reddit_ads-get-business\",\n name: \"Get Business by ID\",\n description: \"Tool to get business details by ID from the Reddit Ads API. Use when you need to retrieve information about a specific business entity including its name, industry, contact details, and metadata. The member must have memberships to the business to access this endpoint.\",\n input: RedditAdsGetBusinessInput,\n output: RedditAdsGetBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EAC1I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,oFAAoF;
|
|
1
|
+
{"version":3,"file":"get-business.cjs","names":["z","action"],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).passthrough().describe(\"A business is the parent entity that owns all other entities for the organization.\");\nexport const RedditAdsGetBusinessOutput = z.object({\n data: RedditAdsGetBusiness_BusinessSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a business by ID.\");\n\nexport const redditAdsGetBusiness = action(\"REDDIT_ADS_GET_BUSINESS\", {\n slug: \"reddit_ads-get-business\",\n name: \"Get Business by ID\",\n description: \"Tool to get business details by ID from the Reddit Ads API. Use when you need to retrieve information about a specific business entity including its name, industry, contact details, and metadata. The member must have memberships to the business to access this endpoint.\",\n input: RedditAdsGetBusinessInput,\n output: RedditAdsGetBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EAC1I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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;
|
|
18
18
|
agency_affiliated: z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const redditAdsGetBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
business_id: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,8 +17,8 @@ declare const RedditAdsGetBusinessOutput: z.ZodObject<{
|
|
|
17
17
|
website_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
agency_affiliated: z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const redditAdsGetBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
business_id: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,13 +14,13 @@ const RedditAdsGetBusiness_BusinessSchema = z.object({
|
|
|
14
14
|
website_url: z.string().describe("The website URL for the business").nullable().optional(),
|
|
15
15
|
agency_affiliated: z.boolean().describe("Whether the business is affiliated with an agency").nullable(),
|
|
16
16
|
primary_contact_id: z.string().describe("The member_id for the primary contact of the business").nullable().optional()
|
|
17
|
-
}).describe("A business is the parent entity that owns all other entities for the organization.");
|
|
17
|
+
}).passthrough().describe("A business is the parent entity that owns all other entities for the organization.");
|
|
18
18
|
const redditAdsGetBusiness = action("REDDIT_ADS_GET_BUSINESS", {
|
|
19
19
|
slug: "reddit_ads-get-business",
|
|
20
20
|
name: "Get Business by ID",
|
|
21
21
|
description: "Tool to get business details by ID from the Reddit Ads API. Use when you need to retrieve information about a specific business entity including its name, industry, contact details, and metadata. The member must have memberships to the business to access this endpoint.",
|
|
22
22
|
input: RedditAdsGetBusinessInput,
|
|
23
|
-
output: z.object({ data: RedditAdsGetBusiness_BusinessSchema.nullable() }).describe("Response model for fetching a business by ID.")
|
|
23
|
+
output: z.object({ data: RedditAdsGetBusiness_BusinessSchema.nullable() }).passthrough().describe("Response model for fetching a business by ID.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { redditAdsGetBusiness };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.mjs","names":[],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).describe(\"A business is the parent entity that owns all other entities for the organization.\");\nexport const RedditAdsGetBusinessOutput = z.object({\n data: RedditAdsGetBusiness_BusinessSchema.nullable(),\n}).describe(\"Response model for fetching a business by ID.\");\n\nexport const redditAdsGetBusiness = action(\"REDDIT_ADS_GET_BUSINESS\", {\n slug: \"reddit_ads-get-business\",\n name: \"Get Business by ID\",\n description: \"Tool to get business details by ID from the Reddit Ads API. Use when you need to retrieve information about a specific business entity including its name, industry, contact details, and metadata. The member must have memberships to the business to access this endpoint.\",\n input: RedditAdsGetBusinessInput,\n output: RedditAdsGetBusinessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EAC1I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,oFAAoF;
|
|
1
|
+
{"version":3,"file":"get-business.mjs","names":[],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).passthrough().describe(\"A business is the parent entity that owns all other entities for the organization.\");\nexport const RedditAdsGetBusinessOutput = z.object({\n data: RedditAdsGetBusiness_BusinessSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a business by ID.\");\n\nexport const redditAdsGetBusiness = action(\"REDDIT_ADS_GET_BUSINESS\", {\n slug: \"reddit_ads-get-business\",\n name: \"Get Business by ID\",\n description: \"Tool to get business details by ID from the Reddit Ads API. Use when you need to retrieve information about a specific business entity including its name, industry, contact details, and metadata. The member must have memberships to the business to access this endpoint.\",\n input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,EACjD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-campaign.ts
|
|
4
4
|
const RedditAdsGetCampaignInput = zod.z.object({ campaign_id: zod.z.string().describe("The ID of the campaign to retrieve.") }).describe("Request model for fetching a specific Reddit Ads campaign by ID.");
|
|
5
|
-
const RedditAdsGetCampaign_SkadnetworkMetadataSchema = zod.z.object({ status: zod.z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
|
|
5
|
+
const RedditAdsGetCampaign_SkadnetworkMetadataSchema = zod.z.object({ status: zod.z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).passthrough().describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
|
|
6
6
|
const RedditAdsGetCampaign_CampaignDataSchema = zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("The ID of the campaign.").nullable(),
|
|
8
8
|
name: zod.z.string().describe("The campaign name.").nullable().optional(),
|
|
@@ -30,8 +30,8 @@ const RedditAdsGetCampaign_CampaignDataSchema = zod.z.object({
|
|
|
30
30
|
special_ad_categories: zod.z.array(zod.z.string()).describe("List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.").nullable().optional(),
|
|
31
31
|
view_through_conversion_type: zod.z.string().describe("The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).").nullable().optional(),
|
|
32
32
|
is_campaign_budget_optimization: zod.z.boolean().describe("Indicates whether the campaign will have campaign budget optimization or not.").nullable().optional()
|
|
33
|
-
}).describe("Campaign data returned by the Reddit Ads API.");
|
|
34
|
-
const RedditAdsGetCampaignOutput = zod.z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).describe("Response model for fetching a specific Reddit Ads campaign.");
|
|
33
|
+
}).passthrough().describe("Campaign data returned by the Reddit Ads API.");
|
|
34
|
+
const RedditAdsGetCampaignOutput = zod.z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).passthrough().describe("Response model for fetching a specific Reddit Ads campaign.");
|
|
35
35
|
const redditAdsGetCampaign = require_action.action("REDDIT_ADS_GET_CAMPAIGN", {
|
|
36
36
|
slug: "reddit_ads-get-campaign",
|
|
37
37
|
name: "Get Campaign by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
1
|
+
{"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -29,13 +29,13 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
|
29
29
|
conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
35
|
view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
campaign_id: string;
|
|
41
41
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -29,13 +29,13 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
|
29
29
|
conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
35
|
view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
campaign_id: string;
|
|
41
41
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-campaign.ts
|
|
4
4
|
const RedditAdsGetCampaignInput = z.object({ campaign_id: z.string().describe("The ID of the campaign to retrieve.") }).describe("Request model for fetching a specific Reddit Ads campaign by ID.");
|
|
5
|
-
const RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({ status: z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
|
|
5
|
+
const RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({ status: z.string().describe("The status of the SKAdNetwork metadata.").nullable().optional() }).passthrough().describe("Metadata about the SKAdNetwork source ID associated with the campaign.");
|
|
6
6
|
const RedditAdsGetCampaign_CampaignDataSchema = z.object({
|
|
7
7
|
id: z.string().describe("The ID of the campaign.").nullable(),
|
|
8
8
|
name: z.string().describe("The campaign name.").nullable().optional(),
|
|
@@ -30,13 +30,13 @@ const RedditAdsGetCampaign_CampaignDataSchema = z.object({
|
|
|
30
30
|
special_ad_categories: z.array(z.string()).describe("List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.").nullable().optional(),
|
|
31
31
|
view_through_conversion_type: z.string().describe("The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).").nullable().optional(),
|
|
32
32
|
is_campaign_budget_optimization: z.boolean().describe("Indicates whether the campaign will have campaign budget optimization or not.").nullable().optional()
|
|
33
|
-
}).describe("Campaign data returned by the Reddit Ads API.");
|
|
33
|
+
}).passthrough().describe("Campaign data returned by the Reddit Ads API.");
|
|
34
34
|
const redditAdsGetCampaign = action("REDDIT_ADS_GET_CAMPAIGN", {
|
|
35
35
|
slug: "reddit_ads-get-campaign",
|
|
36
36
|
name: "Get Campaign by ID",
|
|
37
37
|
description: "Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.",
|
|
38
38
|
input: RedditAdsGetCampaignInput,
|
|
39
|
-
output: z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).describe("Response model for fetching a specific Reddit Ads campaign.")
|
|
39
|
+
output: z.object({ data: RedditAdsGetCampaign_CampaignDataSchema.nullable() }).passthrough().describe("Response model for fetching a specific Reddit Ads campaign.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { redditAdsGetCampaign };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
1
|
+
{"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SKAdNetwork source ID associated with the campaign.\");\nconst RedditAdsGetCampaign_CampaignDataSchema = z.object({\n id: z.string().describe(\"The ID of the campaign.\").nullable(),\n name: z.string().describe(\"The campaign name.\").nullable().optional(),\n app_id: z.string().describe(\"The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.\").nullable().optional(),\n bid_type: z.string().describe(\"The bid type for the campaign. Only works when is_campaign_budget_optimization is true. Can be CPC, CPM, or CPV6.\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n bid_value: z.number().int().describe(\"The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n goal_type: z.string().describe(\"The campaign goal type. Only works when is_campaign_budget_optimization is true. Can be LIFETIME_SPEND or DAILY_SPEND.\").nullable().optional(),\n objective: z.string().describe(\"The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).\").nullable(),\n spend_cap: z.number().int().describe(\"Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable(),\n goal_value: z.number().int().describe(\"Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable(),\n bid_strategy: z.string().describe(\"The bid strategy for the campaign. Only works when is_campaign_budget_optimization is true. Can be BIDLESS, MAXIMIZE_VOLUME, or TARGET_CPX.\").nullable().optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account.\").nullable(),\n invoice_label: z.string().describe(\"A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.\").nullable().optional(),\n delivery_status: z.array(z.string()).describe(\"An array of delivery status strings for this ad group.\").nullable().optional(),\n effective_status: z.string().describe(\"The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).\").nullable(),\n configured_status: z.string().describe(\"The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.\").nullable(),\n optimization_goal: z.string().describe(\"The event you want to measure for this campaign. Required when is_campaign_budget_optimization is true for conversions or video view campaigns.\").nullable().optional(),\n conversion_pixel_id: z.string().describe(\"The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.\").nullable().optional(),\n skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.nullable().optional(),\n funding_instrument_id: z.string().describe(\"Campaign level funding instrument ID.\").nullable().optional(),\n special_ad_categories: z.array(z.string()).describe(\"List of special ad categories (advertising content that require compliance with regulations and policies) related to the campaign.\").nullable().optional(),\n view_through_conversion_type: z.string().describe(\"The type of view-through conversion being measured (e.g., SEVEN_DAY_CLICKS, SEVEN_DAY_CLICKS_ONE_DAY_VIEW).\").nullable().optional(),\n is_campaign_budget_optimization: z.boolean().describe(\"Indicates whether the campaign will have campaign budget optimization or not.\").nullable().optional(),\n}).passthrough().describe(\"Campaign data returned by the Reddit Ads API.\");\nexport const RedditAdsGetCampaignOutput = z.object({\n data: RedditAdsGetCampaign_CampaignDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Reddit Ads campaign.\");\n\nexport const redditAdsGetCampaign = action(\"REDDIT_ADS_GET_CAMPAIGN\", {\n slug: \"reddit_ads-get-campaign\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve a specific Reddit Ads campaign by its ID. Returns comprehensive campaign information including objective, status, budget, targeting, and optimization settings. Rate limited to 400 requests per 60 seconds.\",\n input: RedditAdsGetCampaignInput,\n output: RedditAdsGetCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC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QATwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -21,15 +21,15 @@ const RedditAdsGetChannelPlanningReachInput = zod.z.object({
|
|
|
21
21
|
const RedditAdsGetChannelPlanningReach_ReachEstimateSchema = zod.z.object({
|
|
22
22
|
reach: zod.z.number().int().describe("The estimated reach (unique users) for the given impression count.").nullable(),
|
|
23
23
|
impressions: zod.z.number().int().describe("The number of impressions for this data point.").nullable()
|
|
24
|
-
}).describe("A single data point representing estimated reach for a given impression count.");
|
|
24
|
+
}).passthrough().describe("A single data point representing estimated reach for a given impression count.");
|
|
25
25
|
const RedditAdsGetChannelPlanningReach_PaginationSchema = zod.z.object({
|
|
26
26
|
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional(),
|
|
27
27
|
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional()
|
|
28
|
-
}).describe("Pagination information for the response.");
|
|
28
|
+
}).passthrough().describe("Pagination information for the response.");
|
|
29
29
|
const RedditAdsGetChannelPlanningReachOutput = zod.z.object({
|
|
30
30
|
data: zod.z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe("An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points."),
|
|
31
31
|
pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable()
|
|
32
|
-
}).describe("Response containing a series of data points representing the estimated reach curve.");
|
|
32
|
+
}).passthrough().describe("Response containing a series of data points representing the estimated reach curve.");
|
|
33
33
|
const redditAdsGetChannelPlanningReach = require_action.action("REDDIT_ADS_GET_CHANNEL_PLANNING_REACH", {
|
|
34
34
|
slug: "reddit_ads-get-channel-planning-reach",
|
|
35
35
|
name: "Get Channel Planning Reach",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC1J,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC9I,CAAC;AACD,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).passthrough().describe(\"A single data point representing estimated reach for a given impression count.\");\nconst RedditAdsGetChannelPlanningReach_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsGetChannelPlanningReachOutput = z.object({\n data: z.array(RedditAdsGetChannelPlanningReach_ReachEstimateSchema).describe(\"An array of objects, each representing a point on the reach by impressions curve. Typically contains 10 data points.\"),\n pagination: RedditAdsGetChannelPlanningReach_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing a series of data points representing the estimated reach curve.\");\n\nexport const redditAdsGetChannelPlanningReach = action(\"REDDIT_ADS_GET_CHANNEL_PLANNING_REACH\", {\n slug: \"reddit_ads-get-channel-planning-reach\",\n name: \"Get Channel Planning Reach\",\n description: \"Tool to retrieve estimated reach data for a given set of targeting parameters. Returns a series of 10 data points representing the reach curve by impressions. Use when planning ad campaigns and estimating potential audience reach based on duration, location, age, and gender targeting.\",\n input: RedditAdsGetChannelPlanningReachInput,\n output: RedditAdsGetChannelPlanningReachOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC1J,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC9I,CAAC;AACD,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAC1G,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,sHAAsH;CACnM,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,12 +22,12 @@ declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
|
|
|
22
22
|
data: z.ZodArray<z.ZodObject<{
|
|
23
23
|
reach: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
impressions: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
geolocation: "US" | "CA" | "GB";
|
|
33
33
|
duration_days: 7 | 28;
|