@orbis-systems/orbis-api-clients 0.7.8 → 0.7.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.
- package/dist/aesmidas/index.d.ts +260 -48
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +1 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +1 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/bridgewise/index.d.ts +769 -301
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +189 -178
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +1 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +1 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/orbis/index.d.ts +76 -76
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +1 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +1 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +346 -346
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/dist/zerohash/index.d.ts +91 -91
- package/dist/zerohash/index.d.ts.map +1 -1
- package/dist/zerohash/index.esm.js +1 -1
- package/dist/zerohash/index.esm.js.map +1 -1
- package/dist/zerohash/index.js +1 -1
- package/dist/zerohash/index.js.map +1 -1
- package/package.json +1 -1
package/dist/aesmidas/index.d.ts
CHANGED
|
@@ -77,6 +77,34 @@ declare class JwtClient<HandleError extends boolean = boolean, AuthData extends
|
|
|
77
77
|
setRenewTokenCallback(renewTokenCallback: () => Promise<AuthData>): void;
|
|
78
78
|
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
79
79
|
}
|
|
80
|
+
export class BackgroundService<HandleError extends boolean = boolean> {
|
|
81
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
82
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
83
|
+
/**
|
|
84
|
+
* @tags BackgroundService
|
|
85
|
+
* @name PostStart
|
|
86
|
+
* @summary Start the background service to sync UMA firms/users
|
|
87
|
+
* @request POST:/api/background-service/start
|
|
88
|
+
* @secure
|
|
89
|
+
*/
|
|
90
|
+
postStart(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
91
|
+
/**
|
|
92
|
+
* @tags BackgroundService
|
|
93
|
+
* @name PostStop
|
|
94
|
+
* @summary Stop the background service to sync UMA firms/users
|
|
95
|
+
* @request POST:/api/background-service/stop
|
|
96
|
+
* @secure
|
|
97
|
+
*/
|
|
98
|
+
postStop(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
99
|
+
/**
|
|
100
|
+
* @tags BackgroundService
|
|
101
|
+
* @name GetStatus
|
|
102
|
+
* @summary Check the status of the background service
|
|
103
|
+
* @request GET:/api/background-service/status
|
|
104
|
+
* @secure
|
|
105
|
+
*/
|
|
106
|
+
getStatus(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
107
|
+
}
|
|
80
108
|
export interface AesMidasActionLog {
|
|
81
109
|
id?: string | null;
|
|
82
110
|
/** @format date-time */
|
|
@@ -1310,6 +1338,33 @@ export interface AesMidasLevel1 {
|
|
|
1310
1338
|
time_zone?: string | null;
|
|
1311
1339
|
data_source?: string | null;
|
|
1312
1340
|
}
|
|
1341
|
+
export interface AesMidasLevel1Update {
|
|
1342
|
+
symbol?: string | null;
|
|
1343
|
+
/** @format int64 */
|
|
1344
|
+
volume?: number;
|
|
1345
|
+
/** @format double */
|
|
1346
|
+
high_px?: number;
|
|
1347
|
+
/** @format double */
|
|
1348
|
+
low_px?: number;
|
|
1349
|
+
/** @format double */
|
|
1350
|
+
last_px?: number;
|
|
1351
|
+
/** @format double */
|
|
1352
|
+
change?: number;
|
|
1353
|
+
/** @format double */
|
|
1354
|
+
change_percent?: number;
|
|
1355
|
+
/** @format double */
|
|
1356
|
+
trade_px?: number | null;
|
|
1357
|
+
/** @format double */
|
|
1358
|
+
high52w_px?: number;
|
|
1359
|
+
/** @format double */
|
|
1360
|
+
low52w_px?: number;
|
|
1361
|
+
/** @format double */
|
|
1362
|
+
mkt_cap?: number | null;
|
|
1363
|
+
quote_time?: string | null;
|
|
1364
|
+
not_permissioned?: boolean;
|
|
1365
|
+
not_found?: boolean;
|
|
1366
|
+
source?: string | null;
|
|
1367
|
+
}
|
|
1313
1368
|
export interface AesMidasLevel1Reformat {
|
|
1314
1369
|
symbol?: string | null;
|
|
1315
1370
|
not_permissioned?: boolean;
|
|
@@ -1517,13 +1572,73 @@ export interface AesMidasNightSession {
|
|
|
1517
1572
|
last_px?: number | null;
|
|
1518
1573
|
quote_time?: string | null;
|
|
1519
1574
|
activity_timestamp?: string | null;
|
|
1575
|
+
/** @format double */
|
|
1576
|
+
trade_px?: number | null;
|
|
1520
1577
|
/** @format int64 */
|
|
1521
1578
|
trade_sz?: number | null;
|
|
1579
|
+
trade_region_name?: string | null;
|
|
1522
1580
|
bid_exch?: string | null;
|
|
1523
1581
|
ask_exch?: string | null;
|
|
1582
|
+
/** @format double */
|
|
1583
|
+
change?: number | null;
|
|
1584
|
+
/** @format double */
|
|
1585
|
+
change_percent?: number | null;
|
|
1586
|
+
/** @format double */
|
|
1587
|
+
accu_ammount?: number | null;
|
|
1588
|
+
/** @format double */
|
|
1589
|
+
open_px?: number | null;
|
|
1590
|
+
/** @format double */
|
|
1591
|
+
high_px?: number | null;
|
|
1592
|
+
/** @format double */
|
|
1593
|
+
low_px?: number | null;
|
|
1594
|
+
/** @format double */
|
|
1595
|
+
closing_px?: number | null;
|
|
1524
1596
|
not_found?: boolean;
|
|
1525
1597
|
source?: string | null;
|
|
1526
1598
|
}
|
|
1599
|
+
export interface AesMidasNightSessionMarketHoliday {
|
|
1600
|
+
date?: string | null;
|
|
1601
|
+
is_full_holiday?: boolean;
|
|
1602
|
+
early_close_time?: string | null;
|
|
1603
|
+
}
|
|
1604
|
+
export interface AesMidasNightSessionMarketStatus {
|
|
1605
|
+
market_name?: string | null;
|
|
1606
|
+
status?: string | null;
|
|
1607
|
+
}
|
|
1608
|
+
export interface AesMidasNightSessionMinuteChart {
|
|
1609
|
+
symbol?: string | null;
|
|
1610
|
+
time?: string | null;
|
|
1611
|
+
/** @format double */
|
|
1612
|
+
open?: number | null;
|
|
1613
|
+
/** @format double */
|
|
1614
|
+
high?: number | null;
|
|
1615
|
+
/** @format double */
|
|
1616
|
+
low?: number | null;
|
|
1617
|
+
/** @format double */
|
|
1618
|
+
close?: number | null;
|
|
1619
|
+
/** @format int64 */
|
|
1620
|
+
volume?: number | null;
|
|
1621
|
+
source?: string | null;
|
|
1622
|
+
}
|
|
1623
|
+
export interface AesMidasNightSessionTimeSell {
|
|
1624
|
+
symbol?: string | null;
|
|
1625
|
+
trade_region?: string | null;
|
|
1626
|
+
trade_region_name?: string | null;
|
|
1627
|
+
/** @format double */
|
|
1628
|
+
trade_px?: number | null;
|
|
1629
|
+
/** @format int64 */
|
|
1630
|
+
trade_sz?: number | null;
|
|
1631
|
+
/** @format double */
|
|
1632
|
+
last_px?: number | null;
|
|
1633
|
+
/** @format int64 */
|
|
1634
|
+
volume?: number | null;
|
|
1635
|
+
/** @format double */
|
|
1636
|
+
change?: number | null;
|
|
1637
|
+
/** @format double */
|
|
1638
|
+
change_percent?: number | null;
|
|
1639
|
+
activity_timestamp?: string | null;
|
|
1640
|
+
source?: string | null;
|
|
1641
|
+
}
|
|
1527
1642
|
export interface AesMidasOccupation {
|
|
1528
1643
|
name?: string | null;
|
|
1529
1644
|
}
|
|
@@ -2484,34 +2599,6 @@ export interface AesMidasUserMultiConditionResultResponseResponsewithPagination
|
|
|
2484
2599
|
page_size?: number;
|
|
2485
2600
|
data?: AesMidasUserMultiConditionResultResponse[] | null;
|
|
2486
2601
|
}
|
|
2487
|
-
export class BackgroundService<HandleError extends boolean = boolean> {
|
|
2488
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2489
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2490
|
-
/**
|
|
2491
|
-
* @tags BackgroundService
|
|
2492
|
-
* @name PostStart
|
|
2493
|
-
* @summary Start the background service to sync UMA firms/users
|
|
2494
|
-
* @request POST:/api/background-service/start
|
|
2495
|
-
* @secure
|
|
2496
|
-
*/
|
|
2497
|
-
postStart(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2498
|
-
/**
|
|
2499
|
-
* @tags BackgroundService
|
|
2500
|
-
* @name PostStop
|
|
2501
|
-
* @summary Stop the background service to sync UMA firms/users
|
|
2502
|
-
* @request POST:/api/background-service/stop
|
|
2503
|
-
* @secure
|
|
2504
|
-
*/
|
|
2505
|
-
postStop(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2506
|
-
/**
|
|
2507
|
-
* @tags BackgroundService
|
|
2508
|
-
* @name GetStatus
|
|
2509
|
-
* @summary Check the status of the background service
|
|
2510
|
-
* @request GET:/api/background-service/status
|
|
2511
|
-
* @secure
|
|
2512
|
-
*/
|
|
2513
|
-
getStatus(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2514
|
-
}
|
|
2515
2602
|
export class DataSource<HandleError extends boolean = boolean> {
|
|
2516
2603
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2517
2604
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2990,6 +3077,26 @@ export class Firm<HandleError extends boolean = boolean> {
|
|
|
2990
3077
|
firm_id: string;
|
|
2991
3078
|
}, data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2992
3079
|
}
|
|
3080
|
+
export class FundWebQuote<HandleError extends boolean = boolean> {
|
|
3081
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3082
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3083
|
+
/**
|
|
3084
|
+
* @tags FundWebQuote
|
|
3085
|
+
* @name GetFund
|
|
3086
|
+
* @request GET:/api/fund/fund
|
|
3087
|
+
* @secure
|
|
3088
|
+
*/
|
|
3089
|
+
getFund(query: {
|
|
3090
|
+
symbol: string;
|
|
3091
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote, HandleError>>;
|
|
3092
|
+
/**
|
|
3093
|
+
* @tags FundWebQuote
|
|
3094
|
+
* @name GetFundList
|
|
3095
|
+
* @request GET:/api/fund/fund-list
|
|
3096
|
+
* @secure
|
|
3097
|
+
*/
|
|
3098
|
+
getFundList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote[], HandleError>>;
|
|
3099
|
+
}
|
|
2993
3100
|
export class Log<HandleError extends boolean = boolean> {
|
|
2994
3101
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2995
3102
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3107,26 +3214,6 @@ export class Permission<HandleError extends boolean = boolean> {
|
|
|
3107
3214
|
user_name: string;
|
|
3108
3215
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3109
3216
|
}
|
|
3110
|
-
export class FundWebQuote<HandleError extends boolean = boolean> {
|
|
3111
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3112
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3113
|
-
/**
|
|
3114
|
-
* @tags FundWebQuote
|
|
3115
|
-
* @name GetFund
|
|
3116
|
-
* @request GET:/api/fund/fund
|
|
3117
|
-
* @secure
|
|
3118
|
-
*/
|
|
3119
|
-
getFund(query: {
|
|
3120
|
-
symbol: string;
|
|
3121
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote, HandleError>>;
|
|
3122
|
-
/**
|
|
3123
|
-
* @tags FundWebQuote
|
|
3124
|
-
* @name GetFundList
|
|
3125
|
-
* @request GET:/api/fund/fund-list
|
|
3126
|
-
* @secure
|
|
3127
|
-
*/
|
|
3128
|
-
getFundList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote[], HandleError>>;
|
|
3129
|
-
}
|
|
3130
3217
|
export class Quote<HandleError extends boolean = boolean> {
|
|
3131
3218
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3132
3219
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3860,6 +3947,107 @@ export class Quote<HandleError extends boolean = boolean> {
|
|
|
3860
3947
|
/** @default "" */
|
|
3861
3948
|
platform?: string;
|
|
3862
3949
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSession[], HandleError>>;
|
|
3950
|
+
/**
|
|
3951
|
+
* @tags Quote
|
|
3952
|
+
* @name GetNightSessionIntraday
|
|
3953
|
+
* @summary Query Night Session intraday minute chart data with symbol - All users - available in Microservice
|
|
3954
|
+
* @request GET:/api/quote/night-session/intraday
|
|
3955
|
+
* @secure
|
|
3956
|
+
*/
|
|
3957
|
+
getNightSessionIntraday(query: {
|
|
3958
|
+
/** Allow only one symbol */
|
|
3959
|
+
symbol: string;
|
|
3960
|
+
/**
|
|
3961
|
+
* Optional. Default is false. If true, response will be camel case
|
|
3962
|
+
* @default false
|
|
3963
|
+
*/
|
|
3964
|
+
response_camel_case?: boolean;
|
|
3965
|
+
/**
|
|
3966
|
+
* Optional. Must input if enterprise user query on behave of their clients
|
|
3967
|
+
* @default ""
|
|
3968
|
+
*/
|
|
3969
|
+
user_name?: string;
|
|
3970
|
+
/** @default "" */
|
|
3971
|
+
platform?: string;
|
|
3972
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMinuteChart[], HandleError>>;
|
|
3973
|
+
/**
|
|
3974
|
+
* @tags Quote
|
|
3975
|
+
* @name GetNightSessionTimeSale
|
|
3976
|
+
* @summary Query Night Session TimeSale from Tick data - All users - available in Microservice
|
|
3977
|
+
* @request GET:/api/quote/night-session/time-sale
|
|
3978
|
+
* @secure
|
|
3979
|
+
*/
|
|
3980
|
+
getNightSessionTimeSale(query: {
|
|
3981
|
+
/** Allow one symbol */
|
|
3982
|
+
symbol: string;
|
|
3983
|
+
/**
|
|
3984
|
+
* Optional. Default is false. If true, response will be camel case
|
|
3985
|
+
* @default false
|
|
3986
|
+
*/
|
|
3987
|
+
response_camel_case?: boolean;
|
|
3988
|
+
/**
|
|
3989
|
+
* Optional. Must input if enterprise user query on behave of their clients
|
|
3990
|
+
* @default ""
|
|
3991
|
+
*/
|
|
3992
|
+
user_name?: string;
|
|
3993
|
+
/** @default "" */
|
|
3994
|
+
platform?: string;
|
|
3995
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionTimeSell[], HandleError>>;
|
|
3996
|
+
/**
|
|
3997
|
+
* @tags Quote
|
|
3998
|
+
* @name GetNightSessionMarketStatus
|
|
3999
|
+
* @summary Query Night Session Market Status - All users - available in Microservice
|
|
4000
|
+
* @request GET:/api/quote/night-session/market-status
|
|
4001
|
+
* @secure
|
|
4002
|
+
*/
|
|
4003
|
+
getNightSessionMarketStatus(query?: {
|
|
4004
|
+
/**
|
|
4005
|
+
* Optional. Default is false. If true, response will be camel case
|
|
4006
|
+
* @default false
|
|
4007
|
+
*/
|
|
4008
|
+
response_camel_case?: boolean;
|
|
4009
|
+
/**
|
|
4010
|
+
* Optional. Must input if enterprise user query on behave of their clients
|
|
4011
|
+
* @default ""
|
|
4012
|
+
*/
|
|
4013
|
+
user_name?: string;
|
|
4014
|
+
/** @default "" */
|
|
4015
|
+
platform?: string;
|
|
4016
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketStatus[], HandleError>>;
|
|
4017
|
+
/**
|
|
4018
|
+
* @tags Quote
|
|
4019
|
+
* @name GetNightSessionMarketHolidays
|
|
4020
|
+
* @summary Query Night Session Market Holidays - All users - available in Microservice
|
|
4021
|
+
* @request GET:/api/quote/night-session/market-holidays
|
|
4022
|
+
* @secure
|
|
4023
|
+
*/
|
|
4024
|
+
getNightSessionMarketHolidays(query?: {
|
|
4025
|
+
/**
|
|
4026
|
+
* Optional. Default is false. If true, response will be camel case
|
|
4027
|
+
* @default false
|
|
4028
|
+
*/
|
|
4029
|
+
response_camel_case?: boolean;
|
|
4030
|
+
/**
|
|
4031
|
+
* Optional. Must input if enterprise user query on behave of their clients
|
|
4032
|
+
* @default ""
|
|
4033
|
+
*/
|
|
4034
|
+
user_name?: string;
|
|
4035
|
+
/** @default "" */
|
|
4036
|
+
platform?: string;
|
|
4037
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketHoliday[], HandleError>>;
|
|
4038
|
+
/**
|
|
4039
|
+
* @tags Quote
|
|
4040
|
+
* @name GetEquityUpdate
|
|
4041
|
+
* @summary Query equity level1 short update data - All users
|
|
4042
|
+
* @request GET:/api/quote/equity-update
|
|
4043
|
+
* @secure
|
|
4044
|
+
*/
|
|
4045
|
+
getEquityUpdate(query: {
|
|
4046
|
+
/** Allow multiple symbols, separated by ',' */
|
|
4047
|
+
symbols: string;
|
|
4048
|
+
/** @default "" */
|
|
4049
|
+
platform?: string;
|
|
4050
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasLevel1Update[], HandleError>>;
|
|
3863
4051
|
}
|
|
3864
4052
|
export class QuotesReformat<HandleError extends boolean = boolean> {
|
|
3865
4053
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3953,6 +4141,30 @@ export class QuotesReformat<HandleError extends boolean = boolean> {
|
|
|
3953
4141
|
/** @default "" */
|
|
3954
4142
|
platform?: string;
|
|
3955
4143
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
4144
|
+
/**
|
|
4145
|
+
* @tags QuotesReformat
|
|
4146
|
+
* @name GetSearchRedis
|
|
4147
|
+
* @summary TEST Redis symbol search. - All users - available in Microservice version
|
|
4148
|
+
* @request GET:/api/quotes/search-redis
|
|
4149
|
+
* @secure
|
|
4150
|
+
*/
|
|
4151
|
+
getSearchRedis(query: {
|
|
4152
|
+
/** String to search for */
|
|
4153
|
+
criteria: string;
|
|
4154
|
+
/**
|
|
4155
|
+
* Maximum number of results to return (default is 20)
|
|
4156
|
+
* @format int32
|
|
4157
|
+
* @default 20
|
|
4158
|
+
*/
|
|
4159
|
+
limit?: number;
|
|
4160
|
+
/**
|
|
4161
|
+
* Whether to load quotes for the results or not
|
|
4162
|
+
* @default false
|
|
4163
|
+
*/
|
|
4164
|
+
loadQuotes?: boolean;
|
|
4165
|
+
/** @default "" */
|
|
4166
|
+
platform?: string;
|
|
4167
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
3956
4168
|
/**
|
|
3957
4169
|
* @tags QuotesReformat
|
|
3958
4170
|
* @name GetOption
|