@ariva-mds/mds 2.62.0 → 2.63.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 (77) hide show
  1. package/lib/cjs/models/FiscalYearValue.js +52 -0
  2. package/lib/cjs/models/FiscalYearValueAllOf.js +52 -0
  3. package/lib/cjs/models/FwwTimeseriesGet200ResponseInner.js +53 -0
  4. package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerMeta.js +54 -0
  5. package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +44 -0
  6. package/lib/cjs/models/GeneralInformationInstrumentChangesGet200Response.js +51 -0
  7. package/lib/cjs/models/InstrumentChangeData.js +54 -0
  8. package/lib/cjs/models/InstrumentsGet200Response.js +0 -2
  9. package/lib/cjs/models/KpiData.js +145 -110
  10. package/lib/cjs/models/KpiDataAllOf.js +145 -110
  11. package/lib/cjs/models/MovingAverage.js +53 -0
  12. package/lib/cjs/models/MovingAverageAllOf.js +53 -0
  13. package/lib/cjs/models/OfficialSymbols.js +2 -0
  14. package/lib/cjs/models/Oscillator.js +64 -0
  15. package/lib/cjs/models/OscillatorAllOf.js +64 -0
  16. package/lib/cjs/models/Resolution.js +2 -0
  17. package/lib/cjs/models/WebSocketCommandListMasterdata.js +50 -0
  18. package/lib/cjs/models/WebSocketRequest.js +3 -0
  19. package/lib/cjs/models/index.js +12 -1
  20. package/lib/esm/models/FiscalYearValue.js +45 -0
  21. package/lib/esm/models/FiscalYearValueAllOf.js +45 -0
  22. package/lib/esm/models/FwwTimeseriesGet200ResponseInner.js +46 -0
  23. package/lib/esm/models/FwwTimeseriesGet200ResponseInnerMeta.js +47 -0
  24. package/lib/esm/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +38 -0
  25. package/lib/esm/models/GeneralInformationInstrumentChangesGet200Response.js +44 -0
  26. package/lib/esm/models/InstrumentChangeData.js +47 -0
  27. package/lib/esm/models/InstrumentsGet200Response.js +0 -2
  28. package/lib/esm/models/KpiData.js +145 -110
  29. package/lib/esm/models/KpiDataAllOf.js +145 -110
  30. package/lib/esm/models/MovingAverage.js +46 -0
  31. package/lib/esm/models/MovingAverageAllOf.js +46 -0
  32. package/lib/esm/models/OfficialSymbols.js +2 -0
  33. package/lib/esm/models/Oscillator.js +57 -0
  34. package/lib/esm/models/OscillatorAllOf.js +57 -0
  35. package/lib/esm/models/Resolution.js +2 -0
  36. package/lib/esm/models/WebSocketCommandListMasterdata.js +43 -0
  37. package/lib/esm/models/WebSocketRequest.js +3 -0
  38. package/lib/esm/models/index.js +12 -1
  39. package/lib/types/models/FiscalYearValue.d.ts +38 -0
  40. package/lib/types/models/FiscalYearValue.d.ts.map +1 -0
  41. package/lib/types/models/FiscalYearValueAllOf.d.ts +38 -0
  42. package/lib/types/models/FiscalYearValueAllOf.d.ts.map +1 -0
  43. package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts +40 -0
  44. package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts.map +1 -0
  45. package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts +44 -0
  46. package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts.map +1 -0
  47. package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts +21 -0
  48. package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts.map +1 -0
  49. package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts +33 -0
  50. package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts.map +1 -0
  51. package/lib/types/models/InstrumentChangeData.d.ts +44 -0
  52. package/lib/types/models/InstrumentChangeData.d.ts.map +1 -0
  53. package/lib/types/models/InstrumentsGet200Response.d.ts +0 -6
  54. package/lib/types/models/InstrumentsGet200Response.d.ts.map +1 -1
  55. package/lib/types/models/KpiData.d.ts +224 -125
  56. package/lib/types/models/KpiData.d.ts.map +1 -1
  57. package/lib/types/models/KpiDataAllOf.d.ts +224 -125
  58. package/lib/types/models/KpiDataAllOf.d.ts.map +1 -1
  59. package/lib/types/models/MovingAverage.d.ts +39 -0
  60. package/lib/types/models/MovingAverage.d.ts.map +1 -0
  61. package/lib/types/models/MovingAverageAllOf.d.ts +39 -0
  62. package/lib/types/models/MovingAverageAllOf.d.ts.map +1 -0
  63. package/lib/types/models/OfficialSymbols.d.ts +6 -0
  64. package/lib/types/models/OfficialSymbols.d.ts.map +1 -1
  65. package/lib/types/models/Oscillator.d.ts +51 -0
  66. package/lib/types/models/Oscillator.d.ts.map +1 -0
  67. package/lib/types/models/OscillatorAllOf.d.ts +51 -0
  68. package/lib/types/models/OscillatorAllOf.d.ts.map +1 -0
  69. package/lib/types/models/Resolution.d.ts +2 -0
  70. package/lib/types/models/Resolution.d.ts.map +1 -1
  71. package/lib/types/models/WebSocketCommandListMasterdata.d.ts +32 -0
  72. package/lib/types/models/WebSocketCommandListMasterdata.d.ts.map +1 -0
  73. package/lib/types/models/WebSocketRequest.d.ts +7 -0
  74. package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
  75. package/lib/types/models/index.d.ts +12 -1
  76. package/lib/types/models/index.d.ts.map +1 -1
  77. package/package.json +1 -1
@@ -0,0 +1,52 @@
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.FiscalYearValueToJSON = exports.FiscalYearValueFromJSONTyped = exports.FiscalYearValueFromJSON = exports.instanceOfFiscalYearValue = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the FiscalYearValue interface.
20
+ */
21
+ function instanceOfFiscalYearValue(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfFiscalYearValue = instanceOfFiscalYearValue;
26
+ function FiscalYearValueFromJSON(json) {
27
+ return FiscalYearValueFromJSONTyped(json, false);
28
+ }
29
+ exports.FiscalYearValueFromJSON = FiscalYearValueFromJSON;
30
+ function FiscalYearValueFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
36
+ 'fiscalYear': !(0, runtime_1.exists)(json, 'fiscalYear') ? undefined : json['fiscalYear'],
37
+ };
38
+ }
39
+ exports.FiscalYearValueFromJSONTyped = FiscalYearValueFromJSONTyped;
40
+ function FiscalYearValueToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'value': value.value,
49
+ 'fiscalYear': value.fiscalYear,
50
+ };
51
+ }
52
+ exports.FiscalYearValueToJSON = FiscalYearValueToJSON;
@@ -0,0 +1,52 @@
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.FiscalYearValueAllOfToJSON = exports.FiscalYearValueAllOfFromJSONTyped = exports.FiscalYearValueAllOfFromJSON = exports.instanceOfFiscalYearValueAllOf = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the FiscalYearValueAllOf interface.
20
+ */
21
+ function instanceOfFiscalYearValueAllOf(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfFiscalYearValueAllOf = instanceOfFiscalYearValueAllOf;
26
+ function FiscalYearValueAllOfFromJSON(json) {
27
+ return FiscalYearValueAllOfFromJSONTyped(json, false);
28
+ }
29
+ exports.FiscalYearValueAllOfFromJSON = FiscalYearValueAllOfFromJSON;
30
+ function FiscalYearValueAllOfFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
36
+ 'fiscalYear': !(0, runtime_1.exists)(json, 'fiscalYear') ? undefined : json['fiscalYear'],
37
+ };
38
+ }
39
+ exports.FiscalYearValueAllOfFromJSONTyped = FiscalYearValueAllOfFromJSONTyped;
40
+ function FiscalYearValueAllOfToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'value': value.value,
49
+ 'fiscalYear': value.fiscalYear,
50
+ };
51
+ }
52
+ exports.FiscalYearValueAllOfToJSON = FiscalYearValueAllOfToJSON;
@@ -0,0 +1,53 @@
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.FwwTimeseriesGet200ResponseInnerToJSON = exports.FwwTimeseriesGet200ResponseInnerFromJSONTyped = exports.FwwTimeseriesGet200ResponseInnerFromJSON = exports.instanceOfFwwTimeseriesGet200ResponseInner = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const FwwTimeseriesGet200ResponseInnerMeta_1 = require("./FwwTimeseriesGet200ResponseInnerMeta");
19
+ /**
20
+ * Check if a given object implements the FwwTimeseriesGet200ResponseInner interface.
21
+ */
22
+ function instanceOfFwwTimeseriesGet200ResponseInner(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfFwwTimeseriesGet200ResponseInner = instanceOfFwwTimeseriesGet200ResponseInner;
27
+ function FwwTimeseriesGet200ResponseInnerFromJSON(json) {
28
+ return FwwTimeseriesGet200ResponseInnerFromJSONTyped(json, false);
29
+ }
30
+ exports.FwwTimeseriesGet200ResponseInnerFromJSON = FwwTimeseriesGet200ResponseInnerFromJSON;
31
+ function FwwTimeseriesGet200ResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'meta': !(0, runtime_1.exists)(json, 'meta') ? undefined : (0, FwwTimeseriesGet200ResponseInnerMeta_1.FwwTimeseriesGet200ResponseInnerMetaFromJSON)(json['meta']),
37
+ 'ts': !(0, runtime_1.exists)(json, 'ts') ? undefined : json['ts'],
38
+ };
39
+ }
40
+ exports.FwwTimeseriesGet200ResponseInnerFromJSONTyped = FwwTimeseriesGet200ResponseInnerFromJSONTyped;
41
+ function FwwTimeseriesGet200ResponseInnerToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'meta': (0, FwwTimeseriesGet200ResponseInnerMeta_1.FwwTimeseriesGet200ResponseInnerMetaToJSON)(value.meta),
50
+ 'ts': value.ts,
51
+ };
52
+ }
53
+ exports.FwwTimeseriesGet200ResponseInnerToJSON = FwwTimeseriesGet200ResponseInnerToJSON;
@@ -0,0 +1,54 @@
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.FwwTimeseriesGet200ResponseInnerMetaToJSON = exports.FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped = exports.FwwTimeseriesGet200ResponseInnerMetaFromJSON = exports.instanceOfFwwTimeseriesGet200ResponseInnerMeta = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the FwwTimeseriesGet200ResponseInnerMeta interface.
20
+ */
21
+ function instanceOfFwwTimeseriesGet200ResponseInnerMeta(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfFwwTimeseriesGet200ResponseInnerMeta = instanceOfFwwTimeseriesGet200ResponseInnerMeta;
26
+ function FwwTimeseriesGet200ResponseInnerMetaFromJSON(json) {
27
+ return FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped(json, false);
28
+ }
29
+ exports.FwwTimeseriesGet200ResponseInnerMetaFromJSON = FwwTimeseriesGet200ResponseInnerMetaFromJSON;
30
+ function FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'currency': !(0, runtime_1.exists)(json, 'currency') ? undefined : json['currency'],
38
+ };
39
+ }
40
+ exports.FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped = FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped;
41
+ function FwwTimeseriesGet200ResponseInnerMetaToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'id': value.id,
50
+ 'name': value.name,
51
+ 'currency': value.currency,
52
+ };
53
+ }
54
+ exports.FwwTimeseriesGet200ResponseInnerMetaToJSON = FwwTimeseriesGet200ResponseInnerMetaToJSON;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * MDS API
7
+ * 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.
8
+ *
9
+ * The version of the OpenAPI document: 0.4.34
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerToJSON = exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped = exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSON = void 0;
18
+ function FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSON(json) {
19
+ return FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped(json, false);
20
+ }
21
+ exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSON = FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSON;
22
+ function FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return { ...numberFromJSONTyped(json, true), ...stringFromJSONTyped(json, true) };
27
+ }
28
+ exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped = FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped;
29
+ function FwwTimeseriesGet200ResponseInnerTsInnerInnerToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ if (instanceOfnumber(value)) {
37
+ return numberToJSON(value);
38
+ }
39
+ if (instanceOfstring(value)) {
40
+ return stringToJSON(value);
41
+ }
42
+ return {};
43
+ }
44
+ exports.FwwTimeseriesGet200ResponseInnerTsInnerInnerToJSON = FwwTimeseriesGet200ResponseInnerTsInnerInnerToJSON;
@@ -0,0 +1,51 @@
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.GeneralInformationInstrumentChangesGet200ResponseToJSON = exports.GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped = exports.GeneralInformationInstrumentChangesGet200ResponseFromJSON = exports.instanceOfGeneralInformationInstrumentChangesGet200Response = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const InstrumentChangeData_1 = require("./InstrumentChangeData");
19
+ /**
20
+ * Check if a given object implements the GeneralInformationInstrumentChangesGet200Response interface.
21
+ */
22
+ function instanceOfGeneralInformationInstrumentChangesGet200Response(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfGeneralInformationInstrumentChangesGet200Response = instanceOfGeneralInformationInstrumentChangesGet200Response;
27
+ function GeneralInformationInstrumentChangesGet200ResponseFromJSON(json) {
28
+ return GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.GeneralInformationInstrumentChangesGet200ResponseFromJSON = GeneralInformationInstrumentChangesGet200ResponseFromJSON;
31
+ function GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (json['items'].map(InstrumentChangeData_1.InstrumentChangeDataFromJSON)),
37
+ };
38
+ }
39
+ exports.GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped = GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped;
40
+ function GeneralInformationInstrumentChangesGet200ResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'items': value.items === undefined ? undefined : (value.items.map(InstrumentChangeData_1.InstrumentChangeDataToJSON)),
49
+ };
50
+ }
51
+ exports.GeneralInformationInstrumentChangesGet200ResponseToJSON = GeneralInformationInstrumentChangesGet200ResponseToJSON;
@@ -0,0 +1,54 @@
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.InstrumentChangeDataToJSON = exports.InstrumentChangeDataFromJSONTyped = exports.InstrumentChangeDataFromJSON = exports.instanceOfInstrumentChangeData = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the InstrumentChangeData interface.
20
+ */
21
+ function instanceOfInstrumentChangeData(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfInstrumentChangeData = instanceOfInstrumentChangeData;
26
+ function InstrumentChangeDataFromJSON(json) {
27
+ return InstrumentChangeDataFromJSONTyped(json, false);
28
+ }
29
+ exports.InstrumentChangeDataFromJSON = InstrumentChangeDataFromJSON;
30
+ function InstrumentChangeDataFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'changedAt': !(0, runtime_1.exists)(json, 'changedAt') ? undefined : (new Date(json['changedAt'])),
36
+ 'instrumentOld': !(0, runtime_1.exists)(json, 'instrumentOld') ? undefined : json['instrumentOld'],
37
+ 'instrumentNew': !(0, runtime_1.exists)(json, 'instrumentNew') ? undefined : json['instrumentNew'],
38
+ };
39
+ }
40
+ exports.InstrumentChangeDataFromJSONTyped = InstrumentChangeDataFromJSONTyped;
41
+ function InstrumentChangeDataToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'changedAt': value.changedAt === undefined ? undefined : (value.changedAt.toISOString().substr(0, 10)),
50
+ 'instrumentOld': value.instrumentOld,
51
+ 'instrumentNew': value.instrumentNew,
52
+ };
53
+ }
54
+ exports.InstrumentChangeDataToJSON = InstrumentChangeDataToJSON;
@@ -33,7 +33,6 @@ function InstrumentsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'lastEventId': !(0, runtime_1.exists)(json, 'lastEventId') ? undefined : json['lastEventId'],
37
36
  'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (json['items'].map(MasterdataMergedSummaryWithId_1.MasterdataMergedSummaryWithIdFromJSON)),
38
37
  };
39
38
  }
@@ -46,7 +45,6 @@ function InstrumentsGet200ResponseToJSON(value) {
46
45
  return null;
47
46
  }
48
47
  return {
49
- 'lastEventId': value.lastEventId,
50
48
  'items': value.items === undefined ? undefined : (value.items.map(MasterdataMergedSummaryWithId_1.MasterdataMergedSummaryWithIdToJSON)),
51
49
  };
52
50
  }