@keystrokehq/polymarket_us 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/cancel-all-open-orders.cjs +16 -0
- package/dist/actions/cancel-all-open-orders.cjs.map +1 -0
- package/dist/actions/cancel-all-open-orders.d.cts +9 -0
- package/dist/actions/cancel-all-open-orders.d.cts.map +1 -0
- package/dist/actions/cancel-all-open-orders.d.mts +9 -0
- package/dist/actions/cancel-all-open-orders.d.mts.map +1 -0
- package/dist/actions/cancel-all-open-orders.mjs +13 -0
- package/dist/actions/cancel-all-open-orders.mjs.map +1 -0
- package/dist/actions/cancel-multiple-orders.cjs +19 -0
- package/dist/actions/cancel-multiple-orders.cjs.map +1 -0
- package/dist/actions/cancel-multiple-orders.d.cts +9 -0
- package/dist/actions/cancel-multiple-orders.d.cts.map +1 -0
- package/dist/actions/cancel-multiple-orders.d.mts +9 -0
- package/dist/actions/cancel-multiple-orders.d.mts.map +1 -0
- package/dist/actions/cancel-multiple-orders.mjs +16 -0
- package/dist/actions/cancel-multiple-orders.mjs.map +1 -0
- package/dist/actions/cancel-order.cjs +19 -0
- package/dist/actions/cancel-order.cjs.map +1 -0
- package/dist/actions/cancel-order.d.cts +9 -0
- package/dist/actions/cancel-order.d.cts.map +1 -0
- package/dist/actions/cancel-order.d.mts +9 -0
- package/dist/actions/cancel-order.d.mts.map +1 -0
- package/dist/actions/cancel-order.mjs +16 -0
- package/dist/actions/cancel-order.mjs.map +1 -0
- package/dist/actions/close-position-order.cjs +29 -0
- package/dist/actions/close-position-order.cjs.map +1 -0
- package/dist/actions/close-position-order.d.cts +9 -0
- package/dist/actions/close-position-order.d.cts.map +1 -0
- package/dist/actions/close-position-order.d.mts +9 -0
- package/dist/actions/close-position-order.d.mts.map +1 -0
- package/dist/actions/close-position-order.mjs +26 -0
- package/dist/actions/close-position-order.mjs.map +1 -0
- package/dist/actions/create-multiple-orders.cjs +56 -0
- package/dist/actions/create-multiple-orders.cjs.map +1 -0
- package/dist/actions/create-multiple-orders.d.cts +9 -0
- package/dist/actions/create-multiple-orders.d.cts.map +1 -0
- package/dist/actions/create-multiple-orders.d.mts +9 -0
- package/dist/actions/create-multiple-orders.d.mts.map +1 -0
- package/dist/actions/create-multiple-orders.mjs +53 -0
- package/dist/actions/create-multiple-orders.mjs.map +1 -0
- package/dist/actions/create-order.cjs +56 -0
- package/dist/actions/create-order.cjs.map +1 -0
- package/dist/actions/create-order.d.cts +9 -0
- package/dist/actions/create-order.d.cts.map +1 -0
- package/dist/actions/create-order.d.mts +9 -0
- package/dist/actions/create-order.d.mts.map +1 -0
- package/dist/actions/create-order.mjs +53 -0
- package/dist/actions/create-order.mjs.map +1 -0
- package/dist/actions/get-account-balances.cjs +40 -0
- package/dist/actions/get-account-balances.cjs.map +1 -0
- package/dist/actions/get-account-balances.d.cts +9 -0
- package/dist/actions/get-account-balances.d.cts.map +1 -0
- package/dist/actions/get-account-balances.d.mts +9 -0
- package/dist/actions/get-account-balances.d.mts.map +1 -0
- package/dist/actions/get-account-balances.mjs +39 -0
- package/dist/actions/get-account-balances.mjs.map +1 -0
- package/dist/actions/get-activities.cjs +34 -0
- package/dist/actions/get-activities.cjs.map +1 -0
- package/dist/actions/get-activities.d.cts +9 -0
- package/dist/actions/get-activities.d.cts.map +1 -0
- package/dist/actions/get-activities.d.mts +9 -0
- package/dist/actions/get-activities.d.mts.map +1 -0
- package/dist/actions/get-activities.mjs +31 -0
- package/dist/actions/get-activities.mjs.map +1 -0
- package/dist/actions/get-event-by-id.cjs +16 -0
- package/dist/actions/get-event-by-id.cjs.map +1 -0
- package/dist/actions/get-event-by-id.d.cts +9 -0
- package/dist/actions/get-event-by-id.d.cts.map +1 -0
- package/dist/actions/get-event-by-id.d.mts +9 -0
- package/dist/actions/get-event-by-id.d.mts.map +1 -0
- package/dist/actions/get-event-by-id.mjs +13 -0
- package/dist/actions/get-event-by-id.mjs.map +1 -0
- package/dist/actions/get-event-by-slug.cjs +16 -0
- package/dist/actions/get-event-by-slug.cjs.map +1 -0
- package/dist/actions/get-event-by-slug.d.cts +9 -0
- package/dist/actions/get-event-by-slug.d.cts.map +1 -0
- package/dist/actions/get-event-by-slug.d.mts +9 -0
- package/dist/actions/get-event-by-slug.d.mts.map +1 -0
- package/dist/actions/get-event-by-slug.mjs +13 -0
- package/dist/actions/get-event-by-slug.mjs.map +1 -0
- package/dist/actions/get-league-by-slug.cjs +16 -0
- package/dist/actions/get-league-by-slug.cjs.map +1 -0
- package/dist/actions/get-league-by-slug.d.cts +9 -0
- package/dist/actions/get-league-by-slug.d.cts.map +1 -0
- package/dist/actions/get-league-by-slug.d.mts +9 -0
- package/dist/actions/get-league-by-slug.d.mts.map +1 -0
- package/dist/actions/get-league-by-slug.mjs +13 -0
- package/dist/actions/get-league-by-slug.mjs.map +1 -0
- package/dist/actions/get-market-bbo.cjs +16 -0
- package/dist/actions/get-market-bbo.cjs.map +1 -0
- package/dist/actions/get-market-bbo.d.cts +9 -0
- package/dist/actions/get-market-bbo.d.cts.map +1 -0
- package/dist/actions/get-market-bbo.d.mts +9 -0
- package/dist/actions/get-market-bbo.d.mts.map +1 -0
- package/dist/actions/get-market-bbo.mjs +13 -0
- package/dist/actions/get-market-bbo.mjs.map +1 -0
- package/dist/actions/get-market-book.cjs +16 -0
- package/dist/actions/get-market-book.cjs.map +1 -0
- package/dist/actions/get-market-book.d.cts +9 -0
- package/dist/actions/get-market-book.d.cts.map +1 -0
- package/dist/actions/get-market-book.d.mts +9 -0
- package/dist/actions/get-market-book.d.mts.map +1 -0
- package/dist/actions/get-market-book.mjs +13 -0
- package/dist/actions/get-market-book.mjs.map +1 -0
- package/dist/actions/get-market-by-id.cjs +16 -0
- package/dist/actions/get-market-by-id.cjs.map +1 -0
- package/dist/actions/get-market-by-id.d.cts +9 -0
- package/dist/actions/get-market-by-id.d.cts.map +1 -0
- package/dist/actions/get-market-by-id.d.mts +9 -0
- package/dist/actions/get-market-by-id.d.mts.map +1 -0
- package/dist/actions/get-market-by-id.mjs +13 -0
- package/dist/actions/get-market-by-id.mjs.map +1 -0
- package/dist/actions/get-market-by-slug.cjs +16 -0
- package/dist/actions/get-market-by-slug.cjs.map +1 -0
- package/dist/actions/get-market-by-slug.d.cts +9 -0
- package/dist/actions/get-market-by-slug.d.cts.map +1 -0
- package/dist/actions/get-market-by-slug.d.mts +9 -0
- package/dist/actions/get-market-by-slug.d.mts.map +1 -0
- package/dist/actions/get-market-by-slug.mjs +13 -0
- package/dist/actions/get-market-by-slug.mjs.map +1 -0
- package/dist/actions/get-market-settlement.cjs +19 -0
- package/dist/actions/get-market-settlement.cjs.map +1 -0
- package/dist/actions/get-market-settlement.d.cts +9 -0
- package/dist/actions/get-market-settlement.d.cts.map +1 -0
- package/dist/actions/get-market-settlement.d.mts +9 -0
- package/dist/actions/get-market-settlement.d.mts.map +1 -0
- package/dist/actions/get-market-settlement.mjs +16 -0
- package/dist/actions/get-market-settlement.mjs.map +1 -0
- package/dist/actions/get-markets-for-subject-by-slug.cjs +16 -0
- package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -0
- package/dist/actions/get-markets-for-subject-by-slug.d.cts +9 -0
- package/dist/actions/get-markets-for-subject-by-slug.d.cts.map +1 -0
- package/dist/actions/get-markets-for-subject-by-slug.d.mts +9 -0
- package/dist/actions/get-markets-for-subject-by-slug.d.mts.map +1 -0
- package/dist/actions/get-markets-for-subject-by-slug.mjs +13 -0
- package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -0
- package/dist/actions/get-markets-for-subject.cjs +16 -0
- package/dist/actions/get-markets-for-subject.cjs.map +1 -0
- package/dist/actions/get-markets-for-subject.d.cts +9 -0
- package/dist/actions/get-markets-for-subject.d.cts.map +1 -0
- package/dist/actions/get-markets-for-subject.d.mts +9 -0
- package/dist/actions/get-markets-for-subject.d.mts.map +1 -0
- package/dist/actions/get-markets-for-subject.mjs +13 -0
- package/dist/actions/get-markets-for-subject.mjs.map +1 -0
- package/dist/actions/get-open-orders.cjs +16 -0
- package/dist/actions/get-open-orders.cjs.map +1 -0
- package/dist/actions/get-open-orders.d.cts +9 -0
- package/dist/actions/get-open-orders.d.cts.map +1 -0
- package/dist/actions/get-open-orders.d.mts +9 -0
- package/dist/actions/get-open-orders.d.mts.map +1 -0
- package/dist/actions/get-open-orders.mjs +13 -0
- package/dist/actions/get-open-orders.mjs.map +1 -0
- package/dist/actions/get-order.cjs +16 -0
- package/dist/actions/get-order.cjs.map +1 -0
- package/dist/actions/get-order.d.cts +9 -0
- package/dist/actions/get-order.d.cts.map +1 -0
- package/dist/actions/get-order.d.mts +9 -0
- package/dist/actions/get-order.d.mts.map +1 -0
- package/dist/actions/get-order.mjs +13 -0
- package/dist/actions/get-order.mjs.map +1 -0
- package/dist/actions/get-series-by-id.cjs +16 -0
- package/dist/actions/get-series-by-id.cjs.map +1 -0
- package/dist/actions/get-series-by-id.d.cts +9 -0
- package/dist/actions/get-series-by-id.d.cts.map +1 -0
- package/dist/actions/get-series-by-id.d.mts +9 -0
- package/dist/actions/get-series-by-id.d.mts.map +1 -0
- package/dist/actions/get-series-by-id.mjs +13 -0
- package/dist/actions/get-series-by-id.mjs.map +1 -0
- package/dist/actions/get-sport-by-slug.cjs +16 -0
- package/dist/actions/get-sport-by-slug.cjs.map +1 -0
- package/dist/actions/get-sport-by-slug.d.cts +9 -0
- package/dist/actions/get-sport-by-slug.d.cts.map +1 -0
- package/dist/actions/get-sport-by-slug.d.mts +9 -0
- package/dist/actions/get-sport-by-slug.d.mts.map +1 -0
- package/dist/actions/get-sport-by-slug.mjs +13 -0
- package/dist/actions/get-sport-by-slug.mjs.map +1 -0
- package/dist/actions/get-subject-by-id.cjs +16 -0
- package/dist/actions/get-subject-by-id.cjs.map +1 -0
- package/dist/actions/get-subject-by-id.d.cts +9 -0
- package/dist/actions/get-subject-by-id.d.cts.map +1 -0
- package/dist/actions/get-subject-by-id.d.mts +9 -0
- package/dist/actions/get-subject-by-id.d.mts.map +1 -0
- package/dist/actions/get-subject-by-id.mjs +13 -0
- package/dist/actions/get-subject-by-id.mjs.map +1 -0
- package/dist/actions/get-subject-by-slug.cjs +16 -0
- package/dist/actions/get-subject-by-slug.cjs.map +1 -0
- package/dist/actions/get-subject-by-slug.d.cts +9 -0
- package/dist/actions/get-subject-by-slug.d.cts.map +1 -0
- package/dist/actions/get-subject-by-slug.d.mts +9 -0
- package/dist/actions/get-subject-by-slug.d.mts.map +1 -0
- package/dist/actions/get-subject-by-slug.mjs +13 -0
- package/dist/actions/get-subject-by-slug.mjs.map +1 -0
- package/dist/actions/get-tag-by-id.cjs +16 -0
- package/dist/actions/get-tag-by-id.cjs.map +1 -0
- package/dist/actions/get-tag-by-id.d.cts +9 -0
- package/dist/actions/get-tag-by-id.d.cts.map +1 -0
- package/dist/actions/get-tag-by-id.d.mts +9 -0
- package/dist/actions/get-tag-by-id.d.mts.map +1 -0
- package/dist/actions/get-tag-by-id.mjs +13 -0
- package/dist/actions/get-tag-by-id.mjs.map +1 -0
- package/dist/actions/get-tag-by-slug.cjs +16 -0
- package/dist/actions/get-tag-by-slug.cjs.map +1 -0
- package/dist/actions/get-tag-by-slug.d.cts +9 -0
- package/dist/actions/get-tag-by-slug.d.cts.map +1 -0
- package/dist/actions/get-tag-by-slug.d.mts +9 -0
- package/dist/actions/get-tag-by-slug.d.mts.map +1 -0
- package/dist/actions/get-tag-by-slug.mjs +13 -0
- package/dist/actions/get-tag-by-slug.mjs.map +1 -0
- package/dist/actions/get-user-positions.cjs +25 -0
- package/dist/actions/get-user-positions.cjs.map +1 -0
- package/dist/actions/get-user-positions.d.cts +9 -0
- package/dist/actions/get-user-positions.d.cts.map +1 -0
- package/dist/actions/get-user-positions.d.mts +9 -0
- package/dist/actions/get-user-positions.d.mts.map +1 -0
- package/dist/actions/get-user-positions.mjs +22 -0
- package/dist/actions/get-user-positions.mjs.map +1 -0
- package/dist/actions/index.cjs +89 -0
- package/dist/actions/index.d.cts +45 -0
- package/dist/actions/index.d.mts +45 -0
- package/dist/actions/index.mjs +45 -0
- package/dist/actions/list-events-for-league.cjs +23 -0
- package/dist/actions/list-events-for-league.cjs.map +1 -0
- package/dist/actions/list-events-for-league.d.cts +9 -0
- package/dist/actions/list-events-for-league.d.cts.map +1 -0
- package/dist/actions/list-events-for-league.d.mts +9 -0
- package/dist/actions/list-events-for-league.d.mts.map +1 -0
- package/dist/actions/list-events-for-league.mjs +20 -0
- package/dist/actions/list-events-for-league.mjs.map +1 -0
- package/dist/actions/list-events-for-series.cjs +23 -0
- package/dist/actions/list-events-for-series.cjs.map +1 -0
- package/dist/actions/list-events-for-series.d.cts +9 -0
- package/dist/actions/list-events-for-series.d.cts.map +1 -0
- package/dist/actions/list-events-for-series.d.mts +9 -0
- package/dist/actions/list-events-for-series.d.mts.map +1 -0
- package/dist/actions/list-events-for-series.mjs +20 -0
- package/dist/actions/list-events-for-series.mjs.map +1 -0
- package/dist/actions/list-events-for-sport.cjs +23 -0
- package/dist/actions/list-events-for-sport.cjs.map +1 -0
- package/dist/actions/list-events-for-sport.d.cts +9 -0
- package/dist/actions/list-events-for-sport.d.cts.map +1 -0
- package/dist/actions/list-events-for-sport.d.mts +9 -0
- package/dist/actions/list-events-for-sport.d.mts.map +1 -0
- package/dist/actions/list-events-for-sport.mjs +20 -0
- package/dist/actions/list-events-for-sport.mjs.map +1 -0
- package/dist/actions/list-events.cjs +32 -0
- package/dist/actions/list-events.cjs.map +1 -0
- package/dist/actions/list-events.d.cts +9 -0
- package/dist/actions/list-events.d.cts.map +1 -0
- package/dist/actions/list-events.d.mts +9 -0
- package/dist/actions/list-events.d.mts.map +1 -0
- package/dist/actions/list-events.mjs +29 -0
- package/dist/actions/list-events.mjs.map +1 -0
- package/dist/actions/list-featured-tags.cjs +16 -0
- package/dist/actions/list-featured-tags.cjs.map +1 -0
- package/dist/actions/list-featured-tags.d.cts +9 -0
- package/dist/actions/list-featured-tags.d.cts.map +1 -0
- package/dist/actions/list-featured-tags.d.mts +9 -0
- package/dist/actions/list-featured-tags.d.mts.map +1 -0
- package/dist/actions/list-featured-tags.mjs +13 -0
- package/dist/actions/list-featured-tags.mjs.map +1 -0
- package/dist/actions/list-leagues.cjs +19 -0
- package/dist/actions/list-leagues.cjs.map +1 -0
- package/dist/actions/list-leagues.d.cts +9 -0
- package/dist/actions/list-leagues.d.cts.map +1 -0
- package/dist/actions/list-leagues.d.mts +9 -0
- package/dist/actions/list-leagues.d.mts.map +1 -0
- package/dist/actions/list-leagues.mjs +16 -0
- package/dist/actions/list-leagues.mjs.map +1 -0
- package/dist/actions/list-markets.cjs +38 -0
- package/dist/actions/list-markets.cjs.map +1 -0
- package/dist/actions/list-markets.d.cts +9 -0
- package/dist/actions/list-markets.d.cts.map +1 -0
- package/dist/actions/list-markets.d.mts +9 -0
- package/dist/actions/list-markets.d.mts.map +1 -0
- package/dist/actions/list-markets.mjs +35 -0
- package/dist/actions/list-markets.mjs.map +1 -0
- package/dist/actions/list-series.cjs +24 -0
- package/dist/actions/list-series.cjs.map +1 -0
- package/dist/actions/list-series.d.cts +9 -0
- package/dist/actions/list-series.d.cts.map +1 -0
- package/dist/actions/list-series.d.mts +9 -0
- package/dist/actions/list-series.d.mts.map +1 -0
- package/dist/actions/list-series.mjs +21 -0
- package/dist/actions/list-series.mjs.map +1 -0
- package/dist/actions/list-sports-teams-for-provider.cjs +20 -0
- package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -0
- package/dist/actions/list-sports-teams-for-provider.d.cts +9 -0
- package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -0
- package/dist/actions/list-sports-teams-for-provider.d.mts +9 -0
- package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -0
- package/dist/actions/list-sports-teams-for-provider.mjs +17 -0
- package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -0
- package/dist/actions/list-sports-teams.cjs +25 -0
- package/dist/actions/list-sports-teams.cjs.map +1 -0
- package/dist/actions/list-sports-teams.d.cts +9 -0
- package/dist/actions/list-sports-teams.d.cts.map +1 -0
- package/dist/actions/list-sports-teams.d.mts +9 -0
- package/dist/actions/list-sports-teams.d.mts.map +1 -0
- package/dist/actions/list-sports-teams.mjs +22 -0
- package/dist/actions/list-sports-teams.mjs.map +1 -0
- package/dist/actions/list-sports.cjs +16 -0
- package/dist/actions/list-sports.cjs.map +1 -0
- package/dist/actions/list-sports.d.cts +9 -0
- package/dist/actions/list-sports.d.cts.map +1 -0
- package/dist/actions/list-sports.d.mts +9 -0
- package/dist/actions/list-sports.d.mts.map +1 -0
- package/dist/actions/list-sports.mjs +13 -0
- package/dist/actions/list-sports.mjs.map +1 -0
- package/dist/actions/list-subjects.cjs +21 -0
- package/dist/actions/list-subjects.cjs.map +1 -0
- package/dist/actions/list-subjects.d.cts +9 -0
- package/dist/actions/list-subjects.d.cts.map +1 -0
- package/dist/actions/list-subjects.d.mts +9 -0
- package/dist/actions/list-subjects.d.mts.map +1 -0
- package/dist/actions/list-subjects.mjs +18 -0
- package/dist/actions/list-subjects.mjs.map +1 -0
- package/dist/actions/list-tags.cjs +25 -0
- package/dist/actions/list-tags.cjs.map +1 -0
- package/dist/actions/list-tags.d.cts +9 -0
- package/dist/actions/list-tags.d.cts.map +1 -0
- package/dist/actions/list-tags.d.mts +9 -0
- package/dist/actions/list-tags.d.mts.map +1 -0
- package/dist/actions/list-tags.mjs +22 -0
- package/dist/actions/list-tags.mjs.map +1 -0
- package/dist/actions/modify-multiple-orders.cjs +33 -0
- package/dist/actions/modify-multiple-orders.cjs.map +1 -0
- package/dist/actions/modify-multiple-orders.d.cts +9 -0
- package/dist/actions/modify-multiple-orders.d.cts.map +1 -0
- package/dist/actions/modify-multiple-orders.d.mts +9 -0
- package/dist/actions/modify-multiple-orders.d.mts.map +1 -0
- package/dist/actions/modify-multiple-orders.mjs +30 -0
- package/dist/actions/modify-multiple-orders.mjs.map +1 -0
- package/dist/actions/modify-order.cjs +33 -0
- package/dist/actions/modify-order.cjs.map +1 -0
- package/dist/actions/modify-order.d.cts +9 -0
- package/dist/actions/modify-order.d.cts.map +1 -0
- package/dist/actions/modify-order.d.mts +9 -0
- package/dist/actions/modify-order.d.mts.map +1 -0
- package/dist/actions/modify-order.mjs +30 -0
- package/dist/actions/modify-order.mjs.map +1 -0
- package/dist/actions/preview-order.cjs +56 -0
- package/dist/actions/preview-order.cjs.map +1 -0
- package/dist/actions/preview-order.d.cts +9 -0
- package/dist/actions/preview-order.d.cts.map +1 -0
- package/dist/actions/preview-order.d.mts +9 -0
- package/dist/actions/preview-order.d.mts.map +1 -0
- package/dist/actions/preview-order.mjs +53 -0
- package/dist/actions/preview-order.mjs.map +1 -0
- package/dist/actions/search-markets-and-events.cjs +23 -0
- package/dist/actions/search-markets-and-events.cjs.map +1 -0
- package/dist/actions/search-markets-and-events.d.cts +9 -0
- package/dist/actions/search-markets-and-events.d.cts.map +1 -0
- package/dist/actions/search-markets-and-events.d.mts +9 -0
- package/dist/actions/search-markets-and-events.d.mts.map +1 -0
- package/dist/actions/search-markets-and-events.mjs +20 -0
- package/dist/actions/search-markets-and-events.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 +94 -0
- package/dist/index.d.cts +47 -0
- package/dist/index.d.mts +47 -0
- package/dist/index.mjs +48 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-event-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetEventBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetEventBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetEventBySlug };
|
|
9
|
+
//# sourceMappingURL=get-event-by-slug.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.d.mts","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetEventBySlug = action("POLYMARKET_US_GET_EVENT_BY_SLUG", {
|
|
4
|
+
slug: "polymarket_us-get-event-by-slug",
|
|
5
|
+
name: "Get Event By Slug",
|
|
6
|
+
description: "Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.") }),
|
|
8
|
+
output: z.object({ event: z.record(z.string(), z.unknown()).describe("Event details.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetEventBySlug };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-event-by-slug.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.mjs","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketUsGetEventBySlugOutput: z.ZodTypeAny = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2D,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CASS;CACP,QAT4D,EAAE,OAAO,EACrE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-league-by-slug.ts
|
|
4
|
+
const PolymarketUsGetLeagueBySlugInput = zod.z.object({ slug: zod.z.string().describe("Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.") });
|
|
5
|
+
const PolymarketUsGetLeagueBySlugOutput = zod.z.object({ league: zod.z.record(zod.z.string(), zod.z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") });
|
|
6
|
+
const polymarketUsGetLeagueBySlug = require_action.action("POLYMARKET_US_GET_LEAGUE_BY_SLUG", {
|
|
7
|
+
slug: "polymarket_us-get-league-by-slug",
|
|
8
|
+
name: "Get League By Slug",
|
|
9
|
+
description: "Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \"nba\" or \"nfl\". This action does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetLeagueBySlugInput,
|
|
11
|
+
output: PolymarketUsGetLeagueBySlugOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetLeagueBySlug = polymarketUsGetLeagueBySlug;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-league-by-slug.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetLeagueBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput: z.ZodTypeAny = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n});\n\nexport const polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,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-league-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetLeagueBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetLeagueBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetLeagueBySlug };
|
|
9
|
+
//# sourceMappingURL=get-league-by-slug.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.d.cts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cACW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-league-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetLeagueBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetLeagueBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetLeagueBySlug };
|
|
9
|
+
//# sourceMappingURL=get-league-by-slug.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.d.mts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cACW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetLeagueBySlug = action("POLYMARKET_US_GET_LEAGUE_BY_SLUG", {
|
|
4
|
+
slug: "polymarket_us-get-league-by-slug",
|
|
5
|
+
name: "Get League By Slug",
|
|
6
|
+
description: "Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \"nba\" or \"nfl\". This action does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.") }),
|
|
8
|
+
output: z.object({ league: z.record(z.string(), z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetLeagueBySlug };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-league-by-slug.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.mjs","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetLeagueBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput: z.ZodTypeAny = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n});\n\nexport const polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4D,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CASS;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-market-bbo.ts
|
|
4
|
+
const PolymarketUsGetMarketBboInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
|
|
5
|
+
const PolymarketUsGetMarketBboOutput = zod.z.object({ bbo: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Best bid and offer for the market.") });
|
|
6
|
+
const polymarketUsGetMarketBbo = require_action.action("POLYMARKET_US_GET_MARKET_BBO", {
|
|
7
|
+
slug: "polymarket_us-get-market-bbo",
|
|
8
|
+
name: "Get Market BBO",
|
|
9
|
+
description: "Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetMarketBboInput,
|
|
11
|
+
output: PolymarketUsGetMarketBboOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetMarketBbo = polymarketUsGetMarketBbo;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-market-bbo.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-bbo.cjs","names":["z","action"],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBboInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput: z.ZodTypeAny = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,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-market-bbo.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBboInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBboOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBbo };
|
|
9
|
+
//# sourceMappingURL=get-market-bbo.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-bbo.d.cts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-market-bbo.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBboInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBboOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBbo };
|
|
9
|
+
//# sourceMappingURL=get-market-bbo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-bbo.d.mts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketBbo = action("POLYMARKET_US_GET_MARKET_BBO", {
|
|
4
|
+
slug: "polymarket_us-get-market-bbo",
|
|
5
|
+
name: "Get Market BBO",
|
|
6
|
+
description: "Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
|
|
8
|
+
output: z.object({ bbo: z.record(z.string(), z.unknown()).describe("Best bid and offer for the market.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetMarketBbo };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-market-bbo.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-bbo.mjs","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBboInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput: z.ZodTypeAny = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyD,EAAE,OAAO,EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT0D,EAAE,OAAO,EACnE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-market-book.ts
|
|
4
|
+
const PolymarketUsGetMarketBookInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
|
|
5
|
+
const PolymarketUsGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") });
|
|
6
|
+
const polymarketUsGetMarketBook = require_action.action("POLYMARKET_US_GET_MARKET_BOOK", {
|
|
7
|
+
slug: "polymarket_us-get-market-book",
|
|
8
|
+
name: "Get Market Book",
|
|
9
|
+
description: "Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetMarketBookInput,
|
|
11
|
+
output: PolymarketUsGetMarketBookOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetMarketBook = polymarketUsGetMarketBook;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-market-book.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-book.cjs","names":["z","action"],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBookInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBookOutput: z.ZodTypeAny = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,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-market-book.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBook };
|
|
9
|
+
//# sourceMappingURL=get-market-book.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-book.d.cts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-market-book.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBook };
|
|
9
|
+
//# sourceMappingURL=get-market-book.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-book.d.mts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketBook = action("POLYMARKET_US_GET_MARKET_BOOK", {
|
|
4
|
+
slug: "polymarket_us-get-market-book",
|
|
5
|
+
name: "Get Market Book",
|
|
6
|
+
description: "Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
|
|
8
|
+
output: z.object({ book: z.record(z.string(), z.unknown()).describe("Order book for the market.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetMarketBook };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-market-book.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-book.mjs","names":[],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBookInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBookOutput: z.ZodTypeAny = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0D,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT2D,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-market-by-id.ts
|
|
4
|
+
const PolymarketUsGetMarketByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") });
|
|
5
|
+
const PolymarketUsGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
|
|
6
|
+
const polymarketUsGetMarketById = require_action.action("POLYMARKET_US_GET_MARKET_BY_ID", {
|
|
7
|
+
slug: "polymarket_us-get-market-by-id",
|
|
8
|
+
name: "Get Market By ID",
|
|
9
|
+
description: "Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetMarketByIdInput,
|
|
11
|
+
output: PolymarketUsGetMarketByIdOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetMarketById = polymarketUsGetMarketById;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-market-by-id.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketByIdInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.\"),\n});\nexport const PolymarketUsGetMarketByIdOutput: z.ZodTypeAny = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketUsGetMarketById = action(\"POLYMARKET_US_GET_MARKET_BY_ID\", {\n slug: \"polymarket_us-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetMarketByIdInput,\n output: PolymarketUsGetMarketByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,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-market-by-id.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketById };
|
|
9
|
+
//# sourceMappingURL=get-market-by-id.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-id.d.cts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-market-by-id.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketByIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketByIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketById };
|
|
9
|
+
//# sourceMappingURL=get-market-by-id.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-id.d.mts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketById = action("POLYMARKET_US_GET_MARKET_BY_ID", {
|
|
4
|
+
slug: "polymarket_us-get-market-by-id",
|
|
5
|
+
name: "Get Market By ID",
|
|
6
|
+
description: "Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") }),
|
|
8
|
+
output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetMarketById };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-market-by-id.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-id.mjs","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketByIdInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.\"),\n});\nexport const PolymarketUsGetMarketByIdOutput: z.ZodTypeAny = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketUsGetMarketById = action(\"POLYMARKET_US_GET_MARKET_BY_ID\", {\n slug: \"polymarket_us-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetMarketByIdInput,\n output: PolymarketUsGetMarketByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CASS;CACP,QAT2D,EAAE,OAAO,EACpE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-market-by-slug.ts
|
|
4
|
+
const PolymarketUsGetMarketBySlugInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
|
|
5
|
+
const PolymarketUsGetMarketBySlugOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
|
|
6
|
+
const polymarketUsGetMarketBySlug = require_action.action("POLYMARKET_US_GET_MARKET_BY_SLUG", {
|
|
7
|
+
slug: "polymarket_us-get-market-by-slug",
|
|
8
|
+
name: "Get Market By Slug",
|
|
9
|
+
description: "Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetMarketBySlugInput,
|
|
11
|
+
output: PolymarketUsGetMarketBySlugOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetMarketBySlug = polymarketUsGetMarketBySlug;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-market-by-slug.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBySlugOutput: z.ZodTypeAny = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketUsGetMarketBySlug = action(\"POLYMARKET_US_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket_us-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetMarketBySlugInput,\n output: PolymarketUsGetMarketBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,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-market-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBySlug };
|
|
9
|
+
//# sourceMappingURL=get-market-by-slug.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.d.cts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cACW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-market-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketBySlug };
|
|
9
|
+
//# sourceMappingURL=get-market-by-slug.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.d.mts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cACW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketBySlug = action("POLYMARKET_US_GET_MARKET_BY_SLUG", {
|
|
4
|
+
slug: "polymarket_us-get-market-by-slug",
|
|
5
|
+
name: "Get Market By Slug",
|
|
6
|
+
description: "Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
|
|
8
|
+
output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetMarketBySlug };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-market-by-slug.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.mjs","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBySlugOutput: z.ZodTypeAny = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketUsGetMarketBySlug = action(\"POLYMARKET_US_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket_us-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetMarketBySlugInput,\n output: PolymarketUsGetMarketBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4D,EAAE,OAAO,EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-market-settlement.ts
|
|
4
|
+
const PolymarketUsGetMarketSettlementInput = zod.z.object({
|
|
5
|
+
slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID."),
|
|
6
|
+
fromEp3: zod.z.boolean().describe("Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.").optional()
|
|
7
|
+
});
|
|
8
|
+
const PolymarketUsGetMarketSettlementOutput = zod.z.object({ settlement: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market settlement details.") });
|
|
9
|
+
const polymarketUsGetMarketSettlement = require_action.action("POLYMARKET_US_GET_MARKET_SETTLEMENT", {
|
|
10
|
+
slug: "polymarket_us-get-market-settlement",
|
|
11
|
+
name: "Get Market Settlement",
|
|
12
|
+
description: "Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
13
|
+
input: PolymarketUsGetMarketSettlementInput,
|
|
14
|
+
output: PolymarketUsGetMarketSettlementOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.polymarketUsGetMarketSettlement = polymarketUsGetMarketSettlement;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-market-settlement.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-settlement.cjs","names":["z","action"],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketSettlementInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketUsGetMarketSettlementOutput: z.ZodTypeAny = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketUsGetMarketSettlement = action(\"POLYMARKET_US_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket_us-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketSettlementInput,\n output: PolymarketUsGetMarketSettlementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACjI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,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-market-settlement.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketSettlementInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketSettlementOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketSettlement };
|
|
9
|
+
//# sourceMappingURL=get-market-settlement.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-settlement.d.cts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-market-settlement.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketSettlementInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketSettlementOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketSettlement };
|
|
9
|
+
//# sourceMappingURL=get-market-settlement.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-settlement.d.mts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketSettlement = action("POLYMARKET_US_GET_MARKET_SETTLEMENT", {
|
|
4
|
+
slug: "polymarket_us-get-market-settlement",
|
|
5
|
+
name: "Get Market Settlement",
|
|
6
|
+
description: "Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID."),
|
|
9
|
+
fromEp3: z.boolean().describe("Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.").optional()
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({ settlement: z.record(z.string(), z.unknown()).describe("Market settlement details.") })
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { polymarketUsGetMarketSettlement };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-market-settlement.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-market-settlement.mjs","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketSettlementInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketUsGetMarketSettlementOutput: z.ZodTypeAny = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketUsGetMarketSettlement = action(\"POLYMARKET_US_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket_us-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketSettlementInput,\n output: PolymarketUsGetMarketSettlementOutput,\n});\n"],"mappings":";;AAYA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgE,EAAE,OAAO;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,CASS;CACP,QATiE,EAAE,OAAO,EAC1E,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-markets-for-subject-by-slug.ts
|
|
4
|
+
const PolymarketUsGetMarketsForSubjectBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.") });
|
|
5
|
+
const PolymarketUsGetMarketsForSubjectBySlugOutput = zod.z.object({ markets: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.") });
|
|
6
|
+
const polymarketUsGetMarketsForSubjectBySlug = require_action.action("POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG", {
|
|
7
|
+
slug: "polymarket_us-get-markets-for-subject-by-slug",
|
|
8
|
+
name: "Get Markets For Subject By Slug",
|
|
9
|
+
description: "Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.",
|
|
10
|
+
input: PolymarketUsGetMarketsForSubjectBySlugInput,
|
|
11
|
+
output: PolymarketUsGetMarketsForSubjectBySlugOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.polymarketUsGetMarketsForSubjectBySlug = polymarketUsGetMarketsForSubjectBySlug;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-markets-for-subject-by-slug.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketsForSubjectBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectBySlugOutput: z.ZodTypeAny = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n});\n\nexport const polymarketUsGetMarketsForSubjectBySlug = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectBySlugInput,\n output: PolymarketUsGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,EAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CAAC;AACD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,EACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC;AAED,MAAa,yCAAyCC,eAAAA,OAAO,iDAAiD;CAC5G,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-markets-for-subject-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketsForSubjectBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketsForSubjectBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketsForSubjectBySlug };
|
|
9
|
+
//# sourceMappingURL=get-markets-for-subject-by-slug.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAE1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-markets-for-subject-by-slug.d.ts
|
|
4
|
+
declare const PolymarketUsGetMarketsForSubjectBySlugInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolymarketUsGetMarketsForSubjectBySlugOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polymarketUsGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polymarketUsGetMarketsForSubjectBySlug };
|
|
9
|
+
//# sourceMappingURL=get-markets-for-subject-by-slug.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAE1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polymarketUsGetMarketsForSubjectBySlug = action("POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG", {
|
|
4
|
+
slug: "polymarket_us-get-markets-for-subject-by-slug",
|
|
5
|
+
name: "Get Markets For Subject By Slug",
|
|
6
|
+
description: "Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.",
|
|
7
|
+
input: z.object({ slug: z.string().describe("URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.") }),
|
|
8
|
+
output: z.object({ markets: z.record(z.string(), z.unknown()).describe("Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { polymarketUsGetMarketsForSubjectBySlug };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-markets-for-subject-by-slug.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketsForSubjectBySlugInput: z.ZodTypeAny = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectBySlugOutput: z.ZodTypeAny = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n});\n\nexport const polymarketUsGetMarketsForSubjectBySlug = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectBySlugInput,\n output: PolymarketUsGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,yCAAyC,OAAO,iDAAiD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuE,EAAE,OAAO,EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CASS;CACP,QATwE,EAAE,OAAO,EACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAOU;AACV,CAAC"}
|