@ariva-mds/mds 2.59.0 → 2.60.0

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 (57) hide show
  1. package/lib/cjs/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.js +2 -0
  2. package/lib/cjs/models/CorporateAction.js +80 -0
  3. package/lib/cjs/models/CorporateActions.js +51 -0
  4. package/lib/cjs/models/KpiData.js +184 -0
  5. package/lib/cjs/models/KpiDataAllOf.js +174 -0
  6. package/lib/cjs/models/TimeseriesBidAskData.js +54 -0
  7. package/lib/cjs/models/TimeseriesData.js +2 -0
  8. package/lib/cjs/models/WebSocketCommandGetKpi.js +58 -0
  9. package/lib/cjs/models/WebSocketCommandGetTradingtimeAnalysis.js +37 -0
  10. package/lib/cjs/models/WebSocketCommandListTimeseriesBidAsk.js +60 -0
  11. package/lib/cjs/models/WebSocketCommandSubscribeTimeseriesBidAsk.js +60 -0
  12. package/lib/cjs/models/WebSocketMessage.js +6 -0
  13. package/lib/cjs/models/WebSocketRequest.js +117 -0
  14. package/lib/cjs/models/index.js +8 -0
  15. package/lib/esm/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.js +2 -0
  16. package/lib/esm/models/CorporateAction.js +73 -0
  17. package/lib/esm/models/CorporateActions.js +44 -0
  18. package/lib/esm/models/KpiData.js +177 -0
  19. package/lib/esm/models/KpiDataAllOf.js +167 -0
  20. package/lib/esm/models/TimeseriesBidAskData.js +47 -0
  21. package/lib/esm/models/TimeseriesData.js +2 -0
  22. package/lib/esm/models/WebSocketCommandGetKpi.js +51 -0
  23. package/lib/esm/models/WebSocketCommandGetTradingtimeAnalysis.js +32 -1
  24. package/lib/esm/models/WebSocketCommandListTimeseriesBidAsk.js +53 -0
  25. package/lib/esm/models/WebSocketCommandSubscribeTimeseriesBidAsk.js +53 -0
  26. package/lib/esm/models/WebSocketMessage.js +6 -0
  27. package/lib/esm/models/WebSocketRequest.js +112 -1
  28. package/lib/esm/models/index.js +8 -0
  29. package/lib/types/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts +6 -0
  30. package/lib/types/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts.map +1 -1
  31. package/lib/types/models/CorporateAction.d.ts +99 -0
  32. package/lib/types/models/CorporateAction.d.ts.map +1 -0
  33. package/lib/types/models/CorporateActions.d.ts +33 -0
  34. package/lib/types/models/CorporateActions.d.ts.map +1 -0
  35. package/lib/types/models/KpiData.d.ts +435 -0
  36. package/lib/types/models/KpiData.d.ts.map +1 -0
  37. package/lib/types/models/KpiDataAllOf.d.ts +404 -0
  38. package/lib/types/models/KpiDataAllOf.d.ts.map +1 -0
  39. package/lib/types/models/TimeseriesBidAskData.d.ts +44 -0
  40. package/lib/types/models/TimeseriesBidAskData.d.ts.map +1 -0
  41. package/lib/types/models/TimeseriesData.d.ts +6 -0
  42. package/lib/types/models/TimeseriesData.d.ts.map +1 -1
  43. package/lib/types/models/WebSocketCommandGetKpi.d.ts +56 -0
  44. package/lib/types/models/WebSocketCommandGetKpi.d.ts.map +1 -0
  45. package/lib/types/models/WebSocketCommandGetTradingtimeAnalysis.d.ts +7 -0
  46. package/lib/types/models/WebSocketCommandGetTradingtimeAnalysis.d.ts.map +1 -1
  47. package/lib/types/models/WebSocketCommandListTimeseriesBidAsk.d.ts +59 -0
  48. package/lib/types/models/WebSocketCommandListTimeseriesBidAsk.d.ts.map +1 -0
  49. package/lib/types/models/WebSocketCommandSubscribeTimeseriesBidAsk.d.ts +59 -0
  50. package/lib/types/models/WebSocketCommandSubscribeTimeseriesBidAsk.d.ts.map +1 -0
  51. package/lib/types/models/WebSocketMessage.d.ts +14 -0
  52. package/lib/types/models/WebSocketMessage.d.ts.map +1 -1
  53. package/lib/types/models/WebSocketRequest.d.ts +28 -0
  54. package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
  55. package/lib/types/models/index.d.ts +8 -0
  56. package/lib/types/models/index.d.ts.map +1 -1
  57. package/package.json +1 -1
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
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.WebSocketCommandGetKpiToJSON = exports.WebSocketCommandGetKpiFromJSONTyped = exports.WebSocketCommandGetKpiFromJSON = exports.instanceOfWebSocketCommandGetKpi = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the WebSocketCommandGetKpi interface.
20
+ */
21
+ function instanceOfWebSocketCommandGetKpi(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfWebSocketCommandGetKpi = instanceOfWebSocketCommandGetKpi;
26
+ function WebSocketCommandGetKpiFromJSON(json) {
27
+ return WebSocketCommandGetKpiFromJSONTyped(json, false);
28
+ }
29
+ exports.WebSocketCommandGetKpiFromJSON = WebSocketCommandGetKpiFromJSON;
30
+ function WebSocketCommandGetKpiFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'instrumentId': !(0, runtime_1.exists)(json, 'instrumentId') ? undefined : json['instrumentId'],
36
+ 'sourceId': !(0, runtime_1.exists)(json, 'sourceId') ? undefined : json['sourceId'],
37
+ 'kpiSourceId': !(0, runtime_1.exists)(json, 'kpiSourceId') ? undefined : json['kpiSourceId'],
38
+ 'listingVariant': !(0, runtime_1.exists)(json, 'listingVariant') ? undefined : json['listingVariant'],
39
+ 'kpis': !(0, runtime_1.exists)(json, 'kpis') ? undefined : json['kpis'],
40
+ };
41
+ }
42
+ exports.WebSocketCommandGetKpiFromJSONTyped = WebSocketCommandGetKpiFromJSONTyped;
43
+ function WebSocketCommandGetKpiToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'instrumentId': value.instrumentId,
52
+ 'sourceId': value.sourceId,
53
+ 'kpiSourceId': value.kpiSourceId,
54
+ 'listingVariant': value.listingVariant,
55
+ 'kpis': value.kpis,
56
+ };
57
+ }
58
+ exports.WebSocketCommandGetKpiToJSON = WebSocketCommandGetKpiToJSON;
@@ -13,3 +13,40 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WebSocketCommandGetTradingtimeAnalysisToJSON = exports.WebSocketCommandGetTradingtimeAnalysisFromJSONTyped = exports.WebSocketCommandGetTradingtimeAnalysisFromJSON = exports.instanceOfWebSocketCommandGetTradingtimeAnalysis = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the WebSocketCommandGetTradingtimeAnalysis interface.
20
+ */
21
+ function instanceOfWebSocketCommandGetTradingtimeAnalysis(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfWebSocketCommandGetTradingtimeAnalysis = instanceOfWebSocketCommandGetTradingtimeAnalysis;
26
+ function WebSocketCommandGetTradingtimeAnalysisFromJSON(json) {
27
+ return WebSocketCommandGetTradingtimeAnalysisFromJSONTyped(json, false);
28
+ }
29
+ exports.WebSocketCommandGetTradingtimeAnalysisFromJSON = WebSocketCommandGetTradingtimeAnalysisFromJSON;
30
+ function WebSocketCommandGetTradingtimeAnalysisFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'sourceId': !(0, runtime_1.exists)(json, 'sourceId') ? undefined : json['sourceId'],
36
+ 'date': !(0, runtime_1.exists)(json, 'date') ? undefined : (new Date(json['date'])),
37
+ };
38
+ }
39
+ exports.WebSocketCommandGetTradingtimeAnalysisFromJSONTyped = WebSocketCommandGetTradingtimeAnalysisFromJSONTyped;
40
+ function WebSocketCommandGetTradingtimeAnalysisToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'sourceId': value.sourceId,
49
+ 'date': value.date === undefined ? undefined : (value.date.toISOString().substr(0, 10)),
50
+ };
51
+ }
52
+ exports.WebSocketCommandGetTradingtimeAnalysisToJSON = WebSocketCommandGetTradingtimeAnalysisToJSON;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
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.WebSocketCommandListTimeseriesBidAskToJSON = exports.WebSocketCommandListTimeseriesBidAskFromJSONTyped = exports.WebSocketCommandListTimeseriesBidAskFromJSON = exports.instanceOfWebSocketCommandListTimeseriesBidAsk = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const Quality_1 = require("./Quality");
19
+ const Resolution_1 = require("./Resolution");
20
+ /**
21
+ * Check if a given object implements the WebSocketCommandListTimeseriesBidAsk interface.
22
+ */
23
+ function instanceOfWebSocketCommandListTimeseriesBidAsk(value) {
24
+ let isInstance = true;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfWebSocketCommandListTimeseriesBidAsk = instanceOfWebSocketCommandListTimeseriesBidAsk;
28
+ function WebSocketCommandListTimeseriesBidAskFromJSON(json) {
29
+ return WebSocketCommandListTimeseriesBidAskFromJSONTyped(json, false);
30
+ }
31
+ exports.WebSocketCommandListTimeseriesBidAskFromJSON = WebSocketCommandListTimeseriesBidAskFromJSON;
32
+ function WebSocketCommandListTimeseriesBidAskFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'marketstateId': !(0, runtime_1.exists)(json, 'marketstateId') ? undefined : json['marketstateId'],
38
+ 'quality': !(0, runtime_1.exists)(json, 'quality') ? undefined : (0, Quality_1.QualityFromJSON)(json['quality']),
39
+ 'start': !(0, runtime_1.exists)(json, 'start') ? undefined : json['start'],
40
+ 'end': !(0, runtime_1.exists)(json, 'end') ? undefined : json['end'],
41
+ 'resolution': !(0, runtime_1.exists)(json, 'resolution') ? undefined : (0, Resolution_1.ResolutionFromJSON)(json['resolution']),
42
+ };
43
+ }
44
+ exports.WebSocketCommandListTimeseriesBidAskFromJSONTyped = WebSocketCommandListTimeseriesBidAskFromJSONTyped;
45
+ function WebSocketCommandListTimeseriesBidAskToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'marketstateId': value.marketstateId,
54
+ 'quality': (0, Quality_1.QualityToJSON)(value.quality),
55
+ 'start': value.start,
56
+ 'end': value.end,
57
+ 'resolution': (0, Resolution_1.ResolutionToJSON)(value.resolution),
58
+ };
59
+ }
60
+ exports.WebSocketCommandListTimeseriesBidAskToJSON = WebSocketCommandListTimeseriesBidAskToJSON;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
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.WebSocketCommandSubscribeTimeseriesBidAskToJSON = exports.WebSocketCommandSubscribeTimeseriesBidAskFromJSONTyped = exports.WebSocketCommandSubscribeTimeseriesBidAskFromJSON = exports.instanceOfWebSocketCommandSubscribeTimeseriesBidAsk = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const Quality_1 = require("./Quality");
19
+ const Resolution_1 = require("./Resolution");
20
+ /**
21
+ * Check if a given object implements the WebSocketCommandSubscribeTimeseriesBidAsk interface.
22
+ */
23
+ function instanceOfWebSocketCommandSubscribeTimeseriesBidAsk(value) {
24
+ let isInstance = true;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfWebSocketCommandSubscribeTimeseriesBidAsk = instanceOfWebSocketCommandSubscribeTimeseriesBidAsk;
28
+ function WebSocketCommandSubscribeTimeseriesBidAskFromJSON(json) {
29
+ return WebSocketCommandSubscribeTimeseriesBidAskFromJSONTyped(json, false);
30
+ }
31
+ exports.WebSocketCommandSubscribeTimeseriesBidAskFromJSON = WebSocketCommandSubscribeTimeseriesBidAskFromJSON;
32
+ function WebSocketCommandSubscribeTimeseriesBidAskFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'marketstateId': !(0, runtime_1.exists)(json, 'marketstateId') ? undefined : json['marketstateId'],
38
+ 'quality': !(0, runtime_1.exists)(json, 'quality') ? undefined : (0, Quality_1.QualityFromJSON)(json['quality']),
39
+ 'start': !(0, runtime_1.exists)(json, 'start') ? undefined : json['start'],
40
+ 'end': !(0, runtime_1.exists)(json, 'end') ? undefined : json['end'],
41
+ 'resolution': !(0, runtime_1.exists)(json, 'resolution') ? undefined : (0, Resolution_1.ResolutionFromJSON)(json['resolution']),
42
+ };
43
+ }
44
+ exports.WebSocketCommandSubscribeTimeseriesBidAskFromJSONTyped = WebSocketCommandSubscribeTimeseriesBidAskFromJSONTyped;
45
+ function WebSocketCommandSubscribeTimeseriesBidAskToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'marketstateId': value.marketstateId,
54
+ 'quality': (0, Quality_1.QualityToJSON)(value.quality),
55
+ 'start': value.start,
56
+ 'end': value.end,
57
+ 'resolution': (0, Resolution_1.ResolutionToJSON)(value.resolution),
58
+ };
59
+ }
60
+ exports.WebSocketCommandSubscribeTimeseriesBidAskToJSON = WebSocketCommandSubscribeTimeseriesBidAskToJSON;
@@ -19,6 +19,7 @@ const AfuCompanyProfile_1 = require("./AfuCompanyProfile");
19
19
  const AuthenticationState_1 = require("./AuthenticationState");
20
20
  const BidAskHistoryData_1 = require("./BidAskHistoryData");
21
21
  const ChartData_1 = require("./ChartData");
22
+ const KpiData_1 = require("./KpiData");
22
23
  const ListingdataWithIdAndQuality_1 = require("./ListingdataWithIdAndQuality");
23
24
  const MarketdepthWithId_1 = require("./MarketdepthWithId");
24
25
  const MarketstateResponseSearch_1 = require("./MarketstateResponseSearch");
@@ -28,6 +29,7 @@ const RateLimitStatistics_1 = require("./RateLimitStatistics");
28
29
  const ReferenceTable_1 = require("./ReferenceTable");
29
30
  const Sourcedata_1 = require("./Sourcedata");
30
31
  const TickHistoryData_1 = require("./TickHistoryData");
32
+ const TimeseriesBidAskData_1 = require("./TimeseriesBidAskData");
31
33
  const TimeseriesData_1 = require("./TimeseriesData");
32
34
  const TopflopList_1 = require("./TopflopList");
33
35
  const TradetickerEvent_1 = require("./TradetickerEvent");
@@ -63,12 +65,14 @@ function WebSocketMessageFromJSONTyped(json, ignoreDiscriminator) {
63
65
  'dataTopflopList': !(0, runtime_1.exists)(json, 'dataTopflopList') ? undefined : (0, TopflopList_1.TopflopListFromJSON)(json['dataTopflopList']),
64
66
  'dataReference': !(0, runtime_1.exists)(json, 'dataReference') ? undefined : (0, ReferenceTable_1.ReferenceTableFromJSON)(json['dataReference']),
65
67
  'dataSource': !(0, runtime_1.exists)(json, 'dataSource') ? undefined : (0, Sourcedata_1.SourcedataFromJSON)(json['dataSource']),
68
+ 'dataKpi': !(0, runtime_1.exists)(json, 'dataKpi') ? undefined : (0, KpiData_1.KpiDataFromJSON)(json['dataKpi']),
66
69
  'dataMasterdata': !(0, runtime_1.exists)(json, 'dataMasterdata') ? undefined : (0, MasterdataMergedSummaryWithId_1.MasterdataMergedSummaryWithIdFromJSON)(json['dataMasterdata']),
67
70
  'dataAuthentication': !(0, runtime_1.exists)(json, 'dataAuthentication') ? undefined : (0, AuthenticationState_1.AuthenticationStateFromJSON)(json['dataAuthentication']),
68
71
  'dataTradingtime': !(0, runtime_1.exists)(json, 'dataTradingtime') ? undefined : (0, Tradingtime_1.TradingtimeFromJSON)(json['dataTradingtime']),
69
72
  'dataTradingtimeAnalysis': !(0, runtime_1.exists)(json, 'dataTradingtimeAnalysis') ? undefined : (0, TradingtimeInfoReply_1.TradingtimeInfoReplyFromJSON)(json['dataTradingtimeAnalysis']),
70
73
  'dataMarketdepth': !(0, runtime_1.exists)(json, 'dataMarketdepth') ? undefined : (0, MarketdepthWithId_1.MarketdepthWithIdFromJSON)(json['dataMarketdepth']),
71
74
  'dataTimeseries': !(0, runtime_1.exists)(json, 'dataTimeseries') ? undefined : (0, TimeseriesData_1.TimeseriesDataFromJSON)(json['dataTimeseries']),
75
+ 'dataTimeseriesBidAsk': !(0, runtime_1.exists)(json, 'dataTimeseriesBidAsk') ? undefined : (0, TimeseriesBidAskData_1.TimeseriesBidAskDataFromJSON)(json['dataTimeseriesBidAsk']),
72
76
  'dataCharts': !(0, runtime_1.exists)(json, 'dataCharts') ? undefined : (0, ChartData_1.ChartDataFromJSON)(json['dataCharts']),
73
77
  'dataTickHistory': !(0, runtime_1.exists)(json, 'dataTickHistory') ? undefined : (0, TickHistoryData_1.TickHistoryDataFromJSON)(json['dataTickHistory']),
74
78
  'dataBidAskHistory': !(0, runtime_1.exists)(json, 'dataBidAskHistory') ? undefined : (0, BidAskHistoryData_1.BidAskHistoryDataFromJSON)(json['dataBidAskHistory']),
@@ -100,12 +104,14 @@ function WebSocketMessageToJSON(value) {
100
104
  'dataTopflopList': (0, TopflopList_1.TopflopListToJSON)(value.dataTopflopList),
101
105
  'dataReference': (0, ReferenceTable_1.ReferenceTableToJSON)(value.dataReference),
102
106
  'dataSource': (0, Sourcedata_1.SourcedataToJSON)(value.dataSource),
107
+ 'dataKpi': (0, KpiData_1.KpiDataToJSON)(value.dataKpi),
103
108
  'dataMasterdata': (0, MasterdataMergedSummaryWithId_1.MasterdataMergedSummaryWithIdToJSON)(value.dataMasterdata),
104
109
  'dataAuthentication': (0, AuthenticationState_1.AuthenticationStateToJSON)(value.dataAuthentication),
105
110
  'dataTradingtime': (0, Tradingtime_1.TradingtimeToJSON)(value.dataTradingtime),
106
111
  'dataTradingtimeAnalysis': (0, TradingtimeInfoReply_1.TradingtimeInfoReplyToJSON)(value.dataTradingtimeAnalysis),
107
112
  'dataMarketdepth': (0, MarketdepthWithId_1.MarketdepthWithIdToJSON)(value.dataMarketdepth),
108
113
  'dataTimeseries': (0, TimeseriesData_1.TimeseriesDataToJSON)(value.dataTimeseries),
114
+ 'dataTimeseriesBidAsk': (0, TimeseriesBidAskData_1.TimeseriesBidAskDataToJSON)(value.dataTimeseriesBidAsk),
109
115
  'dataCharts': (0, ChartData_1.ChartDataToJSON)(value.dataCharts),
110
116
  'dataTickHistory': (0, TickHistoryData_1.TickHistoryDataToJSON)(value.dataTickHistory),
111
117
  'dataBidAskHistory': (0, BidAskHistoryData_1.BidAskHistoryDataToJSON)(value.dataBidAskHistory),
@@ -13,3 +13,120 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WebSocketRequestToJSON = exports.WebSocketRequestFromJSONTyped = exports.WebSocketRequestFromJSON = exports.instanceOfWebSocketRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const WebSocketCommandAuthenticate_1 = require("./WebSocketCommandAuthenticate");
19
+ const WebSocketCommandCancel_1 = require("./WebSocketCommandCancel");
20
+ const WebSocketCommandGetAfuCompanyProfile_1 = require("./WebSocketCommandGetAfuCompanyProfile");
21
+ const WebSocketCommandGetFwwFundsProfile_1 = require("./WebSocketCommandGetFwwFundsProfile");
22
+ const WebSocketCommandGetInstrumentMasterdata_1 = require("./WebSocketCommandGetInstrumentMasterdata");
23
+ const WebSocketCommandGetKpi_1 = require("./WebSocketCommandGetKpi");
24
+ const WebSocketCommandGetReference_1 = require("./WebSocketCommandGetReference");
25
+ const WebSocketCommandGetSource_1 = require("./WebSocketCommandGetSource");
26
+ const WebSocketCommandGetTradingtime_1 = require("./WebSocketCommandGetTradingtime");
27
+ const WebSocketCommandGetTradingtimeAnalysis_1 = require("./WebSocketCommandGetTradingtimeAnalysis");
28
+ const WebSocketCommandHeartbeat_1 = require("./WebSocketCommandHeartbeat");
29
+ const WebSocketCommandListBidAskHistory_1 = require("./WebSocketCommandListBidAskHistory");
30
+ const WebSocketCommandListCharts_1 = require("./WebSocketCommandListCharts");
31
+ const WebSocketCommandListInstrumentListings_1 = require("./WebSocketCommandListInstrumentListings");
32
+ const WebSocketCommandListMarketstates_1 = require("./WebSocketCommandListMarketstates");
33
+ const WebSocketCommandListPerformance_1 = require("./WebSocketCommandListPerformance");
34
+ const WebSocketCommandListTickHistory_1 = require("./WebSocketCommandListTickHistory");
35
+ const WebSocketCommandListTimeseries_1 = require("./WebSocketCommandListTimeseries");
36
+ const WebSocketCommandListTimeseriesBidAsk_1 = require("./WebSocketCommandListTimeseriesBidAsk");
37
+ const WebSocketCommandPriority_1 = require("./WebSocketCommandPriority");
38
+ const WebSocketCommandSubscribeListTopflop_1 = require("./WebSocketCommandSubscribeListTopflop");
39
+ const WebSocketCommandSubscribeMarketdepth_1 = require("./WebSocketCommandSubscribeMarketdepth");
40
+ const WebSocketCommandSubscribeMarketstates_1 = require("./WebSocketCommandSubscribeMarketstates");
41
+ const WebSocketCommandSubscribeSourceTradeticker_1 = require("./WebSocketCommandSubscribeSourceTradeticker");
42
+ const WebSocketCommandSubscribeTimeseries_1 = require("./WebSocketCommandSubscribeTimeseries");
43
+ const WebSocketCommandSubscribeTimeseriesBidAsk_1 = require("./WebSocketCommandSubscribeTimeseriesBidAsk");
44
+ /**
45
+ * Check if a given object implements the WebSocketRequest interface.
46
+ */
47
+ function instanceOfWebSocketRequest(value) {
48
+ let isInstance = true;
49
+ return isInstance;
50
+ }
51
+ exports.instanceOfWebSocketRequest = instanceOfWebSocketRequest;
52
+ function WebSocketRequestFromJSON(json) {
53
+ return WebSocketRequestFromJSONTyped(json, false);
54
+ }
55
+ exports.WebSocketRequestFromJSON = WebSocketRequestFromJSON;
56
+ function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
57
+ if ((json === undefined) || (json === null)) {
58
+ return json;
59
+ }
60
+ return {
61
+ 'requestId': !(0, runtime_1.exists)(json, 'requestId') ? undefined : json['requestId'],
62
+ 'cancel': !(0, runtime_1.exists)(json, 'cancel') ? undefined : (0, WebSocketCommandCancel_1.WebSocketCommandCancelFromJSON)(json['cancel']),
63
+ 'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : (0, WebSocketCommandPriority_1.WebSocketCommandPriorityFromJSON)(json['priority']),
64
+ 'heartbeat': !(0, runtime_1.exists)(json, 'heartbeat') ? undefined : (0, WebSocketCommandHeartbeat_1.WebSocketCommandHeartbeatFromJSON)(json['heartbeat']),
65
+ 'authenticate': !(0, runtime_1.exists)(json, 'authenticate') ? undefined : (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateFromJSON)(json['authenticate']),
66
+ 'subscribeAuthentication': !(0, runtime_1.exists)(json, 'subscribeAuthentication') ? undefined : (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateFromJSON)(json['subscribeAuthentication']),
67
+ 'subscribeMarketstates': !(0, runtime_1.exists)(json, 'subscribeMarketstates') ? undefined : (0, WebSocketCommandSubscribeMarketstates_1.WebSocketCommandSubscribeMarketstatesFromJSON)(json['subscribeMarketstates']),
68
+ 'subscribeMarketdepth': !(0, runtime_1.exists)(json, 'subscribeMarketdepth') ? undefined : (0, WebSocketCommandSubscribeMarketdepth_1.WebSocketCommandSubscribeMarketdepthFromJSON)(json['subscribeMarketdepth']),
69
+ 'listPerformance': !(0, runtime_1.exists)(json, 'listPerformance') ? undefined : (0, WebSocketCommandListPerformance_1.WebSocketCommandListPerformanceFromJSON)(json['listPerformance']),
70
+ 'listBidAskHistory': !(0, runtime_1.exists)(json, 'listBidAskHistory') ? undefined : (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryFromJSON)(json['listBidAskHistory']),
71
+ 'listInstrumentListings': !(0, runtime_1.exists)(json, 'listInstrumentListings') ? undefined : (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsFromJSON)(json['listInstrumentListings']),
72
+ 'listTimeseries': !(0, runtime_1.exists)(json, 'listTimeseries') ? undefined : (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesFromJSON)(json['listTimeseries']),
73
+ 'listTimeseriesBidAsk': !(0, runtime_1.exists)(json, 'listTimeseriesBidAsk') ? undefined : (0, WebSocketCommandListTimeseriesBidAsk_1.WebSocketCommandListTimeseriesBidAskFromJSON)(json['listTimeseriesBidAsk']),
74
+ 'listCharts': !(0, runtime_1.exists)(json, 'listCharts') ? undefined : (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsFromJSON)(json['listCharts']),
75
+ 'listTickHistory': !(0, runtime_1.exists)(json, 'listTickHistory') ? undefined : (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryFromJSON)(json['listTickHistory']),
76
+ 'listMarketstates': !(0, runtime_1.exists)(json, 'listMarketstates') ? undefined : (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesFromJSON)(json['listMarketstates']),
77
+ 'subscribeTimeseries': !(0, runtime_1.exists)(json, 'subscribeTimeseries') ? undefined : (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesFromJSON)(json['subscribeTimeseries']),
78
+ 'subscribeTimeseriesBidAsk': !(0, runtime_1.exists)(json, 'subscribeTimeseriesBidAsk') ? undefined : (0, WebSocketCommandSubscribeTimeseriesBidAsk_1.WebSocketCommandSubscribeTimeseriesBidAskFromJSON)(json['subscribeTimeseriesBidAsk']),
79
+ 'getInstrumentMasterdata': !(0, runtime_1.exists)(json, 'getInstrumentMasterdata') ? undefined : (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataFromJSON)(json['getInstrumentMasterdata']),
80
+ 'getAfuCompanyProfile': !(0, runtime_1.exists)(json, 'getAfuCompanyProfile') ? undefined : (0, WebSocketCommandGetAfuCompanyProfile_1.WebSocketCommandGetAfuCompanyProfileFromJSON)(json['getAfuCompanyProfile']),
81
+ 'getFwwFundsProfile': !(0, runtime_1.exists)(json, 'getFwwFundsProfile') ? undefined : (0, WebSocketCommandGetFwwFundsProfile_1.WebSocketCommandGetFwwFundsProfileFromJSON)(json['getFwwFundsProfile']),
82
+ 'getReference': !(0, runtime_1.exists)(json, 'getReference') ? undefined : (0, WebSocketCommandGetReference_1.WebSocketCommandGetReferenceFromJSON)(json['getReference']),
83
+ 'getSource': !(0, runtime_1.exists)(json, 'getSource') ? undefined : (0, WebSocketCommandGetSource_1.WebSocketCommandGetSourceFromJSON)(json['getSource']),
84
+ 'getKpi': !(0, runtime_1.exists)(json, 'getKpi') ? undefined : (0, WebSocketCommandGetKpi_1.WebSocketCommandGetKpiFromJSON)(json['getKpi']),
85
+ 'getTradingtime': !(0, runtime_1.exists)(json, 'getTradingtime') ? undefined : (0, WebSocketCommandGetTradingtime_1.WebSocketCommandGetTradingtimeFromJSON)(json['getTradingtime']),
86
+ 'getTradingtimeAnalysis': !(0, runtime_1.exists)(json, 'getTradingtimeAnalysis') ? undefined : (0, WebSocketCommandGetTradingtimeAnalysis_1.WebSocketCommandGetTradingtimeAnalysisFromJSON)(json['getTradingtimeAnalysis']),
87
+ 'subscribeSourceTradeticker': !(0, runtime_1.exists)(json, 'subscribeSourceTradeticker') ? undefined : (0, WebSocketCommandSubscribeSourceTradeticker_1.WebSocketCommandSubscribeSourceTradetickerFromJSON)(json['subscribeSourceTradeticker']),
88
+ 'subscribeListTopflop': !(0, runtime_1.exists)(json, 'subscribeListTopflop') ? undefined : (0, WebSocketCommandSubscribeListTopflop_1.WebSocketCommandSubscribeListTopflopFromJSON)(json['subscribeListTopflop']),
89
+ 'rateLimitStatistics': !(0, runtime_1.exists)(json, 'rateLimitStatistics') ? undefined : json['rateLimitStatistics'],
90
+ };
91
+ }
92
+ exports.WebSocketRequestFromJSONTyped = WebSocketRequestFromJSONTyped;
93
+ function WebSocketRequestToJSON(value) {
94
+ if (value === undefined) {
95
+ return undefined;
96
+ }
97
+ if (value === null) {
98
+ return null;
99
+ }
100
+ return {
101
+ 'requestId': value.requestId,
102
+ 'cancel': (0, WebSocketCommandCancel_1.WebSocketCommandCancelToJSON)(value.cancel),
103
+ 'priority': (0, WebSocketCommandPriority_1.WebSocketCommandPriorityToJSON)(value.priority),
104
+ 'heartbeat': (0, WebSocketCommandHeartbeat_1.WebSocketCommandHeartbeatToJSON)(value.heartbeat),
105
+ 'authenticate': (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateToJSON)(value.authenticate),
106
+ 'subscribeAuthentication': (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateToJSON)(value.subscribeAuthentication),
107
+ 'subscribeMarketstates': (0, WebSocketCommandSubscribeMarketstates_1.WebSocketCommandSubscribeMarketstatesToJSON)(value.subscribeMarketstates),
108
+ 'subscribeMarketdepth': (0, WebSocketCommandSubscribeMarketdepth_1.WebSocketCommandSubscribeMarketdepthToJSON)(value.subscribeMarketdepth),
109
+ 'listPerformance': (0, WebSocketCommandListPerformance_1.WebSocketCommandListPerformanceToJSON)(value.listPerformance),
110
+ 'listBidAskHistory': (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryToJSON)(value.listBidAskHistory),
111
+ 'listInstrumentListings': (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsToJSON)(value.listInstrumentListings),
112
+ 'listTimeseries': (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesToJSON)(value.listTimeseries),
113
+ 'listTimeseriesBidAsk': (0, WebSocketCommandListTimeseriesBidAsk_1.WebSocketCommandListTimeseriesBidAskToJSON)(value.listTimeseriesBidAsk),
114
+ 'listCharts': (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsToJSON)(value.listCharts),
115
+ 'listTickHistory': (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryToJSON)(value.listTickHistory),
116
+ 'listMarketstates': (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesToJSON)(value.listMarketstates),
117
+ 'subscribeTimeseries': (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesToJSON)(value.subscribeTimeseries),
118
+ 'subscribeTimeseriesBidAsk': (0, WebSocketCommandSubscribeTimeseriesBidAsk_1.WebSocketCommandSubscribeTimeseriesBidAskToJSON)(value.subscribeTimeseriesBidAsk),
119
+ 'getInstrumentMasterdata': (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataToJSON)(value.getInstrumentMasterdata),
120
+ 'getAfuCompanyProfile': (0, WebSocketCommandGetAfuCompanyProfile_1.WebSocketCommandGetAfuCompanyProfileToJSON)(value.getAfuCompanyProfile),
121
+ 'getFwwFundsProfile': (0, WebSocketCommandGetFwwFundsProfile_1.WebSocketCommandGetFwwFundsProfileToJSON)(value.getFwwFundsProfile),
122
+ 'getReference': (0, WebSocketCommandGetReference_1.WebSocketCommandGetReferenceToJSON)(value.getReference),
123
+ 'getSource': (0, WebSocketCommandGetSource_1.WebSocketCommandGetSourceToJSON)(value.getSource),
124
+ 'getKpi': (0, WebSocketCommandGetKpi_1.WebSocketCommandGetKpiToJSON)(value.getKpi),
125
+ 'getTradingtime': (0, WebSocketCommandGetTradingtime_1.WebSocketCommandGetTradingtimeToJSON)(value.getTradingtime),
126
+ 'getTradingtimeAnalysis': (0, WebSocketCommandGetTradingtimeAnalysis_1.WebSocketCommandGetTradingtimeAnalysisToJSON)(value.getTradingtimeAnalysis),
127
+ 'subscribeSourceTradeticker': (0, WebSocketCommandSubscribeSourceTradeticker_1.WebSocketCommandSubscribeSourceTradetickerToJSON)(value.subscribeSourceTradeticker),
128
+ 'subscribeListTopflop': (0, WebSocketCommandSubscribeListTopflop_1.WebSocketCommandSubscribeListTopflopToJSON)(value.subscribeListTopflop),
129
+ 'rateLimitStatistics': value.rateLimitStatistics,
130
+ };
131
+ }
132
+ exports.WebSocketRequestToJSON = WebSocketRequestToJSON;
@@ -66,6 +66,8 @@ __exportStar(require("./BidAskTimeseriesItem"), exports);
66
66
  __exportStar(require("./ChartData"), exports);
67
67
  __exportStar(require("./ChartDataAllOf"), exports);
68
68
  __exportStar(require("./ContinuationToken"), exports);
69
+ __exportStar(require("./CorporateAction"), exports);
70
+ __exportStar(require("./CorporateActions"), exports);
69
71
  __exportStar(require("./DayMarkData"), exports);
70
72
  __exportStar(require("./DayMarkDataEod"), exports);
71
73
  __exportStar(require("./EodExtract"), exports);
@@ -84,6 +86,8 @@ __exportStar(require("./InstrumentsInstrumentIdFwwFundsGet200Response"), exports
84
86
  __exportStar(require("./InstrumentsInstrumentIdListingsGet200Response"), exports);
85
87
  __exportStar(require("./InstrumentsInstrumentIdMarketstatesGet200Response"), exports);
86
88
  __exportStar(require("./InstrumentsInstrumentIdMarketstatesGet200Response1"), exports);
89
+ __exportStar(require("./KpiData"), exports);
90
+ __exportStar(require("./KpiDataAllOf"), exports);
87
91
  __exportStar(require("./List"), exports);
88
92
  __exportStar(require("./ListEntry"), exports);
89
93
  __exportStar(require("./ListTotalResultCount"), exports);
@@ -150,6 +154,7 @@ __exportStar(require("./TickHistoryData"), exports);
150
154
  __exportStar(require("./TimeRange"), exports);
151
155
  __exportStar(require("./Timeseries"), exports);
152
156
  __exportStar(require("./TimeseriesAllOf"), exports);
157
+ __exportStar(require("./TimeseriesBidAskData"), exports);
153
158
  __exportStar(require("./TimeseriesData"), exports);
154
159
  __exportStar(require("./TopflopEntry"), exports);
155
160
  __exportStar(require("./TopflopEntryAllOf"), exports);
@@ -170,6 +175,7 @@ __exportStar(require("./WebSocketCommandCancel"), exports);
170
175
  __exportStar(require("./WebSocketCommandGetAfuCompanyProfile"), exports);
171
176
  __exportStar(require("./WebSocketCommandGetFwwFundsProfile"), exports);
172
177
  __exportStar(require("./WebSocketCommandGetInstrumentMasterdata"), exports);
178
+ __exportStar(require("./WebSocketCommandGetKpi"), exports);
173
179
  __exportStar(require("./WebSocketCommandGetReference"), exports);
174
180
  __exportStar(require("./WebSocketCommandGetSource"), exports);
175
181
  __exportStar(require("./WebSocketCommandGetTradingtime"), exports);
@@ -182,11 +188,13 @@ __exportStar(require("./WebSocketCommandListMarketstates"), exports);
182
188
  __exportStar(require("./WebSocketCommandListPerformance"), exports);
183
189
  __exportStar(require("./WebSocketCommandListTickHistory"), exports);
184
190
  __exportStar(require("./WebSocketCommandListTimeseries"), exports);
191
+ __exportStar(require("./WebSocketCommandListTimeseriesBidAsk"), exports);
185
192
  __exportStar(require("./WebSocketCommandPriority"), exports);
186
193
  __exportStar(require("./WebSocketCommandSubscribeListTopflop"), exports);
187
194
  __exportStar(require("./WebSocketCommandSubscribeMarketdepth"), exports);
188
195
  __exportStar(require("./WebSocketCommandSubscribeMarketstates"), exports);
189
196
  __exportStar(require("./WebSocketCommandSubscribeSourceTradeticker"), exports);
190
197
  __exportStar(require("./WebSocketCommandSubscribeTimeseries"), exports);
198
+ __exportStar(require("./WebSocketCommandSubscribeTimeseriesBidAsk"), exports);
191
199
  __exportStar(require("./WebSocketMessage"), exports);
192
200
  __exportStar(require("./WebSocketRequest"), exports);
@@ -33,6 +33,7 @@ export function AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquityFro
33
33
  'retainedEarnings': !exists(json, 'retainedEarnings') ? undefined : (json['retainedEarnings'].map(AfuCompanyYearlyAmountFromJSON)),
34
34
  'treasuryStock': !exists(json, 'treasuryStock') ? undefined : (json['treasuryStock'].map(AfuCompanyYearlyAmountFromJSON)),
35
35
  'otherCapital': !exists(json, 'otherCapital') ? undefined : (json['otherCapital'].map(AfuCompanyYearlyAmountFromJSON)),
36
+ 'totalEquity': !exists(json, 'totalEquity') ? undefined : (json['totalEquity'].map(AfuCompanyYearlyAmountFromJSON)),
36
37
  'preferredEquity': !exists(json, 'preferredEquity') ? undefined : (json['preferredEquity'].map(AfuCompanyYearlyAmountFromJSON)),
37
38
  };
38
39
  }
@@ -49,6 +50,7 @@ export function AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquityToJ
49
50
  'retainedEarnings': value.retainedEarnings === undefined ? undefined : (value.retainedEarnings.map(AfuCompanyYearlyAmountToJSON)),
50
51
  'treasuryStock': value.treasuryStock === undefined ? undefined : (value.treasuryStock.map(AfuCompanyYearlyAmountToJSON)),
51
52
  'otherCapital': value.otherCapital === undefined ? undefined : (value.otherCapital.map(AfuCompanyYearlyAmountToJSON)),
53
+ 'totalEquity': value.totalEquity === undefined ? undefined : (value.totalEquity.map(AfuCompanyYearlyAmountToJSON)),
52
54
  'preferredEquity': value.preferredEquity === undefined ? undefined : (value.preferredEquity.map(AfuCompanyYearlyAmountToJSON)),
53
55
  };
54
56
  }
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
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 { exists } from '../runtime';
15
+ /**
16
+ * @export
17
+ */
18
+ export const CorporateActionCorporateActionTypeEnum = {
19
+ Dividend: 'Dividend',
20
+ SubscriptionRight: 'SubscriptionRight',
21
+ Split: 'Split',
22
+ FreeShares: 'FreeShares',
23
+ Distributions: 'Distributions',
24
+ GeneralCorrection: 'GeneralCorrection',
25
+ EuroChangeover: 'EuroChangeover'
26
+ };
27
+ /**
28
+ * Check if a given object implements the CorporateAction interface.
29
+ */
30
+ export function instanceOfCorporateAction(value) {
31
+ let isInstance = true;
32
+ return isInstance;
33
+ }
34
+ export function CorporateActionFromJSON(json) {
35
+ return CorporateActionFromJSONTyped(json, false);
36
+ }
37
+ export function CorporateActionFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'comment': !exists(json, 'comment') ? undefined : json['comment'],
43
+ 'date': !exists(json, 'date') ? undefined : (new Date(json['date'])),
44
+ 'corporateActionType': !exists(json, 'corporateActionType') ? undefined : json['corporateActionType'],
45
+ 'payoutCurrency': !exists(json, 'payoutCurrency') ? undefined : json['payoutCurrency'],
46
+ 'payoutOrig': !exists(json, 'payoutOrig') ? undefined : json['payoutOrig'],
47
+ 'payoutEur': !exists(json, 'payoutEur') ? undefined : json['payoutEur'],
48
+ 'ratio1': !exists(json, 'ratio1') ? undefined : json['ratio1'],
49
+ 'ratio2': !exists(json, 'ratio2') ? undefined : json['ratio2'],
50
+ 'factor': !exists(json, 'factor') ? undefined : json['factor'],
51
+ 'differingDate': !exists(json, 'differingDate') ? undefined : json['differingDate'],
52
+ };
53
+ }
54
+ export function CorporateActionToJSON(value) {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+ 'comment': value.comment,
63
+ 'date': value.date === undefined ? undefined : (value.date.toISOString().substr(0, 10)),
64
+ 'corporateActionType': value.corporateActionType,
65
+ 'payoutCurrency': value.payoutCurrency,
66
+ 'payoutOrig': value.payoutOrig,
67
+ 'payoutEur': value.payoutEur,
68
+ 'ratio1': value.ratio1,
69
+ 'ratio2': value.ratio2,
70
+ 'factor': value.factor,
71
+ 'differingDate': value.differingDate,
72
+ };
73
+ }
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
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 { exists } from '../runtime';
15
+ import { CorporateActionFromJSON, CorporateActionToJSON, } from './CorporateAction';
16
+ /**
17
+ * Check if a given object implements the CorporateActions interface.
18
+ */
19
+ export function instanceOfCorporateActions(value) {
20
+ let isInstance = true;
21
+ return isInstance;
22
+ }
23
+ export function CorporateActionsFromJSON(json) {
24
+ return CorporateActionsFromJSONTyped(json, false);
25
+ }
26
+ export function CorporateActionsFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'actions': !exists(json, 'actions') ? undefined : (json['actions'].map(CorporateActionFromJSON)),
32
+ };
33
+ }
34
+ export function CorporateActionsToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'actions': value.actions === undefined ? undefined : (value.actions.map(CorporateActionToJSON)),
43
+ };
44
+ }