@keystrokehq/reddit_ads 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-ad-group.cjs +6 -6
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +82 -3
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +82 -3
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +6 -6
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +7 -7
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +125 -3
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +125 -3
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +7 -7
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +7 -7
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +147 -3
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +147 -3
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +7 -7
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +5 -5
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +34 -3
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +34 -3
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +5 -5
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +4 -4
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +51 -3
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +51 -3
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +4 -4
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +6 -6
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +61 -3
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +61 -3
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +6 -6
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +3 -3
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +72 -3
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +72 -3
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +3 -3
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +4 -4
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +50 -3
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +50 -3
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +4 -4
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +4 -4
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +30 -3
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +30 -3
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +4 -4
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +6 -6
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +102 -3
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +102 -3
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +6 -6
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +18 -18
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +113 -3
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +113 -3
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +18 -18
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -1
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +7 -3
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +7 -3
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -1
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -1
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +7 -3
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +7 -3
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -1
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -1
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +7 -3
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +7 -3
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -1
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -1
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +7 -3
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +7 -3
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -1
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -1
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +11 -3
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +11 -3
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -1
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +3 -3
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +19 -3
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +19 -3
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +3 -3
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +4 -4
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +17 -3
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +17 -3
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +4 -4
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +39 -3
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +39 -3
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +3 -3
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +55 -3
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +55 -3
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +3 -3
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +6 -6
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +61 -3
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +61 -3
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +6 -6
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +6 -6
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +60 -3
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +60 -3
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +6 -6
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +12 -12
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +40 -3
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +40 -3
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +12 -12
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +2 -2
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +34 -3
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +34 -3
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +2 -2
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +8 -8
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +21 -3
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +21 -3
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +8 -8
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +10 -10
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +38 -3
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +38 -3
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +10 -10
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +5 -5
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +36 -3
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +36 -3
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +5 -5
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +8 -8
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +29 -3
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +29 -3
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +8 -8
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +15 -15
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +68 -3
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +68 -3
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +15 -15
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +3 -3
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +18 -3
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +18 -3
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +3 -3
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +5 -5
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +13 -3
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +13 -3
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +5 -5
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +24 -3
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +24 -3
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +5 -5
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +32 -3
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +32 -3
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +5 -5
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +3 -3
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +42 -3
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +42 -3
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +3 -3
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +9 -9
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +36 -3
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +36 -3
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +9 -9
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +4 -4
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +22 -3
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +22 -3
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +4 -4
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +6 -6
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +15 -3
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +15 -3
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +6 -6
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +9 -9
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +52 -3
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +52 -3
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +9 -9
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +32 -3
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +32 -3
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +3 -3
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +15 -3
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +15 -3
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +3 -3
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +38 -3
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +38 -3
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +9 -9
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +52 -3
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +52 -3
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +9 -9
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +2 -2
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +19 -3
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +19 -3
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +2 -2
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +10 -10
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +46 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +46 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +10 -10
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +6 -6
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +19 -3
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +19 -3
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +6 -6
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +4 -4
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +30 -3
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +30 -3
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +4 -4
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +6 -6
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +26 -3
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +26 -3
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +6 -6
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +6 -6
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +24 -3
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +24 -3
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +6 -6
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +3 -3
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +18 -3
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +18 -3
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +3 -3
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +4 -4
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +49 -3
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +49 -3
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +4 -4
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +2 -2
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +21 -3
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +21 -3
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +2 -2
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +4 -4
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +8 -3
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +8 -3
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +4 -4
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +5 -5
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +9 -3
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +9 -3
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +5 -5
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +4 -4
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +26 -3
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +26 -3
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +4 -4
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +3 -3
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +34 -3
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +34 -3
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +3 -3
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +26 -3
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +26 -3
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +4 -4
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +26 -3
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +26 -3
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +4 -4
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +7 -7
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +45 -3
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +45 -3
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +7 -7
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +8 -8
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +24 -3
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +24 -3
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +8 -8
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +9 -9
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +23 -3
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +23 -3
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +9 -9
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +4 -4
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +28 -3
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +28 -3
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +4 -4
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +17 -17
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +82 -3
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +82 -3
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +17 -17
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +13 -13
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +127 -3
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +127 -3
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +13 -13
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +23 -3
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +23 -3
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +3 -3
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +23 -3
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +23 -3
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +3 -3
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +11 -11
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +30 -3
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +30 -3
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +11 -11
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +3 -3
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +37 -3
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +37 -3
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +3 -3
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +9 -9
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +22 -3
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +22 -3
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +9 -9
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +6 -6
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +38 -3
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +38 -3
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +6 -6
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +4 -4
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +24 -3
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +24 -3
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +4 -4
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +5 -5
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +58 -3
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +58 -3
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +5 -5
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +44 -3
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +44 -3
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +6 -6
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +24 -3
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +24 -3
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +6 -6
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +2 -2
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +88 -3
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +88 -3
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +2 -2
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +2 -2
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +66 -3
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +66 -3
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +2 -2
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +3 -3
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +113 -3
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +113 -3
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +3 -3
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -1
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +31 -3
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +31 -3
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -1
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +2 -2
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +27 -3
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +27 -3
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +2 -2
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +3 -3
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +50 -3
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +50 -3
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +3 -3
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +3 -3
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +69 -3
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +69 -3
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +3 -3
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +4 -4
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +30 -3
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +30 -3
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +4 -4
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +3 -3
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +97 -3
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +97 -3
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +3 -3
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +2 -2
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +21 -3
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +21 -3
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +2 -2
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,19 +3,19 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-business.ts
|
|
4
4
|
const RedditAdsGetBusinessInput = zod.z.object({ business_id: zod.z.string().describe("The ID of the business to get. This endpoint requires the member to have memberships to the business.") }).describe("Request model for fetching a business by ID.");
|
|
5
5
|
const RedditAdsGetBusiness_BusinessSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The unique identifier of the business"),
|
|
7
|
-
name: zod.z.string().describe("The name of the business"),
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the business").nullable(),
|
|
7
|
+
name: zod.z.string().describe("The name of the business").nullable(),
|
|
8
8
|
phone: zod.z.string().describe("The phone number of the business").nullable().optional(),
|
|
9
9
|
country: zod.z.string().describe("The ISO 3166-1 alpha-3 country code of the business").nullable().optional(),
|
|
10
|
-
industry: zod.z.string().describe("The industry for the business"),
|
|
11
|
-
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601"),
|
|
10
|
+
industry: zod.z.string().describe("The industry for the business").nullable(),
|
|
11
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601").nullable(),
|
|
12
12
|
creator_id: zod.z.string().describe("The identifier for the member that created the business").nullable().optional(),
|
|
13
|
-
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601"),
|
|
13
|
+
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601").nullable(),
|
|
14
14
|
website_url: zod.z.string().describe("The website URL for the business").nullable().optional(),
|
|
15
|
-
agency_affiliated: zod.z.boolean().describe("Whether the business is affiliated with an agency"),
|
|
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
|
|
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,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,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAC9G,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-business.d.ts
|
|
4
|
-
declare const RedditAdsGetBusinessInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsGetBusinessInput: z.ZodObject<{
|
|
5
|
+
business_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedditAdsGetBusinessOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
creator_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
17
|
+
website_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
agency_affiliated: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const redditAdsGetBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
business_id: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { redditAdsGetBusiness };
|
|
9
27
|
//# sourceMappingURL=get-business.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.d.cts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-business.d.cts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-business.d.ts
|
|
4
|
-
declare const RedditAdsGetBusinessInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsGetBusinessInput: z.ZodObject<{
|
|
5
|
+
business_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedditAdsGetBusinessOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
creator_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
17
|
+
website_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
agency_affiliated: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const redditAdsGetBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
business_id: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { redditAdsGetBusiness };
|
|
9
27
|
//# sourceMappingURL=get-business.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.d.mts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-business.d.mts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -3,24 +3,24 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-business.ts
|
|
4
4
|
const RedditAdsGetBusinessInput = z.object({ business_id: z.string().describe("The ID of the business to get. This endpoint requires the member to have memberships to the business.") }).describe("Request model for fetching a business by ID.");
|
|
5
5
|
const RedditAdsGetBusiness_BusinessSchema = z.object({
|
|
6
|
-
id: z.string().describe("The unique identifier of the business"),
|
|
7
|
-
name: z.string().describe("The name of the business"),
|
|
6
|
+
id: z.string().describe("The unique identifier of the business").nullable(),
|
|
7
|
+
name: z.string().describe("The name of the business").nullable(),
|
|
8
8
|
phone: z.string().describe("The phone number of the business").nullable().optional(),
|
|
9
9
|
country: z.string().describe("The ISO 3166-1 alpha-3 country code of the business").nullable().optional(),
|
|
10
|
-
industry: z.string().describe("The industry for the business"),
|
|
11
|
-
created_at: z.string().describe("The time that this entity was created represented in ISO 8601"),
|
|
10
|
+
industry: z.string().describe("The industry for the business").nullable(),
|
|
11
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601").nullable(),
|
|
12
12
|
creator_id: z.string().describe("The identifier for the member that created the business").nullable().optional(),
|
|
13
|
-
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601"),
|
|
13
|
+
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601").nullable(),
|
|
14
14
|
website_url: z.string().describe("The website URL for the business").nullable().optional(),
|
|
15
|
-
agency_affiliated: z.boolean().describe("Whether the business is affiliated with an agency"),
|
|
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
|
|
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: 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,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAK9G,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -2,27 +2,27 @@ 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
|
-
id: zod.z.string().describe("The ID of the campaign."),
|
|
7
|
+
id: zod.z.string().describe("The ID of the campaign.").nullable(),
|
|
8
8
|
name: zod.z.string().describe("The campaign name.").nullable().optional(),
|
|
9
9
|
app_id: zod.z.string().describe("The app ID on either the Apple App Store or Google Play Store. For use with app installs campaigns.").nullable().optional(),
|
|
10
10
|
bid_type: zod.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(),
|
|
11
11
|
end_time: zod.z.string().describe("ISO 8601 timestamp when the campaign will stop delivering. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
12
12
|
bid_value: zod.z.number().int().describe("The amount to pay in microcurrency per bidding event. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
13
13
|
goal_type: zod.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(),
|
|
14
|
-
objective: zod.z.string().describe("The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS)."),
|
|
14
|
+
objective: zod.z.string().describe("The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS).").nullable(),
|
|
15
15
|
spend_cap: zod.z.number().int().describe("Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.").nullable().optional(),
|
|
16
|
-
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
16
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable(),
|
|
17
17
|
goal_value: zod.z.number().int().describe("Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
18
18
|
start_time: zod.z.string().describe("ISO 8601 timestamp when the campaign will begin to deliver. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
19
|
-
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601."),
|
|
19
|
+
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable(),
|
|
20
20
|
bid_strategy: zod.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(),
|
|
21
|
-
ad_account_id: zod.z.string().describe("The ID of the ad account."),
|
|
21
|
+
ad_account_id: zod.z.string().describe("The ID of the ad account.").nullable(),
|
|
22
22
|
invoice_label: zod.z.string().describe("A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.").nullable().optional(),
|
|
23
23
|
delivery_status: zod.z.array(zod.z.string()).describe("An array of delivery status strings for this ad group.").nullable().optional(),
|
|
24
|
-
effective_status: zod.z.string().describe("The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.)."),
|
|
25
|
-
configured_status: zod.z.string().describe("The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED."),
|
|
24
|
+
effective_status: zod.z.string().describe("The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).").nullable(),
|
|
25
|
+
configured_status: zod.z.string().describe("The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.").nullable(),
|
|
26
26
|
optimization_goal: zod.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(),
|
|
27
27
|
conversion_pixel_id: zod.z.string().describe("The campaign Conversion Pixel ID used for optimization. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
28
28
|
skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.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
|
|
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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"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaign.d.ts
|
|
4
|
-
declare const RedditAdsGetCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsGetCampaignInput: z.ZodObject<{
|
|
5
|
+
campaign_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
bid_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
bid_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
goal_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
17
|
+
spend_cap: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
goal_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
bid_strategy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ad_account_id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
invoice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
effective_status: z.ZodNullable<z.ZodString>;
|
|
27
|
+
configured_status: z.ZodNullable<z.ZodString>;
|
|
28
|
+
optimization_goal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
|
+
view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
campaign_id: string;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { redditAdsGetCampaign };
|
|
9
44
|
//# sourceMappingURL=get-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.d.cts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-campaign.d.cts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAkCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-campaign.d.ts
|
|
4
|
-
declare const RedditAdsGetCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsGetCampaignInput: z.ZodObject<{
|
|
5
|
+
campaign_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
app_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
bid_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
bid_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
goal_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
17
|
+
spend_cap: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
goal_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
bid_strategy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ad_account_id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
invoice_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
delivery_status: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
effective_status: z.ZodNullable<z.ZodString>;
|
|
27
|
+
configured_status: z.ZodNullable<z.ZodString>;
|
|
28
|
+
optimization_goal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
conversion_pixel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
skadnetwork_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
funding_instrument_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
special_ad_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
|
+
view_through_conversion_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const redditAdsGetCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
campaign_id: string;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { redditAdsGetCampaign };
|
|
9
44
|
//# sourceMappingURL=get-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.d.mts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-campaign.d.mts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAkCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -2,27 +2,27 @@ 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
|
-
id: z.string().describe("The ID of the campaign."),
|
|
7
|
+
id: z.string().describe("The ID of the campaign.").nullable(),
|
|
8
8
|
name: z.string().describe("The campaign name.").nullable().optional(),
|
|
9
9
|
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(),
|
|
10
10
|
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(),
|
|
11
11
|
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(),
|
|
12
12
|
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(),
|
|
13
13
|
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(),
|
|
14
|
-
objective: z.string().describe("The objective type of a campaign (e.g., APP_INSTALLS, CATALOG_SALES, CLICKS, CONVERSIONS, IMPRESSIONS, LEAD_GENERATION, VIDEO_VIEWABLE_IMPRESSIONS)."),
|
|
14
|
+
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(),
|
|
15
15
|
spend_cap: z.number().int().describe("Campaign lifetime spend cap in microcurrency. This field works for both CBO and non-CBO campaigns.").nullable().optional(),
|
|
16
|
-
created_at: z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
16
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable(),
|
|
17
17
|
goal_value: z.number().int().describe("Campaign level goal value in micros. Only works when is_campaign_budget_optimization is true.").nullable().optional(),
|
|
18
18
|
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(),
|
|
19
|
-
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601."),
|
|
19
|
+
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable(),
|
|
20
20
|
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(),
|
|
21
|
-
ad_account_id: z.string().describe("The ID of the ad account."),
|
|
21
|
+
ad_account_id: z.string().describe("The ID of the ad account.").nullable(),
|
|
22
22
|
invoice_label: z.string().describe("A freeform editable text field for agencies that can be used for tracking and reconciliation purposes.").nullable().optional(),
|
|
23
23
|
delivery_status: z.array(z.string()).describe("An array of delivery status strings for this ad group.").nullable().optional(),
|
|
24
|
-
effective_status: z.string().describe("The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.)."),
|
|
25
|
-
configured_status: z.string().describe("The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED."),
|
|
24
|
+
effective_status: z.string().describe("The calculated status determining the real status of this entity (e.g., ACTIVE, PAUSED, ARCHIVED, DELETED, etc.).").nullable(),
|
|
25
|
+
configured_status: z.string().describe("The status that the user has configured this entity to have. Can be ACTIVE, ARCHIVED, DELETED, or PAUSED.").nullable(),
|
|
26
26
|
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(),
|
|
27
27
|
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(),
|
|
28
28
|
skadnetwork_metadata: RedditAdsGetCampaign_SkadnetworkMetadataSchema.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
|
|
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":"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"}
|
|
@@ -19,17 +19,17 @@ const RedditAdsGetChannelPlanningReachInput = zod.z.object({
|
|
|
19
19
|
duration_days: zod.z.union([zod.z.literal(7), zod.z.literal(28)]).describe("Number of days in the reach prediction window. Must be either 7 or 28 days.")
|
|
20
20
|
});
|
|
21
21
|
const RedditAdsGetChannelPlanningReach_ReachEstimateSchema = zod.z.object({
|
|
22
|
-
reach: zod.z.number().int().describe("The estimated reach (unique users) for the given impression count."),
|
|
23
|
-
impressions: zod.z.number().int().describe("The number of impressions for this data point.")
|
|
24
|
-
}).describe("A single data point representing estimated reach for a given impression count.");
|
|
22
|
+
reach: zod.z.number().int().describe("The estimated reach (unique users) for the given impression count.").nullable(),
|
|
23
|
+
impressions: zod.z.number().int().describe("The number of impressions for this data point.").nullable()
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-channel-planning-reach.d.ts
|
|
4
|
-
declare const RedditAdsGetChannelPlanningReachInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RedditAdsGetChannelPlanningReachInput: z.ZodObject<{
|
|
5
|
+
gender: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
MALE: "MALE";
|
|
7
|
+
FEMALE: "FEMALE";
|
|
8
|
+
ALL: "ALL";
|
|
9
|
+
}>>;
|
|
10
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
min_age: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
page_token: z.ZodOptional<z.ZodString>;
|
|
14
|
+
geolocation: z.ZodEnum<{
|
|
15
|
+
US: "US";
|
|
16
|
+
CA: "CA";
|
|
17
|
+
GB: "GB";
|
|
18
|
+
}>;
|
|
19
|
+
duration_days: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<28>]>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
|
|
22
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23
|
+
reach: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
impressions: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const redditAdsGetChannelPlanningReach: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
geolocation: "US" | "CA" | "GB";
|
|
33
|
+
duration_days: 7 | 28;
|
|
34
|
+
gender?: "MALE" | "FEMALE" | "ALL" | undefined;
|
|
35
|
+
max_age?: number | undefined;
|
|
36
|
+
min_age?: number | undefined;
|
|
37
|
+
page_size?: number | undefined;
|
|
38
|
+
page_token?: string | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { redditAdsGetChannelPlanningReach };
|
|
9
42
|
//# sourceMappingURL=get-channel-planning-reach.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-channel-planning-reach.d.cts","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.d.cts","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
|