pmxtjs 2.32.3 → 2.33.1

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 (86) hide show
  1. package/dist/esm/generated/src/apis/DefaultApi.d.ts +243 -1
  2. package/dist/esm/generated/src/apis/DefaultApi.js +387 -31
  3. package/dist/esm/generated/src/models/ArbitrageOpportunity.d.ts +69 -0
  4. package/dist/esm/generated/src/models/ArbitrageOpportunity.js +68 -0
  5. package/dist/esm/generated/src/models/CompareMarketPrices200Response.d.ts +46 -0
  6. package/dist/esm/generated/src/models/CompareMarketPrices200Response.js +47 -0
  7. package/dist/esm/generated/src/models/CompareMarketPricesRequest.d.ts +40 -0
  8. package/dist/esm/generated/src/models/CompareMarketPricesRequest.js +47 -0
  9. package/dist/esm/generated/src/models/EventMatchResult.d.ts +40 -0
  10. package/dist/esm/generated/src/models/EventMatchResult.js +49 -0
  11. package/dist/esm/generated/src/models/FetchArbitrage200Response.d.ts +46 -0
  12. package/dist/esm/generated/src/models/FetchArbitrage200Response.js +47 -0
  13. package/dist/esm/generated/src/models/FetchArbitrageParams.d.ts +44 -0
  14. package/dist/esm/generated/src/models/FetchArbitrageParams.js +45 -0
  15. package/dist/esm/generated/src/models/FetchEventMatches200Response.d.ts +46 -0
  16. package/dist/esm/generated/src/models/FetchEventMatches200Response.js +47 -0
  17. package/dist/esm/generated/src/models/FetchEventMatchesParams.d.ts +73 -0
  18. package/dist/esm/generated/src/models/FetchEventMatchesParams.js +61 -0
  19. package/dist/esm/generated/src/models/FetchMatches200Response.d.ts +46 -0
  20. package/dist/esm/generated/src/models/FetchMatches200Response.js +47 -0
  21. package/dist/esm/generated/src/models/FetchMatchesParams.d.ts +79 -0
  22. package/dist/esm/generated/src/models/FetchMatchesParams.js +63 -0
  23. package/dist/esm/generated/src/models/MatchResult.d.ts +74 -0
  24. package/dist/esm/generated/src/models/MatchResult.js +74 -0
  25. package/dist/esm/generated/src/models/PriceComparison.d.ts +80 -0
  26. package/dist/esm/generated/src/models/PriceComparison.js +78 -0
  27. package/dist/esm/generated/src/models/index.d.ts +12 -0
  28. package/dist/esm/generated/src/models/index.js +12 -0
  29. package/dist/generated/src/apis/DefaultApi.d.ts +243 -1
  30. package/dist/generated/src/apis/DefaultApi.js +388 -31
  31. package/dist/generated/src/models/ArbitrageOpportunity.d.ts +69 -0
  32. package/dist/generated/src/models/ArbitrageOpportunity.js +75 -0
  33. package/dist/generated/src/models/CompareMarketPrices200Response.d.ts +46 -0
  34. package/dist/generated/src/models/CompareMarketPrices200Response.js +54 -0
  35. package/dist/generated/src/models/CompareMarketPricesRequest.d.ts +40 -0
  36. package/dist/generated/src/models/CompareMarketPricesRequest.js +54 -0
  37. package/dist/generated/src/models/EventMatchResult.d.ts +40 -0
  38. package/dist/generated/src/models/EventMatchResult.js +56 -0
  39. package/dist/generated/src/models/FetchArbitrage200Response.d.ts +46 -0
  40. package/dist/generated/src/models/FetchArbitrage200Response.js +54 -0
  41. package/dist/generated/src/models/FetchArbitrageParams.d.ts +44 -0
  42. package/dist/generated/src/models/FetchArbitrageParams.js +52 -0
  43. package/dist/generated/src/models/FetchEventMatches200Response.d.ts +46 -0
  44. package/dist/generated/src/models/FetchEventMatches200Response.js +54 -0
  45. package/dist/generated/src/models/FetchEventMatchesParams.d.ts +73 -0
  46. package/dist/generated/src/models/FetchEventMatchesParams.js +69 -0
  47. package/dist/generated/src/models/FetchMatches200Response.d.ts +46 -0
  48. package/dist/generated/src/models/FetchMatches200Response.js +54 -0
  49. package/dist/generated/src/models/FetchMatchesParams.d.ts +79 -0
  50. package/dist/generated/src/models/FetchMatchesParams.js +71 -0
  51. package/dist/generated/src/models/MatchResult.d.ts +74 -0
  52. package/dist/generated/src/models/MatchResult.js +82 -0
  53. package/dist/generated/src/models/PriceComparison.d.ts +80 -0
  54. package/dist/generated/src/models/PriceComparison.js +86 -0
  55. package/dist/generated/src/models/index.d.ts +12 -0
  56. package/dist/generated/src/models/index.js +12 -0
  57. package/generated/.openapi-generator/FILES +24 -0
  58. package/generated/docs/ArbitrageOpportunity.md +46 -0
  59. package/generated/docs/CompareMarketPrices200Response.md +38 -0
  60. package/generated/docs/CompareMarketPricesRequest.md +36 -0
  61. package/generated/docs/DefaultApi.md +472 -60
  62. package/generated/docs/EventMatchResult.md +36 -0
  63. package/generated/docs/FetchArbitrage200Response.md +38 -0
  64. package/generated/docs/FetchArbitrageParams.md +38 -0
  65. package/generated/docs/FetchEventMatches200Response.md +38 -0
  66. package/generated/docs/FetchEventMatchesParams.md +44 -0
  67. package/generated/docs/FetchMatches200Response.md +38 -0
  68. package/generated/docs/FetchMatchesParams.md +46 -0
  69. package/generated/docs/MatchResult.md +44 -0
  70. package/generated/docs/PriceComparison.md +46 -0
  71. package/generated/package.json +1 -1
  72. package/generated/src/apis/DefaultApi.ts +532 -30
  73. package/generated/src/models/ArbitrageOpportunity.ts +128 -0
  74. package/generated/src/models/CompareMarketPrices200Response.ts +96 -0
  75. package/generated/src/models/CompareMarketPricesRequest.ts +89 -0
  76. package/generated/src/models/EventMatchResult.ts +90 -0
  77. package/generated/src/models/FetchArbitrage200Response.ts +96 -0
  78. package/generated/src/models/FetchArbitrageParams.ts +81 -0
  79. package/generated/src/models/FetchEventMatches200Response.ts +96 -0
  80. package/generated/src/models/FetchEventMatchesParams.ts +119 -0
  81. package/generated/src/models/FetchMatches200Response.ts +96 -0
  82. package/generated/src/models/FetchMatchesParams.ts +127 -0
  83. package/generated/src/models/MatchResult.ts +133 -0
  84. package/generated/src/models/PriceComparison.ts +142 -0
  85. package/generated/src/models/index.ts +12 -0
  86. package/package.json +2 -2
@@ -0,0 +1,36 @@
1
+
2
+ # EventMatchResult
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `event` | [UnifiedEvent](UnifiedEvent.md)
10
+ `marketMatches` | [Array<MatchResult>](MatchResult.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { EventMatchResult } from 'pmxtjs'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "event": null,
20
+ "marketMatches": null,
21
+ } satisfies EventMatchResult
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 EventMatchResult
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
+
@@ -0,0 +1,38 @@
1
+
2
+ # FetchArbitrage200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `success` | boolean
10
+ `error` | [ErrorDetail](ErrorDetail.md)
11
+ `data` | [Array<ArbitrageOpportunity>](ArbitrageOpportunity.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { FetchArbitrage200Response } from 'pmxtjs'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "success": true,
21
+ "error": null,
22
+ "data": null,
23
+ } satisfies FetchArbitrage200Response
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as FetchArbitrage200Response
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,38 @@
1
+
2
+ # FetchArbitrageParams
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `minSpread` | number
10
+ `category` | string
11
+ `limit` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { FetchArbitrageParams } from 'pmxtjs'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "minSpread": null,
21
+ "category": null,
22
+ "limit": null,
23
+ } satisfies FetchArbitrageParams
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as FetchArbitrageParams
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,38 @@
1
+
2
+ # FetchEventMatches200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `success` | boolean
10
+ `error` | [ErrorDetail](ErrorDetail.md)
11
+ `data` | [Array<EventMatchResult>](EventMatchResult.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { FetchEventMatches200Response } from 'pmxtjs'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "success": true,
21
+ "error": null,
22
+ "data": null,
23
+ } satisfies FetchEventMatches200Response
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as FetchEventMatches200Response
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,44 @@
1
+
2
+ # FetchEventMatchesParams
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `eventId` | string
10
+ `slug` | string
11
+ `relation` | string
12
+ `minConfidence` | number
13
+ `limit` | number
14
+ `includePrices` | boolean
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { FetchEventMatchesParams } from 'pmxtjs'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "eventId": null,
24
+ "slug": null,
25
+ "relation": null,
26
+ "minConfidence": null,
27
+ "limit": null,
28
+ "includePrices": null,
29
+ } satisfies FetchEventMatchesParams
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as FetchEventMatchesParams
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,38 @@
1
+
2
+ # FetchMatches200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `success` | boolean
10
+ `error` | [ErrorDetail](ErrorDetail.md)
11
+ `data` | [Array<MatchResult>](MatchResult.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { FetchMatches200Response } from 'pmxtjs'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "success": true,
21
+ "error": null,
22
+ "data": null,
23
+ } satisfies FetchMatches200Response
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as FetchMatches200Response
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,46 @@
1
+
2
+ # FetchMatchesParams
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `marketId` | string
10
+ `slug` | string
11
+ `url` | string
12
+ `relation` | string
13
+ `minConfidence` | number
14
+ `limit` | number
15
+ `includePrices` | boolean
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { FetchMatchesParams } from 'pmxtjs'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "marketId": null,
25
+ "slug": null,
26
+ "url": null,
27
+ "relation": null,
28
+ "minConfidence": null,
29
+ "limit": null,
30
+ "includePrices": null,
31
+ } satisfies FetchMatchesParams
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as FetchMatchesParams
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,44 @@
1
+
2
+ # MatchResult
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `market` | [UnifiedMarket](UnifiedMarket.md)
10
+ `relation` | string
11
+ `confidence` | number
12
+ `reasoning` | string
13
+ `bestBid` | number
14
+ `bestAsk` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { MatchResult } from 'pmxtjs'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "market": null,
24
+ "relation": null,
25
+ "confidence": null,
26
+ "reasoning": null,
27
+ "bestBid": null,
28
+ "bestAsk": null,
29
+ } satisfies MatchResult
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as MatchResult
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,46 @@
1
+
2
+ # PriceComparison
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `market` | [UnifiedMarket](UnifiedMarket.md)
10
+ `relation` | string
11
+ `confidence` | number
12
+ `reasoning` | string
13
+ `bestBid` | number
14
+ `bestAsk` | number
15
+ `venue` | string
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { PriceComparison } from 'pmxtjs'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "market": null,
25
+ "relation": null,
26
+ "confidence": null,
27
+ "reasoning": null,
28
+ "bestBid": null,
29
+ "bestAsk": null,
30
+ "venue": null,
31
+ } satisfies PriceComparison
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as PriceComparison
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.32.3",
3
+ "version": "2.33.1",
4
4
  "description": "OpenAPI client for pmxtjs",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {