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,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.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
- return true;
27
- }
28
- function UnwatchOrderBookRequestFromJSON(json) {
29
- return UnwatchOrderBookRequestFromJSONTyped(json, false);
30
- }
31
- function UnwatchOrderBookRequestFromJSONTyped(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 UnwatchOrderBookRequestToJSON(json) {
41
- return UnwatchOrderBookRequestToJSONTyped(json, false);
42
- }
43
- function UnwatchOrderBookRequestToJSONTyped(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,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';
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,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.instanceOfWatchAddress200Response = instanceOfWatchAddress200Response;
17
- exports.WatchAddress200ResponseFromJSON = WatchAddress200ResponseFromJSON;
18
- exports.WatchAddress200ResponseFromJSONTyped = WatchAddress200ResponseFromJSONTyped;
19
- exports.WatchAddress200ResponseToJSON = WatchAddress200ResponseToJSON;
20
- exports.WatchAddress200ResponseToJSONTyped = WatchAddress200ResponseToJSONTyped;
21
- const ErrorDetail_1 = require("./ErrorDetail");
22
- /**
23
- * Check if a given object implements the WatchAddress200Response interface.
24
- */
25
- function instanceOfWatchAddress200Response(value) {
26
- return true;
27
- }
28
- function WatchAddress200ResponseFromJSON(json) {
29
- return WatchAddress200ResponseFromJSONTyped(json, false);
30
- }
31
- function WatchAddress200ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'success': json['success'] == null ? undefined : json['success'],
37
- 'error': json['error'] == null ? undefined : (0, ErrorDetail_1.ErrorDetailFromJSON)(json['error']),
38
- 'data': json['data'] == null ? undefined : json['data'],
39
- };
40
- }
41
- function WatchAddress200ResponseToJSON(json) {
42
- return WatchAddress200ResponseToJSONTyped(json, false);
43
- }
44
- function WatchAddress200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'success': value['success'],
50
- 'error': (0, ErrorDetail_1.ErrorDetailToJSON)(value['error']),
51
- 'data': value['data'],
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 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,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.instanceOfWatchAddressRequest = instanceOfWatchAddressRequest;
17
- exports.WatchAddressRequestFromJSON = WatchAddressRequestFromJSON;
18
- exports.WatchAddressRequestFromJSONTyped = WatchAddressRequestFromJSONTyped;
19
- exports.WatchAddressRequestToJSON = WatchAddressRequestToJSON;
20
- exports.WatchAddressRequestToJSONTyped = WatchAddressRequestToJSONTyped;
21
- const ExchangeCredentials_1 = require("./ExchangeCredentials");
22
- /**
23
- * Check if a given object implements the WatchAddressRequest interface.
24
- */
25
- function instanceOfWatchAddressRequest(value) {
26
- return true;
27
- }
28
- function WatchAddressRequestFromJSON(json) {
29
- return WatchAddressRequestFromJSONTyped(json, false);
30
- }
31
- function WatchAddressRequestFromJSONTyped(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 WatchAddressRequestToJSON(json) {
41
- return WatchAddressRequestToJSONTyped(json, false);
42
- }
43
- function WatchAddressRequestToJSONTyped(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 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,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.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
- /**
23
- * Check if a given object implements the WatchOrderBookRequest interface.
24
- */
25
- function instanceOfWatchOrderBookRequest(value) {
26
- return true;
27
- }
28
- function WatchOrderBookRequestFromJSON(json) {
29
- return WatchOrderBookRequestFromJSONTyped(json, false);
30
- }
31
- function WatchOrderBookRequestFromJSONTyped(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 WatchOrderBookRequestToJSON(json) {
41
- return WatchOrderBookRequestToJSONTyped(json, false);
42
- }
43
- function WatchOrderBookRequestToJSONTyped(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,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';
13
- import type { OrderBook } from './OrderBook';
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,55 +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.instanceOfWatchOrderBooks200Response = instanceOfWatchOrderBooks200Response;
17
- exports.WatchOrderBooks200ResponseFromJSON = WatchOrderBooks200ResponseFromJSON;
18
- exports.WatchOrderBooks200ResponseFromJSONTyped = WatchOrderBooks200ResponseFromJSONTyped;
19
- exports.WatchOrderBooks200ResponseToJSON = WatchOrderBooks200ResponseToJSON;
20
- exports.WatchOrderBooks200ResponseToJSONTyped = WatchOrderBooks200ResponseToJSONTyped;
21
- const runtime_1 = require("../runtime");
22
- const ErrorDetail_1 = require("./ErrorDetail");
23
- const OrderBook_1 = require("./OrderBook");
24
- /**
25
- * Check if a given object implements the WatchOrderBooks200Response interface.
26
- */
27
- function instanceOfWatchOrderBooks200Response(value) {
28
- return true;
29
- }
30
- function WatchOrderBooks200ResponseFromJSON(json) {
31
- return WatchOrderBooks200ResponseFromJSONTyped(json, false);
32
- }
33
- function WatchOrderBooks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'success': json['success'] == null ? undefined : json['success'],
39
- 'error': json['error'] == null ? undefined : (0, ErrorDetail_1.ErrorDetailFromJSON)(json['error']),
40
- 'data': json['data'] == null ? undefined : ((0, runtime_1.mapValues)(json['data'], OrderBook_1.OrderBookFromJSON)),
41
- };
42
- }
43
- function WatchOrderBooks200ResponseToJSON(json) {
44
- return WatchOrderBooks200ResponseToJSONTyped(json, false);
45
- }
46
- function WatchOrderBooks200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'success': value['success'],
52
- 'error': (0, ErrorDetail_1.ErrorDetailToJSON)(value['error']),
53
- 'data': value['data'] == null ? undefined : ((0, runtime_1.mapValues)(value['data'], OrderBook_1.OrderBookToJSON)),
54
- };
55
- }
@@ -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 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,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.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
- /**
23
- * Check if a given object implements the WatchOrderBooksRequest interface.
24
- */
25
- function instanceOfWatchOrderBooksRequest(value) {
26
- return true;
27
- }
28
- function WatchOrderBooksRequestFromJSON(json) {
29
- return WatchOrderBooksRequestFromJSONTyped(json, false);
30
- }
31
- function WatchOrderBooksRequestFromJSONTyped(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 WatchOrderBooksRequestToJSON(json) {
41
- return WatchOrderBooksRequestToJSONTyped(json, false);
42
- }
43
- function WatchOrderBooksRequestToJSONTyped(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 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,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.instanceOfWatchTradesRequest = instanceOfWatchTradesRequest;
17
- exports.WatchTradesRequestFromJSON = WatchTradesRequestFromJSON;
18
- exports.WatchTradesRequestFromJSONTyped = WatchTradesRequestFromJSONTyped;
19
- exports.WatchTradesRequestToJSON = WatchTradesRequestToJSON;
20
- exports.WatchTradesRequestToJSONTyped = WatchTradesRequestToJSONTyped;
21
- const ExchangeCredentials_1 = require("./ExchangeCredentials");
22
- /**
23
- * Check if a given object implements the WatchTradesRequest interface.
24
- */
25
- function instanceOfWatchTradesRequest(value) {
26
- return true;
27
- }
28
- function WatchTradesRequestFromJSON(json) {
29
- return WatchTradesRequestFromJSONTyped(json, false);
30
- }
31
- function WatchTradesRequestFromJSONTyped(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 WatchTradesRequestToJSON(json) {
41
- return WatchTradesRequestToJSONTyped(json, false);
42
- }
43
- function WatchTradesRequestToJSONTyped(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,36 +0,0 @@
1
-
2
- # UnwatchAddressRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `args` | Array&lt;string&gt;
10
- `credentials` | [ExchangeCredentials](ExchangeCredentials.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { UnwatchAddressRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies UnwatchAddressRequest
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as UnwatchAddressRequest
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-