@keystrokehq/reddit_ads 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-ad-group.cjs +1 -0
- package/dist/actions/create-ad-group.cjs.map +1 -1
- package/dist/actions/create-ad-group.d.cts +3 -36
- package/dist/actions/create-ad-group.d.cts.map +1 -1
- package/dist/actions/create-ad-group.d.mts +3 -36
- package/dist/actions/create-ad-group.d.mts.map +1 -1
- package/dist/actions/create-ad-group.mjs +1 -0
- package/dist/actions/create-ad-group.mjs.map +1 -1
- package/dist/actions/create-batch-products.cjs +1 -0
- package/dist/actions/create-batch-products.cjs.map +1 -1
- package/dist/actions/create-batch-products.d.cts +3 -63
- package/dist/actions/create-batch-products.d.cts.map +1 -1
- package/dist/actions/create-batch-products.d.mts +3 -63
- package/dist/actions/create-batch-products.d.mts.map +1 -1
- package/dist/actions/create-batch-products.mjs +1 -0
- package/dist/actions/create-batch-products.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +1 -0
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +4 -37
- package/dist/actions/create-campaign.d.cts.map +1 -1
- package/dist/actions/create-campaign.d.mts +4 -37
- package/dist/actions/create-campaign.d.mts.map +1 -1
- package/dist/actions/create-campaign.mjs +1 -0
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-audience.cjs +1 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -1
- package/dist/actions/create-custom-audience.d.cts +3 -20
- package/dist/actions/create-custom-audience.d.cts.map +1 -1
- package/dist/actions/create-custom-audience.d.mts +3 -20
- package/dist/actions/create-custom-audience.d.mts.map +1 -1
- package/dist/actions/create-custom-audience.mjs +1 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -1
- package/dist/actions/create-lead-gen-form.cjs +1 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -1
- package/dist/actions/create-lead-gen-form.d.cts +3 -26
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/create-lead-gen-form.d.mts +3 -26
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/create-lead-gen-form.mjs +1 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +3 -28
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +3 -28
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-product-catalog.cjs +1 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -1
- package/dist/actions/create-product-catalog.d.cts +3 -21
- package/dist/actions/create-product-catalog.d.cts.map +1 -1
- package/dist/actions/create-product-catalog.d.mts +3 -21
- package/dist/actions/create-product-catalog.d.mts.map +1 -1
- package/dist/actions/create-product-catalog.mjs +1 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -1
- package/dist/actions/create-product-feed.cjs +1 -0
- package/dist/actions/create-product-feed.cjs.map +1 -1
- package/dist/actions/create-product-feed.d.cts +3 -22
- package/dist/actions/create-product-feed.d.cts.map +1 -1
- package/dist/actions/create-product-feed.d.mts +3 -22
- package/dist/actions/create-product-feed.d.mts.map +1 -1
- package/dist/actions/create-product-feed.mjs +1 -0
- package/dist/actions/create-product-feed.mjs.map +1 -1
- package/dist/actions/create-product-set.cjs +1 -0
- package/dist/actions/create-product-set.cjs.map +1 -1
- package/dist/actions/create-product-set.d.cts +3 -19
- package/dist/actions/create-product-set.d.cts.map +1 -1
- package/dist/actions/create-product-set.d.mts +3 -19
- package/dist/actions/create-product-set.d.mts.map +1 -1
- package/dist/actions/create-product-set.mjs +1 -0
- package/dist/actions/create-product-set.mjs.map +1 -1
- package/dist/actions/create-saved-audience.cjs +1 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -1
- package/dist/actions/create-saved-audience.d.cts +4 -38
- package/dist/actions/create-saved-audience.d.cts.map +1 -1
- package/dist/actions/create-saved-audience.d.mts +4 -38
- package/dist/actions/create-saved-audience.d.mts.map +1 -1
- package/dist/actions/create-saved-audience.mjs +1 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.cjs +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.cts +3 -52
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.d.mts +3 -52
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -1
- package/dist/actions/create-structured-post-creation-job.mjs +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -1
- package/dist/actions/delete-custom-audience.cjs +1 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -1
- package/dist/actions/delete-custom-audience.d.cts +3 -15
- package/dist/actions/delete-custom-audience.d.cts.map +1 -1
- package/dist/actions/delete-custom-audience.d.mts +3 -15
- package/dist/actions/delete-custom-audience.d.mts.map +1 -1
- package/dist/actions/delete-custom-audience.mjs +1 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -1
- package/dist/actions/delete-product-catalog.cjs +1 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -1
- package/dist/actions/delete-product-catalog.d.cts +3 -15
- package/dist/actions/delete-product-catalog.d.cts.map +1 -1
- package/dist/actions/delete-product-catalog.d.mts +3 -15
- package/dist/actions/delete-product-catalog.d.mts.map +1 -1
- package/dist/actions/delete-product-catalog.mjs +1 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -1
- package/dist/actions/delete-product-feed.cjs +1 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -1
- package/dist/actions/delete-product-feed.d.cts +3 -15
- package/dist/actions/delete-product-feed.d.cts.map +1 -1
- package/dist/actions/delete-product-feed.d.mts +3 -15
- package/dist/actions/delete-product-feed.d.mts.map +1 -1
- package/dist/actions/delete-product-feed.mjs +1 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -1
- package/dist/actions/delete-product-set.cjs +1 -0
- package/dist/actions/delete-product-set.cjs.map +1 -1
- package/dist/actions/delete-product-set.d.cts +3 -15
- package/dist/actions/delete-product-set.d.cts.map +1 -1
- package/dist/actions/delete-product-set.d.mts +3 -15
- package/dist/actions/delete-product-set.d.mts.map +1 -1
- package/dist/actions/delete-product-set.mjs +1 -0
- package/dist/actions/delete-product-set.mjs.map +1 -1
- package/dist/actions/delete-products.cjs +1 -0
- package/dist/actions/delete-products.cjs.map +1 -1
- package/dist/actions/delete-products.d.cts +3 -16
- package/dist/actions/delete-products.d.cts.map +1 -1
- package/dist/actions/delete-products.d.mts +3 -16
- package/dist/actions/delete-products.d.mts.map +1 -1
- package/dist/actions/delete-products.mjs +1 -0
- package/dist/actions/delete-products.mjs.map +1 -1
- package/dist/actions/do-geolocation-validations.cjs +1 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -1
- package/dist/actions/do-geolocation-validations.d.cts +3 -16
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -1
- package/dist/actions/do-geolocation-validations.d.mts +3 -16
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -1
- package/dist/actions/do-geolocation-validations.mjs +1 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -1
- package/dist/actions/do-keyword-validations.cjs +1 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -1
- package/dist/actions/do-keyword-validations.d.cts +3 -17
- package/dist/actions/do-keyword-validations.d.cts.map +1 -1
- package/dist/actions/do-keyword-validations.d.mts +3 -17
- package/dist/actions/do-keyword-validations.d.mts.map +1 -1
- package/dist/actions/do-keyword-validations.mjs +1 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.cjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.cts +3 -15
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.d.mts +3 -15
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -1
- package/dist/actions/generate-inspiration-creative-summary.mjs +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -1
- package/dist/actions/get-a-report.cjs +1 -0
- package/dist/actions/get-a-report.cjs.map +1 -1
- package/dist/actions/get-a-report.d.cts +3 -26
- package/dist/actions/get-a-report.d.cts.map +1 -1
- package/dist/actions/get-a-report.d.mts +3 -26
- package/dist/actions/get-a-report.d.mts.map +1 -1
- package/dist/actions/get-a-report.mjs +1 -0
- package/dist/actions/get-a-report.mjs.map +1 -1
- package/dist/actions/get-ad-account-history.cjs +1 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -1
- package/dist/actions/get-ad-account-history.d.cts +3 -38
- package/dist/actions/get-ad-account-history.d.cts.map +1 -1
- package/dist/actions/get-ad-account-history.d.mts +3 -38
- package/dist/actions/get-ad-account-history.d.mts.map +1 -1
- package/dist/actions/get-ad-account-history.mjs +1 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -1
- package/dist/actions/get-ad-account.cjs +1 -0
- package/dist/actions/get-ad-account.cjs.map +1 -1
- package/dist/actions/get-ad-account.d.cts +3 -15
- package/dist/actions/get-ad-account.d.cts.map +1 -1
- package/dist/actions/get-ad-account.d.mts +3 -15
- package/dist/actions/get-ad-account.d.mts.map +1 -1
- package/dist/actions/get-ad-account.mjs +1 -0
- package/dist/actions/get-ad-account.mjs.map +1 -1
- package/dist/actions/get-ad-group.cjs +1 -0
- package/dist/actions/get-ad-group.cjs.map +1 -1
- package/dist/actions/get-ad-group.d.cts +3 -15
- package/dist/actions/get-ad-group.d.cts.map +1 -1
- package/dist/actions/get-ad-group.d.mts +3 -15
- package/dist/actions/get-ad-group.d.mts.map +1 -1
- package/dist/actions/get-ad-group.mjs +1 -0
- package/dist/actions/get-ad-group.mjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.cjs +1 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.cts +3 -15
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-app-last-fired-at.d.mts +3 -15
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-app-last-fired-at.mjs +1 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-business.cjs +1 -0
- package/dist/actions/get-business.cjs.map +1 -1
- package/dist/actions/get-business.d.cts +3 -15
- package/dist/actions/get-business.d.cts.map +1 -1
- package/dist/actions/get-business.d.mts +3 -15
- package/dist/actions/get-business.d.mts.map +1 -1
- package/dist/actions/get-business.mjs +1 -0
- package/dist/actions/get-business.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +1 -0
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +3 -15
- package/dist/actions/get-campaign.d.cts.map +1 -1
- package/dist/actions/get-campaign.d.mts +3 -15
- package/dist/actions/get-campaign.d.mts.map +1 -1
- package/dist/actions/get-campaign.mjs +1 -0
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.cjs +1 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.cts +3 -21
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -1
- package/dist/actions/get-channel-planning-reach.d.mts +3 -21
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -1
- package/dist/actions/get-channel-planning-reach.mjs +1 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.cjs +1 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.cts +3 -17
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -1
- package/dist/actions/get-child-funding-instruments.d.mts +3 -17
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -1
- package/dist/actions/get-child-funding-instruments.mjs +1 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -1
- package/dist/actions/get-custom-audience.cjs +1 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -1
- package/dist/actions/get-custom-audience.d.cts +4 -16
- package/dist/actions/get-custom-audience.d.cts.map +1 -1
- package/dist/actions/get-custom-audience.d.mts +4 -16
- package/dist/actions/get-custom-audience.d.mts.map +1 -1
- package/dist/actions/get-custom-audience.mjs +1 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -1
- package/dist/actions/get-lead-gen-form.cjs +1 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -1
- package/dist/actions/get-lead-gen-form.d.cts +3 -15
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -1
- package/dist/actions/get-lead-gen-form.d.mts +3 -15
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -1
- package/dist/actions/get-lead-gen-form.mjs +1 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -1
- package/dist/actions/get-me.cjs +1 -0
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +3 -13
- package/dist/actions/get-me.d.cts.map +1 -1
- package/dist/actions/get-me.d.mts +3 -13
- package/dist/actions/get-me.d.mts.map +1 -1
- package/dist/actions/get-me.mjs +1 -0
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.cjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.cts +3 -15
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.d.mts +3 -15
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -1
- package/dist/actions/get-pixel-last-fired-at.mjs +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -1
- package/dist/actions/get-post.cjs +1 -0
- package/dist/actions/get-post.cjs.map +1 -1
- package/dist/actions/get-post.d.cts +3 -15
- package/dist/actions/get-post.d.cts.map +1 -1
- package/dist/actions/get-post.d.mts +3 -15
- package/dist/actions/get-post.d.mts.map +1 -1
- package/dist/actions/get-post.mjs +1 -0
- package/dist/actions/get-post.mjs.map +1 -1
- package/dist/actions/get-product-catalog.cjs +1 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -1
- package/dist/actions/get-product-catalog.d.cts +3 -15
- package/dist/actions/get-product-catalog.d.cts.map +1 -1
- package/dist/actions/get-product-catalog.d.mts +3 -15
- package/dist/actions/get-product-catalog.d.mts.map +1 -1
- package/dist/actions/get-product-catalog.mjs +1 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -1
- package/dist/actions/get-product-feed.cjs +1 -0
- package/dist/actions/get-product-feed.cjs.map +1 -1
- package/dist/actions/get-product-feed.d.cts +3 -15
- package/dist/actions/get-product-feed.d.cts.map +1 -1
- package/dist/actions/get-product-feed.d.mts +3 -15
- package/dist/actions/get-product-feed.d.mts.map +1 -1
- package/dist/actions/get-product-feed.mjs +1 -0
- package/dist/actions/get-product-feed.mjs.map +1 -1
- package/dist/actions/get-product-set.cjs +1 -0
- package/dist/actions/get-product-set.cjs.map +1 -1
- package/dist/actions/get-product-set.d.cts +3 -15
- package/dist/actions/get-product-set.d.cts.map +1 -1
- package/dist/actions/get-product-set.d.mts +3 -15
- package/dist/actions/get-product-set.d.mts.map +1 -1
- package/dist/actions/get-product-set.mjs +1 -0
- package/dist/actions/get-product-set.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +1 -0
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +3 -15
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -15
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +1 -0
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/get-saved-audience.cjs +1 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -1
- package/dist/actions/get-saved-audience.d.cts +4 -16
- package/dist/actions/get-saved-audience.d.cts.map +1 -1
- package/dist/actions/get-saved-audience.d.mts +4 -16
- package/dist/actions/get-saved-audience.d.mts.map +1 -1
- package/dist/actions/get-saved-audience.mjs +1 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.cjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.cts +3 -17
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.d.mts +3 -17
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -1
- package/dist/actions/get-sk-ad-network-availability.mjs +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -1
- package/dist/actions/get-structured-post.cjs +1 -0
- package/dist/actions/get-structured-post.cjs.map +1 -1
- package/dist/actions/get-structured-post.d.cts +3 -15
- package/dist/actions/get-structured-post.d.cts.map +1 -1
- package/dist/actions/get-structured-post.d.mts +3 -15
- package/dist/actions/get-structured-post.d.mts.map +1 -1
- package/dist/actions/get-structured-post.mjs +1 -0
- package/dist/actions/get-structured-post.mjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.cjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.cts +3 -18
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.d.mts +3 -18
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -1
- package/dist/actions/list-ad-accounts-by-business.mjs +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -1
- package/dist/actions/list-ad-groups.cjs +1 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -1
- package/dist/actions/list-ad-groups.d.cts +3 -19
- package/dist/actions/list-ad-groups.d.cts.map +1 -1
- package/dist/actions/list-ad-groups.d.mts +3 -19
- package/dist/actions/list-ad-groups.d.mts.map +1 -1
- package/dist/actions/list-ad-groups.mjs +1 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -1
- package/dist/actions/list-ads.cjs +1 -0
- package/dist/actions/list-ads.cjs.map +1 -1
- package/dist/actions/list-ads.d.cts +3 -18
- package/dist/actions/list-ads.d.cts.map +1 -1
- package/dist/actions/list-ads.d.mts +3 -18
- package/dist/actions/list-ads.d.mts.map +1 -1
- package/dist/actions/list-ads.mjs +1 -0
- package/dist/actions/list-ads.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -18
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -18
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carriers.cjs +1 -0
- package/dist/actions/list-carriers.cjs.map +1 -1
- package/dist/actions/list-carriers.d.cts +3 -16
- package/dist/actions/list-carriers.d.cts.map +1 -1
- package/dist/actions/list-carriers.d.mts +3 -16
- package/dist/actions/list-carriers.d.mts.map +1 -1
- package/dist/actions/list-carriers.mjs +1 -0
- package/dist/actions/list-carriers.mjs.map +1 -1
- package/dist/actions/list-catalog-imports.cjs +1 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -1
- package/dist/actions/list-catalog-imports.d.cts +3 -19
- package/dist/actions/list-catalog-imports.d.cts.map +1 -1
- package/dist/actions/list-catalog-imports.d.mts +3 -19
- package/dist/actions/list-catalog-imports.d.mts.map +1 -1
- package/dist/actions/list-catalog-imports.mjs +1 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -1
- package/dist/actions/list-communities-suggestions.cjs +1 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -1
- package/dist/actions/list-communities-suggestions.d.cts +3 -18
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -1
- package/dist/actions/list-communities-suggestions.d.mts +3 -18
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -1
- package/dist/actions/list-communities-suggestions.mjs +1 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -1
- package/dist/actions/list-communities.cjs +1 -0
- package/dist/actions/list-communities.cjs.map +1 -1
- package/dist/actions/list-communities.d.cts +3 -17
- package/dist/actions/list-communities.d.cts.map +1 -1
- package/dist/actions/list-communities.d.mts +3 -17
- package/dist/actions/list-communities.d.mts.map +1 -1
- package/dist/actions/list-communities.mjs +1 -0
- package/dist/actions/list-communities.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -16
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -16
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-funding-instruments.cjs +1 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -1
- package/dist/actions/list-funding-instruments.d.cts +3 -24
- package/dist/actions/list-funding-instruments.d.cts.map +1 -1
- package/dist/actions/list-funding-instruments.d.mts +3 -24
- package/dist/actions/list-funding-instruments.d.mts.map +1 -1
- package/dist/actions/list-funding-instruments.mjs +1 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -1
- package/dist/actions/list-geolocations.cjs +1 -0
- package/dist/actions/list-geolocations.cjs.map +1 -1
- package/dist/actions/list-geolocations.d.cts +3 -17
- package/dist/actions/list-geolocations.d.cts.map +1 -1
- package/dist/actions/list-geolocations.d.mts +3 -17
- package/dist/actions/list-geolocations.d.mts.map +1 -1
- package/dist/actions/list-geolocations.mjs +1 -0
- package/dist/actions/list-geolocations.mjs.map +1 -1
- package/dist/actions/list-industries.cjs +1 -0
- package/dist/actions/list-industries.cjs.map +1 -1
- package/dist/actions/list-industries.d.cts +3 -13
- package/dist/actions/list-industries.d.cts.map +1 -1
- package/dist/actions/list-industries.d.mts +3 -13
- package/dist/actions/list-industries.d.mts.map +1 -1
- package/dist/actions/list-industries.mjs +1 -0
- package/dist/actions/list-industries.mjs.map +1 -1
- package/dist/actions/list-interests.cjs +1 -0
- package/dist/actions/list-interests.cjs.map +1 -1
- package/dist/actions/list-interests.d.cts +3 -13
- package/dist/actions/list-interests.d.cts.map +1 -1
- package/dist/actions/list-interests.d.mts +3 -13
- package/dist/actions/list-interests.d.mts.map +1 -1
- package/dist/actions/list-interests.mjs +1 -0
- package/dist/actions/list-interests.mjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.cjs +1 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.cts +3 -17
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -1
- package/dist/actions/list-lead-gen-forms.d.mts +3 -17
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -1
- package/dist/actions/list-lead-gen-forms.mjs +1 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -1
- package/dist/actions/list-my-businesses.cjs +1 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -1
- package/dist/actions/list-my-businesses.d.cts +3 -18
- package/dist/actions/list-my-businesses.d.cts.map +1 -1
- package/dist/actions/list-my-businesses.d.mts +3 -18
- package/dist/actions/list-my-businesses.d.mts.map +1 -1
- package/dist/actions/list-my-businesses.mjs +1 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.cjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.cts +3 -17
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.d.mts +3 -17
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-ad-account.mjs +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-pixels-by-business.cjs +1 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -1
- package/dist/actions/list-pixels-by-business.d.cts +3 -17
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -1
- package/dist/actions/list-pixels-by-business.d.mts +3 -17
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -1
- package/dist/actions/list-pixels-by-business.mjs +1 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -1
- package/dist/actions/list-posts.cjs +1 -0
- package/dist/actions/list-posts.cjs.map +1 -1
- package/dist/actions/list-posts.d.cts +3 -19
- package/dist/actions/list-posts.d.cts.map +1 -1
- package/dist/actions/list-posts.d.mts +3 -19
- package/dist/actions/list-posts.d.mts.map +1 -1
- package/dist/actions/list-posts.mjs +1 -0
- package/dist/actions/list-posts.mjs.map +1 -1
- package/dist/actions/list-product-catalogs.cjs +1 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -1
- package/dist/actions/list-product-catalogs.d.cts +3 -15
- package/dist/actions/list-product-catalogs.d.cts.map +1 -1
- package/dist/actions/list-product-catalogs.d.mts +3 -15
- package/dist/actions/list-product-catalogs.d.mts.map +1 -1
- package/dist/actions/list-product-catalogs.mjs +1 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -1
- package/dist/actions/list-product-feeds.cjs +1 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -1
- package/dist/actions/list-product-feeds.d.cts +3 -15
- package/dist/actions/list-product-feeds.d.cts.map +1 -1
- package/dist/actions/list-product-feeds.d.mts +3 -15
- package/dist/actions/list-product-feeds.d.mts.map +1 -1
- package/dist/actions/list-product-feeds.mjs +1 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -1
- package/dist/actions/list-product-sets.cjs +1 -0
- package/dist/actions/list-product-sets.cjs.map +1 -1
- package/dist/actions/list-product-sets.d.cts +3 -17
- package/dist/actions/list-product-sets.d.cts.map +1 -1
- package/dist/actions/list-product-sets.d.mts +3 -17
- package/dist/actions/list-product-sets.d.mts.map +1 -1
- package/dist/actions/list-product-sets.mjs +1 -0
- package/dist/actions/list-product-sets.mjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.cjs +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.cts +3 -20
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.d.mts +3 -20
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-catalog.mjs +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -1
- package/dist/actions/list-products-in-product-set.cjs +1 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -1
- package/dist/actions/list-products-in-product-set.d.cts +3 -21
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -1
- package/dist/actions/list-products-in-product-set.d.mts +3 -21
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -1
- package/dist/actions/list-products-in-product-set.mjs +1 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.cjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.cts +3 -17
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.d.mts +3 -17
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-ad-account.mjs +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -1
- package/dist/actions/list-profiles-by-business.cjs +1 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -1
- package/dist/actions/list-profiles-by-business.d.cts +3 -17
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -1
- package/dist/actions/list-profiles-by-business.d.mts +3 -17
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -1
- package/dist/actions/list-profiles-by-business.mjs +1 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -1
- package/dist/actions/list-saved-audiences.cjs +1 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -1
- package/dist/actions/list-saved-audiences.d.cts +3 -17
- package/dist/actions/list-saved-audiences.d.cts.map +1 -1
- package/dist/actions/list-saved-audiences.d.mts +3 -17
- package/dist/actions/list-saved-audiences.d.mts.map +1 -1
- package/dist/actions/list-saved-audiences.mjs +1 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -1
- package/dist/actions/list-structured-posts.cjs +1 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -1
- package/dist/actions/list-structured-posts.d.cts +3 -20
- package/dist/actions/list-structured-posts.d.cts.map +1 -1
- package/dist/actions/list-structured-posts.d.mts +3 -20
- package/dist/actions/list-structured-posts.d.mts.map +1 -1
- package/dist/actions/list-structured-posts.mjs +1 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -1
- package/dist/actions/list-time-zones.cjs +1 -0
- package/dist/actions/list-time-zones.cjs.map +1 -1
- package/dist/actions/list-time-zones.d.cts +3 -16
- package/dist/actions/list-time-zones.d.cts.map +1 -1
- package/dist/actions/list-time-zones.d.mts +3 -16
- package/dist/actions/list-time-zones.d.mts.map +1 -1
- package/dist/actions/list-time-zones.mjs +1 -0
- package/dist/actions/list-time-zones.mjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.cjs +1 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.cts +3 -18
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -1
- package/dist/actions/list-user-custom-audiences.d.mts +3 -18
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -1
- package/dist/actions/list-user-custom-audiences.mjs +1 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.cjs +1 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.cts +3 -16
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -1
- package/dist/actions/list3rd-party-audiences.d.mts +3 -16
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -1
- package/dist/actions/list3rd-party-audiences.mjs +1 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -1
- package/dist/actions/query-ad-accounts.cjs +1 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -1
- package/dist/actions/query-ad-accounts.d.cts +3 -29
- package/dist/actions/query-ad-accounts.d.cts.map +1 -1
- package/dist/actions/query-ad-accounts.d.mts +3 -29
- package/dist/actions/query-ad-accounts.d.mts.map +1 -1
- package/dist/actions/query-ad-accounts.mjs +1 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.cjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.cts +3 -23
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.d.mts +3 -23
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -1
- package/dist/actions/query-funding-instruments-by-business.mjs +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -1
- package/dist/actions/search-communities.cjs +1 -0
- package/dist/actions/search-communities.cjs.map +1 -1
- package/dist/actions/search-communities.d.cts +3 -17
- package/dist/actions/search-communities.d.cts.map +1 -1
- package/dist/actions/search-communities.d.mts +3 -17
- package/dist/actions/search-communities.d.mts.map +1 -1
- package/dist/actions/search-communities.mjs +1 -0
- package/dist/actions/search-communities.mjs.map +1 -1
- package/dist/actions/update-ad-account.cjs +1 -0
- package/dist/actions/update-ad-account.cjs.map +1 -1
- package/dist/actions/update-ad-account.d.cts +3 -29
- package/dist/actions/update-ad-account.d.cts.map +1 -1
- package/dist/actions/update-ad-account.d.mts +3 -29
- package/dist/actions/update-ad-account.d.mts.map +1 -1
- package/dist/actions/update-ad-account.mjs +1 -0
- package/dist/actions/update-ad-account.mjs.map +1 -1
- package/dist/actions/update-business.cjs +1 -0
- package/dist/actions/update-business.cjs.map +1 -1
- package/dist/actions/update-business.d.cts +3 -24
- package/dist/actions/update-business.d.cts.map +1 -1
- package/dist/actions/update-business.d.mts +3 -24
- package/dist/actions/update-business.d.mts.map +1 -1
- package/dist/actions/update-business.mjs +1 -0
- package/dist/actions/update-business.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -39
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -39
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-audience-users.cjs +1 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -1
- package/dist/actions/update-custom-audience-users.d.cts +3 -20
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -1
- package/dist/actions/update-custom-audience-users.d.mts +3 -20
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -1
- package/dist/actions/update-custom-audience-users.mjs +1 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -1
- package/dist/actions/update-post.cjs +1 -0
- package/dist/actions/update-post.cjs.map +1 -1
- package/dist/actions/update-post.d.cts +3 -18
- package/dist/actions/update-post.d.cts.map +1 -1
- package/dist/actions/update-post.d.mts +3 -18
- package/dist/actions/update-post.d.mts.map +1 -1
- package/dist/actions/update-post.mjs +1 -0
- package/dist/actions/update-post.mjs.map +1 -1
- package/dist/actions/update-product-catalog.cjs +1 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -1
- package/dist/actions/update-product-catalog.d.cts +3 -19
- package/dist/actions/update-product-catalog.d.cts.map +1 -1
- package/dist/actions/update-product-catalog.d.mts +3 -19
- package/dist/actions/update-product-catalog.d.mts.map +1 -1
- package/dist/actions/update-product-catalog.mjs +1 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -1
- package/dist/actions/update-product-feed.cjs +1 -0
- package/dist/actions/update-product-feed.cjs.map +1 -1
- package/dist/actions/update-product-feed.d.cts +3 -33
- package/dist/actions/update-product-feed.d.cts.map +1 -1
- package/dist/actions/update-product-feed.d.mts +3 -33
- package/dist/actions/update-product-feed.d.mts.map +1 -1
- package/dist/actions/update-product-feed.mjs +1 -0
- package/dist/actions/update-product-feed.mjs.map +1 -1
- package/dist/actions/update-product-set.cjs +1 -0
- package/dist/actions/update-product-set.cjs.map +1 -1
- package/dist/actions/update-product-set.d.cts +3 -19
- package/dist/actions/update-product-set.d.cts.map +1 -1
- package/dist/actions/update-product-set.d.mts +3 -19
- package/dist/actions/update-product-set.d.mts.map +1 -1
- package/dist/actions/update-product-set.mjs +1 -0
- package/dist/actions/update-product-set.mjs.map +1 -1
- package/dist/actions/update-saved-audience.cjs +1 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -1
- package/dist/actions/update-saved-audience.d.cts +4 -47
- package/dist/actions/update-saved-audience.d.cts.map +1 -1
- package/dist/actions/update-saved-audience.d.mts +4 -47
- package/dist/actions/update-saved-audience.d.mts.map +1 -1
- package/dist/actions/update-saved-audience.mjs +1 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -1
- package/dist/actions/update-structured-post.cjs +1 -0
- package/dist/actions/update-structured-post.cjs.map +1 -1
- package/dist/actions/update-structured-post.d.cts +3 -18
- package/dist/actions/update-structured-post.d.cts.map +1 -1
- package/dist/actions/update-structured-post.d.mts +3 -18
- package/dist/actions/update-structured-post.d.mts.map +1 -1
- package/dist/actions/update-structured-post.mjs +1 -0
- package/dist/actions/update-structured-post.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-catalog.cjs","names":["z","action"],"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,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,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,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC5L,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;CAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IA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AAS,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,6CAA6C;AACvE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,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,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kCAAkC;CAC9G,YAAY,2DAA2D,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,wCAAwCC,eAAAA,OAAO,+CAA+C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsListProductsInProductCatalogInput,\n typeof RedditAdsListProductsInProductCatalogOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS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AAkC;CAC9G,YAAY,2DAA2D,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,wCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-products-in-product-catalog.d.ts
|
|
@@ -75,26 +77,7 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
|
|
|
75
77
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
78
|
}, z.core.$loose>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const redditAdsListProductsInProductCatalog:
|
|
79
|
-
catalog_id: string;
|
|
80
|
-
ids?: string[] | undefined;
|
|
81
|
-
search?: string | undefined;
|
|
82
|
-
"page.size"?: number | undefined;
|
|
83
|
-
"page.token"?: string | undefined;
|
|
84
|
-
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
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>>]>;
|
|
80
|
+
declare const redditAdsListProductsInProductCatalog: AppAction<typeof RedditAdsListProductsInProductCatalogInput, typeof RedditAdsListProductsInProductCatalogOutput, typeof redditAds.credential>;
|
|
98
81
|
//#endregion
|
|
99
82
|
export { redditAdsListProductsInProductCatalog };
|
|
100
83
|
//# sourceMappingURL=list-products-in-product-catalog.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-catalog.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-products-in-product-catalog.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-products-in-product-catalog.d.ts
|
|
@@ -75,26 +77,7 @@ declare const RedditAdsListProductsInProductCatalogOutput: z.ZodObject<{
|
|
|
75
77
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
78
|
}, z.core.$loose>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const redditAdsListProductsInProductCatalog:
|
|
79
|
-
catalog_id: string;
|
|
80
|
-
ids?: string[] | undefined;
|
|
81
|
-
search?: string | undefined;
|
|
82
|
-
"page.size"?: number | undefined;
|
|
83
|
-
"page.token"?: string | undefined;
|
|
84
|
-
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
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>>]>;
|
|
80
|
+
declare const redditAdsListProductsInProductCatalog: AppAction<typeof RedditAdsListProductsInProductCatalogInput, typeof RedditAdsListProductsInProductCatalogOutput, typeof redditAds.credential>;
|
|
98
81
|
//#endregion
|
|
99
82
|
export { redditAdsListProductsInProductCatalog };
|
|
100
83
|
//# sourceMappingURL=list-products-in-product-catalog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-catalog.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-products-in-product-catalog.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqE1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wC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C,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6DAA6D,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,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"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-catalog.mjs","names":[],"sources":["../../src/actions/list-products-in-product-catalog.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsListProductsInProductCatalogInput,\n typeof RedditAdsListProductsInProductCatalogOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAA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],"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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AAY,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"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.cjs","names":["z","action"],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsListProductsInProductSetInput,\n typeof RedditAdsListProductsInProductSetOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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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AAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sCAAsC;CAC9G,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-products-in-product-set.d.ts
|
|
@@ -119,27 +121,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
119
121
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
122
|
}, z.core.$loose>>;
|
|
121
123
|
}, z.core.$loose>;
|
|
122
|
-
declare const redditAdsListProductsInProductSet:
|
|
123
|
-
product_set_id: string;
|
|
124
|
-
ids?: string[] | undefined;
|
|
125
|
-
search?: string | undefined;
|
|
126
|
-
"page.size"?: number | undefined;
|
|
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
|
-
"page.token"?: string | undefined;
|
|
129
|
-
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
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>>]>;
|
|
124
|
+
declare const redditAdsListProductsInProductSet: AppAction<typeof RedditAdsListProductsInProductSetInput, typeof RedditAdsListProductsInProductSetOutput, typeof redditAds.credential>;
|
|
143
125
|
//#endregion
|
|
144
126
|
export { redditAdsListProductsInProductSet };
|
|
145
127
|
//# sourceMappingURL=list-products-in-product-set.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-set.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.d.cts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-products-in-product-set.d.ts
|
|
@@ -119,27 +121,7 @@ declare const RedditAdsListProductsInProductSetOutput: z.ZodObject<{
|
|
|
119
121
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
122
|
}, z.core.$loose>>;
|
|
121
123
|
}, z.core.$loose>;
|
|
122
|
-
declare const redditAdsListProductsInProductSet:
|
|
123
|
-
product_set_id: string;
|
|
124
|
-
ids?: string[] | undefined;
|
|
125
|
-
search?: string | undefined;
|
|
126
|
-
"page.size"?: number | undefined;
|
|
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
|
-
"page.token"?: string | undefined;
|
|
129
|
-
approval_decision?: "REJECTED" | "PENDING" | "APPROVED" | undefined;
|
|
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>>]>;
|
|
124
|
+
declare const redditAdsListProductsInProductSet: AppAction<typeof RedditAdsListProductsInProductSetInput, typeof RedditAdsListProductsInProductSetOutput, typeof redditAds.credential>;
|
|
143
125
|
//#endregion
|
|
144
126
|
export { redditAdsListProductsInProductSet };
|
|
145
127
|
//# sourceMappingURL=list-products-in-product-set.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products-in-product-set.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.d.mts","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsEtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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;EAA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AC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yDAAyD,EAAE,OAAO;CACtE,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,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"}
|
|
1
|
+
{"version":3,"file":"list-products-in-product-set.mjs","names":[],"sources":["../../src/actions/list-products-in-product-set.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const 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: AppAction<\n typeof RedditAdsListProductsInProductSetInput,\n typeof RedditAdsListProductsInProductSetOutput,\n typeof redditAds.credential\n> = 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":";;;;AAMA,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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js","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":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-ad-account.cjs","names":["z","action"],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { redditAds } from \"../app\";\n\nexport const RedditAdsListProfilesByAdAccountInput = z.object({\n page_size: z.number().int().describe(\"The number of items to be returned per page. Must be between 1 and 100.\").optional(),\n page_token: z.string().describe(\"The token for the page to retrieve. Use the next_url or previous_url from pagination response to navigate pages.\").optional(),\n ad_account_id: z.string().describe(\"The ID of the ad account to list profiles for. Example: 'a2_imh76hh7e126'.\"),\n}).describe(\"Request parameters for listing profiles by ad account.\");\nconst RedditAdsListProfilesByAdAccount_ProfileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the profile.\").nullable().optional(),\n name: z.string().describe(\"Name of the profile.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the business associated with this profile.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the profile was last modified.\").nullable().optional(),\n reddit_user_id: z.string().describe(\"Reddit user ID associated with this profile.\").nullable().optional(),\n}).passthrough().describe(\"Represents a profile associated with an ad account.\");\nconst RedditAdsListProfilesByAdAccount_PaginationSchema = z.object({\n next_url: z.string().describe(\"The full URL for the next page. If not available, the current page is the final page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n previous_url: z.string().describe(\"The full URL for the previous page. If not available, the current page is the first page. Important: Follow the URL directly; don't assume pagination based on query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for navigating through results.\");\nexport const RedditAdsListProfilesByAdAccountOutput = z.object({\n data: z.array(RedditAdsListProfilesByAdAccount_ProfileSchema).describe(\"List of profiles associated with the ad account.\"),\n pagination: RedditAdsListProfilesByAdAccount_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of profiles and pagination information.\");\n\nexport const redditAdsListProfilesByAdAccount: AppAction<\n typeof RedditAdsListProfilesByAdAccountInput,\n typeof RedditAdsListProfilesByAdAccountOutput,\n typeof redditAds.credential\n> = action(\"REDDIT_ADS_LIST_PROFILES_BY_AD_ACCOUNT\", {\n slug: \"reddit_ads-list-profiles-by-ad-account\",\n name: \"List Profiles By Ad Account\",\n description: \"Tool to list profiles by ad account from Reddit Ads API. Use when you need to retrieve all profiles associated with a specific ad account. Rate limit: 100 requests per 60 seconds (Business Manager tier).\",\n input: RedditAdsListProfilesByAdAccountInput,\n output: RedditAdsListProfilesByAdAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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,mCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-profiles-by-ad-account.d.ts
|
|
@@ -19,23 +21,7 @@ declare const RedditAdsListProfilesByAdAccountOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListProfilesByAdAccount:
|
|
23
|
-
ad_account_id: string;
|
|
24
|
-
page_size?: number | undefined;
|
|
25
|
-
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListProfilesByAdAccount: AppAction<typeof RedditAdsListProfilesByAdAccountInput, typeof RedditAdsListProfilesByAdAccountOutput, typeof redditAds.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { redditAdsListProfilesByAdAccount };
|
|
41
27
|
//# sourceMappingURL=list-profiles-by-ad-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-ad-account.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-ad-account.d.cts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { redditAds } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-profiles-by-ad-account.d.ts
|
|
@@ -19,23 +21,7 @@ declare const RedditAdsListProfilesByAdAccountOutput: z.ZodObject<{
|
|
|
19
21
|
previous_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const redditAdsListProfilesByAdAccount:
|
|
23
|
-
ad_account_id: string;
|
|
24
|
-
page_size?: number | undefined;
|
|
25
|
-
page_token?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reddit_ads", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const redditAdsListProfilesByAdAccount: AppAction<typeof RedditAdsListProfilesByAdAccountInput, typeof RedditAdsListProfilesByAdAccountOutput, typeof redditAds.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { redditAdsListProfilesByAdAccount };
|
|
41
27
|
//# sourceMappingURL=list-profiles-by-ad-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-profiles-by-ad-account.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-profiles-by-ad-account.d.mts","names":[],"sources":["../../src/actions/list-profiles-by-ad-account.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,SAAA,CAAU,UAAA"}
|