@keystrokehq/polymarket 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-all-open-orders.cjs +1 -0
- package/dist/actions/cancel-all-open-orders.cjs.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.cts +3 -3
- package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.mts +3 -3
- package/dist/actions/cancel-all-open-orders.d.mts.map +1 -1
- package/dist/actions/cancel-all-open-orders.mjs +1 -0
- package/dist/actions/cancel-all-open-orders.mjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.cjs +1 -0
- package/dist/actions/cancel-multiple-orders.cjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.cts +3 -7
- package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.mts +3 -7
- package/dist/actions/cancel-multiple-orders.d.mts.map +1 -1
- package/dist/actions/cancel-multiple-orders.mjs +1 -0
- package/dist/actions/cancel-multiple-orders.mjs.map +1 -1
- package/dist/actions/cancel-order.cjs +1 -0
- package/dist/actions/cancel-order.cjs.map +1 -1
- package/dist/actions/cancel-order.d.cts +3 -4
- package/dist/actions/cancel-order.d.cts.map +1 -1
- package/dist/actions/cancel-order.d.mts +3 -4
- package/dist/actions/cancel-order.d.mts.map +1 -1
- package/dist/actions/cancel-order.mjs +1 -0
- package/dist/actions/cancel-order.mjs.map +1 -1
- package/dist/actions/close-position-order.cjs +1 -0
- package/dist/actions/close-position-order.cjs.map +1 -1
- package/dist/actions/close-position-order.d.cts +3 -14
- package/dist/actions/close-position-order.d.cts.map +1 -1
- package/dist/actions/close-position-order.d.mts +3 -14
- package/dist/actions/close-position-order.d.mts.map +1 -1
- package/dist/actions/close-position-order.mjs +1 -0
- package/dist/actions/close-position-order.mjs.map +1 -1
- package/dist/actions/create-multiple-orders.cjs +1 -0
- package/dist/actions/create-multiple-orders.cjs.map +1 -1
- package/dist/actions/create-multiple-orders.d.cts +3 -33
- package/dist/actions/create-multiple-orders.d.cts.map +1 -1
- package/dist/actions/create-multiple-orders.d.mts +3 -33
- package/dist/actions/create-multiple-orders.d.mts.map +1 -1
- package/dist/actions/create-multiple-orders.mjs +1 -0
- package/dist/actions/create-multiple-orders.mjs.map +1 -1
- package/dist/actions/create-order.cjs +1 -0
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +3 -32
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +3 -32
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +1 -0
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/get-account-balances.cjs +1 -0
- package/dist/actions/get-account-balances.cjs.map +1 -1
- package/dist/actions/get-account-balances.d.cts +3 -1
- package/dist/actions/get-account-balances.d.cts.map +1 -1
- package/dist/actions/get-account-balances.d.mts +3 -1
- package/dist/actions/get-account-balances.d.mts.map +1 -1
- package/dist/actions/get-account-balances.mjs +1 -0
- package/dist/actions/get-account-balances.mjs.map +1 -1
- package/dist/actions/get-activities.cjs +1 -0
- package/dist/actions/get-activities.cjs.map +1 -1
- package/dist/actions/get-activities.d.cts +3 -7
- package/dist/actions/get-activities.d.cts.map +1 -1
- package/dist/actions/get-activities.d.mts +3 -7
- package/dist/actions/get-activities.d.mts.map +1 -1
- package/dist/actions/get-activities.mjs +1 -0
- package/dist/actions/get-activities.mjs.map +1 -1
- package/dist/actions/get-event-by-id.cjs +1 -0
- package/dist/actions/get-event-by-id.cjs.map +1 -1
- package/dist/actions/get-event-by-id.d.cts +3 -3
- package/dist/actions/get-event-by-id.d.cts.map +1 -1
- package/dist/actions/get-event-by-id.d.mts +3 -3
- package/dist/actions/get-event-by-id.d.mts.map +1 -1
- package/dist/actions/get-event-by-id.mjs +1 -0
- package/dist/actions/get-event-by-id.mjs.map +1 -1
- package/dist/actions/get-event-by-slug.cjs +1 -0
- package/dist/actions/get-event-by-slug.cjs.map +1 -1
- package/dist/actions/get-event-by-slug.d.cts +3 -3
- package/dist/actions/get-event-by-slug.d.cts.map +1 -1
- package/dist/actions/get-event-by-slug.d.mts +3 -3
- package/dist/actions/get-event-by-slug.d.mts.map +1 -1
- package/dist/actions/get-event-by-slug.mjs +1 -0
- package/dist/actions/get-event-by-slug.mjs.map +1 -1
- package/dist/actions/get-league-by-slug.cjs +1 -0
- package/dist/actions/get-league-by-slug.cjs.map +1 -1
- package/dist/actions/get-league-by-slug.d.cts +3 -3
- package/dist/actions/get-league-by-slug.d.cts.map +1 -1
- package/dist/actions/get-league-by-slug.d.mts +3 -3
- package/dist/actions/get-league-by-slug.d.mts.map +1 -1
- package/dist/actions/get-league-by-slug.mjs +1 -0
- package/dist/actions/get-league-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-bbo.cjs +1 -0
- package/dist/actions/get-market-bbo.cjs.map +1 -1
- package/dist/actions/get-market-bbo.d.cts +3 -3
- package/dist/actions/get-market-bbo.d.cts.map +1 -1
- package/dist/actions/get-market-bbo.d.mts +3 -3
- package/dist/actions/get-market-bbo.d.mts.map +1 -1
- package/dist/actions/get-market-bbo.mjs +1 -0
- package/dist/actions/get-market-bbo.mjs.map +1 -1
- package/dist/actions/get-market-book.cjs +1 -0
- package/dist/actions/get-market-book.cjs.map +1 -1
- package/dist/actions/get-market-book.d.cts +3 -3
- package/dist/actions/get-market-book.d.cts.map +1 -1
- package/dist/actions/get-market-book.d.mts +3 -3
- package/dist/actions/get-market-book.d.mts.map +1 -1
- package/dist/actions/get-market-book.mjs +1 -0
- package/dist/actions/get-market-book.mjs.map +1 -1
- package/dist/actions/get-market-by-id.cjs +1 -0
- package/dist/actions/get-market-by-id.cjs.map +1 -1
- package/dist/actions/get-market-by-id.d.cts +3 -3
- package/dist/actions/get-market-by-id.d.cts.map +1 -1
- package/dist/actions/get-market-by-id.d.mts +3 -3
- package/dist/actions/get-market-by-id.d.mts.map +1 -1
- package/dist/actions/get-market-by-id.mjs +1 -0
- package/dist/actions/get-market-by-id.mjs.map +1 -1
- package/dist/actions/get-market-by-slug.cjs +1 -0
- package/dist/actions/get-market-by-slug.cjs.map +1 -1
- package/dist/actions/get-market-by-slug.d.cts +3 -3
- package/dist/actions/get-market-by-slug.d.cts.map +1 -1
- package/dist/actions/get-market-by-slug.d.mts +3 -3
- package/dist/actions/get-market-by-slug.d.mts.map +1 -1
- package/dist/actions/get-market-by-slug.mjs +1 -0
- package/dist/actions/get-market-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-settlement.cjs +1 -0
- package/dist/actions/get-market-settlement.cjs.map +1 -1
- package/dist/actions/get-market-settlement.d.cts +3 -4
- package/dist/actions/get-market-settlement.d.cts.map +1 -1
- package/dist/actions/get-market-settlement.d.mts +3 -4
- package/dist/actions/get-market-settlement.d.mts.map +1 -1
- package/dist/actions/get-market-settlement.mjs +1 -0
- package/dist/actions/get-market-settlement.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.cjs +1 -0
- package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.d.cts +3 -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 +3 -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 -0
- package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject.cjs +1 -0
- package/dist/actions/get-markets-for-subject.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject.d.cts +3 -3
- package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject.d.mts +3 -3
- package/dist/actions/get-markets-for-subject.d.mts.map +1 -1
- package/dist/actions/get-markets-for-subject.mjs +1 -0
- package/dist/actions/get-markets-for-subject.mjs.map +1 -1
- package/dist/actions/get-open-orders.cjs +1 -0
- package/dist/actions/get-open-orders.cjs.map +1 -1
- package/dist/actions/get-open-orders.d.cts +3 -3
- package/dist/actions/get-open-orders.d.cts.map +1 -1
- package/dist/actions/get-open-orders.d.mts +3 -3
- package/dist/actions/get-open-orders.d.mts.map +1 -1
- package/dist/actions/get-open-orders.mjs +1 -0
- package/dist/actions/get-open-orders.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-series-by-id.cjs +1 -0
- package/dist/actions/get-series-by-id.cjs.map +1 -1
- package/dist/actions/get-series-by-id.d.cts +3 -3
- package/dist/actions/get-series-by-id.d.cts.map +1 -1
- package/dist/actions/get-series-by-id.d.mts +3 -3
- package/dist/actions/get-series-by-id.d.mts.map +1 -1
- package/dist/actions/get-series-by-id.mjs +1 -0
- package/dist/actions/get-series-by-id.mjs.map +1 -1
- package/dist/actions/get-sport-by-slug.cjs +1 -0
- package/dist/actions/get-sport-by-slug.cjs.map +1 -1
- package/dist/actions/get-sport-by-slug.d.cts +3 -3
- package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
- package/dist/actions/get-sport-by-slug.d.mts +3 -3
- package/dist/actions/get-sport-by-slug.d.mts.map +1 -1
- package/dist/actions/get-sport-by-slug.mjs +1 -0
- package/dist/actions/get-sport-by-slug.mjs.map +1 -1
- package/dist/actions/get-subject-by-id.cjs +1 -0
- package/dist/actions/get-subject-by-id.cjs.map +1 -1
- package/dist/actions/get-subject-by-id.d.cts +3 -3
- package/dist/actions/get-subject-by-id.d.cts.map +1 -1
- package/dist/actions/get-subject-by-id.d.mts +3 -3
- package/dist/actions/get-subject-by-id.d.mts.map +1 -1
- package/dist/actions/get-subject-by-id.mjs +1 -0
- package/dist/actions/get-subject-by-id.mjs.map +1 -1
- package/dist/actions/get-subject-by-slug.cjs +1 -0
- package/dist/actions/get-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-subject-by-slug.d.cts +3 -3
- package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-subject-by-slug.d.mts +3 -3
- package/dist/actions/get-subject-by-slug.d.mts.map +1 -1
- package/dist/actions/get-subject-by-slug.mjs +1 -0
- package/dist/actions/get-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-tag-by-id.cjs +1 -0
- package/dist/actions/get-tag-by-id.cjs.map +1 -1
- package/dist/actions/get-tag-by-id.d.cts +3 -3
- package/dist/actions/get-tag-by-id.d.cts.map +1 -1
- package/dist/actions/get-tag-by-id.d.mts +3 -3
- package/dist/actions/get-tag-by-id.d.mts.map +1 -1
- package/dist/actions/get-tag-by-id.mjs +1 -0
- package/dist/actions/get-tag-by-id.mjs.map +1 -1
- package/dist/actions/get-tag-by-slug.cjs +1 -0
- package/dist/actions/get-tag-by-slug.cjs.map +1 -1
- package/dist/actions/get-tag-by-slug.d.cts +3 -3
- package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
- package/dist/actions/get-tag-by-slug.d.mts +3 -3
- package/dist/actions/get-tag-by-slug.d.mts.map +1 -1
- package/dist/actions/get-tag-by-slug.mjs +1 -0
- package/dist/actions/get-tag-by-slug.mjs.map +1 -1
- package/dist/actions/get-user-positions.cjs +1 -0
- package/dist/actions/get-user-positions.cjs.map +1 -1
- package/dist/actions/get-user-positions.d.cts +3 -5
- package/dist/actions/get-user-positions.d.cts.map +1 -1
- package/dist/actions/get-user-positions.d.mts +3 -5
- package/dist/actions/get-user-positions.d.mts.map +1 -1
- package/dist/actions/get-user-positions.mjs +1 -0
- package/dist/actions/get-user-positions.mjs.map +1 -1
- package/dist/actions/list-events-for-league.cjs +1 -0
- package/dist/actions/list-events-for-league.cjs.map +1 -1
- package/dist/actions/list-events-for-league.d.cts +3 -8
- package/dist/actions/list-events-for-league.d.cts.map +1 -1
- package/dist/actions/list-events-for-league.d.mts +3 -8
- package/dist/actions/list-events-for-league.d.mts.map +1 -1
- package/dist/actions/list-events-for-league.mjs +1 -0
- package/dist/actions/list-events-for-league.mjs.map +1 -1
- package/dist/actions/list-events-for-series.cjs +1 -0
- package/dist/actions/list-events-for-series.cjs.map +1 -1
- package/dist/actions/list-events-for-series.d.cts +3 -8
- package/dist/actions/list-events-for-series.d.cts.map +1 -1
- package/dist/actions/list-events-for-series.d.mts +3 -8
- package/dist/actions/list-events-for-series.d.mts.map +1 -1
- package/dist/actions/list-events-for-series.mjs +1 -0
- package/dist/actions/list-events-for-series.mjs.map +1 -1
- package/dist/actions/list-events-for-sport.cjs +1 -0
- package/dist/actions/list-events-for-sport.cjs.map +1 -1
- package/dist/actions/list-events-for-sport.d.cts +3 -8
- package/dist/actions/list-events-for-sport.d.cts.map +1 -1
- package/dist/actions/list-events-for-sport.d.mts +3 -8
- package/dist/actions/list-events-for-sport.d.mts.map +1 -1
- package/dist/actions/list-events-for-sport.mjs +1 -0
- package/dist/actions/list-events-for-sport.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -17
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -17
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-featured-tags.cjs +1 -0
- package/dist/actions/list-featured-tags.cjs.map +1 -1
- package/dist/actions/list-featured-tags.d.cts +3 -1
- package/dist/actions/list-featured-tags.d.cts.map +1 -1
- package/dist/actions/list-featured-tags.d.mts +3 -1
- package/dist/actions/list-featured-tags.d.mts.map +1 -1
- package/dist/actions/list-featured-tags.mjs +1 -0
- package/dist/actions/list-featured-tags.mjs.map +1 -1
- package/dist/actions/list-leagues.cjs +1 -0
- package/dist/actions/list-leagues.cjs.map +1 -1
- package/dist/actions/list-leagues.d.cts +3 -4
- package/dist/actions/list-leagues.d.cts.map +1 -1
- package/dist/actions/list-leagues.d.mts +3 -4
- package/dist/actions/list-leagues.d.mts.map +1 -1
- package/dist/actions/list-leagues.mjs +1 -0
- package/dist/actions/list-leagues.mjs.map +1 -1
- package/dist/actions/list-markets.cjs +1 -0
- package/dist/actions/list-markets.cjs.map +1 -1
- package/dist/actions/list-markets.d.cts +3 -16
- package/dist/actions/list-markets.d.cts.map +1 -1
- package/dist/actions/list-markets.d.mts +3 -16
- package/dist/actions/list-markets.d.mts.map +1 -1
- package/dist/actions/list-markets.mjs +1 -0
- package/dist/actions/list-markets.mjs.map +1 -1
- package/dist/actions/list-series.cjs +1 -0
- package/dist/actions/list-series.cjs.map +1 -1
- package/dist/actions/list-series.d.cts +3 -9
- package/dist/actions/list-series.d.cts.map +1 -1
- package/dist/actions/list-series.d.mts +3 -9
- package/dist/actions/list-series.d.mts.map +1 -1
- package/dist/actions/list-series.mjs +1 -0
- package/dist/actions/list-series.mjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.cjs +1 -0
- package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.cts +3 -5
- package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.mts +3 -5
- package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.mjs +1 -0
- package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
- package/dist/actions/list-sports-teams.cjs +1 -0
- package/dist/actions/list-sports-teams.cjs.map +1 -1
- package/dist/actions/list-sports-teams.d.cts +3 -10
- package/dist/actions/list-sports-teams.d.cts.map +1 -1
- package/dist/actions/list-sports-teams.d.mts +3 -10
- package/dist/actions/list-sports-teams.d.mts.map +1 -1
- package/dist/actions/list-sports-teams.mjs +1 -0
- package/dist/actions/list-sports-teams.mjs.map +1 -1
- package/dist/actions/list-sports.cjs +1 -0
- package/dist/actions/list-sports.cjs.map +1 -1
- package/dist/actions/list-sports.d.cts +3 -1
- package/dist/actions/list-sports.d.cts.map +1 -1
- package/dist/actions/list-sports.d.mts +3 -1
- package/dist/actions/list-sports.d.mts.map +1 -1
- package/dist/actions/list-sports.mjs +1 -0
- package/dist/actions/list-sports.mjs.map +1 -1
- package/dist/actions/list-subjects.cjs +1 -0
- package/dist/actions/list-subjects.cjs.map +1 -1
- package/dist/actions/list-subjects.d.cts +3 -6
- package/dist/actions/list-subjects.d.cts.map +1 -1
- package/dist/actions/list-subjects.d.mts +3 -6
- package/dist/actions/list-subjects.d.mts.map +1 -1
- package/dist/actions/list-subjects.mjs +1 -0
- package/dist/actions/list-subjects.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -0
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -10
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -10
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -0
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/modify-multiple-orders.cjs +1 -0
- package/dist/actions/modify-multiple-orders.cjs.map +1 -1
- package/dist/actions/modify-multiple-orders.d.cts +3 -15
- package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
- package/dist/actions/modify-multiple-orders.d.mts +3 -15
- package/dist/actions/modify-multiple-orders.d.mts.map +1 -1
- package/dist/actions/modify-multiple-orders.mjs +1 -0
- package/dist/actions/modify-multiple-orders.mjs.map +1 -1
- package/dist/actions/modify-order.cjs +1 -0
- package/dist/actions/modify-order.cjs.map +1 -1
- package/dist/actions/modify-order.d.cts +3 -12
- package/dist/actions/modify-order.d.cts.map +1 -1
- package/dist/actions/modify-order.d.mts +3 -12
- package/dist/actions/modify-order.d.mts.map +1 -1
- package/dist/actions/modify-order.mjs +1 -0
- package/dist/actions/modify-order.mjs.map +1 -1
- package/dist/actions/preview-order.cjs +1 -0
- package/dist/actions/preview-order.cjs.map +1 -1
- package/dist/actions/preview-order.d.cts +3 -32
- package/dist/actions/preview-order.d.cts.map +1 -1
- package/dist/actions/preview-order.d.mts +3 -32
- package/dist/actions/preview-order.d.mts.map +1 -1
- package/dist/actions/preview-order.mjs +1 -0
- package/dist/actions/preview-order.mjs.map +1 -1
- package/dist/actions/search-markets-and-events.cjs +1 -0
- package/dist/actions/search-markets-and-events.cjs.map +1 -1
- package/dist/actions/search-markets-and-events.d.cts +3 -8
- package/dist/actions/search-markets-and-events.d.cts.map +1 -1
- package/dist/actions/search-markets-and-events.d.mts +3 -8
- package/dist/actions/search-markets-and-events.d.mts.map +1 -1
- package/dist/actions/search-markets-and-events.mjs +1 -0
- package/dist/actions/search-markets-and-events.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-subject-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketGetSubjectBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketGetSubjectBySlugOutput: z.ZodObject<{
|
|
8
10
|
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketGetSubjectBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketGetSubjectBySlug: AppAction<typeof PolymarketGetSubjectBySlugInput, typeof PolymarketGetSubjectBySlugOutput, typeof polymarket.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketGetSubjectBySlug };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetSubjectBySlugInput,\n typeof PolymarketGetSubjectBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetTagByIdInput,\n typeof PolymarketGetTagByIdOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-tag-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketGetTagByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketGetTagByIdOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketGetTagById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketGetTagById: AppAction<typeof PolymarketGetTagByIdInput, typeof PolymarketGetTagByIdOutput, typeof polymarket.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketGetTagById };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.d.cts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-tag-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketGetTagByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketGetTagByIdOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketGetTagById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketGetTagById: AppAction<typeof PolymarketGetTagByIdInput, typeof PolymarketGetTagByIdOutput, typeof polymarket.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketGetTagById };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.d.mts","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-id.mjs","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetTagByIdInput,\n typeof PolymarketGetTagByIdOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,uBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAaS;CACP,QAbwC,EAAE,OAAO,EACjD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetTagBySlugInput,\n typeof PolymarketGetTagBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-tag-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketGetTagBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketGetTagBySlugOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketGetTagBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketGetTagBySlug: AppAction<typeof PolymarketGetTagBySlugInput, typeof PolymarketGetTagBySlugOutput, typeof polymarket.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketGetTagBySlug };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.d.cts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-tag-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketGetTagBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketGetTagBySlugOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketGetTagBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketGetTagBySlug: AppAction<typeof PolymarketGetTagBySlugInput, typeof PolymarketGetTagBySlugOutput, typeof polymarket.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketGetTagBySlug };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.d.mts","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-tag-by-slug.mjs","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetTagBySlugInput,\n typeof PolymarketGetTagBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAaS;CACP,QAb0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user-positions.cjs","names":["z","action"],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetUserPositionsInput,\n typeof PolymarketGetUserPositionsOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-positions.d.ts
|
|
@@ -12,11 +14,7 @@ declare const PolymarketGetUserPositionsOutput: z.ZodObject<{
|
|
|
12
14
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
availablePositions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const polymarketGetUserPositions:
|
|
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]>;
|
|
17
|
+
declare const polymarketGetUserPositions: AppAction<typeof PolymarketGetUserPositionsInput, typeof PolymarketGetUserPositionsOutput, typeof polymarket.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { polymarketGetUserPositions };
|
|
22
20
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-user-positions.d.cts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-positions.d.ts
|
|
@@ -12,11 +14,7 @@ declare const PolymarketGetUserPositionsOutput: z.ZodObject<{
|
|
|
12
14
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
availablePositions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const polymarketGetUserPositions:
|
|
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]>;
|
|
17
|
+
declare const polymarketGetUserPositions: AppAction<typeof PolymarketGetUserPositionsInput, typeof PolymarketGetUserPositionsOutput, typeof polymarket.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { polymarketGetUserPositions };
|
|
22
20
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-user-positions.d.mts","names":[],"sources":["../../src/actions/get-user-positions.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user-positions.mjs","names":[],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketGetUserPositionsInput,\n typeof PolymarketGetUserPositionsOutput,\n typeof polymarket.credential\n> = 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":";;;AAkBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6C,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,CAgBS;CACP,QAhB8C,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,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-events-for-league.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketListEventsForLeagueInput,\n typeof PolymarketListEventsForLeagueOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-events-for-league.d.ts
|
|
@@ -18,14 +20,7 @@ declare const PolymarketListEventsForLeagueInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketListEventsForLeagueOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketListEventsForLeague:
|
|
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]>;
|
|
23
|
+
declare const polymarketListEventsForLeague: AppAction<typeof PolymarketListEventsForLeagueInput, typeof PolymarketListEventsForLeagueOutput, typeof polymarket.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketListEventsForLeague };
|
|
31
26
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-events-for-league.d.cts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-events-for-league.d.ts
|
|
@@ -18,14 +20,7 @@ declare const PolymarketListEventsForLeagueInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketListEventsForLeagueOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketListEventsForLeague:
|
|
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]>;
|
|
23
|
+
declare const polymarketListEventsForLeague: AppAction<typeof PolymarketListEventsForLeagueInput, typeof PolymarketListEventsForLeagueOutput, typeof polymarket.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketListEventsForLeague };
|
|
31
26
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-events-for-league.d.mts","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-events-for-league.mjs","names":[],"sources":["../../src/actions/list-events-for-league.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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: AppAction<\n typeof PolymarketListEventsForLeagueInput,\n typeof PolymarketListEventsForLeagueOutput,\n typeof polymarket.credential\n> = 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":";;;AAkBA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,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,CAaS;CACP,QAbiD,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,EACxK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-series.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-series.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForSeriesInput = z.object({\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 seriesId: z.number().int().describe(\"Legacy v1 sport series ID. Prefer v2 sport or league event tools for current browsing; use this only when a v1 series ID is already known.\"),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple legacy series sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSeries = action(\"POLYMARKET_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket-list-events-for-series\",\n name: \"List Events For Series\",\n description: \"List Polymarket US sports events for a legacy v1 series ID. Prefer List Events For Sport or List Events For League for current v2 browsing. Use this action when an agent already has a series ID from a legacy sports workflow and needs related events. 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: PolymarketListEventsForSeriesInput,\n output: PolymarketListEventsForSeriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-series.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-series.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\n\nexport const PolymarketListEventsForSeriesInput = z.object({\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 seriesId: z.number().int().describe(\"Legacy v1 sport series ID. Prefer v2 sport or league event tools for current browsing; use this only when a v1 series ID is already known.\"),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple legacy series sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSeries: AppAction<\n typeof PolymarketListEventsForSeriesInput,\n typeof PolymarketListEventsForSeriesOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket-list-events-for-series\",\n name: \"List Events For Series\",\n description: \"List Polymarket US sports events for a legacy v1 series ID. Prefer List Events For Sport or List Events For League for current v2 browsing. Use this action when an agent already has a series ID from a legacy sports workflow and needs related events. 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: PolymarketListEventsForSeriesInput,\n output: PolymarketListEventsForSeriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I;CAChL,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;AACnN,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-events-for-series.d.ts
|
|
@@ -18,14 +20,7 @@ declare const PolymarketListEventsForSeriesInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketListEventsForSeriesOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketListEventsForSeries:
|
|
22
|
-
seriesId: number;
|
|
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]>;
|
|
23
|
+
declare const polymarketListEventsForSeries: AppAction<typeof PolymarketListEventsForSeriesInput, typeof PolymarketListEventsForSeriesOutput, typeof polymarket.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketListEventsForSeries };
|
|
31
26
|
//# sourceMappingURL=list-events-for-series.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-series.d.cts","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-series.d.cts","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-events-for-series.d.ts
|
|
@@ -18,14 +20,7 @@ declare const PolymarketListEventsForSeriesInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketListEventsForSeriesOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketListEventsForSeries:
|
|
22
|
-
seriesId: number;
|
|
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]>;
|
|
23
|
+
declare const polymarketListEventsForSeries: AppAction<typeof PolymarketListEventsForSeriesInput, typeof PolymarketListEventsForSeriesOutput, typeof polymarket.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketListEventsForSeries };
|
|
31
26
|
//# sourceMappingURL=list-events-for-series.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-series.d.mts","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-series.d.mts","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-series.mjs","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForSeriesInput = z.object({\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 seriesId: z.number().int().describe(\"Legacy v1 sport series ID. Prefer v2 sport or league event tools for current browsing; use this only when a v1 series ID is already known.\"),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple legacy series sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSeries = action(\"POLYMARKET_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket-list-events-for-series\",\n name: \"List Events For Series\",\n description: \"List Polymarket US sports events for a legacy v1 series ID. Prefer List Events For Sport or List Events For League for current v2 browsing. Use this action when an agent already has a series ID from a legacy sports workflow and needs related events. 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: PolymarketListEventsForSeriesInput,\n output: PolymarketListEventsForSeriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-series.mjs","names":[],"sources":["../../src/actions/list-events-for-series.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\n\nexport const PolymarketListEventsForSeriesInput = z.object({\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 seriesId: z.number().int().describe(\"Legacy v1 sport series ID. Prefer v2 sport or league event tools for current browsing; use this only when a v1 series ID is already known.\"),\n excludeEventId: z.array(z.number().int()).describe(\"Event IDs to omit from the results. Use this when paginating or composing multiple legacy series sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSeries: AppAction<\n typeof PolymarketListEventsForSeriesInput,\n typeof PolymarketListEventsForSeriesOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket-list-events-for-series\",\n name: \"List Events For Series\",\n description: \"List Polymarket US sports events for a legacy v1 series ID. Prefer List Events For Sport or List Events For League for current v2 browsing. Use this action when an agent already has a series ID from a legacy sports workflow and needs related events. 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: PolymarketListEventsForSeriesInput,\n output: PolymarketListEventsForSeriesOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,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,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I;EAChL,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACnN,CAaS;CACP,QAbiD,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACpG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-sport.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-sport.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketListEventsForSportInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports, such as 'football' or 'basketball'.\"),\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 sports sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSportOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested sport. The v2 API gathers the sport's leagues, resolves their active series, and returns the combined event list.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSport = action(\"POLYMARKET_LIST_EVENTS_FOR_SPORT\", {\n slug: \"polymarket-list-events-for-sport\",\n name: \"List Events For Sport\",\n description: \"List Polymarket US events for a current v2 sport slug such as \\\"football\\\" or \\\"basketball\\\". Use List Sports 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: PolymarketListEventsForSportInput,\n output: PolymarketListEventsForSportOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-sport.cjs","names":["z","action"],"sources":["../../src/actions/list-events-for-sport.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\n\nexport const PolymarketListEventsForSportInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports, such as 'football' or 'basketball'.\"),\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 sports sections and you need to avoid duplicate events.\").optional(),\n});\nexport const PolymarketListEventsForSportOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested sport. The v2 API gathers the sport's leagues, resolves their active series, and returns the combined event list.\"),\n}).passthrough();\n\nexport const polymarketListEventsForSport: AppAction<\n typeof PolymarketListEventsForSportInput,\n typeof PolymarketListEventsForSportOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_LIST_EVENTS_FOR_SPORT\", {\n slug: \"polymarket-list-events-for-sport\",\n name: \"List Events For Sport\",\n description: \"List Polymarket US events for a current v2 sport slug such as \\\"football\\\" or \\\"basketball\\\". Use List Sports 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: PolymarketListEventsForSportInput,\n output: PolymarketListEventsForSportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,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,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,EACjM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarket } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-events-for-sport.d.ts
|
|
@@ -18,14 +20,7 @@ declare const PolymarketListEventsForSportInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketListEventsForSportOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketListEventsForSport:
|
|
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]>;
|
|
23
|
+
declare const polymarketListEventsForSport: AppAction<typeof PolymarketListEventsForSportInput, typeof PolymarketListEventsForSportOutput, typeof polymarket.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketListEventsForSport };
|
|
31
26
|
//# sourceMappingURL=list-events-for-sport.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-for-sport.d.cts","names":[],"sources":["../../src/actions/list-events-for-sport.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events-for-sport.d.cts","names":[],"sources":["../../src/actions/list-events-for-sport.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,UAAA,CAAW,UAAA"}
|