@orbis-systems/orbis-api-clients 0.7.9 → 0.7.11

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 (43) hide show
  1. package/dist/aesmidas/index.d.ts +136 -127
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -1
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -1
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +473 -464
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/insight/index.d.ts +440 -355
  14. package/dist/insight/index.d.ts.map +1 -1
  15. package/dist/insight/index.esm.js +1 -1
  16. package/dist/insight/index.esm.js.map +1 -1
  17. package/dist/insight/index.js +1 -1
  18. package/dist/insight/index.js.map +1 -1
  19. package/dist/middleware/index.d.ts +34 -34
  20. package/dist/middleware/index.d.ts.map +1 -1
  21. package/dist/middleware/index.esm.js +1 -1
  22. package/dist/middleware/index.esm.js.map +1 -1
  23. package/dist/middleware/index.js +1 -1
  24. package/dist/middleware/index.js.map +1 -1
  25. package/dist/orbis/index.d.ts +845 -845
  26. package/dist/orbis/index.d.ts.map +1 -1
  27. package/dist/orbis/index.esm.js +1 -1
  28. package/dist/orbis/index.esm.js.map +1 -1
  29. package/dist/orbis/index.js +1 -1
  30. package/dist/orbis/index.js.map +1 -1
  31. package/dist/uma/index.d.ts +379 -379
  32. package/dist/uma/index.d.ts.map +1 -1
  33. package/dist/uma/index.esm.js +1 -1
  34. package/dist/uma/index.esm.js.map +1 -1
  35. package/dist/uma/index.js +1 -1
  36. package/dist/uma/index.js.map +1 -1
  37. package/dist/zerohash/index.d.ts +142 -142
  38. package/dist/zerohash/index.d.ts.map +1 -1
  39. package/dist/zerohash/index.esm.js +1 -1
  40. package/dist/zerohash/index.esm.js.map +1 -1
  41. package/dist/zerohash/index.js +1 -1
  42. package/dist/zerohash/index.js.map +1 -1
  43. package/package.json +1 -1
@@ -77,34 +77,6 @@ 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
- }
108
80
  export interface AesMidasActionLog {
109
81
  id?: string | null;
110
82
  /** @format date-time */
@@ -2599,105 +2571,33 @@ export interface AesMidasUserMultiConditionResultResponseResponsewithPagination
2599
2571
  page_size?: number;
2600
2572
  data?: AesMidasUserMultiConditionResultResponse[] | null;
2601
2573
  }
2602
- export class DataSource<HandleError extends boolean = boolean> {
2574
+ export class BackgroundService<HandleError extends boolean = boolean> {
2603
2575
  protected readonly apiClient: JwtClient<HandleError>;
2604
2576
  constructor(apiClient: JwtClient<HandleError>);
2605
2577
  /**
2606
- * @description All parameters are optional
2607
- * @tags DataSource
2608
- * @name PostDataSourceList
2609
- * @summary Query all DataSources in the whole system with optional filters - All users
2610
- * @request POST:/api/datasource/data-source-list
2611
- * @secure
2612
- */
2613
- postDataSourceList(data: AesMidasQueryPostBody, query?: {
2614
- /** Datasource name */
2615
- name?: string;
2616
- /** entitlement name */
2617
- entitlement?: string;
2618
- /**
2619
- * 0 or 1
2620
- * @format int32
2621
- */
2622
- inuse?: number;
2623
- /** category */
2624
- category?: string;
2625
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceResponsewithPagination, HandleError>>;
2626
- /**
2627
- * @tags DataSource
2628
- * @name GetDataSource
2629
- * @summary Query a specific DataSource by unique DataSource Name
2630
- * @request GET:/api/datasource/data-source
2631
- * @secure
2632
- */
2633
- getDataSource(query: {
2634
- name: string;
2635
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2636
- /**
2637
- * @description Create a new DataSource with/without an existing Entitlement
2638
- * @tags DataSource
2639
- * @name PostDataSource
2640
- * @summary Create a new DataSource
2641
- * @request POST:/api/datasource/data-source
2642
- * @secure
2643
- */
2644
- postDataSource(data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2645
- /**
2646
- * @description If modification is Entitlement related, server will unsign old entitlement in firms and users
2647
- * @tags DataSource
2648
- * @name PutDataSource
2649
- * @summary Update an existing DataSource
2650
- * @request PUT:/api/datasource/data-source
2651
- * @secure
2652
- */
2653
- putDataSource(query: {
2654
- name: string;
2655
- }, data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2656
- /**
2657
- * @description !Caution! It will remove all related data setting and unsign all related entitlement in firms and users
2658
- * @tags DataSource
2659
- * @name DeleteDataSource
2660
- * @summary Delete an existing DataSource
2661
- * @request DELETE:/api/datasource/data-source
2662
- * @secure
2663
- */
2664
- deleteDataSource(query: {
2665
- name: string;
2666
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2667
- /**
2668
- * @tags DataSource
2669
- * @name GetDataSourceBitMapping
2670
- * @request GET:/api/datasource/data-source-bit-mapping
2671
- * @secure
2672
- */
2673
- getDataSourceBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2674
- /**
2675
- * @tags DataSource
2676
- * @name GetDataSourceToConfigBitMapping
2677
- * @summary Get All DataSource name to entitlement field Bit Mappings - All users - available in Microservice
2678
- * @request GET:/api/datasource/data-source-to-config-bit-mapping
2578
+ * @tags BackgroundService
2579
+ * @name PostStart
2580
+ * @summary Start the background service to sync UMA firms/users
2581
+ * @request POST:/api/background-service/start
2679
2582
  * @secure
2680
2583
  */
2681
- getDataSourceToConfigBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2584
+ postStart(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2682
2585
  /**
2683
- * @tags DataSource
2684
- * @name GetDataSourceTallyCount
2685
- * @summary For ViewTrade admin to generate data source tally report - Super admin
2686
- * @request GET:/api/datasource/data-source-tally-count
2586
+ * @tags BackgroundService
2587
+ * @name PostStop
2588
+ * @summary Stop the background service to sync UMA firms/users
2589
+ * @request POST:/api/background-service/stop
2687
2590
  * @secure
2688
2591
  */
2689
- getDataSourceTallyCount(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyCount[], HandleError>>;
2592
+ postStop(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2690
2593
  /**
2691
- * @tags DataSource
2692
- * @name PostDataSourceTallyReport
2693
- * @summary For ViewTrade admin to generate data source tally report
2694
- * @request POST:/api/datasource/data-source-tally-report
2594
+ * @tags BackgroundService
2595
+ * @name GetStatus
2596
+ * @summary Check the status of the background service
2597
+ * @request GET:/api/background-service/status
2695
2598
  * @secure
2696
2599
  */
2697
- postDataSourceTallyReport(query: {
2698
- data_source: string;
2699
- firm_id: string;
2700
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyResponsewithPagination, HandleError>>;
2600
+ getStatus(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2701
2601
  }
2702
2602
  export class Entitlement<HandleError extends boolean = boolean> {
2703
2603
  protected readonly apiClient: JwtClient<HandleError>;
@@ -2964,6 +2864,109 @@ export class File<HandleError extends boolean = boolean> {
2964
2864
  file_id: string;
2965
2865
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlementFile, HandleError>>;
2966
2866
  }
2867
+ export class DataSource<HandleError extends boolean = boolean> {
2868
+ protected readonly apiClient: JwtClient<HandleError>;
2869
+ constructor(apiClient: JwtClient<HandleError>);
2870
+ /**
2871
+ * @description All parameters are optional
2872
+ * @tags DataSource
2873
+ * @name PostDataSourceList
2874
+ * @summary Query all DataSources in the whole system with optional filters - All users
2875
+ * @request POST:/api/datasource/data-source-list
2876
+ * @secure
2877
+ */
2878
+ postDataSourceList(data: AesMidasQueryPostBody, query?: {
2879
+ /** Datasource name */
2880
+ name?: string;
2881
+ /** entitlement name */
2882
+ entitlement?: string;
2883
+ /**
2884
+ * 0 or 1
2885
+ * @format int32
2886
+ */
2887
+ inuse?: number;
2888
+ /** category */
2889
+ category?: string;
2890
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceResponsewithPagination, HandleError>>;
2891
+ /**
2892
+ * @tags DataSource
2893
+ * @name GetDataSource
2894
+ * @summary Query a specific DataSource by unique DataSource Name
2895
+ * @request GET:/api/datasource/data-source
2896
+ * @secure
2897
+ */
2898
+ getDataSource(query: {
2899
+ name: string;
2900
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2901
+ /**
2902
+ * @description Create a new DataSource with/without an existing Entitlement
2903
+ * @tags DataSource
2904
+ * @name PostDataSource
2905
+ * @summary Create a new DataSource
2906
+ * @request POST:/api/datasource/data-source
2907
+ * @secure
2908
+ */
2909
+ postDataSource(data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2910
+ /**
2911
+ * @description If modification is Entitlement related, server will unsign old entitlement in firms and users
2912
+ * @tags DataSource
2913
+ * @name PutDataSource
2914
+ * @summary Update an existing DataSource
2915
+ * @request PUT:/api/datasource/data-source
2916
+ * @secure
2917
+ */
2918
+ putDataSource(query: {
2919
+ name: string;
2920
+ }, data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2921
+ /**
2922
+ * @description !Caution! It will remove all related data setting and unsign all related entitlement in firms and users
2923
+ * @tags DataSource
2924
+ * @name DeleteDataSource
2925
+ * @summary Delete an existing DataSource
2926
+ * @request DELETE:/api/datasource/data-source
2927
+ * @secure
2928
+ */
2929
+ deleteDataSource(query: {
2930
+ name: string;
2931
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2932
+ /**
2933
+ * @tags DataSource
2934
+ * @name GetDataSourceBitMapping
2935
+ * @request GET:/api/datasource/data-source-bit-mapping
2936
+ * @secure
2937
+ */
2938
+ getDataSourceBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2939
+ /**
2940
+ * @tags DataSource
2941
+ * @name GetDataSourceToConfigBitMapping
2942
+ * @summary Get All DataSource name to entitlement field Bit Mappings - All users - available in Microservice
2943
+ * @request GET:/api/datasource/data-source-to-config-bit-mapping
2944
+ * @secure
2945
+ */
2946
+ getDataSourceToConfigBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2947
+ /**
2948
+ * @tags DataSource
2949
+ * @name GetDataSourceTallyCount
2950
+ * @summary For ViewTrade admin to generate data source tally report - Super admin
2951
+ * @request GET:/api/datasource/data-source-tally-count
2952
+ * @secure
2953
+ */
2954
+ getDataSourceTallyCount(query?: {
2955
+ data_source?: string;
2956
+ firm_id?: string;
2957
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyCount[], HandleError>>;
2958
+ /**
2959
+ * @tags DataSource
2960
+ * @name PostDataSourceTallyReport
2961
+ * @summary For ViewTrade admin to generate data source tally report
2962
+ * @request POST:/api/datasource/data-source-tally-report
2963
+ * @secure
2964
+ */
2965
+ postDataSourceTallyReport(query: {
2966
+ data_source: string;
2967
+ firm_id: string;
2968
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyResponsewithPagination, HandleError>>;
2969
+ }
2967
2970
  export class Firm<HandleError extends boolean = boolean> {
2968
2971
  protected readonly apiClient: JwtClient<HandleError>;
2969
2972
  constructor(apiClient: JwtClient<HandleError>);
@@ -3926,12 +3929,12 @@ export class Quote<HandleError extends boolean = boolean> {
3926
3929
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasInternationalLevel1[], HandleError>>;
3927
3930
  /**
3928
3931
  * @tags Quote
3929
- * @name GetNightSession
3932
+ * @name GetNightSessionLevel1
3930
3933
  * @summary Query Night Session data with symbols - All users - available in Microservice
3931
- * @request GET:/api/quote/night-session
3934
+ * @request GET:/api/quote/night-session/level1/{source}
3932
3935
  * @secure
3933
3936
  */
3934
- getNightSession(query: {
3937
+ getNightSessionLevel1(source: string, query: {
3935
3938
  /** Allow multiple symbols, separated by ',' */
3936
3939
  symbols: string;
3937
3940
  /**
@@ -3951,12 +3954,18 @@ export class Quote<HandleError extends boolean = boolean> {
3951
3954
  * @tags Quote
3952
3955
  * @name GetNightSessionIntraday
3953
3956
  * @summary Query Night Session intraday minute chart data with symbol - All users - available in Microservice
3954
- * @request GET:/api/quote/night-session/intraday
3957
+ * @request GET:/api/quote/night-session/intraday/{source}
3955
3958
  * @secure
3956
3959
  */
3957
- getNightSessionIntraday(query: {
3960
+ getNightSessionIntraday(source: string, query: {
3958
3961
  /** Allow only one symbol */
3959
3962
  symbol: string;
3963
+ /**
3964
+ * previous days minute chart. Allow for up to 7 days search. Only return that day's data. From previous 8pm to 8pm today count as 1 day. Optional. Default is 0 for today's minute chart
3965
+ * @format int32
3966
+ * @default 0
3967
+ */
3968
+ range_back?: number;
3960
3969
  /**
3961
3970
  * Optional. Default is false. If true, response will be camel case
3962
3971
  * @default false
@@ -3974,10 +3983,10 @@ export class Quote<HandleError extends boolean = boolean> {
3974
3983
  * @tags Quote
3975
3984
  * @name GetNightSessionTimeSale
3976
3985
  * @summary Query Night Session TimeSale from Tick data - All users - available in Microservice
3977
- * @request GET:/api/quote/night-session/time-sale
3986
+ * @request GET:/api/quote/night-session/time-sale/{source}
3978
3987
  * @secure
3979
3988
  */
3980
- getNightSessionTimeSale(query: {
3989
+ getNightSessionTimeSale(source: string, query: {
3981
3990
  /** Allow one symbol */
3982
3991
  symbol: string;
3983
3992
  /**
@@ -3997,10 +4006,10 @@ export class Quote<HandleError extends boolean = boolean> {
3997
4006
  * @tags Quote
3998
4007
  * @name GetNightSessionMarketStatus
3999
4008
  * @summary Query Night Session Market Status - All users - available in Microservice
4000
- * @request GET:/api/quote/night-session/market-status
4009
+ * @request GET:/api/quote/night-session/market-status/{source}
4001
4010
  * @secure
4002
4011
  */
4003
- getNightSessionMarketStatus(query?: {
4012
+ getNightSessionMarketStatus(source: string, query?: {
4004
4013
  /**
4005
4014
  * Optional. Default is false. If true, response will be camel case
4006
4015
  * @default false
@@ -4018,10 +4027,10 @@ export class Quote<HandleError extends boolean = boolean> {
4018
4027
  * @tags Quote
4019
4028
  * @name GetNightSessionMarketHolidays
4020
4029
  * @summary Query Night Session Market Holidays - All users - available in Microservice
4021
- * @request GET:/api/quote/night-session/market-holidays
4030
+ * @request GET:/api/quote/night-session/market-holidays/{source}
4022
4031
  * @secure
4023
4032
  */
4024
- getNightSessionMarketHolidays(query?: {
4033
+ getNightSessionMarketHolidays(source: string, query?: {
4025
4034
  /**
4026
4035
  * Optional. Default is false. If true, response will be camel case
4027
4036
  * @default false