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,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 WatchTradesRequest interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfWatchTradesRequest(value) {
|
|
20
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function WatchTradesRequestFromJSON(json) {
|
|
25
|
-
return WatchTradesRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function WatchTradesRequestFromJSONTyped(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 WatchTradesRequestToJSON(json) {
|
|
37
|
-
return WatchTradesRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function WatchTradesRequestToJSONTyped(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,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';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UnwatchAddressRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UnwatchAddressRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<string>}
|
|
22
|
-
* @memberof UnwatchAddressRequest
|
|
23
|
-
*/
|
|
24
|
-
args: Array<string>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ExchangeCredentials}
|
|
28
|
-
* @memberof UnwatchAddressRequest
|
|
29
|
-
*/
|
|
30
|
-
credentials?: ExchangeCredentials;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the UnwatchAddressRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfUnwatchAddressRequest(value: object): value is UnwatchAddressRequest;
|
|
36
|
-
export declare function UnwatchAddressRequestFromJSON(json: any): UnwatchAddressRequest;
|
|
37
|
-
export declare function UnwatchAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnwatchAddressRequest;
|
|
38
|
-
export declare function UnwatchAddressRequestToJSON(json: any): UnwatchAddressRequest;
|
|
39
|
-
export declare function UnwatchAddressRequestToJSONTyped(value?: UnwatchAddressRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfUnwatchAddressRequest = instanceOfUnwatchAddressRequest;
|
|
17
|
-
exports.UnwatchAddressRequestFromJSON = UnwatchAddressRequestFromJSON;
|
|
18
|
-
exports.UnwatchAddressRequestFromJSONTyped = UnwatchAddressRequestFromJSONTyped;
|
|
19
|
-
exports.UnwatchAddressRequestToJSON = UnwatchAddressRequestToJSON;
|
|
20
|
-
exports.UnwatchAddressRequestToJSONTyped = UnwatchAddressRequestToJSONTyped;
|
|
21
|
-
const ExchangeCredentials_1 = require("./ExchangeCredentials");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the UnwatchAddressRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfUnwatchAddressRequest(value) {
|
|
26
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function UnwatchAddressRequestFromJSON(json) {
|
|
31
|
-
return UnwatchAddressRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function UnwatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'args': json['args'],
|
|
39
|
-
'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function UnwatchAddressRequestToJSON(json) {
|
|
43
|
-
return UnwatchAddressRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function UnwatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'args': value['args'],
|
|
51
|
-
'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -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';
|
|
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,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfUnwatchOrderBookRequest = instanceOfUnwatchOrderBookRequest;
|
|
17
|
-
exports.UnwatchOrderBookRequestFromJSON = UnwatchOrderBookRequestFromJSON;
|
|
18
|
-
exports.UnwatchOrderBookRequestFromJSONTyped = UnwatchOrderBookRequestFromJSONTyped;
|
|
19
|
-
exports.UnwatchOrderBookRequestToJSON = UnwatchOrderBookRequestToJSON;
|
|
20
|
-
exports.UnwatchOrderBookRequestToJSONTyped = UnwatchOrderBookRequestToJSONTyped;
|
|
21
|
-
const ExchangeCredentials_1 = require("./ExchangeCredentials");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the UnwatchOrderBookRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfUnwatchOrderBookRequest(value) {
|
|
26
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function UnwatchOrderBookRequestFromJSON(json) {
|
|
31
|
-
return UnwatchOrderBookRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function UnwatchOrderBookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'args': json['args'],
|
|
39
|
-
'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function UnwatchOrderBookRequestToJSON(json) {
|
|
43
|
-
return UnwatchOrderBookRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function UnwatchOrderBookRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'args': value['args'],
|
|
51
|
-
'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -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';
|
|
13
|
-
import type { ExchangeCredentials } from './ExchangeCredentials';
|
|
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,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfWatchAddressRequest = instanceOfWatchAddressRequest;
|
|
17
|
-
exports.WatchAddressRequestFromJSON = WatchAddressRequestFromJSON;
|
|
18
|
-
exports.WatchAddressRequestFromJSONTyped = WatchAddressRequestFromJSONTyped;
|
|
19
|
-
exports.WatchAddressRequestToJSON = WatchAddressRequestToJSON;
|
|
20
|
-
exports.WatchAddressRequestToJSONTyped = WatchAddressRequestToJSONTyped;
|
|
21
|
-
const WatchAddressRequestArgsInner_1 = require("./WatchAddressRequestArgsInner");
|
|
22
|
-
const ExchangeCredentials_1 = require("./ExchangeCredentials");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the WatchAddressRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfWatchAddressRequest(value) {
|
|
27
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function WatchAddressRequestFromJSON(json) {
|
|
32
|
-
return WatchAddressRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function WatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'args': (json['args'].map(WatchAddressRequestArgsInner_1.WatchAddressRequestArgsInnerFromJSON)),
|
|
40
|
-
'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function WatchAddressRequestToJSON(json) {
|
|
44
|
-
return WatchAddressRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function WatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'args': (value['args'].map(WatchAddressRequestArgsInner_1.WatchAddressRequestArgsInnerToJSON)),
|
|
52
|
-
'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -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,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WatchAddressRequestArgsInnerFromJSON = WatchAddressRequestArgsInnerFromJSON;
|
|
17
|
-
exports.WatchAddressRequestArgsInnerFromJSONTyped = WatchAddressRequestArgsInnerFromJSONTyped;
|
|
18
|
-
exports.WatchAddressRequestArgsInnerToJSON = WatchAddressRequestArgsInnerToJSON;
|
|
19
|
-
exports.WatchAddressRequestArgsInnerToJSONTyped = WatchAddressRequestArgsInnerToJSONTyped;
|
|
20
|
-
function WatchAddressRequestArgsInnerFromJSON(json) {
|
|
21
|
-
return WatchAddressRequestArgsInnerFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
function WatchAddressRequestArgsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'string') {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {};
|
|
31
|
-
}
|
|
32
|
-
function WatchAddressRequestArgsInnerToJSON(json) {
|
|
33
|
-
return WatchAddressRequestArgsInnerToJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function WatchAddressRequestArgsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
-
if (value == null) {
|
|
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';
|
|
13
|
-
import type { WatchOrderBookRequestArgsInner } from './WatchOrderBookRequestArgsInner';
|
|
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,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfWatchOrderBookRequest = instanceOfWatchOrderBookRequest;
|
|
17
|
-
exports.WatchOrderBookRequestFromJSON = WatchOrderBookRequestFromJSON;
|
|
18
|
-
exports.WatchOrderBookRequestFromJSONTyped = WatchOrderBookRequestFromJSONTyped;
|
|
19
|
-
exports.WatchOrderBookRequestToJSON = WatchOrderBookRequestToJSON;
|
|
20
|
-
exports.WatchOrderBookRequestToJSONTyped = WatchOrderBookRequestToJSONTyped;
|
|
21
|
-
const ExchangeCredentials_1 = require("./ExchangeCredentials");
|
|
22
|
-
const WatchOrderBookRequestArgsInner_1 = require("./WatchOrderBookRequestArgsInner");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the WatchOrderBookRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfWatchOrderBookRequest(value) {
|
|
27
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function WatchOrderBookRequestFromJSON(json) {
|
|
32
|
-
return WatchOrderBookRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function WatchOrderBookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'args': (json['args'].map(WatchOrderBookRequestArgsInner_1.WatchOrderBookRequestArgsInnerFromJSON)),
|
|
40
|
-
'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function WatchOrderBookRequestToJSON(json) {
|
|
44
|
-
return WatchOrderBookRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function WatchOrderBookRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'args': (value['args'].map(WatchOrderBookRequestArgsInner_1.WatchOrderBookRequestArgsInnerToJSON)),
|
|
52
|
-
'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -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,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WatchOrderBookRequestArgsInnerFromJSON = WatchOrderBookRequestArgsInnerFromJSON;
|
|
17
|
-
exports.WatchOrderBookRequestArgsInnerFromJSONTyped = WatchOrderBookRequestArgsInnerFromJSONTyped;
|
|
18
|
-
exports.WatchOrderBookRequestArgsInnerToJSON = WatchOrderBookRequestArgsInnerToJSON;
|
|
19
|
-
exports.WatchOrderBookRequestArgsInnerToJSONTyped = WatchOrderBookRequestArgsInnerToJSONTyped;
|
|
20
|
-
function WatchOrderBookRequestArgsInnerFromJSON(json) {
|
|
21
|
-
return WatchOrderBookRequestArgsInnerFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
function WatchOrderBookRequestArgsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
if (typeof json === 'number') {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json === 'string') {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {};
|
|
34
|
-
}
|
|
35
|
-
function WatchOrderBookRequestArgsInnerToJSON(json) {
|
|
36
|
-
return WatchOrderBookRequestArgsInnerToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function WatchOrderBookRequestArgsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
if (typeof value === 'number') {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
if (typeof value === 'string') {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {};
|
|
49
|
-
}
|
|
@@ -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';
|
|
13
|
-
import type { WatchOrderBooksRequestArgsInner } from './WatchOrderBooksRequestArgsInner';
|
|
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,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* PMXT Sidecar API
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.4.4
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfWatchOrderBooksRequest = instanceOfWatchOrderBooksRequest;
|
|
17
|
-
exports.WatchOrderBooksRequestFromJSON = WatchOrderBooksRequestFromJSON;
|
|
18
|
-
exports.WatchOrderBooksRequestFromJSONTyped = WatchOrderBooksRequestFromJSONTyped;
|
|
19
|
-
exports.WatchOrderBooksRequestToJSON = WatchOrderBooksRequestToJSON;
|
|
20
|
-
exports.WatchOrderBooksRequestToJSONTyped = WatchOrderBooksRequestToJSONTyped;
|
|
21
|
-
const ExchangeCredentials_1 = require("./ExchangeCredentials");
|
|
22
|
-
const WatchOrderBooksRequestArgsInner_1 = require("./WatchOrderBooksRequestArgsInner");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the WatchOrderBooksRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfWatchOrderBooksRequest(value) {
|
|
27
|
-
if (!('args' in value) || value['args'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function WatchOrderBooksRequestFromJSON(json) {
|
|
32
|
-
return WatchOrderBooksRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function WatchOrderBooksRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'args': (json['args'].map(WatchOrderBooksRequestArgsInner_1.WatchOrderBooksRequestArgsInnerFromJSON)),
|
|
40
|
-
'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function WatchOrderBooksRequestToJSON(json) {
|
|
44
|
-
return WatchOrderBooksRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function WatchOrderBooksRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'args': (value['args'].map(WatchOrderBooksRequestArgsInner_1.WatchOrderBooksRequestArgsInnerToJSON)),
|
|
52
|
-
'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
|
|
53
|
-
};
|
|
54
|
-
}
|