@keystrokehq/polymarket_us 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,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } from "../app.cjs";
|
|
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 PolymarketUsGetSubjectBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSubjectBySlugOutput: z.ZodObject<{
|
|
8
10
|
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSubjectBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSubjectBySlug: AppAction<typeof PolymarketUsGetSubjectBySlugInput, typeof PolymarketUsGetSubjectBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSubjectBySlug };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetSubjectBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSubjectBySlugOutput: z.ZodObject<{
|
|
8
10
|
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSubjectBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSubjectBySlug: AppAction<typeof PolymarketUsGetSubjectBySlugInput, typeof PolymarketUsGetSubjectBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSubjectBySlug };
|
|
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,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,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 PolymarketUsGetSubjectBySlugInput = 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 PolymarketUsGetSubjectBySlugOutput = 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 polymarketUsGetSubjectBySlug = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetSubjectBySlugInput = 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 PolymarketUsGetSubjectBySlugOutput = 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 polymarketUsGetSubjectBySlug: AppAction<\n typeof PolymarketUsGetSubjectBySlugInput,\n typeof PolymarketUsGetSubjectBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,+BAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAaS;CACP,QAbgD,EAAE,OAAO,EACzD,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 PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = 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 polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = 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 polymarketUsGetTagById: AppAction<\n typeof PolymarketUsGetTagByIdInput,\n typeof PolymarketUsGetTagByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetTagByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetTagByIdOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetTagById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetTagById: AppAction<typeof PolymarketUsGetTagByIdInput, typeof PolymarketUsGetTagByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetTagById };
|
|
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,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetTagByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetTagByIdOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetTagById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetTagById: AppAction<typeof PolymarketUsGetTagByIdInput, typeof PolymarketUsGetTagByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetTagById };
|
|
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,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,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 PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = 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 polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = 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 polymarketUsGetTagById: AppAction<\n typeof PolymarketUsGetTagByIdInput,\n typeof PolymarketUsGetTagByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;;AAaA,MAAa,yBAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAaS;CACP,QAb0C,EAAE,OAAO,EACnD,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 PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = 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 polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = 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 polymarketUsGetTagBySlug: AppAction<\n typeof PolymarketUsGetTagBySlugInput,\n typeof PolymarketUsGetTagBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetTagBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetTagBySlugOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetTagBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetTagBySlug: AppAction<typeof PolymarketUsGetTagBySlugInput, typeof PolymarketUsGetTagBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetTagBySlug };
|
|
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,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetTagBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetTagBySlugOutput: z.ZodObject<{
|
|
8
10
|
tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetTagBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetTagBySlug: AppAction<typeof PolymarketUsGetTagBySlugInput, typeof PolymarketUsGetTagBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetTagBySlug };
|
|
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,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,YAAA,CAAa,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 PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = 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 polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = 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 polymarketUsGetTagBySlug: AppAction<\n typeof PolymarketUsGetTagBySlugInput,\n typeof PolymarketUsGetTagBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,2BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAaS;CACP,QAb4C,EAAE,OAAO,EACrD,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 PolymarketUsGetUserPositionsInput = 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 PolymarketUsGetUserPositionsOutput = 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 polymarketUsGetUserPositions = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-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: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetUserPositionsInput = 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 PolymarketUsGetUserPositionsOutput = 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 polymarketUsGetUserPositions: AppAction<\n typeof PolymarketUsGetUserPositionsInput,\n typeof PolymarketUsGetUserPositionsOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-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: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetUserPositionsOutput: 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 polymarketUsGetUserPositions:
|
|
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 polymarketUsGetUserPositions: AppAction<typeof PolymarketUsGetUserPositionsInput, typeof PolymarketUsGetUserPositionsOutput, typeof polymarketUs.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { polymarketUsGetUserPositions };
|
|
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,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsGetUserPositionsOutput: 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 polymarketUsGetUserPositions:
|
|
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 polymarketUsGetUserPositions: AppAction<typeof PolymarketUsGetUserPositionsInput, typeof PolymarketUsGetUserPositionsOutput, typeof polymarketUs.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { polymarketUsGetUserPositions };
|
|
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,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,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 PolymarketUsGetUserPositionsInput = 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 PolymarketUsGetUserPositionsOutput = 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 polymarketUsGetUserPositions = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-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: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsGetUserPositionsInput = 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 PolymarketUsGetUserPositionsOutput = 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 polymarketUsGetUserPositions: AppAction<\n typeof PolymarketUsGetUserPositionsInput,\n typeof PolymarketUsGetUserPositionsOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-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: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,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,QAhBgD,EAAE,OAAO;EACzD,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 PolymarketUsListEventsForLeagueInput = 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 PolymarketUsListEventsForLeagueOutput = 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 polymarketUsListEventsForLeague = action(\"POLYMARKET_US_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForLeagueInput,\n output: PolymarketUsListEventsForLeagueOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsListEventsForLeagueInput = 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 PolymarketUsListEventsForLeagueOutput = 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 polymarketUsListEventsForLeague: AppAction<\n typeof PolymarketUsListEventsForLeagueInput,\n typeof PolymarketUsListEventsForLeagueOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForLeagueInput,\n output: PolymarketUsListEventsForLeagueOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,EACxK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsListEventsForLeagueInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketUsListEventsForLeagueOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketUsListEventsForLeague:
|
|
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 polymarketUsListEventsForLeague: AppAction<typeof PolymarketUsListEventsForLeagueInput, typeof PolymarketUsListEventsForLeagueOutput, typeof polymarketUs.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketUsListEventsForLeague };
|
|
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,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsListEventsForLeagueInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketUsListEventsForLeagueOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketUsListEventsForLeague:
|
|
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 polymarketUsListEventsForLeague: AppAction<typeof PolymarketUsListEventsForLeagueInput, typeof PolymarketUsListEventsForLeagueOutput, typeof polymarketUs.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketUsListEventsForLeague };
|
|
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,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,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 PolymarketUsListEventsForLeagueInput = 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 PolymarketUsListEventsForLeagueOutput = 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 polymarketUsListEventsForLeague = action(\"POLYMARKET_US_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForLeagueInput,\n output: PolymarketUsListEventsForLeagueOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsListEventsForLeagueInput = 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 PolymarketUsListEventsForLeagueOutput = 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 polymarketUsListEventsForLeague: AppAction<\n typeof PolymarketUsListEventsForLeagueInput,\n typeof PolymarketUsListEventsForLeagueOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_LIST_EVENTS_FOR_LEAGUE\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForLeagueInput,\n output: PolymarketUsListEventsForLeagueOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO;EAC3D,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,QAbmD,EAAE,OAAO,EAC5D,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 PolymarketUsListEventsForSeriesInput = 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 PolymarketUsListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketUsListEventsForSeries = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSeriesInput,\n output: PolymarketUsListEventsForSeriesOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsListEventsForSeriesInput = 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 PolymarketUsListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketUsListEventsForSeries: AppAction<\n typeof PolymarketUsListEventsForSeriesInput,\n typeof PolymarketUsListEventsForSeriesOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSeriesInput,\n output: PolymarketUsListEventsForSeriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsListEventsForSeriesInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketUsListEventsForSeriesOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketUsListEventsForSeries:
|
|
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 polymarketUsListEventsForSeries: AppAction<typeof PolymarketUsListEventsForSeriesInput, typeof PolymarketUsListEventsForSeriesOutput, typeof polymarketUs.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketUsListEventsForSeries };
|
|
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,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsListEventsForSeriesInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketUsListEventsForSeriesOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketUsListEventsForSeries:
|
|
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 polymarketUsListEventsForSeries: AppAction<typeof PolymarketUsListEventsForSeriesInput, typeof PolymarketUsListEventsForSeriesOutput, typeof polymarketUs.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketUsListEventsForSeries };
|
|
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,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,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 PolymarketUsListEventsForSeriesInput = 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 PolymarketUsListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketUsListEventsForSeries = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSeriesInput,\n output: PolymarketUsListEventsForSeriesOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsListEventsForSeriesInput = 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 PolymarketUsListEventsForSeriesOutput = z.object({\n events: z.record(z.string(), z.unknown()).describe(\"Events for the requested legacy v1 series ID.\"),\n}).passthrough();\n\nexport const polymarketUsListEventsForSeries: AppAction<\n typeof PolymarketUsListEventsForSeriesInput,\n typeof PolymarketUsListEventsForSeriesOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SERIES\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSeriesInput,\n output: PolymarketUsListEventsForSeriesOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO;EAC3D,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,QAbmD,EAAE,OAAO,EAC5D,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 PolymarketUsListEventsForSportInput = 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 PolymarketUsListEventsForSportOutput = 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 polymarketUsListEventsForSport = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SPORT\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSportInput,\n output: PolymarketUsListEventsForSportOutput,\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 { polymarketUs } from \"../app\";\n\nexport const PolymarketUsListEventsForSportInput = 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 PolymarketUsListEventsForSportOutput = 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 polymarketUsListEventsForSport: AppAction<\n typeof PolymarketUsListEventsForSportInput,\n typeof PolymarketUsListEventsForSportOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_LIST_EVENTS_FOR_SPORT\", {\n slug: \"polymarket_us-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: PolymarketUsListEventsForSportInput,\n output: PolymarketUsListEventsForSportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,EACjM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polymarketUs } 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 PolymarketUsListEventsForSportInput: z.ZodObject<{
|
|
|
18
20
|
declare const PolymarketUsListEventsForSportOutput: z.ZodObject<{
|
|
19
21
|
events: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const polymarketUsListEventsForSport:
|
|
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 polymarketUsListEventsForSport: AppAction<typeof PolymarketUsListEventsForSportInput, typeof PolymarketUsListEventsForSportOutput, typeof polymarketUs.credential>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { polymarketUsListEventsForSport };
|
|
31
26
|
//# sourceMappingURL=list-events-for-sport.d.cts.map
|