@orbis-systems/orbis-api-clients 0.6.8 → 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 (39) hide show
  1. package/dist/aesmidas/index.d.ts +9 -0
  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 +176 -175
  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 +322 -322
  18. package/dist/insight/index.d.ts.map +1 -1
  19. package/dist/insight/index.esm.js +1 -3754
  20. package/dist/insight/index.esm.js.map +1 -1
  21. package/dist/insight/index.js +1 -3759
  22. package/dist/insight/index.js.map +1 -1
  23. package/dist/middleware/index.esm.js +1 -1066
  24. package/dist/middleware/index.esm.js.map +1 -1
  25. package/dist/middleware/index.js +1 -1071
  26. package/dist/middleware/index.js.map +1 -1
  27. package/dist/orbis/index.d.ts +2191 -2191
  28. package/dist/orbis/index.d.ts.map +1 -1
  29. package/dist/orbis/index.esm.js +1 -7009
  30. package/dist/orbis/index.esm.js.map +1 -1
  31. package/dist/orbis/index.js +1 -7014
  32. package/dist/orbis/index.js.map +1 -1
  33. package/dist/uma/index.d.ts +194 -194
  34. package/dist/uma/index.d.ts.map +1 -1
  35. package/dist/uma/index.esm.js +1 -3993
  36. package/dist/uma/index.esm.js.map +1 -1
  37. package/dist/uma/index.js +1 -3998
  38. package/dist/uma/index.js.map +1 -1
  39. 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 $0aaebef586764cdc$exports = {};
280
-
281
- $parcel$export($0aaebef586764cdc$exports, "Entitlement", () => $0aaebef586764cdc$export$7b20d168ba04011b);
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 $0aaebef586764cdc$export$7b20d168ba04011b {
301
- constructor(apiClient){
302
- this.apiClient = apiClient;
303
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
304
- }
305
- /**
306
- * @description bitwise in Datasource: 1 UTP, 2 CTA, 3 CBOE1, 4 OPRA, 5 DJI, 6 SP500, 7 CAN, 8 SNAPSHOT
307
- * @tags Entitlement
308
- * @name GetEntitlementList
309
- * @summary Query all available Entitlements(agreements) in the system - All users - available in Microservice, POST with pagination and sort
310
- * @request GET:/api/entitlement/entitlement-list
311
- * @secure
312
- */ getEntitlementList(query, config) {
313
- return this.apiClient.request({
314
- ...config,
315
- url: `/entitlement/entitlement-list`,
316
- method: 'GET',
317
- params: query,
318
- secure: true,
319
- responseType: 'json'
320
- });
321
- }
322
- /**
323
- * @tags Entitlement
324
- * @name GetEntitlement
325
- * @summary Query a specific Entitlement by unique EntitlementName - All users - available in Microservice
326
- * @request GET:/api/entitlement/entitlement
327
- * @secure
328
- */ getEntitlement(query, config) {
329
- return this.apiClient.request({
330
- ...config,
331
- url: `/entitlement/entitlement`,
332
- method: 'GET',
333
- params: query,
334
- secure: true,
335
- responseType: 'json'
336
- });
337
- }
338
- /**
339
- * @description Files can be uploaded along with entitlement. File ids can be left blank, server will generate and update file ids to the entitlement.
340
- * @tags Entitlement
341
- * @name PostEntitlement
342
- * @summary Create a new Entitlement(Agreement) - Super admin - available in Microservice
343
- * @request POST:/api/entitlement/entitlement
344
- * @secure
345
- */ postEntitlement(data, config) {
346
- return this.apiClient.request({
347
- ...config,
348
- url: `/entitlement/entitlement`,
349
- method: 'POST',
350
- data: data,
351
- secure: true,
352
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
353
- responseType: 'json'
354
- });
355
- }
356
- /**
357
- * @tags Entitlement
358
- * @name PutEntitlement
359
- * @summary Update an existing Entitlement - Super admin - available in Microservice
360
- * @request PUT:/api/entitlement/entitlement
361
- * @secure
362
- */ putEntitlement(data, query, config) {
363
- return this.apiClient.request({
364
- ...config,
365
- url: `/entitlement/entitlement`,
366
- method: 'PUT',
367
- params: query,
368
- data: data,
369
- secure: true,
370
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
371
- });
372
- }
373
- /**
374
- * @description If an entitlement is being used in a datasource, it cannot be deleted.
375
- * @tags Entitlement
376
- * @name DeleteEntitlement
377
- * @summary Delete an existing Entitlement - Super admin - available in Microservice
378
- * @request DELETE:/api/entitlement/entitlement
379
- * @secure
380
- */ deleteEntitlement(query, config) {
381
- return this.apiClient.request({
382
- ...config,
383
- url: `/entitlement/entitlement`,
384
- method: 'DELETE',
385
- params: query,
386
- secure: true
387
- });
388
- }
389
- /**
390
- * @tags Entitlement
391
- * @name GetUserEntitlement
392
- * @summary Query a specific UserEntitlement by userid and eneitlement name - End user itself, or firm manager, or super admin - available in Microservice
393
- * @request GET:/api/entitlement/user-entitlement
394
- * @secure
395
- */ getUserEntitlement(query, config) {
396
- return this.apiClient.request({
397
- ...config,
398
- url: `/entitlement/user-entitlement`,
399
- method: 'GET',
400
- params: query,
401
- secure: true,
402
- responseType: 'json'
403
- });
404
- }
405
- /**
406
- * @tags Entitlement
407
- * @name GetUserEntitlementList
408
- * @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
409
- * @request GET:/api/entitlement/user-entitlement-list
410
- * @secure
411
- */ getUserEntitlementList(query, config) {
412
- return this.apiClient.request({
413
- ...config,
414
- url: `/entitlement/user-entitlement-list`,
415
- method: 'GET',
416
- params: query,
417
- secure: true,
418
- responseType: 'json'
419
- });
420
- }
421
- /**
422
- * @tags Entitlement
423
- * @name GetEntitlementUserList
424
- * @summary Query all UserEntitlements for a specific Entitlement - Super admin - available in Microservice, POST with pagination and sort
425
- * @request GET:/api/entitlement/entitlement-user-list
426
- * @secure
427
- */ getEntitlementUserList(query, config) {
428
- return this.apiClient.request({
429
- ...config,
430
- url: `/entitlement/entitlement-user-list`,
431
- method: 'GET',
432
- params: query,
433
- secure: true,
434
- responseType: 'json'
435
- });
436
- }
437
- /**
438
- * @tags Entitlement
439
- * @name GetUserEntitlementHistory
440
- * @summary Query history for a UserEntitlement - Super admin - available in Microservice, POST with pagination and sort
441
- * @request GET:/api/entitlement/user-entitlement-history
442
- * @secure
443
- */ getUserEntitlementHistory(query, config) {
444
- return this.apiClient.request({
445
- ...config,
446
- url: `/entitlement/user-entitlement-history`,
447
- method: 'GET',
448
- params: query,
449
- secure: true,
450
- responseType: 'json'
451
- });
452
- }
453
- /**
454
- * @description Create a new UserEntitlement if not existing previously. Update UserEntitlement if already exists.
455
- * @tags Entitlement
456
- * @name PutSignEntitlement
457
- * @summary Sign a UserEntitlement - All users - available in Microservice
458
- * @request PUT:/api/entitlement/sign-entitlement
459
- * @secure
460
- */ putSignEntitlement(data, config) {
461
- return this.apiClient.request({
462
- ...config,
463
- url: `/entitlement/sign-entitlement`,
464
- method: 'PUT',
465
- data: data,
466
- secure: true,
467
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
468
- });
469
- }
470
- /**
471
- * @tags Entitlement
472
- * @name PutUnsignEntitlement
473
- * @summary Unsign a UserEntitlement - End user itself, or firm manager, or super admin - available in Microservice
474
- * @request PUT:/api/entitlement/unsign-entitlement
475
- * @secure
476
- */ putUnsignEntitlement(query, config) {
477
- return this.apiClient.request({
478
- ...config,
479
- url: `/entitlement/unsign-entitlement`,
480
- method: 'PUT',
481
- params: query,
482
- secure: true
483
- });
484
- }
485
- /**
486
- * @tags Entitlement
487
- * @name GetContractsCount
488
- * @summary For ViewTrade admin to Get contract counts for a specific firm and entitlement - Super admin - available in Microservice
489
- * @request GET:/api/entitlement/contracts-count
490
- * @secure
491
- */ getContractsCount(query, config) {
492
- return this.apiClient.request({
493
- ...config,
494
- url: `/entitlement/contracts-count`,
495
- method: 'GET',
496
- params: query,
497
- secure: true,
498
- responseType: 'json'
499
- });
500
- }
501
- /**
502
- * @tags Entitlement
503
- * @name PostContractsReport
504
- * @summary For ViewTrade admin to generate contract counts report for a specific firm and entitlement with paginition and sort - Super admin - available in Microservice
505
- * @request POST:/api/entitlement/contracts-report
506
- * @secure
507
- */ postContractsReport(data, query, config) {
508
- return this.apiClient.request({
509
- ...config,
510
- url: `/entitlement/contracts-report`,
511
- method: 'POST',
512
- params: query,
513
- data: data,
514
- secure: true,
515
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
516
- responseType: 'json'
517
- });
518
- }
519
- /**
520
- * @tags Entitlement
521
- * @name GetFirmEntitlement
522
- * @summary Query a specific FirmEntitlement - Firm manager, or super admin - available in Microservice
523
- * @request GET:/api/entitlement/firm-entitlement
524
- * @secure
525
- */ getFirmEntitlement(query, config) {
526
- return this.apiClient.request({
527
- ...config,
528
- url: `/entitlement/firm-entitlement`,
529
- method: 'GET',
530
- params: query,
531
- secure: true,
532
- responseType: 'json'
533
- });
534
- }
535
- /**
536
- * @tags Entitlement
537
- * @name PostFirmEntitlement
538
- * @summary Create a new FirmEntitlement - Super admin - available in Microservice
539
- * @request POST:/api/entitlement/firm-entitlement
540
- * @secure
541
- */ postFirmEntitlement(data, config) {
542
- return this.apiClient.request({
543
- ...config,
544
- url: `/entitlement/firm-entitlement`,
545
- method: 'POST',
546
- data: data,
547
- secure: true,
548
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
549
- responseType: 'json'
550
- });
551
- }
552
- /**
553
- * @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.
554
- * @tags Entitlement
555
- * @name PutFirmEntitlement
556
- * @summary Upadte an existing FirmEntitlement - Super admin - available in Microservice
557
- * @request PUT:/api/entitlement/firm-entitlement
558
- * @secure
559
- */ putFirmEntitlement(data, query, config) {
560
- return this.apiClient.request({
561
- ...config,
562
- url: `/entitlement/firm-entitlement`,
563
- method: 'PUT',
564
- params: query,
565
- data: data,
566
- secure: true,
567
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
568
- });
569
- }
570
- /**
571
- * @description !Caution! This action will unsign all UserEntitlements in this firm for the relevant entitlement.
572
- * @tags Entitlement
573
- * @name DeleteFirmEntitlement
574
- * @summary Delete an existing FirmEntitlement - Super admin - available in Microservice
575
- * @request DELETE:/api/entitlement/firm-entitlement
576
- * @secure
577
- */ deleteFirmEntitlement(query, config) {
578
- return this.apiClient.request({
579
- ...config,
580
- url: `/entitlement/firm-entitlement`,
581
- method: 'DELETE',
582
- params: query,
583
- secure: true
584
- });
585
- }
586
- /**
587
- * @tags Entitlement
588
- * @name GetFirmEntitlementList
589
- * @summary Query all FirmEntitlements for a specific firm - Firm manager, or super admin - available in Microservice, POST with pagination and sort
590
- * @request GET:/api/entitlement/firm-entitlement-list
591
- * @secure
592
- */ getFirmEntitlementList(query, config) {
593
- return this.apiClient.request({
594
- ...config,
595
- url: `/entitlement/firm-entitlement-list`,
596
- method: 'GET',
597
- params: query,
598
- secure: true,
599
- responseType: 'json'
600
- });
601
- }
602
- /**
603
- * @tags Entitlement
604
- * @name GetEntitlementFirmList
605
- * @summary Query all FirmEntitlements for a specific Entitlement - Super admin - available in Microservice, POST with pagination and sort
606
- * @request GET:/api/entitlement/entitlement-firm-list
607
- * @secure
608
- */ getEntitlementFirmList(query, config) {
609
- return this.apiClient.request({
610
- ...config,
611
- url: `/entitlement/entitlement-firm-list`,
612
- method: 'GET',
613
- params: query,
614
- secure: true,
615
- responseType: 'json'
616
- });
617
- }
618
- /**
619
- * @tags Entitlement
620
- * @name GetFirmEntitlementHistory
621
- * @summary Query history of a specific FirmEntitlement - Super admin - available in Microservice, POST with pagination and sort
622
- * @request GET:/api/entitlement/firm-entitlement-history
623
- * @secure
624
- */ getFirmEntitlementHistory(query, config) {
625
- return this.apiClient.request({
626
- ...config,
627
- url: `/entitlement/firm-entitlement-history`,
628
- method: 'GET',
629
- params: query,
630
- secure: true,
631
- responseType: 'json'
632
- });
633
- }
634
- }
635
-
636
-
637
- var $94a67bf1856cdfc2$exports = {};
638
-
639
- $parcel$export($94a67bf1856cdfc2$exports, "DataSource", () => $94a67bf1856cdfc2$export$accd73d198d77d2f);
640
- /* eslint-disable */ /* tslint:disable */ /*
641
- * ---------------------------------------------------------------
642
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
643
- * ## ##
644
- * ## AUTHOR: acacode ##
645
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
646
- * ---------------------------------------------------------------
647
- */
648
-
649
- class $94a67bf1856cdfc2$export$accd73d198d77d2f {
650
- constructor(apiClient){
651
- this.apiClient = apiClient;
652
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
653
- }
654
- /**
655
- * @description All parameters are optional
656
- * @tags DataSource
657
- * @name GetDataSourceList
658
- * @summary Query all DataSources in the whole system with optional filters - All users - available in Microservice, POST with pagination and sort
659
- * @request GET:/api/datasource/data-source-list
660
- * @secure
661
- */ getDataSourceList(query, config) {
662
- return this.apiClient.request({
663
- ...config,
664
- url: `/datasource/data-source-list`,
665
- method: 'GET',
666
- params: query,
667
- secure: true,
668
- responseType: 'json'
669
- });
670
- }
671
- /**
672
- * @tags DataSource
673
- * @name GetDataSource
674
- * @summary Query a specific DataSource by unique DataSource Name - All users - available in Microservice
675
- * @request GET:/api/datasource/data-source
676
- * @secure
677
- */ getDataSource(query, config) {
678
- return this.apiClient.request({
679
- ...config,
680
- url: `/datasource/data-source`,
681
- method: 'GET',
682
- params: query,
683
- secure: true,
684
- responseType: 'json'
685
- });
686
- }
687
- /**
688
- * @description Create a new DataSource with/without an existing Entitlement
689
- * @tags DataSource
690
- * @name PostDataSource
691
- * @summary Create a new DataSource - Super admin - available in Microservice
692
- * @request POST:/api/datasource/data-source
693
- * @secure
694
- */ postDataSource(data, config) {
695
- return this.apiClient.request({
696
- ...config,
697
- url: `/datasource/data-source`,
698
- method: 'POST',
699
- data: data,
700
- secure: true,
701
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
702
- responseType: 'json'
703
- });
704
- }
705
- /**
706
- * @description If modification is Entitlement related, server will unsign old entitlement in firms and users
707
- * @tags DataSource
708
- * @name PutDataSource
709
- * @summary Update an existing DataSource - Super admin - available in Microservice
710
- * @request PUT:/api/datasource/data-source
711
- * @secure
712
- */ putDataSource(data, query, config) {
713
- return this.apiClient.request({
714
- ...config,
715
- url: `/datasource/data-source`,
716
- method: 'PUT',
717
- params: query,
718
- data: data,
719
- secure: true,
720
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
721
- });
722
- }
723
- /**
724
- * @description !Caution! It will remove all related data setting and unsign all related entitlement in firms and users
725
- * @tags DataSource
726
- * @name DeleteDataSource
727
- * @summary Delete an existing DataSource - Super admin - available in Microservice
728
- * @request DELETE:/api/datasource/data-source
729
- * @secure
730
- */ deleteDataSource(query, config) {
731
- return this.apiClient.request({
732
- ...config,
733
- url: `/datasource/data-source`,
734
- method: 'DELETE',
735
- params: query,
736
- secure: true
737
- });
738
- }
739
- /**
740
- * @tags DataSource
741
- * @name GetDataSourceBitMapping
742
- * @summary Get All DataSource Bit Mappings - All users - available in Microservice
743
- * @request GET:/api/datasource/data-source-bit-mapping
744
- * @secure
745
- */ getDataSourceBitMapping(config) {
746
- return this.apiClient.request({
747
- ...config,
748
- url: `/datasource/data-source-bit-mapping`,
749
- method: 'GET',
750
- secure: true
751
- });
752
- }
753
- /**
754
- * @tags DataSource
755
- * @name GetDataSourceTallyCount
756
- * @summary For ViewTrade admin to generate data source tally report - Super admin - available in Microservice
757
- * @request GET:/api/datasource/data-source-tally-count
758
- * @secure
759
- */ getDataSourceTallyCount(config) {
760
- return this.apiClient.request({
761
- ...config,
762
- url: `/datasource/data-source-tally-count`,
763
- method: 'GET',
764
- secure: true,
765
- responseType: 'json'
766
- });
767
- }
768
- /**
769
- * @tags DataSource
770
- * @name PostDataSourceTallyReport
771
- * @summary For ViewTrade admin to generate data source tally report with Pagination and Sort - Super admin - available in Microservice
772
- * @request POST:/api/datasource/data-source-tally-report
773
- * @secure
774
- */ postDataSourceTallyReport(data, query, config) {
775
- return this.apiClient.request({
776
- ...config,
777
- url: `/datasource/data-source-tally-report`,
778
- method: 'POST',
779
- params: query,
780
- data: data,
781
- secure: true,
782
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
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 $da89e2663382a79a$exports = {};
1296
-
1297
- $parcel$export($da89e2663382a79a$exports, "Quote", () => $da89e2663382a79a$export$82b8d343c504672);
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
-
1307
- class $da89e2663382a79a$export$82b8d343c504672 {
1308
- constructor(apiClient){
1309
- this.apiClient = apiClient;
1310
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1311
- }
1312
- /**
1313
- * @tags Quote
1314
- * @name PostSymbolSearch
1315
- * @summary Symbol screener - All users - available in Microservice version
1316
- * @request POST:/api/quote/symbol-search
1317
- * @secure
1318
- */ postSymbolSearch(data, query, config) {
1319
- return this.apiClient.request({
1320
- ...config,
1321
- url: `/quote/symbol-search`,
1322
- method: 'POST',
1323
- params: query,
1324
- data: data,
1325
- secure: true,
1326
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1327
- responseType: 'json'
1328
- });
1329
- }
1330
- /**
1331
- * @tags Quote
1332
- * @name GetBestQuote
1333
- * @summary Query Best Quote(Level 1 data) - All users - available in Microservice
1334
- * @request GET:/api/quote/best-quote
1335
- * @secure
1336
- */ getBestQuote(query, config) {
1337
- return this.apiClient.request({
1338
- ...config,
1339
- url: `/quote/best-quote`,
1340
- method: 'GET',
1341
- params: query,
1342
- secure: true,
1343
- responseType: 'json'
1344
- });
1345
- }
1346
- /**
1347
- * @tags Quote
1348
- * @name GetNbboSnapshot
1349
- * @summary Query NBBO Snapshot - All users - available in Microservice
1350
- * @request GET:/api/quote/nbbo-snapshot
1351
- * @secure
1352
- */ getNbboSnapshot(query, config) {
1353
- return this.apiClient.request({
1354
- ...config,
1355
- url: `/quote/nbbo-snapshot`,
1356
- method: 'GET',
1357
- params: query,
1358
- secure: true,
1359
- responseType: 'json'
1360
- });
1361
- }
1362
- /**
1363
- * @tags Quote
1364
- * @name GetLevel1
1365
- * @summary Query full Level 1 data - All users - available in Microservice
1366
- * @request GET:/api/quote/level1
1367
- * @secure
1368
- */ getLevel1(query, config) {
1369
- return this.apiClient.request({
1370
- ...config,
1371
- url: `/quote/level1`,
1372
- method: 'GET',
1373
- params: query,
1374
- secure: true,
1375
- responseType: 'json'
1376
- });
1377
- }
1378
- /**
1379
- * @tags Quote
1380
- * @name GetRegionQuotes
1381
- * @summary Query Region Quotes from Tick data - All users - available in Microservice
1382
- * @request GET:/api/quote/region-quotes
1383
- * @secure
1384
- */ getRegionQuotes(query, config) {
1385
- return this.apiClient.request({
1386
- ...config,
1387
- url: `/quote/region-quotes`,
1388
- method: 'GET',
1389
- params: query,
1390
- secure: true,
1391
- responseType: 'json'
1392
- });
1393
- }
1394
- /**
1395
- * @tags Quote
1396
- * @name GetTimeSale
1397
- * @summary Query TimeSale from Tick data - All users - available in Microservice
1398
- * @request GET:/api/quote/time-sale
1399
- * @secure
1400
- */ getTimeSale(query, config) {
1401
- return this.apiClient.request({
1402
- ...config,
1403
- url: `/quote/time-sale`,
1404
- method: 'GET',
1405
- params: query,
1406
- secure: true,
1407
- responseType: 'json'
1408
- });
1409
- }
1410
- /**
1411
- * @tags Quote
1412
- * @name GetLastTrade
1413
- * @summary Query Last Trade(Level 2 data) - All users - available in Microservice
1414
- * @request GET:/api/quote/last-trade
1415
- * @secure
1416
- */ getLastTrade(query, config) {
1417
- return this.apiClient.request({
1418
- ...config,
1419
- url: `/quote/last-trade`,
1420
- method: 'GET',
1421
- params: query,
1422
- secure: true,
1423
- responseType: 'json'
1424
- });
1425
- }
1426
- /**
1427
- * @tags Quote
1428
- * @name GetIntradayChart
1429
- * @summary Query intra-day Day Chart and Minute Chart - All users - available in Microservice
1430
- * @request GET:/api/quote/intraday-chart
1431
- * @secure
1432
- */ getIntradayChart(query, config) {
1433
- return this.apiClient.request({
1434
- ...config,
1435
- url: `/quote/intraday-chart`,
1436
- method: 'GET',
1437
- params: query,
1438
- secure: true,
1439
- responseType: 'json'
1440
- });
1441
- }
1442
- /**
1443
- * @tags Quote
1444
- * @name GetHistoricalDayChart
1445
- * @summary Query Historical Day Chart - All users - available in Microservice
1446
- * @request GET:/api/quote/historical-day-chart
1447
- * @secure
1448
- */ getHistoricalDayChart(query, config) {
1449
- return this.apiClient.request({
1450
- ...config,
1451
- url: `/quote/historical-day-chart`,
1452
- method: 'GET',
1453
- params: query,
1454
- secure: true,
1455
- responseType: 'json'
1456
- });
1457
- }
1458
- /**
1459
- * @tags Quote
1460
- * @name GetHistoricalMinuteChart
1461
- * @summary Query Historical Minute Chart - All users - available in Microservice
1462
- * @request GET:/api/quote/historical-minute-chart
1463
- * @secure
1464
- */ getHistoricalMinuteChart(query, config) {
1465
- return this.apiClient.request({
1466
- ...config,
1467
- url: `/quote/historical-minute-chart`,
1468
- method: 'GET',
1469
- params: query,
1470
- secure: true,
1471
- responseType: 'json'
1472
- });
1473
- }
1474
- /**
1475
- * @tags Quote
1476
- * @name GetTop20
1477
- * @summary Query Top20 data - All users - available in Microservice
1478
- * @request GET:/api/quote/top-20
1479
- * @secure
1480
- */ getTop20(query, config) {
1481
- return this.apiClient.request({
1482
- ...config,
1483
- url: `/quote/top-20`,
1484
- method: 'GET',
1485
- params: query,
1486
- secure: true,
1487
- responseType: 'json'
1488
- });
1489
- }
1490
- /**
1491
- * @tags Quote
1492
- * @name GetOptionChainDates
1493
- * @summary Query Option Chain dates - All users - available in Microservice
1494
- * @request GET:/api/quote/option-chain-dates
1495
- * @secure
1496
- */ getOptionChainDates(query, config) {
1497
- return this.apiClient.request({
1498
- ...config,
1499
- url: `/quote/option-chain-dates`,
1500
- method: 'GET',
1501
- params: query,
1502
- secure: true,
1503
- responseType: 'json'
1504
- });
1505
- }
1506
- /**
1507
- * @tags Quote
1508
- * @name GetOptionChain
1509
- * @summary Query Option Chain data - All users - available in Microservice
1510
- * @request GET:/api/quote/option-chain
1511
- * @secure
1512
- */ getOptionChain(query, config) {
1513
- return this.apiClient.request({
1514
- ...config,
1515
- url: `/quote/option-chain`,
1516
- method: 'GET',
1517
- params: query,
1518
- secure: true,
1519
- responseType: 'json'
1520
- });
1521
- }
1522
- /**
1523
- * @tags Quote
1524
- * @name GetOptionLevel1
1525
- * @summary Query Option Level 1 data - All users - available in Microservice
1526
- * @request GET:/api/quote/option-level1
1527
- * @secure
1528
- */ getOptionLevel1(query, config) {
1529
- return this.apiClient.request({
1530
- ...config,
1531
- url: `/quote/option-level1`,
1532
- method: 'GET',
1533
- params: query,
1534
- secure: true,
1535
- responseType: 'json'
1536
- });
1537
- }
1538
- /**
1539
- * @tags Quote
1540
- * @name GetOptionLevel1WithGreek
1541
- * @summary Query Option Level 1 data - All users - available in Microservice
1542
- * @request GET:/api/quote/option-level1-with-greek
1543
- * @secure
1544
- */ getOptionLevel1WithGreek(query, config) {
1545
- return this.apiClient.request({
1546
- ...config,
1547
- url: `/quote/option-level1-with-greek`,
1548
- method: 'GET',
1549
- params: query,
1550
- secure: true,
1551
- responseType: 'json'
1552
- });
1553
- }
1554
- /**
1555
- * @tags Quote
1556
- * @name GetOptionDayChart
1557
- * @summary Query Option Day Chart - All users - available in Microservice
1558
- * @request GET:/api/quote/option-day-chart
1559
- * @secure
1560
- */ getOptionDayChart(query, config) {
1561
- return this.apiClient.request({
1562
- ...config,
1563
- url: `/quote/option-day-chart`,
1564
- method: 'GET',
1565
- params: query,
1566
- secure: true,
1567
- responseType: 'json'
1568
- });
1569
- }
1570
- /**
1571
- * @tags Quote
1572
- * @name GetEquiductLevel1
1573
- * @summary Query Equiduct Level 1 data - All users - available in Microservice
1574
- * @request GET:/api/quote/equiduct-level1
1575
- * @secure
1576
- */ getEquiductLevel1(query, config) {
1577
- return this.apiClient.request({
1578
- ...config,
1579
- url: `/quote/equiduct-level1`,
1580
- method: 'GET',
1581
- params: query,
1582
- secure: true,
1583
- responseType: 'json'
1584
- });
1585
- }
1586
- /**
1587
- * @tags Quote
1588
- * @name GetBonds
1589
- * @summary Query Bonds data - All users - available in Microservice
1590
- * @request GET:/api/quote/bonds
1591
- * @secure
1592
- */ getBonds(query, config) {
1593
- return this.apiClient.request({
1594
- ...config,
1595
- url: `/quote/bonds`,
1596
- method: 'GET',
1597
- params: query,
1598
- secure: true,
1599
- responseType: 'json'
1600
- });
1601
- }
1602
- /**
1603
- * @tags Quote
1604
- * @name GetBondsSearch
1605
- * @summary Search bonds - All users - available in Microservice
1606
- * @request GET:/api/quote/bonds-search
1607
- * @secure
1608
- */ getBondsSearch(query, config) {
1609
- return this.apiClient.request({
1610
- ...config,
1611
- url: `/quote/bonds-search`,
1612
- method: 'GET',
1613
- params: query,
1614
- secure: true
1615
- });
1616
- }
1617
- /**
1618
- * @tags Quote
1619
- * @name GetBondsChart
1620
- * @summary Query Bonds historical chart data - All users - available in Microservice
1621
- * @request GET:/api/quote/bonds-chart
1622
- * @secure
1623
- */ getBondsChart(query, config) {
1624
- return this.apiClient.request({
1625
- ...config,
1626
- url: `/quote/bonds-chart`,
1627
- method: 'GET',
1628
- params: query,
1629
- secure: true,
1630
- responseType: 'json'
1631
- });
1632
- }
1633
- /**
1634
- * @tags Quote
1635
- * @name GetMutualFunds
1636
- * @summary Query Mutual Funds data - All users - available in Microservice
1637
- * @request GET:/api/quote/mutual-funds
1638
- * @secure
1639
- */ getMutualFunds(query, config) {
1640
- return this.apiClient.request({
1641
- ...config,
1642
- url: `/quote/mutual-funds`,
1643
- method: 'GET',
1644
- params: query,
1645
- secure: true,
1646
- responseType: 'json'
1647
- });
1648
- }
1649
- /**
1650
- * @tags Quote
1651
- * @name GetQuoddEod
1652
- * @summary Query QUODD EOD data - All users - available in Microservice
1653
- * @request GET:/api/quote/quodd-eod
1654
- * @secure
1655
- */ getQuoddEod(query, config) {
1656
- return this.apiClient.request({
1657
- ...config,
1658
- url: `/quote/quodd-eod`,
1659
- method: 'GET',
1660
- params: query,
1661
- secure: true,
1662
- responseType: 'json'
1663
- });
1664
- }
1665
- /**
1666
- * @tags Quote
1667
- * @name GetQuoddDelay
1668
- * @summary Query QUODD Delay data - All users - available in Microservice
1669
- * @request GET:/api/quote/quodd-delay
1670
- * @secure
1671
- */ getQuoddDelay(query, config) {
1672
- return this.apiClient.request({
1673
- ...config,
1674
- url: `/quote/quodd-delay`,
1675
- method: 'GET',
1676
- params: query,
1677
- secure: true,
1678
- responseType: 'json'
1679
- });
1680
- }
1681
- /**
1682
- * @tags Quote
1683
- * @name GetIceIsin
1684
- * @summary Query ICE ISIN data - All users - available in Microservice
1685
- * @request GET:/api/quote/ice-isin
1686
- * @secure
1687
- */ getIceIsin(query, config) {
1688
- return this.apiClient.request({
1689
- ...config,
1690
- url: `/quote/ice-isin`,
1691
- method: 'GET',
1692
- params: query,
1693
- secure: true,
1694
- responseType: 'json'
1695
- });
1696
- }
1697
- /**
1698
- * @tags Quote
1699
- * @name GetIceEod
1700
- * @summary Query ICE EOD data - All users - available in Microservice
1701
- * @request GET:/api/quote/ice-eod
1702
- * @secure
1703
- */ getIceEod(query, config) {
1704
- return this.apiClient.request({
1705
- ...config,
1706
- url: `/quote/ice-eod`,
1707
- method: 'GET',
1708
- params: query,
1709
- secure: true,
1710
- responseType: 'json'
1711
- });
1712
- }
1713
- /**
1714
- * @tags Quote
1715
- * @name GetFxRate
1716
- * @summary Query Forex data with symbols - All users - available in Microservice
1717
- * @request GET:/api/quote/fx-rate
1718
- * @secure
1719
- */ getFxRate(query, config) {
1720
- return this.apiClient.request({
1721
- ...config,
1722
- url: `/quote/fx-rate`,
1723
- method: 'GET',
1724
- params: query,
1725
- secure: true,
1726
- responseType: 'json'
1727
- });
1728
- }
1729
- /**
1730
- * @tags Quote
1731
- * @name GetFxTable
1732
- * @summary Query Forex table for one currency - All users - available in Microservice
1733
- * @request GET:/api/quote/fx-table
1734
- * @secure
1735
- */ getFxTable(query, config) {
1736
- return this.apiClient.request({
1737
- ...config,
1738
- url: `/quote/fx-table`,
1739
- method: 'GET',
1740
- params: query,
1741
- secure: true,
1742
- responseType: 'json'
1743
- });
1744
- }
1745
- }
1746
-
1747
-
1748
- var $cbc117ce07829f62$exports = {};
1749
-
1750
- $parcel$export($cbc117ce07829f62$exports, "QuotesReformat", () => $cbc117ce07829f62$export$304305f55794ea0e);
1751
- /* eslint-disable */ /* tslint:disable */ /*
1752
- * ---------------------------------------------------------------
1753
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1754
- * ## ##
1755
- * ## AUTHOR: acacode ##
1756
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1757
- * ---------------------------------------------------------------
1758
- */
1759
- class $cbc117ce07829f62$export$304305f55794ea0e {
1760
- constructor(apiClient){
1761
- this.apiClient = apiClient;
1762
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1763
- }
1764
- /**
1765
- * @tags QuotesReformat
1766
- * @name GetEquity
1767
- * @summary Query full Level 1 data - All users - available in Microservice
1768
- * @request GET:/api/quotes/equity
1769
- * @secure
1770
- */ getEquity(query, config) {
1771
- return this.apiClient.request({
1772
- ...config,
1773
- url: `/quotes/equity`,
1774
- method: 'GET',
1775
- params: query,
1776
- secure: true,
1777
- responseType: 'json'
1778
- });
1779
- }
1780
- /**
1781
- * @tags QuotesReformat
1782
- * @name GetEquityIntraday
1783
- * @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
1784
- * @request GET:/api/quotes/equity/intraday
1785
- * @secure
1786
- */ getEquityIntraday(query, config) {
1787
- return this.apiClient.request({
1788
- ...config,
1789
- url: `/quotes/equity/intraday`,
1790
- method: 'GET',
1791
- params: query,
1792
- secure: true,
1793
- responseType: 'json'
1794
- });
1795
- }
1796
- /**
1797
- * @tags QuotesReformat
1798
- * @name GetOptionHistorical
1799
- * @summary Query option Day Chart. No weekly data point support yet. No rsiSpan support. - All users - available in Microservice
1800
- * @request GET:/api/quotes/option/historical
1801
- * @secure
1802
- */ getOptionHistorical(query, config) {
1803
- return this.apiClient.request({
1804
- ...config,
1805
- url: `/quotes/option/historical`,
1806
- method: 'GET',
1807
- params: query,
1808
- secure: true,
1809
- responseType: 'json'
1810
- });
1811
- }
1812
- /**
1813
- * @tags QuotesReformat
1814
- * @name GetSearch
1815
- * @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
1816
- * @request GET:/api/quotes/search
1817
- * @secure
1818
- */ getSearch(query, config) {
1819
- return this.apiClient.request({
1820
- ...config,
1821
- url: `/quotes/search`,
1822
- method: 'GET',
1823
- params: query,
1824
- secure: true
1825
- });
1826
- }
1827
- /**
1828
- * @tags QuotesReformat
1829
- * @name GetOption
1830
- * @summary Query Option Level 1 data - All users - available in Microservice
1831
- * @request GET:/api/quotes/option
1832
- * @secure
1833
- */ getOption(query, config) {
1834
- return this.apiClient.request({
1835
- ...config,
1836
- url: `/quotes/option`,
1837
- method: 'GET',
1838
- params: query,
1839
- secure: true,
1840
- responseType: 'json'
1841
- });
1842
- }
1843
- /**
1844
- * @tags QuotesReformat
1845
- * @name GetOptionChainDates
1846
- * @summary Query Option Chain dates - All users - available in Microservice
1847
- * @request GET:/api/quotes/option/chain/dates/{symbol}
1848
- * @secure
1849
- */ getOptionChainDates(symbol, query, config) {
1850
- return this.apiClient.request({
1851
- ...config,
1852
- url: `/quotes/option/chain/dates/${symbol}`,
1853
- method: 'GET',
1854
- params: query,
1855
- secure: true,
1856
- responseType: 'json'
1857
- });
1858
- }
1859
- /**
1860
- * @tags QuotesReformat
1861
- * @name GetOptionChain
1862
- * @summary Query Option Chain data - All users - available in Microservice
1863
- * @request GET:/api/quotes/option/chain/{symbol}/{date}
1864
- * @secure
1865
- */ getOptionChain(symbol, date, query, config) {
1866
- return this.apiClient.request({
1867
- ...config,
1868
- url: `/quotes/option/chain/${symbol}/${date}`,
1869
- method: 'GET',
1870
- params: query,
1871
- secure: true,
1872
- responseType: 'json'
1873
- });
1874
- }
1875
- /**
1876
- * @tags QuotesReformat
1877
- * @name GetEquityHistorical
1878
- * @summary Query Historical Day Chart. No weekly data point support yet. No rsiSpan support. - All users - available in Microservice
1879
- * @request GET:/api/quotes/equity/historical
1880
- * @secure
1881
- */ getEquityHistorical(query, config) {
1882
- return this.apiClient.request({
1883
- ...config,
1884
- url: `/quotes/equity/historical`,
1885
- method: 'GET',
1886
- params: query,
1887
- secure: true,
1888
- responseType: 'json'
1889
- });
1890
- }
1891
- /**
1892
- * @tags QuotesReformat
1893
- * @name GetBonds
1894
- * @summary Query Bonds data - All users - available in Microservice
1895
- * @request GET:/api/quotes/bonds
1896
- * @secure
1897
- */ getBonds(query, config) {
1898
- return this.apiClient.request({
1899
- ...config,
1900
- url: `/quotes/bonds`,
1901
- method: 'GET',
1902
- params: query,
1903
- secure: true,
1904
- responseType: 'json'
1905
- });
1906
- }
1907
- /**
1908
- * @tags QuotesReformat
1909
- * @name GetBondsSearch
1910
- * @summary Search bonds - All users - available in Microservice
1911
- * @request GET:/api/quotes/bonds/search
1912
- * @secure
1913
- */ getBondsSearch(query, config) {
1914
- return this.apiClient.request({
1915
- ...config,
1916
- url: `/quotes/bonds/search`,
1917
- method: 'GET',
1918
- params: query,
1919
- secure: true
1920
- });
1921
- }
1922
- /**
1923
- * @tags QuotesReformat
1924
- * @name GetQuotesReformat
1925
- * @summary Query Forex rate - All users - available in Microservice
1926
- * @request GET:/api/quotes/fx
1927
- * @secure
1928
- */ getQuotesReformat(query, config) {
1929
- return this.apiClient.request({
1930
- ...config,
1931
- url: `/quotes/fx`,
1932
- method: 'GET',
1933
- params: query,
1934
- secure: true,
1935
- responseType: 'json'
1936
- });
1937
- }
1938
- }
1939
-
1940
-
1941
- var $4d5b3f9351815345$exports = {};
1942
-
1943
- $parcel$export($4d5b3f9351815345$exports, "UmaTest", () => $4d5b3f9351815345$export$51933dbbacfe440f);
1944
- /* eslint-disable */ /* tslint:disable */ /*
1945
- * ---------------------------------------------------------------
1946
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1947
- * ## ##
1948
- * ## AUTHOR: acacode ##
1949
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1950
- * ---------------------------------------------------------------
1951
- */
1952
- class $4d5b3f9351815345$export$51933dbbacfe440f {
1953
- constructor(apiClient){
1954
- this.apiClient = apiClient;
1955
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
1956
- }
1957
- /**
1958
- * @tags UMATest
1959
- * @name GetRevokeUmaUser
1960
- * @summary Test to revoke uma user - internal use only - Super admin - available in Microservice
1961
- * @request GET:/api/uma-test/revoke-uma-user
1962
- * @secure
1963
- */ getRevokeUmaUser(query, config) {
1964
- return this.apiClient.request({
1965
- ...config,
1966
- url: `/uma-test/revoke-uma-user`,
1967
- method: 'GET',
1968
- params: query,
1969
- secure: true
1970
- });
1971
- }
1972
- /**
1973
- * @tags UMATest
1974
- * @name GetFirmList
1975
- * @summary Test to get all uma firms - internal use only - Super admin - available in Microservice
1976
- * @request GET:/api/uma-test/firm-list
1977
- * @secure
1978
- */ getFirmList(config) {
1979
- return this.apiClient.request({
1980
- ...config,
1981
- url: `/uma-test/firm-list`,
1982
- method: 'GET',
1983
- secure: true,
1984
- responseType: 'json'
1985
- });
1986
- }
1987
- /**
1988
- * @tags UMATest
1989
- * @name GetFirmListToLocal
1990
- * @summary Import all uma firms to AES - internal use only - Super admin - available in Microservice
1991
- * @request GET:/api/uma-test/firm-list-to-local
1992
- * @secure
1993
- */ getFirmListToLocal(config) {
1994
- return this.apiClient.request({
1995
- ...config,
1996
- url: `/uma-test/firm-list-to-local`,
1997
- method: 'GET',
1998
- secure: true
1999
- });
2000
- }
2001
- /**
2002
- * @tags UMATest
2003
- * @name GetB2BUserById
2004
- * @summary Test to get uma b2b user by user_id - internal use only - Super admin - available in Microservice
2005
- * @request GET:/api/uma-test/b2b-user-by-id
2006
- * @secure
2007
- */ getB2BUserById(query, config) {
2008
- return this.apiClient.request({
2009
- ...config,
2010
- url: `/uma-test/b2b-user-by-id`,
2011
- method: 'GET',
2012
- params: query,
2013
- secure: true,
2014
- responseType: 'json'
2015
- });
2016
- }
2017
- /**
2018
- * @tags UMATest
2019
- * @name GetB2BUserList
2020
- * @summary Test to get all uma b2b users - internal use only - Super admin - available in Microservice
2021
- * @request GET:/api/uma-test/b2b-user-list
2022
- * @secure
2023
- */ getB2BUserList(config) {
2024
- return this.apiClient.request({
2025
- ...config,
2026
- url: `/uma-test/b2b-user-list`,
2027
- method: 'GET',
2028
- secure: true,
2029
- responseType: 'json'
2030
- });
2031
- }
2032
- /**
2033
- * @tags UMATest
2034
- * @name GetB2BUserListToLocal
2035
- * @summary Import all uma b2b users to AES - internal use only - Super admin - available in Microservice
2036
- * @request GET:/api/uma-test/b2b-user-list-to-local
2037
- * @secure
2038
- */ getB2BUserListToLocal(config) {
2039
- return this.apiClient.request({
2040
- ...config,
2041
- url: `/uma-test/b2b-user-list-to-local`,
2042
- method: 'GET',
2043
- secure: true
2044
- });
2045
- }
2046
- /**
2047
- * @tags UMATest
2048
- * @name GetB2CUserById
2049
- * @summary Test to get uma b2c user by user_id - internal use only - Super admin - available in Microservice
2050
- * @request GET:/api/uma-test/b2c-user-by-id
2051
- * @secure
2052
- */ getB2CUserById(query, config) {
2053
- return this.apiClient.request({
2054
- ...config,
2055
- url: `/uma-test/b2c-user-by-id`,
2056
- method: 'GET',
2057
- params: query,
2058
- secure: true,
2059
- responseType: 'json'
2060
- });
2061
- }
2062
- /**
2063
- * @tags UMATest
2064
- * @name GetB2CUserList
2065
- * @summary Test to get all uma b2c users - internal use only - Super admin - available in Microservice
2066
- * @request GET:/api/uma-test/b2c-user-list
2067
- * @secure
2068
- */ getB2CUserList(config) {
2069
- return this.apiClient.request({
2070
- ...config,
2071
- url: `/uma-test/b2c-user-list`,
2072
- method: 'GET',
2073
- secure: true,
2074
- responseType: 'json'
2075
- });
2076
- }
2077
- /**
2078
- * @tags UMATest
2079
- * @name GetB2CUserListToLocal
2080
- * @summary Import all uma b2c users to AES - internal use only - Super admin - available in Microservice
2081
- * @request GET:/api/uma-test/b2c-user-list-to-local
2082
- * @secure
2083
- */ getB2CUserListToLocal(config) {
2084
- return this.apiClient.request({
2085
- ...config,
2086
- url: `/uma-test/b2c-user-list-to-local`,
2087
- method: 'GET',
2088
- secure: true
2089
- });
2090
- }
2091
- }
2092
-
2093
-
2094
- var $392dd9b8718c5dff$exports = {};
2095
-
2096
- $parcel$export($392dd9b8718c5dff$exports, "User", () => $392dd9b8718c5dff$export$1f44aaf2ec115b54);
2097
- /* eslint-disable */ /* tslint:disable */ /*
2098
- * ---------------------------------------------------------------
2099
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2100
- * ## ##
2101
- * ## AUTHOR: acacode ##
2102
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2103
- * ---------------------------------------------------------------
2104
- */
2105
-
2106
- class $392dd9b8718c5dff$export$1f44aaf2ec115b54 {
2107
- constructor(apiClient){
2108
- this.apiClient = apiClient;
2109
- (0, ($parcel$interopDefault($5Loj3$autobind)))(this);
2110
- }
2111
- /**
2112
- * @tags User
2113
- * @name PostRegisterRegular
2114
- * @summary Create a new regular user - Firm manager, or super admin - Not available in Microservice
2115
- * @request POST:/api/user/register-regular
2116
- * @secure
2117
- */ postRegisterRegular(data, config) {
2118
- return this.apiClient.request({
2119
- ...config,
2120
- url: `/user/register-regular`,
2121
- method: 'POST',
2122
- data: data,
2123
- secure: true,
2124
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2125
- });
2126
- }
2127
- /**
2128
- * @tags User
2129
- * @name PostRegisterAdmin
2130
- * @summary Create a new admin user - Super admin - Not available in Microservice
2131
- * @request POST:/api/user/register-admin
2132
- * @secure
2133
- */ postRegisterAdmin(data, config) {
2134
- return this.apiClient.request({
2135
- ...config,
2136
- url: `/user/register-admin`,
2137
- method: 'POST',
2138
- data: data,
2139
- secure: true,
2140
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2141
- });
2142
- }
2143
- /**
2144
- * @tags User
2145
- * @name PostRegisterManager
2146
- * @summary Create a new firm manager user - Firm manager, or super admin - Not available in Microservice
2147
- * @request POST:/api/user/register-manager
2148
- * @secure
2149
- */ postRegisterManager(data, config) {
2150
- return this.apiClient.request({
2151
- ...config,
2152
- url: `/user/register-manager`,
2153
- method: 'POST',
2154
- data: data,
2155
- secure: true,
2156
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2157
- });
2158
- }
2159
- /**
2160
- * @tags User
2161
- * @name PostRegisterUmaB2BUser
2162
- * @summary Create a new b2b user from UMA - Firm manager, or super admin - available in Microservice
2163
- * @request POST:/api/user/register-uma-b2b-user
2164
- * @secure
2165
- */ postRegisterUmaB2BUser(data, config) {
2166
- return this.apiClient.request({
2167
- ...config,
2168
- url: `/user/register-uma-b2b-user`,
2169
- method: 'POST',
2170
- data: data,
2171
- secure: true,
2172
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2173
- });
2174
- }
2175
- /**
2176
- * @tags User
2177
- * @name PostRegisterUmaB2CUser
2178
- * @summary Create a new b2c user from UMA - Firm manager, or super admin - available in Microservice
2179
- * @request POST:/api/user/register-uma-b2c-user
2180
- * @secure
2181
- */ postRegisterUmaB2CUser(data, config) {
2182
- return this.apiClient.request({
2183
- ...config,
2184
- url: `/user/register-uma-b2c-user`,
2185
- method: 'POST',
2186
- data: data,
2187
- secure: true,
2188
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2189
- });
2190
- }
2191
- /**
2192
- * @tags User
2193
- * @name GetUmaB2BUserList
2194
- * @summary Get UMA b2b users - Firm manager, or super admin - available in Microservice, POST with pagination and sort
2195
- * @request GET:/api/user/uma-b2b-user-list
2196
- * @secure
2197
- */ getUmaB2BUserList(query, config) {
2198
- return this.apiClient.request({
2199
- ...config,
2200
- url: `/user/uma-b2b-user-list`,
2201
- method: 'GET',
2202
- params: query,
2203
- secure: true,
2204
- responseType: 'json'
2205
- });
2206
- }
2207
- /**
2208
- * @tags User
2209
- * @name GetUmaB2CUserList
2210
- * @summary Get UMA b2c users - Firm manager, or super admin - available in Microservice, POST with pagination and sort
2211
- * @request GET:/api/user/uma-b2c-user-list
2212
- * @secure
2213
- */ getUmaB2CUserList(query, config) {
2214
- return this.apiClient.request({
2215
- ...config,
2216
- url: `/user/uma-b2c-user-list`,
2217
- method: 'GET',
2218
- params: query,
2219
- secure: true,
2220
- responseType: 'json'
2221
- });
2222
- }
2223
- /**
2224
- * @tags User
2225
- * @name PostLogin
2226
- * @summary all user login - All users - Not available in Microservice
2227
- * @request POST:/api/user/login
2228
- * @secure
2229
- */ postLogin(data, config) {
2230
- return this.apiClient.request({
2231
- ...config,
2232
- url: `/user/login`,
2233
- method: 'POST',
2234
- data: data,
2235
- secure: true,
2236
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2237
- });
2238
- }
2239
- /**
2240
- * @description token will be revoked even not expired
2241
- * @tags User
2242
- * @name GetLogout
2243
- * @summary logout with user id - All users - Not available in Microservice
2244
- * @request GET:/api/user/logout
2245
- * @secure
2246
- */ getLogout(query, config) {
2247
- return this.apiClient.request({
2248
- ...config,
2249
- url: `/user/logout`,
2250
- method: 'GET',
2251
- params: query,
2252
- secure: true
2253
- });
2254
- }
2255
- /**
2256
- * @tags User
2257
- * @name PutPhoneNumber
2258
- * @summary update a user registered phone number - All users - Not available in Microservice
2259
- * @request PUT:/api/user/phone-number
2260
- * @secure
2261
- */ putPhoneNumber(data, config) {
2262
- return this.apiClient.request({
2263
- ...config,
2264
- url: `/user/phone-number`,
2265
- method: 'PUT',
2266
- data: data,
2267
- secure: true,
2268
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2269
- });
2270
- }
2271
- /**
2272
- * @tags User
2273
- * @name PutEmail
2274
- * @summary update a user registered email - All users - Not available in Microservice
2275
- * @request PUT:/api/user/email
2276
- * @secure
2277
- */ putEmail(data, config) {
2278
- return this.apiClient.request({
2279
- ...config,
2280
- url: `/user/email`,
2281
- method: 'PUT',
2282
- data: data,
2283
- secure: true,
2284
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2285
- });
2286
- }
2287
- /**
2288
- * @description It will check old passoword.
2289
- * @tags User
2290
- * @name PutChangePassword
2291
- * @summary User change its own password - All users - Not available in Microservice
2292
- * @request PUT:/api/user/change-password
2293
- * @secure
2294
- */ putChangePassword(data, config) {
2295
- return this.apiClient.request({
2296
- ...config,
2297
- url: `/user/change-password`,
2298
- method: 'PUT',
2299
- data: data,
2300
- secure: true,
2301
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2302
- });
2303
- }
2304
- /**
2305
- * @description For manager/admin user, it does not require old password.
2306
- * @tags User
2307
- * @name GetResetUserPassword
2308
- * @summary Reset a user password - Firm manager, or super admin - Not available in Microservice
2309
- * @request GET:/api/user/reset-user-password
2310
- * @secure
2311
- */ getResetUserPassword(query, config) {
2312
- return this.apiClient.request({
2313
- ...config,
2314
- url: `/user/reset-user-password`,
2315
- method: 'GET',
2316
- params: query,
2317
- secure: true
2318
- });
2319
- }
2320
- /**
2321
- * @tags User
2322
- * @name GetUserNameById
2323
- * @summary Get a user Name by a specific user Id - All users - Not available in Microservice
2324
- * @request GET:/api/user/user-name-by-id
2325
- * @secure
2326
- */ getUserNameById(query, config) {
2327
- return this.apiClient.request({
2328
- ...config,
2329
- url: `/user/user-name-by-id`,
2330
- method: 'GET',
2331
- params: query,
2332
- secure: true,
2333
- responseType: 'json'
2334
- });
2335
- }
2336
- /**
2337
- * @description User Name is unique in the system.
2338
- * @tags User
2339
- * @name GetUserIdByName
2340
- * @summary Get a user Id by a specific user Name - All users - Not available in Microservice
2341
- * @request GET:/api/user/user-id-by-name
2342
- * @secure
2343
- */ getUserIdByName(query, config) {
2344
- return this.apiClient.request({
2345
- ...config,
2346
- url: `/user/user-id-by-name`,
2347
- method: 'GET',
2348
- params: query,
2349
- secure: true,
2350
- responseType: 'json'
2351
- });
2352
- }
2353
- /**
2354
- * @tags User
2355
- * @name GetUserByName
2356
- * @summary Search a user by an exactly user name - All users - Not available in Microservice
2357
- * @request GET:/api/user/user-by-name
2358
- * @secure
2359
- */ getUserByName(query, config) {
2360
- return this.apiClient.request({
2361
- ...config,
2362
- url: `/user/user-by-name`,
2363
- method: 'GET',
2364
- params: query,
2365
- secure: true,
2366
- responseType: 'json'
2367
- });
2368
- }
2369
- /**
2370
- * @tags User
2371
- * @name GetUsersById
2372
- * @summary Search users by exactly userids - All users - Not available in Microservice
2373
- * @request GET:/api/user/users-by-id
2374
- * @secure
2375
- */ getUsersById(query, config) {
2376
- return this.apiClient.request({
2377
- ...config,
2378
- url: `/user/users-by-id`,
2379
- method: 'GET',
2380
- params: query,
2381
- secure: true,
2382
- responseType: 'json'
2383
- });
2384
- }
2385
- /**
2386
- * @description It will return all users that user name contains the query string, no matter case.
2387
- * @tags User
2388
- * @name PostUsersFuzzy
2389
- * @summary Search users which include a specific string with Pagination and Sort - All users - Not available in Microservice
2390
- * @request POST:/api/user/users-fuzzy
2391
- * @secure
2392
- */ postUsersFuzzy(data, query, config) {
2393
- return this.apiClient.request({
2394
- ...config,
2395
- url: `/user/users-fuzzy`,
2396
- method: 'POST',
2397
- params: query,
2398
- data: data,
2399
- secure: true,
2400
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2401
- responseType: 'json'
2402
- });
2403
- }
2404
- /**
2405
- * @tags User
2406
- * @name GetUsersByFirm
2407
- * @summary Query all users in a specific firm - Firm manager, or super admin - Not available in Microservice
2408
- * @request GET:/api/user/users-by-firm
2409
- * @secure
2410
- */ getUsersByFirm(query, config) {
2411
- return this.apiClient.request({
2412
- ...config,
2413
- url: `/user/users-by-firm`,
2414
- method: 'GET',
2415
- params: query,
2416
- secure: true,
2417
- responseType: 'json'
2418
- });
2419
- }
2420
- /**
2421
- * @description All conditions are optional
2422
- * @tags User
2423
- * @name PostUsersByMultipleConditions
2424
- * @summary Search Users by multiple conditions with Pagination and Sort - Firm manager, or super admin - available in Microservice
2425
- For Microservice API:
2426
- 1. No parameter 'user_name' and 'email'. Instead, it has parameter 'user_search', which will do fuzzy search on both user_name and email.
2427
- 2. Only return 'UMA' source users
2428
- * @request POST:/api/user/users-by-multiple-conditions
2429
- * @secure
2430
- */ postUsersByMultipleConditions(data, query, config) {
2431
- return this.apiClient.request({
2432
- ...config,
2433
- url: `/user/users-by-multiple-conditions`,
2434
- method: 'POST',
2435
- params: query,
2436
- data: data,
2437
- secure: true,
2438
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2439
- responseType: 'json'
2440
- });
2441
- }
2442
- /**
2443
- * @description Super admin is admin users in ViewTrade
2444
- * @tags User
2445
- * @name PostSuperAdmins
2446
- * @summary Query all super admin users - Super admin - Not available in Microservice
2447
- * @request POST:/api/user/super-admins
2448
- * @secure
2449
- */ postSuperAdmins(data, config) {
2450
- return this.apiClient.request({
2451
- ...config,
2452
- url: `/user/super-admins`,
2453
- method: 'POST',
2454
- data: data,
2455
- secure: true,
2456
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2457
- responseType: 'json'
2458
- });
2459
- }
2460
- /**
2461
- * @description !Caution! It will delete the relevant user information, data configuration and unsign all UserEntitlements for this user.
2462
- * @tags User
2463
- * @name DeleteUser
2464
- * @summary Delete an existing user - Super admin - Not available in Microservice
2465
- * @request DELETE:/api/user/user
2466
- * @secure
2467
- */ deleteUser(query, config) {
2468
- return this.apiClient.request({
2469
- ...config,
2470
- url: `/user/user`,
2471
- method: 'DELETE',
2472
- params: query,
2473
- secure: true
2474
- });
2475
- }
2476
- /**
2477
- * @tags User
2478
- * @name GetUserRole
2479
- * @summary Search a user role by user Id - All users - Not available in Microservice
2480
- * @request GET:/api/user/user-role
2481
- * @secure
2482
- */ getUserRole(query, config) {
2483
- return this.apiClient.request({
2484
- ...config,
2485
- url: `/user/user-role`,
2486
- method: 'GET',
2487
- params: query,
2488
- secure: true
2489
- });
2490
- }
2491
- /**
2492
- * @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"
2493
- * @tags User
2494
- * @name PostUserInformation
2495
- * @summary Create new user information - All users - available in Microservice
2496
- * @request POST:/api/user/user-information
2497
- * @secure
2498
- */ postUserInformation(data, config) {
2499
- return this.apiClient.request({
2500
- ...config,
2501
- url: `/user/user-information`,
2502
- method: 'POST',
2503
- data: data,
2504
- secure: true,
2505
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2506
- responseType: 'json'
2507
- });
2508
- }
2509
- /**
2510
- * @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"
2511
- * @tags User
2512
- * @name PutUserInformation
2513
- * @summary Update existing user information - All users - available in Microservice
2514
- * @request PUT:/api/user/user-information
2515
- * @secure
2516
- */ putUserInformation(data, query, config) {
2517
- return this.apiClient.request({
2518
- ...config,
2519
- url: `/user/user-information`,
2520
- method: 'PUT',
2521
- params: query,
2522
- data: data,
2523
- secure: true,
2524
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2525
- });
2526
- }
2527
- /**
2528
- * @tags User
2529
- * @name GetUserInformationById
2530
- * @summary Query a specific user information - All users - available in Microservice
2531
- * @request GET:/api/user/user-information-by-id
2532
- * @secure
2533
- */ getUserInformationById(query, config) {
2534
- return this.apiClient.request({
2535
- ...config,
2536
- url: `/user/user-information-by-id`,
2537
- method: 'GET',
2538
- params: query,
2539
- secure: true,
2540
- responseType: 'json'
2541
- });
2542
- }
2543
- /**
2544
- * @tags User
2545
- * @name GetOccupationList
2546
- * @summary Query occupation list that can be used in user information EmploymentFunction - All users - available in Microservice
2547
- * @request GET:/api/user/occupation-list
2548
- * @secure
2549
- */ getOccupationList(config) {
2550
- return this.apiClient.request({
2551
- ...config,
2552
- url: `/user/occupation-list`,
2553
- method: 'GET',
2554
- secure: true,
2555
- responseType: 'json'
2556
- });
2557
- }
2558
- /**
2559
- * @description It will check if user firm has relevant data acess.
2560
- * @tags User
2561
- * @name PostUserDataConfig
2562
- * @summary Create new user data configuration - Firm manager, or super admin - available in Microservice
2563
- * @request POST:/api/user/user-data-config
2564
- * @secure
2565
- */ postUserDataConfig(data, config) {
2566
- return this.apiClient.request({
2567
- ...config,
2568
- url: `/user/user-data-config`,
2569
- method: 'POST',
2570
- data: data,
2571
- secure: true,
2572
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2573
- responseType: 'json'
2574
- });
2575
- }
2576
- /**
2577
- * @description It will check if user firm has relevant data acess.
2578
- * @tags User
2579
- * @name PutUserDataConfig
2580
- * @summary Update existing user data configuration - Firm manager, or super admin - available in Microservice
2581
- * @request PUT:/api/user/user-data-config
2582
- * @secure
2583
- */ putUserDataConfig(data, query, config) {
2584
- return this.apiClient.request({
2585
- ...config,
2586
- url: `/user/user-data-config`,
2587
- method: 'PUT',
2588
- params: query,
2589
- data: data,
2590
- secure: true,
2591
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2592
- });
2593
- }
2594
- /**
2595
- * @description USEquity bitwise: 1 UTP(Nasdaq), 2 CBOE1, 3 BATS, 4 NYBQT, 5 UTP OTC, 6 CTA-A, 7 CTA-B
2596
- * @tags User
2597
- * @name GetUserDataConfigById
2598
- * @summary Query a user data configuration by user Id - All users - available in Microservice
2599
- * @request GET:/api/user/user-data-config-by-id
2600
- * @secure
2601
- */ getUserDataConfigById(query, config) {
2602
- return this.apiClient.request({
2603
- ...config,
2604
- url: `/user/user-data-config-by-id`,
2605
- method: 'GET',
2606
- params: query,
2607
- secure: true,
2608
- responseType: 'json'
2609
- });
2610
- }
2611
- /**
2612
- * @tags User
2613
- * @name GetUserDataConfigByIdExtraInfo
2614
- * @summary Query a user data configuration by user Id - All users - available in Microservice
2615
- * @request GET:/api/user/user-data-config-by-id-extra-info
2616
- * @secure
2617
- */ getUserDataConfigByIdExtraInfo(query, config) {
2618
- return this.apiClient.request({
2619
- ...config,
2620
- url: `/user/user-data-config-by-id-extra-info`,
2621
- method: 'GET',
2622
- params: query,
2623
- secure: true,
2624
- responseType: 'json'
2625
- });
2626
- }
2627
- /**
2628
- * @tags User
2629
- * @name GetUserDataConfigs
2630
- * @summary Query user data configurations by user Ids - Firm manager or super admin - available in Microservice
2631
- * @request GET:/api/user/user-data-configs
2632
- * @secure
2633
- */ getUserDataConfigs(query, config) {
2634
- return this.apiClient.request({
2635
- ...config,
2636
- url: `/user/user-data-configs`,
2637
- method: 'GET',
2638
- params: query,
2639
- secure: true,
2640
- responseType: 'json'
2641
- });
2642
- }
2643
- /**
2644
- * @tags User
2645
- * @name GetUserNeedSignAgreements
2646
- * @summary Query which entitlements(agreements) a user need to sign(but not signed yet) by user name - All users - available in Microservice
2647
- * @request GET:/api/user/user-need-sign-agreements
2648
- * @secure
2649
- */ getUserNeedSignAgreements(query, config) {
2650
- return this.apiClient.request({
2651
- ...config,
2652
- url: `/user/user-need-sign-agreements`,
2653
- method: 'GET',
2654
- params: query,
2655
- secure: true,
2656
- responseType: 'json'
2657
- });
2658
- }
2659
- /**
2660
- * @tags User
2661
- * @name GetSessionAlive
2662
- * @summary Query if current user session is alive - All users - Not available in Microservice
2663
- * @request GET:/api/user/session-alive
2664
- * @secure
2665
- */ getSessionAlive(config) {
2666
- return this.apiClient.request({
2667
- ...config,
2668
- url: `/user/session-alive`,
2669
- method: 'GET',
2670
- secure: true,
2671
- responseType: 'json'
2672
- });
2673
- }
2674
- /**
2675
- * @tags User
2676
- * @name GetTest
2677
- * @summary For system deployment user only - All users - available in Microservice
2678
- * @request GET:/api/user/Test
2679
- * @secure
2680
- */ getTest(config) {
2681
- return this.apiClient.request({
2682
- ...config,
2683
- url: `/user/Test`,
2684
- method: 'GET',
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, $0aaebef586764cdc$exports);
2774
- $parcel$exportWildcard($647b587a8581f150$exports, $94a67bf1856cdfc2$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, $da89e2663382a79a$exports);
2781
- $parcel$exportWildcard($647b587a8581f150$exports, $cbc117ce07829f62$exports);
2782
- $parcel$exportWildcard($647b587a8581f150$exports, $4d5b3f9351815345$exports);
2783
- $parcel$exportWildcard($647b587a8581f150$exports, $392dd9b8718c5dff$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