@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":"list-profiles-by-ad-account.mjs","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_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: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-ad-account.mjs","names":[],"sources":["../../src/actions/list-profiles-by-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 RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_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: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount: AppAction<\n typeof RedditAdsListProfilesByAdAccountInput,\n typeof RedditAdsListProfilesByAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,mCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kDAAkD;EACzH,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-business.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-business.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-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 RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness: AppAction<\n typeof RedditAdsListProfilesByBusinessInput,\n typeof RedditAdsListProfilesByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC9I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvQ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACrH,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/list-profiles-by-business.d.ts
|
|
@@ -19,23 +21,7 @@ declare const RedditAdsListProfilesByBusinessOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListProfilesByBusiness:
|
|
23
|
-
business_id: string;
|
|
24
|
-
page_size?: number | undefined;
|
|
25
|
-
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListProfilesByBusiness: AppAction<typeof RedditAdsListProfilesByBusinessInput, typeof RedditAdsListProfilesByBusinessOutput, typeof redditAds.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { redditAdsListProfilesByBusiness };
|
|
41
27
|
//# sourceMappingURL=list-profiles-by-business.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-business.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-business.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-business.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-business.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/list-profiles-by-business.d.ts
|
|
@@ -19,23 +21,7 @@ declare const RedditAdsListProfilesByBusinessOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListProfilesByBusiness:
|
|
23
|
-
business_id: string;
|
|
24
|
-
page_size?: number | undefined;
|
|
25
|
-
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListProfilesByBusiness: AppAction<typeof RedditAdsListProfilesByBusinessInput, typeof RedditAdsListProfilesByBusinessOutput, typeof redditAds.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { redditAdsListProfilesByBusiness };
|
|
41
27
|
//# sourceMappingURL=list-profiles-by-business.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-business.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-business.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-business.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-business.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-business.mjs","names":[],"sources":["../../src/actions/list-profiles-by-business.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-business.mjs","names":[],"sources":["../../src/actions/list-profiles-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 RedditAdsListProfilesByBusinessInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be at least 1.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this to navigate to the next or previous page of results.\").optional(),\n business_id: z.string().describe(\"The ID of the business to list profiles for.\"),\n}).describe(\"Request model for ListProfilesByBusiness action.\");\nconst RedditAdsListProfilesByBusiness_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile\").nullable().optional(),\n name: z.string().describe(\"Name of the profile\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business this profile belongs to\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified\").nullable().optional(),\n reddit_user_id: z.string().describe(\"The Reddit user ID associated with this profile\").nullable().optional(),\n}).passthrough().describe(\"Represents a single profile in the business.\");\nconst RedditAdsListProfilesByBusiness_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RedditAdsListProfilesByBusinessOutput = z.object({\n data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe(\"List of profiles associated with the business\"),\n pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for ListProfilesByBusiness action.\");\n\nexport const redditAdsListProfilesByBusiness: AppAction<\n typeof RedditAdsListProfilesByBusinessInput,\n typeof RedditAdsListProfilesByBusinessOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_BUSINESS\", {\n slug: \"reddit_ads-list-profiles-by-business\",\n name: \"List Profiles By Business\",\n description: \"Tool to list profiles by business. Use when you need to retrieve all profiles associated with a specific business. Rate limit: Business Manager allows 100 requests per 60 seconds.\",\n input: RedditAdsListProfilesByBusinessInput,\n output: RedditAdsListProfilesByBusinessOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC9I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,0CAA0C;AAMpE,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;EACrH,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-saved-audiences.cjs","names":["z","action"],"sources":["../../src/actions/list-saved-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListSavedAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\").nullable(),\n name: z.string().describe(\"Name of the saved audience.\").nullable(),\n type: z.string().describe(\"Type of the saved audience.\").nullable(),\n status: z.string().describe(\"Status of the saved audience.\").nullable(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\").nullable(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\").nullable(),\n}).passthrough().describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_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 assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-saved-audiences.cjs","names":["z","action"],"sources":["../../src/actions/list-saved-audiences.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 RedditAdsListSavedAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\").nullable(),\n name: z.string().describe(\"Name of the saved audience.\").nullable(),\n type: z.string().describe(\"Type of the saved audience.\").nullable(),\n status: z.string().describe(\"Status of the saved audience.\").nullable(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\").nullable(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\").nullable(),\n}).passthrough().describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_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 assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences: AppAction<\n typeof RedditAdsListSavedAudiencesInput,\n typeof RedditAdsListSavedAudiencesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC5F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uDAAuD;CAC/H,YAAY,6CAA6C,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/list-saved-audiences.d.ts
|
|
@@ -26,23 +28,7 @@ declare const RedditAdsListSavedAudiencesOutput: z.ZodObject<{
|
|
|
26
28
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const redditAdsListSavedAudiences:
|
|
30
|
-
ad_account_id: string;
|
|
31
|
-
page_size?: number | undefined;
|
|
32
|
-
page_token?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const redditAdsListSavedAudiences: AppAction<typeof RedditAdsListSavedAudiencesInput, typeof RedditAdsListSavedAudiencesOutput, typeof redditAds.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { redditAdsListSavedAudiences };
|
|
48
34
|
//# sourceMappingURL=list-saved-audiences.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-saved-audiences.d.cts","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-saved-audiences.d.cts","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAuBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/list-saved-audiences.d.ts
|
|
@@ -26,23 +28,7 @@ declare const RedditAdsListSavedAudiencesOutput: z.ZodObject<{
|
|
|
26
28
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const redditAdsListSavedAudiences:
|
|
30
|
-
ad_account_id: string;
|
|
31
|
-
page_size?: number | undefined;
|
|
32
|
-
page_token?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const redditAdsListSavedAudiences: AppAction<typeof RedditAdsListSavedAudiencesInput, typeof RedditAdsListSavedAudiencesOutput, typeof redditAds.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { redditAdsListSavedAudiences };
|
|
48
34
|
//# sourceMappingURL=list-saved-audiences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-saved-audiences.d.mts","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-saved-audiences.d.mts","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAuBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-saved-audiences.mjs","names":[],"sources":["../../src/actions/list-saved-audiences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListSavedAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\").nullable(),\n name: z.string().describe(\"Name of the saved audience.\").nullable(),\n type: z.string().describe(\"Type of the saved audience.\").nullable(),\n status: z.string().describe(\"Status of the saved audience.\").nullable(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\").nullable(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\").nullable(),\n}).passthrough().describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_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 assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-saved-audiences.mjs","names":[],"sources":["../../src/actions/list-saved-audiences.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 RedditAdsListSavedAudiencesInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned by page. Must be a positive integer.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use this for pagination to fetch subsequent pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list saved audiences for.\"),\n}).describe(\"Request model for listing saved audiences.\");\nconst RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the saved audience.\").nullable(),\n name: z.string().describe(\"Name of the saved audience.\").nullable(),\n type: z.string().describe(\"Type of the saved audience.\").nullable(),\n status: z.string().describe(\"Status of the saved audience.\").nullable(),\n targeting: z.record(z.string(), z.unknown()).describe(\"Targeting configuration for the saved audience. Contains various targeting parameters which can be strings, integers, booleans, lists, nested objects, or null values.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the saved audience was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the saved audience was last updated.\").nullable(),\n ad_account_id: z.string().describe(\"The ID of the ad account that owns this saved audience.\").nullable(),\n delivery_status: z.array(z.string()).describe(\"Delivery status information for the saved audience.\").nullable().optional(),\n size_range_lower: z.number().int().describe(\"Lower bound of the audience size range.\").nullable().optional(),\n size_range_upper: z.number().int().describe(\"Upper bound of the audience size range.\").nullable().optional(),\n active_ad_groups_count: z.number().int().describe(\"Number of active ad groups using this saved audience.\").nullable(),\n}).passthrough().describe(\"Represents a single saved audience.\");\nconst RedditAdsListSavedAudiences_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 assuming pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Follow this URL directly without assuming pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListSavedAudiencesOutput = z.object({\n data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe(\"List of saved audiences for the specified ad account.\"),\n pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of saved audiences and pagination info.\");\n\nexport const redditAdsListSavedAudiences: AppAction<\n typeof RedditAdsListSavedAudiencesInput,\n typeof RedditAdsListSavedAudiencesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_SAVED_AUDIENCES\", {\n slug: \"reddit_ads-list-saved-audiences\",\n name: \"List Saved Audiences\",\n description: \"Tool to list saved audiences for a Reddit ad account. Use when you need to retrieve saved audience configurations with their targeting details. Rate limit: 400 requests per 60 seconds (Campaign Management Read).\",\n input: RedditAdsListSavedAudiencesInput,\n output: RedditAdsListSavedAudiencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC5F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uDAAuD;EAC/H,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-structured-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").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 profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_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 results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-structured-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-structured-posts.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 RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").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 profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_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 results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts: AppAction<\n typeof RedditAdsListStructuredPostsInput,\n typeof RedditAdsListStructuredPostsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAS;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+CAA+C;CACzH,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/list-structured-posts.d.ts
|
|
@@ -30,26 +32,7 @@ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
|
|
|
30
32
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const redditAdsListStructuredPosts:
|
|
34
|
-
profile_id: string;
|
|
35
|
-
id?: string[] | undefined;
|
|
36
|
-
type?: "IMAGE" | "TEXT" | "VIDEO" | "CAROUSEL" | undefined;
|
|
37
|
-
source?: "ORGANIC" | "PROMOTED" | undefined;
|
|
38
|
-
page_size?: number | undefined;
|
|
39
|
-
page_token?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
accessToken: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
accessToken: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const redditAdsListStructuredPosts: AppAction<typeof RedditAdsListStructuredPostsInput, typeof RedditAdsListStructuredPostsOutput, typeof redditAds.credential>;
|
|
53
36
|
//#endregion
|
|
54
37
|
export { redditAdsListStructuredPosts };
|
|
55
38
|
//# sourceMappingURL=list-structured-posts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-structured-posts.d.cts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-structured-posts.d.cts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/list-structured-posts.d.ts
|
|
@@ -30,26 +32,7 @@ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
|
|
|
30
32
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const redditAdsListStructuredPosts:
|
|
34
|
-
profile_id: string;
|
|
35
|
-
id?: string[] | undefined;
|
|
36
|
-
type?: "IMAGE" | "TEXT" | "VIDEO" | "CAROUSEL" | undefined;
|
|
37
|
-
source?: "ORGANIC" | "PROMOTED" | undefined;
|
|
38
|
-
page_size?: number | undefined;
|
|
39
|
-
page_token?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
accessToken: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
accessToken: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const redditAdsListStructuredPosts: AppAction<typeof RedditAdsListStructuredPostsInput, typeof RedditAdsListStructuredPostsOutput, typeof redditAds.credential>;
|
|
53
36
|
//#endregion
|
|
54
37
|
export { redditAdsListStructuredPosts };
|
|
55
38
|
//# sourceMappingURL=list-structured-posts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-structured-posts.d.mts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-structured-posts.d.mts","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-structured-posts.mjs","names":[],"sources":["../../src/actions/list-structured-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").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 profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_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 results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-structured-posts.mjs","names":[],"sources":["../../src/actions/list-structured-posts.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 RedditAdsListStructuredPostsInput = z.object({\n id: z.array(z.string()).describe(\"List of specific post IDs to filter by. Returns up to 10 specific structured posts by ID owned by the profile.\").optional(),\n type: z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"Type of structured post.\").optional(),\n source: z.enum([\"ORGANIC\", \"PROMOTED\"]).describe(\"Source of structured post.\").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 profile_id: z.string().describe(\"The ID of the profile to list posts for. This is a required path parameter.\"),\n}).describe(\"Request parameters for listing structured posts by profile.\");\nconst RedditAdsListStructuredPosts_StructuredPostSchema = z.object({\n id: z.string().describe(\"The unique identifier of the structured post.\").nullable().optional(),\n url: z.string().describe(\"The URL of the structured post.\").nullable().optional(),\n creative: z.record(z.string(), z.unknown()).describe(\"Creative data associated with the structured post.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the profile that owns this post.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Whether comments are allowed on the post.\").nullable().optional(),\n}).passthrough().describe(\"Represents a structured post with creative data.\");\nconst RedditAdsListStructuredPosts_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 results.\");\nexport const RedditAdsListStructuredPostsOutput = z.object({\n data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe(\"List of structured posts returned by the API.\"),\n pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the list of structured posts and pagination information.\");\n\nexport const redditAdsListStructuredPosts: AppAction<\n typeof RedditAdsListStructuredPostsInput,\n typeof RedditAdsListStructuredPostsOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_STRUCTURED_POSTS\", {\n slug: \"reddit_ads-list-structured-posts\",\n name: \"List Structured Posts\",\n description: \"Tool to list structured posts for a profile or retrieve up to 10 specific structured posts by ID. Use when you need to retrieve structured posts owned by a Reddit Ads profile. Rate limit: Creative Management Read - 200 requests per 60 seconds.\",\n input: RedditAdsListStructuredPostsInput,\n output: RedditAdsListStructuredPostsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,MAAM,EAAE,KAAK;EAAC;EAAY;EAAS;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+CAA+C;EACzH,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-time-zones.cjs","names":["z","action"],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput = z.object({\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 listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_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 time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-time-zones.cjs","names":["z","action"],"sources":["../../src/actions/list-time-zones.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 RedditAdsListTimeZonesInput = z.object({\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 listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_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 time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones: AppAction<\n typeof RedditAdsListTimeZonesInput,\n typeof RedditAdsListTimeZonesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;CACrH,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,yBAITC,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/list-time-zones.d.ts
|
|
@@ -19,22 +21,7 @@ declare const RedditAdsListTimeZonesOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListTimeZones:
|
|
23
|
-
page_size?: number | undefined;
|
|
24
|
-
page_token?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListTimeZones: AppAction<typeof RedditAdsListTimeZonesInput, typeof RedditAdsListTimeZonesOutput, typeof redditAds.credential>;
|
|
38
25
|
//#endregion
|
|
39
26
|
export { redditAdsListTimeZones };
|
|
40
27
|
//# sourceMappingURL=list-time-zones.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-time-zones.d.cts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-time-zones.d.cts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/list-time-zones.d.ts
|
|
@@ -19,22 +21,7 @@ declare const RedditAdsListTimeZonesOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListTimeZones:
|
|
23
|
-
page_size?: number | undefined;
|
|
24
|
-
page_token?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListTimeZones: AppAction<typeof RedditAdsListTimeZonesInput, typeof RedditAdsListTimeZonesOutput, typeof redditAds.credential>;
|
|
38
25
|
//#endregion
|
|
39
26
|
export { redditAdsListTimeZones };
|
|
40
27
|
//# sourceMappingURL=list-time-zones.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-time-zones.d.mts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-time-zones.d.mts","names":[],"sources":["../../src/actions/list-time-zones.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-time-zones.mjs","names":[],"sources":["../../src/actions/list-time-zones.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListTimeZonesInput = z.object({\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 listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_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 time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-time-zones.mjs","names":[],"sources":["../../src/actions/list-time-zones.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 RedditAdsListTimeZonesInput = z.object({\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 listing all time zones. Supports pagination for navigating through large result sets.\");\nconst RedditAdsListTimeZones_TimeZoneSchema = z.object({\n id: z.string().describe(\"Unique identifier for the time zone.\").nullable(),\n code: z.string().describe(\"Time zone code (e.g., 'America/New_York').\").nullable(),\n name: z.string().describe(\"Human-readable name of the time zone.\").nullable(),\n offset: z.number().int().describe(\"UTC offset in seconds for the time zone.\").nullable(),\n dst_offset: z.number().int().describe(\"Daylight saving time offset in seconds.\").nullable(),\n is_dst_active: z.boolean().describe(\"Whether daylight saving time is currently active.\").nullable(),\n}).passthrough().describe(\"Represents a single time zone returned by the Reddit Ads API.\");\nconst RedditAdsListTimeZones_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 time zone results.\");\nexport const RedditAdsListTimeZonesOutput = z.object({\n data: z.array(RedditAdsListTimeZones_TimeZoneSchema).describe(\"List of time zones available for campaign scheduling.\"),\n pagination: RedditAdsListTimeZones_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing all time zones with pagination.\");\n\nexport const redditAdsListTimeZones: AppAction<\n typeof RedditAdsListTimeZonesInput,\n typeof RedditAdsListTimeZonesOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_TIME_ZONES\", {\n slug: \"reddit_ads-list-time-zones\",\n name: \"List Time Zones\",\n description: \"Tool to retrieve all available time zones from Reddit Ads API for campaign scheduling. Use when you need to get a list of time zones for setting campaign schedules or display times. Rate limit: Campaign Management Read - 400 requests per 60 seconds.\",\n input: RedditAdsListTimeZonesInput,\n output: RedditAdsListTimeZonesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,yGAAyG;AACrH,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,0CAA0C,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAM5F,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD;EACrH,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|