@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,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-markets-for-subject-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetMarketsForSubjectBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketsForSubjectBySlugOutput: z.ZodObject<{
|
|
8
10
|
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketsForSubjectBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetMarketsForSubjectBySlug: AppAction<typeof PolymarketUsGetMarketsForSubjectBySlugInput, typeof PolymarketUsGetMarketsForSubjectBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetMarketsForSubjectBySlug };
|
|
15
15
|
//# sourceMappingURL=get-markets-for-subject-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketsForSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectBySlugOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubjectBySlug = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectBySlugInput,\n output: PolymarketUsGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-markets-for-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 PolymarketUsGetMarketsForSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectBySlugOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubjectBySlug: AppAction<\n typeof PolymarketUsGetMarketsForSubjectBySlugInput,\n typeof PolymarketUsGetMarketsForSubjectBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectBySlugInput,\n output: PolymarketUsGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,yCAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO,EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CAaS;CACP,QAb0D,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubject = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket_us-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectInput,\n output: PolymarketUsGetMarketsForSubjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject.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 PolymarketUsGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubject: AppAction<\n typeof PolymarketUsGetMarketsForSubjectInput,\n typeof PolymarketUsGetMarketsForSubjectOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket_us-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectInput,\n output: PolymarketUsGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,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-markets-for-subject.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetMarketsForSubjectInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketsForSubjectOutput: z.ZodObject<{
|
|
8
10
|
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketsForSubject:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetMarketsForSubject: AppAction<typeof PolymarketUsGetMarketsForSubjectInput, typeof PolymarketUsGetMarketsForSubjectOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetMarketsForSubject };
|
|
15
15
|
//# sourceMappingURL=get-markets-for-subject.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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-markets-for-subject.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetMarketsForSubjectInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketsForSubjectOutput: z.ZodObject<{
|
|
8
10
|
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketsForSubject:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetMarketsForSubject: AppAction<typeof PolymarketUsGetMarketsForSubjectInput, typeof PolymarketUsGetMarketsForSubjectOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetMarketsForSubject };
|
|
15
15
|
//# sourceMappingURL=get-markets-for-subject.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubject = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket_us-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectInput,\n output: PolymarketUsGetMarketsForSubjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject.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 PolymarketUsGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketUsGetMarketsForSubjectOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketsForSubject: AppAction<\n typeof PolymarketUsGetMarketsForSubjectInput,\n typeof PolymarketUsGetMarketsForSubjectOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket_us-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketUsGetMarketsForSubjectInput,\n output: PolymarketUsGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;AAaA,MAAa,mCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAaS;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-orders.cjs","names":["z","action"],"sources":["../../src/actions/get-open-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketUsGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetOpenOrders = action(\"POLYMARKET_US_GET_OPEN_ORDERS\", {\n slug: \"polymarket_us-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketUsGetOpenOrdersInput,\n output: PolymarketUsGetOpenOrdersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-open-orders.cjs","names":["z","action"],"sources":["../../src/actions/get-open-orders.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 PolymarketUsGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketUsGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetOpenOrders: AppAction<\n typeof PolymarketUsGetOpenOrdersInput,\n typeof PolymarketUsGetOpenOrdersOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_OPEN_ORDERS\", {\n slug: \"polymarket_us-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketUsGetOpenOrdersInput,\n output: PolymarketUsGetOpenOrdersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,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-open-orders.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetOpenOrdersInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetOpenOrdersOutput: z.ZodObject<{
|
|
8
10
|
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetOpenOrders:
|
|
11
|
-
slugs?: string[] | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetOpenOrders: AppAction<typeof PolymarketUsGetOpenOrdersInput, typeof PolymarketUsGetOpenOrdersOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetOpenOrders };
|
|
15
15
|
//# sourceMappingURL=get-open-orders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-orders.d.cts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-open-orders.d.cts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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-open-orders.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetOpenOrdersInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetOpenOrdersOutput: z.ZodObject<{
|
|
8
10
|
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetOpenOrders:
|
|
11
|
-
slugs?: string[] | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetOpenOrders: AppAction<typeof PolymarketUsGetOpenOrdersInput, typeof PolymarketUsGetOpenOrdersOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetOpenOrders };
|
|
15
15
|
//# sourceMappingURL=get-open-orders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-orders.d.mts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-open-orders.d.mts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-orders.mjs","names":[],"sources":["../../src/actions/get-open-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketUsGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetOpenOrders = action(\"POLYMARKET_US_GET_OPEN_ORDERS\", {\n slug: \"polymarket_us-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketUsGetOpenOrdersInput,\n output: PolymarketUsGetOpenOrdersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-open-orders.mjs","names":[],"sources":["../../src/actions/get-open-orders.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 PolymarketUsGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketUsGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetOpenOrders: AppAction<\n typeof PolymarketUsGetOpenOrdersInput,\n typeof PolymarketUsGetOpenOrdersOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_OPEN_ORDERS\", {\n slug: \"polymarket_us-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketUsGetOpenOrdersInput,\n output: PolymarketUsGetOpenOrdersOutput,\n});\n"],"mappings":";;;AAaA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.cjs","names":["z","action"],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketUsGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n}).passthrough();\n\nexport const polymarketUsGetOrder = action(\"POLYMARKET_US_GET_ORDER\", {\n slug: \"polymarket_us-get-order\",\n name: \"Get Order\",\n description: \"Get an authenticated user's Polymarket US order by exchange-assigned order ID. Requires signed authentication and returns order details available to that account. Use this read-only action to inspect order state after creating, modifying, or canceling an order.\",\n input: PolymarketUsGetOrderInput,\n output: PolymarketUsGetOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.cjs","names":["z","action"],"sources":["../../src/actions/get-order.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 PolymarketUsGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketUsGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n}).passthrough();\n\nexport const polymarketUsGetOrder: AppAction<\n typeof PolymarketUsGetOrderInput,\n typeof PolymarketUsGetOrderOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_ORDER\", {\n slug: \"polymarket_us-get-order\",\n name: \"Get Order\",\n description: \"Get an authenticated user's Polymarket US order by exchange-assigned order ID. Requires signed authentication and returns order details available to that account. Use this read-only action to inspect order state after creating, modifying, or canceling an order.\",\n input: PolymarketUsGetOrderInput,\n output: PolymarketUsGetOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACvH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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-order.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetOrderInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetOrderOutput: z.ZodObject<{
|
|
8
10
|
order: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetOrder:
|
|
11
|
-
orderId: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetOrder: AppAction<typeof PolymarketUsGetOrderInput, typeof PolymarketUsGetOrderOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetOrder };
|
|
15
15
|
//# sourceMappingURL=get-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.d.cts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.d.cts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-order.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetOrderInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetOrderOutput: z.ZodObject<{
|
|
8
10
|
order: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetOrder:
|
|
11
|
-
orderId: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetOrder: AppAction<typeof PolymarketUsGetOrderInput, typeof PolymarketUsGetOrderOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetOrder };
|
|
15
15
|
//# sourceMappingURL=get-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.d.mts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.d.mts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order.mjs","names":[],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketUsGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n}).passthrough();\n\nexport const polymarketUsGetOrder = action(\"POLYMARKET_US_GET_ORDER\", {\n slug: \"polymarket_us-get-order\",\n name: \"Get Order\",\n description: \"Get an authenticated user's Polymarket US order by exchange-assigned order ID. Requires signed authentication and returns order details available to that account. Use this read-only action to inspect order state after creating, modifying, or canceling an order.\",\n input: PolymarketUsGetOrderInput,\n output: PolymarketUsGetOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-order.mjs","names":[],"sources":["../../src/actions/get-order.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 PolymarketUsGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketUsGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n}).passthrough();\n\nexport const polymarketUsGetOrder: AppAction<\n typeof PolymarketUsGetOrderInput,\n typeof PolymarketUsGetOrderOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_ORDER\", {\n slug: \"polymarket_us-get-order\",\n name: \"Get Order\",\n description: \"Get an authenticated user's Polymarket US order by exchange-assigned order ID. Requires signed authentication and returns order details available to that account. Use this read-only action to inspect order state after creating, modifying, or canceling an order.\",\n input: PolymarketUsGetOrderInput,\n output: PolymarketUsGetOrderOutput,\n});\n"],"mappings":";;;AAaA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAaS;CACP,QAbwC,EAAE,OAAO,EACjD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACvH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-series-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-series-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n}).passthrough();\n\nexport const polymarketUsGetSeriesById = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-series-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-series-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 PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n}).passthrough();\n\nexport const polymarketUsGetSeriesById: AppAction<\n typeof PolymarketUsGetSeriesByIdInput,\n typeof PolymarketUsGetSeriesByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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-series-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSeriesByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSeriesByIdOutput: z.ZodObject<{
|
|
8
10
|
series: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSeriesById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSeriesById: AppAction<typeof PolymarketUsGetSeriesByIdInput, typeof PolymarketUsGetSeriesByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSeriesById };
|
|
15
15
|
//# sourceMappingURL=get-series-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-series-by-id.d.cts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-series-by-id.d.cts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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-series-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSeriesByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSeriesByIdOutput: z.ZodObject<{
|
|
8
10
|
series: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSeriesById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSeriesById: AppAction<typeof PolymarketUsGetSeriesByIdInput, typeof PolymarketUsGetSeriesByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSeriesById };
|
|
15
15
|
//# sourceMappingURL=get-series-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-series-by-id.d.mts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-series-by-id.d.mts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-series-by-id.mjs","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n}).passthrough();\n\nexport const polymarketUsGetSeriesById = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-series-by-id.mjs","names":[],"sources":["../../src/actions/get-series-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 PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n}).passthrough();\n\nexport const polymarketUsGetSeriesById: AppAction<\n typeof PolymarketUsGetSeriesByIdInput,\n typeof PolymarketUsGetSeriesByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":";;;AAaA,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sport-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sport-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-sport-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 PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug: AppAction<\n typeof PolymarketUsGetSportBySlugInput,\n typeof PolymarketUsGetSportBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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-sport-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSportBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSportBySlugOutput: z.ZodObject<{
|
|
8
10
|
sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSportBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSportBySlug: AppAction<typeof PolymarketUsGetSportBySlugInput, typeof PolymarketUsGetSportBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSportBySlug };
|
|
15
15
|
//# sourceMappingURL=get-sport-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sport-by-slug.d.cts","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sport-by-slug.d.cts","names":[],"sources":["../../src/actions/get-sport-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,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-sport-by-slug.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSportBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSportBySlugOutput: z.ZodObject<{
|
|
8
10
|
sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSportBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSportBySlug: AppAction<typeof PolymarketUsGetSportBySlugInput, typeof PolymarketUsGetSportBySlugOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSportBySlug };
|
|
15
15
|
//# sourceMappingURL=get-sport-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sport-by-slug.d.mts","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sport-by-slug.d.mts","names":[],"sources":["../../src/actions/get-sport-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,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sport-by-slug.mjs","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-sport-by-slug.mjs","names":[],"sources":["../../src/actions/get-sport-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 PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug: AppAction<\n typeof PolymarketUsGetSportBySlugInput,\n typeof PolymarketUsGetSportBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-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 PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById: AppAction<\n typeof PolymarketUsGetSubjectByIdInput,\n typeof PolymarketUsGetSubjectByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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-subject-by-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSubjectByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSubjectByIdOutput: z.ZodObject<{
|
|
8
10
|
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSubjectById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSubjectById: AppAction<typeof PolymarketUsGetSubjectByIdInput, typeof PolymarketUsGetSubjectByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSubjectById };
|
|
15
15
|
//# sourceMappingURL=get-subject-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-id.d.cts","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-id.d.cts","names":[],"sources":["../../src/actions/get-subject-by-id.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,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-id.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PolymarketUsGetSubjectByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetSubjectByIdOutput: z.ZodObject<{
|
|
8
10
|
subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetSubjectById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const polymarketUsGetSubjectById: AppAction<typeof PolymarketUsGetSubjectByIdInput, typeof PolymarketUsGetSubjectByIdOutput, typeof polymarketUs.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { polymarketUsGetSubjectById };
|
|
15
15
|
//# sourceMappingURL=get-subject-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-id.d.mts","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-id.d.mts","names":[],"sources":["../../src/actions/get-subject-by-id.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,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-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 PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById: AppAction<\n typeof PolymarketUsGetSubjectByIdInput,\n typeof PolymarketUsGetSubjectByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;;AAaA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const 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.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|