@keystrokehq/polymarket 0.1.0 → 0.1.2
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.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.cts +9 -3
- package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
- package/dist/actions/cancel-all-open-orders.d.mts +9 -3
- package/dist/actions/cancel-all-open-orders.d.mts.map +1 -1
- package/dist/actions/cancel-all-open-orders.mjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.cjs.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.cts +15 -3
- package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
- package/dist/actions/cancel-multiple-orders.d.mts +15 -3
- package/dist/actions/cancel-multiple-orders.d.mts.map +1 -1
- package/dist/actions/cancel-multiple-orders.mjs.map +1 -1
- package/dist/actions/cancel-order.cjs +1 -1
- package/dist/actions/cancel-order.cjs.map +1 -1
- package/dist/actions/cancel-order.d.cts +11 -3
- package/dist/actions/cancel-order.d.cts.map +1 -1
- package/dist/actions/cancel-order.d.mts +11 -3
- package/dist/actions/cancel-order.d.mts.map +1 -1
- package/dist/actions/cancel-order.mjs +1 -1
- package/dist/actions/cancel-order.mjs.map +1 -1
- package/dist/actions/close-position-order.cjs.map +1 -1
- package/dist/actions/close-position-order.d.cts +34 -3
- package/dist/actions/close-position-order.d.cts.map +1 -1
- package/dist/actions/close-position-order.d.mts +34 -3
- package/dist/actions/close-position-order.d.mts.map +1 -1
- package/dist/actions/close-position-order.mjs.map +1 -1
- package/dist/actions/create-multiple-orders.cjs.map +1 -1
- package/dist/actions/create-multiple-orders.d.cts +90 -3
- package/dist/actions/create-multiple-orders.d.cts.map +1 -1
- package/dist/actions/create-multiple-orders.d.mts +90 -3
- package/dist/actions/create-multiple-orders.d.mts.map +1 -1
- package/dist/actions/create-multiple-orders.mjs.map +1 -1
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +90 -3
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +90 -3
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/get-account-balances.cjs.map +1 -1
- package/dist/actions/get-account-balances.d.cts +27 -3
- package/dist/actions/get-account-balances.d.cts.map +1 -1
- package/dist/actions/get-account-balances.d.mts +27 -3
- package/dist/actions/get-account-balances.d.mts.map +1 -1
- package/dist/actions/get-account-balances.mjs.map +1 -1
- package/dist/actions/get-activities.cjs.map +1 -1
- package/dist/actions/get-activities.d.cts +30 -3
- package/dist/actions/get-activities.d.cts.map +1 -1
- package/dist/actions/get-activities.d.mts +30 -3
- package/dist/actions/get-activities.d.mts.map +1 -1
- package/dist/actions/get-activities.mjs.map +1 -1
- package/dist/actions/get-event-by-id.cjs.map +1 -1
- package/dist/actions/get-event-by-id.d.cts +9 -3
- package/dist/actions/get-event-by-id.d.cts.map +1 -1
- package/dist/actions/get-event-by-id.d.mts +9 -3
- package/dist/actions/get-event-by-id.d.mts.map +1 -1
- package/dist/actions/get-event-by-id.mjs.map +1 -1
- package/dist/actions/get-event-by-slug.cjs.map +1 -1
- package/dist/actions/get-event-by-slug.d.cts +9 -3
- package/dist/actions/get-event-by-slug.d.cts.map +1 -1
- package/dist/actions/get-event-by-slug.d.mts +9 -3
- package/dist/actions/get-event-by-slug.d.mts.map +1 -1
- package/dist/actions/get-event-by-slug.mjs.map +1 -1
- package/dist/actions/get-league-by-slug.cjs.map +1 -1
- package/dist/actions/get-league-by-slug.d.cts +9 -3
- package/dist/actions/get-league-by-slug.d.cts.map +1 -1
- package/dist/actions/get-league-by-slug.d.mts +9 -3
- package/dist/actions/get-league-by-slug.d.mts.map +1 -1
- package/dist/actions/get-league-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-bbo.cjs.map +1 -1
- package/dist/actions/get-market-bbo.d.cts +9 -3
- package/dist/actions/get-market-bbo.d.cts.map +1 -1
- package/dist/actions/get-market-bbo.d.mts +9 -3
- package/dist/actions/get-market-bbo.d.mts.map +1 -1
- package/dist/actions/get-market-bbo.mjs.map +1 -1
- package/dist/actions/get-market-book.cjs.map +1 -1
- package/dist/actions/get-market-book.d.cts +9 -3
- package/dist/actions/get-market-book.d.cts.map +1 -1
- package/dist/actions/get-market-book.d.mts +9 -3
- package/dist/actions/get-market-book.d.mts.map +1 -1
- package/dist/actions/get-market-book.mjs.map +1 -1
- package/dist/actions/get-market-by-id.cjs.map +1 -1
- package/dist/actions/get-market-by-id.d.cts +9 -3
- package/dist/actions/get-market-by-id.d.cts.map +1 -1
- package/dist/actions/get-market-by-id.d.mts +9 -3
- package/dist/actions/get-market-by-id.d.mts.map +1 -1
- package/dist/actions/get-market-by-id.mjs.map +1 -1
- package/dist/actions/get-market-by-slug.cjs.map +1 -1
- package/dist/actions/get-market-by-slug.d.cts +9 -3
- package/dist/actions/get-market-by-slug.d.cts.map +1 -1
- package/dist/actions/get-market-by-slug.d.mts +9 -3
- package/dist/actions/get-market-by-slug.d.mts.map +1 -1
- package/dist/actions/get-market-by-slug.mjs.map +1 -1
- package/dist/actions/get-market-settlement.cjs.map +1 -1
- package/dist/actions/get-market-settlement.d.cts +11 -3
- package/dist/actions/get-market-settlement.d.cts.map +1 -1
- package/dist/actions/get-market-settlement.d.mts +11 -3
- package/dist/actions/get-market-settlement.d.mts.map +1 -1
- package/dist/actions/get-market-settlement.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.d.cts +9 -3
- package/dist/actions/get-markets-for-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.d.mts +9 -3
- package/dist/actions/get-markets-for-subject-by-slug.d.mts.map +1 -1
- package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-markets-for-subject.cjs.map +1 -1
- package/dist/actions/get-markets-for-subject.d.cts +9 -3
- package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
- package/dist/actions/get-markets-for-subject.d.mts +9 -3
- package/dist/actions/get-markets-for-subject.d.mts.map +1 -1
- package/dist/actions/get-markets-for-subject.mjs.map +1 -1
- package/dist/actions/get-open-orders.cjs.map +1 -1
- package/dist/actions/get-open-orders.d.cts +9 -3
- package/dist/actions/get-open-orders.d.cts.map +1 -1
- package/dist/actions/get-open-orders.d.mts +9 -3
- package/dist/actions/get-open-orders.d.mts.map +1 -1
- package/dist/actions/get-open-orders.mjs.map +1 -1
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +9 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +9 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-series-by-id.cjs.map +1 -1
- package/dist/actions/get-series-by-id.d.cts +9 -3
- package/dist/actions/get-series-by-id.d.cts.map +1 -1
- package/dist/actions/get-series-by-id.d.mts +9 -3
- package/dist/actions/get-series-by-id.d.mts.map +1 -1
- package/dist/actions/get-series-by-id.mjs.map +1 -1
- package/dist/actions/get-sport-by-slug.cjs.map +1 -1
- package/dist/actions/get-sport-by-slug.d.cts +9 -3
- package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
- package/dist/actions/get-sport-by-slug.d.mts +9 -3
- package/dist/actions/get-sport-by-slug.d.mts.map +1 -1
- package/dist/actions/get-sport-by-slug.mjs.map +1 -1
- package/dist/actions/get-subject-by-id.cjs.map +1 -1
- package/dist/actions/get-subject-by-id.d.cts +9 -3
- package/dist/actions/get-subject-by-id.d.cts.map +1 -1
- package/dist/actions/get-subject-by-id.d.mts +9 -3
- package/dist/actions/get-subject-by-id.d.mts.map +1 -1
- package/dist/actions/get-subject-by-id.mjs.map +1 -1
- package/dist/actions/get-subject-by-slug.cjs.map +1 -1
- package/dist/actions/get-subject-by-slug.d.cts +9 -3
- package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
- package/dist/actions/get-subject-by-slug.d.mts +9 -3
- package/dist/actions/get-subject-by-slug.d.mts.map +1 -1
- package/dist/actions/get-subject-by-slug.mjs.map +1 -1
- package/dist/actions/get-tag-by-id.cjs.map +1 -1
- package/dist/actions/get-tag-by-id.d.cts +9 -3
- package/dist/actions/get-tag-by-id.d.cts.map +1 -1
- package/dist/actions/get-tag-by-id.d.mts +9 -3
- package/dist/actions/get-tag-by-id.d.mts.map +1 -1
- package/dist/actions/get-tag-by-id.mjs.map +1 -1
- package/dist/actions/get-tag-by-slug.cjs.map +1 -1
- package/dist/actions/get-tag-by-slug.d.cts +9 -3
- package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
- package/dist/actions/get-tag-by-slug.d.mts +9 -3
- package/dist/actions/get-tag-by-slug.d.mts.map +1 -1
- package/dist/actions/get-tag-by-slug.mjs.map +1 -1
- package/dist/actions/get-user-positions.cjs +1 -1
- package/dist/actions/get-user-positions.cjs.map +1 -1
- package/dist/actions/get-user-positions.d.cts +16 -3
- package/dist/actions/get-user-positions.d.cts.map +1 -1
- package/dist/actions/get-user-positions.d.mts +16 -3
- package/dist/actions/get-user-positions.d.mts.map +1 -1
- package/dist/actions/get-user-positions.mjs +1 -1
- package/dist/actions/get-user-positions.mjs.map +1 -1
- package/dist/actions/list-events-for-league.cjs.map +1 -1
- package/dist/actions/list-events-for-league.d.cts +25 -3
- package/dist/actions/list-events-for-league.d.cts.map +1 -1
- package/dist/actions/list-events-for-league.d.mts +25 -3
- package/dist/actions/list-events-for-league.d.mts.map +1 -1
- package/dist/actions/list-events-for-league.mjs.map +1 -1
- package/dist/actions/list-events-for-series.cjs.map +1 -1
- package/dist/actions/list-events-for-series.d.cts +25 -3
- package/dist/actions/list-events-for-series.d.cts.map +1 -1
- package/dist/actions/list-events-for-series.d.mts +25 -3
- package/dist/actions/list-events-for-series.d.mts.map +1 -1
- package/dist/actions/list-events-for-series.mjs.map +1 -1
- package/dist/actions/list-events-for-sport.cjs.map +1 -1
- package/dist/actions/list-events-for-sport.d.cts +25 -3
- package/dist/actions/list-events-for-sport.d.cts.map +1 -1
- package/dist/actions/list-events-for-sport.d.mts +25 -3
- package/dist/actions/list-events-for-sport.d.mts.map +1 -1
- package/dist/actions/list-events-for-sport.mjs.map +1 -1
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +40 -3
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +40 -3
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-featured-tags.cjs.map +1 -1
- package/dist/actions/list-featured-tags.d.cts +5 -3
- package/dist/actions/list-featured-tags.d.cts.map +1 -1
- package/dist/actions/list-featured-tags.d.mts +5 -3
- package/dist/actions/list-featured-tags.d.mts.map +1 -1
- package/dist/actions/list-featured-tags.mjs.map +1 -1
- package/dist/actions/list-leagues.cjs.map +1 -1
- package/dist/actions/list-leagues.d.cts +11 -3
- package/dist/actions/list-leagues.d.cts.map +1 -1
- package/dist/actions/list-leagues.d.mts +11 -3
- package/dist/actions/list-leagues.d.mts.map +1 -1
- package/dist/actions/list-leagues.mjs.map +1 -1
- package/dist/actions/list-markets.cjs.map +1 -1
- package/dist/actions/list-markets.d.cts +45 -3
- package/dist/actions/list-markets.d.cts.map +1 -1
- package/dist/actions/list-markets.d.mts +45 -3
- package/dist/actions/list-markets.d.mts.map +1 -1
- package/dist/actions/list-markets.mjs.map +1 -1
- package/dist/actions/list-series.cjs.map +1 -1
- package/dist/actions/list-series.d.cts +24 -3
- package/dist/actions/list-series.d.cts.map +1 -1
- package/dist/actions/list-series.d.mts +24 -3
- package/dist/actions/list-series.d.mts.map +1 -1
- package/dist/actions/list-series.mjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.cts +16 -3
- package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.d.mts +16 -3
- package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -1
- package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
- package/dist/actions/list-sports-teams.cjs.map +1 -1
- package/dist/actions/list-sports-teams.d.cts +26 -3
- package/dist/actions/list-sports-teams.d.cts.map +1 -1
- package/dist/actions/list-sports-teams.d.mts +26 -3
- package/dist/actions/list-sports-teams.d.mts.map +1 -1
- package/dist/actions/list-sports-teams.mjs.map +1 -1
- package/dist/actions/list-sports.cjs.map +1 -1
- package/dist/actions/list-sports.d.cts +5 -3
- package/dist/actions/list-sports.d.cts.map +1 -1
- package/dist/actions/list-sports.d.mts +5 -3
- package/dist/actions/list-sports.d.mts.map +1 -1
- package/dist/actions/list-sports.mjs.map +1 -1
- package/dist/actions/list-subjects.cjs.map +1 -1
- package/dist/actions/list-subjects.d.cts +15 -3
- package/dist/actions/list-subjects.d.cts.map +1 -1
- package/dist/actions/list-subjects.d.mts +15 -3
- package/dist/actions/list-subjects.d.mts.map +1 -1
- package/dist/actions/list-subjects.mjs.map +1 -1
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +26 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +26 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/modify-multiple-orders.cjs.map +1 -1
- package/dist/actions/modify-multiple-orders.d.cts +37 -3
- package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
- package/dist/actions/modify-multiple-orders.d.mts +37 -3
- package/dist/actions/modify-multiple-orders.d.mts.map +1 -1
- package/dist/actions/modify-multiple-orders.mjs.map +1 -1
- package/dist/actions/modify-order.cjs +1 -1
- package/dist/actions/modify-order.cjs.map +1 -1
- package/dist/actions/modify-order.d.cts +33 -3
- package/dist/actions/modify-order.d.cts.map +1 -1
- package/dist/actions/modify-order.d.mts +33 -3
- package/dist/actions/modify-order.d.mts.map +1 -1
- package/dist/actions/modify-order.mjs +1 -1
- package/dist/actions/modify-order.mjs.map +1 -1
- package/dist/actions/preview-order.cjs.map +1 -1
- package/dist/actions/preview-order.d.cts +90 -3
- package/dist/actions/preview-order.d.cts.map +1 -1
- package/dist/actions/preview-order.d.mts +90 -3
- package/dist/actions/preview-order.d.mts.map +1 -1
- package/dist/actions/preview-order.mjs.map +1 -1
- package/dist/actions/search-markets-and-events.cjs.map +1 -1
- package/dist/actions/search-markets-and-events.d.cts +19 -3
- package/dist/actions/search-markets-and-events.d.cts.map +1 -1
- package/dist/actions/search-markets-and-events.d.mts +19 -3
- package/dist/actions/search-markets-and-events.d.mts.map +1 -1
- package/dist/actions/search-markets-and-events.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-market-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetMarketBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
|
|
8
|
+
market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketBySlug };
|
|
9
15
|
//# sourceMappingURL=get-market-by-slug.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-by-slug.d.cts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.d.cts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-market-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetMarketBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
|
|
8
|
+
market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketBySlug };
|
|
9
15
|
//# sourceMappingURL=get-market-by-slug.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-by-slug.d.mts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.d.mts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-by-slug.mjs","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBySlugInput
|
|
1
|
+
{"version":3,"file":"get-market-by-slug.mjs","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBySlugInput = 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 PolymarketGetMarketBySlugOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketGetMarketBySlug = action(\"POLYMARKET_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketBySlugInput,\n output: PolymarketGetMarketBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-settlement.cjs","names":["z","action"],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput
|
|
1
|
+
{"version":3,"file":"get-market-settlement.cjs","names":["z","action"],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput = 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 fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketGetMarketSettlementOutput = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketGetMarketSettlement = action(\"POLYMARKET_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketSettlementInput,\n output: PolymarketGetMarketSettlementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACjI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-market-settlement.d.ts
|
|
4
|
-
declare const PolymarketGetMarketSettlementInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
fromEp3: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
|
|
9
|
+
settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const polymarketGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
slug: string;
|
|
13
|
+
fromEp3?: boolean | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { polymarketGetMarketSettlement };
|
|
9
17
|
//# sourceMappingURL=get-market-settlement.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-settlement.d.cts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-market-settlement.d.cts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-market-settlement.d.ts
|
|
4
|
-
declare const PolymarketGetMarketSettlementInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
fromEp3: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
|
|
9
|
+
settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const polymarketGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
slug: string;
|
|
13
|
+
fromEp3?: boolean | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { polymarketGetMarketSettlement };
|
|
9
17
|
//# sourceMappingURL=get-market-settlement.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-settlement.d.mts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-market-settlement.d.mts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-settlement.mjs","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput
|
|
1
|
+
{"version":3,"file":"get-market-settlement.mjs","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput = 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 fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketGetMarketSettlementOutput = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketGetMarketSettlement = action(\"POLYMARKET_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketSettlementInput,\n output: PolymarketGetMarketSettlementOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markets-for-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectBySlugInput
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectBySlugInput = 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 PolymarketGetMarketsForSubjectBySlugOutput = 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});\n\nexport const polymarketGetMarketsForSubjectBySlug = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-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: PolymarketGetMarketsForSubjectBySlugInput,\n output: PolymarketGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markets-for-subject-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetMarketsForSubjectBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketsForSubjectBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketsForSubjectBySlugOutput: z.ZodObject<{
|
|
8
|
+
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketsForSubjectBySlug };
|
|
9
15
|
//# sourceMappingURL=get-markets-for-subject-by-slug.d.cts.map
|
|
@@ -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":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markets-for-subject-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetMarketsForSubjectBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketsForSubjectBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketsForSubjectBySlugOutput: z.ZodObject<{
|
|
8
|
+
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketsForSubjectBySlug };
|
|
9
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":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -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 PolymarketGetMarketsForSubjectBySlugInput
|
|
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 PolymarketGetMarketsForSubjectBySlugInput = 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 PolymarketGetMarketsForSubjectBySlugOutput = 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});\n\nexport const polymarketGetMarketsForSubjectBySlug = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-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: PolymarketGetMarketsForSubjectBySlugInput,\n output: PolymarketGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CASS;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAOU;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 PolymarketGetMarketsForSubjectInput
|
|
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 PolymarketGetMarketsForSubjectInput = 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 PolymarketGetMarketsForSubjectOutput = 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});\n\nexport const polymarketGetMarketsForSubject = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-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: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markets-for-subject.d.ts
|
|
4
|
-
declare const PolymarketGetMarketsForSubjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketsForSubjectInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketsForSubjectOutput: z.ZodObject<{
|
|
8
|
+
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketsForSubject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketsForSubject };
|
|
9
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":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markets-for-subject.d.ts
|
|
4
|
-
declare const PolymarketGetMarketsForSubjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetMarketsForSubjectInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetMarketsForSubjectOutput: z.ZodObject<{
|
|
8
|
+
markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetMarketsForSubject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetMarketsForSubject };
|
|
9
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":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-markets-for-subject.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -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 PolymarketGetMarketsForSubjectInput
|
|
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 PolymarketGetMarketsForSubjectInput = 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 PolymarketGetMarketsForSubjectOutput = 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});\n\nexport const polymarketGetMarketsForSubject = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-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: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;AAWA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CASS;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAOU;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 PolymarketGetOpenOrdersInput
|
|
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 PolymarketGetOpenOrdersInput = 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 PolymarketGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n});\n\nexport const polymarketGetOpenOrders = action(\"POLYMARKET_GET_OPEN_ORDERS\", {\n slug: \"polymarket-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: PolymarketGetOpenOrdersInput,\n output: PolymarketGetOpenOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,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;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-open-orders.d.ts
|
|
4
|
-
declare const PolymarketGetOpenOrdersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetOpenOrdersInput: z.ZodObject<{
|
|
5
|
+
slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetOpenOrdersOutput: z.ZodObject<{
|
|
8
|
+
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetOpenOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slugs?: string[] | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetOpenOrders };
|
|
9
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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-open-orders.d.cts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-open-orders.d.ts
|
|
4
|
-
declare const PolymarketGetOpenOrdersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetOpenOrdersInput: z.ZodObject<{
|
|
5
|
+
slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetOpenOrdersOutput: z.ZodObject<{
|
|
8
|
+
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetOpenOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slugs?: string[] | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetOpenOrders };
|
|
9
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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-open-orders.d.mts","names":[],"sources":["../../src/actions/get-open-orders.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -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 PolymarketGetOpenOrdersInput
|
|
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 PolymarketGetOpenOrdersInput = 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 PolymarketGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n});\n\nexport const polymarketGetOpenOrders = action(\"POLYMARKET_GET_OPEN_ORDERS\", {\n slug: \"polymarket-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: PolymarketGetOpenOrdersInput,\n output: PolymarketGetOpenOrdersOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAOU;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 PolymarketGetOrderInput
|
|
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 PolymarketGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n});\n\nexport const polymarketGetOrder = action(\"POLYMARKET_GET_ORDER\", {\n slug: \"polymarket-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: PolymarketGetOrderInput,\n output: PolymarketGetOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACvH,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-order.d.ts
|
|
4
|
-
declare const PolymarketGetOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetOrderInput: z.ZodObject<{
|
|
5
|
+
orderId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetOrderOutput: z.ZodObject<{
|
|
8
|
+
order: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
orderId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetOrder };
|
|
9
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":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-order.d.cts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-order.d.ts
|
|
4
|
-
declare const PolymarketGetOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetOrderInput: z.ZodObject<{
|
|
5
|
+
orderId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetOrderOutput: z.ZodObject<{
|
|
8
|
+
order: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
orderId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetOrder };
|
|
9
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":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-order.d.mts","names":[],"sources":["../../src/actions/get-order.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -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 PolymarketGetOrderInput
|
|
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 PolymarketGetOrderInput = z.object({\n orderId: z.string().describe(\"Exchange-assigned order ID for an order owned by the authenticated account.\"),\n});\nexport const PolymarketGetOrderOutput = z.object({\n order: z.record(z.string(), z.unknown()).describe(\"Order details visible to the authenticated Polymarket US account.\"),\n});\n\nexport const polymarketGetOrder = action(\"POLYMARKET_GET_ORDER\", {\n slug: \"polymarket-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: PolymarketGetOrderInput,\n output: PolymarketGetOrderOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CASS;CACP,QATsC,EAAE,OAAO,EAC/C,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACvH,CAOU;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 PolymarketGetSeriesByIdInput
|
|
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 PolymarketGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketGetSeriesByIdOutput = 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});\n\nexport const polymarketGetSeriesById = action(\"POLYMARKET_GET_SERIES_BY_ID\", {\n slug: \"polymarket-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: PolymarketGetSeriesByIdInput,\n output: PolymarketGetSeriesByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-series-by-id.d.ts
|
|
4
|
-
declare const PolymarketGetSeriesByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSeriesByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSeriesByIdOutput: z.ZodObject<{
|
|
8
|
+
series: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetSeriesById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSeriesById };
|
|
9
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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-series-by-id.d.cts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-series-by-id.d.ts
|
|
4
|
-
declare const PolymarketGetSeriesByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSeriesByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSeriesByIdOutput: z.ZodObject<{
|
|
8
|
+
series: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetSeriesById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSeriesById };
|
|
9
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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-series-by-id.d.mts","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -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 PolymarketGetSeriesByIdInput
|
|
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 PolymarketGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketGetSeriesByIdOutput = 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});\n\nexport const polymarketGetSeriesById = action(\"POLYMARKET_GET_SERIES_BY_ID\", {\n slug: \"polymarket-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: PolymarketGetSeriesByIdInput,\n output: PolymarketGetSeriesByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,CAOU;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 PolymarketGetSportBySlugInput
|
|
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 PolymarketGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketGetSportBySlugOutput = 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});\n\nexport const polymarketGetSportBySlug = action(\"POLYMARKET_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket-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: PolymarketGetSportBySlugInput,\n output: PolymarketGetSportBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-sport-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetSportBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSportBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSportBySlugOutput: z.ZodObject<{
|
|
8
|
+
sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetSportBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSportBySlug };
|
|
9
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":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-sport-by-slug.d.cts","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-sport-by-slug.d.ts
|
|
4
|
-
declare const PolymarketGetSportBySlugInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolymarketGetSportBySlugInput: z.ZodObject<{
|
|
5
|
+
slug: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolymarketGetSportBySlugOutput: z.ZodObject<{
|
|
8
|
+
sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const polymarketGetSportBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
slug: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { polymarketGetSportBySlug };
|
|
9
15
|
//# sourceMappingURL=get-sport-by-slug.d.mts.map
|