@monaco-protocol/client-v2 0.0.2-dev.0 → 0.0.2-dev.11
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/README.md +32 -26
- package/dist/apis/{MonacoAPIAPIKeyManagementApi.d.ts → APIKeyManagementApi.d.ts} +4 -4
- package/dist/apis/{MonacoAPIAPIKeyManagementApi.js → APIKeyManagementApi.js} +8 -8
- package/dist/apis/{MonacoAPIAppManagementApi.d.ts → AppManagementApi.d.ts} +7 -7
- package/dist/apis/{MonacoAPIAppManagementApi.js → AppManagementApi.js} +12 -12
- package/dist/apis/{MonacoAPICurrenciesApi.d.ts → CurrenciesApi.d.ts} +5 -5
- package/dist/apis/{MonacoAPICurrenciesApi.js → CurrenciesApi.js} +8 -8
- package/dist/apis/EventCategoriesApi.d.ts +53 -0
- package/dist/apis/{MonacoAPIEventCategoriesApi.js → EventCategoriesApi.js} +17 -17
- package/dist/apis/EventGroupsApi.d.ts +54 -0
- package/dist/apis/{MonacoAPIEventGroupsApi.js → EventGroupsApi.js} +19 -19
- package/dist/apis/EventSubcategoriesApi.d.ts +105 -0
- package/dist/apis/EventSubcategoriesApi.js +287 -0
- package/dist/apis/EventsApi.d.ts +175 -0
- package/dist/apis/EventsApi.js +477 -0
- package/dist/apis/HeartbeatManagementApi.d.ts +52 -0
- package/dist/apis/{MonacoAPIEventSubcategoriesApi.js → HeartbeatManagementApi.js} +35 -41
- package/dist/apis/MarketPricesApi.d.ts +41 -0
- package/dist/apis/MarketPricesApi.js +101 -0
- package/dist/apis/{MonacoAPIMarketTypesApi.d.ts → MarketTypesApi.d.ts} +1 -1
- package/dist/apis/{MonacoAPIMarketTypesApi.js → MarketTypesApi.js} +3 -3
- package/dist/apis/{MonacoAPIMarketsApi.d.ts → MarketsApi.d.ts} +79 -25
- package/dist/apis/{MonacoAPIMarketsApi.js → MarketsApi.js} +158 -16
- package/dist/apis/{MonacoAPIOrdersApi.d.ts → OrdersApi.d.ts} +56 -19
- package/dist/apis/{MonacoAPIOrdersApi.js → OrdersApi.js} +119 -11
- package/dist/apis/SessionManagementApi.d.ts +40 -0
- package/dist/apis/{MonacoAPISessionManagementApi.js → SessionManagementApi.js} +15 -15
- package/dist/apis/{MonacoAPIAPIStatusApi.d.ts → StatusApi.d.ts} +1 -1
- package/dist/apis/{MonacoAPIAPIStatusApi.js → StatusApi.js} +3 -3
- package/dist/apis/{MonacoAPITradesApi.d.ts → TradesApi.d.ts} +9 -6
- package/dist/apis/{MonacoAPITradesApi.js → TradesApi.js} +15 -3
- package/dist/apis/{MonacoAPIWalletsApi.d.ts → WalletsApi.d.ts} +24 -5
- package/dist/apis/{MonacoAPIWalletsApi.js → WalletsApi.js} +57 -3
- package/dist/apis/index.d.ts +16 -14
- package/dist/apis/index.js +16 -14
- package/dist/models/AddMarketOutcomeRequest.d.ts +1 -1
- package/dist/models/AddMarketOutcomeRequest.js +2 -2
- package/dist/models/AddParticipantRequest.d.ts +52 -0
- package/dist/models/AddParticipantRequest.js +60 -0
- package/dist/models/AddParticipantsRequest.d.ts +33 -0
- package/dist/models/AddParticipantsRequest.js +49 -0
- package/dist/models/ChunkOrderResponse.d.ts +67 -0
- package/dist/models/ChunkOrderResponse.js +63 -0
- package/dist/models/CommissionRate.d.ts +2 -2
- package/dist/models/CreateEventRequest.d.ts +5 -5
- package/dist/models/CreateEventRequest.js +16 -6
- package/dist/models/CreateMarketRequest.d.ts +2 -2
- package/dist/models/CreateOrderRequest.d.ts +13 -4
- package/dist/models/CreateOrderRequest.js +4 -2
- package/dist/models/CreateSessionRequest.d.ts +2 -2
- package/dist/models/CreateSessionRequest.js +6 -2
- package/dist/models/CreateWalletRequest.d.ts +0 -16
- package/dist/models/CreateWalletRequest.js +0 -12
- package/dist/models/Currency.d.ts +2 -2
- package/dist/models/DocumentReference.js +4 -4
- package/dist/models/Event.d.ts +8 -2
- package/dist/models/Event.js +2 -0
- package/dist/models/EventParticipant.d.ts +52 -0
- package/dist/models/EventParticipant.js +60 -0
- package/dist/models/EventParticipantsResponse.d.ts +40 -0
- package/dist/models/EventParticipantsResponse.js +52 -0
- package/dist/models/EventResponse.d.ts +7 -0
- package/dist/models/EventResponse.js +3 -0
- package/dist/models/EventSummary.d.ts +2 -2
- package/dist/models/EventUpdateResponse.d.ts +40 -0
- package/dist/models/EventUpdateResponse.js +52 -0
- package/dist/models/Heartbeat.d.ts +50 -0
- package/dist/models/Heartbeat.js +54 -0
- package/dist/models/HeartbeatResponse.d.ts +40 -0
- package/dist/models/HeartbeatResponse.js +52 -0
- package/dist/models/Market.d.ts +21 -12
- package/dist/models/Market.js +13 -5
- package/dist/models/MarketLiquidities.d.ts +39 -0
- package/dist/models/MarketLiquidities.js +51 -0
- package/dist/models/MarketLiquiditiesResponse.d.ts +40 -0
- package/dist/models/MarketLiquiditiesResponse.js +52 -0
- package/dist/models/MarketLiquidity.d.ts +2 -2
- package/dist/models/MarketLiquidity.js +2 -2
- package/dist/models/MarketOutcomeResult.d.ts +38 -0
- package/dist/models/MarketOutcomeResult.js +50 -0
- package/dist/models/MarketOutcomeSummary.d.ts +9 -3
- package/dist/models/MarketOutcomeSummary.js +4 -2
- package/dist/models/MarketPosition.d.ts +4 -2
- package/dist/models/MarketPriceLadder.d.ts +32 -0
- package/dist/models/MarketPriceLadder.js +48 -0
- package/dist/models/MarketPriceLadderResponse.d.ts +40 -0
- package/dist/models/MarketPriceLadderResponse.js +52 -0
- package/dist/models/MarketResultRequest.d.ts +3 -3
- package/dist/models/MarketResultRequest.js +3 -3
- package/dist/models/MarketSummary.d.ts +32 -4
- package/dist/models/MarketSummary.js +18 -3
- package/dist/models/MarketUpdateResponse.d.ts +40 -0
- package/dist/models/MarketUpdateResponse.js +52 -0
- package/dist/models/Meta.d.ts +36 -1
- package/dist/models/Meta.js +31 -0
- package/dist/models/ModifyParticipantsRequest.d.ts +32 -0
- package/dist/models/ModifyParticipantsRequest.js +48 -0
- package/dist/models/Order.d.ts +35 -6
- package/dist/models/Order.js +17 -3
- package/dist/models/OrderResponse.d.ts +7 -0
- package/dist/models/OrderResponse.js +3 -0
- package/dist/models/OrderSummary.d.ts +33 -4
- package/dist/models/OrderSummary.js +17 -3
- package/dist/models/OutcomeResult.d.ts +2 -2
- package/dist/models/PageMeta.d.ts +50 -0
- package/dist/models/PageMeta.js +54 -0
- package/dist/models/Pageable.d.ts +44 -0
- package/dist/models/Pageable.js +52 -0
- package/dist/models/PagedEventResponse.d.ts +3 -20
- package/dist/models/PagedEventResponse.js +3 -8
- package/dist/models/PagedMarketPositionResponse.d.ts +0 -24
- package/dist/models/PagedMarketPositionResponse.js +0 -8
- package/dist/models/PagedOrderResponse.d.ts +3 -20
- package/dist/models/PagedOrderResponse.js +3 -8
- package/dist/models/PagedTradeResponse.d.ts +0 -24
- package/dist/models/PagedTradeResponse.js +0 -8
- package/dist/models/PagedTransactionResponse.d.ts +0 -24
- package/dist/models/PagedTransactionResponse.js +0 -8
- package/dist/models/Participant.d.ts +58 -0
- package/dist/models/Participant.js +62 -0
- package/dist/models/ParticipantsResponse.d.ts +40 -0
- package/dist/models/ParticipantsResponse.js +52 -0
- package/dist/models/ToggleActionRequest.d.ts +1 -1
- package/dist/models/Trade.d.ts +4 -4
- package/dist/models/Trade.js +2 -2
- package/dist/models/TradeSummary.d.ts +44 -0
- package/dist/models/TradeSummary.js +52 -0
- package/dist/models/Transaction.d.ts +3 -2
- package/dist/models/Transaction.js +2 -1
- package/dist/models/UpdateDateRequest.d.ts +32 -0
- package/dist/models/UpdateDateRequest.js +50 -0
- package/dist/models/UpdateHeartbeatRequest.d.ts +38 -0
- package/dist/models/UpdateHeartbeatRequest.js +52 -0
- package/dist/models/UpdateNameRequest.d.ts +32 -0
- package/dist/models/UpdateNameRequest.js +50 -0
- package/dist/models/WalletBalance.d.ts +2 -2
- package/dist/models/index.d.ts +22 -2
- package/dist/models/index.js +22 -2
- package/package.json +6 -2
- package/dist/apis/MonacoAPIEventCategoriesApi.d.ts +0 -53
- package/dist/apis/MonacoAPIEventGroupsApi.d.ts +0 -54
- package/dist/apis/MonacoAPIEventSubcategoriesApi.d.ts +0 -54
- package/dist/apis/MonacoAPIEventsApi.d.ts +0 -68
- package/dist/apis/MonacoAPIEventsApi.js +0 -158
- package/dist/apis/MonacoAPISessionManagementApi.d.ts +0 -40
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Monaco API
|
|
6
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
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.instanceOfEventParticipantsResponse = instanceOfEventParticipantsResponse;
|
|
17
|
+
exports.EventParticipantsResponseFromJSON = EventParticipantsResponseFromJSON;
|
|
18
|
+
exports.EventParticipantsResponseFromJSONTyped = EventParticipantsResponseFromJSONTyped;
|
|
19
|
+
exports.EventParticipantsResponseToJSON = EventParticipantsResponseToJSON;
|
|
20
|
+
exports.EventParticipantsResponseToJSONTyped = EventParticipantsResponseToJSONTyped;
|
|
21
|
+
const Meta_1 = require("./Meta");
|
|
22
|
+
const EventParticipant_1 = require("./EventParticipant");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EventParticipantsResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEventParticipantsResponse(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EventParticipantsResponseFromJSON(json) {
|
|
30
|
+
return EventParticipantsResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EventParticipantsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
|
|
38
|
+
'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function EventParticipantsResponseToJSON(json) {
|
|
42
|
+
return EventParticipantsResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function EventParticipantsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'_meta': (0, Meta_1.MetaToJSON)(value['meta']),
|
|
50
|
+
'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -14,6 +14,7 @@ import type { Category } from './Category';
|
|
|
14
14
|
import type { Subcategory } from './Subcategory';
|
|
15
15
|
import type { Event } from './Event';
|
|
16
16
|
import type { EventGroup } from './EventGroup';
|
|
17
|
+
import type { EventParticipant } from './EventParticipant';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -50,6 +51,12 @@ export interface EventResponse {
|
|
|
50
51
|
* @memberof EventResponse
|
|
51
52
|
*/
|
|
52
53
|
categories?: Array<Category>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<EventParticipant>}
|
|
57
|
+
* @memberof EventResponse
|
|
58
|
+
*/
|
|
59
|
+
participants?: Array<EventParticipant>;
|
|
53
60
|
}
|
|
54
61
|
/**
|
|
55
62
|
* Check if a given object implements the EventResponse interface.
|
|
@@ -23,6 +23,7 @@ const Category_1 = require("./Category");
|
|
|
23
23
|
const Subcategory_1 = require("./Subcategory");
|
|
24
24
|
const Event_1 = require("./Event");
|
|
25
25
|
const EventGroup_1 = require("./EventGroup");
|
|
26
|
+
const EventParticipant_1 = require("./EventParticipant");
|
|
26
27
|
/**
|
|
27
28
|
* Check if a given object implements the EventResponse interface.
|
|
28
29
|
*/
|
|
@@ -42,6 +43,7 @@ function EventResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroup_1.EventGroupFromJSON)),
|
|
43
44
|
'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(Subcategory_1.SubcategoryFromJSON)),
|
|
44
45
|
'categories': json['categories'] == null ? undefined : (json['categories'].map(Category_1.CategoryFromJSON)),
|
|
46
|
+
'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
function EventResponseToJSON(json) {
|
|
@@ -57,5 +59,6 @@ function EventResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
59
|
'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroup_1.EventGroupToJSON)),
|
|
58
60
|
'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(Subcategory_1.SubcategoryToJSON)),
|
|
59
61
|
'categories': value['categories'] == null ? undefined : (value['categories'].map(Category_1.CategoryToJSON)),
|
|
62
|
+
'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
|
|
60
63
|
};
|
|
61
64
|
}
|
|
@@ -18,10 +18,10 @@ import type { DocumentReference } from './DocumentReference';
|
|
|
18
18
|
export interface EventSummary {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof EventSummary
|
|
23
23
|
*/
|
|
24
|
-
id?:
|
|
24
|
+
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {DocumentReference}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco API
|
|
3
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
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 { Meta } from './Meta';
|
|
13
|
+
import type { Event } from './Event';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EventUpdateResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface EventUpdateResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Meta}
|
|
23
|
+
* @memberof EventUpdateResponse
|
|
24
|
+
*/
|
|
25
|
+
meta?: Meta;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<Event>}
|
|
29
|
+
* @memberof EventUpdateResponse
|
|
30
|
+
*/
|
|
31
|
+
events?: Array<Event>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EventUpdateResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEventUpdateResponse(value: object): value is EventUpdateResponse;
|
|
37
|
+
export declare function EventUpdateResponseFromJSON(json: any): EventUpdateResponse;
|
|
38
|
+
export declare function EventUpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventUpdateResponse;
|
|
39
|
+
export declare function EventUpdateResponseToJSON(json: any): EventUpdateResponse;
|
|
40
|
+
export declare function EventUpdateResponseToJSONTyped(value?: EventUpdateResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Monaco API
|
|
6
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
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.instanceOfEventUpdateResponse = instanceOfEventUpdateResponse;
|
|
17
|
+
exports.EventUpdateResponseFromJSON = EventUpdateResponseFromJSON;
|
|
18
|
+
exports.EventUpdateResponseFromJSONTyped = EventUpdateResponseFromJSONTyped;
|
|
19
|
+
exports.EventUpdateResponseToJSON = EventUpdateResponseToJSON;
|
|
20
|
+
exports.EventUpdateResponseToJSONTyped = EventUpdateResponseToJSONTyped;
|
|
21
|
+
const Meta_1 = require("./Meta");
|
|
22
|
+
const Event_1 = require("./Event");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EventUpdateResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEventUpdateResponse(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EventUpdateResponseFromJSON(json) {
|
|
30
|
+
return EventUpdateResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EventUpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
|
|
38
|
+
'events': json['events'] == null ? undefined : (json['events'].map(Event_1.EventFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function EventUpdateResponseToJSON(json) {
|
|
42
|
+
return EventUpdateResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function EventUpdateResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'_meta': (0, Meta_1.MetaToJSON)(value['meta']),
|
|
50
|
+
'events': value['events'] == null ? undefined : (value['events'].map(Event_1.EventToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco API
|
|
3
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Heartbeat
|
|
16
|
+
*/
|
|
17
|
+
export interface Heartbeat {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Heartbeat
|
|
22
|
+
*/
|
|
23
|
+
appId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof Heartbeat
|
|
28
|
+
*/
|
|
29
|
+
active?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Heartbeat
|
|
34
|
+
*/
|
|
35
|
+
checkInterval?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Heartbeat
|
|
40
|
+
*/
|
|
41
|
+
lastReceived?: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Heartbeat interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfHeartbeat(value: object): value is Heartbeat;
|
|
47
|
+
export declare function HeartbeatFromJSON(json: any): Heartbeat;
|
|
48
|
+
export declare function HeartbeatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Heartbeat;
|
|
49
|
+
export declare function HeartbeatToJSON(json: any): Heartbeat;
|
|
50
|
+
export declare function HeartbeatToJSONTyped(value?: Heartbeat | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Monaco API
|
|
6
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
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.instanceOfHeartbeat = instanceOfHeartbeat;
|
|
17
|
+
exports.HeartbeatFromJSON = HeartbeatFromJSON;
|
|
18
|
+
exports.HeartbeatFromJSONTyped = HeartbeatFromJSONTyped;
|
|
19
|
+
exports.HeartbeatToJSON = HeartbeatToJSON;
|
|
20
|
+
exports.HeartbeatToJSONTyped = HeartbeatToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Heartbeat interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHeartbeat(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function HeartbeatFromJSON(json) {
|
|
28
|
+
return HeartbeatFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function HeartbeatFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'appId': json['appId'] == null ? undefined : json['appId'],
|
|
36
|
+
'active': json['active'] == null ? undefined : json['active'],
|
|
37
|
+
'checkInterval': json['checkInterval'] == null ? undefined : json['checkInterval'],
|
|
38
|
+
'lastReceived': json['lastReceived'] == null ? undefined : (new Date(json['lastReceived'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function HeartbeatToJSON(json) {
|
|
42
|
+
return HeartbeatToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HeartbeatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'appId': value['appId'],
|
|
50
|
+
'active': value['active'],
|
|
51
|
+
'checkInterval': value['checkInterval'],
|
|
52
|
+
'lastReceived': value['lastReceived'] == null ? undefined : ((value['lastReceived']).toISOString()),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco API
|
|
3
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
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 { Meta } from './Meta';
|
|
13
|
+
import type { Heartbeat } from './Heartbeat';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface HeartbeatResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface HeartbeatResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Meta}
|
|
23
|
+
* @memberof HeartbeatResponse
|
|
24
|
+
*/
|
|
25
|
+
meta?: Meta;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<Heartbeat>}
|
|
29
|
+
* @memberof HeartbeatResponse
|
|
30
|
+
*/
|
|
31
|
+
heartbeats?: Array<Heartbeat>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the HeartbeatResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfHeartbeatResponse(value: object): value is HeartbeatResponse;
|
|
37
|
+
export declare function HeartbeatResponseFromJSON(json: any): HeartbeatResponse;
|
|
38
|
+
export declare function HeartbeatResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HeartbeatResponse;
|
|
39
|
+
export declare function HeartbeatResponseToJSON(json: any): HeartbeatResponse;
|
|
40
|
+
export declare function HeartbeatResponseToJSONTyped(value?: HeartbeatResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Monaco API
|
|
6
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
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.instanceOfHeartbeatResponse = instanceOfHeartbeatResponse;
|
|
17
|
+
exports.HeartbeatResponseFromJSON = HeartbeatResponseFromJSON;
|
|
18
|
+
exports.HeartbeatResponseFromJSONTyped = HeartbeatResponseFromJSONTyped;
|
|
19
|
+
exports.HeartbeatResponseToJSON = HeartbeatResponseToJSON;
|
|
20
|
+
exports.HeartbeatResponseToJSONTyped = HeartbeatResponseToJSONTyped;
|
|
21
|
+
const Meta_1 = require("./Meta");
|
|
22
|
+
const Heartbeat_1 = require("./Heartbeat");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the HeartbeatResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfHeartbeatResponse(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function HeartbeatResponseFromJSON(json) {
|
|
30
|
+
return HeartbeatResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function HeartbeatResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
|
|
38
|
+
'heartbeats': json['heartbeats'] == null ? undefined : (json['heartbeats'].map(Heartbeat_1.HeartbeatFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function HeartbeatResponseToJSON(json) {
|
|
42
|
+
return HeartbeatResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HeartbeatResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'_meta': (0, Meta_1.MetaToJSON)(value['meta']),
|
|
50
|
+
'heartbeats': value['heartbeats'] == null ? undefined : (value['heartbeats'].map(Heartbeat_1.HeartbeatToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/Market.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ import type { DocumentReference } from './DocumentReference';
|
|
|
18
18
|
export interface Market {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof Market
|
|
23
23
|
*/
|
|
24
|
-
id?:
|
|
24
|
+
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
@@ -60,22 +60,16 @@ export interface Market {
|
|
|
60
60
|
marketDiscriminator?: string;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @type {
|
|
64
|
-
* @memberof Market
|
|
65
|
-
*/
|
|
66
|
-
currencyId?: number;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {boolean}
|
|
63
|
+
* @type {string}
|
|
70
64
|
* @memberof Market
|
|
71
65
|
*/
|
|
72
|
-
|
|
66
|
+
currencyId?: string;
|
|
73
67
|
/**
|
|
74
68
|
*
|
|
75
|
-
* @type {
|
|
69
|
+
* @type {string}
|
|
76
70
|
* @memberof Market
|
|
77
71
|
*/
|
|
78
|
-
|
|
72
|
+
inPlayStatus?: MarketInPlayStatusEnum;
|
|
79
73
|
/**
|
|
80
74
|
*
|
|
81
75
|
* @type {number}
|
|
@@ -100,6 +94,12 @@ export interface Market {
|
|
|
100
94
|
* @memberof Market
|
|
101
95
|
*/
|
|
102
96
|
lockAt?: Date;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {Date}
|
|
100
|
+
* @memberof Market
|
|
101
|
+
*/
|
|
102
|
+
settledAt?: Date;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
105
|
* @type {string}
|
|
@@ -137,6 +137,15 @@ export interface Market {
|
|
|
137
137
|
*/
|
|
138
138
|
modifiedAt?: Date;
|
|
139
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @export
|
|
142
|
+
*/
|
|
143
|
+
export declare const MarketInPlayStatusEnum: {
|
|
144
|
+
readonly NotApplicable: "NotApplicable";
|
|
145
|
+
readonly PrePlay: "PrePlay";
|
|
146
|
+
readonly InPlay: "InPlay";
|
|
147
|
+
};
|
|
148
|
+
export type MarketInPlayStatusEnum = typeof MarketInPlayStatusEnum[keyof typeof MarketInPlayStatusEnum];
|
|
140
149
|
/**
|
|
141
150
|
* @export
|
|
142
151
|
*/
|
package/dist/models/Market.js
CHANGED
|
@@ -13,13 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MarketStatusEnum = exports.MarketEventStartActionEnum = exports.MarketMarketLockActionEnum = void 0;
|
|
16
|
+
exports.MarketStatusEnum = exports.MarketEventStartActionEnum = exports.MarketMarketLockActionEnum = exports.MarketInPlayStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfMarket = instanceOfMarket;
|
|
18
18
|
exports.MarketFromJSON = MarketFromJSON;
|
|
19
19
|
exports.MarketFromJSONTyped = MarketFromJSONTyped;
|
|
20
20
|
exports.MarketToJSON = MarketToJSON;
|
|
21
21
|
exports.MarketToJSONTyped = MarketToJSONTyped;
|
|
22
22
|
const DocumentReference_1 = require("./DocumentReference");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.MarketInPlayStatusEnum = {
|
|
27
|
+
NotApplicable: 'NotApplicable',
|
|
28
|
+
PrePlay: 'PrePlay',
|
|
29
|
+
InPlay: 'InPlay'
|
|
30
|
+
};
|
|
23
31
|
/**
|
|
24
32
|
* @export
|
|
25
33
|
*/
|
|
@@ -69,12 +77,12 @@ function MarketFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
77
|
'marketValue': json['marketValue'] == null ? undefined : json['marketValue'],
|
|
70
78
|
'marketDiscriminator': json['marketDiscriminator'] == null ? undefined : json['marketDiscriminator'],
|
|
71
79
|
'currencyId': json['currencyId'] == null ? undefined : json['currencyId'],
|
|
72
|
-
'
|
|
73
|
-
'inPlay': json['inPlay'] == null ? undefined : json['inPlay'],
|
|
80
|
+
'inPlayStatus': json['inPlayStatus'] == null ? undefined : json['inPlayStatus'],
|
|
74
81
|
'inPlayDelay': json['inPlayDelay'] == null ? undefined : json['inPlayDelay'],
|
|
75
82
|
'published': json['published'] == null ? undefined : json['published'],
|
|
76
83
|
'suspended': json['suspended'] == null ? undefined : json['suspended'],
|
|
77
84
|
'lockAt': json['lockAt'] == null ? undefined : (new Date(json['lockAt'])),
|
|
85
|
+
'settledAt': json['settledAt'] == null ? undefined : (new Date(json['settledAt'])),
|
|
78
86
|
'marketLockAction': json['marketLockAction'] == null ? undefined : json['marketLockAction'],
|
|
79
87
|
'eventStartAction': json['eventStartAction'] == null ? undefined : json['eventStartAction'],
|
|
80
88
|
'status': json['status'] == null ? undefined : json['status'],
|
|
@@ -99,12 +107,12 @@ function MarketToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
99
107
|
'marketValue': value['marketValue'],
|
|
100
108
|
'marketDiscriminator': value['marketDiscriminator'],
|
|
101
109
|
'currencyId': value['currencyId'],
|
|
102
|
-
'
|
|
103
|
-
'inPlay': value['inPlay'],
|
|
110
|
+
'inPlayStatus': value['inPlayStatus'],
|
|
104
111
|
'inPlayDelay': value['inPlayDelay'],
|
|
105
112
|
'published': value['published'],
|
|
106
113
|
'suspended': value['suspended'],
|
|
107
114
|
'lockAt': value['lockAt'] == null ? undefined : ((value['lockAt']).toISOString()),
|
|
115
|
+
'settledAt': value['settledAt'] == null ? undefined : ((value['settledAt']).toISOString()),
|
|
108
116
|
'marketLockAction': value['marketLockAction'],
|
|
109
117
|
'eventStartAction': value['eventStartAction'],
|
|
110
118
|
'status': value['status'],
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco API
|
|
3
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
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 { MarketLiquidity } from './MarketLiquidity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MarketLiquidities
|
|
17
|
+
*/
|
|
18
|
+
export interface MarketLiquidities {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MarketLiquidities
|
|
23
|
+
*/
|
|
24
|
+
marketId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<MarketLiquidity>}
|
|
28
|
+
* @memberof MarketLiquidities
|
|
29
|
+
*/
|
|
30
|
+
prices?: Array<MarketLiquidity>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the MarketLiquidities interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfMarketLiquidities(value: object): value is MarketLiquidities;
|
|
36
|
+
export declare function MarketLiquiditiesFromJSON(json: any): MarketLiquidities;
|
|
37
|
+
export declare function MarketLiquiditiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketLiquidities;
|
|
38
|
+
export declare function MarketLiquiditiesToJSON(json: any): MarketLiquidities;
|
|
39
|
+
export declare function MarketLiquiditiesToJSONTyped(value?: MarketLiquidities | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Monaco API
|
|
6
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
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.instanceOfMarketLiquidities = instanceOfMarketLiquidities;
|
|
17
|
+
exports.MarketLiquiditiesFromJSON = MarketLiquiditiesFromJSON;
|
|
18
|
+
exports.MarketLiquiditiesFromJSONTyped = MarketLiquiditiesFromJSONTyped;
|
|
19
|
+
exports.MarketLiquiditiesToJSON = MarketLiquiditiesToJSON;
|
|
20
|
+
exports.MarketLiquiditiesToJSONTyped = MarketLiquiditiesToJSONTyped;
|
|
21
|
+
const MarketLiquidity_1 = require("./MarketLiquidity");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MarketLiquidities interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMarketLiquidities(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function MarketLiquiditiesFromJSON(json) {
|
|
29
|
+
return MarketLiquiditiesFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function MarketLiquiditiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'marketId': json['marketId'] == null ? undefined : json['marketId'],
|
|
37
|
+
'prices': json['prices'] == null ? undefined : (json['prices'].map(MarketLiquidity_1.MarketLiquidityFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function MarketLiquiditiesToJSON(json) {
|
|
41
|
+
return MarketLiquiditiesToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function MarketLiquiditiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'marketId': value['marketId'],
|
|
49
|
+
'prices': value['prices'] == null ? undefined : (value['prices'].map(MarketLiquidity_1.MarketLiquidityToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monaco API
|
|
3
|
+
* A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
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 { Meta } from './Meta';
|
|
13
|
+
import type { MarketLiquidities } from './MarketLiquidities';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MarketLiquiditiesResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface MarketLiquiditiesResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Meta}
|
|
23
|
+
* @memberof MarketLiquiditiesResponse
|
|
24
|
+
*/
|
|
25
|
+
meta?: Meta;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<MarketLiquidities>}
|
|
29
|
+
* @memberof MarketLiquiditiesResponse
|
|
30
|
+
*/
|
|
31
|
+
prices?: Array<MarketLiquidities>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the MarketLiquiditiesResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfMarketLiquiditiesResponse(value: object): value is MarketLiquiditiesResponse;
|
|
37
|
+
export declare function MarketLiquiditiesResponseFromJSON(json: any): MarketLiquiditiesResponse;
|
|
38
|
+
export declare function MarketLiquiditiesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketLiquiditiesResponse;
|
|
39
|
+
export declare function MarketLiquiditiesResponseToJSON(json: any): MarketLiquiditiesResponse;
|
|
40
|
+
export declare function MarketLiquiditiesResponseToJSONTyped(value?: MarketLiquiditiesResponse | null, ignoreDiscriminator?: boolean): any;
|