@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":"query-funding-instruments-by-business.mjs","names":[],"sources":["../../src/actions/query-funding-instruments-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-funding-instruments-by-business.mjs","names":[],"sources":["../../src/actions/query-funding-instruments-by-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 RedditAdsQueryFundingInstrumentsByBusinessInput = z.object({\n data: z.object({\n mode: z.enum([\"ACTIVE\", \"ALL\"]).describe(\"Mode for filtering funding instruments.\").optional(),\n partner_business_id: z.string().describe(\"When a partner business ID is provided the endpoint returns funding that is shared with the given partner only. When null the endpoint lists all funding instruments owned by the business id in the path.\").optional(),\n funding_instrument_ids: z.array(z.string()).describe(\"A list of credit line IDs to filter by.\").optional(),\n}).describe(\"Data payload for querying funding instruments.\").optional(),\n search: z.string().describe(\"A search term to filter funding instruments by name, ID, or type.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned by page.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve.\").optional(),\n business_id: z.string().describe(\"The ID of the business to query funding instruments for.\"),\n}).describe(\"Request schema for querying funding instruments by business.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema = z.object({\n id: z.string().describe(\"Funding instrument ID.\").nullable().optional(),\n name: z.string().describe(\"Funding instrument name.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n end_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument ends.\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 timestamp when the funding instrument starts.\").nullable().optional(),\n is_servable: z.boolean().describe(\"Whether the funding instrument is servable.\").nullable().optional(),\n credit_limit: z.number().int().describe(\"Credit limit in cents.\").nullable().optional(),\n billable_amount: z.number().int().describe(\"Billable amount in cents.\").nullable().optional(),\n authorize_status: z.string().describe(\"Authorization status of the funding instrument.\").nullable().optional(),\n invoice_group_status: z.string().describe(\"Invoice group status.\").nullable().optional(),\n reasons_not_servable: z.array(z.string()).describe(\"Reasons why the funding instrument is not servable.\").nullable().optional(),\n}).passthrough().describe(\"Funding instrument details.\");\nconst RedditAdsQueryFundingInstrumentsByBusiness_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.\");\nexport const RedditAdsQueryFundingInstrumentsByBusinessOutput = z.object({\n data: z.array(RedditAdsQueryFundingInstrumentsByBusiness_FundingInstrumentSchema).describe(\"List of funding instruments.\"),\n pagination: RedditAdsQueryFundingInstrumentsByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for querying funding instruments by business.\");\n\nexport const redditAdsQueryFundingInstrumentsByBusiness: AppAction<\n typeof RedditAdsQueryFundingInstrumentsByBusinessInput,\n typeof RedditAdsQueryFundingInstrumentsByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_QUERY_FUNDING_INSTRUMENTS_BY_BUSINESS\", {\n slug: \"reddit_ads-query-funding-instruments-by-business\",\n name: \"Query funding instruments by business\",\n description: \"Query funding instruments (credit lines) by business with pagination support. Use when you need to retrieve or filter funding instruments for a Reddit Ads business account. Requires adsread OAuth scope. Rate limit: 30 requests per 60 seconds (Billing category).\",\n input: RedditAdsQueryFundingInstrumentsByBusinessInput,\n output: RedditAdsQueryFundingInstrumentsByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;EAChQ,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACr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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,8DAA8D,EAAE,OAAO;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAMnD,MAAa,6CAIT,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,8BAA8B;EACzH,YAAY,4DAA4D,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-communities.cjs","names":["z","action"],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_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. Follow this URL directly without modifying it.\").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 it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-communities.cjs","names":["z","action"],"sources":["../../src/actions/search-communities.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 RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_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. Follow this URL directly without modifying it.\").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 it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities: AppAction<\n typeof RedditAdsSearchCommunitiesInput,\n typeof RedditAdsSearchCommunitiesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAWA,I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,CAAC,CAAC,SAAS,gDAAgD;CACnH,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-communities.d.ts
|
|
@@ -20,23 +22,7 @@ declare const RedditAdsSearchCommunitiesOutput: z.ZodObject<{
|
|
|
20
22
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const redditAdsSearchCommunities:
|
|
24
|
-
query?: string | undefined;
|
|
25
|
-
page_size?: number | undefined;
|
|
26
|
-
page_token?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const redditAdsSearchCommunities: AppAction<typeof RedditAdsSearchCommunitiesInput, typeof RedditAdsSearchCommunitiesOutput, typeof redditAds.credential>;
|
|
40
26
|
//#endregion
|
|
41
27
|
export { redditAdsSearchCommunities };
|
|
42
28
|
//# sourceMappingURL=search-communities.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-communities.d.cts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-communities.d.cts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-communities.d.ts
|
|
@@ -20,23 +22,7 @@ declare const RedditAdsSearchCommunitiesOutput: z.ZodObject<{
|
|
|
20
22
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const redditAdsSearchCommunities:
|
|
24
|
-
query?: string | undefined;
|
|
25
|
-
page_size?: number | undefined;
|
|
26
|
-
page_token?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const redditAdsSearchCommunities: AppAction<typeof RedditAdsSearchCommunitiesInput, typeof RedditAdsSearchCommunitiesOutput, typeof redditAds.credential>;
|
|
40
26
|
//#endregion
|
|
41
27
|
export { redditAdsSearchCommunities };
|
|
42
28
|
//# sourceMappingURL=search-communities.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-communities.d.mts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-communities.d.mts","names":[],"sources":["../../src/actions/search-communities.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-communities.mjs","names":[],"sources":["../../src/actions/search-communities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_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. Follow this URL directly without modifying it.\").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 it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-communities.mjs","names":[],"sources":["../../src/actions/search-communities.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 RedditAdsSearchCommunitiesInput = z.object({\n query: z.string().describe(\"A string that will be used to query (search) for communities by name or by topics. If parameter is empty or not included, it will return all subreddits.\").optional(),\n page_size: z.number().int().describe(\"The number of items to be returned per page. Controls pagination page size.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the token from pagination.next_url to fetch the next page of results.\").optional(),\n}).describe(\"Request model for searching communities. Supports filtering by name or topic and pagination for large result sets.\");\nconst RedditAdsSearchCommunities_CommunitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the community.\").nullable(),\n name: z.string().describe(\"Name of the community (subreddit).\").nullable(),\n icon_url: z.string().describe(\"URL to the community's icon.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the community belongs to.\").nullable().optional(),\n description: z.string().describe(\"Description of the community.\").nullable().optional(),\n subscriber_count: z.number().int().describe(\"Number of subscribers in the community.\").nullable(),\n}).passthrough().describe(\"Represents a single community returned by the Reddit Ads API.\");\nconst RedditAdsSearchCommunities_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. Follow this URL directly without modifying it.\").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 it.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through community search results.\");\nexport const RedditAdsSearchCommunitiesOutput = z.object({\n data: z.array(RedditAdsSearchCommunities_CommunitySchema).describe(\"List of communities matching the search query.\"),\n pagination: RedditAdsSearchCommunities_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for searching communities with pagination.\");\n\nexport const redditAdsSearchCommunities: AppAction<\n typeof RedditAdsSearchCommunitiesInput,\n typeof RedditAdsSearchCommunitiesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_SEARCH_COMMUNITIES\", {\n slug: \"reddit_ads-search-communities\",\n name: \"Search Communities\",\n description: \"Tool to search for Reddit communities based on their name or topic. Use when you need to find subreddits for ad targeting purposes. Returns all communities if no query is provided.\",\n input: RedditAdsSearchCommunitiesInput,\n output: RedditAdsSearchCommunitiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAChM,WAAW,EAAE,O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,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-ad-account.cjs","names":["z","action"],"sources":["../../src/actions/update-ad-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateAdAccountInput = z.object({\n data: z.object({\n name: z.string().describe(\"The ad account name. Must be between 3 and 500 characters\").optional(),\n type: z.enum([\"MANAGED\", \"SELF_SERVE\"]).describe(\"Type of ad account.\").optional(),\n admin_approval: z.enum([\"ADMIN\", \"BANNED\", \"NEEDS_ID_VERIFICATION\", \"PENDING\", \"SUSPENDED\", \"SUSPICIOUS\", \"TRUSTED\", \"VALID\"]).describe(\"Employee-set state for the account.\").optional(),\n spend_cap_type: z.enum([\"LIFETIME\"]).describe(\"Type of spend cap applied to the ad account.\").optional(),\n attribution_type: z.enum([\"ALL_CONVERSION\", \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\"]).describe(\"Attribution type for CPA bid types.\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level list of excluded keywords for targeting\").optional(),\n suspension_reason: z.enum([\"ADVERTISING_POLICY\", \"BEHAVIOR\", \"FRAUD\", \"OTHER\", \"KYC_CHECK_FAILED\"]).describe(\"Reason why the ad account was suspended.\").optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level list of excluded subreddit communities\").optional(),\n view_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n click_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed by the advertiser\").optional(),\n primary_contact_member_id: z.string().describe(\"The ID of the primary contact member for this account\").optional(),\n}).describe(\"Ad account fields to update. Only include fields you want to modify\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to update. Must start with 't2_' or 'a2_'\"),\n}).describe(\"Request to update a Reddit ad account.\");\nconst RedditAdsUpdateAdAccount_AdAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the ad account\").nullable().optional(),\n name: z.string().describe(\"The ad account name\").nullable().optional(),\n type: z.string().describe(\"Type of the ad account\").nullable().optional(),\n currency: z.string().describe(\"Currency used by the ad account\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with the account\").nullable().optional(),\n modified_at: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for the account\").nullable().optional(),\n admin_approval: z.string().describe(\"Employee-set state for the account\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Type of spend cap applied\").nullable().optional(),\n attribution_type: z.string().describe(\"The attribution type\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level excluded keywords\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if applicable\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level excluded communities\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID\").nullable().optional(),\n}).passthrough().describe(\"Updated ad account data in the response.\");\nexport const RedditAdsUpdateAdAccountOutput = z.object({\n data: RedditAdsUpdateAdAccount_AdAccountResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated ad account.\");\n\nexport const redditAdsUpdateAdAccount = action(\"REDDIT_ADS_UPDATE_AD_ACCOUNT\", {\n slug: \"reddit_ads-update-ad-account\",\n name: \"Update Ad Account\",\n description: \"Tool to update a Reddit ad account configuration. Use when you need to modify account settings like name, attribution windows, excluded communities/keywords, or account approval state. Subject to Campaign Management Write rate limit: 200 requests per 60 seconds.\",\n input: RedditAdsUpdateAdAccountInput,\n output: RedditAdsUpdateAdAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-ad-account.cjs","names":["z","action"],"sources":["../../src/actions/update-ad-account.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 RedditAdsUpdateAdAccountInput = z.object({\n data: z.object({\n name: z.string().describe(\"The ad account name. Must be between 3 and 500 characters\").optional(),\n type: z.enum([\"MANAGED\", \"SELF_SERVE\"]).describe(\"Type of ad account.\").optional(),\n admin_approval: z.enum([\"ADMIN\", \"BANNED\", \"NEEDS_ID_VERIFICATION\", \"PENDING\", \"SUSPENDED\", \"SUSPICIOUS\", \"TRUSTED\", \"VALID\"]).describe(\"Employee-set state for the account.\").optional(),\n spend_cap_type: z.enum([\"LIFETIME\"]).describe(\"Type of spend cap applied to the ad account.\").optional(),\n attribution_type: z.enum([\"ALL_CONVERSION\", \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\"]).describe(\"Attribution type for CPA bid types.\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level list of excluded keywords for targeting\").optional(),\n suspension_reason: z.enum([\"ADVERTISING_POLICY\", \"BEHAVIOR\", \"FRAUD\", \"OTHER\", \"KYC_CHECK_FAILED\"]).describe(\"Reason why the ad account was suspended.\").optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level list of excluded subreddit communities\").optional(),\n view_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n click_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed by the advertiser\").optional(),\n primary_contact_member_id: z.string().describe(\"The ID of the primary contact member for this account\").optional(),\n}).describe(\"Ad account fields to update. Only include fields you want to modify\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to update. Must start with 't2_' or 'a2_'\"),\n}).describe(\"Request to update a Reddit ad account.\");\nconst RedditAdsUpdateAdAccount_AdAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the ad account\").nullable().optional(),\n name: z.string().describe(\"The ad account name\").nullable().optional(),\n type: z.string().describe(\"Type of the ad account\").nullable().optional(),\n currency: z.string().describe(\"Currency used by the ad account\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with the account\").nullable().optional(),\n modified_at: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for the account\").nullable().optional(),\n admin_approval: z.string().describe(\"Employee-set state for the account\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Type of spend cap applied\").nullable().optional(),\n attribution_type: z.string().describe(\"The attribution type\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level excluded keywords\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if applicable\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level excluded communities\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID\").nullable().optional(),\n}).passthrough().describe(\"Updated ad account data in the response.\");\nexport const RedditAdsUpdateAdAccountOutput = z.object({\n data: RedditAdsUpdateAdAccount_AdAccountResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated ad account.\");\n\nexport const redditAdsUpdateAdAccount: AppAction<\n typeof RedditAdsUpdateAdAccountInput,\n typeof RedditAdsUpdateAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_AD_ACCOUNT\", {\n slug: \"reddit_ads-update-ad-account\",\n name: \"Update Ad Account\",\n description: \"Tool to update a Reddit ad account configuration. Use when you need to modify account settings like name, attribution windows, excluded communities/keywords, or account approval state. Subject to Campaign Management Write rate limit: 200 requests per 60 seconds.\",\n input: RedditAdsUpdateAdAccountInput,\n output: RedditAdsUpdateAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,YAAY,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACjF,gBAAgBA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAU;GAAyB;GAAW;GAAa;GAAc;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxL,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvG,kBAAkBA,IAAAA,EAAE,KAAK;GAAC;GAAkB;GAA4B;EAAyB,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7J,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClH,mBAAmBA,IAAAA,EAAE,KAAK;GAAC;GAAsB;GAAY;GAAS;GAAS;EAAkB,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAClK,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpH,yBAAyBA,IAAAA,EAAE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EAAE,OAAO,EACrD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-ad-account.d.ts
|
|
@@ -72,35 +74,7 @@ declare const RedditAdsUpdateAdAccountOutput: z.ZodObject<{
|
|
|
72
74
|
primary_contact_member_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
75
|
}, z.core.$loose>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const redditAdsUpdateAdAccount:
|
|
76
|
-
data: {
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
type?: "MANAGED" | "SELF_SERVE" | undefined;
|
|
79
|
-
admin_approval?: "VALID" | "ADMIN" | "BANNED" | "NEEDS_ID_VERIFICATION" | "PENDING" | "SUSPENDED" | "SUSPICIOUS" | "TRUSTED" | undefined;
|
|
80
|
-
spend_cap_type?: "LIFETIME" | undefined;
|
|
81
|
-
attribution_type?: "ALL_CONVERSION" | "CLICK_THROUGH_CONVERSION" | "VIEW_THROUGH_CONVERSION" | undefined;
|
|
82
|
-
excluded_keywords?: string[] | undefined;
|
|
83
|
-
suspension_reason?: "ADVERTISING_POLICY" | "BEHAVIOR" | "FRAUD" | "OTHER" | "KYC_CHECK_FAILED" | undefined;
|
|
84
|
-
excluded_communities?: string[] | undefined;
|
|
85
|
-
view_attribution_window?: "DAY" | "WEEK" | "MONTH" | undefined;
|
|
86
|
-
click_attribution_window?: "DAY" | "WEEK" | "MONTH" | undefined;
|
|
87
|
-
pixel_partner_preferences?: string[] | undefined;
|
|
88
|
-
primary_contact_member_id?: string | undefined;
|
|
89
|
-
};
|
|
90
|
-
ad_account_id: string;
|
|
91
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
92
|
-
connectionId: z.ZodString;
|
|
93
|
-
entityId: z.ZodString;
|
|
94
|
-
instanceId: z.ZodString;
|
|
95
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
-
accessToken: z.ZodString;
|
|
97
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
98
|
-
connectionId: z.ZodString;
|
|
99
|
-
entityId: z.ZodString;
|
|
100
|
-
instanceId: z.ZodString;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
accessToken: z.ZodString;
|
|
103
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const redditAdsUpdateAdAccount: AppAction<typeof RedditAdsUpdateAdAccountInput, typeof RedditAdsUpdateAdAccountOutput, typeof redditAds.credential>;
|
|
104
78
|
//#endregion
|
|
105
79
|
export { redditAdsUpdateAdAccount };
|
|
106
80
|
//# sourceMappingURL=update-ad-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-ad-account.d.cts","names":[],"sources":["../../src/actions/update-ad-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-ad-account.d.cts","names":[],"sources":["../../src/actions/update-ad-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-ad-account.d.ts
|
|
@@ -72,35 +74,7 @@ declare const RedditAdsUpdateAdAccountOutput: z.ZodObject<{
|
|
|
72
74
|
primary_contact_member_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
75
|
}, z.core.$loose>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const redditAdsUpdateAdAccount:
|
|
76
|
-
data: {
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
type?: "MANAGED" | "SELF_SERVE" | undefined;
|
|
79
|
-
admin_approval?: "VALID" | "ADMIN" | "BANNED" | "NEEDS_ID_VERIFICATION" | "PENDING" | "SUSPENDED" | "SUSPICIOUS" | "TRUSTED" | undefined;
|
|
80
|
-
spend_cap_type?: "LIFETIME" | undefined;
|
|
81
|
-
attribution_type?: "ALL_CONVERSION" | "CLICK_THROUGH_CONVERSION" | "VIEW_THROUGH_CONVERSION" | undefined;
|
|
82
|
-
excluded_keywords?: string[] | undefined;
|
|
83
|
-
suspension_reason?: "ADVERTISING_POLICY" | "BEHAVIOR" | "FRAUD" | "OTHER" | "KYC_CHECK_FAILED" | undefined;
|
|
84
|
-
excluded_communities?: string[] | undefined;
|
|
85
|
-
view_attribution_window?: "DAY" | "WEEK" | "MONTH" | undefined;
|
|
86
|
-
click_attribution_window?: "DAY" | "WEEK" | "MONTH" | undefined;
|
|
87
|
-
pixel_partner_preferences?: string[] | undefined;
|
|
88
|
-
primary_contact_member_id?: string | undefined;
|
|
89
|
-
};
|
|
90
|
-
ad_account_id: string;
|
|
91
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
92
|
-
connectionId: z.ZodString;
|
|
93
|
-
entityId: z.ZodString;
|
|
94
|
-
instanceId: z.ZodString;
|
|
95
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
-
accessToken: z.ZodString;
|
|
97
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
98
|
-
connectionId: z.ZodString;
|
|
99
|
-
entityId: z.ZodString;
|
|
100
|
-
instanceId: z.ZodString;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
accessToken: z.ZodString;
|
|
103
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const redditAdsUpdateAdAccount: AppAction<typeof RedditAdsUpdateAdAccountInput, typeof RedditAdsUpdateAdAccountOutput, typeof redditAds.credential>;
|
|
104
78
|
//#endregion
|
|
105
79
|
export { redditAdsUpdateAdAccount };
|
|
106
80
|
//# sourceMappingURL=update-ad-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-ad-account.d.mts","names":[],"sources":["../../src/actions/update-ad-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-ad-account.d.mts","names":[],"sources":["../../src/actions/update-ad-account.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-ad-account.mjs","names":[],"sources":["../../src/actions/update-ad-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateAdAccountInput = z.object({\n data: z.object({\n name: z.string().describe(\"The ad account name. Must be between 3 and 500 characters\").optional(),\n type: z.enum([\"MANAGED\", \"SELF_SERVE\"]).describe(\"Type of ad account.\").optional(),\n admin_approval: z.enum([\"ADMIN\", \"BANNED\", \"NEEDS_ID_VERIFICATION\", \"PENDING\", \"SUSPENDED\", \"SUSPICIOUS\", \"TRUSTED\", \"VALID\"]).describe(\"Employee-set state for the account.\").optional(),\n spend_cap_type: z.enum([\"LIFETIME\"]).describe(\"Type of spend cap applied to the ad account.\").optional(),\n attribution_type: z.enum([\"ALL_CONVERSION\", \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\"]).describe(\"Attribution type for CPA bid types.\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level list of excluded keywords for targeting\").optional(),\n suspension_reason: z.enum([\"ADVERTISING_POLICY\", \"BEHAVIOR\", \"FRAUD\", \"OTHER\", \"KYC_CHECK_FAILED\"]).describe(\"Reason why the ad account was suspended.\").optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level list of excluded subreddit communities\").optional(),\n view_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n click_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed by the advertiser\").optional(),\n primary_contact_member_id: z.string().describe(\"The ID of the primary contact member for this account\").optional(),\n}).describe(\"Ad account fields to update. Only include fields you want to modify\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to update. Must start with 't2_' or 'a2_'\"),\n}).describe(\"Request to update a Reddit ad account.\");\nconst RedditAdsUpdateAdAccount_AdAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the ad account\").nullable().optional(),\n name: z.string().describe(\"The ad account name\").nullable().optional(),\n type: z.string().describe(\"Type of the ad account\").nullable().optional(),\n currency: z.string().describe(\"Currency used by the ad account\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with the account\").nullable().optional(),\n modified_at: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for the account\").nullable().optional(),\n admin_approval: z.string().describe(\"Employee-set state for the account\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Type of spend cap applied\").nullable().optional(),\n attribution_type: z.string().describe(\"The attribution type\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level excluded keywords\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if applicable\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level excluded communities\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID\").nullable().optional(),\n}).passthrough().describe(\"Updated ad account data in the response.\");\nexport const RedditAdsUpdateAdAccountOutput = z.object({\n data: RedditAdsUpdateAdAccount_AdAccountResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated ad account.\");\n\nexport const redditAdsUpdateAdAccount = action(\"REDDIT_ADS_UPDATE_AD_ACCOUNT\", {\n slug: \"reddit_ads-update-ad-account\",\n name: \"Update Ad Account\",\n description: \"Tool to update a Reddit ad account configuration. Use when you need to modify account settings like name, attribution windows, excluded communities/keywords, or account approval state. Subject to Campaign Management Write rate limit: 200 requests per 60 seconds.\",\n input: RedditAdsUpdateAdAccountInput,\n output: RedditAdsUpdateAdAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-ad-account.mjs","names":[],"sources":["../../src/actions/update-ad-account.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 RedditAdsUpdateAdAccountInput = z.object({\n data: z.object({\n name: z.string().describe(\"The ad account name. Must be between 3 and 500 characters\").optional(),\n type: z.enum([\"MANAGED\", \"SELF_SERVE\"]).describe(\"Type of ad account.\").optional(),\n admin_approval: z.enum([\"ADMIN\", \"BANNED\", \"NEEDS_ID_VERIFICATION\", \"PENDING\", \"SUSPENDED\", \"SUSPICIOUS\", \"TRUSTED\", \"VALID\"]).describe(\"Employee-set state for the account.\").optional(),\n spend_cap_type: z.enum([\"LIFETIME\"]).describe(\"Type of spend cap applied to the ad account.\").optional(),\n attribution_type: z.enum([\"ALL_CONVERSION\", \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\"]).describe(\"Attribution type for CPA bid types.\").optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level list of excluded keywords for targeting\").optional(),\n suspension_reason: z.enum([\"ADVERTISING_POLICY\", \"BEHAVIOR\", \"FRAUD\", \"OTHER\", \"KYC_CHECK_FAILED\"]).describe(\"Reason why the ad account was suspended.\").optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level list of excluded subreddit communities\").optional(),\n view_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n click_attribution_window: z.enum([\"DAY\", \"WEEK\", \"MONTH\"]).describe(\"Attribution window for reporting.\").optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed by the advertiser\").optional(),\n primary_contact_member_id: z.string().describe(\"The ID of the primary contact member for this account\").optional(),\n}).describe(\"Ad account fields to update. Only include fields you want to modify\"),\n ad_account_id: z.string().describe(\"The ID of the ad account to update. Must start with 't2_' or 'a2_'\"),\n}).describe(\"Request to update a Reddit ad account.\");\nconst RedditAdsUpdateAdAccount_AdAccountResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the ad account\").nullable().optional(),\n name: z.string().describe(\"The ad account name\").nullable().optional(),\n type: z.string().describe(\"Type of the ad account\").nullable().optional(),\n currency: z.string().describe(\"Currency used by the ad account\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n business_id: z.string().describe(\"Business ID associated with the account\").nullable().optional(),\n modified_at: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n time_zone_id: z.string().describe(\"Time zone ID for the account\").nullable().optional(),\n admin_approval: z.string().describe(\"Employee-set state for the account\").nullable().optional(),\n spend_cap_type: z.string().describe(\"Type of spend cap applied\").nullable().optional(),\n attribution_type: z.string().describe(\"The attribution type\").nullable().optional(),\n excluded_keywords: z.array(z.string()).describe(\"Account-level excluded keywords\").nullable().optional(),\n suspension_reason: z.string().describe(\"Reason for suspension if applicable\").nullable().optional(),\n excluded_communities: z.array(z.string()).describe(\"Account-level excluded communities\").nullable().optional(),\n view_attribution_window: z.string().describe(\"View attribution window\").nullable().optional(),\n click_attribution_window: z.string().describe(\"Click attribution window\").nullable().optional(),\n pixel_partner_preferences: z.array(z.string()).describe(\"List of pixel partners allowed\").nullable().optional(),\n primary_contact_member_id: z.string().describe(\"Primary contact member ID\").nullable().optional(),\n}).passthrough().describe(\"Updated ad account data in the response.\");\nexport const RedditAdsUpdateAdAccountOutput = z.object({\n data: RedditAdsUpdateAdAccount_AdAccountResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the updated ad account.\");\n\nexport const redditAdsUpdateAdAccount: AppAction<\n typeof RedditAdsUpdateAdAccountInput,\n typeof RedditAdsUpdateAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_AD_ACCOUNT\", {\n slug: \"reddit_ads-update-ad-account\",\n name: \"Update Ad Account\",\n description: \"Tool to update a Reddit ad account configuration. Use when you need to modify account settings like name, attribution windows, excluded communities/keywords, or account approval state. Subject to Campaign Management Write rate limit: 200 requests per 60 seconds.\",\n input: RedditAdsUpdateAdAccountInput,\n output: RedditAdsUpdateAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC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OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,qDAAqD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-business.cjs","names":["z","action"],"sources":["../../src/actions/update-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateBusinessInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the business.\").optional(),\n phone: z.string().describe(\"The phone number of the business.\").optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business (e.g., USA, GBR, CAN).\").optional(),\n industry: z.enum([\"ADULT\", \"ADVERTISING\", \"ALCOHOL\", \"AUTO\", \"CLOTHING_AND_FASHION\", \"CONSULTING\", \"CONSUMER_PACKAGED_GOODS\", \"DATING\", \"EDUCATION\", \"EMPLOYMENT\", \"ENTERTAINMENT\", \"FINANCIAL_SERVICES\", \"GAMBLING_AND_FANTASY_SPORTS\", \"GAMING\", \"HEALTH_AND_BEAUTY\", \"OTHER\", \"POLITICS_AND_GOVERNMENT\", \"PUBLISHING\", \"REAL_ESTATE\", \"RESTAURANTS_AND_FOOD\", \"RETAIL_AND_ECOMMERCE\", \"SPORTS\", \"TECH_B2B\", \"TECH_B2C\", \"TECH_OTHER\", \"TRAVEL\"]).describe(\"Enum representing the industry types for a business.\").optional(),\n website_url: z.string().describe(\"The website URL for the business.\").optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency.\").optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").optional(),\n}).describe(\"The business data to update.\"),\n business_id: z.string().describe(\"The ID of the business to update.\"),\n}).describe(\"Request parameters to update a business in Reddit Ads.\");\nconst RedditAdsUpdateBusiness_BusinessResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the business.\").nullable().optional(),\n name: z.string().describe(\"The name of the business.\").nullable().optional(),\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().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\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().optional(),\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().optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for business entity.\");\nexport const RedditAdsUpdateBusinessOutput = z.object({\n data: RedditAdsUpdateBusiness_BusinessResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated business details.\");\n\nexport const redditAdsUpdateBusiness = action(\"REDDIT_ADS_UPDATE_BUSINESS\", {\n slug: \"reddit_ads-update-business\",\n name: \"Update Business\",\n description: \"Tool to update a business by ID in Reddit Ads. Use when you need to modify business settings such as name, industry, country, or contact information. Rate limit: 100 requests per 60 seconds for Business Manager operations.\",\n input: RedditAdsUpdateBusinessInput,\n output: RedditAdsUpdateBusinessOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-business.cjs","names":["z","action"],"sources":["../../src/actions/update-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 RedditAdsUpdateBusinessInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the business.\").optional(),\n phone: z.string().describe(\"The phone number of the business.\").optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business (e.g., USA, GBR, CAN).\").optional(),\n industry: z.enum([\"ADULT\", \"ADVERTISING\", \"ALCOHOL\", \"AUTO\", \"CLOTHING_AND_FASHION\", \"CONSULTING\", \"CONSUMER_PACKAGED_GOODS\", \"DATING\", \"EDUCATION\", \"EMPLOYMENT\", \"ENTERTAINMENT\", \"FINANCIAL_SERVICES\", \"GAMBLING_AND_FANTASY_SPORTS\", \"GAMING\", \"HEALTH_AND_BEAUTY\", \"OTHER\", \"POLITICS_AND_GOVERNMENT\", \"PUBLISHING\", \"REAL_ESTATE\", \"RESTAURANTS_AND_FOOD\", \"RETAIL_AND_ECOMMERCE\", \"SPORTS\", \"TECH_B2B\", \"TECH_B2C\", \"TECH_OTHER\", \"TRAVEL\"]).describe(\"Enum representing the industry types for a business.\").optional(),\n website_url: z.string().describe(\"The website URL for the business.\").optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency.\").optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").optional(),\n}).describe(\"The business data to update.\"),\n business_id: z.string().describe(\"The ID of the business to update.\"),\n}).describe(\"Request parameters to update a business in Reddit Ads.\");\nconst RedditAdsUpdateBusiness_BusinessResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the business.\").nullable().optional(),\n name: z.string().describe(\"The name of the business.\").nullable().optional(),\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().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\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().optional(),\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().optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for business entity.\");\nexport const RedditAdsUpdateBusinessOutput = z.object({\n data: RedditAdsUpdateBusiness_BusinessResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated business details.\");\n\nexport const redditAdsUpdateBusiness: AppAction<\n typeof RedditAdsUpdateBusinessInput,\n typeof RedditAdsUpdateBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_BUSINESS\", {\n slug: \"reddit_ads-update-business\",\n name: \"Update Business\",\n description: \"Tool to update a business by ID in Reddit Ads. Use when you need to modify business settings such as name, industry, country, or contact information. Rate limit: 100 requests per 60 seconds for Business Manager operations.\",\n input: RedditAdsUpdateBusinessInput,\n output: RedditAdsUpdateBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,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;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-business.d.ts
|
|
@@ -55,30 +57,7 @@ declare const RedditAdsUpdateBusinessOutput: z.ZodObject<{
|
|
|
55
57
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
}, z.core.$loose>>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const redditAdsUpdateBusiness:
|
|
59
|
-
data: {
|
|
60
|
-
name?: string | undefined;
|
|
61
|
-
phone?: string | undefined;
|
|
62
|
-
country?: string | undefined;
|
|
63
|
-
industry?: "OTHER" | "ADULT" | "ADVERTISING" | "ALCOHOL" | "AUTO" | "CLOTHING_AND_FASHION" | "CONSULTING" | "CONSUMER_PACKAGED_GOODS" | "DATING" | "EDUCATION" | "EMPLOYMENT" | "ENTERTAINMENT" | "FINANCIAL_SERVICES" | "GAMBLING_AND_FANTASY_SPORTS" | "GAMING" | "HEALTH_AND_BEAUTY" | "POLITICS_AND_GOVERNMENT" | "PUBLISHING" | "REAL_ESTATE" | "RESTAURANTS_AND_FOOD" | "RETAIL_AND_ECOMMERCE" | "SPORTS" | "TECH_B2B" | "TECH_B2C" | "TECH_OTHER" | "TRAVEL" | undefined;
|
|
64
|
-
website_url?: string | undefined;
|
|
65
|
-
agency_affiliated?: boolean | undefined;
|
|
66
|
-
primary_contact_id?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
business_id: string;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
accessToken: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
accessToken: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const redditAdsUpdateBusiness: AppAction<typeof RedditAdsUpdateBusinessInput, typeof RedditAdsUpdateBusinessOutput, typeof redditAds.credential>;
|
|
82
61
|
//#endregion
|
|
83
62
|
export { redditAdsUpdateBusiness };
|
|
84
63
|
//# sourceMappingURL=update-business.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-business.d.cts","names":[],"sources":["../../src/actions/update-business.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-business.d.cts","names":[],"sources":["../../src/actions/update-business.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-business.d.ts
|
|
@@ -55,30 +57,7 @@ declare const RedditAdsUpdateBusinessOutput: z.ZodObject<{
|
|
|
55
57
|
primary_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
}, z.core.$loose>>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const redditAdsUpdateBusiness:
|
|
59
|
-
data: {
|
|
60
|
-
name?: string | undefined;
|
|
61
|
-
phone?: string | undefined;
|
|
62
|
-
country?: string | undefined;
|
|
63
|
-
industry?: "OTHER" | "ADULT" | "ADVERTISING" | "ALCOHOL" | "AUTO" | "CLOTHING_AND_FASHION" | "CONSULTING" | "CONSUMER_PACKAGED_GOODS" | "DATING" | "EDUCATION" | "EMPLOYMENT" | "ENTERTAINMENT" | "FINANCIAL_SERVICES" | "GAMBLING_AND_FANTASY_SPORTS" | "GAMING" | "HEALTH_AND_BEAUTY" | "POLITICS_AND_GOVERNMENT" | "PUBLISHING" | "REAL_ESTATE" | "RESTAURANTS_AND_FOOD" | "RETAIL_AND_ECOMMERCE" | "SPORTS" | "TECH_B2B" | "TECH_B2C" | "TECH_OTHER" | "TRAVEL" | undefined;
|
|
64
|
-
website_url?: string | undefined;
|
|
65
|
-
agency_affiliated?: boolean | undefined;
|
|
66
|
-
primary_contact_id?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
business_id: string;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
accessToken: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
accessToken: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const redditAdsUpdateBusiness: AppAction<typeof RedditAdsUpdateBusinessInput, typeof RedditAdsUpdateBusinessOutput, typeof redditAds.credential>;
|
|
82
61
|
//#endregion
|
|
83
62
|
export { redditAdsUpdateBusiness };
|
|
84
63
|
//# sourceMappingURL=update-business.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-business.d.mts","names":[],"sources":["../../src/actions/update-business.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-business.d.mts","names":[],"sources":["../../src/actions/update-business.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-business.mjs","names":[],"sources":["../../src/actions/update-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsUpdateBusinessInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the business.\").optional(),\n phone: z.string().describe(\"The phone number of the business.\").optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business (e.g., USA, GBR, CAN).\").optional(),\n industry: z.enum([\"ADULT\", \"ADVERTISING\", \"ALCOHOL\", \"AUTO\", \"CLOTHING_AND_FASHION\", \"CONSULTING\", \"CONSUMER_PACKAGED_GOODS\", \"DATING\", \"EDUCATION\", \"EMPLOYMENT\", \"ENTERTAINMENT\", \"FINANCIAL_SERVICES\", \"GAMBLING_AND_FANTASY_SPORTS\", \"GAMING\", \"HEALTH_AND_BEAUTY\", \"OTHER\", \"POLITICS_AND_GOVERNMENT\", \"PUBLISHING\", \"REAL_ESTATE\", \"RESTAURANTS_AND_FOOD\", \"RETAIL_AND_ECOMMERCE\", \"SPORTS\", \"TECH_B2B\", \"TECH_B2C\", \"TECH_OTHER\", \"TRAVEL\"]).describe(\"Enum representing the industry types for a business.\").optional(),\n website_url: z.string().describe(\"The website URL for the business.\").optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency.\").optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").optional(),\n}).describe(\"The business data to update.\"),\n business_id: z.string().describe(\"The ID of the business to update.\"),\n}).describe(\"Request parameters to update a business in Reddit Ads.\");\nconst RedditAdsUpdateBusiness_BusinessResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the business.\").nullable().optional(),\n name: z.string().describe(\"The name of the business.\").nullable().optional(),\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().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\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().optional(),\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().optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for business entity.\");\nexport const RedditAdsUpdateBusinessOutput = z.object({\n data: RedditAdsUpdateBusiness_BusinessResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated business details.\");\n\nexport const redditAdsUpdateBusiness = action(\"REDDIT_ADS_UPDATE_BUSINESS\", {\n slug: \"reddit_ads-update-business\",\n name: \"Update Business\",\n description: \"Tool to update a business by ID in Reddit Ads. Use when you need to modify business settings such as name, industry, country, or contact information. Rate limit: 100 requests per 60 seconds for Business Manager operations.\",\n input: RedditAdsUpdateBusinessInput,\n output: RedditAdsUpdateBusinessOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-business.mjs","names":[],"sources":["../../src/actions/update-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 RedditAdsUpdateBusinessInput = z.object({\n data: z.object({\n name: z.string().describe(\"The name of the business.\").optional(),\n phone: z.string().describe(\"The phone number of the business.\").optional(),\n country: z.string().describe(\"The ISO 3166-1 alpha-3 country code of the business (e.g., USA, GBR, CAN).\").optional(),\n industry: z.enum([\"ADULT\", \"ADVERTISING\", \"ALCOHOL\", \"AUTO\", \"CLOTHING_AND_FASHION\", \"CONSULTING\", \"CONSUMER_PACKAGED_GOODS\", \"DATING\", \"EDUCATION\", \"EMPLOYMENT\", \"ENTERTAINMENT\", \"FINANCIAL_SERVICES\", \"GAMBLING_AND_FANTASY_SPORTS\", \"GAMING\", \"HEALTH_AND_BEAUTY\", \"OTHER\", \"POLITICS_AND_GOVERNMENT\", \"PUBLISHING\", \"REAL_ESTATE\", \"RESTAURANTS_AND_FOOD\", \"RETAIL_AND_ECOMMERCE\", \"SPORTS\", \"TECH_B2B\", \"TECH_B2C\", \"TECH_OTHER\", \"TRAVEL\"]).describe(\"Enum representing the industry types for a business.\").optional(),\n website_url: z.string().describe(\"The website URL for the business.\").optional(),\n agency_affiliated: z.boolean().describe(\"Whether the business is affiliated with an agency.\").optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").optional(),\n}).describe(\"The business data to update.\"),\n business_id: z.string().describe(\"The ID of the business to update.\"),\n}).describe(\"Request parameters to update a business in Reddit Ads.\");\nconst RedditAdsUpdateBusiness_BusinessResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the business.\").nullable().optional(),\n name: z.string().describe(\"The name of the business.\").nullable().optional(),\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().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\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().optional(),\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().optional(),\n primary_contact_id: z.string().describe(\"The member_id for the primary contact of the business.\").nullable().optional(),\n}).passthrough().describe(\"Response data model for business entity.\");\nexport const RedditAdsUpdateBusinessOutput = z.object({\n data: RedditAdsUpdateBusiness_BusinessResponseDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated business details.\");\n\nexport const redditAdsUpdateBusiness: AppAction<\n typeof RedditAdsUpdateBusinessInput,\n typeof RedditAdsUpdateBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_UPDATE_BUSINESS\", {\n slug: \"reddit_ads-update-business\",\n name: \"Update Business\",\n description: \"Tool to update a business by ID in Reddit Ads. Use when you need to modify business settings such as name, industry, country, or contact information. Rate limit: 100 requests per 60 seconds for Business Manager operations.\",\n input: RedditAdsUpdateBusinessInput,\n output: RedditAdsUpdateBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpH,UAAU,EAAE,KAAK;GAAC;GAAS;GAAe;GAAW;GAAQ;GAAwB;GAAc;GAA2B;GAAU;GAAa;GAAc;GAAiB;GAAsB;GAA+B;GAAU;GAAqB;GAAS;GAA2B;GAAc;GAAe;GAAwB;GAAwB;GAAU;GAAY;GAAY;GAAc;EAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9f,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACxC,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCA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