parsec-api 0.9.0 → 0.11.0
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/CHANGELOG.md +38 -0
- package/README.md +0 -117
- package/client.d.mts +18 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -25
- package/client.d.ts.map +1 -1
- package/client.js +18 -38
- package/client.js.map +1 -1
- package/client.mjs +18 -38
- package/client.mjs.map +1 -1
- package/core/error.d.mts +0 -12
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +0 -12
- package/core/error.d.ts.map +1 -1
- package/core/error.js +0 -24
- package/core/error.js.map +1 -1
- package/core/error.mjs +0 -24
- package/core/error.mjs.map +1 -1
- package/index.d.mts +0 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -3
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/internal/tslib.js +21 -21
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +2 -3
- package/resources/account.d.mts +63 -39
- package/resources/account.d.mts.map +1 -1
- package/resources/account.d.ts +63 -39
- package/resources/account.d.ts.map +1 -1
- package/resources/account.js +5 -13
- package/resources/account.js.map +1 -1
- package/resources/account.mjs +5 -13
- package/resources/account.mjs.map +1 -1
- package/resources/builder/builder.d.mts +40 -0
- package/resources/builder/builder.d.mts.map +1 -0
- package/resources/builder/builder.d.ts +40 -0
- package/resources/builder/builder.d.ts.map +1 -0
- package/resources/builder/builder.js +32 -0
- package/resources/builder/builder.js.map +1 -0
- package/resources/builder/builder.mjs +27 -0
- package/resources/builder/builder.mjs.map +1 -0
- package/resources/builder/escrow.d.mts +49 -0
- package/resources/builder/escrow.d.mts.map +1 -0
- package/resources/builder/escrow.d.ts +49 -0
- package/resources/builder/escrow.d.ts.map +1 -0
- package/resources/builder/escrow.js +17 -0
- package/resources/builder/escrow.js.map +1 -0
- package/resources/builder/escrow.mjs +13 -0
- package/resources/builder/escrow.mjs.map +1 -0
- package/resources/builder/index.d.mts +5 -0
- package/resources/builder/index.d.mts.map +1 -0
- package/resources/builder/index.d.ts +5 -0
- package/resources/builder/index.d.ts.map +1 -0
- package/resources/builder/index.js +13 -0
- package/resources/builder/index.js.map +1 -0
- package/resources/builder/index.mjs +6 -0
- package/resources/builder/index.mjs.map +1 -0
- package/resources/builder/onboard.d.mts +163 -0
- package/resources/builder/onboard.d.mts.map +1 -0
- package/resources/builder/onboard.d.ts +163 -0
- package/resources/builder/onboard.d.ts.map +1 -0
- package/resources/builder/onboard.js +16 -0
- package/resources/builder/onboard.js.map +1 -0
- package/resources/builder/onboard.mjs +12 -0
- package/resources/builder/onboard.mjs.map +1 -0
- package/resources/builder/users.d.mts +469 -0
- package/resources/builder/users.d.mts.map +1 -0
- package/resources/builder/users.d.ts +469 -0
- package/resources/builder/users.d.ts.map +1 -0
- package/resources/builder/users.js +46 -0
- package/resources/builder/users.js.map +1 -0
- package/resources/builder/users.mjs +42 -0
- package/resources/builder/users.mjs.map +1 -0
- package/resources/builder.d.mts +2 -0
- package/resources/builder.d.mts.map +1 -0
- package/resources/builder.d.ts +2 -0
- package/resources/builder.d.ts.map +1 -0
- package/resources/builder.js +6 -0
- package/resources/builder.js.map +1 -0
- package/resources/builder.mjs +3 -0
- package/resources/builder.mjs.map +1 -0
- package/resources/ctf.d.mts +97 -0
- package/resources/ctf.d.mts.map +1 -0
- package/resources/ctf.d.ts +97 -0
- package/resources/ctf.d.ts.map +1 -0
- package/resources/ctf.js +59 -0
- package/resources/ctf.js.map +1 -0
- package/resources/ctf.mjs +55 -0
- package/resources/ctf.mjs.map +1 -0
- package/resources/events.d.mts +84 -12
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +84 -12
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +4 -15
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +4 -15
- package/resources/events.mjs.map +1 -1
- package/resources/exchanges.d.mts +1 -1
- package/resources/exchanges.d.mts.map +1 -1
- package/resources/exchanges.d.ts +1 -1
- package/resources/exchanges.d.ts.map +1 -1
- package/resources/fills.d.mts +76 -0
- package/resources/fills.d.mts.map +1 -0
- package/resources/fills.d.ts +76 -0
- package/resources/fills.d.ts.map +1 -0
- package/resources/fills.js +27 -0
- package/resources/fills.js.map +1 -0
- package/resources/fills.mjs +23 -0
- package/resources/fills.mjs.map +1 -0
- package/resources/index.d.mts +7 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -2
- package/resources/index.mjs.map +1 -1
- package/resources/markets.d.mts +92 -19
- package/resources/markets.d.mts.map +1 -1
- package/resources/markets.d.ts +92 -19
- package/resources/markets.d.ts.map +1 -1
- package/resources/markets.js +1 -30
- package/resources/markets.js.map +1 -1
- package/resources/markets.mjs +1 -29
- package/resources/markets.mjs.map +1 -1
- package/resources/onboard.d.mts +91 -0
- package/resources/onboard.d.mts.map +1 -0
- package/resources/onboard.d.ts +91 -0
- package/resources/onboard.d.ts.map +1 -0
- package/resources/onboard.js +17 -0
- package/resources/onboard.js.map +1 -0
- package/resources/onboard.mjs +13 -0
- package/resources/onboard.mjs.map +1 -0
- package/resources/orderbook.d.mts +5 -11
- package/resources/orderbook.d.mts.map +1 -1
- package/resources/orderbook.d.ts +5 -11
- package/resources/orderbook.d.ts.map +1 -1
- package/resources/orderbook.js +2 -1
- package/resources/orderbook.js.map +1 -1
- package/resources/orderbook.mjs +2 -1
- package/resources/orderbook.mjs.map +1 -1
- package/resources/price.d.mts +1 -0
- package/resources/price.d.mts.map +1 -1
- package/resources/price.d.ts +1 -0
- package/resources/price.d.ts.map +1 -1
- package/resources/price.js +1 -0
- package/resources/price.js.map +1 -1
- package/resources/price.mjs +1 -0
- package/resources/price.mjs.map +1 -1
- package/resources/trades.d.mts +12 -2
- package/resources/trades.d.mts.map +1 -1
- package/resources/trades.d.ts +12 -2
- package/resources/trades.d.ts.map +1 -1
- package/resources/trades.js +2 -1
- package/resources/trades.js.map +1 -1
- package/resources/trades.mjs +2 -1
- package/resources/trades.mjs.map +1 -1
- package/resources/wallet.d.mts +177 -0
- package/resources/wallet.d.mts.map +1 -0
- package/resources/wallet.d.ts +177 -0
- package/resources/wallet.d.ts.map +1 -0
- package/resources/wallet.js +26 -0
- package/resources/wallet.js.map +1 -0
- package/resources/wallet.mjs +22 -0
- package/resources/wallet.mjs.map +1 -0
- package/src/client.ts +49 -63
- package/src/core/error.ts +0 -29
- package/src/index.ts +0 -14
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/account.ts +78 -55
- package/src/resources/builder/builder.ts +78 -0
- package/src/resources/builder/escrow.ts +62 -0
- package/src/resources/builder/index.ts +15 -0
- package/src/resources/builder/onboard.ts +206 -0
- package/src/resources/builder/users.ts +606 -0
- package/src/resources/builder.ts +3 -0
- package/src/resources/ctf.ts +122 -0
- package/src/resources/events.ts +104 -26
- package/src/resources/exchanges.ts +2 -2
- package/src/resources/fills.ts +107 -0
- package/src/resources/index.ts +12 -15
- package/src/resources/markets.ts +114 -49
- package/src/resources/onboard.ts +116 -0
- package/src/resources/orderbook.ts +4 -12
- package/src/resources/price.ts +1 -0
- package/src/resources/trades.ts +14 -3
- package/src/resources/wallet.ts +224 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/approvals.d.mts +0 -74
- package/resources/approvals.d.mts.map +0 -1
- package/resources/approvals.d.ts +0 -74
- package/resources/approvals.d.ts.map +0 -1
- package/resources/approvals.js +0 -22
- package/resources/approvals.js.map +0 -1
- package/resources/approvals.mjs +0 -18
- package/resources/approvals.mjs.map +0 -1
- package/src/resources/approvals.ts +0 -107
package/resources/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;OAIG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAZD,wBAYC"}
|
package/resources/events.mjs
CHANGED
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
import { attachBinaryOutcomeGetters } from "./markets.mjs";
|
|
4
3
|
export class Events extends APIResource {
|
|
5
4
|
/**
|
|
6
|
-
* Aggregates markets by event ID from the
|
|
7
|
-
* sorted by total volume (descending). Markets without an event_id are
|
|
5
|
+
* Aggregates markets by event ID from the DuckDB gold layer. Returns event
|
|
6
|
+
* summaries sorted by total volume (descending). Markets without an event_id are
|
|
7
|
+
* excluded.
|
|
8
8
|
*/
|
|
9
9
|
list(query = {}, options) {
|
|
10
|
-
|
|
11
|
-
query,
|
|
12
|
-
...options,
|
|
13
|
-
});
|
|
14
|
-
return request._thenUnwrap((data) => {
|
|
15
|
-
data.events.forEach((event) => {
|
|
16
|
-
if (!event.markets)
|
|
17
|
-
return;
|
|
18
|
-
event.markets = event.markets.map((market) => attachBinaryOutcomeGetters(market));
|
|
19
|
-
});
|
|
20
|
-
return data;
|
|
21
|
-
});
|
|
10
|
+
return this._client.get('/api/v1/events', { query, ...options });
|
|
22
11
|
}
|
|
23
12
|
}
|
|
24
13
|
//# sourceMappingURL=events.mjs.map
|
package/resources/events.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
|
|
@@ -22,11 +22,11 @@ export declare namespace ExchangeListResponse {
|
|
|
22
22
|
}
|
|
23
23
|
namespace ExchangeListResponseItem {
|
|
24
24
|
interface Has {
|
|
25
|
-
approvals: boolean;
|
|
26
25
|
cancel_order: boolean;
|
|
27
26
|
create_order: boolean;
|
|
28
27
|
fetch_balance: boolean;
|
|
29
28
|
fetch_events: boolean;
|
|
29
|
+
fetch_fills: boolean;
|
|
30
30
|
fetch_markets: boolean;
|
|
31
31
|
fetch_orderbook: boolean;
|
|
32
32
|
fetch_orderbook_history: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exchanges.d.mts","sourceRoot":"","sources":["../src/resources/exchanges.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAExF,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,wBAAwB;QACvC;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,GAAG,EAAE,wBAAwB,CAAC,GAAG,CAAC;QAElC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,wBAAwB,CAAC;QACxC,UAAiB,GAAG;YAClB,
|
|
1
|
+
{"version":3,"file":"exchanges.d.mts","sourceRoot":"","sources":["../src/resources/exchanges.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAExF,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,wBAAwB;QACvC;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,GAAG,EAAE,wBAAwB,CAAC,GAAG,CAAC;QAElC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,wBAAwB,CAAC;QACxC,UAAiB,GAAG;YAClB,YAAY,EAAE,OAAO,CAAC;YAEtB,YAAY,EAAE,OAAO,CAAC;YAEtB,aAAa,EAAE,OAAO,CAAC;YAEvB,YAAY,EAAE,OAAO,CAAC;YAEtB,WAAW,EAAE,OAAO,CAAC;YAErB,aAAa,EAAE,OAAO,CAAC;YAEvB,eAAe,EAAE,OAAO,CAAC;YAEzB,uBAAuB,EAAE,OAAO,CAAC;YAEjC,eAAe,EAAE,OAAO,CAAC;YAEzB,mBAAmB,EAAE,OAAO,CAAC;YAE7B,YAAY,EAAE,OAAO,CAAC;YAEtB,mBAAmB,EAAE,OAAO,CAAC;YAE7B,eAAe,EAAE,OAAO,CAAC;YAEzB,SAAS,EAAE,OAAO,CAAC;SACpB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
|
package/resources/exchanges.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ export declare namespace ExchangeListResponse {
|
|
|
22
22
|
}
|
|
23
23
|
namespace ExchangeListResponseItem {
|
|
24
24
|
interface Has {
|
|
25
|
-
approvals: boolean;
|
|
26
25
|
cancel_order: boolean;
|
|
27
26
|
create_order: boolean;
|
|
28
27
|
fetch_balance: boolean;
|
|
29
28
|
fetch_events: boolean;
|
|
29
|
+
fetch_fills: boolean;
|
|
30
30
|
fetch_markets: boolean;
|
|
31
31
|
fetch_orderbook: boolean;
|
|
32
32
|
fetch_orderbook_history: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exchanges.d.ts","sourceRoot":"","sources":["../src/resources/exchanges.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oB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CAAC;YAE7B,eAAe,EAAE,OAAO,CAAC;YAEzB,SAAS,EAAE,OAAO,CAAC;SACpB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Fills extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns fills (individual trade executions) for the authenticated customer on
|
|
7
|
+
* the specified exchange. A single order can produce multiple fills.
|
|
8
|
+
*/
|
|
9
|
+
list(params: FillListParams, options?: RequestOptions): APIPromise<FillListResponse>;
|
|
10
|
+
}
|
|
11
|
+
export type FillListResponse = Array<FillListResponse.FillListResponseItem>;
|
|
12
|
+
export declare namespace FillListResponse {
|
|
13
|
+
interface FillListResponseItem {
|
|
14
|
+
/**
|
|
15
|
+
* Timestamp of the fill (ISO 8601).
|
|
16
|
+
*/
|
|
17
|
+
created_at: string;
|
|
18
|
+
/**
|
|
19
|
+
* Fee charged for this fill.
|
|
20
|
+
*/
|
|
21
|
+
fee: number;
|
|
22
|
+
/**
|
|
23
|
+
* Unique fill identifier.
|
|
24
|
+
*/
|
|
25
|
+
fill_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this fill was a taker (market order hitting resting liquidity).
|
|
28
|
+
*/
|
|
29
|
+
is_taker: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Market the fill occurred on (exchange-native ID).
|
|
32
|
+
*/
|
|
33
|
+
market_id: string;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the order that was filled.
|
|
36
|
+
*/
|
|
37
|
+
order_id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The outcome traded (e.g., "Yes" or "No").
|
|
40
|
+
*/
|
|
41
|
+
outcome: string;
|
|
42
|
+
/**
|
|
43
|
+
* Execution price.
|
|
44
|
+
*/
|
|
45
|
+
price: number;
|
|
46
|
+
side: 'buy' | 'sell';
|
|
47
|
+
/**
|
|
48
|
+
* Number of contracts filled.
|
|
49
|
+
*/
|
|
50
|
+
size: number;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export interface FillListParams {
|
|
54
|
+
/**
|
|
55
|
+
* Query param: Exchange identifier (e.g., kalshi, polymarket).
|
|
56
|
+
*/
|
|
57
|
+
exchange: string;
|
|
58
|
+
/**
|
|
59
|
+
* Query param: Maximum number of fills to return.
|
|
60
|
+
*/
|
|
61
|
+
limit?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Query param: Filter fills by a specific market ID (exchange-native).
|
|
64
|
+
*/
|
|
65
|
+
market_id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Header param: Base64-encoded JSON of per-request exchange credentials (Mode B).
|
|
68
|
+
* When provided, Parsec creates a transient exchange session instead of using
|
|
69
|
+
* stored credentials. The JSON shape matches the RequestCredentials schema.
|
|
70
|
+
*/
|
|
71
|
+
'X-Exchange-Credentials'?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace Fills {
|
|
74
|
+
export { type FillListResponse as FillListResponse, type FillListParams as FillListParams };
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=fills.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fills.d.mts","sourceRoot":"","sources":["../src/resources/fills.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAarF;AAED,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE5E,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,oBAAoB;QACnC;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Fills extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns fills (individual trade executions) for the authenticated customer on
|
|
7
|
+
* the specified exchange. A single order can produce multiple fills.
|
|
8
|
+
*/
|
|
9
|
+
list(params: FillListParams, options?: RequestOptions): APIPromise<FillListResponse>;
|
|
10
|
+
}
|
|
11
|
+
export type FillListResponse = Array<FillListResponse.FillListResponseItem>;
|
|
12
|
+
export declare namespace FillListResponse {
|
|
13
|
+
interface FillListResponseItem {
|
|
14
|
+
/**
|
|
15
|
+
* Timestamp of the fill (ISO 8601).
|
|
16
|
+
*/
|
|
17
|
+
created_at: string;
|
|
18
|
+
/**
|
|
19
|
+
* Fee charged for this fill.
|
|
20
|
+
*/
|
|
21
|
+
fee: number;
|
|
22
|
+
/**
|
|
23
|
+
* Unique fill identifier.
|
|
24
|
+
*/
|
|
25
|
+
fill_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this fill was a taker (market order hitting resting liquidity).
|
|
28
|
+
*/
|
|
29
|
+
is_taker: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Market the fill occurred on (exchange-native ID).
|
|
32
|
+
*/
|
|
33
|
+
market_id: string;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the order that was filled.
|
|
36
|
+
*/
|
|
37
|
+
order_id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The outcome traded (e.g., "Yes" or "No").
|
|
40
|
+
*/
|
|
41
|
+
outcome: string;
|
|
42
|
+
/**
|
|
43
|
+
* Execution price.
|
|
44
|
+
*/
|
|
45
|
+
price: number;
|
|
46
|
+
side: 'buy' | 'sell';
|
|
47
|
+
/**
|
|
48
|
+
* Number of contracts filled.
|
|
49
|
+
*/
|
|
50
|
+
size: number;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export interface FillListParams {
|
|
54
|
+
/**
|
|
55
|
+
* Query param: Exchange identifier (e.g., kalshi, polymarket).
|
|
56
|
+
*/
|
|
57
|
+
exchange: string;
|
|
58
|
+
/**
|
|
59
|
+
* Query param: Maximum number of fills to return.
|
|
60
|
+
*/
|
|
61
|
+
limit?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Query param: Filter fills by a specific market ID (exchange-native).
|
|
64
|
+
*/
|
|
65
|
+
market_id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Header param: Base64-encoded JSON of per-request exchange credentials (Mode B).
|
|
68
|
+
* When provided, Parsec creates a transient exchange session instead of using
|
|
69
|
+
* stored credentials. The JSON shape matches the RequestCredentials schema.
|
|
70
|
+
*/
|
|
71
|
+
'X-Exchange-Credentials'?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace Fills {
|
|
74
|
+
export { type FillListResponse as FillListResponse, type FillListParams as FillListParams };
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=fills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fills.d.ts","sourceRoot":"","sources":["../src/resources/fills.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAarF;AAED,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE5E,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,oBAAoB;QACnC;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Fills = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
class Fills extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Returns fills (individual trade executions) for the authenticated customer on
|
|
10
|
+
* the specified exchange. A single order can produce multiple fills.
|
|
11
|
+
*/
|
|
12
|
+
list(params, options) {
|
|
13
|
+
const { 'X-Exchange-Credentials': xExchangeCredentials, ...query } = params;
|
|
14
|
+
return this._client.get('/api/v1/fills', {
|
|
15
|
+
query,
|
|
16
|
+
...options,
|
|
17
|
+
headers: (0, headers_1.buildHeaders)([
|
|
18
|
+
{
|
|
19
|
+
...(xExchangeCredentials != null ? { 'X-Exchange-Credentials': xExchangeCredentials } : undefined),
|
|
20
|
+
},
|
|
21
|
+
options?.headers,
|
|
22
|
+
]),
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Fills = Fills;
|
|
27
|
+
//# sourceMappingURL=fills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fills.js","sourceRoot":"","sources":["../src/resources/fills.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAGnD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;OAGG;IACH,IAAI,CAAC,MAAsB,EAAE,OAAwB;QACnD,MAAM,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE;YACvC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACnG;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAlBD,sBAkBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
export class Fills extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns fills (individual trade executions) for the authenticated customer on
|
|
7
|
+
* the specified exchange. A single order can produce multiple fills.
|
|
8
|
+
*/
|
|
9
|
+
list(params, options) {
|
|
10
|
+
const { 'X-Exchange-Credentials': xExchangeCredentials, ...query } = params;
|
|
11
|
+
return this._client.get('/api/v1/fills', {
|
|
12
|
+
query,
|
|
13
|
+
...options,
|
|
14
|
+
headers: buildHeaders([
|
|
15
|
+
{
|
|
16
|
+
...(xExchangeCredentials != null ? { 'X-Exchange-Credentials': xExchangeCredentials } : undefined),
|
|
17
|
+
},
|
|
18
|
+
options?.headers,
|
|
19
|
+
]),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=fills.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fills.mjs","sourceRoot":"","sources":["../src/resources/fills.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,IAAI,CAAC,MAAsB,EAAE,OAAwB;QACnD,MAAM,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE;YACvC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACnG;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
export { Account, type AccountBalanceResponse, type
|
|
2
|
-
export {
|
|
1
|
+
export { Account, type AccountBalanceResponse, type AccountPingResponse, type AccountUsageResponse, type AccountUserActivityResponse, type AccountBalanceParams, type AccountPingParams, type AccountUserActivityParams, } from "./account.mjs";
|
|
2
|
+
export { Builder, type BuilderPoolResponse } from "./builder/builder.mjs";
|
|
3
|
+
export { Ctf, type CtfResponse, type CtfMergeParams, type CtfRedeemParams, type CtfSplitParams } from "./ctf.mjs";
|
|
3
4
|
export { Events, type EventListResponse, type EventListParams } from "./events.mjs";
|
|
4
5
|
export { Exchanges, type ExchangeListResponse } from "./exchanges.mjs";
|
|
5
6
|
export { ExecutionPrice, type ExecutionPriceRetrieveResponse, type ExecutionPriceRetrieveParams, } from "./execution-price.mjs";
|
|
7
|
+
export { Fills, type FillListResponse, type FillListParams } from "./fills.mjs";
|
|
6
8
|
export { Markets, type MarketListResponse, type MarketListParams } from "./markets.mjs";
|
|
7
|
-
export {
|
|
9
|
+
export { Onboard, type OnboardCreateResponse, type OnboardCreateParams } from "./onboard.mjs";
|
|
10
|
+
export { Orderbook, type OrderbookRetrieveResponse, type OrderbookRetrieveParams } from "./orderbook.mjs";
|
|
8
11
|
export { Orders, type Order, type OrderListResponse, type OrderCreateParams, type OrderRetrieveParams, type OrderListParams, type OrderCancelParams, } from "./orders.mjs";
|
|
9
12
|
export { Positions, type PositionListResponse, type PositionListParams } from "./positions.mjs";
|
|
10
13
|
export { Price, type PriceRetrieveResponse, type PriceRetrieveParams } from "./price.mjs";
|
|
11
14
|
export { Trades, type TradeListResponse, type TradeListParams } from "./trades.mjs";
|
|
15
|
+
export { Wallet, type WalletRetrieveResponse, type WalletExportKeyResponse, type WalletExportKeyParams, } from "./wallet.mjs";
|
|
12
16
|
export { Websocket, type CustomerUsage, type WebsocketUsageResponse, type WebsocketUsageParams, } from "./websocket.mjs";
|
|
13
17
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,GAC/B;OACM,EAAE,OAAO,EAAE,KAAK,mBAAmB,EAAE;OACrC,EAAE,GAAG,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE;OACzF,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EACL,cAAc,EACd,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,GAClC;OACM,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE;OACrD,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACjE,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC3E,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB;OACM,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE;OACjE,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAC/D,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EACL,MAAM,EACN,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B;OACM,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
export { Account, type AccountBalanceResponse, type
|
|
2
|
-
export {
|
|
1
|
+
export { Account, type AccountBalanceResponse, type AccountPingResponse, type AccountUsageResponse, type AccountUserActivityResponse, type AccountBalanceParams, type AccountPingParams, type AccountUserActivityParams, } from "./account.js";
|
|
2
|
+
export { Builder, type BuilderPoolResponse } from "./builder/builder.js";
|
|
3
|
+
export { Ctf, type CtfResponse, type CtfMergeParams, type CtfRedeemParams, type CtfSplitParams } from "./ctf.js";
|
|
3
4
|
export { Events, type EventListResponse, type EventListParams } from "./events.js";
|
|
4
5
|
export { Exchanges, type ExchangeListResponse } from "./exchanges.js";
|
|
5
6
|
export { ExecutionPrice, type ExecutionPriceRetrieveResponse, type ExecutionPriceRetrieveParams, } from "./execution-price.js";
|
|
7
|
+
export { Fills, type FillListResponse, type FillListParams } from "./fills.js";
|
|
6
8
|
export { Markets, type MarketListResponse, type MarketListParams } from "./markets.js";
|
|
7
|
-
export {
|
|
9
|
+
export { Onboard, type OnboardCreateResponse, type OnboardCreateParams } from "./onboard.js";
|
|
10
|
+
export { Orderbook, type OrderbookRetrieveResponse, type OrderbookRetrieveParams } from "./orderbook.js";
|
|
8
11
|
export { Orders, type Order, type OrderListResponse, type OrderCreateParams, type OrderRetrieveParams, type OrderListParams, type OrderCancelParams, } from "./orders.js";
|
|
9
12
|
export { Positions, type PositionListResponse, type PositionListParams } from "./positions.js";
|
|
10
13
|
export { Price, type PriceRetrieveResponse, type PriceRetrieveParams } from "./price.js";
|
|
11
14
|
export { Trades, type TradeListResponse, type TradeListParams } from "./trades.js";
|
|
15
|
+
export { Wallet, type WalletRetrieveResponse, type WalletExportKeyResponse, type WalletExportKeyParams, } from "./wallet.js";
|
|
12
16
|
export { Websocket, type CustomerUsage, type WebsocketUsageResponse, type WebsocketUsageParams, } from "./websocket.js";
|
|
13
17
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,2BA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I spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Websocket = exports.Trades = exports.Price = exports.Positions = exports.Orders = exports.Orderbook = exports.Markets = exports.ExecutionPrice = exports.Exchanges = exports.Events = exports.
|
|
4
|
+
exports.Websocket = exports.Wallet = exports.Trades = exports.Price = exports.Positions = exports.Orders = exports.Orderbook = exports.Onboard = exports.Markets = exports.Fills = exports.ExecutionPrice = exports.Exchanges = exports.Events = exports.Ctf = exports.Builder = exports.Account = void 0;
|
|
5
5
|
var account_1 = require("./account.js");
|
|
6
6
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return account_1.Account; } });
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
7
|
+
var builder_1 = require("./builder/builder.js");
|
|
8
|
+
Object.defineProperty(exports, "Builder", { enumerable: true, get: function () { return builder_1.Builder; } });
|
|
9
|
+
var ctf_1 = require("./ctf.js");
|
|
10
|
+
Object.defineProperty(exports, "Ctf", { enumerable: true, get: function () { return ctf_1.Ctf; } });
|
|
9
11
|
var events_1 = require("./events.js");
|
|
10
12
|
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
|
|
11
13
|
var exchanges_1 = require("./exchanges.js");
|
|
12
14
|
Object.defineProperty(exports, "Exchanges", { enumerable: true, get: function () { return exchanges_1.Exchanges; } });
|
|
13
15
|
var execution_price_1 = require("./execution-price.js");
|
|
14
16
|
Object.defineProperty(exports, "ExecutionPrice", { enumerable: true, get: function () { return execution_price_1.ExecutionPrice; } });
|
|
17
|
+
var fills_1 = require("./fills.js");
|
|
18
|
+
Object.defineProperty(exports, "Fills", { enumerable: true, get: function () { return fills_1.Fills; } });
|
|
15
19
|
var markets_1 = require("./markets.js");
|
|
16
20
|
Object.defineProperty(exports, "Markets", { enumerable: true, get: function () { return markets_1.Markets; } });
|
|
21
|
+
var onboard_1 = require("./onboard.js");
|
|
22
|
+
Object.defineProperty(exports, "Onboard", { enumerable: true, get: function () { return onboard_1.Onboard; } });
|
|
17
23
|
var orderbook_1 = require("./orderbook.js");
|
|
18
24
|
Object.defineProperty(exports, "Orderbook", { enumerable: true, get: function () { return orderbook_1.Orderbook; } });
|
|
19
25
|
var orders_1 = require("./orders.js");
|
|
@@ -24,6 +30,8 @@ var price_1 = require("./price.js");
|
|
|
24
30
|
Object.defineProperty(exports, "Price", { enumerable: true, get: function () { return price_1.Price; } });
|
|
25
31
|
var trades_1 = require("./trades.js");
|
|
26
32
|
Object.defineProperty(exports, "Trades", { enumerable: true, get: function () { return trades_1.Trades; } });
|
|
33
|
+
var wallet_1 = require("./wallet.js");
|
|
34
|
+
Object.defineProperty(exports, "Wallet", { enumerable: true, get: function () { return wallet_1.Wallet; } });
|
|
27
35
|
var websocket_1 = require("./websocket.js");
|
|
28
36
|
Object.defineProperty(exports, "Websocket", { enumerable: true, get: function () { return websocket_1.Websocket; } });
|
|
29
37
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,gDAAsE;AAA7D,kGAAA,OAAO,OAAA;AAChB,gCAA8G;AAArG,0FAAA,GAAG,OAAA;AACZ,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,4CAAmE;AAA1D,sGAAA,SAAS,OAAA;AAClB,wDAI2B;AAHzB,iHAAA,cAAc,OAAA;AAIhB,oCAA4E;AAAnE,8FAAA,KAAK,OAAA;AACd,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,wCAA0F;AAAjF,kGAAA,OAAO,OAAA;AAChB,4CAAsG;AAA7F,sGAAA,SAAS,OAAA;AAClB,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,4CAA4F;AAAnF,sGAAA,SAAS,OAAA;AAClB,oCAAsF;AAA7E,8FAAA,KAAK,OAAA;AACd,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,sCAKkB;AAJhB,gGAAA,MAAM,OAAA;AAKR,4CAKqB;AAJnB,sGAAA,SAAS,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Account, } from "./account.mjs";
|
|
3
|
-
export {
|
|
3
|
+
export { Builder } from "./builder/builder.mjs";
|
|
4
|
+
export { Ctf } from "./ctf.mjs";
|
|
4
5
|
export { Events } from "./events.mjs";
|
|
5
6
|
export { Exchanges } from "./exchanges.mjs";
|
|
6
7
|
export { ExecutionPrice, } from "./execution-price.mjs";
|
|
8
|
+
export { Fills } from "./fills.mjs";
|
|
7
9
|
export { Markets } from "./markets.mjs";
|
|
8
|
-
export {
|
|
10
|
+
export { Onboard } from "./onboard.mjs";
|
|
11
|
+
export { Orderbook } from "./orderbook.mjs";
|
|
9
12
|
export { Orders, } from "./orders.mjs";
|
|
10
13
|
export { Positions } from "./positions.mjs";
|
|
11
14
|
export { Price } from "./price.mjs";
|
|
12
15
|
export { Trades } from "./trades.mjs";
|
|
16
|
+
export { Wallet, } from "./wallet.mjs";
|
|
13
17
|
export { Websocket, } from "./websocket.mjs";
|
|
14
18
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAQR;OACM,EAAE,OAAO,EAA4B;OACrC,EAAE,GAAG,EAAoF;OACzF,EAAE,MAAM,EAAgD;OACxD,EAAE,SAAS,EAA6B;OACxC,EACL,cAAc,GAGf;OACM,EAAE,KAAK,EAA8C;OACrD,EAAE,OAAO,EAAkD;OAC3D,EAAE,OAAO,EAAwD;OACjE,EAAE,SAAS,EAAgE;OAC3E,EACL,MAAM,GAOP;OACM,EAAE,SAAS,EAAsD;OACjE,EAAE,KAAK,EAAwD;OAC/D,EAAE,MAAM,EAAgD;OACxD,EACL,MAAM,GAIP;OACM,EACL,SAAS,GAIV"}
|
package/resources/markets.d.mts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
-
export declare function attachBinaryOutcomeGetters<TOutcome extends {
|
|
5
|
-
name: string;
|
|
6
|
-
}, TMarket extends {
|
|
7
|
-
outcomes: Array<TOutcome>;
|
|
8
|
-
}>(market: TMarket): TMarket & {
|
|
9
|
-
readonly yes?: TOutcome;
|
|
10
|
-
readonly no?: TOutcome;
|
|
11
|
-
};
|
|
12
4
|
export declare class Markets extends APIResource {
|
|
13
5
|
/**
|
|
14
6
|
* Provide either `exchanges` (CSV) or `parsec_ids` (CSV). When `parsec_ids` is
|
|
@@ -43,16 +35,6 @@ export declare namespace MarketListResponse {
|
|
|
43
35
|
* Market outcomes with optional price and token ID.
|
|
44
36
|
*/
|
|
45
37
|
outcomes: Array<Market.Outcome>;
|
|
46
|
-
/**
|
|
47
|
-
* Convenience getter for binary markets: outcome where `name` is "Yes"
|
|
48
|
-
* (case-insensitive).
|
|
49
|
-
*/
|
|
50
|
-
readonly yes?: Market.Outcome;
|
|
51
|
-
/**
|
|
52
|
-
* Convenience getter for binary markets: outcome where `name` is "No"
|
|
53
|
-
* (case-insensitive).
|
|
54
|
-
*/
|
|
55
|
-
readonly no?: Market.Outcome;
|
|
56
38
|
/**
|
|
57
39
|
* Parsec group ID for cross-exchange event grouping.
|
|
58
40
|
*/
|
|
@@ -102,6 +84,14 @@ export declare namespace MarketListResponse {
|
|
|
102
84
|
* Event start time.
|
|
103
85
|
*/
|
|
104
86
|
event_start_time?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Market icon URL.
|
|
89
|
+
*/
|
|
90
|
+
icon_url?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* Market image URL.
|
|
93
|
+
*/
|
|
94
|
+
image_url?: string | null;
|
|
105
95
|
/**
|
|
106
96
|
* Date of last data collection.
|
|
107
97
|
*/
|
|
@@ -114,6 +104,10 @@ export declare namespace MarketListResponse {
|
|
|
114
104
|
* Current liquidity (USDC).
|
|
115
105
|
*/
|
|
116
106
|
liquidity?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Cross-exchange same-market relations. Only included when `include_matches=true`.
|
|
109
|
+
*/
|
|
110
|
+
matched_markets?: Array<Market.MatchedMarket>;
|
|
117
111
|
/**
|
|
118
112
|
* Minimum order size in contracts. Varies per market on Polymarket (e.g. 5, 15);
|
|
119
113
|
* typically 1 on Kalshi.
|
|
@@ -127,6 +121,15 @@ export declare namespace MarketListResponse {
|
|
|
127
121
|
* Number of outcomes in this market.
|
|
128
122
|
*/
|
|
129
123
|
outcome_count?: number;
|
|
124
|
+
/**
|
|
125
|
+
* When bid/ask/last_price was last refreshed (upgraded to now when live WS data
|
|
126
|
+
* overlays the snapshot).
|
|
127
|
+
*/
|
|
128
|
+
price_updated_at?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Co-dependent market relations. Only included when `include_related=true`.
|
|
131
|
+
*/
|
|
132
|
+
related_markets?: Array<Market.RelatedMarket>;
|
|
130
133
|
/**
|
|
131
134
|
* Market resolution rules.
|
|
132
135
|
*/
|
|
@@ -167,6 +170,66 @@ export declare namespace MarketListResponse {
|
|
|
167
170
|
*/
|
|
168
171
|
token_id?: string;
|
|
169
172
|
}
|
|
173
|
+
interface MatchedMarket {
|
|
174
|
+
/**
|
|
175
|
+
* Match confidence score (0.0–1.0).
|
|
176
|
+
*/
|
|
177
|
+
confidence: number;
|
|
178
|
+
/**
|
|
179
|
+
* Confidence tier: HIGH, MEDIUM, or LOW.
|
|
180
|
+
*/
|
|
181
|
+
confidence_tier: string;
|
|
182
|
+
/**
|
|
183
|
+
* Exchange of the related market.
|
|
184
|
+
*/
|
|
185
|
+
exchange: string;
|
|
186
|
+
/**
|
|
187
|
+
* Parsec ID of the related market.
|
|
188
|
+
*/
|
|
189
|
+
parsec_id: string;
|
|
190
|
+
/**
|
|
191
|
+
* Source of the match (e.g., embedding, llm).
|
|
192
|
+
*/
|
|
193
|
+
source: string;
|
|
194
|
+
/**
|
|
195
|
+
* Direction of dependency (for related markets only).
|
|
196
|
+
*/
|
|
197
|
+
dependency_direction?: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Type of dependency (for related markets only).
|
|
200
|
+
*/
|
|
201
|
+
dependency_type?: string | null;
|
|
202
|
+
}
|
|
203
|
+
interface RelatedMarket {
|
|
204
|
+
/**
|
|
205
|
+
* Match confidence score (0.0–1.0).
|
|
206
|
+
*/
|
|
207
|
+
confidence: number;
|
|
208
|
+
/**
|
|
209
|
+
* Confidence tier: HIGH, MEDIUM, or LOW.
|
|
210
|
+
*/
|
|
211
|
+
confidence_tier: string;
|
|
212
|
+
/**
|
|
213
|
+
* Exchange of the related market.
|
|
214
|
+
*/
|
|
215
|
+
exchange: string;
|
|
216
|
+
/**
|
|
217
|
+
* Parsec ID of the related market.
|
|
218
|
+
*/
|
|
219
|
+
parsec_id: string;
|
|
220
|
+
/**
|
|
221
|
+
* Source of the match (e.g., embedding, llm).
|
|
222
|
+
*/
|
|
223
|
+
source: string;
|
|
224
|
+
/**
|
|
225
|
+
* Direction of dependency (for related markets only).
|
|
226
|
+
*/
|
|
227
|
+
dependency_direction?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* Type of dependency (for related markets only).
|
|
230
|
+
*/
|
|
231
|
+
dependency_type?: string | null;
|
|
232
|
+
}
|
|
170
233
|
}
|
|
171
234
|
interface Pagination {
|
|
172
235
|
/**
|
|
@@ -206,7 +269,17 @@ export interface MarketListParams {
|
|
|
206
269
|
*/
|
|
207
270
|
group_id?: string;
|
|
208
271
|
/**
|
|
209
|
-
*
|
|
272
|
+
* When true, each market includes a `matched_markets` array with cross-exchange
|
|
273
|
+
* same-market relations.
|
|
274
|
+
*/
|
|
275
|
+
include_matches?: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* When true, each market includes a `related_markets` array with co-dependent
|
|
278
|
+
* market relations.
|
|
279
|
+
*/
|
|
280
|
+
include_related?: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* Results per page (default 100, max 100).
|
|
210
283
|
*/
|
|
211
284
|
limit?: number;
|
|
212
285
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markets.d.mts","sourceRoot":"","sources":["../src/resources/markets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"markets.d.mts","sourceRoot":"","sources":["../src/resources/markets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAE1C,UAAU,EAAE,kBAAkB,CAAC,UAAU,CAAC;CAC3C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAi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