@monaco-protocol/client-v2 0.0.59-dev.0 → 0.0.59-dev.2
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.
package/dist/apis/PricesApi.d.ts
CHANGED
package/dist/apis/PricesApi.js
CHANGED
|
@@ -53,6 +53,15 @@ class PricesApi extends runtime.BaseAPI {
|
|
|
53
53
|
if (requestParameters['marketIds'] != null) {
|
|
54
54
|
queryParameters['marketIds'] = requestParameters['marketIds'];
|
|
55
55
|
}
|
|
56
|
+
if (requestParameters['page'] != null) {
|
|
57
|
+
queryParameters['page'] = requestParameters['page'];
|
|
58
|
+
}
|
|
59
|
+
if (requestParameters['size'] != null) {
|
|
60
|
+
queryParameters['size'] = requestParameters['size'];
|
|
61
|
+
}
|
|
62
|
+
if (requestParameters['sort'] != null) {
|
|
63
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
64
|
+
}
|
|
56
65
|
const headerParameters = {};
|
|
57
66
|
if (requestParameters['authorization'] != null) {
|
|
58
67
|
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
@@ -18,6 +18,7 @@ import type { Market } from './Market';
|
|
|
18
18
|
import type { MarketLiquidities } from './MarketLiquidities';
|
|
19
19
|
import type { MarketTypeSummary } from './MarketTypeSummary';
|
|
20
20
|
import type { EventGroupSummary } from './EventGroupSummary';
|
|
21
|
+
import type { EventParticipant } from './EventParticipant';
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -78,6 +79,12 @@ export interface PagedMarketWithPricesResponse {
|
|
|
78
79
|
* @memberof PagedMarketWithPricesResponse
|
|
79
80
|
*/
|
|
80
81
|
prices?: Array<MarketLiquidities>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<EventParticipant>}
|
|
85
|
+
* @memberof PagedMarketWithPricesResponse
|
|
86
|
+
*/
|
|
87
|
+
participants?: Array<EventParticipant>;
|
|
81
88
|
}
|
|
82
89
|
/**
|
|
83
90
|
* Check if a given object implements the PagedMarketWithPricesResponse interface.
|
|
@@ -27,6 +27,7 @@ const Market_1 = require("./Market");
|
|
|
27
27
|
const MarketLiquidities_1 = require("./MarketLiquidities");
|
|
28
28
|
const MarketTypeSummary_1 = require("./MarketTypeSummary");
|
|
29
29
|
const EventGroupSummary_1 = require("./EventGroupSummary");
|
|
30
|
+
const EventParticipant_1 = require("./EventParticipant");
|
|
30
31
|
/**
|
|
31
32
|
* Check if a given object implements the PagedMarketWithPricesResponse interface.
|
|
32
33
|
*/
|
|
@@ -50,6 +51,7 @@ function PagedMarketWithPricesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(SubcategorySummary_1.SubcategorySummaryFromJSON)),
|
|
51
52
|
'categories': json['categories'] == null ? undefined : (json['categories'].map(CategorySummary_1.CategorySummaryFromJSON)),
|
|
52
53
|
'prices': json['prices'] == null ? undefined : (json['prices'].map(MarketLiquidities_1.MarketLiquiditiesFromJSON)),
|
|
54
|
+
'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
|
|
53
55
|
};
|
|
54
56
|
}
|
|
55
57
|
function PagedMarketWithPricesResponseToJSON(json) {
|
|
@@ -69,5 +71,6 @@ function PagedMarketWithPricesResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
69
71
|
'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(SubcategorySummary_1.SubcategorySummaryToJSON)),
|
|
70
72
|
'categories': value['categories'] == null ? undefined : (value['categories'].map(CategorySummary_1.CategorySummaryToJSON)),
|
|
71
73
|
'prices': value['prices'] == null ? undefined : (value['prices'].map(MarketLiquidities_1.MarketLiquiditiesToJSON)),
|
|
74
|
+
'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
|
|
72
75
|
};
|
|
73
76
|
}
|