@keystrokehq/polymarket 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-all-open-orders.cjs +1 -1
- package/dist/actions/cancel-all-open-orders.cjs.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.cts +9 -3
- package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.mts +9 -3
- package/dist/actions/cancel-all-open-orders.d.mts.map +1 -1
- package/dist/actions/cancel-all-open-orders.mjs +1 -1
- package/dist/actions/cancel-all-open-orders.mjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.cjs +2 -2
- package/dist/actions/cancel-multiple-orders.cjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.cts +16 -3
- package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.mts +16 -3
- package/dist/actions/cancel-multiple-orders.d.mts.map +1 -1
- package/dist/actions/cancel-multiple-orders.mjs +2 -2
- package/dist/actions/cancel-multiple-orders.mjs.map +1 -1
- package/dist/actions/cancel-order.cjs +1 -1
- package/dist/actions/cancel-order.cjs.map +1 -1
- package/dist/actions/cancel-order.d.cts +11 -3
- package/dist/actions/cancel-order.d.cts.map +1 -1
- package/dist/actions/cancel-order.d.mts +11 -3
- package/dist/actions/cancel-order.d.mts.map +1 -1
- package/dist/actions/cancel-order.mjs +1 -1
- package/dist/actions/cancel-order.mjs.map +1 -1
- package/dist/actions/close-position-order.cjs +1 -1
- package/dist/actions/close-position-order.cjs.map +1 -1
- package/dist/actions/close-position-order.d.cts +34 -3
- package/dist/actions/close-position-order.d.cts.map +1 -1
- package/dist/actions/close-position-order.d.mts +34 -3
- package/dist/actions/close-position-order.d.mts.map +1 -1
- package/dist/actions/close-position-order.mjs +1 -1
- package/dist/actions/close-position-order.mjs.map +1 -1
- package/dist/actions/create-multiple-orders.cjs +2 -2
- package/dist/actions/create-multiple-orders.cjs.map +1 -1
- package/dist/actions/create-multiple-orders.d.cts +91 -3
- package/dist/actions/create-multiple-orders.d.cts.map +1 -1
- package/dist/actions/create-multiple-orders.d.mts +91 -3
- package/dist/actions/create-multiple-orders.d.mts.map +1 -1
- package/dist/actions/create-multiple-orders.mjs +2 -2
- package/dist/actions/create-multiple-orders.mjs.map +1 -1
- package/dist/actions/create-order.cjs +1 -1
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +90 -3
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +90 -3
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +1 -1
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/get-account-balances.cjs +3 -3
- package/dist/actions/get-account-balances.cjs.map +1 -1
- package/dist/actions/get-account-balances.d.cts +27 -3
- package/dist/actions/get-account-balances.d.cts.map +1 -1
- package/dist/actions/get-account-balances.d.mts +27 -3
- package/dist/actions/get-account-balances.d.mts.map +1 -1
- package/dist/actions/get-account-balances.mjs +3 -3
- package/dist/actions/get-account-balances.mjs.map +1 -1
- package/dist/actions/get-activities.cjs +1 -1
- package/dist/actions/get-activities.cjs.map +1 -1
- package/dist/actions/get-activities.d.cts +30 -3
- package/dist/actions/get-activities.d.cts.map +1 -1
- package/dist/actions/get-activities.d.mts +30 -3
- package/dist/actions/get-activities.d.mts.map +1 -1
- package/dist/actions/get-activities.mjs +1 -1
- package/dist/actions/get-activities.mjs.map +1 -1
- package/dist/actions/get-event-by-id.cjs +1 -1
- package/dist/actions/get-event-by-id.cjs.map +1 -1
- package/dist/actions/get-event-by-id.d.cts +9 -3
- package/dist/actions/get-event-by-id.d.cts.map +1 -1
- package/dist/actions/get-event-by-id.d.mts +9 -3
- package/dist/actions/get-event-by-id.d.mts.map +1 -1
- package/dist/actions/get-event-by-id.mjs +1 -1
- package/dist/actions/get-event-by-id.mjs.map +1 -1
- package/dist/actions/get-event-by-slug.cjs +1 -1
- package/dist/actions/get-event-by-slug.cjs.map +1 -1
- package/dist/actions/get-event-by-slug.d.cts +9 -3
- package/dist/actions/get-event-by-slug.d.cts.map +1 -1
- package/dist/actions/get-event-by-slug.d.mts +9 -3
- package/dist/actions/get-event-by-slug.d.mts.map +1 -1
- package/dist/actions/get-event-by-slug.mjs +1 -1
- package/dist/actions/get-event-by-slug.mjs.map +1 -1
- package/dist/actions/get-league-by-slug.cjs +1 -1
- package/dist/actions/get-league-by-slug.cjs.map +1 -1
- package/dist/actions/get-league-by-slug.d.cts +9 -3
- package/dist/actions/get-league-by-slug.d.cts.map +1 -1
- package/dist/actions/get-league-by-slug.d.mts +9 -3
- package/dist/actions/get-league-by-slug.d.mts.map +1 -1
- package/dist/actions/get-league-by-slug.mjs +1 -1
- package/dist/actions/get-league-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-bbo.cjs +1 -1
- package/dist/actions/get-market-bbo.cjs.map +1 -1
- package/dist/actions/get-market-bbo.d.cts +9 -3
- package/dist/actions/get-market-bbo.d.cts.map +1 -1
- package/dist/actions/get-market-bbo.d.mts +9 -3
- package/dist/actions/get-market-bbo.d.mts.map +1 -1
- package/dist/actions/get-market-bbo.mjs +1 -1
- package/dist/actions/get-market-bbo.mjs.map +1 -1
- package/dist/actions/get-market-book.cjs +1 -1
- package/dist/actions/get-market-book.cjs.map +1 -1
- package/dist/actions/get-market-book.d.cts +9 -3
- package/dist/actions/get-market-book.d.cts.map +1 -1
- package/dist/actions/get-market-book.d.mts +9 -3
- package/dist/actions/get-market-book.d.mts.map +1 -1
- package/dist/actions/get-market-book.mjs +1 -1
- package/dist/actions/get-market-book.mjs.map +1 -1
- package/dist/actions/get-market-by-id.cjs +1 -1
- package/dist/actions/get-market-by-id.cjs.map +1 -1
- package/dist/actions/get-market-by-id.d.cts +9 -3
- package/dist/actions/get-market-by-id.d.cts.map +1 -1
- package/dist/actions/get-market-by-id.d.mts +9 -3
- package/dist/actions/get-market-by-id.d.mts.map +1 -1
- package/dist/actions/get-market-by-id.mjs +1 -1
- package/dist/actions/get-market-by-id.mjs.map +1 -1
- package/dist/actions/get-market-by-slug.cjs +1 -1
- package/dist/actions/get-market-by-slug.cjs.map +1 -1
- package/dist/actions/get-market-by-slug.d.cts +9 -3
- package/dist/actions/get-market-by-slug.d.cts.map +1 -1
- package/dist/actions/get-market-by-slug.d.mts +9 -3
- package/dist/actions/get-market-by-slug.d.mts.map +1 -1
- package/dist/actions/get-market-by-slug.mjs +1 -1
- package/dist/actions/get-market-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-settlement.cjs +1 -1
- package/dist/actions/get-market-settlement.cjs.map +1 -1
- package/dist/actions/get-market-settlement.d.cts +11 -3
- package/dist/actions/get-market-settlement.d.cts.map +1 -1
- package/dist/actions/get-market-settlement.d.mts +11 -3
- package/dist/actions/get-market-settlement.d.mts.map +1 -1
- package/dist/actions/get-market-settlement.mjs +1 -1
- package/dist/actions/get-market-settlement.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.cjs +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.d.cts +9 -3
- package/dist/actions/get-markets-for-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.d.mts +9 -3
- package/dist/actions/get-markets-for-subject-by-slug.d.mts.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.mjs +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject.cjs +1 -1
- package/dist/actions/get-markets-for-subject.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject.d.cts +9 -3
- package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject.d.mts +9 -3
- package/dist/actions/get-markets-for-subject.d.mts.map +1 -1
- package/dist/actions/get-markets-for-subject.mjs +1 -1
- package/dist/actions/get-markets-for-subject.mjs.map +1 -1
- package/dist/actions/get-open-orders.cjs +1 -1
- package/dist/actions/get-open-orders.cjs.map +1 -1
- package/dist/actions/get-open-orders.d.cts +9 -3
- package/dist/actions/get-open-orders.d.cts.map +1 -1
- package/dist/actions/get-open-orders.d.mts +9 -3
- package/dist/actions/get-open-orders.d.mts.map +1 -1
- package/dist/actions/get-open-orders.mjs +1 -1
- package/dist/actions/get-open-orders.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -1
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +9 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +9 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -1
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-series-by-id.cjs +1 -1
- package/dist/actions/get-series-by-id.cjs.map +1 -1
- package/dist/actions/get-series-by-id.d.cts +9 -3
- package/dist/actions/get-series-by-id.d.cts.map +1 -1
- package/dist/actions/get-series-by-id.d.mts +9 -3
- package/dist/actions/get-series-by-id.d.mts.map +1 -1
- package/dist/actions/get-series-by-id.mjs +1 -1
- package/dist/actions/get-series-by-id.mjs.map +1 -1
- package/dist/actions/get-sport-by-slug.cjs +1 -1
- package/dist/actions/get-sport-by-slug.cjs.map +1 -1
- package/dist/actions/get-sport-by-slug.d.cts +9 -3
- package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
- package/dist/actions/get-sport-by-slug.d.mts +9 -3
- package/dist/actions/get-sport-by-slug.d.mts.map +1 -1
- package/dist/actions/get-sport-by-slug.mjs +1 -1
- package/dist/actions/get-sport-by-slug.mjs.map +1 -1
- package/dist/actions/get-subject-by-id.cjs +1 -1
- package/dist/actions/get-subject-by-id.cjs.map +1 -1
- package/dist/actions/get-subject-by-id.d.cts +9 -3
- package/dist/actions/get-subject-by-id.d.cts.map +1 -1
- package/dist/actions/get-subject-by-id.d.mts +9 -3
- package/dist/actions/get-subject-by-id.d.mts.map +1 -1
- package/dist/actions/get-subject-by-id.mjs +1 -1
- package/dist/actions/get-subject-by-id.mjs.map +1 -1
- package/dist/actions/get-subject-by-slug.cjs +1 -1
- package/dist/actions/get-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-subject-by-slug.d.cts +9 -3
- package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-subject-by-slug.d.mts +9 -3
- package/dist/actions/get-subject-by-slug.d.mts.map +1 -1
- package/dist/actions/get-subject-by-slug.mjs +1 -1
- package/dist/actions/get-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-tag-by-id.cjs +1 -1
- package/dist/actions/get-tag-by-id.cjs.map +1 -1
- package/dist/actions/get-tag-by-id.d.cts +9 -3
- package/dist/actions/get-tag-by-id.d.cts.map +1 -1
- package/dist/actions/get-tag-by-id.d.mts +9 -3
- package/dist/actions/get-tag-by-id.d.mts.map +1 -1
- package/dist/actions/get-tag-by-id.mjs +1 -1
- package/dist/actions/get-tag-by-id.mjs.map +1 -1
- package/dist/actions/get-tag-by-slug.cjs +1 -1
- package/dist/actions/get-tag-by-slug.cjs.map +1 -1
- package/dist/actions/get-tag-by-slug.d.cts +9 -3
- package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
- package/dist/actions/get-tag-by-slug.d.mts +9 -3
- package/dist/actions/get-tag-by-slug.d.mts.map +1 -1
- package/dist/actions/get-tag-by-slug.mjs +1 -1
- package/dist/actions/get-tag-by-slug.mjs.map +1 -1
- package/dist/actions/get-user-positions.cjs +2 -2
- package/dist/actions/get-user-positions.cjs.map +1 -1
- package/dist/actions/get-user-positions.d.cts +16 -3
- package/dist/actions/get-user-positions.d.cts.map +1 -1
- package/dist/actions/get-user-positions.d.mts +16 -3
- package/dist/actions/get-user-positions.d.mts.map +1 -1
- package/dist/actions/get-user-positions.mjs +2 -2
- package/dist/actions/get-user-positions.mjs.map +1 -1
- package/dist/actions/list-events-for-league.cjs +1 -1
- package/dist/actions/list-events-for-league.cjs.map +1 -1
- package/dist/actions/list-events-for-league.d.cts +25 -3
- package/dist/actions/list-events-for-league.d.cts.map +1 -1
- package/dist/actions/list-events-for-league.d.mts +25 -3
- package/dist/actions/list-events-for-league.d.mts.map +1 -1
- package/dist/actions/list-events-for-league.mjs +1 -1
- package/dist/actions/list-events-for-league.mjs.map +1 -1
- package/dist/actions/list-events-for-series.cjs +1 -1
- package/dist/actions/list-events-for-series.cjs.map +1 -1
- package/dist/actions/list-events-for-series.d.cts +25 -3
- package/dist/actions/list-events-for-series.d.cts.map +1 -1
- package/dist/actions/list-events-for-series.d.mts +25 -3
- package/dist/actions/list-events-for-series.d.mts.map +1 -1
- package/dist/actions/list-events-for-series.mjs +1 -1
- package/dist/actions/list-events-for-series.mjs.map +1 -1
- package/dist/actions/list-events-for-sport.cjs +1 -1
- package/dist/actions/list-events-for-sport.cjs.map +1 -1
- package/dist/actions/list-events-for-sport.d.cts +25 -3
- package/dist/actions/list-events-for-sport.d.cts.map +1 -1
- package/dist/actions/list-events-for-sport.d.mts +25 -3
- package/dist/actions/list-events-for-sport.d.mts.map +1 -1
- package/dist/actions/list-events-for-sport.mjs +1 -1
- package/dist/actions/list-events-for-sport.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -1
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +40 -3
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +40 -3
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -1
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-featured-tags.cjs +1 -1
- package/dist/actions/list-featured-tags.cjs.map +1 -1
- package/dist/actions/list-featured-tags.d.cts +5 -3
- package/dist/actions/list-featured-tags.d.cts.map +1 -1
- package/dist/actions/list-featured-tags.d.mts +5 -3
- package/dist/actions/list-featured-tags.d.mts.map +1 -1
- package/dist/actions/list-featured-tags.mjs +1 -1
- package/dist/actions/list-featured-tags.mjs.map +1 -1
- package/dist/actions/list-leagues.cjs +1 -1
- package/dist/actions/list-leagues.cjs.map +1 -1
- package/dist/actions/list-leagues.d.cts +11 -3
- package/dist/actions/list-leagues.d.cts.map +1 -1
- package/dist/actions/list-leagues.d.mts +11 -3
- package/dist/actions/list-leagues.d.mts.map +1 -1
- package/dist/actions/list-leagues.mjs +1 -1
- package/dist/actions/list-leagues.mjs.map +1 -1
- package/dist/actions/list-markets.cjs +1 -1
- package/dist/actions/list-markets.cjs.map +1 -1
- package/dist/actions/list-markets.d.cts +45 -3
- package/dist/actions/list-markets.d.cts.map +1 -1
- package/dist/actions/list-markets.d.mts +45 -3
- package/dist/actions/list-markets.d.mts.map +1 -1
- package/dist/actions/list-markets.mjs +1 -1
- package/dist/actions/list-markets.mjs.map +1 -1
- package/dist/actions/list-series.cjs +1 -1
- package/dist/actions/list-series.cjs.map +1 -1
- package/dist/actions/list-series.d.cts +24 -3
- package/dist/actions/list-series.d.cts.map +1 -1
- package/dist/actions/list-series.d.mts +24 -3
- package/dist/actions/list-series.d.mts.map +1 -1
- package/dist/actions/list-series.mjs +1 -1
- package/dist/actions/list-series.mjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.cjs +1 -1
- package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.cts +16 -3
- package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.mts +16 -3
- package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.mjs +1 -1
- package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
- package/dist/actions/list-sports-teams.cjs +1 -1
- package/dist/actions/list-sports-teams.cjs.map +1 -1
- package/dist/actions/list-sports-teams.d.cts +26 -3
- package/dist/actions/list-sports-teams.d.cts.map +1 -1
- package/dist/actions/list-sports-teams.d.mts +26 -3
- package/dist/actions/list-sports-teams.d.mts.map +1 -1
- package/dist/actions/list-sports-teams.mjs +1 -1
- package/dist/actions/list-sports-teams.mjs.map +1 -1
- package/dist/actions/list-sports.cjs +1 -1
- package/dist/actions/list-sports.cjs.map +1 -1
- package/dist/actions/list-sports.d.cts +5 -3
- package/dist/actions/list-sports.d.cts.map +1 -1
- package/dist/actions/list-sports.d.mts +5 -3
- package/dist/actions/list-sports.d.mts.map +1 -1
- package/dist/actions/list-sports.mjs +1 -1
- package/dist/actions/list-sports.mjs.map +1 -1
- package/dist/actions/list-subjects.cjs +1 -1
- package/dist/actions/list-subjects.cjs.map +1 -1
- package/dist/actions/list-subjects.d.cts +15 -3
- package/dist/actions/list-subjects.d.cts.map +1 -1
- package/dist/actions/list-subjects.d.mts +15 -3
- package/dist/actions/list-subjects.d.mts.map +1 -1
- package/dist/actions/list-subjects.mjs +1 -1
- package/dist/actions/list-subjects.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -1
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +26 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +26 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -1
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/modify-multiple-orders.cjs +2 -2
- package/dist/actions/modify-multiple-orders.cjs.map +1 -1
- package/dist/actions/modify-multiple-orders.d.cts +38 -3
- package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
- package/dist/actions/modify-multiple-orders.d.mts +38 -3
- package/dist/actions/modify-multiple-orders.d.mts.map +1 -1
- package/dist/actions/modify-multiple-orders.mjs +2 -2
- package/dist/actions/modify-multiple-orders.mjs.map +1 -1
- package/dist/actions/modify-order.cjs +1 -1
- package/dist/actions/modify-order.cjs.map +1 -1
- package/dist/actions/modify-order.d.cts +33 -3
- package/dist/actions/modify-order.d.cts.map +1 -1
- package/dist/actions/modify-order.d.mts +33 -3
- package/dist/actions/modify-order.d.mts.map +1 -1
- package/dist/actions/modify-order.mjs +1 -1
- package/dist/actions/modify-order.mjs.map +1 -1
- package/dist/actions/preview-order.cjs +1 -1
- package/dist/actions/preview-order.cjs.map +1 -1
- package/dist/actions/preview-order.d.cts +90 -3
- package/dist/actions/preview-order.d.cts.map +1 -1
- package/dist/actions/preview-order.d.mts +90 -3
- package/dist/actions/preview-order.d.mts.map +1 -1
- package/dist/actions/preview-order.mjs +1 -1
- package/dist/actions/preview-order.mjs.map +1 -1
- package/dist/actions/search-markets-and-events.cjs +1 -1
- package/dist/actions/search-markets-and-events.cjs.map +1 -1
- package/dist/actions/search-markets-and-events.d.cts +19 -3
- package/dist/actions/search-markets-and-events.d.cts.map +1 -1
- package/dist/actions/search-markets-and-events.d.mts +19 -3
- package/dist/actions/search-markets-and-events.d.mts.map +1 -1
- package/dist/actions/search-markets-and-events.mjs +1 -1
- package/dist/actions/search-markets-and-events.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ const polymarketGetSubjectById = action("POLYMARKET_GET_SUBJECT_BY_ID", {
|
|
|
5
5
|
name: "Get Subject By ID",
|
|
6
6
|
description: "Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("Numeric subject ID returned by List Subjects or a market response.") }),
|
|
8
|
-
output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") })
|
|
8
|
+
output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { polymarketGetSubjectById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectByIdInput
|
|
1
|
+
{"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketGetSubjectById = action(\"POLYMARKET_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketGetSubjectByIdInput,\n output: PolymarketGetSubjectByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-subject-by-slug.ts
|
|
4
4
|
const PolymarketGetSubjectBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.") });
|
|
5
|
-
const PolymarketGetSubjectBySlugOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") });
|
|
5
|
+
const PolymarketGetSubjectBySlugOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") }).passthrough();
|
|
6
6
|
const polymarketGetSubjectBySlug = require_action.action("POLYMARKET_GET_SUBJECT_BY_SLUG", {
|
|
7
7
|
slug: "polymarket-get-subject-by-slug",
|
|
8
8
|
name: "Get Subject By Slug",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectBySlugInput
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketGetSubjectBySlug = action(\"POLYMARKET_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketGetSubjectBySlugInput,\n output: PolymarketGetSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-subject-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetSubjectBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSubjectBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSubjectBySlugOutput: z.ZodObject<{
|
|
8
|
+
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSubjectBySlug };
|
|
9
15
|
//# sourceMappingURL=get-subject-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-subject-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetSubjectBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSubjectBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSubjectBySlugOutput: z.ZodObject<{
|
|
8
|
+
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSubjectBySlug };
|
|
9
15
|
//# sourceMappingURL=get-subject-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const polymarketGetSubjectBySlug = action("POLYMARKET_GET_SUBJECT_BY_SLUG", {
|
|
|
5
5
|
name: "Get Subject By Slug",
|
|
6
6
|
description: "Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.",
|
|
7
7
|
input: z.object({ slug: z.string().describe("URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.") }),
|
|
8
|
-
output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") })
|
|
8
|
+
output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { polymarketGetSubjectBySlug };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectBySlugInput
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketGetSubjectBySlug = action(\"POLYMARKET_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketGetSubjectBySlugInput,\n output: PolymarketGetSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-tag-by-id.ts
|
|
4
4
|
const PolymarketGetTagByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric tag ID returned by List Tags or another tag response.") });
|
|
5
|
-
const PolymarketGetTagByIdOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") });
|
|
5
|
+
const PolymarketGetTagByIdOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") }).passthrough();
|
|
6
6
|
const polymarketGetTagById = require_action.action("POLYMARKET_GET_TAG_BY_ID", {
|
|
7
7
|
slug: "polymarket-get-tag-by-id",
|
|
8
8
|
name: "Get Tag By ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagByIdInput
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketGetTagById = action(\"POLYMARKET_GET_TAG_BY_ID\", {\n slug: \"polymarket-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketGetTagByIdInput,\n output: PolymarketGetTagByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-tag-by-id.d.ts
|
|
4
|
-
declare const PolymarketGetTagByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetTagByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetTagByIdOutput: z.ZodObject<{
|
|
8
|
+
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetTagById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetTagById };
|
|
9
15
|
//# sourceMappingURL=get-tag-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-id.d.cts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.d.cts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-tag-by-id.d.ts
|
|
4
|
-
declare const PolymarketGetTagByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetTagByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetTagByIdOutput: z.ZodObject<{
|
|
8
|
+
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetTagById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetTagById };
|
|
9
15
|
//# sourceMappingURL=get-tag-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-id.d.mts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.d.mts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const polymarketGetTagById = action("POLYMARKET_GET_TAG_BY_ID", {
|
|
|
5
5
|
name: "Get Tag By ID",
|
|
6
6
|
description: "Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("Numeric tag ID returned by List Tags or another tag response.") }),
|
|
8
|
-
output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") })
|
|
8
|
+
output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { polymarketGetTagById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-id.mjs","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagByIdInput
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.mjs","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketGetTagById = action(\"POLYMARKET_GET_TAG_BY_ID\", {\n slug: \"polymarket-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketGetTagByIdInput,\n output: PolymarketGetTagByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CASS;CACP,QATwC,EAAE,OAAO,EACjD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-tag-by-slug.ts
|
|
4
4
|
const PolymarketGetTagBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe tag slug for a topic, sport, or league filter.") });
|
|
5
|
-
const PolymarketGetTagBySlugOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") });
|
|
5
|
+
const PolymarketGetTagBySlugOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") }).passthrough();
|
|
6
6
|
const polymarketGetTagBySlug = require_action.action("POLYMARKET_GET_TAG_BY_SLUG", {
|
|
7
7
|
slug: "polymarket-get-tag-by-slug",
|
|
8
8
|
name: "Get Tag By Slug",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagBySlugInput
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketGetTagBySlug = action(\"POLYMARKET_GET_TAG_BY_SLUG\", {\n slug: \"polymarket-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketGetTagBySlugInput,\n output: PolymarketGetTagBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-tag-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetTagBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetTagBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetTagBySlugOutput: z.ZodObject<{
|
|
8
|
+
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetTagBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetTagBySlug };
|
|
9
15
|
//# sourceMappingURL=get-tag-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-slug.d.cts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.d.cts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-tag-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetTagBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetTagBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetTagBySlugOutput: z.ZodObject<{
|
|
8
|
+
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const polymarketGetTagBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetTagBySlug };
|
|
9
15
|
//# sourceMappingURL=get-tag-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-slug.d.mts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.d.mts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const polymarketGetTagBySlug = action("POLYMARKET_GET_TAG_BY_SLUG", {
|
|
|
5
5
|
name: "Get Tag By Slug",
|
|
6
6
|
description: "Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.",
|
|
7
7
|
input: z.object({ slug: z.string().describe("URL-safe tag slug for a topic, sport, or league filter.") }),
|
|
8
|
-
output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") })
|
|
8
|
+
output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { polymarketGetTagBySlug };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tag-by-slug.mjs","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagBySlugInput
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.mjs","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketGetTagBySlug = action(\"POLYMARKET_GET_TAG_BY_SLUG\", {\n slug: \"polymarket-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketGetTagBySlugInput,\n output: PolymarketGetTagBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -7,11 +7,11 @@ const PolymarketGetUserPositionsInput = zod.z.object({
|
|
|
7
7
|
market: zod.z.string().describe("Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.").optional()
|
|
8
8
|
});
|
|
9
9
|
const PolymarketGetUserPositionsOutput = zod.z.object({
|
|
10
|
-
eof: zod.z.boolean().describe("Whether the current page is the last page."),
|
|
10
|
+
eof: zod.z.boolean().describe("Whether the current page is the last page.").nullable(),
|
|
11
11
|
positions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of market slug to this authenticated account's position details."),
|
|
12
12
|
nextCursor: zod.z.string().describe("Cursor for the next page, when another page exists.").nullable().optional(),
|
|
13
13
|
availablePositions: zod.z.array(zod.z.string()).describe("Position quantities available to trade after accounting for open orders.").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const polymarketGetUserPositions = require_action.action("POLYMARKET_GET_USER_POSITIONS", {
|
|
16
16
|
slug: "polymarket-get-user-positions",
|
|
17
17
|
name: "Get User Positions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-positions.cjs","names":["z","action"],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetUserPositionsInput
|
|
1
|
+
{"version":3,"file":"get-user-positions.cjs","names":["z","action"],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetUserPositionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of account-specific positions to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response's nextCursor field. Omit for the first page.\").optional(),\n market: z.string().describe(\"Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.\").optional(),\n});\nexport const PolymarketGetUserPositionsOutput = z.object({\n eof: z.boolean().describe(\"Whether the current page is the last page.\").nullable(),\n positions: z.record(z.string(), z.unknown()).describe(\"Map of market slug to this authenticated account's position details.\"),\n nextCursor: z.string().describe(\"Cursor for the next page, when another page exists.\").nullable().optional(),\n availablePositions: z.array(z.string()).describe(\"Position quantities available to trade after accounting for open orders.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketGetUserPositions = action(\"POLYMARKET_GET_USER_POSITIONS\", {\n slug: \"polymarket-get-user-positions\",\n name: \"Get User Positions\",\n description: \"Get the authenticated user's Polymarket US trading positions across all markets or filtered by a specific market slug. Requires Polymarket US signed authentication and only returns positions for that account. Use this read-only action to verify API credentials and inspect current exposure.\",\n input: PolymarketGetUserPositionsInput,\n output: PolymarketGetUserPositionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAChL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;AAC5M,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-positions.d.ts
|
|
4
|
-
declare const PolymarketGetUserPositionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetUserPositionsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
market: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PolymarketGetUserPositionsOutput: z.ZodObject<{
|
|
10
|
+
eof: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
positions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
availablePositions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const polymarketGetUserPositions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
cursor?: string | undefined;
|
|
18
|
+
market?: string | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { polymarketGetUserPositions };
|
|
9
22
|
//# sourceMappingURL=get-user-positions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-positions.d.cts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-positions.d.cts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-positions.d.ts
|
|
4
|
-
declare const PolymarketGetUserPositionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetUserPositionsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
market: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PolymarketGetUserPositionsOutput: z.ZodObject<{
|
|
10
|
+
eof: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
positions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
availablePositions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const polymarketGetUserPositions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
cursor?: string | undefined;
|
|
18
|
+
market?: string | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { polymarketGetUserPositions };
|
|
9
22
|
//# sourceMappingURL=get-user-positions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-positions.d.mts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-user-positions.d.mts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -10,11 +10,11 @@ const polymarketGetUserPositions = action("POLYMARKET_GET_USER_POSITIONS", {
|
|
|
10
10
|
market: z.string().describe("Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.").optional()
|
|
11
11
|
}),
|
|
12
12
|
output: z.object({
|
|
13
|
-
eof: z.boolean().describe("Whether the current page is the last page."),
|
|
13
|
+
eof: z.boolean().describe("Whether the current page is the last page.").nullable(),
|
|
14
14
|
positions: z.record(z.string(), z.unknown()).describe("Map of market slug to this authenticated account's position details."),
|
|
15
15
|
nextCursor: z.string().describe("Cursor for the next page, when another page exists.").nullable().optional(),
|
|
16
16
|
availablePositions: z.array(z.string()).describe("Position quantities available to trade after accounting for open orders.").nullable().optional()
|
|
17
|
-
})
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { polymarketGetUserPositions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-positions.mjs","names":[],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetUserPositionsInput
|
|
1
|
+
{"version":3,"file":"get-user-positions.mjs","names":[],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetUserPositionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of account-specific positions to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response's nextCursor field. Omit for the first page.\").optional(),\n market: z.string().describe(\"Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.\").optional(),\n});\nexport const PolymarketGetUserPositionsOutput = z.object({\n eof: z.boolean().describe(\"Whether the current page is the last page.\").nullable(),\n positions: z.record(z.string(), z.unknown()).describe(\"Map of market slug to this authenticated account's position details.\"),\n nextCursor: z.string().describe(\"Cursor for the next page, when another page exists.\").nullable().optional(),\n availablePositions: z.array(z.string()).describe(\"Position quantities available to trade after accounting for open orders.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketGetUserPositions = action(\"POLYMARKET_GET_USER_POSITIONS\", {\n slug: \"polymarket-get-user-positions\",\n name: \"Get User Positions\",\n description: \"Get the authenticated user's Polymarket US trading positions across all markets or filtered by a specific market slug. Requires Polymarket US signed authentication and only returns positions for that account. Use this read-only action to verify API credentials and inspect current exposure.\",\n input: PolymarketGetUserPositionsInput,\n output: PolymarketGetUserPositionsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAChL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC5M,CAYS;CACP,QAZ8C,EAAE,OAAO;EACvD,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;EAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PolymarketListEventsForLeagueInput = zod.z.object({
|
|
|
9
9
|
section: zod.z.enum(["general", "trending"]).describe("Event section filter. Use 'general' for the standard list or 'trending' for trending events.").optional(),
|
|
10
10
|
excludeEventId: zod.z.array(zod.z.number().int()).describe("Event IDs to omit from the results. Use this when paginating or composing multiple league sections and you need to avoid duplicate events.").optional()
|
|
11
11
|
});
|
|
12
|
-
const PolymarketListEventsForLeagueOutput = zod.z.object({ events: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Events for the requested league. The v2 API resolves the league to its active series and returns matching events.") });
|
|
12
|
+
const PolymarketListEventsForLeagueOutput = zod.z.object({ events: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Events for the requested league. The v2 API resolves the league to its active series and returns matching events.") }).passthrough();
|
|
13
13
|
const polymarketListEventsForLeague = require_action.action("POLYMARKET_LIST_EVENTS_FOR_LEAGUE", {
|
|
14
14
|
slug: "polymarket-list-events-for-league",
|
|
15
15
|
name: "List Events For League",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-league.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForLeagueInput
|
|
1
|
+
{"version":3,"file":"list-events-for-league.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForLeagueInput = 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 type: z.enum([\"sport\", \"futures\"]).describe(\"Event type filter. Use 'sport' for standard games or 'futures' for futures markets.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum events to return for this page.\").optional(),\n offset: z.number().int().describe(\"Number of events to skip before returning this page. Use with limit for pagination.\").optional(),\n section: z.enum([\"general\", \"trending\"]).describe(\"Event section filter. Use 'general' for the standard list or 'trending' for trending events.\").optional(),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple league sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForLeagueOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested league. The v2 API resolves the league to its active series and returns matching events.\"),\n}).passthrough();\n\nexport const polymarketListEventsForLeague = action(\"POLYMARKET_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket-list-events-for-league\",\n name: \"List Events For League\",\n description: \"List Polymarket US events for a current v2 league slug such as \\\"nba\\\" or \\\"nfl\\\". Use List Leagues or Get Sport By Slug first if the slug is unknown. Supports limit/offset pagination, excludeEventId for de-duplicating already-seen events, and optional type/section filters. This action does not require API key authentication.\",\n input: PolymarketListEventsForLeagueInput,\n output: PolymarketListEventsForLeagueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAClH,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC5I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC3J,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;AAC5M,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,EACxK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events-for-league.d.ts
|
|
4
|
-
declare const PolymarketListEventsForLeagueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketListEventsForLeagueInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
sport: "sport";
|
|
8
|
+
futures: "futures";
|
|
9
|
+
}>>;
|
|
10
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
general: "general";
|
|
14
|
+
trending: "trending";
|
|
15
|
+
}>>;
|
|
16
|
+
excludeEventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const PolymarketListEventsForLeagueOutput: z.ZodObject<{
|
|
19
|
+
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const polymarketListEventsForLeague: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
slug: string;
|
|
23
|
+
type?: "sport" | "futures" | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
offset?: number | undefined;
|
|
26
|
+
section?: "general" | "trending" | undefined;
|
|
27
|
+
excludeEventId?: number[] | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { polymarketListEventsForLeague };
|
|
9
31
|
//# sourceMappingURL=list-events-for-league.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-league.d.cts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-events-for-league.d.cts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events-for-league.d.ts
|
|
4
|
-
declare const PolymarketListEventsForLeagueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketListEventsForLeagueInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
sport: "sport";
|
|
8
|
+
futures: "futures";
|
|
9
|
+
}>>;
|
|
10
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
general: "general";
|
|
14
|
+
trending: "trending";
|
|
15
|
+
}>>;
|
|
16
|
+
excludeEventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const PolymarketListEventsForLeagueOutput: z.ZodObject<{
|
|
19
|
+
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const polymarketListEventsForLeague: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
slug: string;
|
|
23
|
+
type?: "sport" | "futures" | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
offset?: number | undefined;
|
|
26
|
+
section?: "general" | "trending" | undefined;
|
|
27
|
+
excludeEventId?: number[] | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { polymarketListEventsForLeague };
|
|
9
31
|
//# sourceMappingURL=list-events-for-league.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-league.d.mts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-events-for-league.d.mts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const polymarketListEventsForLeague = action("POLYMARKET_LIST_EVENTS_FOR_LEAGUE"
|
|
|
12
12
|
section: z.enum(["general", "trending"]).describe("Event section filter. Use 'general' for the standard list or 'trending' for trending events.").optional(),
|
|
13
13
|
excludeEventId: z.array(z.number().int()).describe("Event IDs to omit from the results. Use this when paginating or composing multiple league sections and you need to avoid duplicate events.").optional()
|
|
14
14
|
}),
|
|
15
|
-
output: z.object({ events: z.record(z.string(), z.unknown()).describe("Events for the requested league. The v2 API resolves the league to its active series and returns matching events.") })
|
|
15
|
+
output: z.object({ events: z.record(z.string(), z.unknown()).describe("Events for the requested league. The v2 API resolves the league to its active series and returns matching events.") }).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { polymarketListEventsForLeague };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-league.mjs","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForLeagueInput
|
|
1
|
+
{"version":3,"file":"list-events-for-league.mjs","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForLeagueInput = 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 type: z.enum([\"sport\", \"futures\"]).describe(\"Event type filter. Use 'sport' for standard games or 'futures' for futures markets.\").optional(),\n limit: z.number().int().default(25).describe(\"Maximum events to return for this page.\").optional(),\n offset: z.number().int().describe(\"Number of events to skip before returning this page. Use with limit for pagination.\").optional(),\n section: z.enum([\"general\", \"trending\"]).describe(\"Event section filter. Use 'general' for the standard list or 'trending' for trending events.\").optional(),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple league sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForLeagueOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested league. The v2 API resolves the league to its active series and returns matching events.\"),\n}).passthrough();\n\nexport const polymarketListEventsForLeague = action(\"POLYMARKET_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket-list-events-for-league\",\n name: \"List Events For League\",\n description: \"List Polymarket US events for a current v2 league slug such as \\\"nba\\\" or \\\"nfl\\\". Use List Leagues or Get Sport By Slug first if the slug is unknown. Supports limit/offset pagination, excludeEventId for de-duplicating already-seen events, and optional type/section filters. This action does not require API key authentication.\",\n input: PolymarketListEventsForLeagueInput,\n output: PolymarketListEventsForLeagueOutput,\n});\n"],"mappings":";;AAgBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EAClH,MAAM,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC5I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAClI,SAAS,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC3J,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CAC5M,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,EACxK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|