@orbis-systems/orbis-api-clients 0.6.7 → 0.6.9

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 (41) hide show
  1. package/dist/aesmidas/index.d.ts +1114 -1105
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -2806
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -2811
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +94 -93
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1888
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1893
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/index.esm.js +1 -257
  14. package/dist/index.esm.js.map +1 -1
  15. package/dist/index.js +1 -280
  16. package/dist/index.js.map +1 -1
  17. package/dist/insight/index.d.ts +326 -325
  18. package/dist/insight/index.d.ts.map +1 -1
  19. package/dist/insight/index.esm.js +1 -3753
  20. package/dist/insight/index.esm.js.map +1 -1
  21. package/dist/insight/index.js +1 -3758
  22. package/dist/insight/index.js.map +1 -1
  23. package/dist/middleware/index.d.ts +34 -34
  24. package/dist/middleware/index.d.ts.map +1 -1
  25. package/dist/middleware/index.esm.js +1 -1066
  26. package/dist/middleware/index.esm.js.map +1 -1
  27. package/dist/middleware/index.js +1 -1071
  28. package/dist/middleware/index.js.map +1 -1
  29. package/dist/orbis/index.d.ts +1236 -1236
  30. package/dist/orbis/index.d.ts.map +1 -1
  31. package/dist/orbis/index.esm.js +1 -7009
  32. package/dist/orbis/index.esm.js.map +1 -1
  33. package/dist/orbis/index.js +1 -7014
  34. package/dist/orbis/index.js.map +1 -1
  35. package/dist/uma/index.d.ts +290 -290
  36. package/dist/uma/index.d.ts.map +1 -1
  37. package/dist/uma/index.esm.js +1 -3993
  38. package/dist/uma/index.esm.js.map +1 -1
  39. package/dist/uma/index.js +1 -3998
  40. package/dist/uma/index.js.map +1 -1
  41. package/package.json +9 -1
@@ -1,2812 +1,2 @@
1
- var $5Loj3$autobind = require("auto-bind");
2
- var $5Loj3$asyncmutex = require("async-mutex");
3
- var $5Loj3$consola = require("consola");
4
- var $5Loj3$datefns = require("date-fns");
5
- var $5Loj3$jwtdecode = require("jwt-decode");
6
- var $5Loj3$axios = require("axios");
7
- var $5Loj3$axiosbetterstacktrace = require("axios-better-stacktrace");
8
- var $5Loj3$lodash = require("lodash");
9
-
10
-
11
- function $parcel$exportWildcard(dest, source) {
12
- Object.keys(source).forEach(function(key) {
13
- if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
14
- return;
15
- }
16
-
17
- Object.defineProperty(dest, key, {
18
- enumerable: true,
19
- get: function get() {
20
- return source[key];
21
- }
22
- });
23
- });
24
-
25
- return dest;
26
- }
27
-
28
- function $parcel$export(e, n, v, s) {
29
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
30
- }
31
-
32
- function $parcel$interopDefault(a) {
33
- return a && a.__esModule ? a.default : a;
34
- }
35
- var $5dea8508f40b2be4$exports = {};
36
-
37
- $parcel$export($5dea8508f40b2be4$exports, "AesMidasApi", () => $5dea8508f40b2be4$export$fdc699bad85078d9);
38
-
39
- class $780091c10287ceed$export$3ad201792064a82b {
40
- // request: ApiClient['request'];
41
- // get: ApiClient['get'];
42
- // delete: ApiClient['delete'];
43
- // head: ApiClient['head'];
44
- // options: ApiClient['options'];
45
- // post: ApiClient['post'];
46
- // put: ApiClient['put'];
47
- // patch: ApiClient['patch'];
48
- constructor(apiClient){
49
- this.apiClient = apiClient;
50
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
51
- // this.request = this.client.request;
52
- // this.get = this.client.get;
53
- // this.delete = this.client.delete;
54
- // this.head = this.client.head;
55
- // this.options = this.client.options;
56
- // this.post = this.client.post;
57
- // this.put = this.client.put;
58
- // this.patch = this.client.patch;
59
- // this.get = this.client.get;
60
- }
61
- getApiClient() {
62
- return this.apiClient;
63
- }
64
- }
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
- var $3621850f1f570615$export$e2e108cbe2e4f865 = /*#__PURE__*/ function(ContentType) {
76
- ContentType["Json"] = "application/json";
77
- ContentType["FormData"] = "multipart/form-data";
78
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
79
- ContentType["Text"] = "text/plain";
80
- return ContentType;
81
- }({});
82
- class $3621850f1f570615$export$4f22f74eddb7716a {
83
- constructor(config){
84
- this.config = config;
85
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
86
- this.storage = config.storage ?? sessionStorage;
87
- this.axiosInstance = (0, ($parcel$interopDefault($5Loj3$axios))).create({
88
- baseURL: config.baseUrl,
89
- withCredentials: config.withCredentials,
90
- headers: {
91
- 'Content-Type': 'application/json',
92
- ...config.defaultHeaders
93
- }
94
- });
95
- (0, ($parcel$interopDefault($5Loj3$axiosbetterstacktrace)))(this.axiosInstance);
96
- }
97
- stringifyFormItem(formItem) {
98
- if (typeof formItem === 'object' && formItem !== null) return JSON.stringify(formItem);
99
- else return `${formItem}`;
100
- }
101
- createFormData(input) {
102
- if (input instanceof FormData) return input;
103
- return Object.keys(input).reduce((formData, key)=>{
104
- const property = input[key];
105
- const propertyContent = property instanceof Array ? property : [
106
- property
107
- ];
108
- for (const formItem of propertyContent){
109
- const isFileType = formItem instanceof Blob || formItem instanceof File;
110
- formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
111
- }
112
- return formData;
113
- }, new FormData());
114
- }
115
- async request(requestConfig) {
116
- const { contentType: contentType, data: data } = requestConfig;
117
- if (!(0, $5Loj3$lodash.isNil)(data)) {
118
- if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
119
- if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
120
- }
121
- const mergedConfig = (0, $5Loj3$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
122
- headers: {
123
- 'Content-Type': contentType
124
- }
125
- } : {}, requestConfig);
126
- try {
127
- const { data: data, status: status, statusText: statusText } = await this.axiosInstance.request(mergedConfig);
128
- return {
129
- success: true,
130
- data: data,
131
- status: status,
132
- statusText: statusText
133
- };
134
- } catch (error) {
135
- if (!this.config.handleError && !requestConfig.handleError) throw error;
136
- const result = {
137
- success: false,
138
- status: -1,
139
- statusText: String(error),
140
- error: error
141
- };
142
- if ((0, $5Loj3$axios.isAxiosError)(error)) {
143
- this.config.onAxiosError?.(error);
144
- result.data = error.response?.data;
145
- result.status = error.response?.status ?? result.status;
146
- result.statusText = error.response?.statusText ?? result.statusText;
147
- }
148
- this.config.onError?.(error);
149
- return result;
150
- }
151
- }
152
- get(url, config) {
153
- return this.request({
154
- ...config,
155
- method: 'GET',
156
- url: url
157
- });
158
- }
159
- delete(url, config) {
160
- return this.request({
161
- ...config,
162
- method: 'DELETE',
163
- url: url
164
- });
165
- }
166
- head(url, config) {
167
- return this.request({
168
- ...config,
169
- method: 'HEAD',
170
- url: url
171
- });
172
- }
173
- options(url, config) {
174
- return this.request({
175
- ...config,
176
- method: 'OPTIONS',
177
- url: url
178
- });
179
- }
180
- post(url, data, config) {
181
- return this.request({
182
- ...config,
183
- method: 'POST',
184
- url: url,
185
- data: data
186
- });
187
- }
188
- put(url, data, config) {
189
- return this.request({
190
- ...config,
191
- method: 'PUT',
192
- url: url,
193
- data: data
194
- });
195
- }
196
- patch(url, data, config) {
197
- return this.request({
198
- ...config,
199
- method: 'PATCH',
200
- url: url,
201
- data: data
202
- });
203
- }
204
- getAxios() {
205
- return this.axiosInstance;
206
- }
207
- setAuthData(data) {
208
- this.storage.setItem(this.config.authDataStorageKey || 'auth', JSON.stringify(data));
209
- }
210
- getAuthData() {
211
- const data = this.storage.getItem(this.config.authDataStorageKey || 'auth');
212
- return data ? JSON.parse(data) : null;
213
- }
214
- getConfig() {
215
- return this.config;
216
- }
217
- }
218
-
219
-
220
- class $538ed1203bac2e79$export$f280b732bbc5934b extends (0, $3621850f1f570615$export$4f22f74eddb7716a) {
221
- constructor(config){
222
- super(config), this.config = config, this.lock = new (0, $5Loj3$asyncmutex.Mutex)();
223
- }
224
- getConfig() {
225
- return super.getConfig();
226
- }
227
- setRenewTokenCallback(renewTokenCallback) {
228
- this.renewTokenCallback = renewTokenCallback;
229
- }
230
- async prepareAuthRequestConfig() {
231
- if (this.config.withCredentials) return {};
232
- let { accessToken: accessToken } = this.getAuthData() || {};
233
- if (!accessToken) {
234
- (0, $5Loj3$consola.consola).warn('No access token found. Please set auth data after authorization.');
235
- return {};
236
- }
237
- if (this.config.autoRenewToken !== false && this.isTokenExpired(accessToken)) try {
238
- await this.lock.runExclusive(async ()=>{
239
- if (this.config.debug) (0, $5Loj3$consola.consola).debug("Token expired. Renewing\u2026");
240
- accessToken = (await this.renewToken()).accessToken;
241
- this.lock.cancel();
242
- });
243
- } catch (error) {
244
- if (error === (0, $5Loj3$asyncmutex.E_CANCELED)) accessToken = this.getAuthData()?.accessToken;
245
- else throw error;
246
- }
247
- return {
248
- headers: {
249
- Authorization: `${this.config.authSchema ?? 'Bearer'} ${accessToken}`
250
- }
251
- };
252
- }
253
- isTokenExpired(token) {
254
- const payload = (0, $5Loj3$jwtdecode.jwtDecode)(token);
255
- if (!payload.exp) return true;
256
- return (0, $5Loj3$datefns.isBefore)((0, $5Loj3$datefns.subMinutes)(payload.exp * 1000, 1), Date.now());
257
- }
258
- async renewToken() {
259
- const callback = this.config.onRenewToken ?? this.renewTokenCallback;
260
- if (!callback) throw new Error('No renew token callback provided');
261
- const authData = await callback();
262
- this.setAuthData(authData);
263
- return authData;
264
- }
265
- }
266
-
267
-
268
- var $647b587a8581f150$exports = {};
269
- var $afd429a073cafb57$exports = {};
270
- /* eslint-disable */ /* tslint:disable */ /*
271
- * ---------------------------------------------------------------
272
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
273
- * ## ##
274
- * ## AUTHOR: acacode ##
275
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
276
- * ---------------------------------------------------------------
277
- */
278
-
279
- var $94a67bf1856cdfc2$exports = {};
280
-
281
- $parcel$export($94a67bf1856cdfc2$exports, "DataSource", () => $94a67bf1856cdfc2$export$accd73d198d77d2f);
282
- /* eslint-disable */ /* tslint:disable */ /*
283
- * ---------------------------------------------------------------
284
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
285
- * ## ##
286
- * ## AUTHOR: acacode ##
287
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
288
- * ---------------------------------------------------------------
289
- */
290
- /* eslint-disable */ /* tslint:disable */ /*
291
- * ---------------------------------------------------------------
292
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
293
- * ## ##
294
- * ## AUTHOR: acacode ##
295
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
296
- * ---------------------------------------------------------------
297
- */
298
-
299
-
300
- class $94a67bf1856cdfc2$export$accd73d198d77d2f {
301
- constructor(apiClient){
302
- this.apiClient = apiClient;
303
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
304
- }
305
- /**
306
- * @description All parameters are optional
307
- * @tags DataSource
308
- * @name GetDataSourceList
309
- * @summary Query all DataSources in the whole system with optional filters - All users - available in Microservice, POST with pagination and sort
310
- * @request GET:/api/datasource/data-source-list
311
- * @secure
312
- */ getDataSourceList(query, config) {
313
- return this.apiClient.request({
314
- ...config,
315
- url: `/datasource/data-source-list`,
316
- method: 'GET',
317
- params: query,
318
- secure: true,
319
- responseType: 'json'
320
- });
321
- }
322
- /**
323
- * @tags DataSource
324
- * @name GetDataSource
325
- * @summary Query a specific DataSource by unique DataSource Name - All users - available in Microservice
326
- * @request GET:/api/datasource/data-source
327
- * @secure
328
- */ getDataSource(query, config) {
329
- return this.apiClient.request({
330
- ...config,
331
- url: `/datasource/data-source`,
332
- method: 'GET',
333
- params: query,
334
- secure: true,
335
- responseType: 'json'
336
- });
337
- }
338
- /**
339
- * @description Create a new DataSource with/without an existing Entitlement
340
- * @tags DataSource
341
- * @name PostDataSource
342
- * @summary Create a new DataSource - Super admin - available in Microservice
343
- * @request POST:/api/datasource/data-source
344
- * @secure
345
- */ postDataSource(data, config) {
346
- return this.apiClient.request({
347
- ...config,
348
- url: `/datasource/data-source`,
349
- method: 'POST',
350
- data: data,
351
- secure: true,
352
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
353
- responseType: 'json'
354
- });
355
- }
356
- /**
357
- * @description If modification is Entitlement related, server will unsign old entitlement in firms and users
358
- * @tags DataSource
359
- * @name PutDataSource
360
- * @summary Update an existing DataSource - Super admin - available in Microservice
361
- * @request PUT:/api/datasource/data-source
362
- * @secure
363
- */ putDataSource(data, query, config) {
364
- return this.apiClient.request({
365
- ...config,
366
- url: `/datasource/data-source`,
367
- method: 'PUT',
368
- params: query,
369
- data: data,
370
- secure: true,
371
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
372
- });
373
- }
374
- /**
375
- * @description !Caution! It will remove all related data setting and unsign all related entitlement in firms and users
376
- * @tags DataSource
377
- * @name DeleteDataSource
378
- * @summary Delete an existing DataSource - Super admin - available in Microservice
379
- * @request DELETE:/api/datasource/data-source
380
- * @secure
381
- */ deleteDataSource(query, config) {
382
- return this.apiClient.request({
383
- ...config,
384
- url: `/datasource/data-source`,
385
- method: 'DELETE',
386
- params: query,
387
- secure: true
388
- });
389
- }
390
- /**
391
- * @tags DataSource
392
- * @name GetDataSourceBitMapping
393
- * @summary Get All DataSource Bit Mappings - All users - available in Microservice
394
- * @request GET:/api/datasource/data-source-bit-mapping
395
- * @secure
396
- */ getDataSourceBitMapping(config) {
397
- return this.apiClient.request({
398
- ...config,
399
- url: `/datasource/data-source-bit-mapping`,
400
- method: 'GET',
401
- secure: true
402
- });
403
- }
404
- /**
405
- * @tags DataSource
406
- * @name GetDataSourceTallyCount
407
- * @summary For ViewTrade admin to generate data source tally report - Super admin - available in Microservice
408
- * @request GET:/api/datasource/data-source-tally-count
409
- * @secure
410
- */ getDataSourceTallyCount(config) {
411
- return this.apiClient.request({
412
- ...config,
413
- url: `/datasource/data-source-tally-count`,
414
- method: 'GET',
415
- secure: true,
416
- responseType: 'json'
417
- });
418
- }
419
- /**
420
- * @tags DataSource
421
- * @name PostDataSourceTallyReport
422
- * @summary For ViewTrade admin to generate data source tally report with Pagination and Sort - Super admin - available in Microservice
423
- * @request POST:/api/datasource/data-source-tally-report
424
- * @secure
425
- */ postDataSourceTallyReport(data, query, config) {
426
- return this.apiClient.request({
427
- ...config,
428
- url: `/datasource/data-source-tally-report`,
429
- method: 'POST',
430
- params: query,
431
- data: data,
432
- secure: true,
433
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
434
- responseType: 'json'
435
- });
436
- }
437
- }
438
-
439
-
440
- var $0aaebef586764cdc$exports = {};
441
-
442
- $parcel$export($0aaebef586764cdc$exports, "Entitlement", () => $0aaebef586764cdc$export$7b20d168ba04011b);
443
- /* eslint-disable */ /* tslint:disable */ /*
444
- * ---------------------------------------------------------------
445
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
446
- * ## ##
447
- * ## AUTHOR: acacode ##
448
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
449
- * ---------------------------------------------------------------
450
- */
451
-
452
- class $0aaebef586764cdc$export$7b20d168ba04011b {
453
- constructor(apiClient){
454
- this.apiClient = apiClient;
455
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
456
- }
457
- /**
458
- * @description bitwise in Datasource: 1 UTP, 2 CTA, 3 CBOE1, 4 OPRA, 5 DJI, 6 SP500, 7 CAN, 8 SNAPSHOT
459
- * @tags Entitlement
460
- * @name GetEntitlementList
461
- * @summary Query all available Entitlements(agreements) in the system - All users - available in Microservice, POST with pagination and sort
462
- * @request GET:/api/entitlement/entitlement-list
463
- * @secure
464
- */ getEntitlementList(query, config) {
465
- return this.apiClient.request({
466
- ...config,
467
- url: `/entitlement/entitlement-list`,
468
- method: 'GET',
469
- params: query,
470
- secure: true,
471
- responseType: 'json'
472
- });
473
- }
474
- /**
475
- * @tags Entitlement
476
- * @name GetEntitlement
477
- * @summary Query a specific Entitlement by unique EntitlementName - All users - available in Microservice
478
- * @request GET:/api/entitlement/entitlement
479
- * @secure
480
- */ getEntitlement(query, config) {
481
- return this.apiClient.request({
482
- ...config,
483
- url: `/entitlement/entitlement`,
484
- method: 'GET',
485
- params: query,
486
- secure: true,
487
- responseType: 'json'
488
- });
489
- }
490
- /**
491
- * @description Files can be uploaded along with entitlement. File ids can be left blank, server will generate and update file ids to the entitlement.
492
- * @tags Entitlement
493
- * @name PostEntitlement
494
- * @summary Create a new Entitlement(Agreement) - Super admin - available in Microservice
495
- * @request POST:/api/entitlement/entitlement
496
- * @secure
497
- */ postEntitlement(data, config) {
498
- return this.apiClient.request({
499
- ...config,
500
- url: `/entitlement/entitlement`,
501
- method: 'POST',
502
- data: data,
503
- secure: true,
504
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
505
- responseType: 'json'
506
- });
507
- }
508
- /**
509
- * @tags Entitlement
510
- * @name PutEntitlement
511
- * @summary Update an existing Entitlement - Super admin - available in Microservice
512
- * @request PUT:/api/entitlement/entitlement
513
- * @secure
514
- */ putEntitlement(data, query, config) {
515
- return this.apiClient.request({
516
- ...config,
517
- url: `/entitlement/entitlement`,
518
- method: 'PUT',
519
- params: query,
520
- data: data,
521
- secure: true,
522
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
523
- });
524
- }
525
- /**
526
- * @description If an entitlement is being used in a datasource, it cannot be deleted.
527
- * @tags Entitlement
528
- * @name DeleteEntitlement
529
- * @summary Delete an existing Entitlement - Super admin - available in Microservice
530
- * @request DELETE:/api/entitlement/entitlement
531
- * @secure
532
- */ deleteEntitlement(query, config) {
533
- return this.apiClient.request({
534
- ...config,
535
- url: `/entitlement/entitlement`,
536
- method: 'DELETE',
537
- params: query,
538
- secure: true
539
- });
540
- }
541
- /**
542
- * @tags Entitlement
543
- * @name GetUserEntitlement
544
- * @summary Query a specific UserEntitlement by userid and eneitlement name - End user itself, or firm manager, or super admin - available in Microservice
545
- * @request GET:/api/entitlement/user-entitlement
546
- * @secure
547
- */ getUserEntitlement(query, config) {
548
- return this.apiClient.request({
549
- ...config,
550
- url: `/entitlement/user-entitlement`,
551
- method: 'GET',
552
- params: query,
553
- secure: true,
554
- responseType: 'json'
555
- });
556
- }
557
- /**
558
- * @tags Entitlement
559
- * @name GetUserEntitlementList
560
- * @summary Query all UserEntitlements for a specific user - End user itself, or firm manager, or super admin - available in Microservice, POST with pagination and sort
561
- * @request GET:/api/entitlement/user-entitlement-list
562
- * @secure
563
- */ getUserEntitlementList(query, config) {
564
- return this.apiClient.request({
565
- ...config,
566
- url: `/entitlement/user-entitlement-list`,
567
- method: 'GET',
568
- params: query,
569
- secure: true,
570
- responseType: 'json'
571
- });
572
- }
573
- /**
574
- * @tags Entitlement
575
- * @name GetEntitlementUserList
576
- * @summary Query all UserEntitlements for a specific Entitlement - Super admin - available in Microservice, POST with pagination and sort
577
- * @request GET:/api/entitlement/entitlement-user-list
578
- * @secure
579
- */ getEntitlementUserList(query, config) {
580
- return this.apiClient.request({
581
- ...config,
582
- url: `/entitlement/entitlement-user-list`,
583
- method: 'GET',
584
- params: query,
585
- secure: true,
586
- responseType: 'json'
587
- });
588
- }
589
- /**
590
- * @tags Entitlement
591
- * @name GetUserEntitlementHistory
592
- * @summary Query history for a UserEntitlement - Super admin - available in Microservice, POST with pagination and sort
593
- * @request GET:/api/entitlement/user-entitlement-history
594
- * @secure
595
- */ getUserEntitlementHistory(query, config) {
596
- return this.apiClient.request({
597
- ...config,
598
- url: `/entitlement/user-entitlement-history`,
599
- method: 'GET',
600
- params: query,
601
- secure: true,
602
- responseType: 'json'
603
- });
604
- }
605
- /**
606
- * @description Create a new UserEntitlement if not existing previously. Update UserEntitlement if already exists.
607
- * @tags Entitlement
608
- * @name PutSignEntitlement
609
- * @summary Sign a UserEntitlement - All users - available in Microservice
610
- * @request PUT:/api/entitlement/sign-entitlement
611
- * @secure
612
- */ putSignEntitlement(data, config) {
613
- return this.apiClient.request({
614
- ...config,
615
- url: `/entitlement/sign-entitlement`,
616
- method: 'PUT',
617
- data: data,
618
- secure: true,
619
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
620
- });
621
- }
622
- /**
623
- * @tags Entitlement
624
- * @name PutUnsignEntitlement
625
- * @summary Unsign a UserEntitlement - End user itself, or firm manager, or super admin - available in Microservice
626
- * @request PUT:/api/entitlement/unsign-entitlement
627
- * @secure
628
- */ putUnsignEntitlement(query, config) {
629
- return this.apiClient.request({
630
- ...config,
631
- url: `/entitlement/unsign-entitlement`,
632
- method: 'PUT',
633
- params: query,
634
- secure: true
635
- });
636
- }
637
- /**
638
- * @tags Entitlement
639
- * @name GetContractsCount
640
- * @summary For ViewTrade admin to Get contract counts for a specific firm and entitlement - Super admin - available in Microservice
641
- * @request GET:/api/entitlement/contracts-count
642
- * @secure
643
- */ getContractsCount(query, config) {
644
- return this.apiClient.request({
645
- ...config,
646
- url: `/entitlement/contracts-count`,
647
- method: 'GET',
648
- params: query,
649
- secure: true,
650
- responseType: 'json'
651
- });
652
- }
653
- /**
654
- * @tags Entitlement
655
- * @name PostContractsReport
656
- * @summary For ViewTrade admin to generate contract counts report for a specific firm and entitlement with paginition and sort - Super admin - available in Microservice
657
- * @request POST:/api/entitlement/contracts-report
658
- * @secure
659
- */ postContractsReport(data, query, config) {
660
- return this.apiClient.request({
661
- ...config,
662
- url: `/entitlement/contracts-report`,
663
- method: 'POST',
664
- params: query,
665
- data: data,
666
- secure: true,
667
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
668
- responseType: 'json'
669
- });
670
- }
671
- /**
672
- * @tags Entitlement
673
- * @name GetFirmEntitlement
674
- * @summary Query a specific FirmEntitlement - Firm manager, or super admin - available in Microservice
675
- * @request GET:/api/entitlement/firm-entitlement
676
- * @secure
677
- */ getFirmEntitlement(query, config) {
678
- return this.apiClient.request({
679
- ...config,
680
- url: `/entitlement/firm-entitlement`,
681
- method: 'GET',
682
- params: query,
683
- secure: true,
684
- responseType: 'json'
685
- });
686
- }
687
- /**
688
- * @tags Entitlement
689
- * @name PostFirmEntitlement
690
- * @summary Create a new FirmEntitlement - Super admin - available in Microservice
691
- * @request POST:/api/entitlement/firm-entitlement
692
- * @secure
693
- */ postFirmEntitlement(data, config) {
694
- return this.apiClient.request({
695
- ...config,
696
- url: `/entitlement/firm-entitlement`,
697
- method: 'POST',
698
- data: data,
699
- secure: true,
700
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
701
- responseType: 'json'
702
- });
703
- }
704
- /**
705
- * @description Firm must have relevant data setting if need to active a FirmEntitlement./n!Caution! If de-active a FirmEntitlement, it will unsign all UserEntitlements in this firm for the relevant entitlement.
706
- * @tags Entitlement
707
- * @name PutFirmEntitlement
708
- * @summary Upadte an existing FirmEntitlement - Super admin - available in Microservice
709
- * @request PUT:/api/entitlement/firm-entitlement
710
- * @secure
711
- */ putFirmEntitlement(data, query, config) {
712
- return this.apiClient.request({
713
- ...config,
714
- url: `/entitlement/firm-entitlement`,
715
- method: 'PUT',
716
- params: query,
717
- data: data,
718
- secure: true,
719
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
720
- });
721
- }
722
- /**
723
- * @description !Caution! This action will unsign all UserEntitlements in this firm for the relevant entitlement.
724
- * @tags Entitlement
725
- * @name DeleteFirmEntitlement
726
- * @summary Delete an existing FirmEntitlement - Super admin - available in Microservice
727
- * @request DELETE:/api/entitlement/firm-entitlement
728
- * @secure
729
- */ deleteFirmEntitlement(query, config) {
730
- return this.apiClient.request({
731
- ...config,
732
- url: `/entitlement/firm-entitlement`,
733
- method: 'DELETE',
734
- params: query,
735
- secure: true
736
- });
737
- }
738
- /**
739
- * @tags Entitlement
740
- * @name GetFirmEntitlementList
741
- * @summary Query all FirmEntitlements for a specific firm - Firm manager, or super admin - available in Microservice, POST with pagination and sort
742
- * @request GET:/api/entitlement/firm-entitlement-list
743
- * @secure
744
- */ getFirmEntitlementList(query, config) {
745
- return this.apiClient.request({
746
- ...config,
747
- url: `/entitlement/firm-entitlement-list`,
748
- method: 'GET',
749
- params: query,
750
- secure: true,
751
- responseType: 'json'
752
- });
753
- }
754
- /**
755
- * @tags Entitlement
756
- * @name GetEntitlementFirmList
757
- * @summary Query all FirmEntitlements for a specific Entitlement - Super admin - available in Microservice, POST with pagination and sort
758
- * @request GET:/api/entitlement/entitlement-firm-list
759
- * @secure
760
- */ getEntitlementFirmList(query, config) {
761
- return this.apiClient.request({
762
- ...config,
763
- url: `/entitlement/entitlement-firm-list`,
764
- method: 'GET',
765
- params: query,
766
- secure: true,
767
- responseType: 'json'
768
- });
769
- }
770
- /**
771
- * @tags Entitlement
772
- * @name GetFirmEntitlementHistory
773
- * @summary Query history of a specific FirmEntitlement - Super admin - available in Microservice, POST with pagination and sort
774
- * @request GET:/api/entitlement/firm-entitlement-history
775
- * @secure
776
- */ getFirmEntitlementHistory(query, config) {
777
- return this.apiClient.request({
778
- ...config,
779
- url: `/entitlement/firm-entitlement-history`,
780
- method: 'GET',
781
- params: query,
782
- secure: true,
783
- responseType: 'json'
784
- });
785
- }
786
- }
787
-
788
-
789
- var $b368c43f7196bead$exports = {};
790
-
791
- $parcel$export($b368c43f7196bead$exports, "File", () => $b368c43f7196bead$export$b6afa8811b7e644e);
792
- /* eslint-disable */ /* tslint:disable */ /*
793
- * ---------------------------------------------------------------
794
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
795
- * ## ##
796
- * ## AUTHOR: acacode ##
797
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
798
- * ---------------------------------------------------------------
799
- */
800
-
801
- class $b368c43f7196bead$export$b6afa8811b7e644e {
802
- constructor(apiClient){
803
- this.apiClient = apiClient;
804
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
805
- }
806
- /**
807
- * @tags File
808
- * @name PostUpload
809
- * @summary upload file - All users - available in Microservice
810
- * @request POST:/api/file/upload
811
- * @secure
812
- */ postUpload(data, config) {
813
- return this.apiClient.request({
814
- ...config,
815
- url: `/file/upload`,
816
- method: 'POST',
817
- data: data,
818
- secure: true,
819
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
820
- responseType: 'json'
821
- });
822
- }
823
- /**
824
- * @tags File
825
- * @name GetDownload
826
- * @summary download file by file id - All users - available in Microservice
827
- * @request GET:/api/file/download
828
- * @secure
829
- */ getDownload(query, config) {
830
- return this.apiClient.request({
831
- ...config,
832
- url: `/file/download`,
833
- method: 'GET',
834
- params: query,
835
- secure: true,
836
- responseType: 'json'
837
- });
838
- }
839
- }
840
-
841
-
842
- var $40549f677d7f8ac1$exports = {};
843
-
844
- $parcel$export($40549f677d7f8ac1$exports, "Firm", () => $40549f677d7f8ac1$export$b82695c11be95fff);
845
- /* eslint-disable */ /* tslint:disable */ /*
846
- * ---------------------------------------------------------------
847
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
848
- * ## ##
849
- * ## AUTHOR: acacode ##
850
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
851
- * ---------------------------------------------------------------
852
- */
853
-
854
- class $40549f677d7f8ac1$export$b82695c11be95fff {
855
- constructor(apiClient){
856
- this.apiClient = apiClient;
857
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
858
- }
859
- /**
860
- * @description USEquity bitwise: 1 UTP(Nasdaq), 2 CBOE1, 3 BATS, 4 NYBQT, 5 UTP OTC, 6 CTA-A, 7 CTA-B
861
- * @tags Firm
862
- * @name GetFirmList
863
- * @summary Query all Firms in the system - All users - available in Microservice, POST with pagination and sort
864
- For Microservice: only return 'UMA' source firms
865
- * @request GET:/api/firm/firm-list
866
- * @secure
867
- */ getFirmList(query, config) {
868
- return this.apiClient.request({
869
- ...config,
870
- url: `/firm/firm-list`,
871
- method: 'GET',
872
- params: query,
873
- secure: true,
874
- responseType: 'json'
875
- });
876
- }
877
- /**
878
- * @tags Firm
879
- * @name GetFirm
880
- * @summary Query a specific Firm by firmid(short name) - All users - available in Microservice
881
- * @request GET:/api/firm/firm
882
- * @secure
883
- */ getFirm(query, config) {
884
- return this.apiClient.request({
885
- ...config,
886
- url: `/firm/firm`,
887
- method: 'GET',
888
- params: query,
889
- secure: true,
890
- responseType: 'json'
891
- });
892
- }
893
- /**
894
- * @tags Firm
895
- * @name PostFirm
896
- * @summary Create a new Firm - Super admin - available in Microservice
897
- * @request POST:/api/firm/firm
898
- * @secure
899
- */ postFirm(data, config) {
900
- return this.apiClient.request({
901
- ...config,
902
- url: `/firm/firm`,
903
- method: 'POST',
904
- data: data,
905
- secure: true,
906
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
907
- responseType: 'json'
908
- });
909
- }
910
- /**
911
- * @description !Caution! If remove any previous data source related settings, it will de-active relevant FirmEntitlement and unsign relevant UserEntitlements.
912
- * @tags Firm
913
- * @name PutFirm
914
- * @summary Update an existing Firm setting - Super admin - available in Microservice
915
- * @request PUT:/api/firm/firm
916
- * @secure
917
- */ putFirm(data, query, config) {
918
- return this.apiClient.request({
919
- ...config,
920
- url: `/firm/firm`,
921
- method: 'PUT',
922
- params: query,
923
- data: data,
924
- secure: true,
925
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
926
- });
927
- }
928
- /**
929
- * @description Note: Return a Firm Entity, which has data sources that this firm can access combining FirmEntitlements information. Not the original Firm settings.
930
- * @tags Firm
931
- * @name GetFirmDataAccess
932
- * @summary Get which data sources that a firm can access - All users - available in Microservice
933
- * @request GET:/api/firm/firm-data-access
934
- * @secure
935
- */ getFirmDataAccess(query, config) {
936
- return this.apiClient.request({
937
- ...config,
938
- url: `/firm/firm-data-access`,
939
- method: 'GET',
940
- params: query,
941
- secure: true,
942
- responseType: 'json'
943
- });
944
- }
945
- /**
946
- * @tags Firm
947
- * @name GetUmaFirmList
948
- * @summary Get all firms from UMA - Super admin - available in Microservice, POST with pagination and sort
949
- * @request GET:/api/firm/uma-firm-list
950
- * @secure
951
- */ getUmaFirmList(config) {
952
- return this.apiClient.request({
953
- ...config,
954
- url: `/firm/uma-firm-list`,
955
- method: 'GET',
956
- secure: true,
957
- responseType: 'json'
958
- });
959
- }
960
- /**
961
- * @tags Firm
962
- * @name GetSystemFirmDefaultData
963
- * @summary Query system Firm Default Data Setting, which will be assigned to firm if not specified otherwise - All users - available in Microservice
964
- * @request GET:/api/firm/system-firm-default-data
965
- * @secure
966
- */ getSystemFirmDefaultData(config) {
967
- return this.apiClient.request({
968
- ...config,
969
- url: `/firm/system-firm-default-data`,
970
- method: 'GET',
971
- secure: true,
972
- responseType: 'json'
973
- });
974
- }
975
- /**
976
- * @tags Firm
977
- * @name PutSystemFirmDefaultData
978
- * @summary Query system Firm Default Data Setting, which will be assigned to firm if not specified otherwise - Super admin - available in Microservice
979
- * @request PUT:/api/firm/system-firm-default-data
980
- * @secure
981
- */ putSystemFirmDefaultData(data, config) {
982
- return this.apiClient.request({
983
- ...config,
984
- url: `/firm/system-firm-default-data`,
985
- method: 'PUT',
986
- data: data,
987
- secure: true,
988
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
989
- });
990
- }
991
- /**
992
- * @tags Firm
993
- * @name GetFirmDefaultData
994
- * @summary Query a specific Firm Default Data Setting by firmid(short name) - All users - available in Microservice
995
- * @request GET:/api/firm/firm-default-data
996
- * @secure
997
- */ getFirmDefaultData(query, config) {
998
- return this.apiClient.request({
999
- ...config,
1000
- url: `/firm/firm-default-data`,
1001
- method: 'GET',
1002
- params: query,
1003
- secure: true,
1004
- responseType: 'json'
1005
- });
1006
- }
1007
- /**
1008
- * @description New default data must within firm data access availability
1009
- * @tags Firm
1010
- * @name PostFirmDefaultData
1011
- * @summary Create Firm Default Data setting for a specific firm - Firm manager, or super admin - available in Microservice
1012
- * @request POST:/api/firm/firm-default-data
1013
- * @secure
1014
- */ postFirmDefaultData(data, query, config) {
1015
- return this.apiClient.request({
1016
- ...config,
1017
- url: `/firm/firm-default-data`,
1018
- method: 'POST',
1019
- params: query,
1020
- data: data,
1021
- secure: true,
1022
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1023
- });
1024
- }
1025
- /**
1026
- * @description New default data must within firm data access availability
1027
- * @tags Firm
1028
- * @name PutFirmDefaultData
1029
- * @summary Update an existing Firm Default Data setting - Firm manager, or super admin - available in Microservice
1030
- * @request PUT:/api/firm/firm-default-data
1031
- * @secure
1032
- */ putFirmDefaultData(data, query, config) {
1033
- return this.apiClient.request({
1034
- ...config,
1035
- url: `/firm/firm-default-data`,
1036
- method: 'PUT',
1037
- params: query,
1038
- data: data,
1039
- secure: true,
1040
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1041
- });
1042
- }
1043
- }
1044
-
1045
-
1046
- var $f528285a7ab26b93$exports = {};
1047
-
1048
- $parcel$export($f528285a7ab26b93$exports, "FundWebQuote", () => $f528285a7ab26b93$export$3ddc46c765704011);
1049
- /* eslint-disable */ /* tslint:disable */ /*
1050
- * ---------------------------------------------------------------
1051
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1052
- * ## ##
1053
- * ## AUTHOR: acacode ##
1054
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1055
- * ---------------------------------------------------------------
1056
- */
1057
- class $f528285a7ab26b93$export$3ddc46c765704011 {
1058
- constructor(apiClient){
1059
- this.apiClient = apiClient;
1060
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1061
- }
1062
- /**
1063
- * @tags FundWebQuote
1064
- * @name GetFund
1065
- * @summary Get a specific fund data - Internal use only - available in Microservice
1066
- * @request GET:/api/fund/fund
1067
- * @secure
1068
- */ getFund(query, config) {
1069
- return this.apiClient.request({
1070
- ...config,
1071
- url: `/fund/fund`,
1072
- method: 'GET',
1073
- params: query,
1074
- secure: true,
1075
- responseType: 'json'
1076
- });
1077
- }
1078
- /**
1079
- * @tags FundWebQuote
1080
- * @name GetFundList
1081
- * @summary Get all availabe fund data - Internal use only - available in Microservice
1082
- * @request GET:/api/fund/fund-list
1083
- * @secure
1084
- */ getFundList(config) {
1085
- return this.apiClient.request({
1086
- ...config,
1087
- url: `/fund/fund-list`,
1088
- method: 'GET',
1089
- secure: true,
1090
- responseType: 'json'
1091
- });
1092
- }
1093
- }
1094
-
1095
-
1096
- var $84378f4630257410$exports = {};
1097
-
1098
- $parcel$export($84378f4630257410$exports, "Log", () => $84378f4630257410$export$ce30dbb46644d06c);
1099
- /* eslint-disable */ /* tslint:disable */ /*
1100
- * ---------------------------------------------------------------
1101
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1102
- * ## ##
1103
- * ## AUTHOR: acacode ##
1104
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1105
- * ---------------------------------------------------------------
1106
- */
1107
-
1108
- class $84378f4630257410$export$ce30dbb46644d06c {
1109
- constructor(apiClient){
1110
- this.apiClient = apiClient;
1111
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1112
- }
1113
- /**
1114
- * @tags Log
1115
- * @name GetDataQueryActionList
1116
- * @summary Query all data query action list in the system - Super admin - available in Microservice
1117
- * @request GET:/api/log/data-query-action-list
1118
- * @secure
1119
- */ getDataQueryActionList(config) {
1120
- return this.apiClient.request({
1121
- ...config,
1122
- url: `/log/data-query-action-list`,
1123
- method: 'GET',
1124
- secure: true,
1125
- responseType: 'json'
1126
- });
1127
- }
1128
- /**
1129
- * @tags Log
1130
- * @name GetDataQueryLogByAction
1131
- * @summary Query data query logs by a specific query and date range - Super admin - available in Microservice, POST with pagination and sort
1132
- * @request GET:/api/log/data-query-log-by-action
1133
- * @secure
1134
- */ getDataQueryLogByAction(query, config) {
1135
- return this.apiClient.request({
1136
- ...config,
1137
- url: `/log/data-query-log-by-action`,
1138
- method: 'GET',
1139
- params: query,
1140
- secure: true,
1141
- responseType: 'json'
1142
- });
1143
- }
1144
- /**
1145
- * @tags Log
1146
- * @name GetDataQueryLogByDataSource
1147
- * @summary Query data query logs by a specific data source and date range and return for report - Super admin - available in Microservice, POST with pagination and sort
1148
- * @request GET:/api/log/data-query-log-by-data-source
1149
- * @secure
1150
- */ getDataQueryLogByDataSource(query, config) {
1151
- return this.apiClient.request({
1152
- ...config,
1153
- url: `/log/data-query-log-by-data-source`,
1154
- method: 'GET',
1155
- params: query,
1156
- secure: true,
1157
- responseType: 'json'
1158
- });
1159
- }
1160
- /**
1161
- * @tags Log
1162
- * @name GetSnapshotCount
1163
- * @summary Query snapshot report counts - Super admin - available in Microservice
1164
- * @request GET:/api/log/snapshot-count
1165
- * @secure
1166
- */ getSnapshotCount(query, config) {
1167
- return this.apiClient.request({
1168
- ...config,
1169
- url: `/log/snapshot-count`,
1170
- method: 'GET',
1171
- params: query,
1172
- secure: true,
1173
- responseType: 'json'
1174
- });
1175
- }
1176
- /**
1177
- * @tags Log
1178
- * @name PostSnapshotReport
1179
- * @summary Query snapshot report for a specific firm and a sepcific exchange with Pagination and Sort - Super admin - available in Microservice
1180
- * @request POST:/api/log/snapshot-report
1181
- * @secure
1182
- */ postSnapshotReport(data, query, config) {
1183
- return this.apiClient.request({
1184
- ...config,
1185
- url: `/log/snapshot-report`,
1186
- method: 'POST',
1187
- params: query,
1188
- data: data,
1189
- secure: true,
1190
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1191
- responseType: 'json'
1192
- });
1193
- }
1194
- /**
1195
- * @tags Log
1196
- * @name GetModificationActionList
1197
- * @summary Query all modification actions list in the system - Super admin - available in Microservice
1198
- * @request GET:/api/log/modification-action-list
1199
- * @secure
1200
- */ getModificationActionList(config) {
1201
- return this.apiClient.request({
1202
- ...config,
1203
- url: `/log/modification-action-list`,
1204
- method: 'GET',
1205
- secure: true,
1206
- responseType: 'json'
1207
- });
1208
- }
1209
- /**
1210
- * @tags Log
1211
- * @name GetModificationLogByAction
1212
- * @summary Query login/out and modification actions logs by a specific action and date range - Super admin - available in Microservice, POST with pagination and sort
1213
- * @request GET:/api/log/modification-log-by-action
1214
- * @secure
1215
- */ getModificationLogByAction(query, config) {
1216
- return this.apiClient.request({
1217
- ...config,
1218
- url: `/log/modification-log-by-action`,
1219
- method: 'GET',
1220
- params: query,
1221
- secure: true,
1222
- responseType: 'json'
1223
- });
1224
- }
1225
- }
1226
-
1227
-
1228
- var $25abc2270c9e36d9$exports = {};
1229
-
1230
- $parcel$export($25abc2270c9e36d9$exports, "Permission", () => $25abc2270c9e36d9$export$a461eaf23bef603e);
1231
- /* eslint-disable */ /* tslint:disable */ /*
1232
- * ---------------------------------------------------------------
1233
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1234
- * ## ##
1235
- * ## AUTHOR: acacode ##
1236
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1237
- * ---------------------------------------------------------------
1238
- */
1239
-
1240
- class $25abc2270c9e36d9$export$a461eaf23bef603e {
1241
- constructor(apiClient){
1242
- this.apiClient = apiClient;
1243
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1244
- }
1245
- /**
1246
- * @tags Permission
1247
- * @name PostPermission
1248
- * @summary Create permission for a user - Internal use only - Super admin - available in Microservice
1249
- * @request POST:/api/permission/permission
1250
- * @secure
1251
- */ postPermission(data, config) {
1252
- return this.apiClient.request({
1253
- ...config,
1254
- url: `/permission/permission`,
1255
- method: 'POST',
1256
- data: data,
1257
- secure: true,
1258
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1259
- });
1260
- }
1261
- /**
1262
- * @tags Permission
1263
- * @name GetPermission
1264
- * @summary Get permission for a user - Internal use only - Super admin - available in Microservice
1265
- * @request GET:/api/permission/permission
1266
- * @secure
1267
- */ getPermission(query, config) {
1268
- return this.apiClient.request({
1269
- ...config,
1270
- url: `/permission/permission`,
1271
- method: 'GET',
1272
- params: query,
1273
- secure: true,
1274
- responseType: 'json'
1275
- });
1276
- }
1277
- /**
1278
- * @tags Permission
1279
- * @name DeletePermission
1280
- * @summary Delete permission for a user - Internal use only - Super admin - available in Microservice
1281
- * @request DELETE:/api/permission/permission
1282
- * @secure
1283
- */ deletePermission(query, config) {
1284
- return this.apiClient.request({
1285
- ...config,
1286
- url: `/permission/permission`,
1287
- method: 'DELETE',
1288
- params: query,
1289
- secure: true
1290
- });
1291
- }
1292
- }
1293
-
1294
-
1295
- var $4d5b3f9351815345$exports = {};
1296
-
1297
- $parcel$export($4d5b3f9351815345$exports, "UmaTest", () => $4d5b3f9351815345$export$51933dbbacfe440f);
1298
- /* eslint-disable */ /* tslint:disable */ /*
1299
- * ---------------------------------------------------------------
1300
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1301
- * ## ##
1302
- * ## AUTHOR: acacode ##
1303
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1304
- * ---------------------------------------------------------------
1305
- */
1306
- class $4d5b3f9351815345$export$51933dbbacfe440f {
1307
- constructor(apiClient){
1308
- this.apiClient = apiClient;
1309
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1310
- }
1311
- /**
1312
- * @tags UMATest
1313
- * @name GetRevokeUmaUser
1314
- * @summary Test to revoke uma user - internal use only - Super admin - available in Microservice
1315
- * @request GET:/api/uma-test/revoke-uma-user
1316
- * @secure
1317
- */ getRevokeUmaUser(query, config) {
1318
- return this.apiClient.request({
1319
- ...config,
1320
- url: `/uma-test/revoke-uma-user`,
1321
- method: 'GET',
1322
- params: query,
1323
- secure: true
1324
- });
1325
- }
1326
- /**
1327
- * @tags UMATest
1328
- * @name GetFirmList
1329
- * @summary Test to get all uma firms - internal use only - Super admin - available in Microservice
1330
- * @request GET:/api/uma-test/firm-list
1331
- * @secure
1332
- */ getFirmList(config) {
1333
- return this.apiClient.request({
1334
- ...config,
1335
- url: `/uma-test/firm-list`,
1336
- method: 'GET',
1337
- secure: true,
1338
- responseType: 'json'
1339
- });
1340
- }
1341
- /**
1342
- * @tags UMATest
1343
- * @name GetFirmListToLocal
1344
- * @summary Import all uma firms to AES - internal use only - Super admin - available in Microservice
1345
- * @request GET:/api/uma-test/firm-list-to-local
1346
- * @secure
1347
- */ getFirmListToLocal(config) {
1348
- return this.apiClient.request({
1349
- ...config,
1350
- url: `/uma-test/firm-list-to-local`,
1351
- method: 'GET',
1352
- secure: true
1353
- });
1354
- }
1355
- /**
1356
- * @tags UMATest
1357
- * @name GetB2BUserById
1358
- * @summary Test to get uma b2b user by user_id - internal use only - Super admin - available in Microservice
1359
- * @request GET:/api/uma-test/b2b-user-by-id
1360
- * @secure
1361
- */ getB2BUserById(query, config) {
1362
- return this.apiClient.request({
1363
- ...config,
1364
- url: `/uma-test/b2b-user-by-id`,
1365
- method: 'GET',
1366
- params: query,
1367
- secure: true,
1368
- responseType: 'json'
1369
- });
1370
- }
1371
- /**
1372
- * @tags UMATest
1373
- * @name GetB2BUserList
1374
- * @summary Test to get all uma b2b users - internal use only - Super admin - available in Microservice
1375
- * @request GET:/api/uma-test/b2b-user-list
1376
- * @secure
1377
- */ getB2BUserList(config) {
1378
- return this.apiClient.request({
1379
- ...config,
1380
- url: `/uma-test/b2b-user-list`,
1381
- method: 'GET',
1382
- secure: true,
1383
- responseType: 'json'
1384
- });
1385
- }
1386
- /**
1387
- * @tags UMATest
1388
- * @name GetB2BUserListToLocal
1389
- * @summary Import all uma b2b users to AES - internal use only - Super admin - available in Microservice
1390
- * @request GET:/api/uma-test/b2b-user-list-to-local
1391
- * @secure
1392
- */ getB2BUserListToLocal(config) {
1393
- return this.apiClient.request({
1394
- ...config,
1395
- url: `/uma-test/b2b-user-list-to-local`,
1396
- method: 'GET',
1397
- secure: true
1398
- });
1399
- }
1400
- /**
1401
- * @tags UMATest
1402
- * @name GetB2CUserById
1403
- * @summary Test to get uma b2c user by user_id - internal use only - Super admin - available in Microservice
1404
- * @request GET:/api/uma-test/b2c-user-by-id
1405
- * @secure
1406
- */ getB2CUserById(query, config) {
1407
- return this.apiClient.request({
1408
- ...config,
1409
- url: `/uma-test/b2c-user-by-id`,
1410
- method: 'GET',
1411
- params: query,
1412
- secure: true,
1413
- responseType: 'json'
1414
- });
1415
- }
1416
- /**
1417
- * @tags UMATest
1418
- * @name GetB2CUserList
1419
- * @summary Test to get all uma b2c users - internal use only - Super admin - available in Microservice
1420
- * @request GET:/api/uma-test/b2c-user-list
1421
- * @secure
1422
- */ getB2CUserList(config) {
1423
- return this.apiClient.request({
1424
- ...config,
1425
- url: `/uma-test/b2c-user-list`,
1426
- method: 'GET',
1427
- secure: true,
1428
- responseType: 'json'
1429
- });
1430
- }
1431
- /**
1432
- * @tags UMATest
1433
- * @name GetB2CUserListToLocal
1434
- * @summary Import all uma b2c users to AES - internal use only - Super admin - available in Microservice
1435
- * @request GET:/api/uma-test/b2c-user-list-to-local
1436
- * @secure
1437
- */ getB2CUserListToLocal(config) {
1438
- return this.apiClient.request({
1439
- ...config,
1440
- url: `/uma-test/b2c-user-list-to-local`,
1441
- method: 'GET',
1442
- secure: true
1443
- });
1444
- }
1445
- }
1446
-
1447
-
1448
- var $cbc117ce07829f62$exports = {};
1449
-
1450
- $parcel$export($cbc117ce07829f62$exports, "QuotesReformat", () => $cbc117ce07829f62$export$304305f55794ea0e);
1451
- /* eslint-disable */ /* tslint:disable */ /*
1452
- * ---------------------------------------------------------------
1453
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1454
- * ## ##
1455
- * ## AUTHOR: acacode ##
1456
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1457
- * ---------------------------------------------------------------
1458
- */
1459
- class $cbc117ce07829f62$export$304305f55794ea0e {
1460
- constructor(apiClient){
1461
- this.apiClient = apiClient;
1462
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1463
- }
1464
- /**
1465
- * @tags QuotesReformat
1466
- * @name GetEquity
1467
- * @summary Query full Level 1 data - All users - available in Microservice
1468
- * @request GET:/api/quotes/equity
1469
- * @secure
1470
- */ getEquity(query, config) {
1471
- return this.apiClient.request({
1472
- ...config,
1473
- url: `/quotes/equity`,
1474
- method: 'GET',
1475
- params: query,
1476
- secure: true,
1477
- responseType: 'json'
1478
- });
1479
- }
1480
- /**
1481
- * @tags QuotesReformat
1482
- * @name GetEquityIntraday
1483
- * @summary Query intra-day and historical Minute Chart. If no days range provided, it return intraday chart. rsiSpan is no supported. All Volume is raw Volume. - All users - available in Microservice
1484
- * @request GET:/api/quotes/equity/intraday
1485
- * @secure
1486
- */ getEquityIntraday(query, config) {
1487
- return this.apiClient.request({
1488
- ...config,
1489
- url: `/quotes/equity/intraday`,
1490
- method: 'GET',
1491
- params: query,
1492
- secure: true,
1493
- responseType: 'json'
1494
- });
1495
- }
1496
- /**
1497
- * @tags QuotesReformat
1498
- * @name GetOptionHistorical
1499
- * @summary Query option Day Chart. No weekly data point support yet. No rsiSpan support. - All users - available in Microservice
1500
- * @request GET:/api/quotes/option/historical
1501
- * @secure
1502
- */ getOptionHistorical(query, config) {
1503
- return this.apiClient.request({
1504
- ...config,
1505
- url: `/quotes/option/historical`,
1506
- method: 'GET',
1507
- params: query,
1508
- secure: true,
1509
- responseType: 'json'
1510
- });
1511
- }
1512
- /**
1513
- * @tags QuotesReformat
1514
- * @name GetSearch
1515
- * @summary To search for a company and the exact ticker symbol is not known, use this endpoint for a string search. - All users - available in Microservice version
1516
- * @request GET:/api/quotes/search
1517
- * @secure
1518
- */ getSearch(query, config) {
1519
- return this.apiClient.request({
1520
- ...config,
1521
- url: `/quotes/search`,
1522
- method: 'GET',
1523
- params: query,
1524
- secure: true
1525
- });
1526
- }
1527
- /**
1528
- * @tags QuotesReformat
1529
- * @name GetOption
1530
- * @summary Query Option Level 1 data - All users - available in Microservice
1531
- * @request GET:/api/quotes/option
1532
- * @secure
1533
- */ getOption(query, config) {
1534
- return this.apiClient.request({
1535
- ...config,
1536
- url: `/quotes/option`,
1537
- method: 'GET',
1538
- params: query,
1539
- secure: true,
1540
- responseType: 'json'
1541
- });
1542
- }
1543
- /**
1544
- * @tags QuotesReformat
1545
- * @name GetOptionChainDates
1546
- * @summary Query Option Chain dates - All users - available in Microservice
1547
- * @request GET:/api/quotes/option/chain/dates/{symbol}
1548
- * @secure
1549
- */ getOptionChainDates(symbol, query, config) {
1550
- return this.apiClient.request({
1551
- ...config,
1552
- url: `/quotes/option/chain/dates/${symbol}`,
1553
- method: 'GET',
1554
- params: query,
1555
- secure: true,
1556
- responseType: 'json'
1557
- });
1558
- }
1559
- /**
1560
- * @tags QuotesReformat
1561
- * @name GetOptionChain
1562
- * @summary Query Option Chain data - All users - available in Microservice
1563
- * @request GET:/api/quotes/option/chain/{symbol}/{date}
1564
- * @secure
1565
- */ getOptionChain(symbol, date, query, config) {
1566
- return this.apiClient.request({
1567
- ...config,
1568
- url: `/quotes/option/chain/${symbol}/${date}`,
1569
- method: 'GET',
1570
- params: query,
1571
- secure: true,
1572
- responseType: 'json'
1573
- });
1574
- }
1575
- /**
1576
- * @tags QuotesReformat
1577
- * @name GetEquityHistorical
1578
- * @summary Query Historical Day Chart. No weekly data point support yet. No rsiSpan support. - All users - available in Microservice
1579
- * @request GET:/api/quotes/equity/historical
1580
- * @secure
1581
- */ getEquityHistorical(query, config) {
1582
- return this.apiClient.request({
1583
- ...config,
1584
- url: `/quotes/equity/historical`,
1585
- method: 'GET',
1586
- params: query,
1587
- secure: true,
1588
- responseType: 'json'
1589
- });
1590
- }
1591
- /**
1592
- * @tags QuotesReformat
1593
- * @name GetBonds
1594
- * @summary Query Bonds data - All users - available in Microservice
1595
- * @request GET:/api/quotes/bonds
1596
- * @secure
1597
- */ getBonds(query, config) {
1598
- return this.apiClient.request({
1599
- ...config,
1600
- url: `/quotes/bonds`,
1601
- method: 'GET',
1602
- params: query,
1603
- secure: true,
1604
- responseType: 'json'
1605
- });
1606
- }
1607
- /**
1608
- * @tags QuotesReformat
1609
- * @name GetBondsSearch
1610
- * @summary Search bonds - All users - available in Microservice
1611
- * @request GET:/api/quotes/bonds/search
1612
- * @secure
1613
- */ getBondsSearch(query, config) {
1614
- return this.apiClient.request({
1615
- ...config,
1616
- url: `/quotes/bonds/search`,
1617
- method: 'GET',
1618
- params: query,
1619
- secure: true
1620
- });
1621
- }
1622
- /**
1623
- * @tags QuotesReformat
1624
- * @name GetQuotesReformat
1625
- * @summary Query Forex rate - All users - available in Microservice
1626
- * @request GET:/api/quotes/fx
1627
- * @secure
1628
- */ getQuotesReformat(query, config) {
1629
- return this.apiClient.request({
1630
- ...config,
1631
- url: `/quotes/fx`,
1632
- method: 'GET',
1633
- params: query,
1634
- secure: true,
1635
- responseType: 'json'
1636
- });
1637
- }
1638
- }
1639
-
1640
-
1641
- var $392dd9b8718c5dff$exports = {};
1642
-
1643
- $parcel$export($392dd9b8718c5dff$exports, "User", () => $392dd9b8718c5dff$export$1f44aaf2ec115b54);
1644
- /* eslint-disable */ /* tslint:disable */ /*
1645
- * ---------------------------------------------------------------
1646
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1647
- * ## ##
1648
- * ## AUTHOR: acacode ##
1649
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1650
- * ---------------------------------------------------------------
1651
- */
1652
-
1653
- class $392dd9b8718c5dff$export$1f44aaf2ec115b54 {
1654
- constructor(apiClient){
1655
- this.apiClient = apiClient;
1656
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1657
- }
1658
- /**
1659
- * @tags User
1660
- * @name PostRegisterRegular
1661
- * @summary Create a new regular user - Firm manager, or super admin - Not available in Microservice
1662
- * @request POST:/api/user/register-regular
1663
- * @secure
1664
- */ postRegisterRegular(data, config) {
1665
- return this.apiClient.request({
1666
- ...config,
1667
- url: `/user/register-regular`,
1668
- method: 'POST',
1669
- data: data,
1670
- secure: true,
1671
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1672
- });
1673
- }
1674
- /**
1675
- * @tags User
1676
- * @name PostRegisterAdmin
1677
- * @summary Create a new admin user - Super admin - Not available in Microservice
1678
- * @request POST:/api/user/register-admin
1679
- * @secure
1680
- */ postRegisterAdmin(data, config) {
1681
- return this.apiClient.request({
1682
- ...config,
1683
- url: `/user/register-admin`,
1684
- method: 'POST',
1685
- data: data,
1686
- secure: true,
1687
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1688
- });
1689
- }
1690
- /**
1691
- * @tags User
1692
- * @name PostRegisterManager
1693
- * @summary Create a new firm manager user - Firm manager, or super admin - Not available in Microservice
1694
- * @request POST:/api/user/register-manager
1695
- * @secure
1696
- */ postRegisterManager(data, config) {
1697
- return this.apiClient.request({
1698
- ...config,
1699
- url: `/user/register-manager`,
1700
- method: 'POST',
1701
- data: data,
1702
- secure: true,
1703
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1704
- });
1705
- }
1706
- /**
1707
- * @tags User
1708
- * @name PostRegisterUmaB2BUser
1709
- * @summary Create a new b2b user from UMA - Firm manager, or super admin - available in Microservice
1710
- * @request POST:/api/user/register-uma-b2b-user
1711
- * @secure
1712
- */ postRegisterUmaB2BUser(data, config) {
1713
- return this.apiClient.request({
1714
- ...config,
1715
- url: `/user/register-uma-b2b-user`,
1716
- method: 'POST',
1717
- data: data,
1718
- secure: true,
1719
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1720
- });
1721
- }
1722
- /**
1723
- * @tags User
1724
- * @name PostRegisterUmaB2CUser
1725
- * @summary Create a new b2c user from UMA - Firm manager, or super admin - available in Microservice
1726
- * @request POST:/api/user/register-uma-b2c-user
1727
- * @secure
1728
- */ postRegisterUmaB2CUser(data, config) {
1729
- return this.apiClient.request({
1730
- ...config,
1731
- url: `/user/register-uma-b2c-user`,
1732
- method: 'POST',
1733
- data: data,
1734
- secure: true,
1735
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1736
- });
1737
- }
1738
- /**
1739
- * @tags User
1740
- * @name GetUmaB2BUserList
1741
- * @summary Get UMA b2b users - Firm manager, or super admin - available in Microservice, POST with pagination and sort
1742
- * @request GET:/api/user/uma-b2b-user-list
1743
- * @secure
1744
- */ getUmaB2BUserList(query, config) {
1745
- return this.apiClient.request({
1746
- ...config,
1747
- url: `/user/uma-b2b-user-list`,
1748
- method: 'GET',
1749
- params: query,
1750
- secure: true,
1751
- responseType: 'json'
1752
- });
1753
- }
1754
- /**
1755
- * @tags User
1756
- * @name GetUmaB2CUserList
1757
- * @summary Get UMA b2c users - Firm manager, or super admin - available in Microservice, POST with pagination and sort
1758
- * @request GET:/api/user/uma-b2c-user-list
1759
- * @secure
1760
- */ getUmaB2CUserList(query, config) {
1761
- return this.apiClient.request({
1762
- ...config,
1763
- url: `/user/uma-b2c-user-list`,
1764
- method: 'GET',
1765
- params: query,
1766
- secure: true,
1767
- responseType: 'json'
1768
- });
1769
- }
1770
- /**
1771
- * @tags User
1772
- * @name PostLogin
1773
- * @summary all user login - All users - Not available in Microservice
1774
- * @request POST:/api/user/login
1775
- * @secure
1776
- */ postLogin(data, config) {
1777
- return this.apiClient.request({
1778
- ...config,
1779
- url: `/user/login`,
1780
- method: 'POST',
1781
- data: data,
1782
- secure: true,
1783
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1784
- });
1785
- }
1786
- /**
1787
- * @description token will be revoked even not expired
1788
- * @tags User
1789
- * @name GetLogout
1790
- * @summary logout with user id - All users - Not available in Microservice
1791
- * @request GET:/api/user/logout
1792
- * @secure
1793
- */ getLogout(query, config) {
1794
- return this.apiClient.request({
1795
- ...config,
1796
- url: `/user/logout`,
1797
- method: 'GET',
1798
- params: query,
1799
- secure: true
1800
- });
1801
- }
1802
- /**
1803
- * @tags User
1804
- * @name PutPhoneNumber
1805
- * @summary update a user registered phone number - All users - Not available in Microservice
1806
- * @request PUT:/api/user/phone-number
1807
- * @secure
1808
- */ putPhoneNumber(data, config) {
1809
- return this.apiClient.request({
1810
- ...config,
1811
- url: `/user/phone-number`,
1812
- method: 'PUT',
1813
- data: data,
1814
- secure: true,
1815
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1816
- });
1817
- }
1818
- /**
1819
- * @tags User
1820
- * @name PutEmail
1821
- * @summary update a user registered email - All users - Not available in Microservice
1822
- * @request PUT:/api/user/email
1823
- * @secure
1824
- */ putEmail(data, config) {
1825
- return this.apiClient.request({
1826
- ...config,
1827
- url: `/user/email`,
1828
- method: 'PUT',
1829
- data: data,
1830
- secure: true,
1831
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1832
- });
1833
- }
1834
- /**
1835
- * @description It will check old passoword.
1836
- * @tags User
1837
- * @name PutChangePassword
1838
- * @summary User change its own password - All users - Not available in Microservice
1839
- * @request PUT:/api/user/change-password
1840
- * @secure
1841
- */ putChangePassword(data, config) {
1842
- return this.apiClient.request({
1843
- ...config,
1844
- url: `/user/change-password`,
1845
- method: 'PUT',
1846
- data: data,
1847
- secure: true,
1848
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1849
- });
1850
- }
1851
- /**
1852
- * @description For manager/admin user, it does not require old password.
1853
- * @tags User
1854
- * @name GetResetUserPassword
1855
- * @summary Reset a user password - Firm manager, or super admin - Not available in Microservice
1856
- * @request GET:/api/user/reset-user-password
1857
- * @secure
1858
- */ getResetUserPassword(query, config) {
1859
- return this.apiClient.request({
1860
- ...config,
1861
- url: `/user/reset-user-password`,
1862
- method: 'GET',
1863
- params: query,
1864
- secure: true
1865
- });
1866
- }
1867
- /**
1868
- * @tags User
1869
- * @name GetUserNameById
1870
- * @summary Get a user Name by a specific user Id - All users - Not available in Microservice
1871
- * @request GET:/api/user/user-name-by-id
1872
- * @secure
1873
- */ getUserNameById(query, config) {
1874
- return this.apiClient.request({
1875
- ...config,
1876
- url: `/user/user-name-by-id`,
1877
- method: 'GET',
1878
- params: query,
1879
- secure: true,
1880
- responseType: 'json'
1881
- });
1882
- }
1883
- /**
1884
- * @description User Name is unique in the system.
1885
- * @tags User
1886
- * @name GetUserIdByName
1887
- * @summary Get a user Id by a specific user Name - All users - Not available in Microservice
1888
- * @request GET:/api/user/user-id-by-name
1889
- * @secure
1890
- */ getUserIdByName(query, config) {
1891
- return this.apiClient.request({
1892
- ...config,
1893
- url: `/user/user-id-by-name`,
1894
- method: 'GET',
1895
- params: query,
1896
- secure: true,
1897
- responseType: 'json'
1898
- });
1899
- }
1900
- /**
1901
- * @tags User
1902
- * @name GetUserByName
1903
- * @summary Search a user by an exactly user name - All users - Not available in Microservice
1904
- * @request GET:/api/user/user-by-name
1905
- * @secure
1906
- */ getUserByName(query, config) {
1907
- return this.apiClient.request({
1908
- ...config,
1909
- url: `/user/user-by-name`,
1910
- method: 'GET',
1911
- params: query,
1912
- secure: true,
1913
- responseType: 'json'
1914
- });
1915
- }
1916
- /**
1917
- * @tags User
1918
- * @name GetUsersById
1919
- * @summary Search users by exactly userids - All users - Not available in Microservice
1920
- * @request GET:/api/user/users-by-id
1921
- * @secure
1922
- */ getUsersById(query, config) {
1923
- return this.apiClient.request({
1924
- ...config,
1925
- url: `/user/users-by-id`,
1926
- method: 'GET',
1927
- params: query,
1928
- secure: true,
1929
- responseType: 'json'
1930
- });
1931
- }
1932
- /**
1933
- * @description It will return all users that user name contains the query string, no matter case.
1934
- * @tags User
1935
- * @name PostUsersFuzzy
1936
- * @summary Search users which include a specific string with Pagination and Sort - All users - Not available in Microservice
1937
- * @request POST:/api/user/users-fuzzy
1938
- * @secure
1939
- */ postUsersFuzzy(data, query, config) {
1940
- return this.apiClient.request({
1941
- ...config,
1942
- url: `/user/users-fuzzy`,
1943
- method: 'POST',
1944
- params: query,
1945
- data: data,
1946
- secure: true,
1947
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1948
- responseType: 'json'
1949
- });
1950
- }
1951
- /**
1952
- * @tags User
1953
- * @name GetUsersByFirm
1954
- * @summary Query all users in a specific firm - Firm manager, or super admin - Not available in Microservice
1955
- * @request GET:/api/user/users-by-firm
1956
- * @secure
1957
- */ getUsersByFirm(query, config) {
1958
- return this.apiClient.request({
1959
- ...config,
1960
- url: `/user/users-by-firm`,
1961
- method: 'GET',
1962
- params: query,
1963
- secure: true,
1964
- responseType: 'json'
1965
- });
1966
- }
1967
- /**
1968
- * @description All conditions are optional
1969
- * @tags User
1970
- * @name PostUsersByMultipleConditions
1971
- * @summary Search Users by multiple conditions with Pagination and Sort - Firm manager, or super admin - available in Microservice
1972
- For Microservice API:
1973
- 1. No parameter 'user_name' and 'email'. Instead, it has parameter 'user_search', which will do fuzzy search on both user_name and email.
1974
- 2. Only return 'UMA' source users
1975
- * @request POST:/api/user/users-by-multiple-conditions
1976
- * @secure
1977
- */ postUsersByMultipleConditions(data, query, config) {
1978
- return this.apiClient.request({
1979
- ...config,
1980
- url: `/user/users-by-multiple-conditions`,
1981
- method: 'POST',
1982
- params: query,
1983
- data: data,
1984
- secure: true,
1985
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1986
- responseType: 'json'
1987
- });
1988
- }
1989
- /**
1990
- * @description Super admin is admin users in ViewTrade
1991
- * @tags User
1992
- * @name PostSuperAdmins
1993
- * @summary Query all super admin users - Super admin - Not available in Microservice
1994
- * @request POST:/api/user/super-admins
1995
- * @secure
1996
- */ postSuperAdmins(data, config) {
1997
- return this.apiClient.request({
1998
- ...config,
1999
- url: `/user/super-admins`,
2000
- method: 'POST',
2001
- data: data,
2002
- secure: true,
2003
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2004
- responseType: 'json'
2005
- });
2006
- }
2007
- /**
2008
- * @description !Caution! It will delete the relevant user information, data configuration and unsign all UserEntitlements for this user.
2009
- * @tags User
2010
- * @name DeleteUser
2011
- * @summary Delete an existing user - Super admin - Not available in Microservice
2012
- * @request DELETE:/api/user/user
2013
- * @secure
2014
- */ deleteUser(query, config) {
2015
- return this.apiClient.request({
2016
- ...config,
2017
- url: `/user/user`,
2018
- method: 'DELETE',
2019
- params: query,
2020
- secure: true
2021
- });
2022
- }
2023
- /**
2024
- * @tags User
2025
- * @name GetUserRole
2026
- * @summary Search a user role by user Id - All users - Not available in Microservice
2027
- * @request GET:/api/user/user-role
2028
- * @secure
2029
- */ getUserRole(query, config) {
2030
- return this.apiClient.request({
2031
- ...config,
2032
- url: `/user/user-role`,
2033
- method: 'GET',
2034
- params: query,
2035
- secure: true
2036
- });
2037
- }
2038
- /**
2039
- * @description When manager/admin create user information, it will not validate user information. When end user create user information, it will validate user information: - "FirstName is required and length is 1~255" - "LastName is required and length is 1~255" - "Street1 is required" - "City is required" - "State is required" - "ZipCode is required" - "Country is required" - "EmployStatus is required" - "LicenseNumber is required and length is 1~255 for professional user"
2040
- * @tags User
2041
- * @name PostUserInformation
2042
- * @summary Create new user information - All users - available in Microservice
2043
- * @request POST:/api/user/user-information
2044
- * @secure
2045
- */ postUserInformation(data, config) {
2046
- return this.apiClient.request({
2047
- ...config,
2048
- url: `/user/user-information`,
2049
- method: 'POST',
2050
- data: data,
2051
- secure: true,
2052
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2053
- responseType: 'json'
2054
- });
2055
- }
2056
- /**
2057
- * @description When manager/admin create user information, it will not validate user information. When end user create user information, it will validate user information: - "FirstName is required and length is 1~255" - "LastName is required and length is 1~255" - "Street1 is required" - "City is required" - "State is required" - "ZipCode is required" - "Country is required" - "EmployStatus is required" - "LicenseNumber is required and length is 1~255 for professional user"
2058
- * @tags User
2059
- * @name PutUserInformation
2060
- * @summary Update existing user information - All users - available in Microservice
2061
- * @request PUT:/api/user/user-information
2062
- * @secure
2063
- */ putUserInformation(data, query, config) {
2064
- return this.apiClient.request({
2065
- ...config,
2066
- url: `/user/user-information`,
2067
- method: 'PUT',
2068
- params: query,
2069
- data: data,
2070
- secure: true,
2071
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2072
- });
2073
- }
2074
- /**
2075
- * @tags User
2076
- * @name GetUserInformationById
2077
- * @summary Query a specific user information - All users - available in Microservice
2078
- * @request GET:/api/user/user-information-by-id
2079
- * @secure
2080
- */ getUserInformationById(query, config) {
2081
- return this.apiClient.request({
2082
- ...config,
2083
- url: `/user/user-information-by-id`,
2084
- method: 'GET',
2085
- params: query,
2086
- secure: true,
2087
- responseType: 'json'
2088
- });
2089
- }
2090
- /**
2091
- * @tags User
2092
- * @name GetOccupationList
2093
- * @summary Query occupation list that can be used in user information EmploymentFunction - All users - available in Microservice
2094
- * @request GET:/api/user/occupation-list
2095
- * @secure
2096
- */ getOccupationList(config) {
2097
- return this.apiClient.request({
2098
- ...config,
2099
- url: `/user/occupation-list`,
2100
- method: 'GET',
2101
- secure: true,
2102
- responseType: 'json'
2103
- });
2104
- }
2105
- /**
2106
- * @description It will check if user firm has relevant data acess.
2107
- * @tags User
2108
- * @name PostUserDataConfig
2109
- * @summary Create new user data configuration - Firm manager, or super admin - available in Microservice
2110
- * @request POST:/api/user/user-data-config
2111
- * @secure
2112
- */ postUserDataConfig(data, config) {
2113
- return this.apiClient.request({
2114
- ...config,
2115
- url: `/user/user-data-config`,
2116
- method: 'POST',
2117
- data: data,
2118
- secure: true,
2119
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2120
- responseType: 'json'
2121
- });
2122
- }
2123
- /**
2124
- * @description It will check if user firm has relevant data acess.
2125
- * @tags User
2126
- * @name PutUserDataConfig
2127
- * @summary Update existing user data configuration - Firm manager, or super admin - available in Microservice
2128
- * @request PUT:/api/user/user-data-config
2129
- * @secure
2130
- */ putUserDataConfig(data, query, config) {
2131
- return this.apiClient.request({
2132
- ...config,
2133
- url: `/user/user-data-config`,
2134
- method: 'PUT',
2135
- params: query,
2136
- data: data,
2137
- secure: true,
2138
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2139
- });
2140
- }
2141
- /**
2142
- * @description USEquity bitwise: 1 UTP(Nasdaq), 2 CBOE1, 3 BATS, 4 NYBQT, 5 UTP OTC, 6 CTA-A, 7 CTA-B
2143
- * @tags User
2144
- * @name GetUserDataConfigById
2145
- * @summary Query a user data configuration by user Id - All users - available in Microservice
2146
- * @request GET:/api/user/user-data-config-by-id
2147
- * @secure
2148
- */ getUserDataConfigById(query, config) {
2149
- return this.apiClient.request({
2150
- ...config,
2151
- url: `/user/user-data-config-by-id`,
2152
- method: 'GET',
2153
- params: query,
2154
- secure: true,
2155
- responseType: 'json'
2156
- });
2157
- }
2158
- /**
2159
- * @tags User
2160
- * @name GetUserDataConfigByIdExtraInfo
2161
- * @summary Query a user data configuration by user Id - All users - available in Microservice
2162
- * @request GET:/api/user/user-data-config-by-id-extra-info
2163
- * @secure
2164
- */ getUserDataConfigByIdExtraInfo(query, config) {
2165
- return this.apiClient.request({
2166
- ...config,
2167
- url: `/user/user-data-config-by-id-extra-info`,
2168
- method: 'GET',
2169
- params: query,
2170
- secure: true,
2171
- responseType: 'json'
2172
- });
2173
- }
2174
- /**
2175
- * @tags User
2176
- * @name GetUserDataConfigs
2177
- * @summary Query user data configurations by user Ids - Firm manager or super admin - available in Microservice
2178
- * @request GET:/api/user/user-data-configs
2179
- * @secure
2180
- */ getUserDataConfigs(query, config) {
2181
- return this.apiClient.request({
2182
- ...config,
2183
- url: `/user/user-data-configs`,
2184
- method: 'GET',
2185
- params: query,
2186
- secure: true,
2187
- responseType: 'json'
2188
- });
2189
- }
2190
- /**
2191
- * @tags User
2192
- * @name GetUserNeedSignAgreements
2193
- * @summary Query which entitlements(agreements) a user need to sign(but not signed yet) by user name - All users - available in Microservice
2194
- * @request GET:/api/user/user-need-sign-agreements
2195
- * @secure
2196
- */ getUserNeedSignAgreements(query, config) {
2197
- return this.apiClient.request({
2198
- ...config,
2199
- url: `/user/user-need-sign-agreements`,
2200
- method: 'GET',
2201
- params: query,
2202
- secure: true,
2203
- responseType: 'json'
2204
- });
2205
- }
2206
- /**
2207
- * @tags User
2208
- * @name GetSessionAlive
2209
- * @summary Query if current user session is alive - All users - Not available in Microservice
2210
- * @request GET:/api/user/session-alive
2211
- * @secure
2212
- */ getSessionAlive(config) {
2213
- return this.apiClient.request({
2214
- ...config,
2215
- url: `/user/session-alive`,
2216
- method: 'GET',
2217
- secure: true,
2218
- responseType: 'json'
2219
- });
2220
- }
2221
- /**
2222
- * @tags User
2223
- * @name GetTest
2224
- * @summary For system deployment user only - All users - available in Microservice
2225
- * @request GET:/api/user/Test
2226
- * @secure
2227
- */ getTest(config) {
2228
- return this.apiClient.request({
2229
- ...config,
2230
- url: `/user/Test`,
2231
- method: 'GET',
2232
- secure: true,
2233
- responseType: 'json'
2234
- });
2235
- }
2236
- }
2237
-
2238
-
2239
- var $da89e2663382a79a$exports = {};
2240
-
2241
- $parcel$export($da89e2663382a79a$exports, "Quote", () => $da89e2663382a79a$export$82b8d343c504672);
2242
- /* eslint-disable */ /* tslint:disable */ /*
2243
- * ---------------------------------------------------------------
2244
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2245
- * ## ##
2246
- * ## AUTHOR: acacode ##
2247
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2248
- * ---------------------------------------------------------------
2249
- */
2250
-
2251
- class $da89e2663382a79a$export$82b8d343c504672 {
2252
- constructor(apiClient){
2253
- this.apiClient = apiClient;
2254
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
2255
- }
2256
- /**
2257
- * @tags Quote
2258
- * @name PostSymbolSearch
2259
- * @summary Symbol screener - All users - available in Microservice version
2260
- * @request POST:/api/quote/symbol-search
2261
- * @secure
2262
- */ postSymbolSearch(data, query, config) {
2263
- return this.apiClient.request({
2264
- ...config,
2265
- url: `/quote/symbol-search`,
2266
- method: 'POST',
2267
- params: query,
2268
- data: data,
2269
- secure: true,
2270
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2271
- responseType: 'json'
2272
- });
2273
- }
2274
- /**
2275
- * @tags Quote
2276
- * @name GetBestQuote
2277
- * @summary Query Best Quote(Level 1 data) - All users - available in Microservice
2278
- * @request GET:/api/quote/best-quote
2279
- * @secure
2280
- */ getBestQuote(query, config) {
2281
- return this.apiClient.request({
2282
- ...config,
2283
- url: `/quote/best-quote`,
2284
- method: 'GET',
2285
- params: query,
2286
- secure: true,
2287
- responseType: 'json'
2288
- });
2289
- }
2290
- /**
2291
- * @tags Quote
2292
- * @name GetNbboSnapshot
2293
- * @summary Query NBBO Snapshot - All users - available in Microservice
2294
- * @request GET:/api/quote/nbbo-snapshot
2295
- * @secure
2296
- */ getNbboSnapshot(query, config) {
2297
- return this.apiClient.request({
2298
- ...config,
2299
- url: `/quote/nbbo-snapshot`,
2300
- method: 'GET',
2301
- params: query,
2302
- secure: true,
2303
- responseType: 'json'
2304
- });
2305
- }
2306
- /**
2307
- * @tags Quote
2308
- * @name GetLevel1
2309
- * @summary Query full Level 1 data - All users - available in Microservice
2310
- * @request GET:/api/quote/level1
2311
- * @secure
2312
- */ getLevel1(query, config) {
2313
- return this.apiClient.request({
2314
- ...config,
2315
- url: `/quote/level1`,
2316
- method: 'GET',
2317
- params: query,
2318
- secure: true,
2319
- responseType: 'json'
2320
- });
2321
- }
2322
- /**
2323
- * @tags Quote
2324
- * @name GetRegionQuotes
2325
- * @summary Query Region Quotes from Tick data - All users - available in Microservice
2326
- * @request GET:/api/quote/region-quotes
2327
- * @secure
2328
- */ getRegionQuotes(query, config) {
2329
- return this.apiClient.request({
2330
- ...config,
2331
- url: `/quote/region-quotes`,
2332
- method: 'GET',
2333
- params: query,
2334
- secure: true,
2335
- responseType: 'json'
2336
- });
2337
- }
2338
- /**
2339
- * @tags Quote
2340
- * @name GetTimeSale
2341
- * @summary Query TimeSale from Tick data - All users - available in Microservice
2342
- * @request GET:/api/quote/time-sale
2343
- * @secure
2344
- */ getTimeSale(query, config) {
2345
- return this.apiClient.request({
2346
- ...config,
2347
- url: `/quote/time-sale`,
2348
- method: 'GET',
2349
- params: query,
2350
- secure: true,
2351
- responseType: 'json'
2352
- });
2353
- }
2354
- /**
2355
- * @tags Quote
2356
- * @name GetLastTrade
2357
- * @summary Query Last Trade(Level 2 data) - All users - available in Microservice
2358
- * @request GET:/api/quote/last-trade
2359
- * @secure
2360
- */ getLastTrade(query, config) {
2361
- return this.apiClient.request({
2362
- ...config,
2363
- url: `/quote/last-trade`,
2364
- method: 'GET',
2365
- params: query,
2366
- secure: true,
2367
- responseType: 'json'
2368
- });
2369
- }
2370
- /**
2371
- * @tags Quote
2372
- * @name GetIntradayChart
2373
- * @summary Query intra-day Day Chart and Minute Chart - All users - available in Microservice
2374
- * @request GET:/api/quote/intraday-chart
2375
- * @secure
2376
- */ getIntradayChart(query, config) {
2377
- return this.apiClient.request({
2378
- ...config,
2379
- url: `/quote/intraday-chart`,
2380
- method: 'GET',
2381
- params: query,
2382
- secure: true,
2383
- responseType: 'json'
2384
- });
2385
- }
2386
- /**
2387
- * @tags Quote
2388
- * @name GetHistoricalDayChart
2389
- * @summary Query Historical Day Chart - All users - available in Microservice
2390
- * @request GET:/api/quote/historical-day-chart
2391
- * @secure
2392
- */ getHistoricalDayChart(query, config) {
2393
- return this.apiClient.request({
2394
- ...config,
2395
- url: `/quote/historical-day-chart`,
2396
- method: 'GET',
2397
- params: query,
2398
- secure: true,
2399
- responseType: 'json'
2400
- });
2401
- }
2402
- /**
2403
- * @tags Quote
2404
- * @name GetHistoricalMinuteChart
2405
- * @summary Query Historical Minute Chart - All users - available in Microservice
2406
- * @request GET:/api/quote/historical-minute-chart
2407
- * @secure
2408
- */ getHistoricalMinuteChart(query, config) {
2409
- return this.apiClient.request({
2410
- ...config,
2411
- url: `/quote/historical-minute-chart`,
2412
- method: 'GET',
2413
- params: query,
2414
- secure: true,
2415
- responseType: 'json'
2416
- });
2417
- }
2418
- /**
2419
- * @tags Quote
2420
- * @name GetTop20
2421
- * @summary Query Top20 data - All users - available in Microservice
2422
- * @request GET:/api/quote/top-20
2423
- * @secure
2424
- */ getTop20(query, config) {
2425
- return this.apiClient.request({
2426
- ...config,
2427
- url: `/quote/top-20`,
2428
- method: 'GET',
2429
- params: query,
2430
- secure: true,
2431
- responseType: 'json'
2432
- });
2433
- }
2434
- /**
2435
- * @tags Quote
2436
- * @name GetOptionChainDates
2437
- * @summary Query Option Chain dates - All users - available in Microservice
2438
- * @request GET:/api/quote/option-chain-dates
2439
- * @secure
2440
- */ getOptionChainDates(query, config) {
2441
- return this.apiClient.request({
2442
- ...config,
2443
- url: `/quote/option-chain-dates`,
2444
- method: 'GET',
2445
- params: query,
2446
- secure: true,
2447
- responseType: 'json'
2448
- });
2449
- }
2450
- /**
2451
- * @tags Quote
2452
- * @name GetOptionChain
2453
- * @summary Query Option Chain data - All users - available in Microservice
2454
- * @request GET:/api/quote/option-chain
2455
- * @secure
2456
- */ getOptionChain(query, config) {
2457
- return this.apiClient.request({
2458
- ...config,
2459
- url: `/quote/option-chain`,
2460
- method: 'GET',
2461
- params: query,
2462
- secure: true,
2463
- responseType: 'json'
2464
- });
2465
- }
2466
- /**
2467
- * @tags Quote
2468
- * @name GetOptionLevel1
2469
- * @summary Query Option Level 1 data - All users - available in Microservice
2470
- * @request GET:/api/quote/option-level1
2471
- * @secure
2472
- */ getOptionLevel1(query, config) {
2473
- return this.apiClient.request({
2474
- ...config,
2475
- url: `/quote/option-level1`,
2476
- method: 'GET',
2477
- params: query,
2478
- secure: true,
2479
- responseType: 'json'
2480
- });
2481
- }
2482
- /**
2483
- * @tags Quote
2484
- * @name GetOptionLevel1WithGreek
2485
- * @summary Query Option Level 1 data - All users - available in Microservice
2486
- * @request GET:/api/quote/option-level1-with-greek
2487
- * @secure
2488
- */ getOptionLevel1WithGreek(query, config) {
2489
- return this.apiClient.request({
2490
- ...config,
2491
- url: `/quote/option-level1-with-greek`,
2492
- method: 'GET',
2493
- params: query,
2494
- secure: true,
2495
- responseType: 'json'
2496
- });
2497
- }
2498
- /**
2499
- * @tags Quote
2500
- * @name GetOptionDayChart
2501
- * @summary Query Option Day Chart - All users - available in Microservice
2502
- * @request GET:/api/quote/option-day-chart
2503
- * @secure
2504
- */ getOptionDayChart(query, config) {
2505
- return this.apiClient.request({
2506
- ...config,
2507
- url: `/quote/option-day-chart`,
2508
- method: 'GET',
2509
- params: query,
2510
- secure: true,
2511
- responseType: 'json'
2512
- });
2513
- }
2514
- /**
2515
- * @tags Quote
2516
- * @name GetEquiductLevel1
2517
- * @summary Query Equiduct Level 1 data - All users - available in Microservice
2518
- * @request GET:/api/quote/equiduct-level1
2519
- * @secure
2520
- */ getEquiductLevel1(query, config) {
2521
- return this.apiClient.request({
2522
- ...config,
2523
- url: `/quote/equiduct-level1`,
2524
- method: 'GET',
2525
- params: query,
2526
- secure: true,
2527
- responseType: 'json'
2528
- });
2529
- }
2530
- /**
2531
- * @tags Quote
2532
- * @name GetBonds
2533
- * @summary Query Bonds data - All users - available in Microservice
2534
- * @request GET:/api/quote/bonds
2535
- * @secure
2536
- */ getBonds(query, config) {
2537
- return this.apiClient.request({
2538
- ...config,
2539
- url: `/quote/bonds`,
2540
- method: 'GET',
2541
- params: query,
2542
- secure: true,
2543
- responseType: 'json'
2544
- });
2545
- }
2546
- /**
2547
- * @tags Quote
2548
- * @name GetBondsSearch
2549
- * @summary Search bonds - All users - available in Microservice
2550
- * @request GET:/api/quote/bonds-search
2551
- * @secure
2552
- */ getBondsSearch(query, config) {
2553
- return this.apiClient.request({
2554
- ...config,
2555
- url: `/quote/bonds-search`,
2556
- method: 'GET',
2557
- params: query,
2558
- secure: true
2559
- });
2560
- }
2561
- /**
2562
- * @tags Quote
2563
- * @name GetBondsChart
2564
- * @summary Query Bonds historical chart data - All users - available in Microservice
2565
- * @request GET:/api/quote/bonds-chart
2566
- * @secure
2567
- */ getBondsChart(query, config) {
2568
- return this.apiClient.request({
2569
- ...config,
2570
- url: `/quote/bonds-chart`,
2571
- method: 'GET',
2572
- params: query,
2573
- secure: true,
2574
- responseType: 'json'
2575
- });
2576
- }
2577
- /**
2578
- * @tags Quote
2579
- * @name GetMutualFunds
2580
- * @summary Query Mutual Funds data - All users - available in Microservice
2581
- * @request GET:/api/quote/mutual-funds
2582
- * @secure
2583
- */ getMutualFunds(query, config) {
2584
- return this.apiClient.request({
2585
- ...config,
2586
- url: `/quote/mutual-funds`,
2587
- method: 'GET',
2588
- params: query,
2589
- secure: true,
2590
- responseType: 'json'
2591
- });
2592
- }
2593
- /**
2594
- * @tags Quote
2595
- * @name GetQuoddEod
2596
- * @summary Query QUODD EOD data - All users - available in Microservice
2597
- * @request GET:/api/quote/quodd-eod
2598
- * @secure
2599
- */ getQuoddEod(query, config) {
2600
- return this.apiClient.request({
2601
- ...config,
2602
- url: `/quote/quodd-eod`,
2603
- method: 'GET',
2604
- params: query,
2605
- secure: true,
2606
- responseType: 'json'
2607
- });
2608
- }
2609
- /**
2610
- * @tags Quote
2611
- * @name GetQuoddDelay
2612
- * @summary Query QUODD Delay data - All users - available in Microservice
2613
- * @request GET:/api/quote/quodd-delay
2614
- * @secure
2615
- */ getQuoddDelay(query, config) {
2616
- return this.apiClient.request({
2617
- ...config,
2618
- url: `/quote/quodd-delay`,
2619
- method: 'GET',
2620
- params: query,
2621
- secure: true,
2622
- responseType: 'json'
2623
- });
2624
- }
2625
- /**
2626
- * @tags Quote
2627
- * @name GetIceIsin
2628
- * @summary Query ICE ISIN data - All users - available in Microservice
2629
- * @request GET:/api/quote/ice-isin
2630
- * @secure
2631
- */ getIceIsin(query, config) {
2632
- return this.apiClient.request({
2633
- ...config,
2634
- url: `/quote/ice-isin`,
2635
- method: 'GET',
2636
- params: query,
2637
- secure: true,
2638
- responseType: 'json'
2639
- });
2640
- }
2641
- /**
2642
- * @tags Quote
2643
- * @name GetIceEod
2644
- * @summary Query ICE EOD data - All users - available in Microservice
2645
- * @request GET:/api/quote/ice-eod
2646
- * @secure
2647
- */ getIceEod(query, config) {
2648
- return this.apiClient.request({
2649
- ...config,
2650
- url: `/quote/ice-eod`,
2651
- method: 'GET',
2652
- params: query,
2653
- secure: true,
2654
- responseType: 'json'
2655
- });
2656
- }
2657
- /**
2658
- * @tags Quote
2659
- * @name GetFxRate
2660
- * @summary Query Forex data with symbols - All users - available in Microservice
2661
- * @request GET:/api/quote/fx-rate
2662
- * @secure
2663
- */ getFxRate(query, config) {
2664
- return this.apiClient.request({
2665
- ...config,
2666
- url: `/quote/fx-rate`,
2667
- method: 'GET',
2668
- params: query,
2669
- secure: true,
2670
- responseType: 'json'
2671
- });
2672
- }
2673
- /**
2674
- * @tags Quote
2675
- * @name GetFxTable
2676
- * @summary Query Forex table for one currency - All users - available in Microservice
2677
- * @request GET:/api/quote/fx-table
2678
- * @secure
2679
- */ getFxTable(query, config) {
2680
- return this.apiClient.request({
2681
- ...config,
2682
- url: `/quote/fx-table`,
2683
- method: 'GET',
2684
- params: query,
2685
- secure: true,
2686
- responseType: 'json'
2687
- });
2688
- }
2689
- }
2690
-
2691
-
2692
- var $4b159783c3c88682$exports = {};
2693
-
2694
- $parcel$export($4b159783c3c88682$exports, "WebSocket", () => $4b159783c3c88682$export$3909fb301d3dc8c9);
2695
- /* eslint-disable */ /* tslint:disable */ /*
2696
- * ---------------------------------------------------------------
2697
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2698
- * ## ##
2699
- * ## AUTHOR: acacode ##
2700
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2701
- * ---------------------------------------------------------------
2702
- */
2703
- class $4b159783c3c88682$export$3909fb301d3dc8c9 {
2704
- constructor(apiClient){
2705
- this.apiClient = apiClient;
2706
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
2707
- }
2708
- /**
2709
- * @tags WebSocket
2710
- * @name GetWebSocket
2711
- * @summary WebSocket endpoint - All users - available in Microservice
2712
- * @request GET:/ws
2713
- * @secure
2714
- */ getWebSocket(config) {
2715
- return this.apiClient.request({
2716
- ...config,
2717
- url: `/ws`,
2718
- method: 'GET',
2719
- secure: true
2720
- });
2721
- }
2722
- /**
2723
- * @tags WebSocket
2724
- * @name GetWssub
2725
- * @summary WebSocket endpoint - All users - available in Microservice
2726
- * @request GET:/wssub
2727
- * @secure
2728
- */ getWssub(config) {
2729
- return this.apiClient.request({
2730
- ...config,
2731
- url: `/wssub`,
2732
- method: 'GET',
2733
- secure: true
2734
- });
2735
- }
2736
- }
2737
-
2738
-
2739
- var $ebfa7671e584ef24$exports = {};
2740
-
2741
- $parcel$export($ebfa7671e584ef24$exports, "WsStream", () => $ebfa7671e584ef24$export$4bc722fa18a49af3);
2742
- /* eslint-disable */ /* tslint:disable */ /*
2743
- * ---------------------------------------------------------------
2744
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2745
- * ## ##
2746
- * ## AUTHOR: acacode ##
2747
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2748
- * ---------------------------------------------------------------
2749
- */
2750
- class $ebfa7671e584ef24$export$4bc722fa18a49af3 {
2751
- constructor(apiClient){
2752
- this.apiClient = apiClient;
2753
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
2754
- }
2755
- /**
2756
- * @tags WsStream
2757
- * @name GetStream
2758
- * @summary ws stream endpoint - All users - available in Microservice
2759
- * @request GET:/stream
2760
- * @secure
2761
- */ getStream(config) {
2762
- return this.apiClient.request({
2763
- ...config,
2764
- url: `/stream`,
2765
- method: 'GET',
2766
- secure: true
2767
- });
2768
- }
2769
- }
2770
-
2771
-
2772
- $parcel$exportWildcard($647b587a8581f150$exports, $afd429a073cafb57$exports);
2773
- $parcel$exportWildcard($647b587a8581f150$exports, $94a67bf1856cdfc2$exports);
2774
- $parcel$exportWildcard($647b587a8581f150$exports, $0aaebef586764cdc$exports);
2775
- $parcel$exportWildcard($647b587a8581f150$exports, $b368c43f7196bead$exports);
2776
- $parcel$exportWildcard($647b587a8581f150$exports, $40549f677d7f8ac1$exports);
2777
- $parcel$exportWildcard($647b587a8581f150$exports, $f528285a7ab26b93$exports);
2778
- $parcel$exportWildcard($647b587a8581f150$exports, $84378f4630257410$exports);
2779
- $parcel$exportWildcard($647b587a8581f150$exports, $25abc2270c9e36d9$exports);
2780
- $parcel$exportWildcard($647b587a8581f150$exports, $4d5b3f9351815345$exports);
2781
- $parcel$exportWildcard($647b587a8581f150$exports, $cbc117ce07829f62$exports);
2782
- $parcel$exportWildcard($647b587a8581f150$exports, $392dd9b8718c5dff$exports);
2783
- $parcel$exportWildcard($647b587a8581f150$exports, $da89e2663382a79a$exports);
2784
- $parcel$exportWildcard($647b587a8581f150$exports, $4b159783c3c88682$exports);
2785
- $parcel$exportWildcard($647b587a8581f150$exports, $ebfa7671e584ef24$exports);
2786
-
2787
-
2788
- class $5dea8508f40b2be4$export$fdc699bad85078d9 extends (0, $780091c10287ceed$export$3ad201792064a82b) {
2789
- constructor(config){
2790
- super(new (0, $538ed1203bac2e79$export$f280b732bbc5934b)(config)), this.config = config;
2791
- this.dataSource = new (0, $94a67bf1856cdfc2$export$accd73d198d77d2f)(this.apiClient);
2792
- this.entitlement = new (0, $0aaebef586764cdc$export$7b20d168ba04011b)(this.apiClient);
2793
- this.file = new (0, $b368c43f7196bead$export$b6afa8811b7e644e)(this.apiClient);
2794
- this.firm = new (0, $40549f677d7f8ac1$export$b82695c11be95fff)(this.apiClient);
2795
- this.fundWebQuote = new (0, $f528285a7ab26b93$export$3ddc46c765704011)(this.apiClient);
2796
- this.log = new (0, $84378f4630257410$export$ce30dbb46644d06c)(this.apiClient);
2797
- this.permission = new (0, $25abc2270c9e36d9$export$a461eaf23bef603e)(this.apiClient);
2798
- this.quote = new (0, $da89e2663382a79a$export$82b8d343c504672)(this.apiClient);
2799
- this.quotesReformat = new (0, $cbc117ce07829f62$export$304305f55794ea0e)(this.apiClient);
2800
- this.user = new (0, $392dd9b8718c5dff$export$1f44aaf2ec115b54)(this.apiClient);
2801
- this.webSocket = new (0, $4b159783c3c88682$export$3909fb301d3dc8c9)(this.apiClient);
2802
- this.wsStream = new (0, $ebfa7671e584ef24$export$4bc722fa18a49af3)(this.apiClient);
2803
- }
2804
- }
2805
-
2806
-
2807
-
2808
- $parcel$exportWildcard(module.exports, $5dea8508f40b2be4$exports);
2809
- $parcel$exportWildcard(module.exports, $647b587a8581f150$exports);
2810
-
2811
-
1
+ var e,t=require("auto-bind"),s=require("async-mutex"),r=require("consola"),n=require("date-fns"),i=require("jwt-decode"),u=require("axios"),a=require("axios-better-stacktrace"),o=require("lodash");function p(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function l(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function h(e){return e&&e.__esModule?e.default:e}var m={};l(m,"AesMidasApi",()=>H);class c{constructor(e){this.apiClient=e,h(t)(this)}getApiClient(){return this.apiClient}}var d=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class T{constructor(e){this.config=e,h(t)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=h(u).create({baseURL:e.baseUrl,withCredentials:e.withCredentials,headers:{"Content-Type":"application/json",...e.defaultHeaders}}),h(a)(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;(0,o.isNil)(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let r=(0,o.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){if(!this.config.handleError&&!e.handleError)throw s;let t={success:!1,status:-1,statusText:String(s),error:s};return(0,u.isAxiosError)(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),t}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class y extends T{constructor(e){super(e),this.config=e,this.lock=new s.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,r.consola).warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&(0,r.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===s.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,i.jwtDecode)(e);return!t.exp||(0,n.isBefore)((0,n.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}var q={},C={};l(C,"Entitlement",()=>g);class g{constructor(e){this.apiClient=e,h(t)(this)}getEntitlementList(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement-list",method:"GET",params:e,secure:!0,responseType:"json"})}getEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement",method:"GET",params:e,secure:!0,responseType:"json"})}postEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putEntitlement(e,t,s){return this.apiClient.request({...s,url:"/entitlement/entitlement",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}deleteEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement",method:"DELETE",params:e,secure:!0})}getUserEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/user-entitlement",method:"GET",params:e,secure:!0,responseType:"json"})}getUserEntitlementList(e,t){return this.apiClient.request({...t,url:"/entitlement/user-entitlement-list",method:"GET",params:e,secure:!0,responseType:"json"})}getEntitlementUserList(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement-user-list",method:"GET",params:e,secure:!0,responseType:"json"})}getUserEntitlementHistory(e,t){return this.apiClient.request({...t,url:"/entitlement/user-entitlement-history",method:"GET",params:e,secure:!0,responseType:"json"})}putSignEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/sign-entitlement",method:"PUT",data:e,secure:!0,contentType:d.Json})}putUnsignEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/unsign-entitlement",method:"PUT",params:e,secure:!0})}getContractsCount(e,t){return this.apiClient.request({...t,url:"/entitlement/contracts-count",method:"GET",params:e,secure:!0,responseType:"json"})}postContractsReport(e,t,s){return this.apiClient.request({...s,url:"/entitlement/contracts-report",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}getFirmEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/firm-entitlement",method:"GET",params:e,secure:!0,responseType:"json"})}postFirmEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/firm-entitlement",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putFirmEntitlement(e,t,s){return this.apiClient.request({...s,url:"/entitlement/firm-entitlement",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}deleteFirmEntitlement(e,t){return this.apiClient.request({...t,url:"/entitlement/firm-entitlement",method:"DELETE",params:e,secure:!0})}getFirmEntitlementList(e,t){return this.apiClient.request({...t,url:"/entitlement/firm-entitlement-list",method:"GET",params:e,secure:!0,responseType:"json"})}getEntitlementFirmList(e,t){return this.apiClient.request({...t,url:"/entitlement/entitlement-firm-list",method:"GET",params:e,secure:!0,responseType:"json"})}getFirmEntitlementHistory(e,t){return this.apiClient.request({...t,url:"/entitlement/firm-entitlement-history",method:"GET",params:e,secure:!0,responseType:"json"})}}var E={};l(E,"DataSource",()=>f);class f{constructor(e){this.apiClient=e,h(t)(this)}getDataSourceList(e,t){return this.apiClient.request({...t,url:"/datasource/data-source-list",method:"GET",params:e,secure:!0,responseType:"json"})}getDataSource(e,t){return this.apiClient.request({...t,url:"/datasource/data-source",method:"GET",params:e,secure:!0,responseType:"json"})}postDataSource(e,t){return this.apiClient.request({...t,url:"/datasource/data-source",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putDataSource(e,t,s){return this.apiClient.request({...s,url:"/datasource/data-source",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}deleteDataSource(e,t){return this.apiClient.request({...t,url:"/datasource/data-source",method:"DELETE",params:e,secure:!0})}getDataSourceBitMapping(e){return this.apiClient.request({...e,url:"/datasource/data-source-bit-mapping",method:"GET",secure:!0})}getDataSourceTallyCount(e){return this.apiClient.request({...e,url:"/datasource/data-source-tally-count",method:"GET",secure:!0,responseType:"json"})}postDataSourceTallyReport(e,t,s){return this.apiClient.request({...s,url:"/datasource/data-source-tally-report",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}}var j={};l(j,"File",()=>G);class G{constructor(e){this.apiClient=e,h(t)(this)}postUpload(e,t){return this.apiClient.request({...t,url:"/file/upload",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}getDownload(e,t){return this.apiClient.request({...t,url:"/file/download",method:"GET",params:e,secure:!0,responseType:"json"})}}var b={};l(b,"Firm",()=>S);class S{constructor(e){this.apiClient=e,h(t)(this)}getFirmList(e,t){return this.apiClient.request({...t,url:"/firm/firm-list",method:"GET",params:e,secure:!0,responseType:"json"})}getFirm(e,t){return this.apiClient.request({...t,url:"/firm/firm",method:"GET",params:e,secure:!0,responseType:"json"})}postFirm(e,t){return this.apiClient.request({...t,url:"/firm/firm",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putFirm(e,t,s){return this.apiClient.request({...s,url:"/firm/firm",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}getFirmDataAccess(e,t){return this.apiClient.request({...t,url:"/firm/firm-data-access",method:"GET",params:e,secure:!0,responseType:"json"})}getUmaFirmList(e){return this.apiClient.request({...e,url:"/firm/uma-firm-list",method:"GET",secure:!0,responseType:"json"})}getSystemFirmDefaultData(e){return this.apiClient.request({...e,url:"/firm/system-firm-default-data",method:"GET",secure:!0,responseType:"json"})}putSystemFirmDefaultData(e,t){return this.apiClient.request({...t,url:"/firm/system-firm-default-data",method:"PUT",data:e,secure:!0,contentType:d.Json})}getFirmDefaultData(e,t){return this.apiClient.request({...t,url:"/firm/firm-default-data",method:"GET",params:e,secure:!0,responseType:"json"})}postFirmDefaultData(e,t,s){return this.apiClient.request({...s,url:"/firm/firm-default-data",method:"POST",params:t,data:e,secure:!0,contentType:d.Json})}putFirmDefaultData(e,t,s){return this.apiClient.request({...s,url:"/firm/firm-default-data",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}}var U={};l(U,"FundWebQuote",()=>D);class D{constructor(e){this.apiClient=e,h(t)(this)}getFund(e,t){return this.apiClient.request({...t,url:"/fund/fund",method:"GET",params:e,secure:!0,responseType:"json"})}getFundList(e){return this.apiClient.request({...e,url:"/fund/fund-list",method:"GET",secure:!0,responseType:"json"})}}var w={};l(w,"Log",()=>P);class P{constructor(e){this.apiClient=e,h(t)(this)}getDataQueryActionList(e){return this.apiClient.request({...e,url:"/log/data-query-action-list",method:"GET",secure:!0,responseType:"json"})}getDataQueryLogByAction(e,t){return this.apiClient.request({...t,url:"/log/data-query-log-by-action",method:"GET",params:e,secure:!0,responseType:"json"})}getDataQueryLogByDataSource(e,t){return this.apiClient.request({...t,url:"/log/data-query-log-by-data-source",method:"GET",params:e,secure:!0,responseType:"json"})}getSnapshotCount(e,t){return this.apiClient.request({...t,url:"/log/snapshot-count",method:"GET",params:e,secure:!0,responseType:"json"})}postSnapshotReport(e,t,s){return this.apiClient.request({...s,url:"/log/snapshot-report",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}getModificationActionList(e){return this.apiClient.request({...e,url:"/log/modification-action-list",method:"GET",secure:!0,responseType:"json"})}getModificationLogByAction(e,t){return this.apiClient.request({...t,url:"/log/modification-log-by-action",method:"GET",params:e,secure:!0,responseType:"json"})}}var O={};l(O,"Permission",()=>L);class L{constructor(e){this.apiClient=e,h(t)(this)}postPermission(e,t){return this.apiClient.request({...t,url:"/permission/permission",method:"POST",data:e,secure:!0,contentType:d.Json})}getPermission(e,t){return this.apiClient.request({...t,url:"/permission/permission",method:"GET",params:e,secure:!0,responseType:"json"})}deletePermission(e,t){return this.apiClient.request({...t,url:"/permission/permission",method:"DELETE",params:e,secure:!0})}}var B={};l(B,"Quote",()=>J);class J{constructor(e){this.apiClient=e,h(t)(this)}postSymbolSearch(e,t,s){return this.apiClient.request({...s,url:"/quote/symbol-search",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}getBestQuote(e,t){return this.apiClient.request({...t,url:"/quote/best-quote",method:"GET",params:e,secure:!0,responseType:"json"})}getNbboSnapshot(e,t){return this.apiClient.request({...t,url:"/quote/nbbo-snapshot",method:"GET",params:e,secure:!0,responseType:"json"})}getLevel1(e,t){return this.apiClient.request({...t,url:"/quote/level1",method:"GET",params:e,secure:!0,responseType:"json"})}getRegionQuotes(e,t){return this.apiClient.request({...t,url:"/quote/region-quotes",method:"GET",params:e,secure:!0,responseType:"json"})}getTimeSale(e,t){return this.apiClient.request({...t,url:"/quote/time-sale",method:"GET",params:e,secure:!0,responseType:"json"})}getLastTrade(e,t){return this.apiClient.request({...t,url:"/quote/last-trade",method:"GET",params:e,secure:!0,responseType:"json"})}getIntradayChart(e,t){return this.apiClient.request({...t,url:"/quote/intraday-chart",method:"GET",params:e,secure:!0,responseType:"json"})}getHistoricalDayChart(e,t){return this.apiClient.request({...t,url:"/quote/historical-day-chart",method:"GET",params:e,secure:!0,responseType:"json"})}getHistoricalMinuteChart(e,t){return this.apiClient.request({...t,url:"/quote/historical-minute-chart",method:"GET",params:e,secure:!0,responseType:"json"})}getTop20(e,t){return this.apiClient.request({...t,url:"/quote/top-20",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionChainDates(e,t){return this.apiClient.request({...t,url:"/quote/option-chain-dates",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionChain(e,t){return this.apiClient.request({...t,url:"/quote/option-chain",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionLevel1(e,t){return this.apiClient.request({...t,url:"/quote/option-level1",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionLevel1WithGreek(e,t){return this.apiClient.request({...t,url:"/quote/option-level1-with-greek",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionDayChart(e,t){return this.apiClient.request({...t,url:"/quote/option-day-chart",method:"GET",params:e,secure:!0,responseType:"json"})}getEquiductLevel1(e,t){return this.apiClient.request({...t,url:"/quote/equiduct-level1",method:"GET",params:e,secure:!0,responseType:"json"})}getBonds(e,t){return this.apiClient.request({...t,url:"/quote/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getBondsSearch(e,t){return this.apiClient.request({...t,url:"/quote/bonds-search",method:"GET",params:e,secure:!0})}getBondsChart(e,t){return this.apiClient.request({...t,url:"/quote/bonds-chart",method:"GET",params:e,secure:!0,responseType:"json"})}getMutualFunds(e,t){return this.apiClient.request({...t,url:"/quote/mutual-funds",method:"GET",params:e,secure:!0,responseType:"json"})}getQuoddEod(e,t){return this.apiClient.request({...t,url:"/quote/quodd-eod",method:"GET",params:e,secure:!0,responseType:"json"})}getQuoddDelay(e,t){return this.apiClient.request({...t,url:"/quote/quodd-delay",method:"GET",params:e,secure:!0,responseType:"json"})}getIceIsin(e,t){return this.apiClient.request({...t,url:"/quote/ice-isin",method:"GET",params:e,secure:!0,responseType:"json"})}getIceEod(e,t){return this.apiClient.request({...t,url:"/quote/ice-eod",method:"GET",params:e,secure:!0,responseType:"json"})}getFxRate(e,t){return this.apiClient.request({...t,url:"/quote/fx-rate",method:"GET",params:e,secure:!0,responseType:"json"})}getFxTable(e,t){return this.apiClient.request({...t,url:"/quote/fx-table",method:"GET",params:e,secure:!0,responseType:"json"})}}var x={};l(x,"QuotesReformat",()=>F);class F{constructor(e){this.apiClient=e,h(t)(this)}getEquity(e,t){return this.apiClient.request({...t,url:"/quotes/equity",method:"GET",params:e,secure:!0,responseType:"json"})}getEquityIntraday(e,t){return this.apiClient.request({...t,url:"/quotes/equity/intraday",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionHistorical(e,t){return this.apiClient.request({...t,url:"/quotes/option/historical",method:"GET",params:e,secure:!0,responseType:"json"})}getSearch(e,t){return this.apiClient.request({...t,url:"/quotes/search",method:"GET",params:e,secure:!0})}getOption(e,t){return this.apiClient.request({...t,url:"/quotes/option",method:"GET",params:e,secure:!0,responseType:"json"})}getOptionChainDates(e,t,s){return this.apiClient.request({...s,url:`/quotes/option/chain/dates/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getOptionChain(e,t,s,r){return this.apiClient.request({...r,url:`/quotes/option/chain/${e}/${t}`,method:"GET",params:s,secure:!0,responseType:"json"})}getEquityHistorical(e,t){return this.apiClient.request({...t,url:"/quotes/equity/historical",method:"GET",params:e,secure:!0,responseType:"json"})}getBonds(e,t){return this.apiClient.request({...t,url:"/quotes/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getBondsSearch(e,t){return this.apiClient.request({...t,url:"/quotes/bonds/search",method:"GET",params:e,secure:!0})}getQuotesReformat(e,t){return this.apiClient.request({...t,url:"/quotes/fx",method:"GET",params:e,secure:!0,responseType:"json"})}}var k={};l(k,"UmaTest",()=>v);class v{constructor(e){this.apiClient=e,h(t)(this)}getRevokeUmaUser(e,t){return this.apiClient.request({...t,url:"/uma-test/revoke-uma-user",method:"GET",params:e,secure:!0})}getFirmList(e){return this.apiClient.request({...e,url:"/uma-test/firm-list",method:"GET",secure:!0,responseType:"json"})}getFirmListToLocal(e){return this.apiClient.request({...e,url:"/uma-test/firm-list-to-local",method:"GET",secure:!0})}getB2BUserById(e,t){return this.apiClient.request({...t,url:"/uma-test/b2b-user-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}getB2BUserList(e){return this.apiClient.request({...e,url:"/uma-test/b2b-user-list",method:"GET",secure:!0,responseType:"json"})}getB2BUserListToLocal(e){return this.apiClient.request({...e,url:"/uma-test/b2b-user-list-to-local",method:"GET",secure:!0})}getB2CUserById(e,t){return this.apiClient.request({...t,url:"/uma-test/b2c-user-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}getB2CUserList(e){return this.apiClient.request({...e,url:"/uma-test/b2c-user-list",method:"GET",secure:!0,responseType:"json"})}getB2CUserListToLocal(e){return this.apiClient.request({...e,url:"/uma-test/b2c-user-list-to-local",method:"GET",secure:!0})}}var A={};l(A,"User",()=>I);class I{constructor(e){this.apiClient=e,h(t)(this)}postRegisterRegular(e,t){return this.apiClient.request({...t,url:"/user/register-regular",method:"POST",data:e,secure:!0,contentType:d.Json})}postRegisterAdmin(e,t){return this.apiClient.request({...t,url:"/user/register-admin",method:"POST",data:e,secure:!0,contentType:d.Json})}postRegisterManager(e,t){return this.apiClient.request({...t,url:"/user/register-manager",method:"POST",data:e,secure:!0,contentType:d.Json})}postRegisterUmaB2BUser(e,t){return this.apiClient.request({...t,url:"/user/register-uma-b2b-user",method:"POST",data:e,secure:!0,contentType:d.Json})}postRegisterUmaB2CUser(e,t){return this.apiClient.request({...t,url:"/user/register-uma-b2c-user",method:"POST",data:e,secure:!0,contentType:d.Json})}getUmaB2BUserList(e,t){return this.apiClient.request({...t,url:"/user/uma-b2b-user-list",method:"GET",params:e,secure:!0,responseType:"json"})}getUmaB2CUserList(e,t){return this.apiClient.request({...t,url:"/user/uma-b2c-user-list",method:"GET",params:e,secure:!0,responseType:"json"})}postLogin(e,t){return this.apiClient.request({...t,url:"/user/login",method:"POST",data:e,secure:!0,contentType:d.Json})}getLogout(e,t){return this.apiClient.request({...t,url:"/user/logout",method:"GET",params:e,secure:!0})}putPhoneNumber(e,t){return this.apiClient.request({...t,url:"/user/phone-number",method:"PUT",data:e,secure:!0,contentType:d.Json})}putEmail(e,t){return this.apiClient.request({...t,url:"/user/email",method:"PUT",data:e,secure:!0,contentType:d.Json})}putChangePassword(e,t){return this.apiClient.request({...t,url:"/user/change-password",method:"PUT",data:e,secure:!0,contentType:d.Json})}getResetUserPassword(e,t){return this.apiClient.request({...t,url:"/user/reset-user-password",method:"GET",params:e,secure:!0})}getUserNameById(e,t){return this.apiClient.request({...t,url:"/user/user-name-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}getUserIdByName(e,t){return this.apiClient.request({...t,url:"/user/user-id-by-name",method:"GET",params:e,secure:!0,responseType:"json"})}getUserByName(e,t){return this.apiClient.request({...t,url:"/user/user-by-name",method:"GET",params:e,secure:!0,responseType:"json"})}getUsersById(e,t){return this.apiClient.request({...t,url:"/user/users-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}postUsersFuzzy(e,t,s){return this.apiClient.request({...s,url:"/user/users-fuzzy",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}getUsersByFirm(e,t){return this.apiClient.request({...t,url:"/user/users-by-firm",method:"GET",params:e,secure:!0,responseType:"json"})}postUsersByMultipleConditions(e,t,s){return this.apiClient.request({...s,url:"/user/users-by-multiple-conditions",method:"POST",params:t,data:e,secure:!0,contentType:d.Json,responseType:"json"})}postSuperAdmins(e,t){return this.apiClient.request({...t,url:"/user/super-admins",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}deleteUser(e,t){return this.apiClient.request({...t,url:"/user/user",method:"DELETE",params:e,secure:!0})}getUserRole(e,t){return this.apiClient.request({...t,url:"/user/user-role",method:"GET",params:e,secure:!0})}postUserInformation(e,t){return this.apiClient.request({...t,url:"/user/user-information",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putUserInformation(e,t,s){return this.apiClient.request({...s,url:"/user/user-information",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}getUserInformationById(e,t){return this.apiClient.request({...t,url:"/user/user-information-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}getOccupationList(e){return this.apiClient.request({...e,url:"/user/occupation-list",method:"GET",secure:!0,responseType:"json"})}postUserDataConfig(e,t){return this.apiClient.request({...t,url:"/user/user-data-config",method:"POST",data:e,secure:!0,contentType:d.Json,responseType:"json"})}putUserDataConfig(e,t,s){return this.apiClient.request({...s,url:"/user/user-data-config",method:"PUT",params:t,data:e,secure:!0,contentType:d.Json})}getUserDataConfigById(e,t){return this.apiClient.request({...t,url:"/user/user-data-config-by-id",method:"GET",params:e,secure:!0,responseType:"json"})}getUserDataConfigByIdExtraInfo(e,t){return this.apiClient.request({...t,url:"/user/user-data-config-by-id-extra-info",method:"GET",params:e,secure:!0,responseType:"json"})}getUserDataConfigs(e,t){return this.apiClient.request({...t,url:"/user/user-data-configs",method:"GET",params:e,secure:!0,responseType:"json"})}getUserNeedSignAgreements(e,t){return this.apiClient.request({...t,url:"/user/user-need-sign-agreements",method:"GET",params:e,secure:!0,responseType:"json"})}getSessionAlive(e){return this.apiClient.request({...e,url:"/user/session-alive",method:"GET",secure:!0,responseType:"json"})}getTest(e){return this.apiClient.request({...e,url:"/user/Test",method:"GET",secure:!0,responseType:"json"})}}var R={};l(R,"WebSocket",()=>N);class N{constructor(e){this.apiClient=e,h(t)(this)}getWebSocket(e){return this.apiClient.request({...e,url:"/ws",method:"GET",secure:!0})}getWssub(e){return this.apiClient.request({...e,url:"/wssub",method:"GET",secure:!0})}}var M={};l(M,"WsStream",()=>Q);class Q{constructor(e){this.apiClient=e,h(t)(this)}getStream(e){return this.apiClient.request({...e,url:"/stream",method:"GET",secure:!0})}}p(q,{}),p(q,C),p(q,E),p(q,j),p(q,b),p(q,U),p(q,w),p(q,O),p(q,B),p(q,x),p(q,k),p(q,A),p(q,R),p(q,M);class H extends c{constructor(e){super(new y(e)),this.config=e,this.dataSource=new f(this.apiClient),this.entitlement=new g(this.apiClient),this.file=new G(this.apiClient),this.firm=new S(this.apiClient),this.fundWebQuote=new D(this.apiClient),this.log=new P(this.apiClient),this.permission=new L(this.apiClient),this.quote=new J(this.apiClient),this.quotesReformat=new F(this.apiClient),this.user=new I(this.apiClient),this.webSocket=new N(this.apiClient),this.wsStream=new Q(this.apiClient)}}p(module.exports,m),p(module.exports,q);
2812
2
  //# sourceMappingURL=index.js.map