@keystrokehq/reddit_ads 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-ad-group.cjs +1 -0
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +3 -36
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +3 -36
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +1 -0
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +1 -0
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +3 -63
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +3 -63
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +1 -0
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +1 -0
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +4 -37
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +4 -37
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +1 -0
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +1 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +3 -20
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +3 -20
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +1 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +1 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +3 -26
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +3 -26
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +1 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +3 -28
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +3 -28
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +1 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +3 -21
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +3 -21
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +1 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +1 -0
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +3 -22
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +3 -22
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +1 -0
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +1 -0
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +3 -19
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +3 -19
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +1 -0
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +1 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +4 -38
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +4 -38
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +1 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +3 -52
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +3 -52
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +3 -15
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +3 -15
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +3 -15
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +3 -15
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +3 -15
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +3 -15
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -0
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +3 -15
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +3 -15
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -0
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -0
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +3 -16
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +3 -16
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -0
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +1 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +3 -16
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +3 -16
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +1 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +1 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +3 -17
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +3 -17
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +1 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -15
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -15
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +1 -0
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +3 -26
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +3 -26
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +1 -0
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +1 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +3 -38
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +3 -38
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +1 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +1 -0
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +3 -15
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +3 -15
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +1 -0
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +1 -0
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +3 -15
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +3 -15
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +1 -0
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +1 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +3 -15
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +3 -15
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +1 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +1 -0
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +3 -15
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +3 -15
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +1 -0
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +1 -0
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +3 -15
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +3 -15
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +1 -0
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +1 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +3 -21
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +3 -21
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +1 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +1 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +3 -17
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +3 -17
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +1 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +1 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +4 -16
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +4 -16
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +1 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +1 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +3 -15
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +3 -15
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +1 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +1 -0
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -13
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -13
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +1 -0
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +3 -15
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +3 -15
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +1 -0
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +3 -15
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +3 -15
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +1 -0
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +1 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +3 -15
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +3 -15
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +1 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +1 -0
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +3 -15
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +3 -15
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +1 -0
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +1 -0
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +3 -15
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +3 -15
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +1 -0
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +1 -0
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +3 -15
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -15
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +1 -0
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +1 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +4 -16
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +4 -16
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +1 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +3 -17
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +3 -17
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +1 -0
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +3 -15
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +3 -15
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +1 -0
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +3 -18
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +3 -18
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +1 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +3 -19
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +3 -19
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +1 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +1 -0
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +3 -18
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +3 -18
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +1 -0
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -18
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -18
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +1 -0
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +3 -16
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +3 -16
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +1 -0
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +1 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +3 -19
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +3 -19
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +1 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +1 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +3 -18
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +3 -18
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +1 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +1 -0
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +3 -17
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +3 -17
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +1 -0
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -16
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -16
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +1 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +3 -24
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +3 -24
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +1 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +1 -0
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +3 -17
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +3 -17
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +1 -0
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +1 -0
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +3 -13
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +3 -13
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +1 -0
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +1 -0
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +3 -13
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +3 -13
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +1 -0
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +1 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +3 -17
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +3 -17
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +1 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +1 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +3 -18
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +3 -18
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +1 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +3 -17
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +3 -17
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +1 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +3 -17
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +3 -17
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +1 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +1 -0
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +3 -19
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +3 -19
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +1 -0
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +1 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +3 -15
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +3 -15
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +1 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +1 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +3 -15
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +3 -15
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +1 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +1 -0
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +3 -17
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +3 -17
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +1 -0
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +3 -20
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +3 -20
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +1 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +3 -21
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +3 -21
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +1 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +3 -17
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +3 -17
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +1 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +3 -17
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +3 -17
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +1 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +1 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +3 -17
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +3 -17
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +1 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +1 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +3 -20
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +3 -20
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +1 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +1 -0
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +3 -16
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +3 -16
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +1 -0
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +1 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +3 -18
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +3 -18
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +1 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +1 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +3 -16
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +3 -16
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +1 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +1 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +3 -29
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +3 -29
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +1 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +3 -23
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +3 -23
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +1 -0
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +3 -17
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +3 -17
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +1 -0
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +1 -0
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +3 -29
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +3 -29
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +1 -0
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +1 -0
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +3 -24
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +3 -24
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +1 -0
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -39
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -39
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +3 -20
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +3 -20
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +1 -0
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +3 -18
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +3 -18
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +1 -0
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +1 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +3 -19
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +3 -19
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +1 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +1 -0
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +3 -33
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +3 -33
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +1 -0
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +1 -0
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +3 -19
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +3 -19
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +1 -0
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +1 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +4 -47
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +4 -47
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +1 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +1 -0
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +3 -18
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +3 -18
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +1 -0
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-last-fired-at.mjs","names":[],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).passthrough().describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-last-fired-at.mjs","names":[],"sources":["../../src/actions/get-app-last-fired-at.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsGetAppLastFiredAtInput = z.object({\n app_id: z.string().describe(\"The ID of the app to get the last fired at report. This is typically the app's bundle identifier (e.g., 'com.reddit.frontpage' for Android or iOS apps).\"),\n}).describe(\"Request model for getting the last time mobile conversion events were fired for an app.\");\nconst RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema = z.object({\n mobile_conversion_rate: z.string().describe(\"The last time the app had a Rate mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_login: z.string().describe(\"The last time the app had a Login mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_search: z.string().describe(\"The last time the app had a Search mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_view: z.string().describe(\"The last time the app had an Ad View mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_install: z.string().describe(\"The last time the app had an Install mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_sign_up: z.string().describe(\"The last time the app had a Sign Up mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_ad_click: z.string().describe(\"The last time the app had an Ad Click mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_checkout: z.string().describe(\"The last time the app had a Checkout mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_purchase: z.string().describe(\"The last time the app had a Purchase mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_reinstall: z.string().describe(\"The last time the app had a Reinstall mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_subscribe: z.string().describe(\"The last time the app had a Subscribe mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_app_launch: z.string().describe(\"The last time the app had an App Launch mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_cart: z.string().describe(\"The last time the app had an Add To Cart mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_start_trial: z.string().describe(\"The last time the app had a Start Trial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_view_content: z.string().describe(\"The last time the app had a View Content mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_spend_credits: z.string().describe(\"The last time the app had a Spend Credits mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_level_achieved: z.string().describe(\"The last time the app had a Level Achieved mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_to_wishlist: z.string().describe(\"The last time the app had an Add To Wishlist mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_started: z.string().describe(\"The last time the app had an Onboard Started mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_add_payment_info: z.string().describe(\"The last time the app had an Add Payment Info mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_onboard_completed: z.string().describe(\"The last time the app had an Onboard Completed mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_completed_tutorial: z.string().describe(\"The last time the app had a Completed Tutorial mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_unlock_achievement: z.string().describe(\"The last time the app had an Unlock Achievement mobile conversion event fire.\").nullable().optional(),\n mobile_conversion_first_time_purchase: z.string().describe(\"The last time the app had a First Time Purchase mobile conversion event fire.\").nullable().optional(),\n}).passthrough().describe(\"Data model containing timestamps for when each mobile conversion event last fired for an app.\\nAll timestamps are in ISO 8601 date-time format. Fields will be null if the event has never fired.\");\nexport const RedditAdsGetAppLastFiredAtOutput = z.object({\n data: RedditAdsGetAppLastFiredAt_AppLastFiredAtDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the last fired at report for an app's mobile conversion events.\");\n\nexport const redditAdsGetAppLastFiredAt: AppAction<\n typeof RedditAdsGetAppLastFiredAtInput,\n typeof RedditAdsGetAppLastFiredAtOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_GET_APP_LAST_FIRED_AT\", {\n slug: \"reddit_ads-get-app-last-fired-at\",\n name: \"Get App Last Fired At Report\",\n description: \"Tool to retrieve the last time mobile conversion events were fired for a specific app ID. Use when you need to check conversion tracking status or verify that mobile events are being received. Rate limit: 30 requests per 60 seconds (Conversion Signals).\",\n input: RedditAdsGetAppLastFiredAtInput,\n output: RedditAdsGetAppLastFiredAtOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EACxL,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,sDAAsD,EAAE,OAAO;CACnE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CA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O,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,uCAAuC,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAK7N,MAAa,6BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,MAAM,oDAAoD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.cjs","names":["z","action"],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-business.cjs","names":["z","action"],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetBusinessInput,\n typeof RedditAdsGetBusinessOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-business.d.ts
|
|
@@ -19,21 +21,7 @@ declare const RedditAdsGetBusinessOutput: z.ZodObject<{
|
|
|
19
21
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsGetBusiness:
|
|
23
|
-
business_id: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsGetBusiness: AppAction<typeof RedditAdsGetBusinessInput, typeof RedditAdsGetBusinessOutput, typeof redditAds.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { redditAdsGetBusiness };
|
|
39
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":"
|
|
1
|
+
{"version":3,"file":"get-business.d.cts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-business.d.ts
|
|
@@ -19,21 +21,7 @@ declare const RedditAdsGetBusinessOutput: z.ZodObject<{
|
|
|
19
21
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsGetBusiness:
|
|
23
|
-
business_id: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsGetBusiness: AppAction<typeof RedditAdsGetBusinessInput, typeof RedditAdsGetBusinessOutput, typeof redditAds.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { redditAdsGetBusiness };
|
|
39
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":"
|
|
1
|
+
{"version":3,"file":"get-business.d.mts","names":[],"sources":["../../src/actions/get-business.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-business.mjs","names":[],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetBusinessInput = z.object({\n business_id: z.string().describe(\"The ID of the business to get. This endpoint requires the member to have memberships to the business.\"),\n}).describe(\"Request model for fetching a business by ID.\");\nconst RedditAdsGetBusiness_BusinessSchema = z.object({\n id: z.string().describe(\"The unique identifier of the business\").nullable(),\n name: z.string().describe(\"The name of the business\").nullable(),\n phone: z.string().describe(\"The phone number of the business\").nullable().optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business\").nullable().optional(),\n industry: z.string().describe(\"The industry for the business\").nullable(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601\").nullable(),\n creator_id: z.string().describe(\"The identifier for the member that created the business\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601\").nullable(),\n website_url: z.string().describe(\"The website URL for the business\").nullable().optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency\").nullable(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-business.mjs","names":[],"sources":["../../src/actions/get-business.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetBusinessInput,\n typeof RedditAdsGetBusinessOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-campaign.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetCampaignInput,\n typeof RedditAdsGetCampaignOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACxE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC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AQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign.d.ts
|
|
@@ -36,21 +38,7 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
|
36
38
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const redditAdsGetCampaign:
|
|
40
|
-
campaign_id: string;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const redditAdsGetCampaign: AppAction<typeof RedditAdsGetCampaignInput, typeof RedditAdsGetCampaignOutput, typeof redditAds.credential>;
|
|
54
42
|
//#endregion
|
|
55
43
|
export { redditAdsGetCampaign };
|
|
56
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":"
|
|
1
|
+
{"version":3,"file":"get-campaign.d.cts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAkCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign.d.ts
|
|
@@ -36,21 +38,7 @@ declare const RedditAdsGetCampaignOutput: z.ZodObject<{
|
|
|
36
38
|
is_campaign_budget_optimization: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const redditAdsGetCampaign:
|
|
40
|
-
campaign_id: string;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const redditAdsGetCampaign: AppAction<typeof RedditAdsGetCampaignInput, typeof RedditAdsGetCampaignOutput, typeof redditAds.credential>;
|
|
54
42
|
//#endregion
|
|
55
43
|
export { redditAdsGetCampaign };
|
|
56
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":"
|
|
1
|
+
{"version":3,"file":"get-campaign.d.mts","names":[],"sources":["../../src/actions/get-campaign.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAkCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetCampaignInput = z.object({\n campaign_id: z.string().describe(\"The ID of the campaign to retrieve.\"),\n}).describe(\"Request model for fetching a specific Reddit Ads campaign by ID.\");\nconst RedditAdsGetCampaign_SkadnetworkMetadataSchema = z.object({\n status: z.string().describe(\"The status of the SKAdNetwork metadata.\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-campaign.mjs","names":[],"sources":["../../src/actions/get-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetCampaignInput,\n typeof RedditAdsGetCampaignOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,M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AiC,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChannelPlanningReachInput = z.object({\n gender: z.enum([\"MALE\", \"FEMALE\", \"ALL\"]).describe(\"Gender for targeting.\").optional(),\n max_age: z.number().int().describe(\"The maximum age for targeting. Must be greater than min_age. Defaults to 99 if not specified. 99 represents ages 99 and older.\").optional(),\n min_age: z.number().int().describe(\"The minimum age for targeting. Must be less than max_age. Defaults to 18 if not specified.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page. Used for pagination.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Used for pagination.\").optional(),\n geolocation: z.enum([\"US\", \"CA\", \"GB\"]).describe(\"The country code for targeting. Supported values: US (United States), CA (Canada), GB (United Kingdom).\"),\n duration_days: z.union([z.literal(7), z.literal(28)]).describe(\"Number of days in the reach prediction window. Must be either 7 or 28 days.\"),\n});\nconst RedditAdsGetChannelPlanningReach_ReachEstimateSchema = z.object({\n reach: z.number().int().describe(\"The estimated reach (unique users) for the given impression count.\").nullable(),\n impressions: z.number().int().describe(\"The number of impressions for this data point.\").nullable(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.cjs","names":["z","action"],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetChannelPlanningReachInput,\n typeof RedditAdsGetChannelPlanningReachOutput,\n typeof redditAds.credential\n> = 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: RedditAdsGetChannelPlanningReach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vQ,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,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-channel-planning-reach.d.ts
|
|
@@ -28,27 +30,7 @@ declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
|
|
|
28
30
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const redditAdsGetChannelPlanningReach:
|
|
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<"reddit_ads", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
accessToken: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const redditAdsGetChannelPlanningReach: AppAction<typeof RedditAdsGetChannelPlanningReachInput, typeof RedditAdsGetChannelPlanningReachOutput, typeof redditAds.credential>;
|
|
52
34
|
//#endregion
|
|
53
35
|
export { redditAdsGetChannelPlanningReach };
|
|
54
36
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.d.cts","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-channel-planning-reach.d.ts
|
|
@@ -28,27 +30,7 @@ declare const RedditAdsGetChannelPlanningReachOutput: z.ZodObject<{
|
|
|
28
30
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const redditAdsGetChannelPlanningReach:
|
|
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<"reddit_ads", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
accessToken: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const redditAdsGetChannelPlanningReach: AppAction<typeof RedditAdsGetChannelPlanningReachInput, typeof RedditAdsGetChannelPlanningReachOutput, typeof redditAds.credential>;
|
|
52
34
|
//#endregion
|
|
53
35
|
export { redditAdsGetChannelPlanningReach };
|
|
54
36
|
//# sourceMappingURL=get-channel-planning-reach.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-channel-planning-reach.d.mts","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.d.mts","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-channel-planning-reach.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"get-channel-planning-reach.mjs","names":[],"sources":["../../src/actions/get-channel-planning-reach.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsGetChannelPlanningReachInput,\n typeof RedditAdsGetChannelPlanningReachOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAA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AsH;EACnM,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-child-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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. Follow this URL directly without modifying query parameters\").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. Follow this URL directly without modifying query parameters\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-child-funding-instruments.cjs","names":["z","action"],"sources":["../../src/actions/get-child-funding-instruments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsGetChildFundingInstrumentsInput = z.object({\n \"page.size\": z.number().int().describe(\"The number of items to be returned per page\").optional(),\n \"page.token\": z.string().describe(\"The token for the page to retrieve. Use this to fetch subsequent pages of results\").optional(),\n funding_instrument_id: z.string().describe(\"The ID of the parent funding instrument to retrieve allocations for\"),\n}).describe(\"Request model for getting child funding instrument allocations.\");\nconst RedditAdsGetChildFundingInstruments_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the funding instrument\").nullable(),\n name: z.string().describe(\"Name of the funding instrument allocation\").nullable().optional(),\n currency: z.string().describe(\"Currency code for monetary amounts (e.g., USD, EUR)\").nullable(),\n end_time: z.string().describe(\"ISO 8601 timestamp when this allocation expires\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when this allocation becomes active\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is currently servable for ad delivery\").nullable(),\n credit_limit: z.number().int().describe(\"Credit limit for this allocation, in minor currency units\").nullable(),\n billable_amount: z.number().int().describe(\"Amount available for billing, typically in minor currency units (e.g., cents)\").nullable(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Status of the associated invoice group\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"List of reasons why the instrument is not servable, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single funding instrument allocation record.\");\nconst RedditAdsGetChildFundingInstruments_PaginationInfoSchema = 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. Follow this URL directly without modifying query parameters\").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. Follow this URL directly without modifying query parameters\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsGetChildFundingInstrumentsOutput = z.object({\n data: z.array(RedditAdsGetChildFundingInstruments_FundingInstrumentSchema).describe(\"List of funding instrument allocations\"),\n pagination: RedditAdsGetChildFundingInstruments_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing funding instrument allocations and pagination info.\");\n\nexport const redditAdsGetChildFundingInstruments: AppAction<\n typeof RedditAdsGetChildFundingInstrumentsInput,\n typeof RedditAdsGetChildFundingInstrumentsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_GET_CHILD_FUNDING_INSTRUMENTS\", {\n slug: \"reddit_ads-get-child-funding-instruments\",\n name: \"Get Child Funding Instruments\",\n description: \"Tool to retrieve a list of Funding Instrument Allocations for a parent funding instrument. Use when you need to view child allocations, check billing amounts, or verify servability status. Note: This endpoint is rate-limited to 30 requests per 60 seconds under the Billing rate limit category.\",\n input: RedditAdsGetChildFundingInstrumentsInput,\n output: RedditAdsGetChildFundingInstrumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAClH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;CAC5H,YAAY,yDAAyD,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,sCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-child-funding-instruments.d.ts
|
|
@@ -25,23 +27,7 @@ declare const RedditAdsGetChildFundingInstrumentsOutput: z.ZodObject<{
|
|
|
25
27
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const redditAdsGetChildFundingInstruments:
|
|
29
|
-
funding_instrument_id: string;
|
|
30
|
-
"page.size"?: number | undefined;
|
|
31
|
-
"page.token"?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const redditAdsGetChildFundingInstruments: AppAction<typeof RedditAdsGetChildFundingInstrumentsInput, typeof RedditAdsGetChildFundingInstrumentsOutput, typeof redditAds.credential>;
|
|
45
31
|
//#endregion
|
|
46
32
|
export { redditAdsGetChildFundingInstruments };
|
|
47
33
|
//# sourceMappingURL=get-child-funding-instruments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-child-funding-instruments.d.cts","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-child-funding-instruments.d.cts","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-child-funding-instruments.d.ts
|
|
@@ -25,23 +27,7 @@ declare const RedditAdsGetChildFundingInstrumentsOutput: z.ZodObject<{
|
|
|
25
27
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const redditAdsGetChildFundingInstruments:
|
|
29
|
-
funding_instrument_id: string;
|
|
30
|
-
"page.size"?: number | undefined;
|
|
31
|
-
"page.token"?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const redditAdsGetChildFundingInstruments: AppAction<typeof RedditAdsGetChildFundingInstrumentsInput, typeof RedditAdsGetChildFundingInstrumentsOutput, typeof redditAds.credential>;
|
|
45
31
|
//#endregion
|
|
46
32
|
export { redditAdsGetChildFundingInstruments };
|
|
47
33
|
//# sourceMappingURL=get-child-funding-instruments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-child-funding-instruments.d.mts","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-child-funding-instruments.d.mts","names":[],"sources":["../../src/actions/get-child-funding-instruments.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAsBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|