pmxtjs 2.41.1 → 2.41.4

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.
Files changed (65) hide show
  1. package/dist/esm/generated/src/apis/DefaultApi.d.ts +1 -193
  2. package/dist/esm/generated/src/apis/DefaultApi.js +1 -283
  3. package/dist/esm/generated/src/models/index.d.ts +0 -8
  4. package/dist/esm/generated/src/models/index.js +0 -8
  5. package/dist/esm/pmxt/client.js +5 -1
  6. package/dist/generated/src/apis/DefaultApi.d.ts +1 -193
  7. package/dist/generated/src/apis/DefaultApi.js +1 -283
  8. package/dist/generated/src/models/index.d.ts +0 -8
  9. package/dist/generated/src/models/index.js +0 -8
  10. package/dist/pmxt/client.js +5 -1
  11. package/generated/.openapi-generator/FILES +0 -16
  12. package/generated/docs/DefaultApi.md +0 -426
  13. package/generated/package.json +1 -1
  14. package/generated/src/apis/DefaultApi.ts +0 -414
  15. package/generated/src/models/index.ts +0 -8
  16. package/package.json +3 -3
  17. package/pmxt/client.ts +5 -1
  18. package/dist/esm/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
  19. package/dist/esm/generated/src/models/UnwatchAddressRequest.js +0 -44
  20. package/dist/esm/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
  21. package/dist/esm/generated/src/models/UnwatchOrderBookRequest.js +0 -44
  22. package/dist/esm/generated/src/models/WatchAddress200Response.d.ts +0 -45
  23. package/dist/esm/generated/src/models/WatchAddress200Response.js +0 -46
  24. package/dist/esm/generated/src/models/WatchAddressRequest.d.ts +0 -39
  25. package/dist/esm/generated/src/models/WatchAddressRequest.js +0 -44
  26. package/dist/esm/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
  27. package/dist/esm/generated/src/models/WatchOrderBookRequest.js +0 -44
  28. package/dist/esm/generated/src/models/WatchOrderBooks200Response.d.ts +0 -48
  29. package/dist/esm/generated/src/models/WatchOrderBooks200Response.js +0 -48
  30. package/dist/esm/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
  31. package/dist/esm/generated/src/models/WatchOrderBooksRequest.js +0 -44
  32. package/dist/esm/generated/src/models/WatchTradesRequest.d.ts +0 -39
  33. package/dist/esm/generated/src/models/WatchTradesRequest.js +0 -44
  34. package/dist/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
  35. package/dist/generated/src/models/UnwatchAddressRequest.js +0 -51
  36. package/dist/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
  37. package/dist/generated/src/models/UnwatchOrderBookRequest.js +0 -51
  38. package/dist/generated/src/models/WatchAddress200Response.d.ts +0 -45
  39. package/dist/generated/src/models/WatchAddress200Response.js +0 -53
  40. package/dist/generated/src/models/WatchAddressRequest.d.ts +0 -39
  41. package/dist/generated/src/models/WatchAddressRequest.js +0 -51
  42. package/dist/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
  43. package/dist/generated/src/models/WatchOrderBookRequest.js +0 -51
  44. package/dist/generated/src/models/WatchOrderBooks200Response.d.ts +0 -48
  45. package/dist/generated/src/models/WatchOrderBooks200Response.js +0 -55
  46. package/dist/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
  47. package/dist/generated/src/models/WatchOrderBooksRequest.js +0 -51
  48. package/dist/generated/src/models/WatchTradesRequest.d.ts +0 -39
  49. package/dist/generated/src/models/WatchTradesRequest.js +0 -51
  50. package/generated/docs/UnwatchAddressRequest.md +0 -36
  51. package/generated/docs/UnwatchOrderBookRequest.md +0 -36
  52. package/generated/docs/WatchAddress200Response.md +0 -38
  53. package/generated/docs/WatchAddressRequest.md +0 -36
  54. package/generated/docs/WatchOrderBookRequest.md +0 -36
  55. package/generated/docs/WatchOrderBooks200Response.md +0 -38
  56. package/generated/docs/WatchOrderBooksRequest.md +0 -36
  57. package/generated/docs/WatchTradesRequest.md +0 -36
  58. package/generated/src/models/UnwatchAddressRequest.ts +0 -81
  59. package/generated/src/models/UnwatchOrderBookRequest.ts +0 -81
  60. package/generated/src/models/WatchAddress200Response.ts +0 -89
  61. package/generated/src/models/WatchAddressRequest.ts +0 -81
  62. package/generated/src/models/WatchOrderBookRequest.ts +0 -81
  63. package/generated/src/models/WatchOrderBooks200Response.ts +0 -96
  64. package/generated/src/models/WatchOrderBooksRequest.ts +0 -81
  65. package/generated/src/models/WatchTradesRequest.ts +0 -81
@@ -1,45 +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 { ErrorDetail } from './ErrorDetail.js';
13
- /**
14
- *
15
- * @export
16
- * @interface WatchAddress200Response
17
- */
18
- export interface WatchAddress200Response {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof WatchAddress200Response
23
- */
24
- success?: boolean;
25
- /**
26
- *
27
- * @type {ErrorDetail}
28
- * @memberof WatchAddress200Response
29
- */
30
- error?: ErrorDetail;
31
- /**
32
- *
33
- * @type {object}
34
- * @memberof WatchAddress200Response
35
- */
36
- data?: object;
37
- }
38
- /**
39
- * Check if a given object implements the WatchAddress200Response interface.
40
- */
41
- export declare function instanceOfWatchAddress200Response(value: object): value is WatchAddress200Response;
42
- export declare function WatchAddress200ResponseFromJSON(json: any): WatchAddress200Response;
43
- export declare function WatchAddress200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchAddress200Response;
44
- export declare function WatchAddress200ResponseToJSON(json: any): WatchAddress200Response;
45
- export declare function WatchAddress200ResponseToJSONTyped(value?: WatchAddress200Response | 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 { ErrorDetailFromJSON, ErrorDetailToJSON, } from './ErrorDetail.js';
15
- /**
16
- * Check if a given object implements the WatchAddress200Response interface.
17
- */
18
- export function instanceOfWatchAddress200Response(value) {
19
- return true;
20
- }
21
- export function WatchAddress200ResponseFromJSON(json) {
22
- return WatchAddress200ResponseFromJSONTyped(json, false);
23
- }
24
- export function WatchAddress200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'success': json['success'] == null ? undefined : json['success'],
30
- 'error': json['error'] == null ? undefined : ErrorDetailFromJSON(json['error']),
31
- 'data': json['data'] == null ? undefined : json['data'],
32
- };
33
- }
34
- export function WatchAddress200ResponseToJSON(json) {
35
- return WatchAddress200ResponseToJSONTyped(json, false);
36
- }
37
- export function WatchAddress200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'success': value['success'],
43
- 'error': ErrorDetailToJSON(value['error']),
44
- 'data': value['data'],
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 WatchAddressRequest
17
- */
18
- export interface WatchAddressRequest {
19
- /**
20
- *
21
- * @type {Array<string>}
22
- * @memberof WatchAddressRequest
23
- */
24
- args?: Array<string>;
25
- /**
26
- *
27
- * @type {ExchangeCredentials}
28
- * @memberof WatchAddressRequest
29
- */
30
- credentials?: ExchangeCredentials;
31
- }
32
- /**
33
- * Check if a given object implements the WatchAddressRequest interface.
34
- */
35
- export declare function instanceOfWatchAddressRequest(value: object): value is WatchAddressRequest;
36
- export declare function WatchAddressRequestFromJSON(json: any): WatchAddressRequest;
37
- export declare function WatchAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchAddressRequest;
38
- export declare function WatchAddressRequestToJSON(json: any): WatchAddressRequest;
39
- export declare function WatchAddressRequestToJSONTyped(value?: WatchAddressRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +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 WatchAddressRequest interface.
17
- */
18
- export function instanceOfWatchAddressRequest(value) {
19
- return true;
20
- }
21
- export function WatchAddressRequestFromJSON(json) {
22
- return WatchAddressRequestFromJSONTyped(json, false);
23
- }
24
- export function WatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'args': json['args'] == null ? undefined : json['args'],
30
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
31
- };
32
- }
33
- export function WatchAddressRequestToJSON(json) {
34
- return WatchAddressRequestToJSONTyped(json, false);
35
- }
36
- export function WatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'args': value['args'],
42
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
43
- };
44
- }
@@ -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 WatchOrderBookRequest
17
- */
18
- export interface WatchOrderBookRequest {
19
- /**
20
- *
21
- * @type {Array<string>}
22
- * @memberof WatchOrderBookRequest
23
- */
24
- args?: Array<string>;
25
- /**
26
- *
27
- * @type {ExchangeCredentials}
28
- * @memberof WatchOrderBookRequest
29
- */
30
- credentials?: ExchangeCredentials;
31
- }
32
- /**
33
- * Check if a given object implements the WatchOrderBookRequest interface.
34
- */
35
- export declare function instanceOfWatchOrderBookRequest(value: object): value is WatchOrderBookRequest;
36
- export declare function WatchOrderBookRequestFromJSON(json: any): WatchOrderBookRequest;
37
- export declare function WatchOrderBookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBookRequest;
38
- export declare function WatchOrderBookRequestToJSON(json: any): WatchOrderBookRequest;
39
- export declare function WatchOrderBookRequestToJSONTyped(value?: WatchOrderBookRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +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 WatchOrderBookRequest interface.
17
- */
18
- export function instanceOfWatchOrderBookRequest(value) {
19
- return true;
20
- }
21
- export function WatchOrderBookRequestFromJSON(json) {
22
- return WatchOrderBookRequestFromJSONTyped(json, false);
23
- }
24
- export function WatchOrderBookRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'args': json['args'] == null ? undefined : json['args'],
30
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
31
- };
32
- }
33
- export function WatchOrderBookRequestToJSON(json) {
34
- return WatchOrderBookRequestToJSONTyped(json, false);
35
- }
36
- export function WatchOrderBookRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'args': value['args'],
42
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
43
- };
44
- }
@@ -1,48 +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 { ErrorDetail } from './ErrorDetail.js';
13
- import type { OrderBook } from './OrderBook.js';
14
- /**
15
- *
16
- * @export
17
- * @interface WatchOrderBooks200Response
18
- */
19
- export interface WatchOrderBooks200Response {
20
- /**
21
- *
22
- * @type {boolean}
23
- * @memberof WatchOrderBooks200Response
24
- */
25
- success?: boolean;
26
- /**
27
- *
28
- * @type {ErrorDetail}
29
- * @memberof WatchOrderBooks200Response
30
- */
31
- error?: ErrorDetail;
32
- /**
33
- *
34
- * @type {{ [key: string]: OrderBook; }}
35
- * @memberof WatchOrderBooks200Response
36
- */
37
- data?: {
38
- [key: string]: OrderBook;
39
- };
40
- }
41
- /**
42
- * Check if a given object implements the WatchOrderBooks200Response interface.
43
- */
44
- export declare function instanceOfWatchOrderBooks200Response(value: object): value is WatchOrderBooks200Response;
45
- export declare function WatchOrderBooks200ResponseFromJSON(json: any): WatchOrderBooks200Response;
46
- export declare function WatchOrderBooks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBooks200Response;
47
- export declare function WatchOrderBooks200ResponseToJSON(json: any): WatchOrderBooks200Response;
48
- export declare function WatchOrderBooks200ResponseToJSONTyped(value?: WatchOrderBooks200Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,48 +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 { mapValues } from '../runtime.js';
15
- import { ErrorDetailFromJSON, ErrorDetailToJSON, } from './ErrorDetail.js';
16
- import { OrderBookFromJSON, OrderBookToJSON, } from './OrderBook.js';
17
- /**
18
- * Check if a given object implements the WatchOrderBooks200Response interface.
19
- */
20
- export function instanceOfWatchOrderBooks200Response(value) {
21
- return true;
22
- }
23
- export function WatchOrderBooks200ResponseFromJSON(json) {
24
- return WatchOrderBooks200ResponseFromJSONTyped(json, false);
25
- }
26
- export function WatchOrderBooks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'success': json['success'] == null ? undefined : json['success'],
32
- 'error': json['error'] == null ? undefined : ErrorDetailFromJSON(json['error']),
33
- 'data': json['data'] == null ? undefined : (mapValues(json['data'], OrderBookFromJSON)),
34
- };
35
- }
36
- export function WatchOrderBooks200ResponseToJSON(json) {
37
- return WatchOrderBooks200ResponseToJSONTyped(json, false);
38
- }
39
- export function WatchOrderBooks200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'success': value['success'],
45
- 'error': ErrorDetailToJSON(value['error']),
46
- 'data': value['data'] == null ? undefined : (mapValues(value['data'], OrderBookToJSON)),
47
- };
48
- }
@@ -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 WatchOrderBooksRequest
17
- */
18
- export interface WatchOrderBooksRequest {
19
- /**
20
- *
21
- * @type {Array<string>}
22
- * @memberof WatchOrderBooksRequest
23
- */
24
- args?: Array<string>;
25
- /**
26
- *
27
- * @type {ExchangeCredentials}
28
- * @memberof WatchOrderBooksRequest
29
- */
30
- credentials?: ExchangeCredentials;
31
- }
32
- /**
33
- * Check if a given object implements the WatchOrderBooksRequest interface.
34
- */
35
- export declare function instanceOfWatchOrderBooksRequest(value: object): value is WatchOrderBooksRequest;
36
- export declare function WatchOrderBooksRequestFromJSON(json: any): WatchOrderBooksRequest;
37
- export declare function WatchOrderBooksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchOrderBooksRequest;
38
- export declare function WatchOrderBooksRequestToJSON(json: any): WatchOrderBooksRequest;
39
- export declare function WatchOrderBooksRequestToJSONTyped(value?: WatchOrderBooksRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +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 WatchOrderBooksRequest interface.
17
- */
18
- export function instanceOfWatchOrderBooksRequest(value) {
19
- return true;
20
- }
21
- export function WatchOrderBooksRequestFromJSON(json) {
22
- return WatchOrderBooksRequestFromJSONTyped(json, false);
23
- }
24
- export function WatchOrderBooksRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'args': json['args'] == null ? undefined : json['args'],
30
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
31
- };
32
- }
33
- export function WatchOrderBooksRequestToJSON(json) {
34
- return WatchOrderBooksRequestToJSONTyped(json, false);
35
- }
36
- export function WatchOrderBooksRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'args': value['args'],
42
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
43
- };
44
- }
@@ -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 WatchTradesRequest
17
- */
18
- export interface WatchTradesRequest {
19
- /**
20
- *
21
- * @type {Array<string>}
22
- * @memberof WatchTradesRequest
23
- */
24
- args?: Array<string>;
25
- /**
26
- *
27
- * @type {ExchangeCredentials}
28
- * @memberof WatchTradesRequest
29
- */
30
- credentials?: ExchangeCredentials;
31
- }
32
- /**
33
- * Check if a given object implements the WatchTradesRequest interface.
34
- */
35
- export declare function instanceOfWatchTradesRequest(value: object): value is WatchTradesRequest;
36
- export declare function WatchTradesRequestFromJSON(json: any): WatchTradesRequest;
37
- export declare function WatchTradesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WatchTradesRequest;
38
- export declare function WatchTradesRequestToJSON(json: any): WatchTradesRequest;
39
- export declare function WatchTradesRequestToJSONTyped(value?: WatchTradesRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +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 WatchTradesRequest interface.
17
- */
18
- export function instanceOfWatchTradesRequest(value) {
19
- return true;
20
- }
21
- export function WatchTradesRequestFromJSON(json) {
22
- return WatchTradesRequestFromJSONTyped(json, false);
23
- }
24
- export function WatchTradesRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'args': json['args'] == null ? undefined : json['args'],
30
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
31
- };
32
- }
33
- export function WatchTradesRequestToJSON(json) {
34
- return WatchTradesRequestToJSONTyped(json, false);
35
- }
36
- export function WatchTradesRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'args': value['args'],
42
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
43
- };
44
- }
@@ -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,51 +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
- return true;
27
- }
28
- function UnwatchAddressRequestFromJSON(json) {
29
- return UnwatchAddressRequestFromJSONTyped(json, false);
30
- }
31
- function UnwatchAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'args': json['args'] == null ? undefined : json['args'],
37
- 'credentials': json['credentials'] == null ? undefined : (0, ExchangeCredentials_1.ExchangeCredentialsFromJSON)(json['credentials']),
38
- };
39
- }
40
- function UnwatchAddressRequestToJSON(json) {
41
- return UnwatchAddressRequestToJSONTyped(json, false);
42
- }
43
- function UnwatchAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'args': value['args'],
49
- 'credentials': (0, ExchangeCredentials_1.ExchangeCredentialsToJSON)(value['credentials']),
50
- };
51
- }
@@ -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;