@keystrokehq/reddit_ads 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-ad-group.cjs +71 -0
- package/dist/actions/create-ad-group.cjs.map +1 -0
- package/dist/actions/create-ad-group.d.cts +9 -0
- package/dist/actions/create-ad-group.d.cts.map +1 -0
- package/dist/actions/create-ad-group.d.mts +9 -0
- package/dist/actions/create-ad-group.d.mts.map +1 -0
- package/dist/actions/create-ad-group.mjs +70 -0
- package/dist/actions/create-ad-group.mjs.map +1 -0
- package/dist/actions/create-batch-products.cjs +89 -0
- package/dist/actions/create-batch-products.cjs.map +1 -0
- package/dist/actions/create-batch-products.d.cts +9 -0
- package/dist/actions/create-batch-products.d.cts.map +1 -0
- package/dist/actions/create-batch-products.d.mts +9 -0
- package/dist/actions/create-batch-products.d.mts.map +1 -0
- package/dist/actions/create-batch-products.mjs +88 -0
- package/dist/actions/create-batch-products.mjs.map +1 -0
- package/dist/actions/create-campaign.cjs +130 -0
- package/dist/actions/create-campaign.cjs.map +1 -0
- package/dist/actions/create-campaign.d.cts +9 -0
- package/dist/actions/create-campaign.d.cts.map +1 -0
- package/dist/actions/create-campaign.d.mts +9 -0
- package/dist/actions/create-campaign.d.mts.map +1 -0
- package/dist/actions/create-campaign.mjs +129 -0
- package/dist/actions/create-campaign.mjs.map +1 -0
- package/dist/actions/create-custom-audience.cjs +41 -0
- package/dist/actions/create-custom-audience.cjs.map +1 -0
- package/dist/actions/create-custom-audience.d.cts +9 -0
- package/dist/actions/create-custom-audience.d.cts.map +1 -0
- package/dist/actions/create-custom-audience.d.mts +9 -0
- package/dist/actions/create-custom-audience.d.mts.map +1 -0
- package/dist/actions/create-custom-audience.mjs +40 -0
- package/dist/actions/create-custom-audience.mjs.map +1 -0
- package/dist/actions/create-lead-gen-form.cjs +51 -0
- package/dist/actions/create-lead-gen-form.cjs.map +1 -0
- package/dist/actions/create-lead-gen-form.d.cts +9 -0
- package/dist/actions/create-lead-gen-form.d.cts.map +1 -0
- package/dist/actions/create-lead-gen-form.d.mts +9 -0
- package/dist/actions/create-lead-gen-form.d.mts.map +1 -0
- package/dist/actions/create-lead-gen-form.mjs +50 -0
- package/dist/actions/create-lead-gen-form.mjs.map +1 -0
- package/dist/actions/create-post.cjs +60 -0
- package/dist/actions/create-post.cjs.map +1 -0
- package/dist/actions/create-post.d.cts +9 -0
- package/dist/actions/create-post.d.cts.map +1 -0
- package/dist/actions/create-post.d.mts +9 -0
- package/dist/actions/create-post.d.mts.map +1 -0
- package/dist/actions/create-post.mjs +59 -0
- package/dist/actions/create-post.mjs.map +1 -0
- package/dist/actions/create-product-catalog.cjs +79 -0
- package/dist/actions/create-product-catalog.cjs.map +1 -0
- package/dist/actions/create-product-catalog.d.cts +9 -0
- package/dist/actions/create-product-catalog.d.cts.map +1 -0
- package/dist/actions/create-product-catalog.d.mts +9 -0
- package/dist/actions/create-product-catalog.d.mts.map +1 -0
- package/dist/actions/create-product-catalog.mjs +78 -0
- package/dist/actions/create-product-catalog.mjs.map +1 -0
- package/dist/actions/create-product-feed.cjs +49 -0
- package/dist/actions/create-product-feed.cjs.map +1 -0
- package/dist/actions/create-product-feed.d.cts +9 -0
- package/dist/actions/create-product-feed.d.cts.map +1 -0
- package/dist/actions/create-product-feed.d.mts +9 -0
- package/dist/actions/create-product-feed.d.mts.map +1 -0
- package/dist/actions/create-product-feed.mjs +48 -0
- package/dist/actions/create-product-feed.mjs.map +1 -0
- package/dist/actions/create-product-set.cjs +37 -0
- package/dist/actions/create-product-set.cjs.map +1 -0
- package/dist/actions/create-product-set.d.cts +9 -0
- package/dist/actions/create-product-set.d.cts.map +1 -0
- package/dist/actions/create-product-set.d.mts +9 -0
- package/dist/actions/create-product-set.d.mts.map +1 -0
- package/dist/actions/create-product-set.mjs +36 -0
- package/dist/actions/create-product-set.mjs.map +1 -0
- package/dist/actions/create-saved-audience.cjs +93 -0
- package/dist/actions/create-saved-audience.cjs.map +1 -0
- package/dist/actions/create-saved-audience.d.cts +9 -0
- package/dist/actions/create-saved-audience.d.cts.map +1 -0
- package/dist/actions/create-saved-audience.d.mts +9 -0
- package/dist/actions/create-saved-audience.d.mts.map +1 -0
- package/dist/actions/create-saved-audience.mjs +92 -0
- package/dist/actions/create-saved-audience.mjs.map +1 -0
- package/dist/actions/create-structured-post-creation-job.cjs +89 -0
- package/dist/actions/create-structured-post-creation-job.cjs.map +1 -0
- package/dist/actions/create-structured-post-creation-job.d.cts +9 -0
- package/dist/actions/create-structured-post-creation-job.d.cts.map +1 -0
- package/dist/actions/create-structured-post-creation-job.d.mts +9 -0
- package/dist/actions/create-structured-post-creation-job.d.mts.map +1 -0
- package/dist/actions/create-structured-post-creation-job.mjs +88 -0
- package/dist/actions/create-structured-post-creation-job.mjs.map +1 -0
- package/dist/actions/delete-custom-audience.cjs +16 -0
- package/dist/actions/delete-custom-audience.cjs.map +1 -0
- package/dist/actions/delete-custom-audience.d.cts +9 -0
- package/dist/actions/delete-custom-audience.d.cts.map +1 -0
- package/dist/actions/delete-custom-audience.d.mts +9 -0
- package/dist/actions/delete-custom-audience.d.mts.map +1 -0
- package/dist/actions/delete-custom-audience.mjs +13 -0
- package/dist/actions/delete-custom-audience.mjs.map +1 -0
- package/dist/actions/delete-product-catalog.cjs +16 -0
- package/dist/actions/delete-product-catalog.cjs.map +1 -0
- package/dist/actions/delete-product-catalog.d.cts +9 -0
- package/dist/actions/delete-product-catalog.d.cts.map +1 -0
- package/dist/actions/delete-product-catalog.d.mts +9 -0
- package/dist/actions/delete-product-catalog.d.mts.map +1 -0
- package/dist/actions/delete-product-catalog.mjs +13 -0
- package/dist/actions/delete-product-catalog.mjs.map +1 -0
- package/dist/actions/delete-product-feed.cjs +16 -0
- package/dist/actions/delete-product-feed.cjs.map +1 -0
- package/dist/actions/delete-product-feed.d.cts +9 -0
- package/dist/actions/delete-product-feed.d.cts.map +1 -0
- package/dist/actions/delete-product-feed.d.mts +9 -0
- package/dist/actions/delete-product-feed.d.mts.map +1 -0
- package/dist/actions/delete-product-feed.mjs +13 -0
- package/dist/actions/delete-product-feed.mjs.map +1 -0
- package/dist/actions/delete-product-set.cjs +16 -0
- package/dist/actions/delete-product-set.cjs.map +1 -0
- package/dist/actions/delete-product-set.d.cts +9 -0
- package/dist/actions/delete-product-set.d.cts.map +1 -0
- package/dist/actions/delete-product-set.d.mts +9 -0
- package/dist/actions/delete-product-set.d.mts.map +1 -0
- package/dist/actions/delete-product-set.mjs +13 -0
- package/dist/actions/delete-product-set.mjs.map +1 -0
- package/dist/actions/delete-products.cjs +19 -0
- package/dist/actions/delete-products.cjs.map +1 -0
- package/dist/actions/delete-products.d.cts +9 -0
- package/dist/actions/delete-products.d.cts.map +1 -0
- package/dist/actions/delete-products.d.mts +9 -0
- package/dist/actions/delete-products.d.mts.map +1 -0
- package/dist/actions/delete-products.mjs +16 -0
- package/dist/actions/delete-products.mjs.map +1 -0
- package/dist/actions/do-geolocation-validations.cjs +29 -0
- package/dist/actions/do-geolocation-validations.cjs.map +1 -0
- package/dist/actions/do-geolocation-validations.d.cts +9 -0
- package/dist/actions/do-geolocation-validations.d.cts.map +1 -0
- package/dist/actions/do-geolocation-validations.d.mts +9 -0
- package/dist/actions/do-geolocation-validations.d.mts.map +1 -0
- package/dist/actions/do-geolocation-validations.mjs +28 -0
- package/dist/actions/do-geolocation-validations.mjs.map +1 -0
- package/dist/actions/do-keyword-validations.cjs +23 -0
- package/dist/actions/do-keyword-validations.cjs.map +1 -0
- package/dist/actions/do-keyword-validations.d.cts +9 -0
- package/dist/actions/do-keyword-validations.d.cts.map +1 -0
- package/dist/actions/do-keyword-validations.d.mts +9 -0
- package/dist/actions/do-keyword-validations.d.mts.map +1 -0
- package/dist/actions/do-keyword-validations.mjs +22 -0
- package/dist/actions/do-keyword-validations.mjs.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs +53 -0
- package/dist/actions/generate-inspiration-creative-summary.cjs.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.d.cts +9 -0
- package/dist/actions/generate-inspiration-creative-summary.d.cts.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.d.mts +9 -0
- package/dist/actions/generate-inspiration-creative-summary.d.mts.map +1 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs +52 -0
- package/dist/actions/generate-inspiration-creative-summary.mjs.map +1 -0
- package/dist/actions/get-a-report.cjs +58 -0
- package/dist/actions/get-a-report.cjs.map +1 -0
- package/dist/actions/get-a-report.d.cts +9 -0
- package/dist/actions/get-a-report.d.cts.map +1 -0
- package/dist/actions/get-a-report.d.mts +9 -0
- package/dist/actions/get-a-report.d.mts.map +1 -0
- package/dist/actions/get-a-report.mjs +57 -0
- package/dist/actions/get-a-report.mjs.map +1 -0
- package/dist/actions/get-ad-account-history.cjs +51 -0
- package/dist/actions/get-ad-account-history.cjs.map +1 -0
- package/dist/actions/get-ad-account-history.d.cts +9 -0
- package/dist/actions/get-ad-account-history.d.cts.map +1 -0
- package/dist/actions/get-ad-account-history.d.mts +9 -0
- package/dist/actions/get-ad-account-history.d.mts.map +1 -0
- package/dist/actions/get-ad-account-history.mjs +50 -0
- package/dist/actions/get-ad-account-history.mjs.map +1 -0
- package/dist/actions/get-ad-account.cjs +65 -0
- package/dist/actions/get-ad-account.cjs.map +1 -0
- package/dist/actions/get-ad-account.d.cts +9 -0
- package/dist/actions/get-ad-account.d.cts.map +1 -0
- package/dist/actions/get-ad-account.d.mts +9 -0
- package/dist/actions/get-ad-account.d.mts.map +1 -0
- package/dist/actions/get-ad-account.mjs +64 -0
- package/dist/actions/get-ad-account.mjs.map +1 -0
- package/dist/actions/get-ad-group.cjs +48 -0
- package/dist/actions/get-ad-group.cjs.map +1 -0
- package/dist/actions/get-ad-group.d.cts +9 -0
- package/dist/actions/get-ad-group.d.cts.map +1 -0
- package/dist/actions/get-ad-group.d.mts +9 -0
- package/dist/actions/get-ad-group.d.mts.map +1 -0
- package/dist/actions/get-ad-group.mjs +47 -0
- package/dist/actions/get-ad-group.mjs.map +1 -0
- package/dist/actions/get-app-last-fired-at.cjs +42 -0
- package/dist/actions/get-app-last-fired-at.cjs.map +1 -0
- package/dist/actions/get-app-last-fired-at.d.cts +9 -0
- package/dist/actions/get-app-last-fired-at.d.cts.map +1 -0
- package/dist/actions/get-app-last-fired-at.d.mts +9 -0
- package/dist/actions/get-app-last-fired-at.d.mts.map +1 -0
- package/dist/actions/get-app-last-fired-at.mjs +41 -0
- package/dist/actions/get-app-last-fired-at.mjs.map +1 -0
- package/dist/actions/get-business.cjs +29 -0
- package/dist/actions/get-business.cjs.map +1 -0
- package/dist/actions/get-business.d.cts +9 -0
- package/dist/actions/get-business.d.cts.map +1 -0
- package/dist/actions/get-business.d.mts +9 -0
- package/dist/actions/get-business.d.mts.map +1 -0
- package/dist/actions/get-business.mjs +28 -0
- package/dist/actions/get-business.mjs.map +1 -0
- package/dist/actions/get-campaign.cjs +45 -0
- package/dist/actions/get-campaign.cjs.map +1 -0
- package/dist/actions/get-campaign.d.cts +9 -0
- package/dist/actions/get-campaign.d.cts.map +1 -0
- package/dist/actions/get-campaign.d.mts +9 -0
- package/dist/actions/get-campaign.d.mts.map +1 -0
- package/dist/actions/get-campaign.mjs +44 -0
- package/dist/actions/get-campaign.mjs.map +1 -0
- package/dist/actions/get-channel-planning-reach.cjs +43 -0
- package/dist/actions/get-channel-planning-reach.cjs.map +1 -0
- package/dist/actions/get-channel-planning-reach.d.cts +9 -0
- package/dist/actions/get-channel-planning-reach.d.cts.map +1 -0
- package/dist/actions/get-channel-planning-reach.d.mts +9 -0
- package/dist/actions/get-channel-planning-reach.d.mts.map +1 -0
- package/dist/actions/get-channel-planning-reach.mjs +42 -0
- package/dist/actions/get-channel-planning-reach.mjs.map +1 -0
- package/dist/actions/get-child-funding-instruments.cjs +40 -0
- package/dist/actions/get-child-funding-instruments.cjs.map +1 -0
- package/dist/actions/get-child-funding-instruments.d.cts +9 -0
- package/dist/actions/get-child-funding-instruments.d.cts.map +1 -0
- package/dist/actions/get-child-funding-instruments.d.mts +9 -0
- package/dist/actions/get-child-funding-instruments.d.mts.map +1 -0
- package/dist/actions/get-child-funding-instruments.mjs +39 -0
- package/dist/actions/get-child-funding-instruments.mjs.map +1 -0
- package/dist/actions/get-custom-audience.cjs +83 -0
- package/dist/actions/get-custom-audience.cjs.map +1 -0
- package/dist/actions/get-custom-audience.d.cts +9 -0
- package/dist/actions/get-custom-audience.d.cts.map +1 -0
- package/dist/actions/get-custom-audience.d.mts +9 -0
- package/dist/actions/get-custom-audience.d.mts.map +1 -0
- package/dist/actions/get-custom-audience.mjs +82 -0
- package/dist/actions/get-custom-audience.mjs.map +1 -0
- package/dist/actions/get-lead-gen-form.cjs +26 -0
- package/dist/actions/get-lead-gen-form.cjs.map +1 -0
- package/dist/actions/get-lead-gen-form.d.cts +9 -0
- package/dist/actions/get-lead-gen-form.d.cts.map +1 -0
- package/dist/actions/get-lead-gen-form.d.mts +9 -0
- package/dist/actions/get-lead-gen-form.d.mts.map +1 -0
- package/dist/actions/get-lead-gen-form.mjs +25 -0
- package/dist/actions/get-lead-gen-form.mjs.map +1 -0
- package/dist/actions/get-me.cjs +25 -0
- package/dist/actions/get-me.cjs.map +1 -0
- package/dist/actions/get-me.d.cts +9 -0
- package/dist/actions/get-me.d.cts.map +1 -0
- package/dist/actions/get-me.d.mts +9 -0
- package/dist/actions/get-me.d.mts.map +1 -0
- package/dist/actions/get-me.mjs +24 -0
- package/dist/actions/get-me.mjs.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.cjs +33 -0
- package/dist/actions/get-pixel-last-fired-at.cjs.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.d.cts +9 -0
- package/dist/actions/get-pixel-last-fired-at.d.cts.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.d.mts +9 -0
- package/dist/actions/get-pixel-last-fired-at.d.mts.map +1 -0
- package/dist/actions/get-pixel-last-fired-at.mjs +32 -0
- package/dist/actions/get-pixel-last-fired-at.mjs.map +1 -0
- package/dist/actions/get-post.cjs +42 -0
- package/dist/actions/get-post.cjs.map +1 -0
- package/dist/actions/get-post.d.cts +9 -0
- package/dist/actions/get-post.d.cts.map +1 -0
- package/dist/actions/get-post.d.mts +9 -0
- package/dist/actions/get-post.d.mts.map +1 -0
- package/dist/actions/get-post.mjs +41 -0
- package/dist/actions/get-post.mjs.map +1 -0
- package/dist/actions/get-product-catalog.cjs +53 -0
- package/dist/actions/get-product-catalog.cjs.map +1 -0
- package/dist/actions/get-product-catalog.d.cts +9 -0
- package/dist/actions/get-product-catalog.d.cts.map +1 -0
- package/dist/actions/get-product-catalog.d.mts +9 -0
- package/dist/actions/get-product-catalog.d.mts.map +1 -0
- package/dist/actions/get-product-catalog.mjs +52 -0
- package/dist/actions/get-product-catalog.mjs.map +1 -0
- package/dist/actions/get-product-feed.cjs +44 -0
- package/dist/actions/get-product-feed.cjs.map +1 -0
- package/dist/actions/get-product-feed.d.cts +9 -0
- package/dist/actions/get-product-feed.d.cts.map +1 -0
- package/dist/actions/get-product-feed.d.mts +9 -0
- package/dist/actions/get-product-feed.d.mts.map +1 -0
- package/dist/actions/get-product-feed.mjs +43 -0
- package/dist/actions/get-product-feed.mjs.map +1 -0
- package/dist/actions/get-product-set.cjs +31 -0
- package/dist/actions/get-product-set.cjs.map +1 -0
- package/dist/actions/get-product-set.d.cts +9 -0
- package/dist/actions/get-product-set.d.cts.map +1 -0
- package/dist/actions/get-product-set.d.mts +9 -0
- package/dist/actions/get-product-set.d.mts.map +1 -0
- package/dist/actions/get-product-set.mjs +30 -0
- package/dist/actions/get-product-set.mjs.map +1 -0
- package/dist/actions/get-profile.cjs +23 -0
- package/dist/actions/get-profile.cjs.map +1 -0
- package/dist/actions/get-profile.d.cts +9 -0
- package/dist/actions/get-profile.d.cts.map +1 -0
- package/dist/actions/get-profile.d.mts +9 -0
- package/dist/actions/get-profile.d.mts.map +1 -0
- package/dist/actions/get-profile.mjs +22 -0
- package/dist/actions/get-profile.mjs.map +1 -0
- package/dist/actions/get-saved-audience.cjs +63 -0
- package/dist/actions/get-saved-audience.cjs.map +1 -0
- package/dist/actions/get-saved-audience.d.cts +9 -0
- package/dist/actions/get-saved-audience.d.cts.map +1 -0
- package/dist/actions/get-saved-audience.d.mts +9 -0
- package/dist/actions/get-saved-audience.d.mts.map +1 -0
- package/dist/actions/get-saved-audience.mjs +62 -0
- package/dist/actions/get-saved-audience.mjs.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.cjs +31 -0
- package/dist/actions/get-sk-ad-network-availability.cjs.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.d.cts +9 -0
- package/dist/actions/get-sk-ad-network-availability.d.cts.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.d.mts +9 -0
- package/dist/actions/get-sk-ad-network-availability.d.mts.map +1 -0
- package/dist/actions/get-sk-ad-network-availability.mjs +30 -0
- package/dist/actions/get-sk-ad-network-availability.mjs.map +1 -0
- package/dist/actions/get-structured-post.cjs +23 -0
- package/dist/actions/get-structured-post.cjs.map +1 -0
- package/dist/actions/get-structured-post.d.cts +9 -0
- package/dist/actions/get-structured-post.d.cts.map +1 -0
- package/dist/actions/get-structured-post.d.mts +9 -0
- package/dist/actions/get-structured-post.d.mts.map +1 -0
- package/dist/actions/get-structured-post.mjs +22 -0
- package/dist/actions/get-structured-post.mjs.map +1 -0
- package/dist/actions/index.cjs +167 -0
- package/dist/actions/index.d.cts +84 -0
- package/dist/actions/index.d.mts +84 -0
- package/dist/actions/index.mjs +84 -0
- package/dist/actions/list-ad-accounts-by-business.cjs +48 -0
- package/dist/actions/list-ad-accounts-by-business.cjs.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.d.cts +9 -0
- package/dist/actions/list-ad-accounts-by-business.d.cts.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.d.mts +9 -0
- package/dist/actions/list-ad-accounts-by-business.d.mts.map +1 -0
- package/dist/actions/list-ad-accounts-by-business.mjs +47 -0
- package/dist/actions/list-ad-accounts-by-business.mjs.map +1 -0
- package/dist/actions/list-ad-groups.cjs +61 -0
- package/dist/actions/list-ad-groups.cjs.map +1 -0
- package/dist/actions/list-ad-groups.d.cts +9 -0
- package/dist/actions/list-ad-groups.d.cts.map +1 -0
- package/dist/actions/list-ad-groups.d.mts +9 -0
- package/dist/actions/list-ad-groups.d.mts.map +1 -0
- package/dist/actions/list-ad-groups.mjs +60 -0
- package/dist/actions/list-ad-groups.mjs.map +1 -0
- package/dist/actions/list-ads.cjs +28 -0
- package/dist/actions/list-ads.cjs.map +1 -0
- package/dist/actions/list-ads.d.cts +9 -0
- package/dist/actions/list-ads.d.cts.map +1 -0
- package/dist/actions/list-ads.d.mts +9 -0
- package/dist/actions/list-ads.d.mts.map +1 -0
- package/dist/actions/list-ads.mjs +27 -0
- package/dist/actions/list-ads.mjs.map +1 -0
- package/dist/actions/list-campaigns.cjs +56 -0
- package/dist/actions/list-campaigns.cjs.map +1 -0
- package/dist/actions/list-campaigns.d.cts +9 -0
- package/dist/actions/list-campaigns.d.cts.map +1 -0
- package/dist/actions/list-campaigns.d.mts +9 -0
- package/dist/actions/list-campaigns.d.mts.map +1 -0
- package/dist/actions/list-campaigns.mjs +55 -0
- package/dist/actions/list-campaigns.mjs.map +1 -0
- package/dist/actions/list-carriers.cjs +31 -0
- package/dist/actions/list-carriers.cjs.map +1 -0
- package/dist/actions/list-carriers.d.cts +9 -0
- package/dist/actions/list-carriers.d.cts.map +1 -0
- package/dist/actions/list-carriers.d.mts +9 -0
- package/dist/actions/list-carriers.d.mts.map +1 -0
- package/dist/actions/list-carriers.mjs +30 -0
- package/dist/actions/list-carriers.mjs.map +1 -0
- package/dist/actions/list-catalog-imports.cjs +39 -0
- package/dist/actions/list-catalog-imports.cjs.map +1 -0
- package/dist/actions/list-catalog-imports.d.cts +9 -0
- package/dist/actions/list-catalog-imports.d.cts.map +1 -0
- package/dist/actions/list-catalog-imports.d.mts +9 -0
- package/dist/actions/list-catalog-imports.d.mts.map +1 -0
- package/dist/actions/list-catalog-imports.mjs +38 -0
- package/dist/actions/list-catalog-imports.mjs.map +1 -0
- package/dist/actions/list-communities-suggestions.cjs +36 -0
- package/dist/actions/list-communities-suggestions.cjs.map +1 -0
- package/dist/actions/list-communities-suggestions.d.cts +9 -0
- package/dist/actions/list-communities-suggestions.d.cts.map +1 -0
- package/dist/actions/list-communities-suggestions.d.mts +9 -0
- package/dist/actions/list-communities-suggestions.d.mts.map +1 -0
- package/dist/actions/list-communities-suggestions.mjs +35 -0
- package/dist/actions/list-communities-suggestions.mjs.map +1 -0
- package/dist/actions/list-communities.cjs +35 -0
- package/dist/actions/list-communities.cjs.map +1 -0
- package/dist/actions/list-communities.d.cts +9 -0
- package/dist/actions/list-communities.d.cts.map +1 -0
- package/dist/actions/list-communities.d.mts +9 -0
- package/dist/actions/list-communities.d.mts.map +1 -0
- package/dist/actions/list-communities.mjs +34 -0
- package/dist/actions/list-communities.mjs.map +1 -0
- package/dist/actions/list-devices.cjs +30 -0
- package/dist/actions/list-devices.cjs.map +1 -0
- package/dist/actions/list-devices.d.cts +9 -0
- package/dist/actions/list-devices.d.cts.map +1 -0
- package/dist/actions/list-devices.d.mts +9 -0
- package/dist/actions/list-devices.d.mts.map +1 -0
- package/dist/actions/list-devices.mjs +29 -0
- package/dist/actions/list-devices.mjs.map +1 -0
- package/dist/actions/list-funding-instruments.cjs +53 -0
- package/dist/actions/list-funding-instruments.cjs.map +1 -0
- package/dist/actions/list-funding-instruments.d.cts +9 -0
- package/dist/actions/list-funding-instruments.d.cts.map +1 -0
- package/dist/actions/list-funding-instruments.d.mts +9 -0
- package/dist/actions/list-funding-instruments.d.mts.map +1 -0
- package/dist/actions/list-funding-instruments.mjs +52 -0
- package/dist/actions/list-funding-instruments.mjs.map +1 -0
- package/dist/actions/list-geolocations.cjs +29 -0
- package/dist/actions/list-geolocations.cjs.map +1 -0
- package/dist/actions/list-geolocations.d.cts +9 -0
- package/dist/actions/list-geolocations.d.cts.map +1 -0
- package/dist/actions/list-geolocations.d.mts +9 -0
- package/dist/actions/list-geolocations.d.mts.map +1 -0
- package/dist/actions/list-geolocations.mjs +28 -0
- package/dist/actions/list-geolocations.mjs.map +1 -0
- package/dist/actions/list-industries.cjs +20 -0
- package/dist/actions/list-industries.cjs.map +1 -0
- package/dist/actions/list-industries.d.cts +9 -0
- package/dist/actions/list-industries.d.cts.map +1 -0
- package/dist/actions/list-industries.d.mts +9 -0
- package/dist/actions/list-industries.d.mts.map +1 -0
- package/dist/actions/list-industries.mjs +19 -0
- package/dist/actions/list-industries.mjs.map +1 -0
- package/dist/actions/list-interests.cjs +21 -0
- package/dist/actions/list-interests.cjs.map +1 -0
- package/dist/actions/list-interests.d.cts +9 -0
- package/dist/actions/list-interests.d.cts.map +1 -0
- package/dist/actions/list-interests.d.mts +9 -0
- package/dist/actions/list-interests.d.mts.map +1 -0
- package/dist/actions/list-interests.mjs +20 -0
- package/dist/actions/list-interests.mjs.map +1 -0
- package/dist/actions/list-lead-gen-forms.cjs +37 -0
- package/dist/actions/list-lead-gen-forms.cjs.map +1 -0
- package/dist/actions/list-lead-gen-forms.d.cts +9 -0
- package/dist/actions/list-lead-gen-forms.d.cts.map +1 -0
- package/dist/actions/list-lead-gen-forms.d.mts +9 -0
- package/dist/actions/list-lead-gen-forms.d.mts.map +1 -0
- package/dist/actions/list-lead-gen-forms.mjs +36 -0
- package/dist/actions/list-lead-gen-forms.mjs.map +1 -0
- package/dist/actions/list-my-businesses.cjs +41 -0
- package/dist/actions/list-my-businesses.cjs.map +1 -0
- package/dist/actions/list-my-businesses.d.cts +9 -0
- package/dist/actions/list-my-businesses.d.cts.map +1 -0
- package/dist/actions/list-my-businesses.d.mts +9 -0
- package/dist/actions/list-my-businesses.d.mts.map +1 -0
- package/dist/actions/list-my-businesses.mjs +40 -0
- package/dist/actions/list-my-businesses.mjs.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.cjs +38 -0
- package/dist/actions/list-pixels-by-ad-account.cjs.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.d.cts +9 -0
- package/dist/actions/list-pixels-by-ad-account.d.cts.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.d.mts +9 -0
- package/dist/actions/list-pixels-by-ad-account.d.mts.map +1 -0
- package/dist/actions/list-pixels-by-ad-account.mjs +37 -0
- package/dist/actions/list-pixels-by-ad-account.mjs.map +1 -0
- package/dist/actions/list-pixels-by-business.cjs +38 -0
- package/dist/actions/list-pixels-by-business.cjs.map +1 -0
- package/dist/actions/list-pixels-by-business.d.cts +9 -0
- package/dist/actions/list-pixels-by-business.d.cts.map +1 -0
- package/dist/actions/list-pixels-by-business.d.mts +9 -0
- package/dist/actions/list-pixels-by-business.d.mts.map +1 -0
- package/dist/actions/list-pixels-by-business.mjs +37 -0
- package/dist/actions/list-pixels-by-business.mjs.map +1 -0
- package/dist/actions/list-posts.cjs +52 -0
- package/dist/actions/list-posts.cjs.map +1 -0
- package/dist/actions/list-posts.d.cts +9 -0
- package/dist/actions/list-posts.d.cts.map +1 -0
- package/dist/actions/list-posts.d.mts +9 -0
- package/dist/actions/list-posts.d.mts.map +1 -0
- package/dist/actions/list-posts.mjs +51 -0
- package/dist/actions/list-posts.mjs.map +1 -0
- package/dist/actions/list-product-catalogs.cjs +33 -0
- package/dist/actions/list-product-catalogs.cjs.map +1 -0
- package/dist/actions/list-product-catalogs.d.cts +9 -0
- package/dist/actions/list-product-catalogs.d.cts.map +1 -0
- package/dist/actions/list-product-catalogs.d.mts +9 -0
- package/dist/actions/list-product-catalogs.d.mts.map +1 -0
- package/dist/actions/list-product-catalogs.mjs +32 -0
- package/dist/actions/list-product-catalogs.mjs.map +1 -0
- package/dist/actions/list-product-feeds.cjs +32 -0
- package/dist/actions/list-product-feeds.cjs.map +1 -0
- package/dist/actions/list-product-feeds.d.cts +9 -0
- package/dist/actions/list-product-feeds.d.cts.map +1 -0
- package/dist/actions/list-product-feeds.d.mts +9 -0
- package/dist/actions/list-product-feeds.d.mts.map +1 -0
- package/dist/actions/list-product-feeds.mjs +31 -0
- package/dist/actions/list-product-feeds.mjs.map +1 -0
- package/dist/actions/list-product-sets.cjs +40 -0
- package/dist/actions/list-product-sets.cjs.map +1 -0
- package/dist/actions/list-product-sets.d.cts +9 -0
- package/dist/actions/list-product-sets.d.cts.map +1 -0
- package/dist/actions/list-product-sets.d.mts +9 -0
- package/dist/actions/list-product-sets.d.mts.map +1 -0
- package/dist/actions/list-product-sets.mjs +39 -0
- package/dist/actions/list-product-sets.mjs.map +1 -0
- package/dist/actions/list-products-in-product-catalog.cjs +91 -0
- package/dist/actions/list-products-in-product-catalog.cjs.map +1 -0
- package/dist/actions/list-products-in-product-catalog.d.cts +9 -0
- package/dist/actions/list-products-in-product-catalog.d.cts.map +1 -0
- package/dist/actions/list-products-in-product-catalog.d.mts +9 -0
- package/dist/actions/list-products-in-product-catalog.d.mts.map +1 -0
- package/dist/actions/list-products-in-product-catalog.mjs +90 -0
- package/dist/actions/list-products-in-product-catalog.mjs.map +1 -0
- package/dist/actions/list-products-in-product-set.cjs +135 -0
- package/dist/actions/list-products-in-product-set.cjs.map +1 -0
- package/dist/actions/list-products-in-product-set.d.cts +9 -0
- package/dist/actions/list-products-in-product-set.d.cts.map +1 -0
- package/dist/actions/list-products-in-product-set.d.mts +9 -0
- package/dist/actions/list-products-in-product-set.d.mts.map +1 -0
- package/dist/actions/list-products-in-product-set.mjs +134 -0
- package/dist/actions/list-products-in-product-set.mjs.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.cjs +34 -0
- package/dist/actions/list-profiles-by-ad-account.cjs.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.d.cts +9 -0
- package/dist/actions/list-profiles-by-ad-account.d.cts.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.d.mts +9 -0
- package/dist/actions/list-profiles-by-ad-account.d.mts.map +1 -0
- package/dist/actions/list-profiles-by-ad-account.mjs +33 -0
- package/dist/actions/list-profiles-by-ad-account.mjs.map +1 -0
- package/dist/actions/list-profiles-by-business.cjs +34 -0
- package/dist/actions/list-profiles-by-business.cjs.map +1 -0
- package/dist/actions/list-profiles-by-business.d.cts +9 -0
- package/dist/actions/list-profiles-by-business.d.cts.map +1 -0
- package/dist/actions/list-profiles-by-business.d.mts +9 -0
- package/dist/actions/list-profiles-by-business.d.mts.map +1 -0
- package/dist/actions/list-profiles-by-business.mjs +33 -0
- package/dist/actions/list-profiles-by-business.mjs.map +1 -0
- package/dist/actions/list-saved-audiences.cjs +41 -0
- package/dist/actions/list-saved-audiences.cjs.map +1 -0
- package/dist/actions/list-saved-audiences.d.cts +9 -0
- package/dist/actions/list-saved-audiences.d.cts.map +1 -0
- package/dist/actions/list-saved-audiences.d.mts +9 -0
- package/dist/actions/list-saved-audiences.d.mts.map +1 -0
- package/dist/actions/list-saved-audiences.mjs +40 -0
- package/dist/actions/list-saved-audiences.mjs.map +1 -0
- package/dist/actions/list-structured-posts.cjs +42 -0
- package/dist/actions/list-structured-posts.cjs.map +1 -0
- package/dist/actions/list-structured-posts.d.cts +9 -0
- package/dist/actions/list-structured-posts.d.cts.map +1 -0
- package/dist/actions/list-structured-posts.d.mts +9 -0
- package/dist/actions/list-structured-posts.d.mts.map +1 -0
- package/dist/actions/list-structured-posts.mjs +41 -0
- package/dist/actions/list-structured-posts.mjs.map +1 -0
- package/dist/actions/list-time-zones.cjs +34 -0
- package/dist/actions/list-time-zones.cjs.map +1 -0
- package/dist/actions/list-time-zones.d.cts +9 -0
- package/dist/actions/list-time-zones.d.cts.map +1 -0
- package/dist/actions/list-time-zones.d.mts +9 -0
- package/dist/actions/list-time-zones.d.mts.map +1 -0
- package/dist/actions/list-time-zones.mjs +33 -0
- package/dist/actions/list-time-zones.mjs.map +1 -0
- package/dist/actions/list-user-custom-audiences.cjs +49 -0
- package/dist/actions/list-user-custom-audiences.cjs.map +1 -0
- package/dist/actions/list-user-custom-audiences.d.cts +9 -0
- package/dist/actions/list-user-custom-audiences.d.cts.map +1 -0
- package/dist/actions/list-user-custom-audiences.d.mts +9 -0
- package/dist/actions/list-user-custom-audiences.d.mts.map +1 -0
- package/dist/actions/list-user-custom-audiences.mjs +48 -0
- package/dist/actions/list-user-custom-audiences.mjs.map +1 -0
- package/dist/actions/list3rd-party-audiences.cjs +37 -0
- package/dist/actions/list3rd-party-audiences.cjs.map +1 -0
- package/dist/actions/list3rd-party-audiences.d.cts +9 -0
- package/dist/actions/list3rd-party-audiences.d.cts.map +1 -0
- package/dist/actions/list3rd-party-audiences.d.mts +9 -0
- package/dist/actions/list3rd-party-audiences.d.mts.map +1 -0
- package/dist/actions/list3rd-party-audiences.mjs +36 -0
- package/dist/actions/list3rd-party-audiences.mjs.map +1 -0
- package/dist/actions/query-ad-accounts.cjs +53 -0
- package/dist/actions/query-ad-accounts.cjs.map +1 -0
- package/dist/actions/query-ad-accounts.d.cts +9 -0
- package/dist/actions/query-ad-accounts.d.cts.map +1 -0
- package/dist/actions/query-ad-accounts.d.mts +9 -0
- package/dist/actions/query-ad-accounts.d.mts.map +1 -0
- package/dist/actions/query-ad-accounts.mjs +52 -0
- package/dist/actions/query-ad-accounts.mjs.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.cjs +46 -0
- package/dist/actions/query-funding-instruments-by-business.cjs.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.d.cts +9 -0
- package/dist/actions/query-funding-instruments-by-business.d.cts.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.d.mts +9 -0
- package/dist/actions/query-funding-instruments-by-business.d.mts.map +1 -0
- package/dist/actions/query-funding-instruments-by-business.mjs +45 -0
- package/dist/actions/query-funding-instruments-by-business.mjs.map +1 -0
- package/dist/actions/search-communities.cjs +35 -0
- package/dist/actions/search-communities.cjs.map +1 -0
- package/dist/actions/search-communities.d.cts +9 -0
- package/dist/actions/search-communities.d.cts.map +1 -0
- package/dist/actions/search-communities.d.mts +9 -0
- package/dist/actions/search-communities.d.mts.map +1 -0
- package/dist/actions/search-communities.mjs +34 -0
- package/dist/actions/search-communities.mjs.map +1 -0
- package/dist/actions/update-ad-account.cjs +79 -0
- package/dist/actions/update-ad-account.cjs.map +1 -0
- package/dist/actions/update-ad-account.d.cts +9 -0
- package/dist/actions/update-ad-account.d.cts.map +1 -0
- package/dist/actions/update-ad-account.d.mts +9 -0
- package/dist/actions/update-ad-account.d.mts.map +1 -0
- package/dist/actions/update-ad-account.mjs +78 -0
- package/dist/actions/update-ad-account.mjs.map +1 -0
- package/dist/actions/update-business.cjs +67 -0
- package/dist/actions/update-business.cjs.map +1 -0
- package/dist/actions/update-business.d.cts +9 -0
- package/dist/actions/update-business.d.cts.map +1 -0
- package/dist/actions/update-business.d.mts +9 -0
- package/dist/actions/update-business.d.mts.map +1 -0
- package/dist/actions/update-business.mjs +66 -0
- package/dist/actions/update-business.mjs.map +1 -0
- package/dist/actions/update-campaign.cjs +90 -0
- package/dist/actions/update-campaign.cjs.map +1 -0
- package/dist/actions/update-campaign.d.cts +9 -0
- package/dist/actions/update-campaign.d.cts.map +1 -0
- package/dist/actions/update-campaign.d.mts +9 -0
- package/dist/actions/update-campaign.d.mts.map +1 -0
- package/dist/actions/update-campaign.mjs +89 -0
- package/dist/actions/update-campaign.mjs.map +1 -0
- package/dist/actions/update-custom-audience-users.cjs +32 -0
- package/dist/actions/update-custom-audience-users.cjs.map +1 -0
- package/dist/actions/update-custom-audience-users.d.cts +9 -0
- package/dist/actions/update-custom-audience-users.d.cts.map +1 -0
- package/dist/actions/update-custom-audience-users.d.mts +9 -0
- package/dist/actions/update-custom-audience-users.d.mts.map +1 -0
- package/dist/actions/update-custom-audience-users.mjs +29 -0
- package/dist/actions/update-custom-audience-users.mjs.map +1 -0
- package/dist/actions/update-post.cjs +32 -0
- package/dist/actions/update-post.cjs.map +1 -0
- package/dist/actions/update-post.d.cts +9 -0
- package/dist/actions/update-post.d.cts.map +1 -0
- package/dist/actions/update-post.d.mts +9 -0
- package/dist/actions/update-post.d.mts.map +1 -0
- package/dist/actions/update-post.mjs +31 -0
- package/dist/actions/update-post.mjs.map +1 -0
- package/dist/actions/update-product-catalog.cjs +59 -0
- package/dist/actions/update-product-catalog.cjs.map +1 -0
- package/dist/actions/update-product-catalog.d.cts +9 -0
- package/dist/actions/update-product-catalog.d.cts.map +1 -0
- package/dist/actions/update-product-catalog.d.mts +9 -0
- package/dist/actions/update-product-catalog.d.mts.map +1 -0
- package/dist/actions/update-product-catalog.mjs +58 -0
- package/dist/actions/update-product-catalog.mjs.map +1 -0
- package/dist/actions/update-product-feed.cjs +59 -0
- package/dist/actions/update-product-feed.cjs.map +1 -0
- package/dist/actions/update-product-feed.d.cts +9 -0
- package/dist/actions/update-product-feed.d.cts.map +1 -0
- package/dist/actions/update-product-feed.d.mts +9 -0
- package/dist/actions/update-product-feed.d.mts.map +1 -0
- package/dist/actions/update-product-feed.mjs +58 -0
- package/dist/actions/update-product-feed.mjs.map +1 -0
- package/dist/actions/update-product-set.cjs +37 -0
- package/dist/actions/update-product-set.cjs.map +1 -0
- package/dist/actions/update-product-set.d.cts +9 -0
- package/dist/actions/update-product-set.d.cts.map +1 -0
- package/dist/actions/update-product-set.d.mts +9 -0
- package/dist/actions/update-product-set.d.mts.map +1 -0
- package/dist/actions/update-product-set.mjs +36 -0
- package/dist/actions/update-product-set.mjs.map +1 -0
- package/dist/actions/update-saved-audience.cjs +76 -0
- package/dist/actions/update-saved-audience.cjs.map +1 -0
- package/dist/actions/update-saved-audience.d.cts +9 -0
- package/dist/actions/update-saved-audience.d.cts.map +1 -0
- package/dist/actions/update-saved-audience.d.mts +9 -0
- package/dist/actions/update-saved-audience.d.mts.map +1 -0
- package/dist/actions/update-saved-audience.mjs +75 -0
- package/dist/actions/update-saved-audience.mjs.map +1 -0
- package/dist/actions/update-structured-post.cjs +26 -0
- package/dist/actions/update-structured-post.cjs.map +1 -0
- package/dist/actions/update-structured-post.d.cts +9 -0
- package/dist/actions/update-structured-post.d.cts.map +1 -0
- package/dist/actions/update-structured-post.d.mts +9 -0
- package/dist/actions/update-structured-post.d.mts.map +1 -0
- package/dist/actions/update-structured-post.mjs +25 -0
- package/dist/actions/update-structured-post.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +172 -0
- package/dist/index.d.cts +86 -0
- package/dist/index.d.mts +86 -0
- package/dist/index.mjs +87 -0
- package/package.json +49 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-post.ts
|
|
4
|
+
const RedditAdsGetPostInput = zod.z.object({ post_id: zod.z.string().describe("The ID of the promoted post to get. Must match pattern ^t3_.*") }).describe("Request model for fetching a Reddit post by ID.");
|
|
5
|
+
const RedditAdsGetPost_PostTypeSchema = zod.z.enum([
|
|
6
|
+
"CAROUSEL",
|
|
7
|
+
"IMAGE",
|
|
8
|
+
"TEXT",
|
|
9
|
+
"VIDEO"
|
|
10
|
+
]).describe("The type of the post.");
|
|
11
|
+
const RedditAdsGetPost_ContentItemSchema = zod.z.object({
|
|
12
|
+
caption: zod.z.string().describe("Caption for the content item.").nullable().optional(),
|
|
13
|
+
media_url: zod.z.string().describe("URL to the media content.").nullable().optional(),
|
|
14
|
+
display_url: zod.z.string().describe("Display URL for the content.").nullable().optional(),
|
|
15
|
+
call_to_action: zod.z.string().describe("Call to action text.").nullable().optional(),
|
|
16
|
+
destination_url: zod.z.string().describe("Destination URL for the content.").nullable().optional()
|
|
17
|
+
}).describe("Individual content item in a post.");
|
|
18
|
+
const RedditAdsGetPost_PostDataSchema = zod.z.object({
|
|
19
|
+
id: zod.z.string().describe("The unique identifier of the post."),
|
|
20
|
+
body: zod.z.string().describe("The content for text posts. Maximum length 40000 characters.").nullable().optional(),
|
|
21
|
+
type: RedditAdsGetPost_PostTypeSchema.nullable(),
|
|
22
|
+
content: zod.z.array(RedditAdsGetPost_ContentItemSchema).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1.").nullable().optional(),
|
|
23
|
+
headline: zod.z.string().describe("The title of the post.").nullable().optional(),
|
|
24
|
+
post_url: zod.z.string().describe("Link to the post on Reddit.").nullable().optional(),
|
|
25
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
26
|
+
profile_id: zod.z.string().describe("The unique identifier of the profile that the post belongs to.").nullable().optional(),
|
|
27
|
+
is_richtext: zod.z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
|
|
28
|
+
thumbnail_url: zod.z.string().describe("The URL to the thumbnail image for the post. Required for video posts.").nullable().optional(),
|
|
29
|
+
allow_comments: zod.z.boolean().describe("Enable comments on the post, manageable in the Ads Manager.").nullable().optional()
|
|
30
|
+
}).describe("Post data returned by the Reddit Ads API.");
|
|
31
|
+
const RedditAdsGetPostOutput = zod.z.object({ data: RedditAdsGetPost_PostDataSchema.nullable() }).describe("Response model for fetching a Reddit post.");
|
|
32
|
+
const redditAdsGetPost = require_action.action("REDDIT_ADS_GET_POST", {
|
|
33
|
+
slug: "reddit_ads-get-post",
|
|
34
|
+
name: "Get Post by ID",
|
|
35
|
+
description: "Tool to retrieve a promoted or organic Reddit post by its ID. Returns post details including type, content, headline, and metadata. Rate limit: 200 requests per 60 seconds (Creative Management).",
|
|
36
|
+
input: RedditAdsGetPostInput,
|
|
37
|
+
output: RedditAdsGetPostOutput
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.redditAdsGetPost = redditAdsGetPost;
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=get-post.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post.cjs","names":["z","action"],"sources":["../../src/actions/get-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetPostInput: z.ZodTypeAny = z.object({\n post_id: z.string().describe(\"The ID of the promoted post to get. Must match pattern ^t3_.*\"),\n}).describe(\"Request model for fetching a Reddit post by ID.\");\nconst RedditAdsGetPost_PostTypeSchema: z.ZodTypeAny = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsGetPost_ContentItemSchema: z.ZodTypeAny = z.object({\n caption: z.string().describe(\"Caption for the content item.\").nullable().optional(),\n media_url: z.string().describe(\"URL to the media content.\").nullable().optional(),\n display_url: z.string().describe(\"Display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"Call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"Destination URL for the content.\").nullable().optional(),\n}).describe(\"Individual content item in a post.\");\nconst RedditAdsGetPost_PostDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the post.\"),\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").nullable().optional(),\n type: RedditAdsGetPost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsGetPost_ContentItemSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").nullable().optional(),\n}).describe(\"Post data returned by the Reddit Ads API.\");\nexport const RedditAdsGetPostOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetPost_PostDataSchema.nullable(),\n}).describe(\"Response model for fetching a Reddit post.\");\n\nexport const redditAdsGetPost = action(\"REDDIT_ADS_GET_POST\", {\n slug: \"reddit_ads-get-post\",\n name: \"Get Post by ID\",\n description: \"Tool to retrieve a promoted or organic Reddit post by its ID. Returns post details including type, content, headline, and metadata. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsGetPostInput,\n output: RedditAdsGetPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kCAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAS;CAAQ;AAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACrI,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,E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uCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-post.d.ts
|
|
4
|
+
declare const RedditAdsGetPostInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetPostOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetPost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetPost };
|
|
9
|
+
//# sourceMappingURL=get-post.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post.d.cts","names":[],"sources":["../../src/actions/get-post.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEwB;AAAA,cAsBjD,sBAAA,EAAwB,CAAA,CAAE,UAEkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-post.d.ts
|
|
4
|
+
declare const RedditAdsGetPostInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetPostOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetPost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetPost };
|
|
9
|
+
//# sourceMappingURL=get-post.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post.d.mts","names":[],"sources":["../../src/actions/get-post.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEwB;AAAA,cAsBjD,sBAAA,EAAwB,CAAA,CAAE,UAEkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-post.ts
|
|
4
|
+
const RedditAdsGetPostInput = z.object({ post_id: z.string().describe("The ID of the promoted post to get. Must match pattern ^t3_.*") }).describe("Request model for fetching a Reddit post by ID.");
|
|
5
|
+
const RedditAdsGetPost_PostTypeSchema = z.enum([
|
|
6
|
+
"CAROUSEL",
|
|
7
|
+
"IMAGE",
|
|
8
|
+
"TEXT",
|
|
9
|
+
"VIDEO"
|
|
10
|
+
]).describe("The type of the post.");
|
|
11
|
+
const RedditAdsGetPost_ContentItemSchema = z.object({
|
|
12
|
+
caption: z.string().describe("Caption for the content item.").nullable().optional(),
|
|
13
|
+
media_url: z.string().describe("URL to the media content.").nullable().optional(),
|
|
14
|
+
display_url: z.string().describe("Display URL for the content.").nullable().optional(),
|
|
15
|
+
call_to_action: z.string().describe("Call to action text.").nullable().optional(),
|
|
16
|
+
destination_url: z.string().describe("Destination URL for the content.").nullable().optional()
|
|
17
|
+
}).describe("Individual content item in a post.");
|
|
18
|
+
const RedditAdsGetPost_PostDataSchema = z.object({
|
|
19
|
+
id: z.string().describe("The unique identifier of the post."),
|
|
20
|
+
body: z.string().describe("The content for text posts. Maximum length 40000 characters.").nullable().optional(),
|
|
21
|
+
type: RedditAdsGetPost_PostTypeSchema.nullable(),
|
|
22
|
+
content: z.array(RedditAdsGetPost_ContentItemSchema).describe("The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1.").nullable().optional(),
|
|
23
|
+
headline: z.string().describe("The title of the post.").nullable().optional(),
|
|
24
|
+
post_url: z.string().describe("Link to the post on Reddit.").nullable().optional(),
|
|
25
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
26
|
+
profile_id: z.string().describe("The unique identifier of the profile that the post belongs to.").nullable().optional(),
|
|
27
|
+
is_richtext: z.boolean().describe("Whether the body of the TEXT post is in richtext or not.").nullable().optional(),
|
|
28
|
+
thumbnail_url: z.string().describe("The URL to the thumbnail image for the post. Required for video posts.").nullable().optional(),
|
|
29
|
+
allow_comments: z.boolean().describe("Enable comments on the post, manageable in the Ads Manager.").nullable().optional()
|
|
30
|
+
}).describe("Post data returned by the Reddit Ads API.");
|
|
31
|
+
const redditAdsGetPost = action("REDDIT_ADS_GET_POST", {
|
|
32
|
+
slug: "reddit_ads-get-post",
|
|
33
|
+
name: "Get Post by ID",
|
|
34
|
+
description: "Tool to retrieve a promoted or organic Reddit post by its ID. Returns post details including type, content, headline, and metadata. Rate limit: 200 requests per 60 seconds (Creative Management).",
|
|
35
|
+
input: RedditAdsGetPostInput,
|
|
36
|
+
output: z.object({ data: RedditAdsGetPost_PostDataSchema.nullable() }).describe("Response model for fetching a Reddit post.")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { redditAdsGetPost };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=get-post.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post.mjs","names":[],"sources":["../../src/actions/get-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetPostInput: z.ZodTypeAny = z.object({\n post_id: z.string().describe(\"The ID of the promoted post to get. Must match pattern ^t3_.*\"),\n}).describe(\"Request model for fetching a Reddit post by ID.\");\nconst RedditAdsGetPost_PostTypeSchema: z.ZodTypeAny = z.enum([\"CAROUSEL\", \"IMAGE\", \"TEXT\", \"VIDEO\"]).describe(\"The type of the post.\");\nconst RedditAdsGetPost_ContentItemSchema: z.ZodTypeAny = z.object({\n caption: z.string().describe(\"Caption for the content item.\").nullable().optional(),\n media_url: z.string().describe(\"URL to the media content.\").nullable().optional(),\n display_url: z.string().describe(\"Display URL for the content.\").nullable().optional(),\n call_to_action: z.string().describe(\"Call to action text.\").nullable().optional(),\n destination_url: z.string().describe(\"Destination URL for the content.\").nullable().optional(),\n}).describe(\"Individual content item in a post.\");\nconst RedditAdsGetPost_PostDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the post.\"),\n body: z.string().describe(\"The content for text posts. Maximum length 40000 characters.\").nullable().optional(),\n type: RedditAdsGetPost_PostTypeSchema.nullable(),\n content: z.array(RedditAdsGetPost_ContentItemSchema).describe(\"The content of the post. Carousel posts support arrays of up to 6 images. Image, Video and Text posts support only 1.\").nullable().optional(),\n headline: z.string().describe(\"The title of the post.\").nullable().optional(),\n post_url: z.string().describe(\"Link to the post on Reddit.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n profile_id: z.string().describe(\"The unique identifier of the profile that the post belongs to.\").nullable().optional(),\n is_richtext: z.boolean().describe(\"Whether the body of the TEXT post is in richtext or not.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"The URL to the thumbnail image for the post. Required for video posts.\").nullable().optional(),\n allow_comments: z.boolean().describe(\"Enable comments on the post, manageable in the Ads Manager.\").nullable().optional(),\n}).describe(\"Post data returned by the Reddit Ads API.\");\nexport const RedditAdsGetPostOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetPost_PostDataSchema.nullable(),\n}).describe(\"Response model for fetching a Reddit post.\");\n\nexport const redditAdsGetPost = action(\"REDDIT_ADS_GET_POST\", {\n slug: \"reddit_ads-get-post\",\n name: \"Get Post by ID\",\n description: \"Tool to retrieve a promoted or organic Reddit post by its ID. Returns post details including type, content, headline, and metadata. Rate limit: 200 requests per 60 seconds (Creative Management).\",\n input: RedditAdsGetPostInput,\n output: RedditAdsGetPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC9F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kCAAgD,EAAE,KAAK;CAAC;CAAY;CAAS;CAAQ;AAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACrI,MAAM,qCAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,MAAM,gCAAgC,SAAS;CAC/C,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-product-catalog.ts
|
|
4
|
+
const RedditAdsGetProductCatalogInput = zod.z.object({ catalog_id: zod.z.string().describe("The ID of the product catalog.") }).describe("Request model for retrieving a specific product catalog by ID.");
|
|
5
|
+
const RedditAdsGetProductCatalog_ProductCatalogSummarySchema = zod.z.object({
|
|
6
|
+
products_count: zod.z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
|
|
7
|
+
approved_products_count: zod.z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
|
|
8
|
+
rejected_products_count: zod.z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
|
|
9
|
+
}).describe("Summary statistics for the product catalog.");
|
|
10
|
+
const RedditAdsGetProductCatalog_CurrencyCodeSchema = zod.z.enum([
|
|
11
|
+
"USD",
|
|
12
|
+
"GBP",
|
|
13
|
+
"CAD",
|
|
14
|
+
"EUR",
|
|
15
|
+
"AUD",
|
|
16
|
+
"JPY",
|
|
17
|
+
"CHF",
|
|
18
|
+
"NZD",
|
|
19
|
+
"SEK",
|
|
20
|
+
"NOK"
|
|
21
|
+
]).describe("Supported currency codes for product catalogs.");
|
|
22
|
+
const RedditAdsGetProductCatalog_LanguageCodeSchema = zod.z.enum([
|
|
23
|
+
"en",
|
|
24
|
+
"de",
|
|
25
|
+
"es",
|
|
26
|
+
"fr",
|
|
27
|
+
"it",
|
|
28
|
+
"pt"
|
|
29
|
+
]).describe("Supported language codes for product catalogs.");
|
|
30
|
+
const RedditAdsGetProductCatalog_ProductCatalogDataSchema = zod.z.object({
|
|
31
|
+
id: zod.z.string().describe("The ID of the product catalog.").nullable().optional(),
|
|
32
|
+
name: zod.z.string().describe("The name of the product catalog.").nullable().optional(),
|
|
33
|
+
summary: RedditAdsGetProductCatalog_ProductCatalogSummarySchema.nullable().optional(),
|
|
34
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
35
|
+
business_id: zod.z.string().describe("The ID of the parent business.").nullable().optional(),
|
|
36
|
+
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional(),
|
|
37
|
+
data_sources: zod.z.array(zod.z.string()).describe("The list of catalog data sources.").nullable().optional(),
|
|
38
|
+
event_sources: zod.z.array(zod.z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
|
|
39
|
+
default_currency: RedditAdsGetProductCatalog_CurrencyCodeSchema.nullable().optional(),
|
|
40
|
+
default_language: RedditAdsGetProductCatalog_LanguageCodeSchema.nullable().optional()
|
|
41
|
+
}).describe("Product catalog data object.");
|
|
42
|
+
const RedditAdsGetProductCatalogOutput = zod.z.object({ data: RedditAdsGetProductCatalog_ProductCatalogDataSchema.nullable() }).describe("Response model for retrieving a product catalog.");
|
|
43
|
+
const redditAdsGetProductCatalog = require_action.action("REDDIT_ADS_GET_PRODUCT_CATALOG", {
|
|
44
|
+
slug: "reddit_ads-get-product-catalog",
|
|
45
|
+
name: "Get Product Catalog",
|
|
46
|
+
description: "Tool to retrieve a specific product catalog by ID from the Reddit Ads API. Use when you need to fetch details about a particular product catalog including its name, language, currency, attached pixels, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
47
|
+
input: RedditAdsGetProductCatalogInput,
|
|
48
|
+
output: RedditAdsGetProductCatalogOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.redditAdsGetProductCatalog = redditAdsGetProductCatalog;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=get-product-catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-catalog.cjs","names":["z","action"],"sources":["../../src/actions/get-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductCatalogInput: z.ZodTypeAny = z.object({\n catalog_id: z.string().describe(\"The ID of the product catalog.\"),\n}).describe(\"Request model for retrieving a specific product catalog by ID.\");\nconst RedditAdsGetProductCatalog_ProductCatalogSummarySchema: z.ZodTypeAny = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsGetProductCatalog_CurrencyCodeSchema: z.ZodTypeAny = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsGetProductCatalog_LanguageCodeSchema: z.ZodTypeAny = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsGetProductCatalog_ProductCatalogDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsGetProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsGetProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsGetProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog data object.\");\nexport const RedditAdsGetProductCatalogOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductCatalog_ProductCatalogDataSchema.nullable(),\n}).describe(\"Response model for retrieving a product catalog.\");\n\nexport const redditAdsGetProductCatalog = action(\"REDDIT_ADS_GET_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-get-product-catalog\",\n name: \"Get Product Catalog\",\n description: \"Tool to retrieve a specific product catalog by ID from the Reddit Ads API. Use when you need to fetch details about a particular product catalog including its name, language, currency, attached pixels, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsGetProductCatalogInput,\n output: RedditAdsGetProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAClE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,yDAAuEA,IAAAA,EAAE,O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EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,MAAM,oDAAoD,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-catalog.d.ts
|
|
4
|
+
declare const RedditAdsGetProductCatalogInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductCatalogOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductCatalog };
|
|
9
|
+
//# sourceMappingURL=get-product-catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-catalog.d.cts","names":[],"sources":["../../src/actions/get-product-catalog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE6B;AAAA,cAoBhE,gCAAA,EAAkC,CAAA,CAAE,UAEc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-catalog.d.ts
|
|
4
|
+
declare const RedditAdsGetProductCatalogInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductCatalogOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductCatalog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductCatalog };
|
|
9
|
+
//# sourceMappingURL=get-product-catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-catalog.d.mts","names":[],"sources":["../../src/actions/get-product-catalog.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE6B;AAAA,cAoBhE,gCAAA,EAAkC,CAAA,CAAE,UAEc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-product-catalog.ts
|
|
4
|
+
const RedditAdsGetProductCatalogInput = z.object({ catalog_id: z.string().describe("The ID of the product catalog.") }).describe("Request model for retrieving a specific product catalog by ID.");
|
|
5
|
+
const RedditAdsGetProductCatalog_ProductCatalogSummarySchema = z.object({
|
|
6
|
+
products_count: z.number().int().describe("Total number of products in the catalog.").nullable().optional(),
|
|
7
|
+
approved_products_count: z.number().int().describe("Number of approved products in the catalog.").nullable().optional(),
|
|
8
|
+
rejected_products_count: z.number().int().describe("Number of rejected products in the catalog.").nullable().optional()
|
|
9
|
+
}).describe("Summary statistics for the product catalog.");
|
|
10
|
+
const RedditAdsGetProductCatalog_CurrencyCodeSchema = z.enum([
|
|
11
|
+
"USD",
|
|
12
|
+
"GBP",
|
|
13
|
+
"CAD",
|
|
14
|
+
"EUR",
|
|
15
|
+
"AUD",
|
|
16
|
+
"JPY",
|
|
17
|
+
"CHF",
|
|
18
|
+
"NZD",
|
|
19
|
+
"SEK",
|
|
20
|
+
"NOK"
|
|
21
|
+
]).describe("Supported currency codes for product catalogs.");
|
|
22
|
+
const RedditAdsGetProductCatalog_LanguageCodeSchema = z.enum([
|
|
23
|
+
"en",
|
|
24
|
+
"de",
|
|
25
|
+
"es",
|
|
26
|
+
"fr",
|
|
27
|
+
"it",
|
|
28
|
+
"pt"
|
|
29
|
+
]).describe("Supported language codes for product catalogs.");
|
|
30
|
+
const RedditAdsGetProductCatalog_ProductCatalogDataSchema = z.object({
|
|
31
|
+
id: z.string().describe("The ID of the product catalog.").nullable().optional(),
|
|
32
|
+
name: z.string().describe("The name of the product catalog.").nullable().optional(),
|
|
33
|
+
summary: RedditAdsGetProductCatalog_ProductCatalogSummarySchema.nullable().optional(),
|
|
34
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
35
|
+
business_id: z.string().describe("The ID of the parent business.").nullable().optional(),
|
|
36
|
+
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional(),
|
|
37
|
+
data_sources: z.array(z.string()).describe("The list of catalog data sources.").nullable().optional(),
|
|
38
|
+
event_sources: z.array(z.string()).describe("The list of the attached Reddit Pixel IDs.").nullable().optional(),
|
|
39
|
+
default_currency: RedditAdsGetProductCatalog_CurrencyCodeSchema.nullable().optional(),
|
|
40
|
+
default_language: RedditAdsGetProductCatalog_LanguageCodeSchema.nullable().optional()
|
|
41
|
+
}).describe("Product catalog data object.");
|
|
42
|
+
const redditAdsGetProductCatalog = action("REDDIT_ADS_GET_PRODUCT_CATALOG", {
|
|
43
|
+
slug: "reddit_ads-get-product-catalog",
|
|
44
|
+
name: "Get Product Catalog",
|
|
45
|
+
description: "Tool to retrieve a specific product catalog by ID from the Reddit Ads API. Use when you need to fetch details about a particular product catalog including its name, language, currency, attached pixels, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
46
|
+
input: RedditAdsGetProductCatalogInput,
|
|
47
|
+
output: z.object({ data: RedditAdsGetProductCatalog_ProductCatalogDataSchema.nullable() }).describe("Response model for retrieving a product catalog.")
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { redditAdsGetProductCatalog };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=get-product-catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-catalog.mjs","names":[],"sources":["../../src/actions/get-product-catalog.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductCatalogInput: z.ZodTypeAny = z.object({\n catalog_id: z.string().describe(\"The ID of the product catalog.\"),\n}).describe(\"Request model for retrieving a specific product catalog by ID.\");\nconst RedditAdsGetProductCatalog_ProductCatalogSummarySchema: z.ZodTypeAny = z.object({\n products_count: z.number().int().describe(\"Total number of products in the catalog.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the catalog.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the catalog.\").nullable().optional(),\n}).describe(\"Summary statistics for the product catalog.\");\nconst RedditAdsGetProductCatalog_CurrencyCodeSchema: z.ZodTypeAny = z.enum([\"USD\", \"GBP\", \"CAD\", \"EUR\", \"AUD\", \"JPY\", \"CHF\", \"NZD\", \"SEK\", \"NOK\"]).describe(\"Supported currency codes for product catalogs.\");\nconst RedditAdsGetProductCatalog_LanguageCodeSchema: z.ZodTypeAny = z.enum([\"en\", \"de\", \"es\", \"fr\", \"it\", \"pt\"]).describe(\"Supported language codes for product catalogs.\");\nconst RedditAdsGetProductCatalog_ProductCatalogDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product catalog.\").nullable().optional(),\n name: z.string().describe(\"The name of the product catalog.\").nullable().optional(),\n summary: RedditAdsGetProductCatalog_ProductCatalogSummarySchema.nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n business_id: z.string().describe(\"The ID of the parent business.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n data_sources: z.array(z.string()).describe(\"The list of catalog data sources.\").nullable().optional(),\n event_sources: z.array(z.string()).describe(\"The list of the attached Reddit Pixel IDs.\").nullable().optional(),\n default_currency: RedditAdsGetProductCatalog_CurrencyCodeSchema.nullable().optional(),\n default_language: RedditAdsGetProductCatalog_LanguageCodeSchema.nullable().optional(),\n}).describe(\"Product catalog data object.\");\nexport const RedditAdsGetProductCatalogOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductCatalog_ProductCatalogDataSchema.nullable(),\n}).describe(\"Response model for retrieving a product catalog.\");\n\nexport const redditAdsGetProductCatalog = action(\"REDDIT_ADS_GET_PRODUCT_CATALOG\", {\n slug: \"reddit_ads-get-product-catalog\",\n name: \"Get Product Catalog\",\n description: \"Tool to retrieve a specific product catalog by ID from the Reddit Ads API. Use when you need to fetch details about a particular product catalog including its name, language, currency, attached pixels, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsGetProductCatalogInput,\n output: RedditAdsGetProductCatalogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAClE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,yDAAuE,EAAE,OAAO;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SA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kB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,MAAM,oDAAoD,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-product-feed.ts
|
|
4
|
+
const RedditAdsGetProductFeedInput = zod.z.object({ feed_id: zod.z.string().describe("The ID of the product feed.") }).describe("Request model for retrieving a specific product feed by ID.");
|
|
5
|
+
const RedditAdsGetProductFeed_FeedModeSchema = zod.z.enum(["REPLACE", "UPDATE"]).describe("Update mode for product feeds.");
|
|
6
|
+
const RedditAdsGetProductFeed_FeedScheduleTimezoneSchema = zod.z.object({
|
|
7
|
+
name: zod.z.string().describe("Name of the timezone.").nullable().optional(),
|
|
8
|
+
offset: zod.z.number().int().describe("Timezone offset in seconds.").nullable().optional()
|
|
9
|
+
}).describe("Timezone configuration for feed schedule.");
|
|
10
|
+
const RedditAdsGetProductFeed_FeedScheduleSchema = zod.z.object({
|
|
11
|
+
hour: zod.z.number().int().describe("Hour of the day for scheduled imports (0-23).").nullable().optional(),
|
|
12
|
+
minute: zod.z.number().int().describe("Minute of the hour for scheduled imports (0-59).").nullable().optional(),
|
|
13
|
+
interval: zod.z.string().describe("Interval type for scheduled imports.").nullable().optional(),
|
|
14
|
+
timezone: RedditAdsGetProductFeed_FeedScheduleTimezoneSchema.nullable().optional(),
|
|
15
|
+
is_paused: zod.z.boolean().describe("Whether the schedule is currently paused.").nullable().optional(),
|
|
16
|
+
day_of_week: zod.z.string().describe("Day of the week for scheduled imports.").nullable().optional(),
|
|
17
|
+
day_of_month: zod.z.number().int().describe("Day of the month for scheduled imports (1-31).").nullable().optional(),
|
|
18
|
+
interval_count: zod.z.number().int().describe("Number of intervals between imports.").nullable().optional(),
|
|
19
|
+
next_import_at: zod.z.string().describe("Timestamp of the next scheduled import in ISO 8601 format.").nullable().optional()
|
|
20
|
+
}).describe("Schedule configuration for a product feed.");
|
|
21
|
+
const RedditAdsGetProductFeed_ProductFeedDataSchema = zod.z.object({
|
|
22
|
+
id: zod.z.string().describe("The ID of the product feed."),
|
|
23
|
+
url: zod.z.string().describe("The URL of the product feed to fetch."),
|
|
24
|
+
mode: RedditAdsGetProductFeed_FeedModeSchema.nullable(),
|
|
25
|
+
name: zod.z.string().describe("The name of the feed.").nullable().optional(),
|
|
26
|
+
password: zod.z.string().describe("The password that is needed to access the URL.").nullable().optional(),
|
|
27
|
+
schedule: RedditAdsGetProductFeed_FeedScheduleSchema.nullable().optional(),
|
|
28
|
+
username: zod.z.string().describe("The username that is needed to access the URL.").nullable().optional(),
|
|
29
|
+
catalog_id: zod.z.string().describe("The ID of the product catalog that this feed belongs to."),
|
|
30
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
31
|
+
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.")
|
|
32
|
+
}).describe("Product feed metadata.");
|
|
33
|
+
const RedditAdsGetProductFeedOutput = zod.z.object({ data: RedditAdsGetProductFeed_ProductFeedDataSchema.nullable() }).describe("Response model containing the product feed metadata.");
|
|
34
|
+
const redditAdsGetProductFeed = require_action.action("REDDIT_ADS_GET_PRODUCT_FEED", {
|
|
35
|
+
slug: "reddit_ads-get-product-feed",
|
|
36
|
+
name: "Get Product Feed",
|
|
37
|
+
description: "Tool to retrieve metadata for a specific product feed by ID. Use when you need to fetch details about a particular feed including its URL, schedule, authentication credentials, and update mode.",
|
|
38
|
+
input: RedditAdsGetProductFeedInput,
|
|
39
|
+
output: RedditAdsGetProductFeedOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.redditAdsGetProductFeed = redditAdsGetProductFeed;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-product-feed.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-feed.cjs","names":["z","action"],"sources":["../../src/actions/get-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductFeedInput: z.ZodTypeAny = z.object({\n feed_id: z.string().describe(\"The ID of the product feed.\"),\n}).describe(\"Request model for retrieving a specific product feed by ID.\");\nconst RedditAdsGetProductFeed_FeedModeSchema: z.ZodTypeAny = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for product feeds.\");\nconst RedditAdsGetProductFeed_FeedScheduleTimezoneSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the timezone.\").nullable().optional(),\n offset: z.number().int().describe(\"Timezone offset in seconds.\").nullable().optional(),\n}).describe(\"Timezone configuration for feed schedule.\");\nconst RedditAdsGetProductFeed_FeedScheduleSchema: z.ZodTypeAny = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports.\").nullable().optional(),\n timezone: RedditAdsGetProductFeed_FeedScheduleTimezoneSchema.nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is currently paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"Timestamp of the next scheduled import in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Schedule configuration for a product feed.\");\nconst RedditAdsGetProductFeed_ProductFeedDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product feed.\"),\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: RedditAdsGetProductFeed_FeedModeSchema.nullable(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsGetProductFeed_FeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\"),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\"),\n}).describe(\"Product feed metadata.\");\nexport const RedditAdsGetProductFeedOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductFeed_ProductFeedDataSchema.nullable(),\n}).describe(\"Response model containing the product feed metadata.\");\n\nexport const redditAdsGetProductFeed = action(\"REDDIT_ADS_GET_PRODUCT_FEED\", {\n slug: \"reddit_ads-get-product-feed\",\n name: \"Get Product Feed\",\n description: \"Tool to retrieve metadata for a specific product feed by ID. Use when you need to fetch details about a particular feed including its URL, schedule, authentication credentials, and update mode.\",\n input: RedditAdsGetProductFeedInput,\n output: RedditAdsGetProductFeedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EAC5D,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,yCAAuDA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACpI,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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C,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACzG,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-feed.d.ts
|
|
4
|
+
declare const RedditAdsGetProductFeedInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductFeedOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductFeed };
|
|
9
|
+
//# sourceMappingURL=get-product-feed.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-feed.d.cts","names":[],"sources":["../../src/actions/get-product-feed.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cA6B7D,6BAAA,EAA+B,CAAA,CAAE,UAEqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-feed.d.ts
|
|
4
|
+
declare const RedditAdsGetProductFeedInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductFeedOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductFeed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductFeed };
|
|
9
|
+
//# sourceMappingURL=get-product-feed.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-feed.d.mts","names":[],"sources":["../../src/actions/get-product-feed.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cA6B7D,6BAAA,EAA+B,CAAA,CAAE,UAEqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-product-feed.ts
|
|
4
|
+
const RedditAdsGetProductFeedInput = z.object({ feed_id: z.string().describe("The ID of the product feed.") }).describe("Request model for retrieving a specific product feed by ID.");
|
|
5
|
+
const RedditAdsGetProductFeed_FeedModeSchema = z.enum(["REPLACE", "UPDATE"]).describe("Update mode for product feeds.");
|
|
6
|
+
const RedditAdsGetProductFeed_FeedScheduleTimezoneSchema = z.object({
|
|
7
|
+
name: z.string().describe("Name of the timezone.").nullable().optional(),
|
|
8
|
+
offset: z.number().int().describe("Timezone offset in seconds.").nullable().optional()
|
|
9
|
+
}).describe("Timezone configuration for feed schedule.");
|
|
10
|
+
const RedditAdsGetProductFeed_FeedScheduleSchema = z.object({
|
|
11
|
+
hour: z.number().int().describe("Hour of the day for scheduled imports (0-23).").nullable().optional(),
|
|
12
|
+
minute: z.number().int().describe("Minute of the hour for scheduled imports (0-59).").nullable().optional(),
|
|
13
|
+
interval: z.string().describe("Interval type for scheduled imports.").nullable().optional(),
|
|
14
|
+
timezone: RedditAdsGetProductFeed_FeedScheduleTimezoneSchema.nullable().optional(),
|
|
15
|
+
is_paused: z.boolean().describe("Whether the schedule is currently paused.").nullable().optional(),
|
|
16
|
+
day_of_week: z.string().describe("Day of the week for scheduled imports.").nullable().optional(),
|
|
17
|
+
day_of_month: z.number().int().describe("Day of the month for scheduled imports (1-31).").nullable().optional(),
|
|
18
|
+
interval_count: z.number().int().describe("Number of intervals between imports.").nullable().optional(),
|
|
19
|
+
next_import_at: z.string().describe("Timestamp of the next scheduled import in ISO 8601 format.").nullable().optional()
|
|
20
|
+
}).describe("Schedule configuration for a product feed.");
|
|
21
|
+
const RedditAdsGetProductFeed_ProductFeedDataSchema = z.object({
|
|
22
|
+
id: z.string().describe("The ID of the product feed."),
|
|
23
|
+
url: z.string().describe("The URL of the product feed to fetch."),
|
|
24
|
+
mode: RedditAdsGetProductFeed_FeedModeSchema.nullable(),
|
|
25
|
+
name: z.string().describe("The name of the feed.").nullable().optional(),
|
|
26
|
+
password: z.string().describe("The password that is needed to access the URL.").nullable().optional(),
|
|
27
|
+
schedule: RedditAdsGetProductFeed_FeedScheduleSchema.nullable().optional(),
|
|
28
|
+
username: z.string().describe("The username that is needed to access the URL.").nullable().optional(),
|
|
29
|
+
catalog_id: z.string().describe("The ID of the product catalog that this feed belongs to."),
|
|
30
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601."),
|
|
31
|
+
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.")
|
|
32
|
+
}).describe("Product feed metadata.");
|
|
33
|
+
const redditAdsGetProductFeed = action("REDDIT_ADS_GET_PRODUCT_FEED", {
|
|
34
|
+
slug: "reddit_ads-get-product-feed",
|
|
35
|
+
name: "Get Product Feed",
|
|
36
|
+
description: "Tool to retrieve metadata for a specific product feed by ID. Use when you need to fetch details about a particular feed including its URL, schedule, authentication credentials, and update mode.",
|
|
37
|
+
input: RedditAdsGetProductFeedInput,
|
|
38
|
+
output: z.object({ data: RedditAdsGetProductFeed_ProductFeedDataSchema.nullable() }).describe("Response model containing the product feed metadata.")
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { redditAdsGetProductFeed };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-product-feed.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-feed.mjs","names":[],"sources":["../../src/actions/get-product-feed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductFeedInput: z.ZodTypeAny = z.object({\n feed_id: z.string().describe(\"The ID of the product feed.\"),\n}).describe(\"Request model for retrieving a specific product feed by ID.\");\nconst RedditAdsGetProductFeed_FeedModeSchema: z.ZodTypeAny = z.enum([\"REPLACE\", \"UPDATE\"]).describe(\"Update mode for product feeds.\");\nconst RedditAdsGetProductFeed_FeedScheduleTimezoneSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the timezone.\").nullable().optional(),\n offset: z.number().int().describe(\"Timezone offset in seconds.\").nullable().optional(),\n}).describe(\"Timezone configuration for feed schedule.\");\nconst RedditAdsGetProductFeed_FeedScheduleSchema: z.ZodTypeAny = z.object({\n hour: z.number().int().describe(\"Hour of the day for scheduled imports (0-23).\").nullable().optional(),\n minute: z.number().int().describe(\"Minute of the hour for scheduled imports (0-59).\").nullable().optional(),\n interval: z.string().describe(\"Interval type for scheduled imports.\").nullable().optional(),\n timezone: RedditAdsGetProductFeed_FeedScheduleTimezoneSchema.nullable().optional(),\n is_paused: z.boolean().describe(\"Whether the schedule is currently paused.\").nullable().optional(),\n day_of_week: z.string().describe(\"Day of the week for scheduled imports.\").nullable().optional(),\n day_of_month: z.number().int().describe(\"Day of the month for scheduled imports (1-31).\").nullable().optional(),\n interval_count: z.number().int().describe(\"Number of intervals between imports.\").nullable().optional(),\n next_import_at: z.string().describe(\"Timestamp of the next scheduled import in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Schedule configuration for a product feed.\");\nconst RedditAdsGetProductFeed_ProductFeedDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product feed.\"),\n url: z.string().describe(\"The URL of the product feed to fetch.\"),\n mode: RedditAdsGetProductFeed_FeedModeSchema.nullable(),\n name: z.string().describe(\"The name of the feed.\").nullable().optional(),\n password: z.string().describe(\"The password that is needed to access the URL.\").nullable().optional(),\n schedule: RedditAdsGetProductFeed_FeedScheduleSchema.nullable().optional(),\n username: z.string().describe(\"The username that is needed to access the URL.\").nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this feed belongs to.\"),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\"),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\"),\n}).describe(\"Product feed metadata.\");\nexport const RedditAdsGetProductFeedOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductFeed_ProductFeedDataSchema.nullable(),\n}).describe(\"Response model containing the product feed metadata.\");\n\nexport const redditAdsGetProductFeed = action(\"REDDIT_ADS_GET_PRODUCT_FEED\", {\n slug: \"reddit_ads-get-product-feed\",\n name: \"Get Product Feed\",\n description: \"Tool to retrieve metadata for a specific product feed by ID. Use when you need to fetch details about a particular feed including its URL, schedule, authentication credentials, and update mode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CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAM,uCAAuC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACzG,CAAC,CAAC,CAAC,SAAS,wBAAwB;AAKpC,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-product-set.ts
|
|
4
|
+
const RedditAdsGetProductSetInput = zod.z.object({ product_set_id: zod.z.string().describe("The ID of the product set.") }).describe("Request model for retrieving a specific product set by ID.");
|
|
5
|
+
const RedditAdsGetProductSet_ProductSetSummarySchema = zod.z.object({
|
|
6
|
+
issues: zod.z.object({}).describe("Issues related to the product set.").nullable().optional(),
|
|
7
|
+
products_count: zod.z.number().int().describe("Total number of products in the product set.").nullable().optional(),
|
|
8
|
+
approved_products_count: zod.z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
|
|
9
|
+
rejected_products_count: zod.z.number().int().describe("Number of rejected products in the product set.").nullable().optional()
|
|
10
|
+
}).describe("Summary statistics for the product set.");
|
|
11
|
+
const RedditAdsGetProductSet_ProductSetDataSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("The ID of the product set.").nullable().optional(),
|
|
13
|
+
name: zod.z.string().describe("The name of the product set.").nullable().optional(),
|
|
14
|
+
filter: zod.z.string().describe("The filter rule that defines the set of products in the catalog. Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.").nullable().optional(),
|
|
15
|
+
summary: RedditAdsGetProductSet_ProductSetSummarySchema.nullable().optional(),
|
|
16
|
+
catalog_id: zod.z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
|
|
17
|
+
created_at: zod.z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
18
|
+
modified_at: zod.z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
|
|
19
|
+
}).describe("Product set data object.");
|
|
20
|
+
const RedditAdsGetProductSetOutput = zod.z.object({ data: RedditAdsGetProductSet_ProductSetDataSchema.nullable() }).describe("Response model for retrieving a product set.");
|
|
21
|
+
const redditAdsGetProductSet = require_action.action("REDDIT_ADS_GET_PRODUCT_SET", {
|
|
22
|
+
slug: "reddit_ads-get-product-set",
|
|
23
|
+
name: "Get Product Set",
|
|
24
|
+
description: "Tool to retrieve metadata for a specific product set by ID from the Reddit Ads API. Use when you need to fetch details about a particular product set including its name, filter rules, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
25
|
+
input: RedditAdsGetProductSetInput,
|
|
26
|
+
output: RedditAdsGetProductSetOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.redditAdsGetProductSet = redditAdsGetProductSet;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-product-set.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-set.cjs","names":["z","action"],"sources":["../../src/actions/get-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductSetInput: z.ZodTypeAny = z.object({\n product_set_id: z.string().describe(\"The ID of the product set.\"),\n}).describe(\"Request model for retrieving a specific product set by ID.\");\nconst RedditAdsGetProductSet_ProductSetSummarySchema: z.ZodTypeAny = z.object({\n issues: z.object({}).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).describe(\"Summary statistics for the product set.\");\nconst RedditAdsGetProductSet_ProductSetDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\").nullable().optional(),\n summary: RedditAdsGetProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product set data object.\");\nexport const RedditAdsGetProductSetOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductSet_ProductSetDataSchema.nullable(),\n}).describe(\"Response model for retrieving a product set.\");\n\nexport const redditAdsGetProductSet = action(\"REDDIT_ADS_GET_PRODUCT_SET\", {\n slug: \"reddit_ads-get-product-set\",\n name: \"Get Product Set\",\n description: \"Tool to retrieve metadata for a specific product set by ID from the Reddit Ads API. Use when you need to fetch details about a particular product set including its name, filter rules, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsGetProductSetInput,\n output: RedditAdsGetProductSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EAClE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7M,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-set.d.ts
|
|
4
|
+
declare const RedditAdsGetProductSetInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductSetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductSet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductSet };
|
|
9
|
+
//# sourceMappingURL=get-product-set.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-set.d.cts","names":[],"sources":["../../src/actions/get-product-set.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6B;AAAA,cAgB5D,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-product-set.d.ts
|
|
4
|
+
declare const RedditAdsGetProductSetInput: z.ZodTypeAny;
|
|
5
|
+
declare const RedditAdsGetProductSetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const redditAdsGetProductSet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { redditAdsGetProductSet };
|
|
9
|
+
//# sourceMappingURL=get-product-set.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-set.d.mts","names":[],"sources":["../../src/actions/get-product-set.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6B;AAAA,cAgB5D,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-product-set.ts
|
|
4
|
+
const RedditAdsGetProductSetInput = z.object({ product_set_id: z.string().describe("The ID of the product set.") }).describe("Request model for retrieving a specific product set by ID.");
|
|
5
|
+
const RedditAdsGetProductSet_ProductSetSummarySchema = z.object({
|
|
6
|
+
issues: z.object({}).describe("Issues related to the product set.").nullable().optional(),
|
|
7
|
+
products_count: z.number().int().describe("Total number of products in the product set.").nullable().optional(),
|
|
8
|
+
approved_products_count: z.number().int().describe("Number of approved products in the product set.").nullable().optional(),
|
|
9
|
+
rejected_products_count: z.number().int().describe("Number of rejected products in the product set.").nullable().optional()
|
|
10
|
+
}).describe("Summary statistics for the product set.");
|
|
11
|
+
const RedditAdsGetProductSet_ProductSetDataSchema = z.object({
|
|
12
|
+
id: z.string().describe("The ID of the product set.").nullable().optional(),
|
|
13
|
+
name: z.string().describe("The name of the product set.").nullable().optional(),
|
|
14
|
+
filter: z.string().describe("The filter rule that defines the set of products in the catalog. Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.").nullable().optional(),
|
|
15
|
+
summary: RedditAdsGetProductSet_ProductSetSummarySchema.nullable().optional(),
|
|
16
|
+
catalog_id: z.string().describe("The ID of the product catalog that this product set belongs to.").nullable().optional(),
|
|
17
|
+
created_at: z.string().describe("The time that this entity was created represented in ISO 8601.").nullable().optional(),
|
|
18
|
+
modified_at: z.string().describe("The last time that this entity was modified represented in ISO 8601.").nullable().optional()
|
|
19
|
+
}).describe("Product set data object.");
|
|
20
|
+
const redditAdsGetProductSet = action("REDDIT_ADS_GET_PRODUCT_SET", {
|
|
21
|
+
slug: "reddit_ads-get-product-set",
|
|
22
|
+
name: "Get Product Set",
|
|
23
|
+
description: "Tool to retrieve metadata for a specific product set by ID from the Reddit Ads API. Use when you need to fetch details about a particular product set including its name, filter rules, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).",
|
|
24
|
+
input: RedditAdsGetProductSetInput,
|
|
25
|
+
output: z.object({ data: RedditAdsGetProductSet_ProductSetDataSchema.nullable() }).describe("Response model for retrieving a product set.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { redditAdsGetProductSet };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-product-set.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-product-set.mjs","names":[],"sources":["../../src/actions/get-product-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditAdsGetProductSetInput: z.ZodTypeAny = z.object({\n product_set_id: z.string().describe(\"The ID of the product set.\"),\n}).describe(\"Request model for retrieving a specific product set by ID.\");\nconst RedditAdsGetProductSet_ProductSetSummarySchema: z.ZodTypeAny = z.object({\n issues: z.object({}).describe(\"Issues related to the product set.\").nullable().optional(),\n products_count: z.number().int().describe(\"Total number of products in the product set.\").nullable().optional(),\n approved_products_count: z.number().int().describe(\"Number of approved products in the product set.\").nullable().optional(),\n rejected_products_count: z.number().int().describe(\"Number of rejected products in the product set.\").nullable().optional(),\n}).describe(\"Summary statistics for the product set.\");\nconst RedditAdsGetProductSet_ProductSetDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the product set.\").nullable().optional(),\n name: z.string().describe(\"The name of the product set.\").nullable().optional(),\n filter: z.string().describe(\"The filter rule that defines the set of products in the catalog. Learn about filter rules at https://ads-api.reddit.com/docs/v3/#manage-product-catalogs.\").nullable().optional(),\n summary: RedditAdsGetProductSet_ProductSetSummarySchema.nullable().optional(),\n catalog_id: z.string().describe(\"The ID of the product catalog that this product set belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The time that this entity was created represented in ISO 8601.\").nullable().optional(),\n modified_at: z.string().describe(\"The last time that this entity was modified represented in ISO 8601.\").nullable().optional(),\n}).describe(\"Product set data object.\");\nexport const RedditAdsGetProductSetOutput: z.ZodTypeAny = z.object({\n data: RedditAdsGetProductSet_ProductSetDataSchema.nullable(),\n}).describe(\"Response model for retrieving a product set.\");\n\nexport const redditAdsGetProductSet = action(\"REDDIT_ADS_GET_PRODUCT_SET\", {\n slug: \"reddit_ads-get-product-set\",\n name: \"Get Product Set\",\n description: \"Tool to retrieve metadata for a specific product set by ID from the Reddit Ads API. Use when you need to fetch details about a particular product set including its name, filter rules, and product statistics. Rate limit: 7000 requests/300s (burst: 3000 requests/60s).\",\n input: RedditAdsGetProductSetInput,\n output: RedditAdsGetProductSetOutput,\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