pmxtjs 2.41.1 → 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 -6
- package/dist/esm/generated/src/models/index.js +0 -6
- package/dist/esm/pmxt/client.js +5 -1
- 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 -6
- package/dist/generated/src/models/index.js +0 -6
- package/dist/pmxt/client.js +5 -1
- package/generated/.openapi-generator/FILES +0 -12
- package/generated/docs/DefaultApi.md +42 -60
- package/generated/package.json +1 -1
- package/generated/src/apis/DefaultApi.ts +48 -90
- package/generated/src/models/index.ts +0 -6
- package/package.json +2 -2
- package/pmxt/client.ts +5 -1
- package/dist/esm/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/UnwatchAddressRequest.js +0 -44
- package/dist/esm/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/UnwatchOrderBookRequest.js +0 -44
- package/dist/esm/generated/src/models/WatchAddressRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/WatchAddressRequest.js +0 -44
- package/dist/esm/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/WatchOrderBookRequest.js +0 -44
- package/dist/esm/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/WatchOrderBooksRequest.js +0 -44
- package/dist/esm/generated/src/models/WatchTradesRequest.d.ts +0 -39
- package/dist/esm/generated/src/models/WatchTradesRequest.js +0 -44
- package/dist/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
- package/dist/generated/src/models/UnwatchAddressRequest.js +0 -51
- package/dist/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
- package/dist/generated/src/models/UnwatchOrderBookRequest.js +0 -51
- package/dist/generated/src/models/WatchAddressRequest.d.ts +0 -39
- package/dist/generated/src/models/WatchAddressRequest.js +0 -51
- package/dist/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
- package/dist/generated/src/models/WatchOrderBookRequest.js +0 -51
- package/dist/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
- package/dist/generated/src/models/WatchOrderBooksRequest.js +0 -51
- package/dist/generated/src/models/WatchTradesRequest.d.ts +0 -39
- package/dist/generated/src/models/WatchTradesRequest.js +0 -51
- package/generated/docs/UnwatchAddressRequest.md +0 -36
- package/generated/docs/UnwatchOrderBookRequest.md +0 -36
- package/generated/docs/WatchAddressRequest.md +0 -36
- package/generated/docs/WatchOrderBookRequest.md +0 -36
- package/generated/docs/WatchOrderBooksRequest.md +0 -36
- package/generated/docs/WatchTradesRequest.md +0 -36
- package/generated/src/models/UnwatchAddressRequest.ts +0 -81
- package/generated/src/models/UnwatchOrderBookRequest.ts +0 -81
- package/generated/src/models/WatchAddressRequest.ts +0 -81
- package/generated/src/models/WatchOrderBookRequest.ts +0 -81
- package/generated/src/models/WatchOrderBooksRequest.ts +0 -81
- package/generated/src/models/WatchTradesRequest.ts +0 -81
|
@@ -1,81 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ExchangeCredentials } from './ExchangeCredentials';
|
|
17
|
-
import {
|
|
18
|
-
ExchangeCredentialsFromJSON,
|
|
19
|
-
ExchangeCredentialsFromJSONTyped,
|
|
20
|
-
ExchangeCredentialsToJSON,
|
|
21
|
-
ExchangeCredentialsToJSONTyped,
|
|
22
|
-
} from './ExchangeCredentials';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WatchAddressRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface WatchAddressRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof WatchAddressRequest
|
|
34
|
-
*/
|
|
35
|
-
args?: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {ExchangeCredentials}
|
|
39
|
-
* @memberof WatchAddressRequest
|
|
40
|
-
*/
|
|
41
|
-
credentials?: ExchangeCredentials;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the WatchAddressRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfWatchAddressRequest(value: object): value is WatchAddressRequest {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function WatchAddressRequestFromJSON(json: any): WatchAddressRequest {
|
|
52
|
-
return WatchAddressRequestFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function WatchAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchAddressRequest {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'args': json['args'] == null ? undefined : json['args'],
|
|
62
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function WatchAddressRequestToJSON(json: any): WatchAddressRequest {
|
|
67
|
-
return WatchAddressRequestToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function WatchAddressRequestToJSONTyped(value?: WatchAddressRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'args': value['args'],
|
|
78
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
@@ -1,81 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ExchangeCredentials } from './ExchangeCredentials';
|
|
17
|
-
import {
|
|
18
|
-
ExchangeCredentialsFromJSON,
|
|
19
|
-
ExchangeCredentialsFromJSONTyped,
|
|
20
|
-
ExchangeCredentialsToJSON,
|
|
21
|
-
ExchangeCredentialsToJSONTyped,
|
|
22
|
-
} from './ExchangeCredentials';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WatchOrderBookRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface WatchOrderBookRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof WatchOrderBookRequest
|
|
34
|
-
*/
|
|
35
|
-
args?: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {ExchangeCredentials}
|
|
39
|
-
* @memberof WatchOrderBookRequest
|
|
40
|
-
*/
|
|
41
|
-
credentials?: ExchangeCredentials;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the WatchOrderBookRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfWatchOrderBookRequest(value: object): value is WatchOrderBookRequest {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function WatchOrderBookRequestFromJSON(json: any): WatchOrderBookRequest {
|
|
52
|
-
return WatchOrderBookRequestFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function WatchOrderBookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBookRequest {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'args': json['args'] == null ? undefined : json['args'],
|
|
62
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function WatchOrderBookRequestToJSON(json: any): WatchOrderBookRequest {
|
|
67
|
-
return WatchOrderBookRequestToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function WatchOrderBookRequestToJSONTyped(value?: WatchOrderBookRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'args': value['args'],
|
|
78
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
@@ -1,81 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ExchangeCredentials } from './ExchangeCredentials';
|
|
17
|
-
import {
|
|
18
|
-
ExchangeCredentialsFromJSON,
|
|
19
|
-
ExchangeCredentialsFromJSONTyped,
|
|
20
|
-
ExchangeCredentialsToJSON,
|
|
21
|
-
ExchangeCredentialsToJSONTyped,
|
|
22
|
-
} from './ExchangeCredentials';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WatchOrderBooksRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface WatchOrderBooksRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof WatchOrderBooksRequest
|
|
34
|
-
*/
|
|
35
|
-
args?: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {ExchangeCredentials}
|
|
39
|
-
* @memberof WatchOrderBooksRequest
|
|
40
|
-
*/
|
|
41
|
-
credentials?: ExchangeCredentials;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the WatchOrderBooksRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfWatchOrderBooksRequest(value: object): value is WatchOrderBooksRequest {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function WatchOrderBooksRequestFromJSON(json: any): WatchOrderBooksRequest {
|
|
52
|
-
return WatchOrderBooksRequestFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function WatchOrderBooksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBooksRequest {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'args': json['args'] == null ? undefined : json['args'],
|
|
62
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function WatchOrderBooksRequestToJSON(json: any): WatchOrderBooksRequest {
|
|
67
|
-
return WatchOrderBooksRequestToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function WatchOrderBooksRequestToJSONTyped(value?: WatchOrderBooksRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'args': value['args'],
|
|
78
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
@@ -1,81 +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
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ExchangeCredentials } from './ExchangeCredentials';
|
|
17
|
-
import {
|
|
18
|
-
ExchangeCredentialsFromJSON,
|
|
19
|
-
ExchangeCredentialsFromJSONTyped,
|
|
20
|
-
ExchangeCredentialsToJSON,
|
|
21
|
-
ExchangeCredentialsToJSONTyped,
|
|
22
|
-
} from './ExchangeCredentials';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface WatchTradesRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface WatchTradesRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof WatchTradesRequest
|
|
34
|
-
*/
|
|
35
|
-
args?: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {ExchangeCredentials}
|
|
39
|
-
* @memberof WatchTradesRequest
|
|
40
|
-
*/
|
|
41
|
-
credentials?: ExchangeCredentials;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the WatchTradesRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfWatchTradesRequest(value: object): value is WatchTradesRequest {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function WatchTradesRequestFromJSON(json: any): WatchTradesRequest {
|
|
52
|
-
return WatchTradesRequestFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function WatchTradesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchTradesRequest {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'args': json['args'] == null ? undefined : json['args'],
|
|
62
|
-
'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function WatchTradesRequestToJSON(json: any): WatchTradesRequest {
|
|
67
|
-
return WatchTradesRequestToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function WatchTradesRequestToJSONTyped(value?: WatchTradesRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'args': value['args'],
|
|
78
|
-
'credentials': ExchangeCredentialsToJSON(value['credentials']),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|