pmxtjs 2.41.0 → 2.41.3
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/esm/generated/src/apis/DefaultApi.d.ts +49 -55
- package/dist/esm/generated/src/apis/DefaultApi.js +19 -31
- package/dist/esm/generated/src/models/index.d.ts +0 -9
- package/dist/esm/generated/src/models/index.js +0 -9
- package/dist/esm/pmxt/client.d.ts +8 -7
- package/dist/esm/pmxt/client.js +83 -11
- package/dist/generated/src/apis/DefaultApi.d.ts +49 -55
- package/dist/generated/src/apis/DefaultApi.js +19 -31
- package/dist/generated/src/models/index.d.ts +0 -9
- package/dist/generated/src/models/index.js +0 -9
- package/dist/pmxt/client.d.ts +8 -7
- package/dist/pmxt/client.js +83 -11
- package/generated/.openapi-generator/FILES +0 -18
- package/generated/docs/DefaultApi.md +36 -54
- package/generated/package.json +1 -1
- package/generated/src/apis/DefaultApi.ts +48 -90
- package/generated/src/models/index.ts +0 -9
- package/package.json +2 -2
- package/pmxt/client.ts +82 -11
- package/dist/esm/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/UnwatchAddressRequest.js +0 -46
- package/dist/esm/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/UnwatchOrderBookRequest.js +0 -46
- package/dist/esm/generated/src/models/WatchAddressRequest.d.ts +0 -40
- package/dist/esm/generated/src/models/WatchAddressRequest.js +0 -47
- package/dist/esm/generated/src/models/WatchAddressRequestArgsInner.d.ts +0 -21
- package/dist/esm/generated/src/models/WatchAddressRequestArgsInner.js +0 -37
- package/dist/esm/generated/src/models/WatchOrderBookRequest.d.ts +0 -40
- package/dist/esm/generated/src/models/WatchOrderBookRequest.js +0 -47
- package/dist/esm/generated/src/models/WatchOrderBookRequestArgsInner.d.ts +0 -21
- package/dist/esm/generated/src/models/WatchOrderBookRequestArgsInner.js +0 -43
- package/dist/esm/generated/src/models/WatchOrderBooksRequest.d.ts +0 -40
- package/dist/esm/generated/src/models/WatchOrderBooksRequest.js +0 -47
- package/dist/esm/generated/src/models/WatchOrderBooksRequestArgsInner.d.ts +0 -21
- package/dist/esm/generated/src/models/WatchOrderBooksRequestArgsInner.js +0 -47
- package/dist/esm/generated/src/models/WatchTradesRequest.d.ts +0 -40
- package/dist/esm/generated/src/models/WatchTradesRequest.js +0 -47
- package/dist/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
- package/dist/generated/src/models/UnwatchAddressRequest.js +0 -53
- package/dist/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
- package/dist/generated/src/models/UnwatchOrderBookRequest.js +0 -53
- package/dist/generated/src/models/WatchAddressRequest.d.ts +0 -40
- package/dist/generated/src/models/WatchAddressRequest.js +0 -54
- package/dist/generated/src/models/WatchAddressRequestArgsInner.d.ts +0 -21
- package/dist/generated/src/models/WatchAddressRequestArgsInner.js +0 -43
- package/dist/generated/src/models/WatchOrderBookRequest.d.ts +0 -40
- package/dist/generated/src/models/WatchOrderBookRequest.js +0 -54
- package/dist/generated/src/models/WatchOrderBookRequestArgsInner.d.ts +0 -21
- package/dist/generated/src/models/WatchOrderBookRequestArgsInner.js +0 -49
- package/dist/generated/src/models/WatchOrderBooksRequest.d.ts +0 -40
- package/dist/generated/src/models/WatchOrderBooksRequest.js +0 -54
- package/dist/generated/src/models/WatchOrderBooksRequestArgsInner.d.ts +0 -21
- package/dist/generated/src/models/WatchOrderBooksRequestArgsInner.js +0 -53
- package/dist/generated/src/models/WatchTradesRequest.d.ts +0 -40
- package/dist/generated/src/models/WatchTradesRequest.js +0 -54
- package/generated/docs/UnwatchAddressRequest.md +0 -36
- package/generated/docs/UnwatchOrderBookRequest.md +0 -36
- package/generated/docs/WatchAddressRequest.md +0 -36
- package/generated/docs/WatchAddressRequestArgsInner.md +0 -32
- package/generated/docs/WatchOrderBookRequest.md +0 -36
- package/generated/docs/WatchOrderBookRequestArgsInner.md +0 -32
- package/generated/docs/WatchOrderBooksRequest.md +0 -36
- package/generated/docs/WatchOrderBooksRequestArgsInner.md +0 -32
- package/generated/docs/WatchTradesRequest.md +0 -36
- package/generated/src/models/UnwatchAddressRequest.ts +0 -82
- package/generated/src/models/UnwatchOrderBookRequest.ts +0 -82
- package/generated/src/models/WatchAddressRequest.ts +0 -89
- package/generated/src/models/WatchAddressRequestArgsInner.ts +0 -49
- package/generated/src/models/WatchOrderBookRequest.ts +0 -89
- package/generated/src/models/WatchOrderBookRequestArgsInner.ts +0 -55
- package/generated/src/models/WatchOrderBooksRequest.ts +0 -89
- package/generated/src/models/WatchOrderBooksRequestArgsInner.ts +0 -59
- package/generated/src/models/WatchTradesRequest.ts +0 -89
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ExchangeCredentialsFromJSON, ExchangeCredentialsToJSON, } from './ExchangeCredentials.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the UnwatchAddressRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfUnwatchAddressRequest(value) {
|
|
19
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function UnwatchAddressRequestFromJSON(json) {
|
|
24
|
-
return UnwatchAddressRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function UnwatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'args': json['args'],
|
|
32
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function UnwatchAddressRequestToJSON(json) {
|
|
36
|
-
return UnwatchAddressRequestToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function UnwatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'args': value['args'],
|
|
44
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ExchangeCredentials } from './ExchangeCredentials.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UnwatchOrderBookRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UnwatchOrderBookRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<string>}
|
|
22
|
-
* @memberof UnwatchOrderBookRequest
|
|
23
|
-
*/
|
|
24
|
-
args: Array<string>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ExchangeCredentials}
|
|
28
|
-
* @memberof UnwatchOrderBookRequest
|
|
29
|
-
*/
|
|
30
|
-
credentials?: ExchangeCredentials;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the UnwatchOrderBookRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfUnwatchOrderBookRequest(value: object): value is UnwatchOrderBookRequest;
|
|
36
|
-
export declare function UnwatchOrderBookRequestFromJSON(json: any): UnwatchOrderBookRequest;
|
|
37
|
-
export declare function UnwatchOrderBookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnwatchOrderBookRequest;
|
|
38
|
-
export declare function UnwatchOrderBookRequestToJSON(json: any): UnwatchOrderBookRequest;
|
|
39
|
-
export declare function UnwatchOrderBookRequestToJSONTyped(value?: UnwatchOrderBookRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ExchangeCredentialsFromJSON, ExchangeCredentialsToJSON, } from './ExchangeCredentials.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the UnwatchOrderBookRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfUnwatchOrderBookRequest(value) {
|
|
19
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function UnwatchOrderBookRequestFromJSON(json) {
|
|
24
|
-
return UnwatchOrderBookRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function UnwatchOrderBookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'args': json['args'],
|
|
32
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function UnwatchOrderBookRequestToJSON(json) {
|
|
36
|
-
return UnwatchOrderBookRequestToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function UnwatchOrderBookRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'args': value['args'],
|
|
44
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { WatchAddressRequestArgsInner } from './WatchAddressRequestArgsInner.js';
|
|
13
|
-
import type { ExchangeCredentials } from './ExchangeCredentials.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface WatchAddressRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface WatchAddressRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WatchAddressRequestArgsInner>}
|
|
23
|
-
* @memberof WatchAddressRequest
|
|
24
|
-
*/
|
|
25
|
-
args: Array<WatchAddressRequestArgsInner>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ExchangeCredentials}
|
|
29
|
-
* @memberof WatchAddressRequest
|
|
30
|
-
*/
|
|
31
|
-
credentials?: ExchangeCredentials;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the WatchAddressRequest interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfWatchAddressRequest(value: object): value is WatchAddressRequest;
|
|
37
|
-
export declare function WatchAddressRequestFromJSON(json: any): WatchAddressRequest;
|
|
38
|
-
export declare function WatchAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchAddressRequest;
|
|
39
|
-
export declare function WatchAddressRequestToJSON(json: any): WatchAddressRequest;
|
|
40
|
-
export declare function WatchAddressRequestToJSONTyped(value?: WatchAddressRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { WatchAddressRequestArgsInnerFromJSON, WatchAddressRequestArgsInnerToJSON, } from './WatchAddressRequestArgsInner.js';
|
|
15
|
-
import { ExchangeCredentialsFromJSON, ExchangeCredentialsToJSON, } from './ExchangeCredentials.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the WatchAddressRequest interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfWatchAddressRequest(value) {
|
|
20
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function WatchAddressRequestFromJSON(json) {
|
|
25
|
-
return WatchAddressRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function WatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'args': (json['args'].map(WatchAddressRequestArgsInnerFromJSON)),
|
|
33
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function WatchAddressRequestToJSON(json) {
|
|
37
|
-
return WatchAddressRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function WatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'args': (value['args'].map(WatchAddressRequestArgsInnerToJSON)),
|
|
45
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @type WatchAddressRequestArgsInner
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export type WatchAddressRequestArgsInner = Array<object> | string;
|
|
18
|
-
export declare function WatchAddressRequestArgsInnerFromJSON(json: any): WatchAddressRequestArgsInner;
|
|
19
|
-
export declare function WatchAddressRequestArgsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchAddressRequestArgsInner;
|
|
20
|
-
export declare function WatchAddressRequestArgsInnerToJSON(json: any): any;
|
|
21
|
-
export declare function WatchAddressRequestArgsInnerToJSONTyped(value?: WatchAddressRequestArgsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export function WatchAddressRequestArgsInnerFromJSON(json) {
|
|
15
|
-
return WatchAddressRequestArgsInnerFromJSONTyped(json, false);
|
|
16
|
-
}
|
|
17
|
-
export function WatchAddressRequestArgsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
if (json == null) {
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
if (typeof json === 'string') {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
return {};
|
|
25
|
-
}
|
|
26
|
-
export function WatchAddressRequestArgsInnerToJSON(json) {
|
|
27
|
-
return WatchAddressRequestArgsInnerToJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function WatchAddressRequestArgsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
|
-
if (value == null) {
|
|
31
|
-
return value;
|
|
32
|
-
}
|
|
33
|
-
if (typeof value === 'string') {
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
return {};
|
|
37
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ExchangeCredentials } from './ExchangeCredentials.js';
|
|
13
|
-
import type { WatchOrderBookRequestArgsInner } from './WatchOrderBookRequestArgsInner.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface WatchOrderBookRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface WatchOrderBookRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WatchOrderBookRequestArgsInner>}
|
|
23
|
-
* @memberof WatchOrderBookRequest
|
|
24
|
-
*/
|
|
25
|
-
args: Array<WatchOrderBookRequestArgsInner>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ExchangeCredentials}
|
|
29
|
-
* @memberof WatchOrderBookRequest
|
|
30
|
-
*/
|
|
31
|
-
credentials?: ExchangeCredentials;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the WatchOrderBookRequest interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfWatchOrderBookRequest(value: object): value is WatchOrderBookRequest;
|
|
37
|
-
export declare function WatchOrderBookRequestFromJSON(json: any): WatchOrderBookRequest;
|
|
38
|
-
export declare function WatchOrderBookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBookRequest;
|
|
39
|
-
export declare function WatchOrderBookRequestToJSON(json: any): WatchOrderBookRequest;
|
|
40
|
-
export declare function WatchOrderBookRequestToJSONTyped(value?: WatchOrderBookRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ExchangeCredentialsFromJSON, ExchangeCredentialsToJSON, } from './ExchangeCredentials.js';
|
|
15
|
-
import { WatchOrderBookRequestArgsInnerFromJSON, WatchOrderBookRequestArgsInnerToJSON, } from './WatchOrderBookRequestArgsInner.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the WatchOrderBookRequest interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfWatchOrderBookRequest(value) {
|
|
20
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function WatchOrderBookRequestFromJSON(json) {
|
|
25
|
-
return WatchOrderBookRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function WatchOrderBookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'args': (json['args'].map(WatchOrderBookRequestArgsInnerFromJSON)),
|
|
33
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function WatchOrderBookRequestToJSON(json) {
|
|
37
|
-
return WatchOrderBookRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function WatchOrderBookRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'args': (value['args'].map(WatchOrderBookRequestArgsInnerToJSON)),
|
|
45
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @type WatchOrderBookRequestArgsInner
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export type WatchOrderBookRequestArgsInner = number | string;
|
|
18
|
-
export declare function WatchOrderBookRequestArgsInnerFromJSON(json: any): WatchOrderBookRequestArgsInner;
|
|
19
|
-
export declare function WatchOrderBookRequestArgsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBookRequestArgsInner;
|
|
20
|
-
export declare function WatchOrderBookRequestArgsInnerToJSON(json: any): any;
|
|
21
|
-
export declare function WatchOrderBookRequestArgsInnerToJSONTyped(value?: WatchOrderBookRequestArgsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export function WatchOrderBookRequestArgsInnerFromJSON(json) {
|
|
15
|
-
return WatchOrderBookRequestArgsInnerFromJSONTyped(json, false);
|
|
16
|
-
}
|
|
17
|
-
export function WatchOrderBookRequestArgsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
if (json == null) {
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
if (typeof json === 'number') {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
if (typeof json === 'string') {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
|
-
export function WatchOrderBookRequestArgsInnerToJSON(json) {
|
|
30
|
-
return WatchOrderBookRequestArgsInnerToJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function WatchOrderBookRequestArgsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
-
if (value == null) {
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
if (typeof value === 'number') {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
if (typeof value === 'string') {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {};
|
|
43
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ExchangeCredentials } from './ExchangeCredentials.js';
|
|
13
|
-
import type { WatchOrderBooksRequestArgsInner } from './WatchOrderBooksRequestArgsInner.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface WatchOrderBooksRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface WatchOrderBooksRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WatchOrderBooksRequestArgsInner>}
|
|
23
|
-
* @memberof WatchOrderBooksRequest
|
|
24
|
-
*/
|
|
25
|
-
args: Array<WatchOrderBooksRequestArgsInner>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ExchangeCredentials}
|
|
29
|
-
* @memberof WatchOrderBooksRequest
|
|
30
|
-
*/
|
|
31
|
-
credentials?: ExchangeCredentials;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the WatchOrderBooksRequest interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfWatchOrderBooksRequest(value: object): value is WatchOrderBooksRequest;
|
|
37
|
-
export declare function WatchOrderBooksRequestFromJSON(json: any): WatchOrderBooksRequest;
|
|
38
|
-
export declare function WatchOrderBooksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBooksRequest;
|
|
39
|
-
export declare function WatchOrderBooksRequestToJSON(json: any): WatchOrderBooksRequest;
|
|
40
|
-
export declare function WatchOrderBooksRequestToJSONTyped(value?: WatchOrderBooksRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ExchangeCredentialsFromJSON, ExchangeCredentialsToJSON, } from './ExchangeCredentials.js';
|
|
15
|
-
import { WatchOrderBooksRequestArgsInnerFromJSON, WatchOrderBooksRequestArgsInnerToJSON, } from './WatchOrderBooksRequestArgsInner.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the WatchOrderBooksRequest interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfWatchOrderBooksRequest(value) {
|
|
20
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function WatchOrderBooksRequestFromJSON(json) {
|
|
25
|
-
return WatchOrderBooksRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function WatchOrderBooksRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'args': (json['args'].map(WatchOrderBooksRequestArgsInnerFromJSON)),
|
|
33
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function WatchOrderBooksRequestToJSON(json) {
|
|
37
|
-
return WatchOrderBooksRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function WatchOrderBooksRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'args': (value['args'].map(WatchOrderBooksRequestArgsInnerToJSON)),
|
|
45
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @type WatchOrderBooksRequestArgsInner
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export type WatchOrderBooksRequestArgsInner = Array<string> | number;
|
|
18
|
-
export declare function WatchOrderBooksRequestArgsInnerFromJSON(json: any): WatchOrderBooksRequestArgsInner;
|
|
19
|
-
export declare function WatchOrderBooksRequestArgsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBooksRequestArgsInner;
|
|
20
|
-
export declare function WatchOrderBooksRequestArgsInnerToJSON(json: any): any;
|
|
21
|
-
export declare function WatchOrderBooksRequestArgsInnerToJSONTyped(value?: WatchOrderBooksRequestArgsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* PMXT Sidecar API
|
|
5
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.4
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export function WatchOrderBooksRequestArgsInnerFromJSON(json) {
|
|
15
|
-
return WatchOrderBooksRequestArgsInnerFromJSONTyped(json, false);
|
|
16
|
-
}
|
|
17
|
-
export function WatchOrderBooksRequestArgsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
if (json == null) {
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
if (typeof json === 'number') {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
if (Array.isArray(json)) {
|
|
25
|
-
if (json.every(item => typeof item === 'string')) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return {};
|
|
30
|
-
}
|
|
31
|
-
export function WatchOrderBooksRequestArgsInnerToJSON(json) {
|
|
32
|
-
return WatchOrderBooksRequestArgsInnerToJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function WatchOrderBooksRequestArgsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
if (typeof value === 'number') {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
if (Array.isArray(value)) {
|
|
42
|
-
if (value.every(item => typeof item === 'string')) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return {};
|
|
47
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PMXT Sidecar API
|
|
3
|
-
* A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.4.4
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ExchangeCredentials } from './ExchangeCredentials.js';
|
|
13
|
-
import type { WatchOrderBookRequestArgsInner } from './WatchOrderBookRequestArgsInner.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface WatchTradesRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface WatchTradesRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<WatchOrderBookRequestArgsInner>}
|
|
23
|
-
* @memberof WatchTradesRequest
|
|
24
|
-
*/
|
|
25
|
-
args: Array<WatchOrderBookRequestArgsInner>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ExchangeCredentials}
|
|
29
|
-
* @memberof WatchTradesRequest
|
|
30
|
-
*/
|
|
31
|
-
credentials?: ExchangeCredentials;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the WatchTradesRequest interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfWatchTradesRequest(value: object): value is WatchTradesRequest;
|
|
37
|
-
export declare function WatchTradesRequestFromJSON(json: any): WatchTradesRequest;
|
|
38
|
-
export declare function WatchTradesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchTradesRequest;
|
|
39
|
-
export declare function WatchTradesRequestToJSON(json: any): WatchTradesRequest;
|
|
40
|
-
export declare function WatchTradesRequestToJSONTyped(value?: WatchTradesRequest | null, ignoreDiscriminator?: boolean): any;
|