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.
Files changed (53) hide show
  1. package/dist/esm/generated/src/apis/DefaultApi.d.ts +49 -55
  2. package/dist/esm/generated/src/apis/DefaultApi.js +19 -31
  3. package/dist/esm/generated/src/models/index.d.ts +0 -6
  4. package/dist/esm/generated/src/models/index.js +0 -6
  5. package/dist/esm/pmxt/client.js +5 -1
  6. package/dist/generated/src/apis/DefaultApi.d.ts +49 -55
  7. package/dist/generated/src/apis/DefaultApi.js +19 -31
  8. package/dist/generated/src/models/index.d.ts +0 -6
  9. package/dist/generated/src/models/index.js +0 -6
  10. package/dist/pmxt/client.js +5 -1
  11. package/generated/.openapi-generator/FILES +0 -12
  12. package/generated/docs/DefaultApi.md +42 -60
  13. package/generated/package.json +1 -1
  14. package/generated/src/apis/DefaultApi.ts +48 -90
  15. package/generated/src/models/index.ts +0 -6
  16. package/package.json +2 -2
  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/WatchAddressRequest.d.ts +0 -39
  23. package/dist/esm/generated/src/models/WatchAddressRequest.js +0 -44
  24. package/dist/esm/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
  25. package/dist/esm/generated/src/models/WatchOrderBookRequest.js +0 -44
  26. package/dist/esm/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
  27. package/dist/esm/generated/src/models/WatchOrderBooksRequest.js +0 -44
  28. package/dist/esm/generated/src/models/WatchTradesRequest.d.ts +0 -39
  29. package/dist/esm/generated/src/models/WatchTradesRequest.js +0 -44
  30. package/dist/generated/src/models/UnwatchAddressRequest.d.ts +0 -39
  31. package/dist/generated/src/models/UnwatchAddressRequest.js +0 -51
  32. package/dist/generated/src/models/UnwatchOrderBookRequest.d.ts +0 -39
  33. package/dist/generated/src/models/UnwatchOrderBookRequest.js +0 -51
  34. package/dist/generated/src/models/WatchAddressRequest.d.ts +0 -39
  35. package/dist/generated/src/models/WatchAddressRequest.js +0 -51
  36. package/dist/generated/src/models/WatchOrderBookRequest.d.ts +0 -39
  37. package/dist/generated/src/models/WatchOrderBookRequest.js +0 -51
  38. package/dist/generated/src/models/WatchOrderBooksRequest.d.ts +0 -39
  39. package/dist/generated/src/models/WatchOrderBooksRequest.js +0 -51
  40. package/dist/generated/src/models/WatchTradesRequest.d.ts +0 -39
  41. package/dist/generated/src/models/WatchTradesRequest.js +0 -51
  42. package/generated/docs/UnwatchAddressRequest.md +0 -36
  43. package/generated/docs/UnwatchOrderBookRequest.md +0 -36
  44. package/generated/docs/WatchAddressRequest.md +0 -36
  45. package/generated/docs/WatchOrderBookRequest.md +0 -36
  46. package/generated/docs/WatchOrderBooksRequest.md +0 -36
  47. package/generated/docs/WatchTradesRequest.md +0 -36
  48. package/generated/src/models/UnwatchAddressRequest.ts +0 -81
  49. package/generated/src/models/UnwatchOrderBookRequest.ts +0 -81
  50. package/generated/src/models/WatchAddressRequest.ts +0 -81
  51. package/generated/src/models/WatchOrderBookRequest.ts +0 -81
  52. package/generated/src/models/WatchOrderBooksRequest.ts +0 -81
  53. package/generated/src/models/WatchTradesRequest.ts +0 -81
@@ -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,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;
@@ -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,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;