@keystrokehq/polymarket_us 0.1.4 → 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 -17
- package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.mts +3 -17
- 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 -21
- package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.mts +3 -21
- 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 -18
- package/dist/actions/cancel-order.d.cts.map +1 -1
- package/dist/actions/cancel-order.d.mts +3 -18
- 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 -28
- package/dist/actions/close-position-order.d.cts.map +1 -1
- package/dist/actions/close-position-order.d.mts +3 -28
- 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 -47
- package/dist/actions/create-multiple-orders.d.cts.map +1 -1
- package/dist/actions/create-multiple-orders.d.mts +3 -47
- 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 -46
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +3 -46
- 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 -15
- package/dist/actions/get-account-balances.d.cts.map +1 -1
- package/dist/actions/get-account-balances.d.mts +3 -15
- 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 -21
- package/dist/actions/get-activities.d.cts.map +1 -1
- package/dist/actions/get-activities.d.mts +3 -21
- 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 -17
- package/dist/actions/get-event-by-id.d.cts.map +1 -1
- package/dist/actions/get-event-by-id.d.mts +3 -17
- 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 -17
- package/dist/actions/get-event-by-slug.d.cts.map +1 -1
- package/dist/actions/get-event-by-slug.d.mts +3 -17
- 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 -17
- package/dist/actions/get-league-by-slug.d.cts.map +1 -1
- package/dist/actions/get-league-by-slug.d.mts +3 -17
- 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 -17
- package/dist/actions/get-market-bbo.d.cts.map +1 -1
- package/dist/actions/get-market-bbo.d.mts +3 -17
- 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 -17
- package/dist/actions/get-market-book.d.cts.map +1 -1
- package/dist/actions/get-market-book.d.mts +3 -17
- 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 -17
- package/dist/actions/get-market-by-id.d.cts.map +1 -1
- package/dist/actions/get-market-by-id.d.mts +3 -17
- 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 -17
- package/dist/actions/get-market-by-slug.d.cts.map +1 -1
- package/dist/actions/get-market-by-slug.d.mts +3 -17
- 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 -18
- package/dist/actions/get-market-settlement.d.cts.map +1 -1
- package/dist/actions/get-market-settlement.d.mts +3 -18
- 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 -17
- 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 -17
- 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 -17
- package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject.d.mts +3 -17
- 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 -17
- package/dist/actions/get-open-orders.d.cts.map +1 -1
- package/dist/actions/get-open-orders.d.mts +3 -17
- 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 -17
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -17
- 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 -17
- package/dist/actions/get-series-by-id.d.cts.map +1 -1
- package/dist/actions/get-series-by-id.d.mts +3 -17
- 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 -17
- package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
- package/dist/actions/get-sport-by-slug.d.mts +3 -17
- 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 -17
- package/dist/actions/get-subject-by-id.d.cts.map +1 -1
- package/dist/actions/get-subject-by-id.d.mts +3 -17
- 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 -17
- package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-subject-by-slug.d.mts +3 -17
- 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 -17
- package/dist/actions/get-tag-by-id.d.cts.map +1 -1
- package/dist/actions/get-tag-by-id.d.mts +3 -17
- 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 -17
- package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
- package/dist/actions/get-tag-by-slug.d.mts +3 -17
- 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 -19
- package/dist/actions/get-user-positions.d.cts.map +1 -1
- package/dist/actions/get-user-positions.d.mts +3 -19
- 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 -22
- package/dist/actions/list-events-for-league.d.cts.map +1 -1
- package/dist/actions/list-events-for-league.d.mts +3 -22
- 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 -22
- package/dist/actions/list-events-for-series.d.cts.map +1 -1
- package/dist/actions/list-events-for-series.d.mts +3 -22
- 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 -22
- package/dist/actions/list-events-for-sport.d.cts.map +1 -1
- package/dist/actions/list-events-for-sport.d.mts +3 -22
- 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 -31
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -31
- 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 -15
- package/dist/actions/list-featured-tags.d.cts.map +1 -1
- package/dist/actions/list-featured-tags.d.mts +3 -15
- 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 -18
- package/dist/actions/list-leagues.d.cts.map +1 -1
- package/dist/actions/list-leagues.d.mts +3 -18
- 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 -30
- package/dist/actions/list-markets.d.cts.map +1 -1
- package/dist/actions/list-markets.d.mts +3 -30
- 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 -23
- package/dist/actions/list-series.d.cts.map +1 -1
- package/dist/actions/list-series.d.mts +3 -23
- 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 -19
- package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.mts +3 -19
- 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 -24
- package/dist/actions/list-sports-teams.d.cts.map +1 -1
- package/dist/actions/list-sports-teams.d.mts +3 -24
- 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 -15
- package/dist/actions/list-sports.d.cts.map +1 -1
- package/dist/actions/list-sports.d.mts +3 -15
- 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 -20
- package/dist/actions/list-subjects.d.cts.map +1 -1
- package/dist/actions/list-subjects.d.mts +3 -20
- 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 -24
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -24
- 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 -29
- package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
- package/dist/actions/modify-multiple-orders.d.mts +3 -29
- 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 -26
- package/dist/actions/modify-order.d.cts.map +1 -1
- package/dist/actions/modify-order.d.mts +3 -26
- 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 -46
- package/dist/actions/preview-order.d.cts.map +1 -1
- package/dist/actions/preview-order.d.mts +3 -46
- 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 -22
- package/dist/actions/search-markets-and-events.d.cts.map +1 -1
- package/dist/actions/search-markets-and-events.d.mts +3 -22
- 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 +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-activities.d.ts
|
|
@@ -24,27 +26,7 @@ declare const PolymarketUsGetActivitiesOutput: z.ZodObject<{
|
|
|
24
26
|
activities: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
25
27
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const polymarketUsGetActivities:
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
types?: ("ACTIVITY_TYPE_TRADE" | "ACTIVITY_TYPE_POSITION_RESOLUTION" | "ACTIVITY_TYPE_ACCOUNT_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL" | "ACTIVITY_TYPE_REFERRAL_BONUS" | "ACTIVITY_TYPE_TRANSFER")[] | undefined;
|
|
30
|
-
cursor?: string | undefined;
|
|
31
|
-
sortOrder?: "SORT_ORDER_DESCENDING" | "SORT_ORDER_ASCENDING" | undefined;
|
|
32
|
-
marketSlug?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
secret_key: z.ZodString;
|
|
39
|
-
key_id: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
secret_key: z.ZodString;
|
|
46
|
-
key_id: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const polymarketUsGetActivities: AppAction<typeof PolymarketUsGetActivitiesInput, typeof PolymarketUsGetActivitiesOutput, typeof polymarketUs.credential>;
|
|
48
30
|
//#endregion
|
|
49
31
|
export { polymarketUsGetActivities };
|
|
50
32
|
//# sourceMappingURL=get-activities.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activities.d.mts","names":[],"sources":["../../src/actions/get-activities.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-activities.d.mts","names":[],"sources":["../../src/actions/get-activities.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-activities.mjs","names":[],"sources":["../../src/actions/get-activities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetActivities = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-activities.mjs","names":[],"sources":["../../src/actions/get-activities.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 PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetActivities: AppAction<\n typeof PolymarketUsGetActivitiesInput,\n typeof PolymarketUsGetActivitiesOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1K,OAAO,EAAE,MAAM,EAAE,KAAK;GAAC;GAAuB;GAAqC;GAAiC;GAA0C;GAAoC;GAAgC;EAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EAClc,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK,CAAC,yBAAyB,sBAAsB,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACjN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC5N,CAeS;CACP,QAf6C,EAAE,OAAO;EACtD,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-event-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 PolymarketUsGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById: AppAction<\n typeof PolymarketUsGetEventByIdInput,\n typeof PolymarketUsGetEventByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,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-event-by-id.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetEventByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetEventByIdOutput: z.ZodObject<{
|
|
8
10
|
event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetEventById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetEventById: AppAction<typeof PolymarketUsGetEventByIdInput, typeof PolymarketUsGetEventByIdOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetEventById };
|
|
29
15
|
//# sourceMappingURL=get-event-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-id.d.cts","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-id.d.cts","names":[],"sources":["../../src/actions/get-event-by-id.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-event-by-id.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetEventByIdInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetEventByIdOutput: z.ZodObject<{
|
|
8
10
|
event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetEventById:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetEventById: AppAction<typeof PolymarketUsGetEventByIdInput, typeof PolymarketUsGetEventByIdOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetEventById };
|
|
29
15
|
//# sourceMappingURL=get-event-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-id.d.mts","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-id.d.mts","names":[],"sources":["../../src/actions/get-event-by-id.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-event-by-id.mjs","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-id.mjs","names":[],"sources":["../../src/actions/get-event-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 PolymarketUsGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById: AppAction<\n typeof PolymarketUsGetEventByIdInput,\n typeof PolymarketUsGetEventByIdOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;;AAaA,MAAa,2BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,CAaS;CACP,QAb4C,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-event-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-event-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 PolymarketUsGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug: AppAction<\n typeof PolymarketUsGetEventBySlugInput,\n typeof PolymarketUsGetEventBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,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-event-by-slug.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetEventBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetEventBySlugOutput: z.ZodObject<{
|
|
8
10
|
event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetEventBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetEventBySlug: AppAction<typeof PolymarketUsGetEventBySlugInput, typeof PolymarketUsGetEventBySlugOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetEventBySlug };
|
|
29
15
|
//# sourceMappingURL=get-event-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-slug.d.cts","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.d.cts","names":[],"sources":["../../src/actions/get-event-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-event-by-slug.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetEventBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetEventBySlugOutput: z.ZodObject<{
|
|
8
10
|
event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetEventBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetEventBySlug: AppAction<typeof PolymarketUsGetEventBySlugInput, typeof PolymarketUsGetEventBySlugOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetEventBySlug };
|
|
29
15
|
//# sourceMappingURL=get-event-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-by-slug.d.mts","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.d.mts","names":[],"sources":["../../src/actions/get-event-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-event-by-slug.mjs","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-by-slug.mjs","names":[],"sources":["../../src/actions/get-event-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 PolymarketUsGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug: AppAction<\n typeof PolymarketUsGetEventBySlugInput,\n typeof PolymarketUsGetEventBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-league-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetLeagueBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n}).passthrough();\n\nexport const polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-league-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 PolymarketUsGetLeagueBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n}).passthrough();\n\nexport const polymarketUsGetLeagueBySlug: AppAction<\n typeof PolymarketUsGetLeagueBySlugInput,\n typeof PolymarketUsGetLeagueBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,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-league-by-slug.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetLeagueBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetLeagueBySlugOutput: z.ZodObject<{
|
|
8
10
|
league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetLeagueBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetLeagueBySlug: AppAction<typeof PolymarketUsGetLeagueBySlugInput, typeof PolymarketUsGetLeagueBySlugOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetLeagueBySlug };
|
|
29
15
|
//# sourceMappingURL=get-league-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-league-by-slug.d.cts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.d.cts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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-league-by-slug.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetLeagueBySlugInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetLeagueBySlugOutput: z.ZodObject<{
|
|
8
10
|
league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetLeagueBySlug:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetLeagueBySlug: AppAction<typeof PolymarketUsGetLeagueBySlugInput, typeof PolymarketUsGetLeagueBySlugOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetLeagueBySlug };
|
|
29
15
|
//# sourceMappingURL=get-league-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-league-by-slug.d.mts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.d.mts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-league-by-slug.mjs","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetLeagueBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n}).passthrough();\n\nexport const polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-league-by-slug.mjs","names":[],"sources":["../../src/actions/get-league-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 PolymarketUsGetLeagueBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketUsGetLeagueBySlugOutput = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n}).passthrough();\n\nexport const polymarketUsGetLeagueBySlug: AppAction<\n typeof PolymarketUsGetLeagueBySlugInput,\n typeof PolymarketUsGetLeagueBySlugOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAaS;CACP,QAb+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-bbo.cjs","names":["z","action"],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-bbo.cjs","names":["z","action"],"sources":["../../src/actions/get-market-bbo.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 PolymarketUsGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo: AppAction<\n typeof PolymarketUsGetMarketBboInput,\n typeof PolymarketUsGetMarketBboOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,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-market-bbo.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetMarketBboInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketBboOutput: z.ZodObject<{
|
|
8
10
|
bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketBbo:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetMarketBbo: AppAction<typeof PolymarketUsGetMarketBboInput, typeof PolymarketUsGetMarketBboOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetMarketBbo };
|
|
29
15
|
//# sourceMappingURL=get-market-bbo.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-bbo.d.cts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-bbo.d.cts","names":[],"sources":["../../src/actions/get-market-bbo.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-market-bbo.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetMarketBboInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketBboOutput: z.ZodObject<{
|
|
8
10
|
bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketBbo:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetMarketBbo: AppAction<typeof PolymarketUsGetMarketBboInput, typeof PolymarketUsGetMarketBboOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetMarketBbo };
|
|
29
15
|
//# sourceMappingURL=get-market-bbo.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-bbo.d.mts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-bbo.d.mts","names":[],"sources":["../../src/actions/get-market-bbo.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-market-bbo.mjs","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-bbo.mjs","names":[],"sources":["../../src/actions/get-market-bbo.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 PolymarketUsGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo: AppAction<\n typeof PolymarketUsGetMarketBboInput,\n typeof PolymarketUsGetMarketBboOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;;AAaA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAaS;CACP,QAb4C,EAAE,OAAO,EACrD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-book.cjs","names":["z","action"],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetMarketBookInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-book.cjs","names":["z","action"],"sources":["../../src/actions/get-market-book.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 PolymarketUsGetMarketBookInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBook: AppAction<\n typeof PolymarketUsGetMarketBookInput,\n typeof PolymarketUsGetMarketBookOutput,\n typeof polymarketUs.credential\n> = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,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-market-book.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetMarketBookInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketBookOutput: z.ZodObject<{
|
|
8
10
|
book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketBook:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetMarketBook: AppAction<typeof PolymarketUsGetMarketBookInput, typeof PolymarketUsGetMarketBookOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetMarketBook };
|
|
29
15
|
//# sourceMappingURL=get-market-book.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-book.d.cts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-book.d.cts","names":[],"sources":["../../src/actions/get-market-book.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-market-book.d.ts
|
|
@@ -7,23 +9,7 @@ declare const PolymarketUsGetMarketBookInput: z.ZodObject<{
|
|
|
7
9
|
declare const PolymarketUsGetMarketBookOutput: z.ZodObject<{
|
|
8
10
|
book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const polymarketUsGetMarketBook:
|
|
11
|
-
slug: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
secret_key: z.ZodString;
|
|
18
|
-
key_id: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket_us", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
secret_key: z.ZodString;
|
|
25
|
-
key_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const polymarketUsGetMarketBook: AppAction<typeof PolymarketUsGetMarketBookInput, typeof PolymarketUsGetMarketBookOutput, typeof polymarketUs.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { polymarketUsGetMarketBook };
|
|
29
15
|
//# sourceMappingURL=get-market-book.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-book.d.mts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-market-book.d.mts","names":[],"sources":["../../src/actions/get-market-book.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"}
|