@keystrokehq/reddit_ads 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-ad-group.cjs +2 -2
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +15 -3
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +15 -3
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +2 -2
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +6 -6
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +21 -8
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +21 -8
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +6 -6
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +3 -3
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +16 -4
- package/dist/actions/create-campaign.d.mts +16 -4
- package/dist/actions/create-campaign.mjs +3 -3
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +5 -5
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +18 -6
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +18 -6
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +5 -5
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +4 -4
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +18 -5
- package/dist/actions/create-lead-gen-form.d.mts +18 -5
- package/dist/actions/create-lead-gen-form.mjs +4 -4
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +4 -4
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +21 -8
- package/dist/actions/create-post.d.mts +21 -8
- package/dist/actions/create-post.mjs +4 -4
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +3 -3
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +16 -4
- package/dist/actions/create-product-catalog.d.mts +16 -4
- package/dist/actions/create-product-catalog.mjs +3 -3
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +4 -4
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +17 -5
- package/dist/actions/create-product-feed.d.mts +17 -5
- package/dist/actions/create-product-feed.mjs +4 -4
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +4 -4
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +17 -5
- package/dist/actions/create-product-set.d.mts +17 -5
- package/dist/actions/create-product-set.mjs +4 -4
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +3 -3
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +16 -4
- package/dist/actions/create-saved-audience.d.mts +16 -4
- package/dist/actions/create-saved-audience.mjs +3 -3
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +15 -15
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +49 -33
- package/dist/actions/create-structured-post-creation-job.d.mts +49 -33
- package/dist/actions/create-structured-post-creation-job.mjs +15 -15
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -1
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +14 -2
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +14 -2
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -1
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -1
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +14 -2
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +14 -2
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -1
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -1
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +14 -2
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +14 -2
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -1
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -1
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +14 -2
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +14 -2
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -1
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -1
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +15 -3
- package/dist/actions/delete-products.d.mts +15 -3
- package/dist/actions/delete-products.mjs +1 -1
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +3 -3
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +16 -4
- package/dist/actions/do-geolocation-validations.d.mts +16 -4
- package/dist/actions/do-geolocation-validations.mjs +3 -3
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +2 -2
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +15 -3
- package/dist/actions/do-keyword-validations.d.mts +15 -3
- package/dist/actions/do-keyword-validations.mjs +2 -2
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +21 -9
- package/dist/actions/generate-inspiration-creative-summary.d.mts +21 -9
- package/dist/actions/generate-inspiration-creative-summary.mjs +8 -8
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +3 -3
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +16 -4
- package/dist/actions/get-a-report.d.mts +16 -4
- package/dist/actions/get-a-report.mjs +3 -3
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +6 -6
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +22 -7
- package/dist/actions/get-ad-account-history.d.mts +22 -7
- package/dist/actions/get-ad-account-history.mjs +6 -6
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +2 -2
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +15 -3
- package/dist/actions/get-ad-account.d.mts +15 -3
- package/dist/actions/get-ad-account.mjs +2 -2
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +6 -6
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +19 -7
- package/dist/actions/get-ad-group.d.mts +19 -7
- package/dist/actions/get-ad-group.mjs +6 -6
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +2 -2
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +15 -3
- package/dist/actions/get-app-last-fired-at.d.mts +15 -3
- package/dist/actions/get-app-last-fired-at.mjs +2 -2
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +2 -2
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +15 -3
- package/dist/actions/get-business.d.mts +15 -3
- package/dist/actions/get-business.mjs +2 -2
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +3 -3
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +16 -4
- package/dist/actions/get-campaign.d.mts +16 -4
- package/dist/actions/get-campaign.mjs +3 -3
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +3 -3
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +16 -4
- package/dist/actions/get-channel-planning-reach.d.mts +16 -4
- package/dist/actions/get-channel-planning-reach.mjs +3 -3
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +3 -3
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +16 -4
- package/dist/actions/get-child-funding-instruments.d.mts +16 -4
- package/dist/actions/get-child-funding-instruments.mjs +3 -3
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +7 -7
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +20 -8
- package/dist/actions/get-custom-audience.d.mts +20 -8
- package/dist/actions/get-custom-audience.mjs +7 -7
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +3 -3
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +16 -4
- package/dist/actions/get-lead-gen-form.d.mts +16 -4
- package/dist/actions/get-lead-gen-form.mjs +3 -3
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +2 -2
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +15 -3
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +15 -3
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +2 -2
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +17 -5
- package/dist/actions/get-pixel-last-fired-at.d.mts +17 -5
- package/dist/actions/get-pixel-last-fired-at.mjs +4 -4
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +3 -3
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +17 -5
- package/dist/actions/get-post.d.mts +17 -5
- package/dist/actions/get-post.mjs +3 -3
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +3 -3
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +16 -4
- package/dist/actions/get-product-catalog.d.mts +16 -4
- package/dist/actions/get-product-catalog.mjs +3 -3
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +4 -4
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +17 -5
- package/dist/actions/get-product-feed.d.mts +17 -5
- package/dist/actions/get-product-feed.mjs +4 -4
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +4 -4
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +17 -5
- package/dist/actions/get-product-set.d.mts +17 -5
- package/dist/actions/get-product-set.mjs +4 -4
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +2 -2
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +15 -3
- package/dist/actions/get-profile.d.mts +15 -3
- package/dist/actions/get-profile.mjs +2 -2
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +3 -3
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +16 -4
- package/dist/actions/get-saved-audience.d.mts +16 -4
- package/dist/actions/get-saved-audience.mjs +3 -3
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +18 -6
- package/dist/actions/get-sk-ad-network-availability.d.mts +18 -6
- package/dist/actions/get-sk-ad-network-availability.mjs +3 -3
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +3 -3
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +16 -4
- package/dist/actions/get-structured-post.d.mts +16 -4
- package/dist/actions/get-structured-post.mjs +3 -3
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +16 -4
- package/dist/actions/list-ad-accounts-by-business.d.mts +16 -4
- package/dist/actions/list-ad-accounts-by-business.mjs +3 -3
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +3 -3
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +16 -4
- package/dist/actions/list-ad-groups.d.mts +16 -4
- package/dist/actions/list-ad-groups.mjs +3 -3
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +2 -2
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +15 -3
- package/dist/actions/list-ads.d.mts +15 -3
- package/dist/actions/list-ads.mjs +2 -2
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +3 -3
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +16 -4
- package/dist/actions/list-campaigns.d.mts +16 -4
- package/dist/actions/list-campaigns.mjs +3 -3
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +3 -3
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +16 -4
- package/dist/actions/list-carriers.d.mts +16 -4
- package/dist/actions/list-carriers.mjs +3 -3
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +4 -4
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +17 -5
- package/dist/actions/list-catalog-imports.d.mts +17 -5
- package/dist/actions/list-catalog-imports.mjs +4 -4
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +3 -3
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +16 -4
- package/dist/actions/list-communities-suggestions.d.mts +16 -4
- package/dist/actions/list-communities-suggestions.mjs +3 -3
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +3 -3
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +16 -4
- package/dist/actions/list-communities.d.mts +16 -4
- package/dist/actions/list-communities.mjs +3 -3
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +3 -3
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +16 -4
- package/dist/actions/list-devices.d.mts +16 -4
- package/dist/actions/list-devices.mjs +3 -3
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +3 -3
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +16 -4
- package/dist/actions/list-funding-instruments.d.mts +16 -4
- package/dist/actions/list-funding-instruments.mjs +3 -3
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +2 -2
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +15 -3
- package/dist/actions/list-geolocations.d.mts +15 -3
- package/dist/actions/list-geolocations.mjs +2 -2
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +2 -2
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +15 -3
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +15 -3
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +2 -2
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +2 -2
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +15 -3
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +15 -3
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +2 -2
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +4 -4
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +17 -5
- package/dist/actions/list-lead-gen-forms.d.mts +17 -5
- package/dist/actions/list-lead-gen-forms.mjs +4 -4
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +3 -3
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +16 -4
- package/dist/actions/list-my-businesses.d.mts +16 -4
- package/dist/actions/list-my-businesses.mjs +3 -3
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +15 -3
- package/dist/actions/list-pixels-by-ad-account.d.mts +15 -3
- package/dist/actions/list-pixels-by-ad-account.mjs +2 -2
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +4 -4
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +17 -5
- package/dist/actions/list-pixels-by-business.d.mts +17 -5
- package/dist/actions/list-pixels-by-business.mjs +4 -4
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +4 -4
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +19 -7
- package/dist/actions/list-posts.d.mts +19 -7
- package/dist/actions/list-posts.mjs +4 -4
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +3 -3
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +16 -4
- package/dist/actions/list-product-catalogs.d.mts +16 -4
- package/dist/actions/list-product-catalogs.mjs +3 -3
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +3 -3
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +16 -4
- package/dist/actions/list-product-feeds.d.mts +16 -4
- package/dist/actions/list-product-feeds.mjs +3 -3
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +4 -4
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +17 -5
- package/dist/actions/list-product-sets.d.mts +17 -5
- package/dist/actions/list-product-sets.mjs +4 -4
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +6 -6
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +19 -7
- package/dist/actions/list-products-in-product-catalog.d.mts +19 -7
- package/dist/actions/list-products-in-product-catalog.mjs +6 -6
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +5 -5
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +18 -6
- package/dist/actions/list-products-in-product-set.d.mts +18 -6
- package/dist/actions/list-products-in-product-set.mjs +5 -5
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +16 -4
- package/dist/actions/list-profiles-by-ad-account.d.mts +16 -4
- package/dist/actions/list-profiles-by-ad-account.mjs +3 -3
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +3 -3
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +16 -4
- package/dist/actions/list-profiles-by-business.d.mts +16 -4
- package/dist/actions/list-profiles-by-business.mjs +3 -3
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +3 -3
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +16 -4
- package/dist/actions/list-saved-audiences.d.mts +16 -4
- package/dist/actions/list-saved-audiences.mjs +3 -3
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +3 -3
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +18 -6
- package/dist/actions/list-structured-posts.d.mts +18 -6
- package/dist/actions/list-structured-posts.mjs +3 -3
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +3 -3
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +16 -4
- package/dist/actions/list-time-zones.d.mts +16 -4
- package/dist/actions/list-time-zones.mjs +3 -3
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +4 -4
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +17 -5
- package/dist/actions/list-user-custom-audiences.d.mts +17 -5
- package/dist/actions/list-user-custom-audiences.mjs +4 -4
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +4 -4
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +17 -5
- package/dist/actions/list3rd-party-audiences.d.mts +17 -5
- package/dist/actions/list3rd-party-audiences.mjs +4 -4
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +5 -5
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +20 -6
- package/dist/actions/query-ad-accounts.d.mts +20 -6
- package/dist/actions/query-ad-accounts.mjs +5 -5
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +16 -4
- package/dist/actions/query-funding-instruments-by-business.d.mts +16 -4
- package/dist/actions/query-funding-instruments-by-business.mjs +3 -3
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +3 -3
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +16 -4
- package/dist/actions/search-communities.d.mts +16 -4
- package/dist/actions/search-communities.mjs +3 -3
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +2 -2
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +15 -3
- package/dist/actions/update-ad-account.d.mts +15 -3
- package/dist/actions/update-ad-account.mjs +2 -2
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +2 -2
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +15 -3
- package/dist/actions/update-business.d.mts +15 -3
- package/dist/actions/update-business.mjs +2 -2
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +3 -3
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +16 -4
- package/dist/actions/update-campaign.d.mts +16 -4
- package/dist/actions/update-campaign.mjs +3 -3
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -1
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +14 -2
- package/dist/actions/update-custom-audience-users.d.mts +14 -2
- package/dist/actions/update-custom-audience-users.mjs +1 -1
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +2 -2
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +15 -3
- package/dist/actions/update-post.d.mts +15 -3
- package/dist/actions/update-post.mjs +2 -2
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +3 -3
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +16 -4
- package/dist/actions/update-product-catalog.d.mts +16 -4
- package/dist/actions/update-product-catalog.mjs +3 -3
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +3 -3
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +16 -4
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +16 -4
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +3 -3
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +4 -4
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +17 -5
- package/dist/actions/update-product-set.d.mts +17 -5
- package/dist/actions/update-product-set.mjs +4 -4
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +3 -3
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +16 -4
- package/dist/actions/update-saved-audience.d.mts +16 -4
- package/dist/actions/update-saved-audience.mjs +3 -3
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +2 -2
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +15 -3
- package/dist/actions/update-structured-post.d.mts +15 -3
- package/dist/actions/update-structured-post.mjs +2 -2
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,17 +13,29 @@ declare const RedditAdsListProfilesByAdAccountOutput: z.ZodObject<{
|
|
|
13
13
|
business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
reddit_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const redditAdsListProfilesByAdAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
ad_account_id: string;
|
|
24
24
|
page_size?: number | undefined;
|
|
25
25
|
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { redditAdsListProfilesByAdAccount };
|
|
29
41
|
//# sourceMappingURL=list-profiles-by-ad-account.d.mts.map
|
|
@@ -12,11 +12,11 @@ const RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({
|
|
|
12
12
|
business_id: z.string().describe("The ID of the business associated with this profile.").nullable().optional(),
|
|
13
13
|
modified_at: z.string().describe("Timestamp when the profile was last modified.").nullable().optional(),
|
|
14
14
|
reddit_user_id: z.string().describe("Reddit user ID associated with this profile.").nullable().optional()
|
|
15
|
-
}).describe("Represents a profile associated with an ad account.");
|
|
15
|
+
}).passthrough().describe("Represents a profile associated with an ad account.");
|
|
16
16
|
const RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({
|
|
17
17
|
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(),
|
|
18
18
|
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()
|
|
19
|
-
}).describe("Pagination information for navigating through results.");
|
|
19
|
+
}).passthrough().describe("Pagination information for navigating through results.");
|
|
20
20
|
const redditAdsListProfilesByAdAccount = action("REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT", {
|
|
21
21
|
slug: "reddit_ads-list-profiles-by-ad-account",
|
|
22
22
|
name: "List Profiles By Ad Account",
|
|
@@ -25,7 +25,7 @@ const redditAdsListProfilesByAdAccount = action("REDDIT_ADS_LIST_PROFILES_BY_AD_
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe("List of profiles associated with the ad account."),
|
|
27
27
|
pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable()
|
|
28
|
-
}).describe("Response containing the list of profiles and pagination information.")
|
|
28
|
+
}).passthrough().describe("Response containing the list of profiles and pagination information.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { redditAdsListProfilesByAdAccount };
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,qDAAqD;
|
|
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":";;;AAIA,MAA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H,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -12,15 +12,15 @@ const RedditAdsListProfilesByBusiness_ProfileSchema = zod.z.object({
|
|
|
12
12
|
business_id: zod.z.string().describe("The ID of the business this profile belongs to").nullable().optional(),
|
|
13
13
|
modified_at: zod.z.string().describe("Timestamp when the profile was last modified").nullable().optional(),
|
|
14
14
|
reddit_user_id: zod.z.string().describe("The Reddit user ID associated with this profile").nullable().optional()
|
|
15
|
-
}).describe("Represents a single profile in the business.");
|
|
15
|
+
}).passthrough().describe("Represents a single profile in the business.");
|
|
16
16
|
const RedditAdsListProfilesByBusiness_PaginationSchema = zod.z.object({
|
|
17
17
|
next_url: zod.z.string().describe("The full URL for the next page. If not available, the current page is the final page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional(),
|
|
18
18
|
previous_url: zod.z.string().describe("The full URL for the previous page. If not available, the current page is the first page. Important: The URL should be followed directly. Don't assume pagination based on the query parameters in the provided URLs.").nullable().optional()
|
|
19
|
-
}).describe("Pagination information for the response.");
|
|
19
|
+
}).passthrough().describe("Pagination information for the response.");
|
|
20
20
|
const RedditAdsListProfilesByBusinessOutput = zod.z.object({
|
|
21
21
|
data: zod.z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe("List of profiles associated with the business"),
|
|
22
22
|
pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable()
|
|
23
|
-
}).describe("Response model for ListProfilesByBusiness action.");
|
|
23
|
+
}).passthrough().describe("Response model for ListProfilesByBusiness action.");
|
|
24
24
|
const redditAdsListProfilesByBusiness = require_action.action("REDDIT_ADS_LIST_PROFILES_BY_BUSINESS", {
|
|
25
25
|
slug: "reddit_ads-list-profiles-by-business",
|
|
26
26
|
name: "List Profiles By Business",
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,8CAA8C;
|
|
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":";;;AAIA,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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AwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,17 +13,29 @@ declare const RedditAdsListProfilesByBusinessOutput: z.ZodObject<{
|
|
|
13
13
|
business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
reddit_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const redditAdsListProfilesByBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
business_id: string;
|
|
24
24
|
page_size?: number | undefined;
|
|
25
25
|
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { redditAdsListProfilesByBusiness };
|
|
29
41
|
//# sourceMappingURL=list-profiles-by-business.d.cts.map
|
|
@@ -13,17 +13,29 @@ declare const RedditAdsListProfilesByBusinessOutput: z.ZodObject<{
|
|
|
13
13
|
business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
reddit_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const redditAdsListProfilesByBusiness: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
business_id: string;
|
|
24
24
|
page_size?: number | undefined;
|
|
25
25
|
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { redditAdsListProfilesByBusiness };
|
|
29
41
|
//# sourceMappingURL=list-profiles-by-business.d.mts.map
|
|
@@ -12,11 +12,11 @@ const RedditAdsListProfilesByBusiness_ProfileSchema = z.object({
|
|
|
12
12
|
business_id: z.string().describe("The ID of the business this profile belongs to").nullable().optional(),
|
|
13
13
|
modified_at: z.string().describe("Timestamp when the profile was last modified").nullable().optional(),
|
|
14
14
|
reddit_user_id: z.string().describe("The Reddit user ID associated with this profile").nullable().optional()
|
|
15
|
-
}).describe("Represents a single profile in the business.");
|
|
15
|
+
}).passthrough().describe("Represents a single profile in the business.");
|
|
16
16
|
const RedditAdsListProfilesByBusiness_PaginationSchema = z.object({
|
|
17
17
|
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(),
|
|
18
18
|
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()
|
|
19
|
-
}).describe("Pagination information for the response.");
|
|
19
|
+
}).passthrough().describe("Pagination information for the response.");
|
|
20
20
|
const redditAdsListProfilesByBusiness = action("REDDIT_ADS_LIST_PROFILES_BY_BUSINESS", {
|
|
21
21
|
slug: "reddit_ads-list-profiles-by-business",
|
|
22
22
|
name: "List Profiles By Business",
|
|
@@ -25,7 +25,7 @@ const redditAdsListProfilesByBusiness = action("REDDIT_ADS_LIST_PROFILES_BY_BUSI
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
data: z.array(RedditAdsListProfilesByBusiness_ProfileSchema).describe("List of profiles associated with the business"),
|
|
27
27
|
pagination: RedditAdsListProfilesByBusiness_PaginationSchema.nullable()
|
|
28
|
-
}).describe("Response model for ListProfilesByBusiness action.")
|
|
28
|
+
}).passthrough().describe("Response model for ListProfilesByBusiness action.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { redditAdsListProfilesByBusiness };
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,8CAA8C;
|
|
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":";;;AAIA,MAAa,uCAAuC,EAAE,OA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S;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -19,15 +19,15 @@ const RedditAdsListSavedAudiences_SavedAudienceSchema = zod.z.object({
|
|
|
19
19
|
size_range_lower: zod.z.number().int().describe("Lower bound of the audience size range.").nullable().optional(),
|
|
20
20
|
size_range_upper: zod.z.number().int().describe("Upper bound of the audience size range.").nullable().optional(),
|
|
21
21
|
active_ad_groups_count: zod.z.number().int().describe("Number of active ad groups using this saved audience.").nullable()
|
|
22
|
-
}).describe("Represents a single saved audience.");
|
|
22
|
+
}).passthrough().describe("Represents a single saved audience.");
|
|
23
23
|
const RedditAdsListSavedAudiences_PaginationSchema = zod.z.object({
|
|
24
24
|
next_url: zod.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(),
|
|
25
25
|
previous_url: zod.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()
|
|
26
|
-
}).describe("Pagination information for navigating through results.");
|
|
26
|
+
}).passthrough().describe("Pagination information for navigating through results.");
|
|
27
27
|
const RedditAdsListSavedAudiencesOutput = zod.z.object({
|
|
28
28
|
data: zod.z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe("List of saved audiences for the specified ad account."),
|
|
29
29
|
pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable()
|
|
30
|
-
}).describe("Response model containing the list of saved audiences and pagination info.");
|
|
30
|
+
}).passthrough().describe("Response model containing the list of saved audiences and pagination info.");
|
|
31
31
|
const redditAdsListSavedAudiences = require_action.action("REDDIT_ADS_LIST_SAVED_AUDIENCES", {
|
|
32
32
|
slug: "reddit_ads-list-saved-audiences",
|
|
33
33
|
name: "List Saved Audiences",
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,qCAAqC;
|
|
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":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,WAAWA,IAAAA,EAAE,O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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,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,17 +20,29 @@ declare const RedditAdsListSavedAudiencesOutput: z.ZodObject<{
|
|
|
20
20
|
size_range_lower: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
size_range_upper: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
active_ad_groups_count: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
25
25
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const redditAdsListSavedAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
ad_account_id: string;
|
|
31
31
|
page_size?: number | undefined;
|
|
32
32
|
page_token?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
34
46
|
//#endregion
|
|
35
47
|
export { redditAdsListSavedAudiences };
|
|
36
48
|
//# sourceMappingURL=list-saved-audiences.d.cts.map
|
|
@@ -20,17 +20,29 @@ declare const RedditAdsListSavedAudiencesOutput: z.ZodObject<{
|
|
|
20
20
|
size_range_lower: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
size_range_upper: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
active_ad_groups_count: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
25
25
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const redditAdsListSavedAudiences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
ad_account_id: string;
|
|
31
31
|
page_size?: number | undefined;
|
|
32
32
|
page_token?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
34
46
|
//#endregion
|
|
35
47
|
export { redditAdsListSavedAudiences };
|
|
36
48
|
//# sourceMappingURL=list-saved-audiences.d.mts.map
|
|
@@ -19,11 +19,11 @@ const RedditAdsListSavedAudiences_SavedAudienceSchema = z.object({
|
|
|
19
19
|
size_range_lower: z.number().int().describe("Lower bound of the audience size range.").nullable().optional(),
|
|
20
20
|
size_range_upper: z.number().int().describe("Upper bound of the audience size range.").nullable().optional(),
|
|
21
21
|
active_ad_groups_count: z.number().int().describe("Number of active ad groups using this saved audience.").nullable()
|
|
22
|
-
}).describe("Represents a single saved audience.");
|
|
22
|
+
}).passthrough().describe("Represents a single saved audience.");
|
|
23
23
|
const RedditAdsListSavedAudiences_PaginationSchema = z.object({
|
|
24
24
|
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(),
|
|
25
25
|
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()
|
|
26
|
-
}).describe("Pagination information for navigating through results.");
|
|
26
|
+
}).passthrough().describe("Pagination information for navigating through results.");
|
|
27
27
|
const redditAdsListSavedAudiences = action("REDDIT_ADS_LIST_SAVED_AUDIENCES", {
|
|
28
28
|
slug: "reddit_ads-list-saved-audiences",
|
|
29
29
|
name: "List Saved Audiences",
|
|
@@ -32,7 +32,7 @@ const redditAdsListSavedAudiences = action("REDDIT_ADS_LIST_SAVED_AUDIENCES", {
|
|
|
32
32
|
output: z.object({
|
|
33
33
|
data: z.array(RedditAdsListSavedAudiences_SavedAudienceSchema).describe("List of saved audiences for the specified ad account."),
|
|
34
34
|
pagination: RedditAdsListSavedAudiences_PaginationSchema.nullable()
|
|
35
|
-
}).describe("Response model containing the list of saved audiences and pagination info.")
|
|
35
|
+
}).passthrough().describe("Response model containing the list of saved audiences and pagination info.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { redditAdsListSavedAudiences };
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,qCAAqC;
|
|
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":";;;AAIA,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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BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+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,4EAOhB;AACV,CAAC"}
|
|
@@ -20,15 +20,15 @@ const RedditAdsListStructuredPosts_StructuredPostSchema = zod.z.object({
|
|
|
20
20
|
creative: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Creative data associated with the structured post.").nullable().optional(),
|
|
21
21
|
profile_id: zod.z.string().describe("The ID of the profile that owns this post.").nullable().optional(),
|
|
22
22
|
allow_comments: zod.z.boolean().describe("Whether comments are allowed on the post.").nullable().optional()
|
|
23
|
-
}).describe("Represents a structured post with creative data.");
|
|
23
|
+
}).passthrough().describe("Represents a structured post with creative data.");
|
|
24
24
|
const RedditAdsListStructuredPosts_PaginationSchema = zod.z.object({
|
|
25
25
|
next_url: zod.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(),
|
|
26
26
|
previous_url: zod.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()
|
|
27
|
-
}).describe("Pagination information for navigating through results.");
|
|
27
|
+
}).passthrough().describe("Pagination information for navigating through results.");
|
|
28
28
|
const RedditAdsListStructuredPostsOutput = zod.z.object({
|
|
29
29
|
data: zod.z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe("List of structured posts returned by the API."),
|
|
30
30
|
pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional()
|
|
31
|
-
}).describe("Response containing the list of structured posts and pagination information.");
|
|
31
|
+
}).passthrough().describe("Response containing the list of structured posts and pagination information.");
|
|
32
32
|
const redditAdsListStructuredPosts = require_action.action("REDDIT_ADS_LIST_STRUCTURED_POSTS", {
|
|
33
33
|
slug: "reddit_ads-list-structured-posts",
|
|
34
34
|
name: "List Structured Posts",
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,kDAAkD;
|
|
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":";;;AAIA,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,CAA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AC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,10 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RedditAdsListStructuredPostsInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
6
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7
|
-
CAROUSEL: "CAROUSEL";
|
|
8
7
|
IMAGE: "IMAGE";
|
|
9
8
|
TEXT: "TEXT";
|
|
10
9
|
VIDEO: "VIDEO";
|
|
10
|
+
CAROUSEL: "CAROUSEL";
|
|
11
11
|
}>>;
|
|
12
12
|
source: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
ORGANIC: "ORGANIC";
|
|
@@ -24,20 +24,32 @@ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
|
|
|
24
24
|
creative: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
profile_id: string;
|
|
35
35
|
id?: string[] | undefined;
|
|
36
|
-
type?: "
|
|
36
|
+
type?: "IMAGE" | "TEXT" | "VIDEO" | "CAROUSEL" | undefined;
|
|
37
37
|
source?: "ORGANIC" | "PROMOTED" | undefined;
|
|
38
38
|
page_size?: number | undefined;
|
|
39
39
|
page_token?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
41
53
|
//#endregion
|
|
42
54
|
export { redditAdsListStructuredPosts };
|
|
43
55
|
//# sourceMappingURL=list-structured-posts.d.cts.map
|
|
@@ -4,10 +4,10 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RedditAdsListStructuredPostsInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
6
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7
|
-
CAROUSEL: "CAROUSEL";
|
|
8
7
|
IMAGE: "IMAGE";
|
|
9
8
|
TEXT: "TEXT";
|
|
10
9
|
VIDEO: "VIDEO";
|
|
10
|
+
CAROUSEL: "CAROUSEL";
|
|
11
11
|
}>>;
|
|
12
12
|
source: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
ORGANIC: "ORGANIC";
|
|
@@ -24,20 +24,32 @@ declare const RedditAdsListStructuredPostsOutput: z.ZodObject<{
|
|
|
24
24
|
creative: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
allow_comments: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const redditAdsListStructuredPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
profile_id: string;
|
|
35
35
|
id?: string[] | undefined;
|
|
36
|
-
type?: "
|
|
36
|
+
type?: "IMAGE" | "TEXT" | "VIDEO" | "CAROUSEL" | undefined;
|
|
37
37
|
source?: "ORGANIC" | "PROMOTED" | undefined;
|
|
38
38
|
page_size?: number | undefined;
|
|
39
39
|
page_token?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
41
53
|
//#endregion
|
|
42
54
|
export { redditAdsListStructuredPosts };
|
|
43
55
|
//# sourceMappingURL=list-structured-posts.d.mts.map
|
|
@@ -20,11 +20,11 @@ const RedditAdsListStructuredPosts_StructuredPostSchema = z.object({
|
|
|
20
20
|
creative: z.record(z.string(), z.unknown()).describe("Creative data associated with the structured post.").nullable().optional(),
|
|
21
21
|
profile_id: z.string().describe("The ID of the profile that owns this post.").nullable().optional(),
|
|
22
22
|
allow_comments: z.boolean().describe("Whether comments are allowed on the post.").nullable().optional()
|
|
23
|
-
}).describe("Represents a structured post with creative data.");
|
|
23
|
+
}).passthrough().describe("Represents a structured post with creative data.");
|
|
24
24
|
const RedditAdsListStructuredPosts_PaginationSchema = z.object({
|
|
25
25
|
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(),
|
|
26
26
|
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()
|
|
27
|
-
}).describe("Pagination information for navigating through results.");
|
|
27
|
+
}).passthrough().describe("Pagination information for navigating through results.");
|
|
28
28
|
const redditAdsListStructuredPosts = action("REDDIT_ADS_LIST_STRUCTURED_POSTS", {
|
|
29
29
|
slug: "reddit_ads-list-structured-posts",
|
|
30
30
|
name: "List Structured Posts",
|
|
@@ -33,7 +33,7 @@ const redditAdsListStructuredPosts = action("REDDIT_ADS_LIST_STRUCTURED_POSTS",
|
|
|
33
33
|
output: z.object({
|
|
34
34
|
data: z.array(RedditAdsListStructuredPosts_StructuredPostSchema).describe("List of structured posts returned by the API."),
|
|
35
35
|
pagination: RedditAdsListStructuredPosts_PaginationSchema.nullable().optional()
|
|
36
|
-
}).describe("Response containing the list of structured posts and pagination information.")
|
|
36
|
+
}).passthrough().describe("Response containing the list of structured posts and pagination information.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { redditAdsListStructuredPosts };
|