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,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,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
-
@@ -1,36 +0,0 @@
1
-
2
- # UnwatchOrderBookRequest
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 { UnwatchOrderBookRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies UnwatchOrderBookRequest
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 UnwatchOrderBookRequest
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
-
@@ -1,36 +0,0 @@
1
-
2
- # WatchAddressRequest
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 { WatchAddressRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies WatchAddressRequest
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 WatchAddressRequest
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
-
@@ -1,36 +0,0 @@
1
-
2
- # WatchOrderBookRequest
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 { WatchOrderBookRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies WatchOrderBookRequest
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 WatchOrderBookRequest
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
-
@@ -1,36 +0,0 @@
1
-
2
- # WatchOrderBooksRequest
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 { WatchOrderBooksRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies WatchOrderBooksRequest
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 WatchOrderBooksRequest
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
-
@@ -1,36 +0,0 @@
1
-
2
- # WatchTradesRequest
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 { WatchTradesRequest } from 'pmxtjs'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "args": null,
20
- "credentials": null,
21
- } satisfies WatchTradesRequest
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 WatchTradesRequest
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
-
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * PMXT Sidecar API
5
- * A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
6
- *
7
- * The version of the OpenAPI document: 0.4.4
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ExchangeCredentials } from './ExchangeCredentials';
17
- import {
18
- ExchangeCredentialsFromJSON,
19
- ExchangeCredentialsFromJSONTyped,
20
- ExchangeCredentialsToJSON,
21
- ExchangeCredentialsToJSONTyped,
22
- } from './ExchangeCredentials';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface UnwatchAddressRequest
28
- */
29
- export interface UnwatchAddressRequest {
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof UnwatchAddressRequest
34
- */
35
- args?: Array<string>;
36
- /**
37
- *
38
- * @type {ExchangeCredentials}
39
- * @memberof UnwatchAddressRequest
40
- */
41
- credentials?: ExchangeCredentials;
42
- }
43
-
44
- /**
45
- * Check if a given object implements the UnwatchAddressRequest interface.
46
- */
47
- export function instanceOfUnwatchAddressRequest(value: object): value is UnwatchAddressRequest {
48
- return true;
49
- }
50
-
51
- export function UnwatchAddressRequestFromJSON(json: any): UnwatchAddressRequest {
52
- return UnwatchAddressRequestFromJSONTyped(json, false);
53
- }
54
-
55
- export function UnwatchAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnwatchAddressRequest {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'args': json['args'] == null ? undefined : json['args'],
62
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
63
- };
64
- }
65
-
66
- export function UnwatchAddressRequestToJSON(json: any): UnwatchAddressRequest {
67
- return UnwatchAddressRequestToJSONTyped(json, false);
68
- }
69
-
70
- export function UnwatchAddressRequestToJSONTyped(value?: UnwatchAddressRequest | null, ignoreDiscriminator: boolean = false): any {
71
- if (value == null) {
72
- return value;
73
- }
74
-
75
- return {
76
-
77
- 'args': value['args'],
78
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
79
- };
80
- }
81
-
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * PMXT Sidecar API
5
- * A unified local sidecar API for prediction markets (Polymarket, Kalshi, Limitless). This API acts as a JSON-RPC-style gateway. Each endpoint corresponds to a specific method on the generic exchange implementation.
6
- *
7
- * The version of the OpenAPI document: 0.4.4
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ExchangeCredentials } from './ExchangeCredentials';
17
- import {
18
- ExchangeCredentialsFromJSON,
19
- ExchangeCredentialsFromJSONTyped,
20
- ExchangeCredentialsToJSON,
21
- ExchangeCredentialsToJSONTyped,
22
- } from './ExchangeCredentials';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface UnwatchOrderBookRequest
28
- */
29
- export interface UnwatchOrderBookRequest {
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof UnwatchOrderBookRequest
34
- */
35
- args?: Array<string>;
36
- /**
37
- *
38
- * @type {ExchangeCredentials}
39
- * @memberof UnwatchOrderBookRequest
40
- */
41
- credentials?: ExchangeCredentials;
42
- }
43
-
44
- /**
45
- * Check if a given object implements the UnwatchOrderBookRequest interface.
46
- */
47
- export function instanceOfUnwatchOrderBookRequest(value: object): value is UnwatchOrderBookRequest {
48
- return true;
49
- }
50
-
51
- export function UnwatchOrderBookRequestFromJSON(json: any): UnwatchOrderBookRequest {
52
- return UnwatchOrderBookRequestFromJSONTyped(json, false);
53
- }
54
-
55
- export function UnwatchOrderBookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnwatchOrderBookRequest {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'args': json['args'] == null ? undefined : json['args'],
62
- 'credentials': json['credentials'] == null ? undefined : ExchangeCredentialsFromJSON(json['credentials']),
63
- };
64
- }
65
-
66
- export function UnwatchOrderBookRequestToJSON(json: any): UnwatchOrderBookRequest {
67
- return UnwatchOrderBookRequestToJSONTyped(json, false);
68
- }
69
-
70
- export function UnwatchOrderBookRequestToJSONTyped(value?: UnwatchOrderBookRequest | null, ignoreDiscriminator: boolean = false): any {
71
- if (value == null) {
72
- return value;
73
- }
74
-
75
- return {
76
-
77
- 'args': value['args'],
78
- 'credentials': ExchangeCredentialsToJSON(value['credentials']),
79
- };
80
- }
81
-