@ariva-mds/mds 2.58.0 → 2.59.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.
@@ -118,7 +118,7 @@ class MdsConnection {
118
118
  this.tradingtimeAnalysisCache = new lrucache_1.LruCache(parameter => outer.promise({
119
119
  getTradingtimeAnalysis: {
120
120
  sourceId: parameter.sourceId,
121
- date: parameter.date
121
+ date: parameter.date ? new Date(Date.UTC(parameter.date.getFullYear(), parameter.date.getMonth(), parameter.date.getDate())) : undefined
122
122
  }
123
123
  }).then(state => (0, models_1.TradingtimeInfoReplyFromJSON)(state.dataTradingtimeAnalysis)), 3000);
124
124
  }
@@ -13,40 +13,3 @@
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;
@@ -13,111 +13,3 @@
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 WebSocketCommandGetReference_1 = require("./WebSocketCommandGetReference");
24
- const WebSocketCommandGetSource_1 = require("./WebSocketCommandGetSource");
25
- const WebSocketCommandGetTradingtime_1 = require("./WebSocketCommandGetTradingtime");
26
- const WebSocketCommandGetTradingtimeAnalysis_1 = require("./WebSocketCommandGetTradingtimeAnalysis");
27
- const WebSocketCommandHeartbeat_1 = require("./WebSocketCommandHeartbeat");
28
- const WebSocketCommandListBidAskHistory_1 = require("./WebSocketCommandListBidAskHistory");
29
- const WebSocketCommandListCharts_1 = require("./WebSocketCommandListCharts");
30
- const WebSocketCommandListInstrumentListings_1 = require("./WebSocketCommandListInstrumentListings");
31
- const WebSocketCommandListMarketstates_1 = require("./WebSocketCommandListMarketstates");
32
- const WebSocketCommandListPerformance_1 = require("./WebSocketCommandListPerformance");
33
- const WebSocketCommandListTickHistory_1 = require("./WebSocketCommandListTickHistory");
34
- const WebSocketCommandListTimeseries_1 = require("./WebSocketCommandListTimeseries");
35
- const WebSocketCommandPriority_1 = require("./WebSocketCommandPriority");
36
- const WebSocketCommandSubscribeListTopflop_1 = require("./WebSocketCommandSubscribeListTopflop");
37
- const WebSocketCommandSubscribeMarketdepth_1 = require("./WebSocketCommandSubscribeMarketdepth");
38
- const WebSocketCommandSubscribeMarketstates_1 = require("./WebSocketCommandSubscribeMarketstates");
39
- const WebSocketCommandSubscribeSourceTradeticker_1 = require("./WebSocketCommandSubscribeSourceTradeticker");
40
- const WebSocketCommandSubscribeTimeseries_1 = require("./WebSocketCommandSubscribeTimeseries");
41
- /**
42
- * Check if a given object implements the WebSocketRequest interface.
43
- */
44
- function instanceOfWebSocketRequest(value) {
45
- let isInstance = true;
46
- return isInstance;
47
- }
48
- exports.instanceOfWebSocketRequest = instanceOfWebSocketRequest;
49
- function WebSocketRequestFromJSON(json) {
50
- return WebSocketRequestFromJSONTyped(json, false);
51
- }
52
- exports.WebSocketRequestFromJSON = WebSocketRequestFromJSON;
53
- function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
54
- if ((json === undefined) || (json === null)) {
55
- return json;
56
- }
57
- return {
58
- 'requestId': !(0, runtime_1.exists)(json, 'requestId') ? undefined : json['requestId'],
59
- 'cancel': !(0, runtime_1.exists)(json, 'cancel') ? undefined : (0, WebSocketCommandCancel_1.WebSocketCommandCancelFromJSON)(json['cancel']),
60
- 'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : (0, WebSocketCommandPriority_1.WebSocketCommandPriorityFromJSON)(json['priority']),
61
- 'heartbeat': !(0, runtime_1.exists)(json, 'heartbeat') ? undefined : (0, WebSocketCommandHeartbeat_1.WebSocketCommandHeartbeatFromJSON)(json['heartbeat']),
62
- 'authenticate': !(0, runtime_1.exists)(json, 'authenticate') ? undefined : (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateFromJSON)(json['authenticate']),
63
- 'subscribeAuthentication': !(0, runtime_1.exists)(json, 'subscribeAuthentication') ? undefined : (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateFromJSON)(json['subscribeAuthentication']),
64
- 'subscribeMarketstates': !(0, runtime_1.exists)(json, 'subscribeMarketstates') ? undefined : (0, WebSocketCommandSubscribeMarketstates_1.WebSocketCommandSubscribeMarketstatesFromJSON)(json['subscribeMarketstates']),
65
- 'subscribeMarketdepth': !(0, runtime_1.exists)(json, 'subscribeMarketdepth') ? undefined : (0, WebSocketCommandSubscribeMarketdepth_1.WebSocketCommandSubscribeMarketdepthFromJSON)(json['subscribeMarketdepth']),
66
- 'listPerformance': !(0, runtime_1.exists)(json, 'listPerformance') ? undefined : (0, WebSocketCommandListPerformance_1.WebSocketCommandListPerformanceFromJSON)(json['listPerformance']),
67
- 'listBidAskHistory': !(0, runtime_1.exists)(json, 'listBidAskHistory') ? undefined : (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryFromJSON)(json['listBidAskHistory']),
68
- 'listInstrumentListings': !(0, runtime_1.exists)(json, 'listInstrumentListings') ? undefined : (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsFromJSON)(json['listInstrumentListings']),
69
- 'listTimeseries': !(0, runtime_1.exists)(json, 'listTimeseries') ? undefined : (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesFromJSON)(json['listTimeseries']),
70
- 'listCharts': !(0, runtime_1.exists)(json, 'listCharts') ? undefined : (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsFromJSON)(json['listCharts']),
71
- 'listTickHistory': !(0, runtime_1.exists)(json, 'listTickHistory') ? undefined : (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryFromJSON)(json['listTickHistory']),
72
- 'listMarketstates': !(0, runtime_1.exists)(json, 'listMarketstates') ? undefined : (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesFromJSON)(json['listMarketstates']),
73
- 'subscribeTimeseries': !(0, runtime_1.exists)(json, 'subscribeTimeseries') ? undefined : (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesFromJSON)(json['subscribeTimeseries']),
74
- 'getInstrumentMasterdata': !(0, runtime_1.exists)(json, 'getInstrumentMasterdata') ? undefined : (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataFromJSON)(json['getInstrumentMasterdata']),
75
- 'getAfuCompanyProfile': !(0, runtime_1.exists)(json, 'getAfuCompanyProfile') ? undefined : (0, WebSocketCommandGetAfuCompanyProfile_1.WebSocketCommandGetAfuCompanyProfileFromJSON)(json['getAfuCompanyProfile']),
76
- 'getFwwFundsProfile': !(0, runtime_1.exists)(json, 'getFwwFundsProfile') ? undefined : (0, WebSocketCommandGetFwwFundsProfile_1.WebSocketCommandGetFwwFundsProfileFromJSON)(json['getFwwFundsProfile']),
77
- 'getReference': !(0, runtime_1.exists)(json, 'getReference') ? undefined : (0, WebSocketCommandGetReference_1.WebSocketCommandGetReferenceFromJSON)(json['getReference']),
78
- 'getSource': !(0, runtime_1.exists)(json, 'getSource') ? undefined : (0, WebSocketCommandGetSource_1.WebSocketCommandGetSourceFromJSON)(json['getSource']),
79
- 'getTradingtime': !(0, runtime_1.exists)(json, 'getTradingtime') ? undefined : (0, WebSocketCommandGetTradingtime_1.WebSocketCommandGetTradingtimeFromJSON)(json['getTradingtime']),
80
- 'getTradingtimeAnalysis': !(0, runtime_1.exists)(json, 'getTradingtimeAnalysis') ? undefined : (0, WebSocketCommandGetTradingtimeAnalysis_1.WebSocketCommandGetTradingtimeAnalysisFromJSON)(json['getTradingtimeAnalysis']),
81
- 'subscribeSourceTradeticker': !(0, runtime_1.exists)(json, 'subscribeSourceTradeticker') ? undefined : (0, WebSocketCommandSubscribeSourceTradeticker_1.WebSocketCommandSubscribeSourceTradetickerFromJSON)(json['subscribeSourceTradeticker']),
82
- 'subscribeListTopflop': !(0, runtime_1.exists)(json, 'subscribeListTopflop') ? undefined : (0, WebSocketCommandSubscribeListTopflop_1.WebSocketCommandSubscribeListTopflopFromJSON)(json['subscribeListTopflop']),
83
- 'rateLimitStatistics': !(0, runtime_1.exists)(json, 'rateLimitStatistics') ? undefined : json['rateLimitStatistics'],
84
- };
85
- }
86
- exports.WebSocketRequestFromJSONTyped = WebSocketRequestFromJSONTyped;
87
- function WebSocketRequestToJSON(value) {
88
- if (value === undefined) {
89
- return undefined;
90
- }
91
- if (value === null) {
92
- return null;
93
- }
94
- return {
95
- 'requestId': value.requestId,
96
- 'cancel': (0, WebSocketCommandCancel_1.WebSocketCommandCancelToJSON)(value.cancel),
97
- 'priority': (0, WebSocketCommandPriority_1.WebSocketCommandPriorityToJSON)(value.priority),
98
- 'heartbeat': (0, WebSocketCommandHeartbeat_1.WebSocketCommandHeartbeatToJSON)(value.heartbeat),
99
- 'authenticate': (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateToJSON)(value.authenticate),
100
- 'subscribeAuthentication': (0, WebSocketCommandAuthenticate_1.WebSocketCommandAuthenticateToJSON)(value.subscribeAuthentication),
101
- 'subscribeMarketstates': (0, WebSocketCommandSubscribeMarketstates_1.WebSocketCommandSubscribeMarketstatesToJSON)(value.subscribeMarketstates),
102
- 'subscribeMarketdepth': (0, WebSocketCommandSubscribeMarketdepth_1.WebSocketCommandSubscribeMarketdepthToJSON)(value.subscribeMarketdepth),
103
- 'listPerformance': (0, WebSocketCommandListPerformance_1.WebSocketCommandListPerformanceToJSON)(value.listPerformance),
104
- 'listBidAskHistory': (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryToJSON)(value.listBidAskHistory),
105
- 'listInstrumentListings': (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsToJSON)(value.listInstrumentListings),
106
- 'listTimeseries': (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesToJSON)(value.listTimeseries),
107
- 'listCharts': (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsToJSON)(value.listCharts),
108
- 'listTickHistory': (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryToJSON)(value.listTickHistory),
109
- 'listMarketstates': (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesToJSON)(value.listMarketstates),
110
- 'subscribeTimeseries': (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesToJSON)(value.subscribeTimeseries),
111
- 'getInstrumentMasterdata': (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataToJSON)(value.getInstrumentMasterdata),
112
- 'getAfuCompanyProfile': (0, WebSocketCommandGetAfuCompanyProfile_1.WebSocketCommandGetAfuCompanyProfileToJSON)(value.getAfuCompanyProfile),
113
- 'getFwwFundsProfile': (0, WebSocketCommandGetFwwFundsProfile_1.WebSocketCommandGetFwwFundsProfileToJSON)(value.getFwwFundsProfile),
114
- 'getReference': (0, WebSocketCommandGetReference_1.WebSocketCommandGetReferenceToJSON)(value.getReference),
115
- 'getSource': (0, WebSocketCommandGetSource_1.WebSocketCommandGetSourceToJSON)(value.getSource),
116
- 'getTradingtime': (0, WebSocketCommandGetTradingtime_1.WebSocketCommandGetTradingtimeToJSON)(value.getTradingtime),
117
- 'getTradingtimeAnalysis': (0, WebSocketCommandGetTradingtimeAnalysis_1.WebSocketCommandGetTradingtimeAnalysisToJSON)(value.getTradingtimeAnalysis),
118
- 'subscribeSourceTradeticker': (0, WebSocketCommandSubscribeSourceTradeticker_1.WebSocketCommandSubscribeSourceTradetickerToJSON)(value.subscribeSourceTradeticker),
119
- 'subscribeListTopflop': (0, WebSocketCommandSubscribeListTopflop_1.WebSocketCommandSubscribeListTopflopToJSON)(value.subscribeListTopflop),
120
- 'rateLimitStatistics': value.rateLimitStatistics,
121
- };
122
- }
123
- exports.WebSocketRequestToJSON = WebSocketRequestToJSON;
@@ -112,7 +112,7 @@ export class MdsConnection {
112
112
  this.tradingtimeAnalysisCache = new LruCache(parameter => outer.promise({
113
113
  getTradingtimeAnalysis: {
114
114
  sourceId: parameter.sourceId,
115
- date: parameter.date
115
+ date: parameter.date ? new Date(Date.UTC(parameter.date.getFullYear(), parameter.date.getMonth(), parameter.date.getDate())) : undefined
116
116
  }
117
117
  }).then(state => TradingtimeInfoReplyFromJSON(state.dataTradingtimeAnalysis)), 3000);
118
118
  }
@@ -11,35 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
- /**
16
- * Check if a given object implements the WebSocketCommandGetTradingtimeAnalysis interface.
17
- */
18
- export function instanceOfWebSocketCommandGetTradingtimeAnalysis(value) {
19
- let isInstance = true;
20
- return isInstance;
21
- }
22
- export function WebSocketCommandGetTradingtimeAnalysisFromJSON(json) {
23
- return WebSocketCommandGetTradingtimeAnalysisFromJSONTyped(json, false);
24
- }
25
- export function WebSocketCommandGetTradingtimeAnalysisFromJSONTyped(json, ignoreDiscriminator) {
26
- if ((json === undefined) || (json === null)) {
27
- return json;
28
- }
29
- return {
30
- 'sourceId': !exists(json, 'sourceId') ? undefined : json['sourceId'],
31
- 'date': !exists(json, 'date') ? undefined : (new Date(json['date'])),
32
- };
33
- }
34
- export function WebSocketCommandGetTradingtimeAnalysisToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'sourceId': value.sourceId,
43
- 'date': value.date === undefined ? undefined : (value.date.toISOString().substr(0, 10)),
44
- };
45
- }
14
+ export {};
@@ -11,106 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
- import { WebSocketCommandAuthenticateFromJSON, WebSocketCommandAuthenticateToJSON, } from './WebSocketCommandAuthenticate';
16
- import { WebSocketCommandCancelFromJSON, WebSocketCommandCancelToJSON, } from './WebSocketCommandCancel';
17
- import { WebSocketCommandGetAfuCompanyProfileFromJSON, WebSocketCommandGetAfuCompanyProfileToJSON, } from './WebSocketCommandGetAfuCompanyProfile';
18
- import { WebSocketCommandGetFwwFundsProfileFromJSON, WebSocketCommandGetFwwFundsProfileToJSON, } from './WebSocketCommandGetFwwFundsProfile';
19
- import { WebSocketCommandGetInstrumentMasterdataFromJSON, WebSocketCommandGetInstrumentMasterdataToJSON, } from './WebSocketCommandGetInstrumentMasterdata';
20
- import { WebSocketCommandGetReferenceFromJSON, WebSocketCommandGetReferenceToJSON, } from './WebSocketCommandGetReference';
21
- import { WebSocketCommandGetSourceFromJSON, WebSocketCommandGetSourceToJSON, } from './WebSocketCommandGetSource';
22
- import { WebSocketCommandGetTradingtimeFromJSON, WebSocketCommandGetTradingtimeToJSON, } from './WebSocketCommandGetTradingtime';
23
- import { WebSocketCommandGetTradingtimeAnalysisFromJSON, WebSocketCommandGetTradingtimeAnalysisToJSON, } from './WebSocketCommandGetTradingtimeAnalysis';
24
- import { WebSocketCommandHeartbeatFromJSON, WebSocketCommandHeartbeatToJSON, } from './WebSocketCommandHeartbeat';
25
- import { WebSocketCommandListBidAskHistoryFromJSON, WebSocketCommandListBidAskHistoryToJSON, } from './WebSocketCommandListBidAskHistory';
26
- import { WebSocketCommandListChartsFromJSON, WebSocketCommandListChartsToJSON, } from './WebSocketCommandListCharts';
27
- import { WebSocketCommandListInstrumentListingsFromJSON, WebSocketCommandListInstrumentListingsToJSON, } from './WebSocketCommandListInstrumentListings';
28
- import { WebSocketCommandListMarketstatesFromJSON, WebSocketCommandListMarketstatesToJSON, } from './WebSocketCommandListMarketstates';
29
- import { WebSocketCommandListPerformanceFromJSON, WebSocketCommandListPerformanceToJSON, } from './WebSocketCommandListPerformance';
30
- import { WebSocketCommandListTickHistoryFromJSON, WebSocketCommandListTickHistoryToJSON, } from './WebSocketCommandListTickHistory';
31
- import { WebSocketCommandListTimeseriesFromJSON, WebSocketCommandListTimeseriesToJSON, } from './WebSocketCommandListTimeseries';
32
- import { WebSocketCommandPriorityFromJSON, WebSocketCommandPriorityToJSON, } from './WebSocketCommandPriority';
33
- import { WebSocketCommandSubscribeListTopflopFromJSON, WebSocketCommandSubscribeListTopflopToJSON, } from './WebSocketCommandSubscribeListTopflop';
34
- import { WebSocketCommandSubscribeMarketdepthFromJSON, WebSocketCommandSubscribeMarketdepthToJSON, } from './WebSocketCommandSubscribeMarketdepth';
35
- import { WebSocketCommandSubscribeMarketstatesFromJSON, WebSocketCommandSubscribeMarketstatesToJSON, } from './WebSocketCommandSubscribeMarketstates';
36
- import { WebSocketCommandSubscribeSourceTradetickerFromJSON, WebSocketCommandSubscribeSourceTradetickerToJSON, } from './WebSocketCommandSubscribeSourceTradeticker';
37
- import { WebSocketCommandSubscribeTimeseriesFromJSON, WebSocketCommandSubscribeTimeseriesToJSON, } from './WebSocketCommandSubscribeTimeseries';
38
- /**
39
- * Check if a given object implements the WebSocketRequest interface.
40
- */
41
- export function instanceOfWebSocketRequest(value) {
42
- let isInstance = true;
43
- return isInstance;
44
- }
45
- export function WebSocketRequestFromJSON(json) {
46
- return WebSocketRequestFromJSONTyped(json, false);
47
- }
48
- export function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
49
- if ((json === undefined) || (json === null)) {
50
- return json;
51
- }
52
- return {
53
- 'requestId': !exists(json, 'requestId') ? undefined : json['requestId'],
54
- 'cancel': !exists(json, 'cancel') ? undefined : WebSocketCommandCancelFromJSON(json['cancel']),
55
- 'priority': !exists(json, 'priority') ? undefined : WebSocketCommandPriorityFromJSON(json['priority']),
56
- 'heartbeat': !exists(json, 'heartbeat') ? undefined : WebSocketCommandHeartbeatFromJSON(json['heartbeat']),
57
- 'authenticate': !exists(json, 'authenticate') ? undefined : WebSocketCommandAuthenticateFromJSON(json['authenticate']),
58
- 'subscribeAuthentication': !exists(json, 'subscribeAuthentication') ? undefined : WebSocketCommandAuthenticateFromJSON(json['subscribeAuthentication']),
59
- 'subscribeMarketstates': !exists(json, 'subscribeMarketstates') ? undefined : WebSocketCommandSubscribeMarketstatesFromJSON(json['subscribeMarketstates']),
60
- 'subscribeMarketdepth': !exists(json, 'subscribeMarketdepth') ? undefined : WebSocketCommandSubscribeMarketdepthFromJSON(json['subscribeMarketdepth']),
61
- 'listPerformance': !exists(json, 'listPerformance') ? undefined : WebSocketCommandListPerformanceFromJSON(json['listPerformance']),
62
- 'listBidAskHistory': !exists(json, 'listBidAskHistory') ? undefined : WebSocketCommandListBidAskHistoryFromJSON(json['listBidAskHistory']),
63
- 'listInstrumentListings': !exists(json, 'listInstrumentListings') ? undefined : WebSocketCommandListInstrumentListingsFromJSON(json['listInstrumentListings']),
64
- 'listTimeseries': !exists(json, 'listTimeseries') ? undefined : WebSocketCommandListTimeseriesFromJSON(json['listTimeseries']),
65
- 'listCharts': !exists(json, 'listCharts') ? undefined : WebSocketCommandListChartsFromJSON(json['listCharts']),
66
- 'listTickHistory': !exists(json, 'listTickHistory') ? undefined : WebSocketCommandListTickHistoryFromJSON(json['listTickHistory']),
67
- 'listMarketstates': !exists(json, 'listMarketstates') ? undefined : WebSocketCommandListMarketstatesFromJSON(json['listMarketstates']),
68
- 'subscribeTimeseries': !exists(json, 'subscribeTimeseries') ? undefined : WebSocketCommandSubscribeTimeseriesFromJSON(json['subscribeTimeseries']),
69
- 'getInstrumentMasterdata': !exists(json, 'getInstrumentMasterdata') ? undefined : WebSocketCommandGetInstrumentMasterdataFromJSON(json['getInstrumentMasterdata']),
70
- 'getAfuCompanyProfile': !exists(json, 'getAfuCompanyProfile') ? undefined : WebSocketCommandGetAfuCompanyProfileFromJSON(json['getAfuCompanyProfile']),
71
- 'getFwwFundsProfile': !exists(json, 'getFwwFundsProfile') ? undefined : WebSocketCommandGetFwwFundsProfileFromJSON(json['getFwwFundsProfile']),
72
- 'getReference': !exists(json, 'getReference') ? undefined : WebSocketCommandGetReferenceFromJSON(json['getReference']),
73
- 'getSource': !exists(json, 'getSource') ? undefined : WebSocketCommandGetSourceFromJSON(json['getSource']),
74
- 'getTradingtime': !exists(json, 'getTradingtime') ? undefined : WebSocketCommandGetTradingtimeFromJSON(json['getTradingtime']),
75
- 'getTradingtimeAnalysis': !exists(json, 'getTradingtimeAnalysis') ? undefined : WebSocketCommandGetTradingtimeAnalysisFromJSON(json['getTradingtimeAnalysis']),
76
- 'subscribeSourceTradeticker': !exists(json, 'subscribeSourceTradeticker') ? undefined : WebSocketCommandSubscribeSourceTradetickerFromJSON(json['subscribeSourceTradeticker']),
77
- 'subscribeListTopflop': !exists(json, 'subscribeListTopflop') ? undefined : WebSocketCommandSubscribeListTopflopFromJSON(json['subscribeListTopflop']),
78
- 'rateLimitStatistics': !exists(json, 'rateLimitStatistics') ? undefined : json['rateLimitStatistics'],
79
- };
80
- }
81
- export function WebSocketRequestToJSON(value) {
82
- if (value === undefined) {
83
- return undefined;
84
- }
85
- if (value === null) {
86
- return null;
87
- }
88
- return {
89
- 'requestId': value.requestId,
90
- 'cancel': WebSocketCommandCancelToJSON(value.cancel),
91
- 'priority': WebSocketCommandPriorityToJSON(value.priority),
92
- 'heartbeat': WebSocketCommandHeartbeatToJSON(value.heartbeat),
93
- 'authenticate': WebSocketCommandAuthenticateToJSON(value.authenticate),
94
- 'subscribeAuthentication': WebSocketCommandAuthenticateToJSON(value.subscribeAuthentication),
95
- 'subscribeMarketstates': WebSocketCommandSubscribeMarketstatesToJSON(value.subscribeMarketstates),
96
- 'subscribeMarketdepth': WebSocketCommandSubscribeMarketdepthToJSON(value.subscribeMarketdepth),
97
- 'listPerformance': WebSocketCommandListPerformanceToJSON(value.listPerformance),
98
- 'listBidAskHistory': WebSocketCommandListBidAskHistoryToJSON(value.listBidAskHistory),
99
- 'listInstrumentListings': WebSocketCommandListInstrumentListingsToJSON(value.listInstrumentListings),
100
- 'listTimeseries': WebSocketCommandListTimeseriesToJSON(value.listTimeseries),
101
- 'listCharts': WebSocketCommandListChartsToJSON(value.listCharts),
102
- 'listTickHistory': WebSocketCommandListTickHistoryToJSON(value.listTickHistory),
103
- 'listMarketstates': WebSocketCommandListMarketstatesToJSON(value.listMarketstates),
104
- 'subscribeTimeseries': WebSocketCommandSubscribeTimeseriesToJSON(value.subscribeTimeseries),
105
- 'getInstrumentMasterdata': WebSocketCommandGetInstrumentMasterdataToJSON(value.getInstrumentMasterdata),
106
- 'getAfuCompanyProfile': WebSocketCommandGetAfuCompanyProfileToJSON(value.getAfuCompanyProfile),
107
- 'getFwwFundsProfile': WebSocketCommandGetFwwFundsProfileToJSON(value.getFwwFundsProfile),
108
- 'getReference': WebSocketCommandGetReferenceToJSON(value.getReference),
109
- 'getSource': WebSocketCommandGetSourceToJSON(value.getSource),
110
- 'getTradingtime': WebSocketCommandGetTradingtimeToJSON(value.getTradingtime),
111
- 'getTradingtimeAnalysis': WebSocketCommandGetTradingtimeAnalysisToJSON(value.getTradingtimeAnalysis),
112
- 'subscribeSourceTradeticker': WebSocketCommandSubscribeSourceTradetickerToJSON(value.subscribeSourceTradeticker),
113
- 'subscribeListTopflop': WebSocketCommandSubscribeListTopflopToJSON(value.subscribeListTopflop),
114
- 'rateLimitStatistics': value.rateLimitStatistics,
115
- };
116
- }
14
+ export {};
@@ -28,11 +28,4 @@ export interface WebSocketCommandGetTradingtimeAnalysis {
28
28
  */
29
29
  date?: Date;
30
30
  }
31
- /**
32
- * Check if a given object implements the WebSocketCommandGetTradingtimeAnalysis interface.
33
- */
34
- export declare function instanceOfWebSocketCommandGetTradingtimeAnalysis(value: object): boolean;
35
- export declare function WebSocketCommandGetTradingtimeAnalysisFromJSON(json: any): WebSocketCommandGetTradingtimeAnalysis;
36
- export declare function WebSocketCommandGetTradingtimeAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSocketCommandGetTradingtimeAnalysis;
37
- export declare function WebSocketCommandGetTradingtimeAnalysisToJSON(value?: WebSocketCommandGetTradingtimeAnalysis | null): any;
38
31
  //# sourceMappingURL=WebSocketCommandGetTradingtimeAnalysis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebSocketCommandGetTradingtimeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/models/WebSocketCommandGetTradingtimeAnalysis.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIvF;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CASnJ;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,GAAG,GAAG,CAYvH"}
1
+ {"version":3,"file":"WebSocketCommandGetTradingtimeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/models/WebSocketCommandGetTradingtimeAnalysis.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACf"}
@@ -195,11 +195,4 @@ export interface WebSocketRequest {
195
195
  */
196
196
  rateLimitStatistics?: object;
197
197
  }
198
- /**
199
- * Check if a given object implements the WebSocketRequest interface.
200
- */
201
- export declare function instanceOfWebSocketRequest(value: object): boolean;
202
- export declare function WebSocketRequestFromJSON(json: any): WebSocketRequest;
203
- export declare function WebSocketRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSocketRequest;
204
- export declare function WebSocketRequestToJSON(value?: WebSocketRequest | null): any;
205
198
  //# sourceMappingURL=WebSocketRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebSocketRequest.d.ts","sourceRoot":"","sources":["../../../src/models/WebSocketRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAMnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMvE,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAMnG,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAM/F,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAMzG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAMnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAM7E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAMvF,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAMvG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAM7E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAM7F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAM/E,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAMvG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAM3F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAMzF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAMzF,OAAO,KAAK,EAAE,8BAA8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C,EAAE,sCAAsC,CAAC;IAChE;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,0CAA0C,CAAC;IACxE;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,oCAAoC,CAAC;IAC5D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ariva-mds/mds",
3
- "version": "2.58.0",
3
+ "version": "2.59.0",
4
4
  "description": "Stock market data",
5
5
  "license": "Commercial, contact sales@ariva.de",
6
6
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  "reconnecting-websocket": "^4.4.0",
31
31
  "rxjs": "^7.5.0",
32
32
  "typescript": "^5.1.6",
33
- "ws": "^8.12.0"
33
+ "ws": "^8.18.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@openapitools/openapi-generator-cli": "^2.13.12",