@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
|
@@ -28,11 +28,11 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
|
|
|
28
28
|
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
reddit: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
id: z.ZodNullable<z.ZodString>;
|
|
31
|
-
issues: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
31
|
+
issues: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
32
32
|
catalog_id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
approval_decision: z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
36
|
pattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
age_group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -66,15 +66,15 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
|
|
|
66
66
|
lifestyle_image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
average_review_rating: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
additional_image_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
69
|
-
platform_specific_link: z.ZodOptional<z.ZodNullable<z.
|
|
69
|
+
platform_specific_link: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
70
70
|
google_product_category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
71
|
sale_price_effective_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>;
|
|
73
73
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
74
74
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
-
}, z.core.$
|
|
77
|
-
}, z.core.$
|
|
76
|
+
}, z.core.$loose>>;
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const redditAdsListProductsInProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
catalog_id: string;
|
|
80
80
|
ids?: string[] | undefined;
|
|
@@ -82,7 +82,19 @@ declare const redditAdsListProductsInProductCatalog: import("@keystrokehq/action
|
|
|
82
82
|
"page.size"?: number | undefined;
|
|
83
83
|
"page.token"?: string | undefined;
|
|
84
84
|
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
85
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
86
|
+
connectionId: z.ZodString;
|
|
87
|
+
entityId: z.ZodString;
|
|
88
|
+
instanceId: z.ZodString;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
accessToken: z.ZodString;
|
|
91
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
92
|
+
connectionId: z.ZodString;
|
|
93
|
+
entityId: z.ZodString;
|
|
94
|
+
instanceId: z.ZodString;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
accessToken: z.ZodString;
|
|
97
|
+
}, z.core.$strip>>]>;
|
|
86
98
|
//#endregion
|
|
87
99
|
export { redditAdsListProductsInProductCatalog };
|
|
88
100
|
//# sourceMappingURL=list-products-in-product-catalog.d.mts.map
|
|
@@ -15,11 +15,11 @@ const RedditAdsListProductsInProductCatalogInput = z.object({
|
|
|
15
15
|
}).describe("Request model for listing products in a product catalog.");
|
|
16
16
|
const RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({
|
|
17
17
|
id: z.string().describe("Reddit-specific ID for the product.").nullable(),
|
|
18
|
-
issues: z.array(z.
|
|
18
|
+
issues: z.array(z.record(z.string(), z.unknown())).describe("List of issues with the product, if any.").nullable().optional(),
|
|
19
19
|
catalog_id: z.string().describe("ID of the catalog this product belongs to.").nullable(),
|
|
20
20
|
image_link: z.string().describe("Reddit-specific image link for the product.").nullable().optional(),
|
|
21
21
|
approval_decision: z.string().describe("Approval status of the product (e.g., PENDING, APPROVED, REJECTED).").nullable()
|
|
22
|
-
}).describe("Reddit-specific metadata for products.");
|
|
22
|
+
}).passthrough().describe("Reddit-specific metadata for products.");
|
|
23
23
|
const RedditAdsListProductsInProductCatalog_ProductSchema = z.object({
|
|
24
24
|
id: z.string().describe("Unique identifier of the product.").nullable(),
|
|
25
25
|
mpn: z.string().describe("Manufacturer Part Number (MPN) of the product.").nullable().optional(),
|
|
@@ -66,14 +66,14 @@ const RedditAdsListProductsInProductCatalog_ProductSchema = z.object({
|
|
|
66
66
|
lifestyle_image_link: z.string().describe("URL to a lifestyle image of the product in use.").nullable().optional(),
|
|
67
67
|
average_review_rating: z.string().describe("Average customer review rating.").nullable().optional(),
|
|
68
68
|
additional_image_links: z.array(z.string()).describe("List of additional image URLs for the product.").nullable().optional(),
|
|
69
|
-
platform_specific_link: z.
|
|
69
|
+
platform_specific_link: z.record(z.string(), z.unknown()).describe("Platform-specific links for different device types.").nullable().optional(),
|
|
70
70
|
google_product_category: z.string().describe("Google product category classification.").nullable().optional(),
|
|
71
71
|
sale_price_effective_date: z.string().describe("Date range when the sale price is effective.").nullable().optional()
|
|
72
|
-
}).describe("Represents a single product in the catalog.");
|
|
72
|
+
}).passthrough().describe("Represents a single product in the catalog.");
|
|
73
73
|
const RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({
|
|
74
74
|
next_url: z.string().describe("Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.").nullable().optional(),
|
|
75
75
|
previous_url: z.string().describe("Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.").nullable().optional()
|
|
76
|
-
}).describe("Pagination information for navigating through result pages.");
|
|
76
|
+
}).passthrough().describe("Pagination information for navigating through result pages.");
|
|
77
77
|
const redditAdsListProductsInProductCatalog = action("REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG", {
|
|
78
78
|
slug: "reddit_ads-list-products-in-product-catalog",
|
|
79
79
|
name: "List Products In Product Catalog",
|
|
@@ -82,7 +82,7 @@ const redditAdsListProductsInProductCatalog = action("REDDIT_ADS_LIST_PRODUCTS_I
|
|
|
82
82
|
output: z.object({
|
|
83
83
|
data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe("List of products in the catalog."),
|
|
84
84
|
pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable()
|
|
85
|
-
}).describe("Response model containing the list of products and pagination information.")
|
|
85
|
+
}).passthrough().describe("Response model containing the list of products and pagination information.")
|
|
86
86
|
});
|
|
87
87
|
//#endregion
|
|
88
88
|
export { redditAdsListProductsInProductCatalog };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-catalog.mjs","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.object({})).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.object({}).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,cAAc,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DAA6D,EAAE,OAAO;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,MAAa,wCAAwC,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;EAC9G,YAAY,2DAA2D,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-catalog.mjs","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductCatalogInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog to list products from.\"),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product catalog.\");\nconst RedditAdsListProductsInProductCatalog_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific ID for the product.\").nullable(),\n issues: z.array(z.record(z.string(), z.unknown())).describe(\"List of issues with the product, if any.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog this product belongs to.\").nullable(),\n image_link: z.string().describe(\"Reddit-specific image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product (e.g., PENDING, APPROVED, REJECTED).\").nullable(),\n}).passthrough().describe(\"Reddit-specific metadata for products.\");\nconst RedditAdsListProductsInProductCatalog_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductCatalog_RedditMetadataSchema.nullable(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the catalog.\");\nconst RedditAdsListProductsInProductCatalog_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductCatalogOutput = z.object({\n data: z.array(RedditAdsListProductsInProductCatalog_ProductSchema).describe(\"List of products in the catalog.\"),\n pagination: RedditAdsListProductsInProductCatalog_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductCatalog = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-list-products-in-product-catalog\",\n name: \"List Products In Product Catalog\",\n description: \"Tool to retrieve all products in a Reddit Ads product catalog. Use when you need to list products for advertising campaigns, with optional filtering by approval status, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductCatalogInput,\n output: RedditAdsListProductsInProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,mBAAmB,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO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,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,wCAAwC,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;EAC9G,YAAY,2DAA2D,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -63,7 +63,7 @@ const RedditAdsListProductsInProductSet_RedditMetadataSchema = zod.z.object({
|
|
|
63
63
|
catalog_id: zod.z.string().describe("ID of the catalog containing this product.").nullable().optional(),
|
|
64
64
|
image_link: zod.z.string().describe("Reddit-processed image link for the product.").nullable().optional(),
|
|
65
65
|
approval_decision: zod.z.string().describe("Approval status of the product on Reddit.").nullable().optional()
|
|
66
|
-
}).describe("Reddit-specific metadata for a product.");
|
|
66
|
+
}).passthrough().describe("Reddit-specific metadata for a product.");
|
|
67
67
|
const RedditAdsListProductsInProductSet_ProductSchema = zod.z.object({
|
|
68
68
|
id: zod.z.string().describe("Unique identifier of the product.").nullable(),
|
|
69
69
|
mpn: zod.z.string().describe("Manufacturer Part Number (MPN) of the product.").nullable().optional(),
|
|
@@ -110,18 +110,18 @@ const RedditAdsListProductsInProductSet_ProductSchema = zod.z.object({
|
|
|
110
110
|
lifestyle_image_link: zod.z.string().describe("URL to a lifestyle image of the product in use.").nullable().optional(),
|
|
111
111
|
average_review_rating: zod.z.string().describe("Average customer review rating.").nullable().optional(),
|
|
112
112
|
additional_image_links: zod.z.array(zod.z.string()).describe("List of additional image URLs for the product.").nullable().optional(),
|
|
113
|
-
platform_specific_link: zod.z.
|
|
113
|
+
platform_specific_link: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Platform-specific links for different device types.").nullable().optional(),
|
|
114
114
|
google_product_category: zod.z.string().describe("Google product category classification.").nullable().optional(),
|
|
115
115
|
sale_price_effective_date: zod.z.string().describe("Date range when the sale price is effective.").nullable().optional()
|
|
116
|
-
}).describe("Represents a single product in the product set.");
|
|
116
|
+
}).passthrough().describe("Represents a single product in the product set.");
|
|
117
117
|
const RedditAdsListProductsInProductSet_PaginationInfoSchema = zod.z.object({
|
|
118
118
|
next_url: zod.z.string().describe("Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.").nullable().optional(),
|
|
119
119
|
previous_url: zod.z.string().describe("Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.").nullable().optional()
|
|
120
|
-
}).describe("Pagination information for navigating through result pages.");
|
|
120
|
+
}).passthrough().describe("Pagination information for navigating through result pages.");
|
|
121
121
|
const RedditAdsListProductsInProductSetOutput = zod.z.object({
|
|
122
122
|
data: zod.z.array(RedditAdsListProductsInProductSet_ProductSchema).describe("List of products in the product set."),
|
|
123
123
|
pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable()
|
|
124
|
-
}).describe("Response model containing the list of products and pagination information.");
|
|
124
|
+
}).passthrough().describe("Response model containing the list of products and pagination information.");
|
|
125
125
|
const redditAdsListProductsInProductSet = require_action.action("REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET", {
|
|
126
126
|
slug: "reddit_ads-list-products-in-product-set",
|
|
127
127
|
name: "List Products In Product Set",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-set.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.object({}).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0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CAA+C,CAAC,CAAC,SAAS,sCAAsC;CAC9G,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAExF,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0B;EAA6B;EAAgC;EAAqB;CAAkC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxoC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO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Q,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;CAC9G,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -76,7 +76,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
76
76
|
catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
approval_decision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
80
|
pattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
age_group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -110,15 +110,15 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
110
110
|
lifestyle_image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
111
|
average_review_rating: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
112
|
additional_image_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
113
|
-
platform_specific_link: z.ZodOptional<z.ZodNullable<z.
|
|
113
|
+
platform_specific_link: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
114
114
|
google_product_category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
115
|
sale_price_effective_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
-
}, z.core.$
|
|
116
|
+
}, z.core.$loose>>;
|
|
117
117
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
118
118
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
119
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
-
}, z.core.$
|
|
121
|
-
}, z.core.$
|
|
120
|
+
}, z.core.$loose>>;
|
|
121
|
+
}, z.core.$loose>;
|
|
122
122
|
declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
123
123
|
product_set_id: string;
|
|
124
124
|
ids?: string[] | undefined;
|
|
@@ -127,7 +127,19 @@ declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").W
|
|
|
127
127
|
issue_code?: "INVALID_ADDITIONAL_IMAGE_LINKS" | "INVALID_SALE_PRICE" | "INVALID_SALE_PRICE_EFFECTIVE_DATE" | "INVALID_EXPIRATION_DATE" | "IMAGE_PROCESSING_ERROR" | "IMAGE_REJECTED" | "LOW_IMAGE_QUALITY" | "INVALID_CUSTOM_LABEL_0" | "INVALID_CUSTOM_LABEL_1" | "INVALID_CUSTOM_LABEL_2" | "INVALID_CUSTOM_LABEL_3" | "INVALID_CUSTOM_LABEL_4" | "INVALID_GOOGLE_PRODUCT_CATEGORY" | "INVALID_PRODUCT_TYPE" | "INVALID_BRAND" | "INVALID_GTIN" | "INVALID_MPN" | "INVALID_ITEM_GROUP_ID" | "INVALID_COST_OF_GOODS_SOLD" | "INVALID_AVAILABILITY" | "INVALID_MOBILE_LINK" | "INVALID_PLATFORM_SPECIFIC_LINK" | "INVALID_AVERAGE_REVIEW_RATING" | "INVALID_NUMBER_OF_RATINGS" | "INVALID_CONDITION" | "INVALID_AGE_GROUP" | "INVALID_GENDER" | "INVALID_COLOR" | "INVALID_SIZE" | "INVALID_SIZE_TYPE" | "INVALID_MATERIAL" | "INVALID_PATTERN" | "INVALID_CUSTOM_NUMBER_0" | "INVALID_CUSTOM_NUMBER_1" | "INVALID_CUSTOM_NUMBER_2" | "INVALID_CUSTOM_NUMBER_3" | "INVALID_CUSTOM_NUMBER_4" | "INVALID_PRODUCT_DETAIL" | "INVALID_PRODUCT_HIGHLIGHT" | "INVALID_LIFESTYLE_IMAGE_LINK" | "INVALID_IS_BUNDLE" | "INCOMPATIBLE_WITH_FUTURE_RELEASE" | undefined;
|
|
128
128
|
"page.token"?: string | undefined;
|
|
129
129
|
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
130
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
130
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
131
|
+
connectionId: z.ZodString;
|
|
132
|
+
entityId: z.ZodString;
|
|
133
|
+
instanceId: z.ZodString;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
accessToken: z.ZodString;
|
|
136
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
137
|
+
connectionId: z.ZodString;
|
|
138
|
+
entityId: z.ZodString;
|
|
139
|
+
instanceId: z.ZodString;
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
+
accessToken: z.ZodString;
|
|
142
|
+
}, z.core.$strip>>]>;
|
|
131
143
|
//#endregion
|
|
132
144
|
export { redditAdsListProductsInProductSet };
|
|
133
145
|
//# sourceMappingURL=list-products-in-product-set.d.cts.map
|
|
@@ -76,7 +76,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
76
76
|
catalog_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
approval_decision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
80
|
pattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
age_group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -110,15 +110,15 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
110
110
|
lifestyle_image_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
111
|
average_review_rating: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
112
|
additional_image_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
113
|
-
platform_specific_link: z.ZodOptional<z.ZodNullable<z.
|
|
113
|
+
platform_specific_link: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
114
114
|
google_product_category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
115
|
sale_price_effective_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
-
}, z.core.$
|
|
116
|
+
}, z.core.$loose>>;
|
|
117
117
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
118
118
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
119
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
-
}, z.core.$
|
|
121
|
-
}, z.core.$
|
|
120
|
+
}, z.core.$loose>>;
|
|
121
|
+
}, z.core.$loose>;
|
|
122
122
|
declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
123
123
|
product_set_id: string;
|
|
124
124
|
ids?: string[] | undefined;
|
|
@@ -127,7 +127,19 @@ declare const redditAdsListProductsInProductSet: import("@keystrokehq/action").W
|
|
|
127
127
|
issue_code?: "INVALID_ADDITIONAL_IMAGE_LINKS" | "INVALID_SALE_PRICE" | "INVALID_SALE_PRICE_EFFECTIVE_DATE" | "INVALID_EXPIRATION_DATE" | "IMAGE_PROCESSING_ERROR" | "IMAGE_REJECTED" | "LOW_IMAGE_QUALITY" | "INVALID_CUSTOM_LABEL_0" | "INVALID_CUSTOM_LABEL_1" | "INVALID_CUSTOM_LABEL_2" | "INVALID_CUSTOM_LABEL_3" | "INVALID_CUSTOM_LABEL_4" | "INVALID_GOOGLE_PRODUCT_CATEGORY" | "INVALID_PRODUCT_TYPE" | "INVALID_BRAND" | "INVALID_GTIN" | "INVALID_MPN" | "INVALID_ITEM_GROUP_ID" | "INVALID_COST_OF_GOODS_SOLD" | "INVALID_AVAILABILITY" | "INVALID_MOBILE_LINK" | "INVALID_PLATFORM_SPECIFIC_LINK" | "INVALID_AVERAGE_REVIEW_RATING" | "INVALID_NUMBER_OF_RATINGS" | "INVALID_CONDITION" | "INVALID_AGE_GROUP" | "INVALID_GENDER" | "INVALID_COLOR" | "INVALID_SIZE" | "INVALID_SIZE_TYPE" | "INVALID_MATERIAL" | "INVALID_PATTERN" | "INVALID_CUSTOM_NUMBER_0" | "INVALID_CUSTOM_NUMBER_1" | "INVALID_CUSTOM_NUMBER_2" | "INVALID_CUSTOM_NUMBER_3" | "INVALID_CUSTOM_NUMBER_4" | "INVALID_PRODUCT_DETAIL" | "INVALID_PRODUCT_HIGHLIGHT" | "INVALID_LIFESTYLE_IMAGE_LINK" | "INVALID_IS_BUNDLE" | "INCOMPATIBLE_WITH_FUTURE_RELEASE" | undefined;
|
|
128
128
|
"page.token"?: string | undefined;
|
|
129
129
|
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
130
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
130
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
131
|
+
connectionId: z.ZodString;
|
|
132
|
+
entityId: z.ZodString;
|
|
133
|
+
instanceId: z.ZodString;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
accessToken: z.ZodString;
|
|
136
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
137
|
+
connectionId: z.ZodString;
|
|
138
|
+
entityId: z.ZodString;
|
|
139
|
+
instanceId: z.ZodString;
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
+
accessToken: z.ZodString;
|
|
142
|
+
}, z.core.$strip>>]>;
|
|
131
143
|
//#endregion
|
|
132
144
|
export { redditAdsListProductsInProductSet };
|
|
133
145
|
//# sourceMappingURL=list-products-in-product-set.d.mts.map
|
|
@@ -63,7 +63,7 @@ const RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({
|
|
|
63
63
|
catalog_id: z.string().describe("ID of the catalog containing this product.").nullable().optional(),
|
|
64
64
|
image_link: z.string().describe("Reddit-processed image link for the product.").nullable().optional(),
|
|
65
65
|
approval_decision: z.string().describe("Approval status of the product on Reddit.").nullable().optional()
|
|
66
|
-
}).describe("Reddit-specific metadata for a product.");
|
|
66
|
+
}).passthrough().describe("Reddit-specific metadata for a product.");
|
|
67
67
|
const RedditAdsListProductsInProductSet_ProductSchema = z.object({
|
|
68
68
|
id: z.string().describe("Unique identifier of the product.").nullable(),
|
|
69
69
|
mpn: z.string().describe("Manufacturer Part Number (MPN) of the product.").nullable().optional(),
|
|
@@ -110,14 +110,14 @@ const RedditAdsListProductsInProductSet_ProductSchema = z.object({
|
|
|
110
110
|
lifestyle_image_link: z.string().describe("URL to a lifestyle image of the product in use.").nullable().optional(),
|
|
111
111
|
average_review_rating: z.string().describe("Average customer review rating.").nullable().optional(),
|
|
112
112
|
additional_image_links: z.array(z.string()).describe("List of additional image URLs for the product.").nullable().optional(),
|
|
113
|
-
platform_specific_link: z.
|
|
113
|
+
platform_specific_link: z.record(z.string(), z.unknown()).describe("Platform-specific links for different device types.").nullable().optional(),
|
|
114
114
|
google_product_category: z.string().describe("Google product category classification.").nullable().optional(),
|
|
115
115
|
sale_price_effective_date: z.string().describe("Date range when the sale price is effective.").nullable().optional()
|
|
116
|
-
}).describe("Represents a single product in the product set.");
|
|
116
|
+
}).passthrough().describe("Represents a single product in the product set.");
|
|
117
117
|
const RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({
|
|
118
118
|
next_url: z.string().describe("Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.").nullable().optional(),
|
|
119
119
|
previous_url: z.string().describe("Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.").nullable().optional()
|
|
120
|
-
}).describe("Pagination information for navigating through result pages.");
|
|
120
|
+
}).passthrough().describe("Pagination information for navigating through result pages.");
|
|
121
121
|
const redditAdsListProductsInProductSet = action("REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET", {
|
|
122
122
|
slug: "reddit_ads-list-products-in-product-set",
|
|
123
123
|
name: "List Products In Product Set",
|
|
@@ -126,7 +126,7 @@ const redditAdsListProductsInProductSet = action("REDDIT_ADS_LIST_PRODUCTS_IN_PR
|
|
|
126
126
|
output: z.object({
|
|
127
127
|
data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe("List of products in the product set."),
|
|
128
128
|
pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable()
|
|
129
|
-
}).describe("Response model containing the list of products and pagination information.")
|
|
129
|
+
}).passthrough().describe("Response model containing the list of products and pagination information.")
|
|
130
130
|
});
|
|
131
131
|
//#endregion
|
|
132
132
|
export { redditAdsListProductsInProductSet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-set.mjs","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.object({}).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0B;EAA6B;EAAgC;EAAqB;CAAkC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxoC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,mBAAmB,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,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AC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;EAC9G,YAAY,uDAAuD,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.mjs","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsListProductsInProductSetInput = z.object({\n ids: z.array(z.string()).describe(\"Optional list of specific product IDs to filter by. When provided, only products matching these IDs will be returned.\").optional(),\n search: z.string().describe(\"Search query to filter products by title, description, or other text fields.\").optional(),\n \"page.size\": z.number().int().describe(\"Number of products to return per page. Controls pagination size for the results.\").optional(),\n issue_code: z.enum([\"INVALID_ADDITIONAL_IMAGE_LINKS\", \"INVALID_SALE_PRICE\", \"INVALID_SALE_PRICE_EFFECTIVE_DATE\", \"INVALID_EXPIRATION_DATE\", \"IMAGE_PROCESSING_ERROR\", \"IMAGE_REJECTED\", \"LOW_IMAGE_QUALITY\", \"INVALID_CUSTOM_LABEL_0\", \"INVALID_CUSTOM_LABEL_1\", \"INVALID_CUSTOM_LABEL_2\", \"INVALID_CUSTOM_LABEL_3\", \"INVALID_CUSTOM_LABEL_4\", \"INVALID_GOOGLE_PRODUCT_CATEGORY\", \"INVALID_PRODUCT_TYPE\", \"INVALID_BRAND\", \"INVALID_GTIN\", \"INVALID_MPN\", \"INVALID_ITEM_GROUP_ID\", \"INVALID_COST_OF_GOODS_SOLD\", \"INVALID_AVAILABILITY\", \"INVALID_MOBILE_LINK\", \"INVALID_PLATFORM_SPECIFIC_LINK\", \"INVALID_AVERAGE_REVIEW_RATING\", \"INVALID_NUMBER_OF_RATINGS\", \"INVALID_CONDITION\", \"INVALID_AGE_GROUP\", \"INVALID_GENDER\", \"INVALID_COLOR\", \"INVALID_SIZE\", \"INVALID_SIZE_TYPE\", \"INVALID_MATERIAL\", \"INVALID_PATTERN\", \"INVALID_CUSTOM_NUMBER_0\", \"INVALID_CUSTOM_NUMBER_1\", \"INVALID_CUSTOM_NUMBER_2\", \"INVALID_CUSTOM_NUMBER_3\", \"INVALID_CUSTOM_NUMBER_4\", \"INVALID_PRODUCT_DETAIL\", \"INVALID_PRODUCT_HIGHLIGHT\", \"INVALID_LIFESTYLE_IMAGE_LINK\", \"INVALID_IS_BUNDLE\", \"INCOMPATIBLE_WITH_FUTURE_RELEASE\"]).describe(\"Enum for product issue codes that can be used to filter products.\").optional(),\n \"page.token\": z.string().describe(\"Token for retrieving a specific page of results. Use the token from pagination.next_url or pagination.previous_url to navigate through pages.\").optional(),\n product_set_id: z.string().describe(\"The ID of the product set to list products from.\"),\n approval_decision: z.enum([\"PENDING\", \"APPROVED\", \"REJECTED\"]).describe(\"Enum for product approval decisions in Reddit Ads.\").optional(),\n}).describe(\"Request model for listing products in a product set.\");\nconst RedditAdsListProductsInProductSet_RedditMetadataSchema = z.object({\n id: z.string().describe(\"Reddit-specific product ID.\").nullable().optional(),\n issues: z.array(z.string()).describe(\"List of issues identified with the product.\").nullable().optional(),\n catalog_id: z.string().describe(\"ID of the catalog containing this product.\").nullable().optional(),\n image_link: z.string().describe(\"Reddit-processed image link for the product.\").nullable().optional(),\n approval_decision: z.string().describe(\"Approval status of the product on Reddit.\").nullable().optional(),\n}).passthrough().describe(\"Reddit-specific metadata for a product.\");\nconst RedditAdsListProductsInProductSet_ProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product.\").nullable(),\n mpn: z.string().describe(\"Manufacturer Part Number (MPN) of the product.\").nullable().optional(),\n gtin: z.string().describe(\"Global Trade Item Number (GTIN) for the product.\").nullable().optional(),\n link: z.string().describe(\"URL link to the product page.\").nullable(),\n size: z.string().describe(\"Size of the product.\").nullable().optional(),\n adult: z.boolean().describe(\"Whether the product is marked as adult content.\").nullable().optional(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n color: z.string().describe(\"Color of the product.\").nullable().optional(),\n price: z.string().describe(\"Price of the product, including currency symbol.\").nullable(),\n title: z.string().describe(\"Title of the product.\").nullable(),\n gender: z.string().describe(\"Target gender for the product.\").nullable().optional(),\n reddit: RedditAdsListProductsInProductSet_RedditMetadataSchema.nullable().optional(),\n pattern: z.string().describe(\"Pattern or design of the product.\").nullable().optional(),\n material: z.string().describe(\"Material composition of the product.\").nullable().optional(),\n age_group: z.string().describe(\"Target age group for the product.\").nullable().optional(),\n condition: z.string().describe(\"Condition of the product (e.g., new, used).\").nullable().optional(),\n is_bundle: z.boolean().describe(\"Whether the product is a bundle of multiple items.\").nullable().optional(),\n size_type: z.string().describe(\"Type of sizing system used (e.g., regular, petite).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the product was created.\").nullable(),\n image_link: z.string().describe(\"URL link to the main product image.\").nullable(),\n sale_price: z.string().describe(\"Sale price if the product is on discount.\").nullable().optional(),\n description: z.string().describe(\"Description of the product.\").nullable(),\n mobile_link: z.string().describe(\"Mobile-optimized URL for the product page.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the product was last modified.\").nullable(),\n availability: z.string().describe(\"Product availability status.\").nullable().optional(),\n product_type: z.string().describe(\"Type or category of the product.\").nullable().optional(),\n item_group_id: z.string().describe(\"ID linking product variants together.\").nullable().optional(),\n custom_label_0: z.string().describe(\"Custom label 0 for product categorization.\").nullable().optional(),\n custom_label_1: z.string().describe(\"Custom label 1 for product categorization.\").nullable().optional(),\n custom_label_2: z.string().describe(\"Custom label 2 for product categorization.\").nullable().optional(),\n custom_label_3: z.string().describe(\"Custom label 3 for product categorization.\").nullable().optional(),\n custom_label_4: z.string().describe(\"Custom label 4 for product categorization.\").nullable().optional(),\n product_detail: z.string().describe(\"Detailed product information.\").nullable().optional(),\n custom_number_0: z.number().int().describe(\"Custom number 0 for product data.\").nullable().optional(),\n custom_number_1: z.number().int().describe(\"Custom number 1 for product data.\").nullable().optional(),\n custom_number_2: z.number().int().describe(\"Custom number 2 for product data.\").nullable().optional(),\n custom_number_3: z.number().int().describe(\"Custom number 3 for product data.\").nullable().optional(),\n custom_number_4: z.number().int().describe(\"Custom number 4 for product data.\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the product.\").nullable().optional(),\n number_of_ratings: z.number().int().describe(\"Number of customer ratings received.\").nullable().optional(),\n product_highlight: z.string().describe(\"Key highlights or features of the product.\").nullable().optional(),\n cost_of_goods_sold: z.string().describe(\"Cost of goods sold for the product.\").nullable().optional(),\n lifestyle_image_link: z.string().describe(\"URL to a lifestyle image of the product in use.\").nullable().optional(),\n average_review_rating: z.string().describe(\"Average customer review rating.\").nullable().optional(),\n additional_image_links: z.array(z.string()).describe(\"List of additional image URLs for the product.\").nullable().optional(),\n platform_specific_link: z.record(z.string(), z.unknown()).describe(\"Platform-specific links for different device types.\").nullable().optional(),\n google_product_category: z.string().describe(\"Google product category classification.\").nullable().optional(),\n sale_price_effective_date: z.string().describe(\"Date range when the sale price is effective.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single product in the product set.\");\nconst RedditAdsListProductsInProductSet_PaginationInfoSchema = z.object({\n next_url: z.string().describe(\"Full URL for the next page of results. If null, the current page is the final page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"Full URL for the previous page of results. If null, the current page is the first page. Follow this URL directly without modifying query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through result pages.\");\nexport const RedditAdsListProductsInProductSetOutput = z.object({\n data: z.array(RedditAdsListProductsInProductSet_ProductSchema).describe(\"List of products in the product set.\"),\n pagination: RedditAdsListProductsInProductSet_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of products and pagination information.\");\n\nexport const redditAdsListProductsInProductSet = action(\"REDDIT_ADS_LIST_PRODUCTS_IN_PRODUCT_SET\", {\n slug: \"reddit_ads-list-products-in-product-set\",\n name: \"List Products In Product Set\",\n description: \"Tool to retrieve all products in a Reddit Ads product set. Use when you need to list products within a specific product set, with optional filtering by approval status, issue codes, search terms, or specific product IDs.\",\n input: RedditAdsListProductsInProductSetInput,\n output: RedditAdsListProductsInProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACpK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,KAAK;EAAC;EAAkC;EAAsB;EAAqC;EAA2B;EAA0B;EAAkB;EAAqB;EAA0B;EAA0B;EAA0B;EAA0B;EAA0B;EAAmC;EAAwB;EAAiB;EAAgB;EAAe;EAAyB;EAA8B;EAAwB;EAAuB;EAAkC;EAAiC;EAA6B;EAAqB;EAAqB;EAAkB;EAAiB;EAAgB;EAAqB;EAAoB;EAAmB;EAA2B;EAA2B;EAA2B;EAA2B;EAA2B;EAA0B;EAA6B;EAAgC;EAAqB;CAAkC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxoC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,mBAAmB,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS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AS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;EAC9G,YAAY,uDAAuD,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -12,15 +12,15 @@ const RedditAdsListProfilesByAdAccount_ProfileSchema = zod.z.object({
|
|
|
12
12
|
business_id: zod.z.string().describe("The ID of the business associated with this profile.").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("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 = 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: Follow the URL directly; don't assume pagination based on query parameters.").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: 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 RedditAdsListProfilesByAdAccountOutput = zod.z.object({
|
|
21
21
|
data: zod.z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe("List of profiles associated with the ad account."),
|
|
22
22
|
pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable()
|
|
23
|
-
}).describe("Response containing the list of profiles and pagination information.");
|
|
23
|
+
}).passthrough().describe("Response containing the list of profiles and pagination information.");
|
|
24
24
|
const redditAdsListProfilesByAdAccount = require_action.action("REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT", {
|
|
25
25
|
slug: "reddit_ads-list-profiles-by-ad-account",
|
|
26
26
|
name: "List Profiles By Ad Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-ad-account.cjs","names":["z","action"],"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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,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.cjs","names":["z","action"],"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,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClO,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kDAAkD;CACzH,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -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.cts.map
|