@orbis-systems/orbis-api-clients 0.8.10 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/aesmidas/index.d.ts +833 -794
  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 +6313 -6056
  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/index.d.ts +41 -21
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.esm.js +1 -1
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/insight/index.d.ts +1601 -1290
  20. package/dist/insight/index.d.ts.map +1 -1
  21. package/dist/insight/index.esm.js +1 -1
  22. package/dist/insight/index.esm.js.map +1 -1
  23. package/dist/insight/index.js +1 -1
  24. package/dist/insight/index.js.map +1 -1
  25. package/dist/middleware/index.d.ts +250 -220
  26. package/dist/middleware/index.d.ts.map +1 -1
  27. package/dist/middleware/index.esm.js +1 -1
  28. package/dist/middleware/index.esm.js.map +1 -1
  29. package/dist/middleware/index.js +1 -1
  30. package/dist/middleware/index.js.map +1 -1
  31. package/dist/orbis/index.d.ts +4118 -4085
  32. package/dist/orbis/index.d.ts.map +1 -1
  33. package/dist/orbis/index.esm.js +1 -1
  34. package/dist/orbis/index.esm.js.map +1 -1
  35. package/dist/orbis/index.js +1 -1
  36. package/dist/orbis/index.js.map +1 -1
  37. package/dist/uma/index.d.ts +863 -839
  38. package/dist/uma/index.d.ts.map +1 -1
  39. package/dist/uma/index.esm.js +1 -1
  40. package/dist/uma/index.esm.js.map +1 -1
  41. package/dist/uma/index.js +1 -1
  42. package/dist/uma/index.js.map +1 -1
  43. package/package.json +146 -146
@@ -1,8 +1,23 @@
1
1
  import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
2
- interface BaseClientConfig<HandleError extends boolean = boolean> {
2
+ enum CaseFormat {
3
+ Camel = "camel",
4
+ Snake = "snake",
5
+ Original = "original"
6
+ }
7
+ type CamelCase<S extends string> = S extends `${infer T}_${infer U}` ? `${Lowercase<T>}${Capitalize<CamelCase<U>>}` : S extends Uppercase<S> ? Lowercase<S> : S;
8
+ type SnakeCase<S extends string> = S extends `${infer T}${infer U}` ? T extends Uppercase<T> ? T extends Lowercase<T> ? `${T}${SnakeCase<U>}` : `_${Lowercase<T>}${SnakeCase<U>}` : `${T}${SnakeCase<U>}` : S;
9
+ type CamelCaseKeys<T> = T extends Array<infer U> ? Array<CamelCaseKeys<U>> : T extends object ? {
10
+ [K in keyof T as CamelCase<K & string>]: CamelCaseKeys<T[K]>;
11
+ } : T;
12
+ type SnakeCaseKeys<T> = T extends Array<infer U> ? Array<SnakeCaseKeys<U>> : T extends object ? {
13
+ [K in keyof T as SnakeCase<K & string>]: SnakeCaseKeys<T[K]>;
14
+ } : T;
15
+ type TransformData<T, F extends CaseFormat | undefined> = CaseFormat.Original | undefined extends F ? T : F extends CaseFormat.Camel ? CamelCaseKeys<T> : F extends CaseFormat.Snake ? SnakeCaseKeys<T> : T;
16
+ interface BaseClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3
17
  debug?: boolean;
4
18
  baseUrl: string;
5
19
  handleError?: HandleError;
20
+ caseFormat?: Format;
6
21
  storage?: Storage;
7
22
  defaultSecure?: boolean;
8
23
  authDataStorageKey?: string;
@@ -25,43 +40,46 @@ type ResponseStatus = {
25
40
  status: HttpStatusCode | -1;
26
41
  statusText: string;
27
42
  };
28
- type SuccessClientResponse<Data = unknown> = ResponseStatus & {
43
+ type SuccessClientResponse<Data = unknown, RawData = unknown> = ResponseStatus & {
29
44
  success: true;
30
45
  data: Data;
46
+ rawData: RawData;
31
47
  };
32
48
  type ErrorClientResponse = ResponseStatus & {
33
49
  success: false;
34
50
  data?: any;
51
+ rawData?: any;
35
52
  error: unknown;
36
53
  };
37
- type ClientResponse<Data = unknown, HandleError extends boolean = boolean> = HandleError extends true ? SuccessClientResponse<Data> | ErrorClientResponse : SuccessClientResponse<Data>;
38
- declare abstract class BaseClient<HandleError extends boolean = boolean, AuthData = unknown> {
39
- protected readonly config: BaseClientConfig<HandleError>;
54
+ type ClientResponse<Data = unknown, HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> = HandleError extends true ? SuccessClientResponse<TransformData<Data, Format>, Data> | ErrorClientResponse : SuccessClientResponse<TransformData<Data, Format>, Data>;
55
+ declare abstract class BaseClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData = unknown> {
56
+ protected readonly config: BaseClientConfig<HandleError, Format>;
40
57
  protected readonly axiosInstance: AxiosInstance;
41
58
  protected readonly storage: Storage;
42
- constructor(config: BaseClientConfig<HandleError>);
59
+ constructor(config: BaseClientConfig<HandleError, Format>);
60
+ protected transformData<T>(data: any): TransformData<T, Format>;
43
61
  protected stringifyFormItem(formItem: unknown): string;
44
62
  protected createFormData(input: Record<string, unknown>): FormData;
45
- request<Data = unknown, Error = unknown, Body = unknown>(requestConfig: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
46
- get<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
47
- delete<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
48
- head<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
49
- options<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
50
- post<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
51
- put<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
52
- patch<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
63
+ request<Data = unknown, Error = unknown, Body = unknown>(requestConfig: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
64
+ get<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
65
+ delete<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
66
+ head<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
67
+ options<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
68
+ post<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
69
+ put<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
70
+ patch<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
53
71
  getAxios(): AxiosInstance;
54
72
  setAuthData(data: AuthData | null): void;
55
73
  getAuthData(): AuthData | null;
56
- getConfig(): BaseClientConfig<HandleError>;
74
+ getConfig(): BaseClientConfig<HandleError, Format>;
57
75
  protected abstract prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
58
76
  }
59
- declare class BaseApi<HandleError extends boolean = boolean, ApiClient extends BaseClient<HandleError> = BaseClient<HandleError>> {
77
+ declare abstract class BaseApi<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, ApiClient extends BaseClient<HandleError, Format, unknown> = BaseClient<HandleError, Format>> {
60
78
  protected readonly apiClient: ApiClient;
61
79
  constructor(apiClient: ApiClient);
62
80
  getApiClient(): ApiClient;
63
81
  }
64
- interface JwtClientConfig<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError> {
82
+ interface JwtClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError, Format> {
65
83
  authSchema?: string;
66
84
  autoRenewToken?: boolean;
67
85
  onRenewTokens?: () => Promise<AuthData>;
@@ -70,14 +88,42 @@ interface JwtAuthData {
70
88
  accessToken: string;
71
89
  refreshToken?: string;
72
90
  }
73
- declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
74
- protected readonly config: JwtClientConfig<HandleError, AuthData>;
75
- constructor(config: JwtClientConfig<HandleError, AuthData>);
76
- getConfig(): JwtClientConfig<HandleError>;
91
+ declare class JwtClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, Format, AuthData> {
92
+ protected readonly config: JwtClientConfig<HandleError, Format, AuthData>;
93
+ constructor(config: JwtClientConfig<HandleError, Format, AuthData>);
94
+ getConfig(): JwtClientConfig<HandleError, Format, AuthData>;
77
95
  setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
78
96
  protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
79
97
  protected renewTokens(): Promise<AuthData>;
80
98
  }
99
+ export class BackgroundService<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
100
+ protected readonly apiClient: JwtClient<HandleError, Format>;
101
+ constructor(apiClient: JwtClient<HandleError, Format>);
102
+ /**
103
+ * @tags BackgroundService
104
+ * @name PostStart
105
+ * @summary Start the background service to sync UMA firms/users
106
+ * @request POST:/api/background-service/start
107
+ * @secure
108
+ */
109
+ postStart(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
110
+ /**
111
+ * @tags BackgroundService
112
+ * @name PostStop
113
+ * @summary Stop the background service to sync UMA firms/users
114
+ * @request POST:/api/background-service/stop
115
+ * @secure
116
+ */
117
+ postStop(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
118
+ /**
119
+ * @tags BackgroundService
120
+ * @name GetStatus
121
+ * @summary Check the status of the background service
122
+ * @request GET:/api/background-service/status
123
+ * @secure
124
+ */
125
+ getStatus(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
126
+ }
81
127
  export interface AesMidasActionLog {
82
128
  id?: string | null;
83
129
  /** @format date-time */
@@ -622,7 +668,7 @@ export interface AesMidasEntitlementFile {
622
668
  /** @minLength 1 */
623
669
  mime_type: string;
624
670
  /** @format byte */
625
- content: string;
671
+ content: Blob;
626
672
  /** @format date-time */
627
673
  create_date_time?: string;
628
674
  }
@@ -775,6 +821,11 @@ export interface AesMidasFirm {
775
821
  grpc?: boolean;
776
822
  /** @format int32 */
777
823
  us_night_session?: number;
824
+ /** @format int32 */
825
+ eod_file?: number;
826
+ /** @format int32 */
827
+ corporate_action?: number;
828
+ usetf_screener?: boolean;
778
829
  }
779
830
  export interface AesMidasFirmEntitlement {
780
831
  /** @minLength 1 */
@@ -936,6 +987,12 @@ export interface AesMidasFirmDefaultDataSetting {
936
987
  grpc?: number;
937
988
  /** @format int32 */
938
989
  us_night_session?: number;
990
+ /** @format int32 */
991
+ eod_file?: number;
992
+ /** @format int32 */
993
+ corporate_action?: number;
994
+ /** @format int32 */
995
+ usetf_screener?: number;
939
996
  }
940
997
  export interface AesMidasForexRate {
941
998
  symbol?: string | null;
@@ -2692,6 +2749,11 @@ export interface AesMidasUserDataConfig {
2692
2749
  grpc?: boolean;
2693
2750
  /** @format int32 */
2694
2751
  us_night_session?: number;
2752
+ /** @format int32 */
2753
+ eod_file?: number;
2754
+ /** @format int32 */
2755
+ corporate_action?: number;
2756
+ usetf_screener?: boolean;
2695
2757
  }
2696
2758
  export interface AesMidasUserDataConfigHistory {
2697
2759
  id?: string | null;
@@ -2806,9 +2868,9 @@ export interface AesMidasUserMultiConditionResultResponseResponsewithPagination
2806
2868
  page_size?: number;
2807
2869
  data?: AesMidasUserMultiConditionResultResponse[] | null;
2808
2870
  }
2809
- export class DataSource<HandleError extends boolean = boolean> {
2810
- protected readonly apiClient: JwtClient<HandleError>;
2811
- constructor(apiClient: JwtClient<HandleError>);
2871
+ export class DataSource<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2872
+ protected readonly apiClient: JwtClient<HandleError, Format>;
2873
+ constructor(apiClient: JwtClient<HandleError, Format>);
2812
2874
  /**
2813
2875
  * @description All parameters are optional
2814
2876
  * @tags DataSource
@@ -2829,7 +2891,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2829
2891
  inuse?: number;
2830
2892
  /** category */
2831
2893
  category?: string;
2832
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceResponsewithPagination, HandleError>>;
2894
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceResponsewithPagination, HandleError, Format>>;
2833
2895
  /**
2834
2896
  * @tags DataSource
2835
2897
  * @name GetDataSource
@@ -2839,7 +2901,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2839
2901
  */
2840
2902
  getDataSource(query: {
2841
2903
  name: string;
2842
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2904
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError, Format>>;
2843
2905
  /**
2844
2906
  * @description Create a new DataSource with/without an existing Entitlement
2845
2907
  * @tags DataSource
@@ -2848,7 +2910,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2848
2910
  * @request POST:/api/datasource/data-source
2849
2911
  * @secure
2850
2912
  */
2851
- postDataSource(data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError>>;
2913
+ postDataSource(data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSource, HandleError, Format>>;
2852
2914
  /**
2853
2915
  * @description If modification is Entitlement related, server will unsign old entitlement in firms and users
2854
2916
  * @tags DataSource
@@ -2859,7 +2921,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2859
2921
  */
2860
2922
  putDataSource(query: {
2861
2923
  name: string;
2862
- }, data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2924
+ }, data: AesMidasDataSource, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2863
2925
  /**
2864
2926
  * @description !Caution! It will remove all related data setting and unsign all related entitlement in firms and users
2865
2927
  * @tags DataSource
@@ -2870,14 +2932,14 @@ export class DataSource<HandleError extends boolean = boolean> {
2870
2932
  */
2871
2933
  deleteDataSource(query: {
2872
2934
  name: string;
2873
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2935
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2874
2936
  /**
2875
2937
  * @tags DataSource
2876
2938
  * @name GetDataSourceBitMapping
2877
2939
  * @request GET:/api/datasource/data-source-bit-mapping
2878
2940
  * @secure
2879
2941
  */
2880
- getDataSourceBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2942
+ getDataSourceBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2881
2943
  /**
2882
2944
  * @tags DataSource
2883
2945
  * @name GetDataSourceToConfigBitMapping
@@ -2885,7 +2947,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2885
2947
  * @request GET:/api/datasource/data-source-to-config-bit-mapping
2886
2948
  * @secure
2887
2949
  */
2888
- getDataSourceToConfigBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2950
+ getDataSourceToConfigBitMapping(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2889
2951
  /**
2890
2952
  * @tags DataSource
2891
2953
  * @name GetDataSourceTallyCount
@@ -2896,7 +2958,7 @@ export class DataSource<HandleError extends boolean = boolean> {
2896
2958
  getDataSourceTallyCount(query?: {
2897
2959
  data_source?: string;
2898
2960
  firm_id?: string;
2899
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyCount[], HandleError>>;
2961
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyCount[], HandleError, Format>>;
2900
2962
  /**
2901
2963
  * @tags DataSource
2902
2964
  * @name PostDataSourceTallyReport
@@ -2907,39 +2969,11 @@ export class DataSource<HandleError extends boolean = boolean> {
2907
2969
  postDataSourceTallyReport(query: {
2908
2970
  data_source: string;
2909
2971
  firm_id: string;
2910
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyResponsewithPagination, HandleError>>;
2911
- }
2912
- export class BackgroundService<HandleError extends boolean = boolean> {
2913
- protected readonly apiClient: JwtClient<HandleError>;
2914
- constructor(apiClient: JwtClient<HandleError>);
2915
- /**
2916
- * @tags BackgroundService
2917
- * @name PostStart
2918
- * @summary Start the background service to sync UMA firms/users
2919
- * @request POST:/api/background-service/start
2920
- * @secure
2921
- */
2922
- postStart(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2923
- /**
2924
- * @tags BackgroundService
2925
- * @name PostStop
2926
- * @summary Stop the background service to sync UMA firms/users
2927
- * @request POST:/api/background-service/stop
2928
- * @secure
2929
- */
2930
- postStop(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2931
- /**
2932
- * @tags BackgroundService
2933
- * @name GetStatus
2934
- * @summary Check the status of the background service
2935
- * @request GET:/api/background-service/status
2936
- * @secure
2937
- */
2938
- getStatus(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
2972
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDataSourceTallyResponsewithPagination, HandleError, Format>>;
2939
2973
  }
2940
- export class Entitlement<HandleError extends boolean = boolean> {
2941
- protected readonly apiClient: JwtClient<HandleError>;
2942
- constructor(apiClient: JwtClient<HandleError>);
2974
+ export class Entitlement<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2975
+ protected readonly apiClient: JwtClient<HandleError, Format>;
2976
+ constructor(apiClient: JwtClient<HandleError, Format>);
2943
2977
  /**
2944
2978
  * @tags Entitlement
2945
2979
  * @name PostEntitlementList
@@ -2953,7 +2987,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
2953
2987
  * @default ""
2954
2988
  */
2955
2989
  name?: string;
2956
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlementResponsewithPagination, HandleError>>;
2990
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlementResponsewithPagination, HandleError, Format>>;
2957
2991
  /**
2958
2992
  * @tags Entitlement
2959
2993
  * @name GetEntitlement
@@ -2963,7 +2997,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
2963
2997
  */
2964
2998
  getEntitlement(query: {
2965
2999
  name: string;
2966
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlement, HandleError>>;
3000
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlement, HandleError, Format>>;
2967
3001
  /**
2968
3002
  * @tags Entitlement
2969
3003
  * @name PostEntitlement
@@ -2971,7 +3005,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
2971
3005
  * @request POST:/api/entitlement/entitlement
2972
3006
  * @secure
2973
3007
  */
2974
- postEntitlement(data: AesMidasEntitlementBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlement, HandleError>>;
3008
+ postEntitlement(data: AesMidasEntitlementBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlement, HandleError, Format>>;
2975
3009
  /**
2976
3010
  * @tags Entitlement
2977
3011
  * @name PutEntitlement
@@ -2981,7 +3015,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
2981
3015
  */
2982
3016
  putEntitlement(query: {
2983
3017
  name: string;
2984
- }, data: AesMidasEntitlementBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3018
+ }, data: AesMidasEntitlementBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2985
3019
  /**
2986
3020
  * @description If an entitlement is being used in a datasource, it cannot be deleted.
2987
3021
  * @tags Entitlement
@@ -2992,7 +3026,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
2992
3026
  */
2993
3027
  deleteEntitlement(query: {
2994
3028
  name: string;
2995
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3029
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
2996
3030
  /**
2997
3031
  * @tags Entitlement
2998
3032
  * @name GetUserEntitlement
@@ -3003,7 +3037,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3003
3037
  getUserEntitlement(query: {
3004
3038
  user_id: string;
3005
3039
  entitlement: string;
3006
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlement, HandleError>>;
3040
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlement, HandleError, Format>>;
3007
3041
  /**
3008
3042
  * @tags Entitlement
3009
3043
  * @name PostUserEntitlementList
@@ -3016,7 +3050,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3016
3050
  user_id: string;
3017
3051
  /** entitlement name, optional */
3018
3052
  entitlement?: string;
3019
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementResponsewithPagination, HandleError>>;
3053
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementResponsewithPagination, HandleError, Format>>;
3020
3054
  /**
3021
3055
  * @tags Entitlement
3022
3056
  * @name PostEntitlementUserList
@@ -3026,7 +3060,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3026
3060
  */
3027
3061
  postEntitlementUserList(query: {
3028
3062
  entitlement: string;
3029
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementResponsewithPagination, HandleError>>;
3063
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementResponsewithPagination, HandleError, Format>>;
3030
3064
  /**
3031
3065
  * @tags Entitlement
3032
3066
  * @name PostUserEntitlementHistory
@@ -3037,7 +3071,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3037
3071
  postUserEntitlementHistory(query: {
3038
3072
  user_id: string;
3039
3073
  entitlement: string;
3040
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementHistoryResponsewithPagination, HandleError>>;
3074
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserEntitlementHistoryResponsewithPagination, HandleError, Format>>;
3041
3075
  /**
3042
3076
  * @description Create a new UserEntitlement if not existing previously. Update UserEntitlement if already exists.
3043
3077
  * @tags Entitlement
@@ -3046,7 +3080,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3046
3080
  * @request PUT:/api/entitlement/sign-entitlement
3047
3081
  * @secure
3048
3082
  */
3049
- putSignEntitlement(data: AesMidasSignAgreement, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3083
+ putSignEntitlement(data: AesMidasSignAgreement, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3050
3084
  /**
3051
3085
  * @tags Entitlement
3052
3086
  * @name PutUnsignEntitlement
@@ -3057,7 +3091,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3057
3091
  putUnsignEntitlement(query: {
3058
3092
  user_id: string;
3059
3093
  entitlement: string;
3060
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3094
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3061
3095
  /**
3062
3096
  * @tags Entitlement
3063
3097
  * @name GetContractsCount
@@ -3080,7 +3114,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3080
3114
  admin_or_manager?: boolean;
3081
3115
  /** true/false, optional */
3082
3116
  vendor_of_record?: boolean;
3083
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasContractCounts[], HandleError>>;
3117
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasContractCounts[], HandleError, Format>>;
3084
3118
  /**
3085
3119
  * @tags Entitlement
3086
3120
  * @name PostContractsReport
@@ -3103,7 +3137,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3103
3137
  admin_or_manager?: boolean;
3104
3138
  /** true/false, optional */
3105
3139
  vendor_of_record?: boolean;
3106
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasContractRecordsResponsewithPagination, HandleError>>;
3140
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasContractRecordsResponsewithPagination, HandleError, Format>>;
3107
3141
  /**
3108
3142
  * @tags Entitlement
3109
3143
  * @name GetFirmEntitlement
@@ -3114,7 +3148,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3114
3148
  getFirmEntitlement(query: {
3115
3149
  firm_id: string;
3116
3150
  entitlement: string;
3117
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlement, HandleError>>;
3151
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlement, HandleError, Format>>;
3118
3152
  /**
3119
3153
  * @tags Entitlement
3120
3154
  * @name PostFirmEntitlement
@@ -3122,7 +3156,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3122
3156
  * @request POST:/api/entitlement/firm-entitlement
3123
3157
  * @secure
3124
3158
  */
3125
- postFirmEntitlement(data: AesMidasFirmEntitlement, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlement, HandleError>>;
3159
+ postFirmEntitlement(data: AesMidasFirmEntitlement, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlement, HandleError, Format>>;
3126
3160
  /**
3127
3161
  * @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.
3128
3162
  * @tags Entitlement
@@ -3134,7 +3168,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3134
3168
  putFirmEntitlement(query: {
3135
3169
  firm_id: string;
3136
3170
  entitlement: string;
3137
- }, data: AesMidasFirmEntitlement, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3171
+ }, data: AesMidasFirmEntitlement, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3138
3172
  /**
3139
3173
  * @description !Caution! This action will unsign all UserEntitlements in this firm for the relevant entitlement.
3140
3174
  * @tags Entitlement
@@ -3146,7 +3180,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3146
3180
  deleteFirmEntitlement(query: {
3147
3181
  firm_id: string;
3148
3182
  entitlement: string;
3149
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3183
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3150
3184
  /**
3151
3185
  * @tags Entitlement
3152
3186
  * @name PostFirmEntitlementList
@@ -3157,7 +3191,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3157
3191
  postFirmEntitlementList(query: {
3158
3192
  firm_id: string;
3159
3193
  entitlement_name?: string;
3160
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementResponsewithPagination, HandleError>>;
3194
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementResponsewithPagination, HandleError, Format>>;
3161
3195
  /**
3162
3196
  * @tags Entitlement
3163
3197
  * @name PostEntitlementFirmList
@@ -3167,7 +3201,7 @@ export class Entitlement<HandleError extends boolean = boolean> {
3167
3201
  */
3168
3202
  postEntitlementFirmList(query: {
3169
3203
  entitlement: string;
3170
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementResponsewithPagination, HandleError>>;
3204
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementResponsewithPagination, HandleError, Format>>;
3171
3205
  /**
3172
3206
  * @tags Entitlement
3173
3207
  * @name PostFirmEntitlementHistory
@@ -3178,11 +3212,11 @@ export class Entitlement<HandleError extends boolean = boolean> {
3178
3212
  postFirmEntitlementHistory(query: {
3179
3213
  firm_id: string;
3180
3214
  entitlement: string;
3181
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementHistoryResponsewithPagination, HandleError>>;
3215
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmEntitlementHistoryResponsewithPagination, HandleError, Format>>;
3182
3216
  }
3183
- export class File<HandleError extends boolean = boolean> {
3184
- protected readonly apiClient: JwtClient<HandleError>;
3185
- constructor(apiClient: JwtClient<HandleError>);
3217
+ export class File<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3218
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3219
+ constructor(apiClient: JwtClient<HandleError, Format>);
3186
3220
  /**
3187
3221
  * @tags File
3188
3222
  * @name PostUpload
@@ -3190,7 +3224,7 @@ export class File<HandleError extends boolean = boolean> {
3190
3224
  * @request POST:/api/file/upload
3191
3225
  * @secure
3192
3226
  */
3193
- postUpload(data: AesMidasEntitlementFile, config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError>>;
3227
+ postUpload(data: AesMidasEntitlementFile, config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError, Format>>;
3194
3228
  /**
3195
3229
  * @tags File
3196
3230
  * @name GetDownload
@@ -3200,11 +3234,11 @@ export class File<HandleError extends boolean = boolean> {
3200
3234
  */
3201
3235
  getDownload(query: {
3202
3236
  file_id: string;
3203
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlementFile, HandleError>>;
3237
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEntitlementFile, HandleError, Format>>;
3204
3238
  }
3205
- export class Firm<HandleError extends boolean = boolean> {
3206
- protected readonly apiClient: JwtClient<HandleError>;
3207
- constructor(apiClient: JwtClient<HandleError>);
3239
+ export class Firm<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3240
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3241
+ constructor(apiClient: JwtClient<HandleError, Format>);
3208
3242
  /**
3209
3243
  * @tags Firm
3210
3244
  * @name PostFirmList
@@ -3217,7 +3251,7 @@ export class Firm<HandleError extends boolean = boolean> {
3217
3251
  firm_id?: string;
3218
3252
  /** firm name, fuzzy search, optional */
3219
3253
  name?: string;
3220
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmResponsewithPagination, HandleError>>;
3254
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmResponsewithPagination, HandleError, Format>>;
3221
3255
  /**
3222
3256
  * @tags Firm
3223
3257
  * @name GetFirm
@@ -3227,7 +3261,7 @@ export class Firm<HandleError extends boolean = boolean> {
3227
3261
  */
3228
3262
  getFirm(query: {
3229
3263
  firm_id: string;
3230
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError>>;
3264
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError, Format>>;
3231
3265
  /**
3232
3266
  * @tags Firm
3233
3267
  * @name PostFirm
@@ -3235,7 +3269,7 @@ export class Firm<HandleError extends boolean = boolean> {
3235
3269
  * @request POST:/api/firm/firm
3236
3270
  * @secure
3237
3271
  */
3238
- postFirm(data: AesMidasFirm, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError>>;
3272
+ postFirm(data: AesMidasFirm, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError, Format>>;
3239
3273
  /**
3240
3274
  * @description !Caution! If remove any previous data source related settings, it will de-active relevant FirmEntitlement and unsign relevant UserEntitlements.
3241
3275
  * @tags Firm
@@ -3246,7 +3280,7 @@ export class Firm<HandleError extends boolean = boolean> {
3246
3280
  */
3247
3281
  putFirm(query: {
3248
3282
  firm_id: string;
3249
- }, data: AesMidasFirm, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3283
+ }, data: AesMidasFirm, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3250
3284
  /**
3251
3285
  * @description Note: Return a Firm Entity, which has data sources that this firm can access combining FirmEntitlements information. Not the original Firm settings.
3252
3286
  * @tags Firm
@@ -3257,7 +3291,7 @@ export class Firm<HandleError extends boolean = boolean> {
3257
3291
  */
3258
3292
  getFirmDataAccess(query: {
3259
3293
  firm_id: string;
3260
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError>>;
3294
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirm, HandleError, Format>>;
3261
3295
  /**
3262
3296
  * @tags Firm
3263
3297
  * @name PostUmaFirmList
@@ -3265,7 +3299,7 @@ export class Firm<HandleError extends boolean = boolean> {
3265
3299
  * @request POST:/api/firm/uma-firm-list
3266
3300
  * @secure
3267
3301
  */
3268
- postUmaFirmList(data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAFirmResponsewithPagination, HandleError>>;
3302
+ postUmaFirmList(data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAFirmResponsewithPagination, HandleError, Format>>;
3269
3303
  /**
3270
3304
  * @tags Firm
3271
3305
  * @name GetSystemFirmDefaultData
@@ -3273,7 +3307,7 @@ export class Firm<HandleError extends boolean = boolean> {
3273
3307
  * @request GET:/api/firm/system-firm-default-data
3274
3308
  * @secure
3275
3309
  */
3276
- getSystemFirmDefaultData(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmDefaultDataSetting, HandleError>>;
3310
+ getSystemFirmDefaultData(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmDefaultDataSetting, HandleError, Format>>;
3277
3311
  /**
3278
3312
  * @tags Firm
3279
3313
  * @name PutSystemFirmDefaultData
@@ -3281,7 +3315,7 @@ export class Firm<HandleError extends boolean = boolean> {
3281
3315
  * @request PUT:/api/firm/system-firm-default-data
3282
3316
  * @secure
3283
3317
  */
3284
- putSystemFirmDefaultData(data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3318
+ putSystemFirmDefaultData(data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3285
3319
  /**
3286
3320
  * @tags Firm
3287
3321
  * @name GetFirmDefaultData
@@ -3291,7 +3325,7 @@ export class Firm<HandleError extends boolean = boolean> {
3291
3325
  */
3292
3326
  getFirmDefaultData(query: {
3293
3327
  firm_id: string;
3294
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmDefaultDataSetting, HandleError>>;
3328
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFirmDefaultDataSetting, HandleError, Format>>;
3295
3329
  /**
3296
3330
  * @description New default data must within firm data access availability
3297
3331
  * @tags Firm
@@ -3302,7 +3336,7 @@ export class Firm<HandleError extends boolean = boolean> {
3302
3336
  */
3303
3337
  postFirmDefaultData(query: {
3304
3338
  firm_id: string;
3305
- }, data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3339
+ }, data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3306
3340
  /**
3307
3341
  * @description New default data must within firm data access availability
3308
3342
  * @tags Firm
@@ -3313,15 +3347,14 @@ export class Firm<HandleError extends boolean = boolean> {
3313
3347
  */
3314
3348
  putFirmDefaultData(query: {
3315
3349
  firm_id: string;
3316
- }, data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3317
- /**
3318
- * @tags Firm
3319
- * @name GetApplyFirmDataToUsers
3320
- * @summary Apply firm data to all users in this firm - Firm manager, or super admin - available in Microservice
3321
- Can apply data_source, quote_type, or quote_level
3322
- * @request GET:/api/firm/apply-firm-data-to-users
3323
- * @secure
3324
- */
3350
+ }, data: AesMidasFirmDefaultDataSetting, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3351
+ /**
3352
+ * @tags Firm
3353
+ * @name GetApplyFirmDataToUsers
3354
+ * @summary Apply firm data to all users in this firm - Firm manager, or super admin - available in Microservice Can apply data_source, quote_type, or quote_level
3355
+ * @request GET:/api/firm/apply-firm-data-to-users
3356
+ * @secure
3357
+ */
3325
3358
  getApplyFirmDataToUsers(query: {
3326
3359
  firm_id: string;
3327
3360
  data_source?: string;
@@ -3337,7 +3370,7 @@ export class Firm<HandleError extends boolean = boolean> {
3337
3370
  quote_level?: number;
3338
3371
  /** @default false */
3339
3372
  if_apply_to_default?: boolean;
3340
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3373
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3341
3374
  /**
3342
3375
  * @tags Firm
3343
3376
  * @name GetApplyFirmDefaultSettingToAllUsers
@@ -3347,11 +3380,11 @@ export class Firm<HandleError extends boolean = boolean> {
3347
3380
  */
3348
3381
  getApplyFirmDefaultSettingToAllUsers(query: {
3349
3382
  firm_id: string;
3350
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3383
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3351
3384
  }
3352
- export class FundWebQuote<HandleError extends boolean = boolean> {
3353
- protected readonly apiClient: JwtClient<HandleError>;
3354
- constructor(apiClient: JwtClient<HandleError>);
3385
+ export class FundWebQuote<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3386
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3387
+ constructor(apiClient: JwtClient<HandleError, Format>);
3355
3388
  /**
3356
3389
  * @tags FundWebQuote
3357
3390
  * @name GetFund
@@ -3360,18 +3393,18 @@ export class FundWebQuote<HandleError extends boolean = boolean> {
3360
3393
  */
3361
3394
  getFund(query: {
3362
3395
  symbol: string;
3363
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote, HandleError>>;
3396
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote, HandleError, Format>>;
3364
3397
  /**
3365
3398
  * @tags FundWebQuote
3366
3399
  * @name GetFundList
3367
3400
  * @request GET:/api/fund/fund-list
3368
3401
  * @secure
3369
3402
  */
3370
- getFundList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote[], HandleError>>;
3403
+ getFundList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasFundWebQuote[], HandleError, Format>>;
3371
3404
  }
3372
- export class Log<HandleError extends boolean = boolean> {
3373
- protected readonly apiClient: JwtClient<HandleError>;
3374
- constructor(apiClient: JwtClient<HandleError>);
3405
+ export class Log<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3406
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3407
+ constructor(apiClient: JwtClient<HandleError, Format>);
3375
3408
  /**
3376
3409
  * @tags Log
3377
3410
  * @name GetDataQueryActionList
@@ -3379,7 +3412,7 @@ export class Log<HandleError extends boolean = boolean> {
3379
3412
  * @request GET:/api/log/data-query-action-list
3380
3413
  * @secure
3381
3414
  */
3382
- getDataQueryActionList(config?: RequestConfig<HandleError>): Promise<ClientResponse<string[], HandleError>>;
3415
+ getDataQueryActionList(config?: RequestConfig<HandleError>): Promise<ClientResponse<string[], HandleError, Format>>;
3383
3416
  /**
3384
3417
  * @tags Log
3385
3418
  * @name PostDataQueryLogByAction
@@ -3389,9 +3422,9 @@ export class Log<HandleError extends boolean = boolean> {
3389
3422
  */
3390
3423
  postDataQueryLogByAction(query: {
3391
3424
  action: string;
3392
- "start_date(UTC)": string;
3393
- "end_date(UTC)": string;
3394
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogResponsewithPagination, HandleError>>;
3425
+ 'start_date(UTC)': string;
3426
+ 'end_date(UTC)': string;
3427
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogResponsewithPagination, HandleError, Format>>;
3395
3428
  /**
3396
3429
  * @tags Log
3397
3430
  * @name PostDataQueryLogByDataSource
@@ -3401,9 +3434,9 @@ export class Log<HandleError extends boolean = boolean> {
3401
3434
  */
3402
3435
  postDataQueryLogByDataSource(query: {
3403
3436
  data_source: string;
3404
- "start_date(UTC)": string;
3405
- "end_date(UTC)": string;
3406
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogReportResponsewithPagination, HandleError>>;
3437
+ 'start_date(UTC)': string;
3438
+ 'end_date(UTC)': string;
3439
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogReportResponsewithPagination, HandleError, Format>>;
3407
3440
  /**
3408
3441
  * @tags Log
3409
3442
  * @name GetSnapshotCount
@@ -3412,10 +3445,10 @@ export class Log<HandleError extends boolean = boolean> {
3412
3445
  * @secure
3413
3446
  */
3414
3447
  getSnapshotCount(query: {
3415
- "start_date(UTC)": string;
3416
- "end_date(UTC)": string;
3448
+ 'start_date(UTC)': string;
3449
+ 'end_date(UTC)': string;
3417
3450
  market_hour_only?: boolean;
3418
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshotCount[], HandleError>>;
3451
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshotCount[], HandleError, Format>>;
3419
3452
  /**
3420
3453
  * @tags Log
3421
3454
  * @name PostSnapshotReport
@@ -3424,12 +3457,12 @@ export class Log<HandleError extends boolean = boolean> {
3424
3457
  * @secure
3425
3458
  */
3426
3459
  postSnapshotReport(query: {
3427
- "start_date(UTC)": string;
3428
- "end_date(UTC)": string;
3460
+ 'start_date(UTC)': string;
3461
+ 'end_date(UTC)': string;
3429
3462
  firm_id: string;
3430
3463
  exchange: string;
3431
3464
  market_hour_only?: boolean;
3432
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshotReportResponsewithPagination, HandleError>>;
3465
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshotReportResponsewithPagination, HandleError, Format>>;
3433
3466
  /**
3434
3467
  * @tags Log
3435
3468
  * @name GetModificationActionList
@@ -3437,7 +3470,7 @@ export class Log<HandleError extends boolean = boolean> {
3437
3470
  * @request GET:/api/log/modification-action-list
3438
3471
  * @secure
3439
3472
  */
3440
- getModificationActionList(config?: RequestConfig<HandleError>): Promise<ClientResponse<string[], HandleError>>;
3473
+ getModificationActionList(config?: RequestConfig<HandleError>): Promise<ClientResponse<string[], HandleError, Format>>;
3441
3474
  /**
3442
3475
  * @tags Log
3443
3476
  * @name PostModificationLogByAction
@@ -3448,14 +3481,14 @@ export class Log<HandleError extends boolean = boolean> {
3448
3481
  postModificationLogByAction(query: {
3449
3482
  /** To get available actions list, please call api/Log/modification-action-list. */
3450
3483
  action: string;
3451
- "start_date(UTC)": string;
3452
- "end_date(UTC)": string;
3484
+ 'start_date(UTC)': string;
3485
+ 'end_date(UTC)': string;
3453
3486
  /**
3454
3487
  * optional
3455
3488
  * @default ""
3456
3489
  */
3457
3490
  target_user?: string;
3458
- }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasActionLogResponsewithPagination, HandleError>>;
3491
+ }, data: AesMidasQueryPostBody, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasActionLogResponsewithPagination, HandleError, Format>>;
3459
3492
  /**
3460
3493
  * @tags Log
3461
3494
  * @name GetDataQueryLogByUsername
@@ -3465,9 +3498,9 @@ export class Log<HandleError extends boolean = boolean> {
3465
3498
  */
3466
3499
  getDataQueryLogByUsername(query: {
3467
3500
  username: string;
3468
- "start_date(UTC)": string;
3469
- "end_date(UTC)": string;
3470
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogResponsewithPagination, HandleError>>;
3501
+ 'start_date(UTC)': string;
3502
+ 'end_date(UTC)': string;
3503
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQueryLogResponsewithPagination, HandleError, Format>>;
3471
3504
  /**
3472
3505
  * @tags Log
3473
3506
  * @name GetActionLogByUsername
@@ -3477,20 +3510,20 @@ export class Log<HandleError extends boolean = boolean> {
3477
3510
  */
3478
3511
  getActionLogByUsername(query: {
3479
3512
  username: string;
3480
- "start_date(UTC)": string;
3481
- "end_date(UTC)": string;
3482
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasActionLogResponsewithPagination, HandleError>>;
3513
+ 'start_date(UTC)': string;
3514
+ 'end_date(UTC)': string;
3515
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasActionLogResponsewithPagination, HandleError, Format>>;
3483
3516
  }
3484
- export class Permission<HandleError extends boolean = boolean> {
3485
- protected readonly apiClient: JwtClient<HandleError>;
3486
- constructor(apiClient: JwtClient<HandleError>);
3517
+ export class Permission<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3518
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3519
+ constructor(apiClient: JwtClient<HandleError, Format>);
3487
3520
  /**
3488
3521
  * @tags Permission
3489
3522
  * @name PostPermission
3490
3523
  * @request POST:/api/permission/permission
3491
3524
  * @secure
3492
3525
  */
3493
- postPermission(data: AesMidasPermission, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3526
+ postPermission(data: AesMidasPermission, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3494
3527
  /**
3495
3528
  * @tags Permission
3496
3529
  * @name GetPermission
@@ -3499,7 +3532,7 @@ export class Permission<HandleError extends boolean = boolean> {
3499
3532
  */
3500
3533
  getPermission(query: {
3501
3534
  user_name: string;
3502
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPermission, HandleError>>;
3535
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPermission, HandleError, Format>>;
3503
3536
  /**
3504
3537
  * @tags Permission
3505
3538
  * @name DeletePermission
@@ -3508,474 +3541,190 @@ export class Permission<HandleError extends boolean = boolean> {
3508
3541
  */
3509
3542
  deletePermission(query: {
3510
3543
  user_name: string;
3511
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
3544
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3512
3545
  }
3513
- export class QuotesReformat<HandleError extends boolean = boolean> {
3514
- protected readonly apiClient: JwtClient<HandleError>;
3515
- constructor(apiClient: JwtClient<HandleError>);
3546
+ export class Quote<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3547
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3548
+ constructor(apiClient: JwtClient<HandleError, Format>);
3516
3549
  /**
3517
- * @tags QuotesReformat
3518
- * @name GetEquity
3519
- * @summary Query full Level 1 data - All users
3520
- * @request GET:/api/quotes/equity
3550
+ * @tags Quote
3551
+ * @name PostSymbolSearch
3552
+ * @summary Symbol screener - All users
3553
+ * @request POST:/api/quote/symbol-search
3521
3554
  * @secure
3522
3555
  */
3523
- getEquity(query: {
3524
- /** Allow multiple symbols, separated by ',' */
3525
- symbols: string;
3556
+ postSymbolSearch(data: AesMidasSymbolSearchBody, query?: {
3557
+ /**
3558
+ * Optional. Default is false. If true, response will be camel case
3559
+ * @default false
3560
+ */
3561
+ response_camel_case?: boolean;
3562
+ /** @default "" */
3563
+ user_name?: string;
3526
3564
  /** @default "" */
3527
3565
  platform?: string;
3528
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3566
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSymbolSearchRecordResponsewithPagination, HandleError, Format>>;
3529
3567
  /**
3530
- * @tags QuotesReformat
3531
- * @name GetEquityCboe
3532
- * @summary TEMPORARY ENDPOINT: Query US Realtime data from CBOE1 - All users
3533
- * @request GET:/api/quotes/equity/cboe
3568
+ * @tags Quote
3569
+ * @name GetBestQuote
3570
+ * @summary Query Best Quote(Level 1 data) - All users
3571
+ * @request GET:/api/quote/best-quote
3534
3572
  * @secure
3535
3573
  */
3536
- getEquityCboe(query: {
3537
- /** Allow multiple symbols, separated by ',' */
3574
+ getBestQuote(query: {
3575
+ /** Allow multiple symbols query, seperated by ',' */
3538
3576
  symbols: string;
3577
+ /**
3578
+ * Optional. Default is false. If true, response will be camel case
3579
+ * @default false
3580
+ */
3581
+ response_camel_case?: boolean;
3582
+ /**
3583
+ * Optional. Must input if enterprise user query on behave of their clients
3584
+ * @default ""
3585
+ */
3586
+ user_name?: string;
3539
3587
  /** @default "" */
3540
3588
  platform?: string;
3541
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3589
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBestQuote[], HandleError, Format>>;
3542
3590
  /**
3543
- * @tags QuotesReformat
3544
- * @name GetEquityIntraday
3545
- * @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
3546
- * @request GET:/api/quotes/equity/intraday
3591
+ * @tags Quote
3592
+ * @name GetNbboSnapshot
3593
+ * @summary Query NBBO Snapshot - All users
3594
+ * @request GET:/api/quote/nbbo-snapshot
3547
3595
  * @secure
3548
3596
  */
3549
- getEquityIntraday(query: {
3550
- /** Allow one symbol */
3551
- symbol: string;
3552
- /** optional timestamp format for multiday charts. Timestamp format: yyyy-MM-dd HH:mm:ss */
3553
- from?: string;
3554
- /** optional timestamp format for multiday charts. Timestamp format: yyyy-MM-dd HH:mm:ss */
3555
- to?: string;
3597
+ getNbboSnapshot(query: {
3598
+ /** Allow multiple symbols query, seperated by ',' */
3599
+ symbols: string;
3600
+ /**
3601
+ * Optional. Default is false. If true, response will be camel case
3602
+ * @default false
3603
+ */
3604
+ response_camel_case?: boolean;
3605
+ /**
3606
+ * Optional. Must input if enterprise user query on behave of their clients
3607
+ * @default ""
3608
+ */
3609
+ user_name?: string;
3556
3610
  /** @default "" */
3557
3611
  platform?: string;
3558
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3612
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshot[], HandleError, Format>>;
3559
3613
  /**
3560
- * @tags QuotesReformat
3561
- * @name GetEquityHistorical
3562
- * @summary Query Historical Day Chart. No weekly data point support yet. No rsiSpan support. - All users
3563
- * @request GET:/api/quotes/equity/historical
3614
+ * @tags Quote
3615
+ * @name GetOpraSnapshot
3616
+ * @summary Query OPRA Snapshot - All users - available in Microservice
3617
+ * @request GET:/api/quote/opra-snapshot
3564
3618
  * @secure
3565
3619
  */
3566
- getEquityHistorical(query: {
3567
- /** Allow one symbol */
3568
- symbol: string;
3569
- /** start date (MM/dd/yyyy) */
3570
- start?: string;
3571
- /** end date (MM/dd/yyyy) */
3572
- end?: string;
3620
+ getOpraSnapshot(query: {
3621
+ /** Allow multiple symbols query, seperated by ',' */
3622
+ symbols: string;
3573
3623
  /**
3574
- * If start and end are not specified, then range needs to be given. Format: [num][y/m/w] (y – year, m – months, w - weeks). num specifies number of (y/m) back from current date
3624
+ * Optional. Default is false. If true, response will be camel case
3625
+ * @default false
3626
+ */
3627
+ response_camel_case?: boolean;
3628
+ /**
3629
+ * Optional. Must input if enterprise user query on behave of their clients
3575
3630
  * @default ""
3576
3631
  */
3577
- range?: string;
3632
+ user_name?: string;
3578
3633
  /** @default "" */
3579
3634
  platform?: string;
3580
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3635
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshot[], HandleError, Format>>;
3581
3636
  /**
3582
- * @tags QuotesReformat
3583
- * @name GetSearch
3584
- * @summary To search for a company and the exact ticker symbol is not known, use this endpoint for a string search. - All users
3585
- * @request GET:/api/quotes/search
3637
+ * @tags Quote
3638
+ * @name GetLevel1
3639
+ * @summary Query full Level 1 data - All users
3640
+ * @request GET:/api/quote/level1
3586
3641
  * @secure
3587
3642
  */
3588
- getSearch(query: {
3589
- /** String to search for */
3590
- criteria: string;
3643
+ getLevel1(query: {
3644
+ /** Allow multiple symbols, separated by ',' */
3645
+ symbols: string;
3591
3646
  /**
3592
- * Maximum number of results to return (default is 20)
3593
- * @format int32
3594
- * @default 20
3647
+ * Optional. Default is false. If true, response will be camel case
3648
+ * @default false
3595
3649
  */
3596
- limit?: number;
3650
+ response_camel_case?: boolean;
3597
3651
  /**
3598
- * Whether to load quotes for the results or not
3599
- * @default false
3652
+ * Optional. Must input if enterprise user query on behave of their clients
3653
+ * @default ""
3600
3654
  */
3601
- loadQuotes?: boolean;
3602
- /** include countries. For example, if only want to display US symbols, please send 'US' in this parameter */
3603
- includeCountries?: string;
3655
+ user_name?: string;
3656
+ /** @default "" */
3657
+ platform?: string;
3658
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasLevel1[], HandleError, Format>>;
3659
+ /**
3660
+ * @tags Quote
3661
+ * @name GetRegionQuotes
3662
+ * @summary Query Region Quotes from Tick data - All users
3663
+ * @request GET:/api/quote/region-quotes
3664
+ * @secure
3665
+ */
3666
+ getRegionQuotes(query: {
3667
+ /** Allow one symbol */
3668
+ symbol: string;
3604
3669
  /**
3605
- * include mutual fund in search results
3670
+ * Optional. Default is false. If true, response will be camel case
3606
3671
  * @default false
3607
3672
  */
3608
- includeMF?: boolean;
3673
+ response_camel_case?: boolean;
3609
3674
  /**
3610
- * filter out quotes not found symbols. This parameter only works if 'loadQuotes' is true.
3611
- * @default false
3675
+ * Optional. Must input if enterprise user query on behave of their clients
3676
+ * @default ""
3612
3677
  */
3613
- excludeNotFound?: boolean;
3678
+ user_name?: string;
3614
3679
  /** @default "" */
3615
3680
  platform?: string;
3616
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3681
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasRegionQuote[], HandleError, Format>>;
3617
3682
  /**
3618
- * @tags QuotesReformat
3619
- * @name GetSearchRedis
3620
- * @summary TEST Redis symbol search. - All users - available in Microservice version
3621
- * @request GET:/api/quotes/search-redis
3683
+ * @tags Quote
3684
+ * @name GetNightSessionRegionQuotesOnbbo
3685
+ * @summary Query ONBBO Region Quotes(Level2) from Tick data - All users - available in Microservice
3686
+ * @request GET:/api/quote/night-session/region-quotes/onbbo
3622
3687
  * @secure
3623
3688
  */
3624
- getSearchRedis(query: {
3625
- /** String to search for */
3626
- criteria: string;
3689
+ getNightSessionRegionQuotesOnbbo(query: {
3690
+ /** Allow one symbol */
3691
+ symbol: string;
3627
3692
  /**
3628
- * Maximum number of results to return (default is 20)
3629
- * @format int32
3630
- * @default 20
3693
+ * Optional. Default is false. If true, response will be camel case
3694
+ * @default false
3631
3695
  */
3632
- limit?: number;
3696
+ response_camel_case?: boolean;
3633
3697
  /**
3634
- * Whether to load quotes for the results or not
3635
- * @default false
3698
+ * Optional. Must input if enterprise user query on behave of their clients
3699
+ * @default ""
3636
3700
  */
3637
- loadQuotes?: boolean;
3701
+ user_name?: string;
3702
+ /** @default "" */
3703
+ platform?: string;
3704
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasRegionQuote[], HandleError, Format>>;
3705
+ /**
3706
+ * @tags Quote
3707
+ * @name GetTimeSale
3708
+ * @summary Query TimeSale from Tick data - All users
3709
+ * @request GET:/api/quote/time-sale
3710
+ * @secure
3711
+ */
3712
+ getTimeSale(query: {
3713
+ /** Allow one symbol */
3714
+ symbol: string;
3638
3715
  /**
3639
- * include mutual fund in search results
3716
+ * Optional. Default is false. If true, response will be camel case
3640
3717
  * @default false
3641
3718
  */
3642
- includeMF?: boolean;
3719
+ response_camel_case?: boolean;
3643
3720
  /**
3644
- * filter out quotes not found symbols. This parameter only works if 'loadQuotes' is true.
3645
- * @default false
3721
+ * Optional. Must input if enterprise user query on behave of their clients
3722
+ * @default ""
3646
3723
  */
3647
- excludeNotFound?: boolean;
3724
+ user_name?: string;
3648
3725
  /** @default "" */
3649
3726
  platform?: string;
3650
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3651
- /**
3652
- * @tags QuotesReformat
3653
- * @name GetEquitySnapshot
3654
- * @summary Query NBBO Snapshot - All users
3655
- * @request GET:/api/quotes/equity/snapshot
3656
- * @secure
3657
- */
3658
- getEquitySnapshot(query: {
3659
- /** Allow multiple symbols query, seperated by ',' */
3660
- symbols: string;
3661
- /** @default "" */
3662
- platform?: string;
3663
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3664
- /**
3665
- * @tags QuotesReformat
3666
- * @name GetOption
3667
- * @summary Query Option Level 1 data - All users
3668
- * @request GET:/api/quotes/option
3669
- * @secure
3670
- */
3671
- getOption(query: {
3672
- /** Option symbol. Format {Underlying Symbol}yymmdd{C/P}{Strike price*1000, total 8 digits} */
3673
- symbols: string;
3674
- /**
3675
- * if include greek letter value in response
3676
- * @default false
3677
- */
3678
- greeks?: boolean;
3679
- /** @default "" */
3680
- platform?: string;
3681
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3682
- /**
3683
- * @tags QuotesReformat
3684
- * @name GetOptionChainDates
3685
- * @summary Query Option Chain dates - All users
3686
- * @request GET:/api/quotes/option/chain/dates/{symbol}
3687
- * @secure
3688
- */
3689
- getOptionChainDates(symbol: string, query?: {
3690
- /** @default "" */
3691
- platform?: string;
3692
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3693
- /**
3694
- * @tags QuotesReformat
3695
- * @name GetOptionChain
3696
- * @summary Query Option Chain data - All users
3697
- * @request GET:/api/quotes/option/chain/{symbol}/{date}
3698
- * @secure
3699
- */
3700
- getOptionChain(symbol: string, date: string, query?: {
3701
- /** @default "" */
3702
- platform?: string;
3703
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3704
- /**
3705
- * @tags QuotesReformat
3706
- * @name GetOptionHistorical
3707
- * @summary Query option Day Chart. No weekly data point support yet. No rsiSpan support. - All users
3708
- * @request GET:/api/quotes/option/historical
3709
- * @secure
3710
- */
3711
- getOptionHistorical(query: {
3712
- /** Allow one symbol */
3713
- symbol: string;
3714
- /** start date (MM/dd/yyyy) */
3715
- start?: string;
3716
- /** end date (MM/dd/yyyy) */
3717
- end?: string;
3718
- /**
3719
- * If start and end are not specified, then range needs to be given. Format: [num][y/m] (y – year, m – months). num specifies number of (y/m) back from current date
3720
- * @default ""
3721
- */
3722
- range?: string;
3723
- /** @default "" */
3724
- platform?: string;
3725
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3726
- /**
3727
- * @tags QuotesReformat
3728
- * @name GetBonds
3729
- * @summary Query Bonds data - All users
3730
- * @request GET:/api/quotes/bonds
3731
- * @secure
3732
- */
3733
- getBonds(query: {
3734
- /** ISIN, allow multiple query separated by ',' */
3735
- identifiers: string;
3736
- /**
3737
- * Price type, default is Percentage. ('Percentage'|'Decimal')
3738
- * @default "Percentage"
3739
- */
3740
- bondPriceType?: string;
3741
- /**
3742
- * Quantity type, default is Par. ('Par'|'Unit')
3743
- * @default "Par"
3744
- */
3745
- bondQuantityType?: string;
3746
- /** @default "" */
3747
- platform?: string;
3748
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3749
- /**
3750
- * @tags QuotesReformat
3751
- * @name GetBondsSearch
3752
- * @summary Search bonds - All users
3753
- * @request GET:/api/quotes/bonds/search
3754
- * @secure
3755
- */
3756
- getBondsSearch(query: {
3757
- /** search string */
3758
- criteria: string;
3759
- /**
3760
- * how many records that need to return, 20 is maximum
3761
- * @format int32
3762
- * @default 20
3763
- */
3764
- limit?: number;
3765
- /**
3766
- * if return bonds quote. If false, will only return ISIN list
3767
- * @default false
3768
- */
3769
- loadQuotes?: boolean;
3770
- /**
3771
- * Price type, default is Percentage. ('Percentage'|'Decimal')
3772
- * @default "Percentage"
3773
- */
3774
- bondPriceType?: string;
3775
- /**
3776
- * Quantity type, default is Par. ('Par'|'Unit')
3777
- * @default "Par"
3778
- */
3779
- bondQuantityType?: string;
3780
- /** @default "" */
3781
- platform?: string;
3782
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3783
- /**
3784
- * @tags QuotesReformat
3785
- * @name GetQuotesReformat
3786
- * @summary Query Forex rate - All users
3787
- * @request GET:/api/quotes/fx
3788
- * @secure
3789
- */
3790
- getQuotesReformat(query: {
3791
- /** base_currency/quote_currecy. Can query multiple, separated with ',' */
3792
- symbols: string;
3793
- /** @default "" */
3794
- platform?: string;
3795
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
3796
- }
3797
- export class Quote<HandleError extends boolean = boolean> {
3798
- protected readonly apiClient: JwtClient<HandleError>;
3799
- constructor(apiClient: JwtClient<HandleError>);
3800
- /**
3801
- * @tags Quote
3802
- * @name PostSymbolSearch
3803
- * @summary Symbol screener - All users
3804
- * @request POST:/api/quote/symbol-search
3805
- * @secure
3806
- */
3807
- postSymbolSearch(data: AesMidasSymbolSearchBody, query?: {
3808
- /**
3809
- * Optional. Default is false. If true, response will be camel case
3810
- * @default false
3811
- */
3812
- response_camel_case?: boolean;
3813
- /** @default "" */
3814
- user_name?: string;
3815
- /** @default "" */
3816
- platform?: string;
3817
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSymbolSearchRecordResponsewithPagination, HandleError>>;
3818
- /**
3819
- * @tags Quote
3820
- * @name GetBestQuote
3821
- * @summary Query Best Quote(Level 1 data) - All users
3822
- * @request GET:/api/quote/best-quote
3823
- * @secure
3824
- */
3825
- getBestQuote(query: {
3826
- /** Allow multiple symbols query, seperated by ',' */
3827
- symbols: string;
3828
- /**
3829
- * Optional. Default is false. If true, response will be camel case
3830
- * @default false
3831
- */
3832
- response_camel_case?: boolean;
3833
- /**
3834
- * Optional. Must input if enterprise user query on behave of their clients
3835
- * @default ""
3836
- */
3837
- user_name?: string;
3838
- /** @default "" */
3839
- platform?: string;
3840
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBestQuote[], HandleError>>;
3841
- /**
3842
- * @tags Quote
3843
- * @name GetNbboSnapshot
3844
- * @summary Query NBBO Snapshot - All users
3845
- * @request GET:/api/quote/nbbo-snapshot
3846
- * @secure
3847
- */
3848
- getNbboSnapshot(query: {
3849
- /** Allow multiple symbols query, seperated by ',' */
3850
- symbols: string;
3851
- /**
3852
- * Optional. Default is false. If true, response will be camel case
3853
- * @default false
3854
- */
3855
- response_camel_case?: boolean;
3856
- /**
3857
- * Optional. Must input if enterprise user query on behave of their clients
3858
- * @default ""
3859
- */
3860
- user_name?: string;
3861
- /** @default "" */
3862
- platform?: string;
3863
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshot[], HandleError>>;
3864
- /**
3865
- * @tags Quote
3866
- * @name GetOpraSnapshot
3867
- * @summary Query OPRA Snapshot - All users - available in Microservice
3868
- * @request GET:/api/quote/opra-snapshot
3869
- * @secure
3870
- */
3871
- getOpraSnapshot(query: {
3872
- /** Allow multiple symbols query, seperated by ',' */
3873
- symbols: string;
3874
- /**
3875
- * Optional. Default is false. If true, response will be camel case
3876
- * @default false
3877
- */
3878
- response_camel_case?: boolean;
3879
- /**
3880
- * Optional. Must input if enterprise user query on behave of their clients
3881
- * @default ""
3882
- */
3883
- user_name?: string;
3884
- /** @default "" */
3885
- platform?: string;
3886
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasSnapshot[], HandleError>>;
3887
- /**
3888
- * @tags Quote
3889
- * @name GetLevel1
3890
- * @summary Query full Level 1 data - All users
3891
- * @request GET:/api/quote/level1
3892
- * @secure
3893
- */
3894
- getLevel1(query: {
3895
- /** Allow multiple symbols, separated by ',' */
3896
- symbols: string;
3897
- /**
3898
- * Optional. Default is false. If true, response will be camel case
3899
- * @default false
3900
- */
3901
- response_camel_case?: boolean;
3902
- /**
3903
- * Optional. Must input if enterprise user query on behave of their clients
3904
- * @default ""
3905
- */
3906
- user_name?: string;
3907
- /** @default "" */
3908
- platform?: string;
3909
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasLevel1[], HandleError>>;
3910
- /**
3911
- * @tags Quote
3912
- * @name GetRegionQuotes
3913
- * @summary Query Region Quotes from Tick data - All users
3914
- * @request GET:/api/quote/region-quotes
3915
- * @secure
3916
- */
3917
- getRegionQuotes(query: {
3918
- /** Allow one symbol */
3919
- symbol: string;
3920
- /**
3921
- * Optional. Default is false. If true, response will be camel case
3922
- * @default false
3923
- */
3924
- response_camel_case?: boolean;
3925
- /**
3926
- * Optional. Must input if enterprise user query on behave of their clients
3927
- * @default ""
3928
- */
3929
- user_name?: string;
3930
- /** @default "" */
3931
- platform?: string;
3932
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasRegionQuote[], HandleError>>;
3933
- /**
3934
- * @tags Quote
3935
- * @name GetNightSessionRegionQuotesOnbbo
3936
- * @summary Query ONBBO Region Quotes(Level2) from Tick data - All users - available in Microservice
3937
- * @request GET:/api/quote/night-session/region-quotes/onbbo
3938
- * @secure
3939
- */
3940
- getNightSessionRegionQuotesOnbbo(query: {
3941
- /** Allow one symbol */
3942
- symbol: string;
3943
- /**
3944
- * Optional. Default is false. If true, response will be camel case
3945
- * @default false
3946
- */
3947
- response_camel_case?: boolean;
3948
- /**
3949
- * Optional. Must input if enterprise user query on behave of their clients
3950
- * @default ""
3951
- */
3952
- user_name?: string;
3953
- /** @default "" */
3954
- platform?: string;
3955
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasRegionQuote[], HandleError>>;
3956
- /**
3957
- * @tags Quote
3958
- * @name GetTimeSale
3959
- * @summary Query TimeSale from Tick data - All users
3960
- * @request GET:/api/quote/time-sale
3961
- * @secure
3962
- */
3963
- getTimeSale(query: {
3964
- /** Allow one symbol */
3965
- symbol: string;
3966
- /**
3967
- * Optional. Default is false. If true, response will be camel case
3968
- * @default false
3969
- */
3970
- response_camel_case?: boolean;
3971
- /**
3972
- * Optional. Must input if enterprise user query on behave of their clients
3973
- * @default ""
3974
- */
3975
- user_name?: string;
3976
- /** @default "" */
3977
- platform?: string;
3978
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError>>;
3727
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError, Format>>;
3979
3728
  /**
3980
3729
  * @tags Quote
3981
3730
  * @name GetNightSessionTimeSaleOnbbo
@@ -3998,7 +3747,7 @@ export class Quote<HandleError extends boolean = boolean> {
3998
3747
  user_name?: string;
3999
3748
  /** @default "" */
4000
3749
  platform?: string;
4001
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError>>;
3750
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError, Format>>;
4002
3751
  /**
4003
3752
  * @tags Quote
4004
3753
  * @name GetLastTrade
@@ -4021,7 +3770,7 @@ export class Quote<HandleError extends boolean = boolean> {
4021
3770
  user_name?: string;
4022
3771
  /** @default "" */
4023
3772
  platform?: string;
4024
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError>>;
3773
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError, Format>>;
4025
3774
  /**
4026
3775
  * @tags Quote
4027
3776
  * @name GetNightSessionLastTradeOnbbo
@@ -4044,7 +3793,7 @@ export class Quote<HandleError extends boolean = boolean> {
4044
3793
  user_name?: string;
4045
3794
  /** @default "" */
4046
3795
  platform?: string;
4047
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError>>;
3796
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTimeSell[], HandleError, Format>>;
4048
3797
  /**
4049
3798
  * @tags Quote
4050
3799
  * @name GetIntradayChart
@@ -4072,7 +3821,7 @@ export class Quote<HandleError extends boolean = boolean> {
4072
3821
  user_name?: string;
4073
3822
  /** @default "" */
4074
3823
  platform?: string;
4075
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasChartBar[], HandleError>>;
3824
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasChartBar[], HandleError, Format>>;
4076
3825
  /**
4077
3826
  * @tags Quote
4078
3827
  * @name GetHistoricalDayChart
@@ -4106,7 +3855,7 @@ export class Quote<HandleError extends boolean = boolean> {
4106
3855
  user_name?: string;
4107
3856
  /** @default "" */
4108
3857
  platform?: string;
4109
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDayChart[], HandleError>>;
3858
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDayChart[], HandleError, Format>>;
4110
3859
  /**
4111
3860
  * @tags Quote
4112
3861
  * @name GetHistoricalMinuteChart
@@ -4131,7 +3880,7 @@ export class Quote<HandleError extends boolean = boolean> {
4131
3880
  user_name?: string;
4132
3881
  /** @default "" */
4133
3882
  platform?: string;
4134
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasMinuteChart[], HandleError>>;
3883
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasMinuteChart[], HandleError, Format>>;
4135
3884
  /**
4136
3885
  * @tags Quote
4137
3886
  * @name GetTop20
@@ -4149,7 +3898,7 @@ export class Quote<HandleError extends boolean = boolean> {
4149
3898
  user_name?: string;
4150
3899
  /** @default "" */
4151
3900
  platform?: string;
4152
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTop20[], HandleError>>;
3901
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasTop20[], HandleError, Format>>;
4153
3902
  /**
4154
3903
  * @tags Quote
4155
3904
  * @name GetOptionChainDates
@@ -4172,7 +3921,7 @@ export class Quote<HandleError extends boolean = boolean> {
4172
3921
  user_name?: string;
4173
3922
  /** @default "" */
4174
3923
  platform?: string;
4175
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionChainDates[], HandleError>>;
3924
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionChainDates[], HandleError, Format>>;
4176
3925
  /**
4177
3926
  * @tags Quote
4178
3927
  * @name GetOptionChain
@@ -4197,7 +3946,7 @@ export class Quote<HandleError extends boolean = boolean> {
4197
3946
  user_name?: string;
4198
3947
  /** @default "" */
4199
3948
  platform?: string;
4200
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionChain[], HandleError>>;
3949
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionChain[], HandleError, Format>>;
4201
3950
  /**
4202
3951
  * @tags Quote
4203
3952
  * @name GetOptionLevel1
@@ -4220,7 +3969,7 @@ export class Quote<HandleError extends boolean = boolean> {
4220
3969
  user_name?: string;
4221
3970
  /** @default "" */
4222
3971
  platform?: string;
4223
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionL1[], HandleError>>;
3972
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionL1[], HandleError, Format>>;
4224
3973
  /**
4225
3974
  * @tags Quote
4226
3975
  * @name GetOptionLevel1WithGreek
@@ -4248,7 +3997,7 @@ export class Quote<HandleError extends boolean = boolean> {
4248
3997
  user_name?: string;
4249
3998
  /** @default "" */
4250
3999
  platform?: string;
4251
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionL1WithGreeks[], HandleError>>;
4000
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOptionL1WithGreeks[], HandleError, Format>>;
4252
4001
  /**
4253
4002
  * @tags Quote
4254
4003
  * @name GetOptionDayChart
@@ -4282,7 +4031,7 @@ export class Quote<HandleError extends boolean = boolean> {
4282
4031
  user_name?: string;
4283
4032
  /** @default "" */
4284
4033
  platform?: string;
4285
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDayChart[], HandleError>>;
4034
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasDayChart[], HandleError, Format>>;
4286
4035
  /**
4287
4036
  * @tags Quote
4288
4037
  * @name GetEquiductLevel1
@@ -4310,7 +4059,7 @@ export class Quote<HandleError extends boolean = boolean> {
4310
4059
  user_name?: string;
4311
4060
  /** @default "" */
4312
4061
  platform?: string;
4313
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEquiductL1[], HandleError>>;
4062
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasEquiductL1[], HandleError, Format>>;
4314
4063
  /**
4315
4064
  * @tags Quote
4316
4065
  * @name GetBonds
@@ -4343,7 +4092,7 @@ export class Quote<HandleError extends boolean = boolean> {
4343
4092
  user_name?: string;
4344
4093
  /** @default "" */
4345
4094
  platform?: string;
4346
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBond[], HandleError>>;
4095
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBond[], HandleError, Format>>;
4347
4096
  /**
4348
4097
  * @tags Quote
4349
4098
  * @name GetBondsSearch
@@ -4382,7 +4131,7 @@ export class Quote<HandleError extends boolean = boolean> {
4382
4131
  response_camel_case?: boolean;
4383
4132
  /** @default "" */
4384
4133
  platform?: string;
4385
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4134
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4386
4135
  /**
4387
4136
  * @tags Quote
4388
4137
  * @name GetBondScreenerFieldValues
@@ -4390,7 +4139,7 @@ export class Quote<HandleError extends boolean = boolean> {
4390
4139
  * @request GET:/api/quote/bond-screener-field-values
4391
4140
  * @secure
4392
4141
  */
4393
- getBondScreenerFieldValues(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBondFieldValues, HandleError>>;
4142
+ getBondScreenerFieldValues(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBondFieldValues, HandleError, Format>>;
4394
4143
  /**
4395
4144
  * @description For fields possible value, please query in endpoint 'bonds-screener-field-values"
4396
4145
  * @tags Quote
@@ -4407,7 +4156,7 @@ export class Quote<HandleError extends boolean = boolean> {
4407
4156
  response_camel_case?: boolean;
4408
4157
  /** @default "" */
4409
4158
  platform?: string;
4410
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBondPagedResult, HandleError>>;
4159
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasBondPagedResult, HandleError, Format>>;
4411
4160
  /**
4412
4161
  * @tags Quote
4413
4162
  * @name GetBondsChart
@@ -4431,7 +4180,7 @@ export class Quote<HandleError extends boolean = boolean> {
4431
4180
  response_camel_case?: boolean;
4432
4181
  /** @default "" */
4433
4182
  platform?: string;
4434
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasHistoricalBondChartApex[], HandleError>>;
4183
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasHistoricalBondChartApex[], HandleError, Format>>;
4435
4184
  /**
4436
4185
  * @tags Quote
4437
4186
  * @name GetMutualFunds
@@ -4449,7 +4198,7 @@ export class Quote<HandleError extends boolean = boolean> {
4449
4198
  response_camel_case?: boolean;
4450
4199
  /** @default "" */
4451
4200
  platform?: string;
4452
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasMutualFund[], HandleError>>;
4201
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasMutualFund[], HandleError, Format>>;
4453
4202
  /**
4454
4203
  * @tags Quote
4455
4204
  * @name GetQuoddEod
@@ -4472,7 +4221,7 @@ export class Quote<HandleError extends boolean = boolean> {
4472
4221
  user_name?: string;
4473
4222
  /** @default "" */
4474
4223
  platform?: string;
4475
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQuoddEOD[], HandleError>>;
4224
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQuoddEOD[], HandleError, Format>>;
4476
4225
  /**
4477
4226
  * @tags Quote
4478
4227
  * @name GetQuoddDelay
@@ -4495,7 +4244,7 @@ export class Quote<HandleError extends boolean = boolean> {
4495
4244
  user_name?: string;
4496
4245
  /** @default "" */
4497
4246
  platform?: string;
4498
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQuoddDelay[], HandleError>>;
4247
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasQuoddDelay[], HandleError, Format>>;
4499
4248
  /**
4500
4249
  * @tags Quote
4501
4250
  * @name GetIceIsin
@@ -4518,7 +4267,7 @@ export class Quote<HandleError extends boolean = boolean> {
4518
4267
  user_name?: string;
4519
4268
  /** @default "" */
4520
4269
  platform?: string;
4521
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasIsinInfo[], HandleError>>;
4270
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasIsinInfo[], HandleError, Format>>;
4522
4271
  /**
4523
4272
  * @tags Quote
4524
4273
  * @name GetIceEod
@@ -4541,7 +4290,7 @@ export class Quote<HandleError extends boolean = boolean> {
4541
4290
  user_name?: string;
4542
4291
  /** @default "" */
4543
4292
  platform?: string;
4544
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasICEEOD[], HandleError>>;
4293
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasICEEOD[], HandleError, Format>>;
4545
4294
  /**
4546
4295
  * @tags Quote
4547
4296
  * @name GetFxRate
@@ -4564,7 +4313,7 @@ export class Quote<HandleError extends boolean = boolean> {
4564
4313
  user_name?: string;
4565
4314
  /** @default "" */
4566
4315
  platform?: string;
4567
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasForexRate[], HandleError>>;
4316
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasForexRate[], HandleError, Format>>;
4568
4317
  /**
4569
4318
  * @tags Quote
4570
4319
  * @name GetFxTable
@@ -4587,7 +4336,7 @@ export class Quote<HandleError extends boolean = boolean> {
4587
4336
  user_name?: string;
4588
4337
  /** @default "" */
4589
4338
  platform?: string;
4590
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasForexTable[], HandleError>>;
4339
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasForexTable[], HandleError, Format>>;
4591
4340
  /**
4592
4341
  * @tags Quote
4593
4342
  * @name GetCompanyProfile
@@ -4603,7 +4352,7 @@ export class Quote<HandleError extends boolean = boolean> {
4603
4352
  user_name?: string;
4604
4353
  /** @default "" */
4605
4354
  platform?: string;
4606
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasInsightCompanyProfile, HandleError>>;
4355
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasInsightCompanyProfile, HandleError, Format>>;
4607
4356
  /**
4608
4357
  * @tags Quote
4609
4358
  * @name GetInternationalLevel1
@@ -4619,7 +4368,7 @@ export class Quote<HandleError extends boolean = boolean> {
4619
4368
  user_name?: string;
4620
4369
  /** @default "" */
4621
4370
  platform?: string;
4622
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasInternationalLevel1[], HandleError>>;
4371
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasInternationalLevel1[], HandleError, Format>>;
4623
4372
  /**
4624
4373
  * @tags Quote
4625
4374
  * @name GetNightSessionLevel1
@@ -4636,222 +4385,504 @@ export class Quote<HandleError extends boolean = boolean> {
4636
4385
  */
4637
4386
  response_camel_case?: boolean;
4638
4387
  /**
4639
- * Optional. Must input if enterprise user query on behave of their clients
4388
+ * Optional. Must input if enterprise user query on behave of their clients
4389
+ * @default ""
4390
+ */
4391
+ user_name?: string;
4392
+ /** @default "" */
4393
+ platform?: string;
4394
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSession[], HandleError, Format>>;
4395
+ /**
4396
+ * @tags Quote
4397
+ * @name GetNightSessionIntraday
4398
+ * @summary Query Night Session intraday minute chart data with symbol - All users - available in Microservice
4399
+ * @request GET:/api/quote/night-session/intraday/{source}
4400
+ * @secure
4401
+ */
4402
+ getNightSessionIntraday(source: string, query: {
4403
+ /** Allow only one symbol */
4404
+ symbol: string;
4405
+ /**
4406
+ * 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
4407
+ * @format int32
4408
+ * @default 0
4409
+ */
4410
+ range_back?: number;
4411
+ /**
4412
+ * Optional. Default is false. If true, response will be camel case
4413
+ * @default false
4414
+ */
4415
+ response_camel_case?: boolean;
4416
+ /**
4417
+ * Optional. Must input if enterprise user query on behave of their clients
4418
+ * @default ""
4419
+ */
4420
+ user_name?: string;
4421
+ /** @default "" */
4422
+ platform?: string;
4423
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMinuteChart[], HandleError, Format>>;
4424
+ /**
4425
+ * @tags Quote
4426
+ * @name GetNightSessionTimeSale
4427
+ * @summary Query Night Session TimeSale from Tick data - All users - available in Microservice
4428
+ * @request GET:/api/quote/night-session/time-sale/{source}
4429
+ * @secure
4430
+ */
4431
+ getNightSessionTimeSale(source: string, query: {
4432
+ /** Allow one symbol */
4433
+ symbol: string;
4434
+ /**
4435
+ * Optional. Default is false. If true, response will be camel case
4436
+ * @default false
4437
+ */
4438
+ response_camel_case?: boolean;
4439
+ /**
4440
+ * Optional. Must input if enterprise user query on behave of their clients
4441
+ * @default ""
4442
+ */
4443
+ user_name?: string;
4444
+ /** @default "" */
4445
+ platform?: string;
4446
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionTimeSell[], HandleError, Format>>;
4447
+ /**
4448
+ * @tags Quote
4449
+ * @name GetNightSessionMarketStatus
4450
+ * @summary Query Night Session Market Status - All users - available in Microservice
4451
+ * @request GET:/api/quote/night-session/market-status/{source}
4452
+ * @secure
4453
+ */
4454
+ getNightSessionMarketStatus(source: string, query?: {
4455
+ /**
4456
+ * Optional. Default is false. If true, response will be camel case
4457
+ * @default false
4458
+ */
4459
+ response_camel_case?: boolean;
4460
+ /**
4461
+ * Optional. Must input if enterprise user query on behave of their clients
4462
+ * @default ""
4463
+ */
4464
+ user_name?: string;
4465
+ /** @default "" */
4466
+ platform?: string;
4467
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketStatus[], HandleError, Format>>;
4468
+ /**
4469
+ * @tags Quote
4470
+ * @name GetNightSessionMarketHolidays
4471
+ * @summary Query Night Session Market Holidays - All users - available in Microservice
4472
+ * @request GET:/api/quote/night-session/market-holidays/{source}
4473
+ * @secure
4474
+ */
4475
+ getNightSessionMarketHolidays(source: string, query?: {
4476
+ /**
4477
+ * Optional. Default is false. If true, response will be camel case
4478
+ * @default false
4479
+ */
4480
+ response_camel_case?: boolean;
4481
+ /**
4482
+ * Optional. Must input if enterprise user query on behave of their clients
4483
+ * @default ""
4484
+ */
4485
+ user_name?: string;
4486
+ /** @default "" */
4487
+ platform?: string;
4488
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketHoliday[], HandleError, Format>>;
4489
+ /**
4490
+ * @tags Quote
4491
+ * @name GetUsMasterFile
4492
+ * @summary Get US End of Day master file - All users - available in Microservice Streams upstream response directly to the client to reduce latency and memory usage. Adds short-lived cache to avoid repeated network calls.
4493
+ * @request GET:/api/quote/us-master-file
4494
+ * @secure
4495
+ */
4496
+ getUsMasterFile(query?: {
4497
+ /**
4498
+ * Optional. Must input if enterprise user query on behalf of their clients
4499
+ * @default ""
4500
+ */
4501
+ user_name?: string;
4502
+ /** @default "" */
4503
+ platform?: string;
4504
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4505
+ /**
4506
+ * @tags Quote
4507
+ * @name GetEquityUpdate
4508
+ * @summary Query equity level1 short update data - All users
4509
+ * @request GET:/api/quote/equity-update
4510
+ * @secure
4511
+ */
4512
+ getEquityUpdate(query: {
4513
+ /** Allow multiple symbols, separated by ',' */
4514
+ symbols: string;
4515
+ /** @default "" */
4516
+ platform?: string;
4517
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasLevel1Update[], HandleError, Format>>;
4518
+ /**
4519
+ * @tags Quote
4520
+ * @name GetPolygonFmv
4521
+ * @summary Query polygon FMV data - All users - available in Microservice
4522
+ * @request GET:/api/quote/polygon/fmv
4523
+ * @secure
4524
+ */
4525
+ getPolygonFmv(query: {
4526
+ /** Allow multiple symbols, separated by ',' */
4527
+ symbols: string;
4528
+ /**
4529
+ * Optional. Must input if enterprise user query on behave of their clients
4530
+ * @default ""
4531
+ */
4532
+ user_name?: string;
4533
+ /** @default "" */
4534
+ platform?: string;
4535
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonFMV[], HandleError, Format>>;
4536
+ /**
4537
+ * @tags Quote
4538
+ * @name GetPolygonMinuteChart
4539
+ * @summary Query Polygon Minute Chart - All users - available in Microservice
4540
+ * @request GET:/api/quote/polygon/minute-chart
4541
+ * @secure
4542
+ */
4543
+ getPolygonMinuteChart(query?: {
4544
+ /** Allow one symbol */
4545
+ symbol?: string;
4546
+ /**
4547
+ * Optional. Default is false. If true, response will be camel case
4548
+ * @default false
4549
+ */
4550
+ response_camel_case?: boolean;
4551
+ /**
4552
+ * Optional. Must input if enterprise user query on behave of their clients
4553
+ * @default ""
4554
+ */
4555
+ user_name?: string;
4556
+ /** @default "" */
4557
+ platform?: string;
4558
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonMinuteChart[], HandleError, Format>>;
4559
+ /**
4560
+ * @tags Quote
4561
+ * @name GetPolygonTop
4562
+ * @summary Query Polygon Top list - All users - available in Microservice
4563
+ * @request GET:/api/quote/polygon/top
4564
+ * @secure
4565
+ */
4566
+ getPolygonTop(query?: {
4567
+ /**
4568
+ * Optional. Default is false. If true, response will be camel case
4569
+ * @default false
4570
+ */
4571
+ response_camel_case?: boolean;
4572
+ /**
4573
+ * Optional. Must input if enterprise user query on behave of their clients
4574
+ * @default ""
4575
+ */
4576
+ user_name?: string;
4577
+ /** @default "" */
4578
+ platform?: string;
4579
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonTop[], HandleError, Format>>;
4580
+ /**
4581
+ * @tags Quote
4582
+ * @name GetOptionCorporateActions
4583
+ * @summary Query OCC corporate actions by symbol and optional publish date range
4584
+ * @request GET:/api/quote/option-corporate-actions
4585
+ * @secure
4586
+ */
4587
+ getOptionCorporateActions(query?: {
4588
+ symbol?: string;
4589
+ date_from?: string;
4590
+ date_to?: string;
4591
+ /** @default false */
4592
+ response_camel_case?: boolean;
4593
+ /** @default "" */
4594
+ user_name?: string;
4595
+ /** @default "" */
4596
+ platform?: string;
4597
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4598
+ }
4599
+ export class QuotesReformat<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4600
+ protected readonly apiClient: JwtClient<HandleError, Format>;
4601
+ constructor(apiClient: JwtClient<HandleError, Format>);
4602
+ /**
4603
+ * @tags QuotesReformat
4604
+ * @name GetEquity
4605
+ * @summary Query full Level 1 data - All users
4606
+ * @request GET:/api/quotes/equity
4607
+ * @secure
4608
+ */
4609
+ getEquity(query: {
4610
+ /** Allow multiple symbols, separated by ',' */
4611
+ symbols: string;
4612
+ /** @default "" */
4613
+ platform?: string;
4614
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4615
+ /**
4616
+ * @tags QuotesReformat
4617
+ * @name GetEquityCboe
4618
+ * @summary TEMPORARY ENDPOINT: Query US Realtime data from CBOE1 - All users
4619
+ * @request GET:/api/quotes/equity/cboe
4620
+ * @secure
4621
+ */
4622
+ getEquityCboe(query: {
4623
+ /** Allow multiple symbols, separated by ',' */
4624
+ symbols: string;
4625
+ /** @default "" */
4626
+ platform?: string;
4627
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4628
+ /**
4629
+ * @tags QuotesReformat
4630
+ * @name GetEquityIntraday
4631
+ * @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
4632
+ * @request GET:/api/quotes/equity/intraday
4633
+ * @secure
4634
+ */
4635
+ getEquityIntraday(query: {
4636
+ /** Allow one symbol */
4637
+ symbol: string;
4638
+ /** optional timestamp format for multiday charts. Timestamp format: yyyy-MM-dd HH:mm:ss */
4639
+ from?: string;
4640
+ /** optional timestamp format for multiday charts. Timestamp format: yyyy-MM-dd HH:mm:ss */
4641
+ to?: string;
4642
+ /** @default "" */
4643
+ platform?: string;
4644
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4645
+ /**
4646
+ * @tags QuotesReformat
4647
+ * @name GetEquityHistorical
4648
+ * @summary Query Historical Day Chart. No weekly data point support yet. No rsiSpan support. - All users
4649
+ * @request GET:/api/quotes/equity/historical
4650
+ * @secure
4651
+ */
4652
+ getEquityHistorical(query: {
4653
+ /** Allow one symbol */
4654
+ symbol: string;
4655
+ /** start date (MM/dd/yyyy) */
4656
+ start?: string;
4657
+ /** end date (MM/dd/yyyy) */
4658
+ end?: string;
4659
+ /**
4660
+ * If start and end are not specified, then range needs to be given. Format: [num][y/m/w] (y – year, m – months, w - weeks). num specifies number of (y/m) back from current date
4640
4661
  * @default ""
4641
4662
  */
4642
- user_name?: string;
4663
+ range?: string;
4643
4664
  /** @default "" */
4644
4665
  platform?: string;
4645
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSession[], HandleError>>;
4666
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4646
4667
  /**
4647
- * @tags Quote
4648
- * @name GetNightSessionIntraday
4649
- * @summary Query Night Session intraday minute chart data with symbol - All users - available in Microservice
4650
- * @request GET:/api/quote/night-session/intraday/{source}
4668
+ * @tags QuotesReformat
4669
+ * @name GetSearch
4670
+ * @summary To search for a company and the exact ticker symbol is not known, use this endpoint for a string search. - All users
4671
+ * @request GET:/api/quotes/search
4651
4672
  * @secure
4652
4673
  */
4653
- getNightSessionIntraday(source: string, query: {
4654
- /** Allow only one symbol */
4655
- symbol: string;
4674
+ getSearch(query: {
4675
+ /** String to search for */
4676
+ criteria: string;
4656
4677
  /**
4657
- * 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
4678
+ * Maximum number of results to return (default is 20)
4658
4679
  * @format int32
4659
- * @default 0
4680
+ * @default 20
4660
4681
  */
4661
- range_back?: number;
4682
+ limit?: number;
4662
4683
  /**
4663
- * Optional. Default is false. If true, response will be camel case
4684
+ * Whether to load quotes for the results or not
4664
4685
  * @default false
4665
4686
  */
4666
- response_camel_case?: boolean;
4687
+ loadQuotes?: boolean;
4688
+ /** include countries. For example, if only want to display US symbols, please send 'US' in this parameter */
4689
+ includeCountries?: string;
4667
4690
  /**
4668
- * Optional. Must input if enterprise user query on behave of their clients
4669
- * @default ""
4691
+ * include mutual fund in search results
4692
+ * @default false
4670
4693
  */
4671
- user_name?: string;
4694
+ includeMF?: boolean;
4695
+ /**
4696
+ * filter out quotes not found symbols. This parameter only works if 'loadQuotes' is true.
4697
+ * @default false
4698
+ */
4699
+ excludeNotFound?: boolean;
4672
4700
  /** @default "" */
4673
4701
  platform?: string;
4674
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMinuteChart[], HandleError>>;
4702
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4675
4703
  /**
4676
- * @tags Quote
4677
- * @name GetNightSessionTimeSale
4678
- * @summary Query Night Session TimeSale from Tick data - All users - available in Microservice
4679
- * @request GET:/api/quote/night-session/time-sale/{source}
4704
+ * @tags QuotesReformat
4705
+ * @name GetSearchRedis
4706
+ * @summary TEST Redis symbol search. - All users - available in Microservice version
4707
+ * @request GET:/api/quotes/search-redis
4680
4708
  * @secure
4681
4709
  */
4682
- getNightSessionTimeSale(source: string, query: {
4683
- /** Allow one symbol */
4684
- symbol: string;
4710
+ getSearchRedis(query: {
4711
+ /** String to search for */
4712
+ criteria: string;
4685
4713
  /**
4686
- * Optional. Default is false. If true, response will be camel case
4714
+ * Maximum number of results to return (default is 20)
4715
+ * @format int32
4716
+ * @default 20
4717
+ */
4718
+ limit?: number;
4719
+ /**
4720
+ * Whether to load quotes for the results or not
4687
4721
  * @default false
4688
4722
  */
4689
- response_camel_case?: boolean;
4723
+ loadQuotes?: boolean;
4690
4724
  /**
4691
- * Optional. Must input if enterprise user query on behave of their clients
4692
- * @default ""
4725
+ * include mutual fund in search results
4726
+ * @default false
4693
4727
  */
4694
- user_name?: string;
4728
+ includeMF?: boolean;
4729
+ /**
4730
+ * filter out quotes not found symbols. This parameter only works if 'loadQuotes' is true.
4731
+ * @default false
4732
+ */
4733
+ excludeNotFound?: boolean;
4695
4734
  /** @default "" */
4696
4735
  platform?: string;
4697
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionTimeSell[], HandleError>>;
4736
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4698
4737
  /**
4699
- * @tags Quote
4700
- * @name GetNightSessionMarketStatus
4701
- * @summary Query Night Session Market Status - All users - available in Microservice
4702
- * @request GET:/api/quote/night-session/market-status/{source}
4738
+ * @tags QuotesReformat
4739
+ * @name GetEquitySnapshot
4740
+ * @summary Query NBBO Snapshot - All users
4741
+ * @request GET:/api/quotes/equity/snapshot
4703
4742
  * @secure
4704
4743
  */
4705
- getNightSessionMarketStatus(source: string, query?: {
4706
- /**
4707
- * Optional. Default is false. If true, response will be camel case
4708
- * @default false
4709
- */
4710
- response_camel_case?: boolean;
4711
- /**
4712
- * Optional. Must input if enterprise user query on behave of their clients
4713
- * @default ""
4714
- */
4715
- user_name?: string;
4744
+ getEquitySnapshot(query: {
4745
+ /** Allow multiple symbols query, seperated by ',' */
4746
+ symbols: string;
4716
4747
  /** @default "" */
4717
4748
  platform?: string;
4718
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketStatus[], HandleError>>;
4749
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4719
4750
  /**
4720
- * @tags Quote
4721
- * @name GetNightSessionMarketHolidays
4722
- * @summary Query Night Session Market Holidays - All users - available in Microservice
4723
- * @request GET:/api/quote/night-session/market-holidays/{source}
4751
+ * @tags QuotesReformat
4752
+ * @name GetOption
4753
+ * @summary Query Option Level 1 data - All users
4754
+ * @request GET:/api/quotes/option
4724
4755
  * @secure
4725
4756
  */
4726
- getNightSessionMarketHolidays(source: string, query?: {
4757
+ getOption(query: {
4758
+ /** Option symbol. Format {Underlying Symbol}yymmdd{C/P}{Strike price*1000, total 8 digits} */
4759
+ symbols: string;
4727
4760
  /**
4728
- * Optional. Default is false. If true, response will be camel case
4761
+ * if include greek letter value in response
4729
4762
  * @default false
4730
4763
  */
4731
- response_camel_case?: boolean;
4732
- /**
4733
- * Optional. Must input if enterprise user query on behave of their clients
4734
- * @default ""
4735
- */
4736
- user_name?: string;
4764
+ greeks?: boolean;
4737
4765
  /** @default "" */
4738
4766
  platform?: string;
4739
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasNightSessionMarketHoliday[], HandleError>>;
4740
- /**
4741
- * @tags Quote
4742
- * @name GetUsMasterFile
4743
- * @summary Get US End of Day master file - All users - available in Microservice
4744
- Streams upstream response directly to the client to reduce latency and memory usage.
4745
- Adds short-lived cache to avoid repeated network calls.
4746
- * @request GET:/api/quote/us-master-file
4747
- * @secure
4748
- */
4749
- getUsMasterFile(query?: {
4750
- /**
4751
- * Optional. Must input if enterprise user query on behalf of their clients
4752
- * @default ""
4753
- */
4754
- user_name?: string;
4767
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4768
+ /**
4769
+ * @tags QuotesReformat
4770
+ * @name GetOptionChainDates
4771
+ * @summary Query Option Chain dates - All users
4772
+ * @request GET:/api/quotes/option/chain/dates/{symbol}
4773
+ * @secure
4774
+ */
4775
+ getOptionChainDates(symbol: string, query?: {
4755
4776
  /** @default "" */
4756
4777
  platform?: string;
4757
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4778
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4758
4779
  /**
4759
- * @tags Quote
4760
- * @name GetEquityUpdate
4761
- * @summary Query equity level1 short update data - All users
4762
- * @request GET:/api/quote/equity-update
4780
+ * @tags QuotesReformat
4781
+ * @name GetOptionChain
4782
+ * @summary Query Option Chain data - All users
4783
+ * @request GET:/api/quotes/option/chain/{symbol}/{date}
4763
4784
  * @secure
4764
4785
  */
4765
- getEquityUpdate(query: {
4766
- /** Allow multiple symbols, separated by ',' */
4767
- symbols: string;
4786
+ getOptionChain(symbol: string, date: string, query?: {
4768
4787
  /** @default "" */
4769
4788
  platform?: string;
4770
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasLevel1Update[], HandleError>>;
4789
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4771
4790
  /**
4772
- * @tags Quote
4773
- * @name GetPolygonFmv
4774
- * @summary Query polygon FMV data - All users - available in Microservice
4775
- * @request GET:/api/quote/polygon/fmv
4791
+ * @tags QuotesReformat
4792
+ * @name GetOptionHistorical
4793
+ * @summary Query option Day Chart. No weekly data point support yet. No rsiSpan support. - All users
4794
+ * @request GET:/api/quotes/option/historical
4776
4795
  * @secure
4777
4796
  */
4778
- getPolygonFmv(query: {
4779
- /** Allow multiple symbols, separated by ',' */
4780
- symbols: string;
4797
+ getOptionHistorical(query: {
4798
+ /** Allow one symbol */
4799
+ symbol: string;
4800
+ /** start date (MM/dd/yyyy) */
4801
+ start?: string;
4802
+ /** end date (MM/dd/yyyy) */
4803
+ end?: string;
4781
4804
  /**
4782
- * Optional. Must input if enterprise user query on behave of their clients
4805
+ * If start and end are not specified, then range needs to be given. Format: [num][y/m] (y – year, m – months). num specifies number of (y/m) back from current date
4783
4806
  * @default ""
4784
4807
  */
4785
- user_name?: string;
4808
+ range?: string;
4786
4809
  /** @default "" */
4787
4810
  platform?: string;
4788
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonFMV[], HandleError>>;
4811
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4789
4812
  /**
4790
- * @tags Quote
4791
- * @name GetPolygonMinuteChart
4792
- * @summary Query Polygon Minute Chart - All users - available in Microservice
4793
- * @request GET:/api/quote/polygon/minute-chart
4813
+ * @tags QuotesReformat
4814
+ * @name GetBonds
4815
+ * @summary Query Bonds data - All users
4816
+ * @request GET:/api/quotes/bonds
4794
4817
  * @secure
4795
4818
  */
4796
- getPolygonMinuteChart(query?: {
4797
- /** Allow one symbol */
4798
- symbol?: string;
4819
+ getBonds(query: {
4820
+ /** ISIN, allow multiple query separated by ',' */
4821
+ identifiers: string;
4799
4822
  /**
4800
- * Optional. Default is false. If true, response will be camel case
4801
- * @default false
4823
+ * Price type, default is Percentage. ('Percentage'|'Decimal')
4824
+ * @default "Percentage"
4802
4825
  */
4803
- response_camel_case?: boolean;
4826
+ bondPriceType?: string;
4804
4827
  /**
4805
- * Optional. Must input if enterprise user query on behave of their clients
4806
- * @default ""
4828
+ * Quantity type, default is Par. ('Par'|'Unit')
4829
+ * @default "Par"
4807
4830
  */
4808
- user_name?: string;
4831
+ bondQuantityType?: string;
4809
4832
  /** @default "" */
4810
4833
  platform?: string;
4811
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonMinuteChart[], HandleError>>;
4834
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4812
4835
  /**
4813
- * @tags Quote
4814
- * @name GetPolygonTop
4815
- * @summary Query Polygon Top list - All users - available in Microservice
4816
- * @request GET:/api/quote/polygon/top
4836
+ * @tags QuotesReformat
4837
+ * @name GetBondsSearch
4838
+ * @summary Search bonds - All users
4839
+ * @request GET:/api/quotes/bonds/search
4817
4840
  * @secure
4818
4841
  */
4819
- getPolygonTop(query?: {
4842
+ getBondsSearch(query: {
4843
+ /** search string */
4844
+ criteria: string;
4820
4845
  /**
4821
- * Optional. Default is false. If true, response will be camel case
4846
+ * how many records that need to return, 20 is maximum
4847
+ * @format int32
4848
+ * @default 20
4849
+ */
4850
+ limit?: number;
4851
+ /**
4852
+ * if return bonds quote. If false, will only return ISIN list
4822
4853
  * @default false
4823
4854
  */
4824
- response_camel_case?: boolean;
4855
+ loadQuotes?: boolean;
4825
4856
  /**
4826
- * Optional. Must input if enterprise user query on behave of their clients
4827
- * @default ""
4857
+ * Price type, default is Percentage. ('Percentage'|'Decimal')
4858
+ * @default "Percentage"
4828
4859
  */
4829
- user_name?: string;
4860
+ bondPriceType?: string;
4861
+ /**
4862
+ * Quantity type, default is Par. ('Par'|'Unit')
4863
+ * @default "Par"
4864
+ */
4865
+ bondQuantityType?: string;
4830
4866
  /** @default "" */
4831
4867
  platform?: string;
4832
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasPolygonTop[], HandleError>>;
4868
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4833
4869
  /**
4834
- * @tags Quote
4835
- * @name GetOptionCorporateActions
4836
- * @summary Query OCC corporate actions by symbol and optional publish date range
4837
- * @request GET:/api/quote/option-corporate-actions
4870
+ * @tags QuotesReformat
4871
+ * @name GetQuotesReformat
4872
+ * @summary Query Forex rate - All users
4873
+ * @request GET:/api/quotes/fx
4838
4874
  * @secure
4839
4875
  */
4840
- getOptionCorporateActions(query?: {
4841
- symbol?: string;
4842
- date_from?: string;
4843
- date_to?: string;
4844
- /** @default false */
4845
- response_camel_case?: boolean;
4846
- /** @default "" */
4847
- user_name?: string;
4876
+ getQuotesReformat(query: {
4877
+ /** base_currency/quote_currecy. Can query multiple, separated with ',' */
4878
+ symbols: string;
4848
4879
  /** @default "" */
4849
4880
  platform?: string;
4850
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4881
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
4851
4882
  }
4852
- export class UmaTest<HandleError extends boolean = boolean> {
4853
- protected readonly apiClient: JwtClient<HandleError>;
4854
- constructor(apiClient: JwtClient<HandleError>);
4883
+ export class UmaTest<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4884
+ protected readonly apiClient: JwtClient<HandleError, Format>;
4885
+ constructor(apiClient: JwtClient<HandleError, Format>);
4855
4886
  /**
4856
4887
  * @tags UMATest
4857
4888
  * @name GetRevokeUmaUser
@@ -4862,7 +4893,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4862
4893
  getRevokeUmaUser(query?: {
4863
4894
  /** please use UMA user id */
4864
4895
  user_id?: string;
4865
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4896
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4866
4897
  /**
4867
4898
  * @tags UMATest
4868
4899
  * @name GetFirmList
@@ -4870,7 +4901,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4870
4901
  * @request GET:/api/uma-test/firm-list
4871
4902
  * @secure
4872
4903
  */
4873
- getFirmList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAFirm[], HandleError>>;
4904
+ getFirmList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAFirm[], HandleError, Format>>;
4874
4905
  /**
4875
4906
  * @tags UMATest
4876
4907
  * @name GetFirmListToLocal
@@ -4878,7 +4909,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4878
4909
  * @request GET:/api/uma-test/firm-list-to-local
4879
4910
  * @secure
4880
4911
  */
4881
- getFirmListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4912
+ getFirmListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4882
4913
  /**
4883
4914
  * @tags UMATest
4884
4915
  * @name GetB2BUserList
@@ -4886,7 +4917,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4886
4917
  * @request GET:/api/uma-test/b2b-user-list
4887
4918
  * @secure
4888
4919
  */
4889
- getB2BUserList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2BUser[], HandleError>>;
4920
+ getB2BUserList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2BUser[], HandleError, Format>>;
4890
4921
  /**
4891
4922
  * @tags UMATest
4892
4923
  * @name GetB2BUserListToLocal
@@ -4894,7 +4925,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4894
4925
  * @request GET:/api/uma-test/b2b-user-list-to-local
4895
4926
  * @secure
4896
4927
  */
4897
- getB2BUserListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4928
+ getB2BUserListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4898
4929
  /**
4899
4930
  * @tags UMATest
4900
4931
  * @name GetB2CUserList
@@ -4902,7 +4933,7 @@ export class UmaTest<HandleError extends boolean = boolean> {
4902
4933
  * @request GET:/api/uma-test/b2c-user-list
4903
4934
  * @secure
4904
4935
  */
4905
- getB2CUserList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2CUser[], HandleError>>;
4936
+ getB2CUserList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2CUser[], HandleError, Format>>;
4906
4937
  /**
4907
4938
  * @tags UMATest
4908
4939
  * @name GetB2CUserListToLocal
@@ -4910,11 +4941,19 @@ export class UmaTest<HandleError extends boolean = boolean> {
4910
4941
  * @request GET:/api/uma-test/b2c-user-list-to-local
4911
4942
  * @secure
4912
4943
  */
4913
- getB2CUserListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4944
+ getB2CUserListToLocal(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4914
4945
  }
4915
- export class User<HandleError extends boolean = boolean> {
4916
- protected readonly apiClient: JwtClient<HandleError>;
4917
- constructor(apiClient: JwtClient<HandleError>);
4946
+ export class User<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4947
+ protected readonly apiClient: JwtClient<HandleError, Format>;
4948
+ constructor(apiClient: JwtClient<HandleError, Format>);
4949
+ /**
4950
+ * @tags User
4951
+ * @name GetUmaUserClaims
4952
+ * @summary Returns UMA user claims for the current user. Uses the request's Authorization (Bearer) token; callers can only query their own claims.
4953
+ * @request GET:/api/user/uma-user-claims
4954
+ * @secure
4955
+ */
4956
+ getUmaUserClaims(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4918
4957
  /**
4919
4958
  * @tags User
4920
4959
  * @name PostRegisterUmaB2BUser
@@ -4922,7 +4961,7 @@ export class User<HandleError extends boolean = boolean> {
4922
4961
  * @request POST:/api/user/register-uma-b2b-user
4923
4962
  * @secure
4924
4963
  */
4925
- postRegisterUmaB2BUser(data: AesMidasUMAB2BUser, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4964
+ postRegisterUmaB2BUser(data: AesMidasUMAB2BUser, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4926
4965
  /**
4927
4966
  * @tags User
4928
4967
  * @name PostRegisterUmaB2CUser
@@ -4930,7 +4969,7 @@ export class User<HandleError extends boolean = boolean> {
4930
4969
  * @request POST:/api/user/register-uma-b2c-user
4931
4970
  * @secure
4932
4971
  */
4933
- postRegisterUmaB2CUser(data: AesMidasUMAB2CUser, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4972
+ postRegisterUmaB2CUser(data: AesMidasUMAB2CUser, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4934
4973
  /**
4935
4974
  * @tags User
4936
4975
  * @name PostUmaB2BUserList
@@ -4941,7 +4980,7 @@ export class User<HandleError extends boolean = boolean> {
4941
4980
  postUmaB2BUserList(data: AesMidasQueryPostBody, query?: {
4942
4981
  /** @default "" */
4943
4982
  name?: string;
4944
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2BUserResponsewithPagination, HandleError>>;
4983
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2BUserResponsewithPagination, HandleError, Format>>;
4945
4984
  /**
4946
4985
  * @tags User
4947
4986
  * @name PostUmaB2CUserList
@@ -4952,7 +4991,7 @@ export class User<HandleError extends boolean = boolean> {
4952
4991
  postUmaB2CUserList(data: AesMidasQueryPostBody, query?: {
4953
4992
  /** @default "" */
4954
4993
  name?: string;
4955
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2CUserResponsewithPagination, HandleError>>;
4994
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUMAB2CUserResponsewithPagination, HandleError, Format>>;
4956
4995
  /**
4957
4996
  * @description All conditions are optional
4958
4997
  * @tags User
@@ -4987,7 +5026,7 @@ export class User<HandleError extends boolean = boolean> {
4987
5026
  * @default ""
4988
5027
  */
4989
5028
  has_contract?: string;
4990
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserMultiConditionResultResponseResponsewithPagination, HandleError>>;
5029
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserMultiConditionResultResponseResponsewithPagination, HandleError, Format>>;
4991
5030
  /**
4992
5031
  * @tags User
4993
5032
  * @name PostUserInformation
@@ -4995,7 +5034,7 @@ export class User<HandleError extends boolean = boolean> {
4995
5034
  * @request POST:/api/user/user-information
4996
5035
  * @secure
4997
5036
  */
4998
- postUserInformation(data: AesMidasUserInformation, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserInformation, HandleError>>;
5037
+ postUserInformation(data: AesMidasUserInformation, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserInformation, HandleError, Format>>;
4999
5038
  /**
5000
5039
  * @tags User
5001
5040
  * @name PutUserInformation
@@ -5005,7 +5044,7 @@ export class User<HandleError extends boolean = boolean> {
5005
5044
  */
5006
5045
  putUserInformation(query: {
5007
5046
  user_id: string;
5008
- }, data: AesMidasUserInformation, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5047
+ }, data: AesMidasUserInformation, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5009
5048
  /**
5010
5049
  * @tags User
5011
5050
  * @name GetUserInformationById
@@ -5015,7 +5054,7 @@ export class User<HandleError extends boolean = boolean> {
5015
5054
  */
5016
5055
  getUserInformationById(query: {
5017
5056
  user_id: string;
5018
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserInformation, HandleError>>;
5057
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserInformation, HandleError, Format>>;
5019
5058
  /**
5020
5059
  * @tags User
5021
5060
  * @name GetOccupationList
@@ -5023,7 +5062,7 @@ export class User<HandleError extends boolean = boolean> {
5023
5062
  * @request GET:/api/user/occupation-list
5024
5063
  * @secure
5025
5064
  */
5026
- getOccupationList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOccupation[], HandleError>>;
5065
+ getOccupationList(config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasOccupation[], HandleError, Format>>;
5027
5066
  /**
5028
5067
  * @description It will check if user firm has relevant data acess.
5029
5068
  * @tags User
@@ -5032,7 +5071,7 @@ export class User<HandleError extends boolean = boolean> {
5032
5071
  * @request POST:/api/user/user-data-config
5033
5072
  * @secure
5034
5073
  */
5035
- postUserDataConfig(data: AesMidasUserDataConfig, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig, HandleError>>;
5074
+ postUserDataConfig(data: AesMidasUserDataConfig, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig, HandleError, Format>>;
5036
5075
  /**
5037
5076
  * @description It will check if user firm has relevant data acess.
5038
5077
  * @tags User
@@ -5043,7 +5082,7 @@ export class User<HandleError extends boolean = boolean> {
5043
5082
  */
5044
5083
  putUserDataConfig(query: {
5045
5084
  user_id: string;
5046
- }, data: AesMidasUserDataConfig, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5085
+ }, data: AesMidasUserDataConfig, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5047
5086
  /**
5048
5087
  * @description Pass target_firm_id to move, or omit/empty to unlink.
5049
5088
  * @tags User
@@ -5055,7 +5094,7 @@ export class User<HandleError extends boolean = boolean> {
5055
5094
  putUserFirm(query: {
5056
5095
  user_id: string;
5057
5096
  target_firm_id?: string;
5058
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5097
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5059
5098
  /**
5060
5099
  * @tags User
5061
5100
  * @name GetUserDataConfigById
@@ -5065,7 +5104,7 @@ export class User<HandleError extends boolean = boolean> {
5065
5104
  */
5066
5105
  getUserDataConfigById(query: {
5067
5106
  user_id: string;
5068
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig, HandleError>>;
5107
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig, HandleError, Format>>;
5069
5108
  /**
5070
5109
  * @tags User
5071
5110
  * @name GetUserDataConfigByIdExtraInfo
@@ -5075,7 +5114,7 @@ export class User<HandleError extends boolean = boolean> {
5075
5114
  */
5076
5115
  getUserDataConfigByIdExtraInfo(query: {
5077
5116
  user_id: string;
5078
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfigExtraInfo, HandleError>>;
5117
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfigExtraInfo, HandleError, Format>>;
5079
5118
  /**
5080
5119
  * @tags User
5081
5120
  * @name GetUserDataConfigs
@@ -5085,7 +5124,7 @@ export class User<HandleError extends boolean = boolean> {
5085
5124
  */
5086
5125
  getUserDataConfigs(query: {
5087
5126
  user_ids: string;
5088
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig[], HandleError>>;
5127
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<AesMidasUserDataConfig[], HandleError, Format>>;
5089
5128
  /**
5090
5129
  * @tags User
5091
5130
  * @name GetUserNeedSignAgreements
@@ -5095,7 +5134,7 @@ export class User<HandleError extends boolean = boolean> {
5095
5134
  */
5096
5135
  getUserNeedSignAgreements(query: {
5097
5136
  user_name: string;
5098
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError>>;
5137
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError, Format>>;
5099
5138
  /**
5100
5139
  * @tags User
5101
5140
  * @name GetTestAuthorize
@@ -5103,7 +5142,7 @@ export class User<HandleError extends boolean = boolean> {
5103
5142
  * @request GET:/api/user/test-authorize
5104
5143
  * @secure
5105
5144
  */
5106
- getTestAuthorize(config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError>>;
5145
+ getTestAuthorize(config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError, Format>>;
5107
5146
  /**
5108
5147
  * @tags User
5109
5148
  * @name GetTest
@@ -5111,11 +5150,11 @@ export class User<HandleError extends boolean = boolean> {
5111
5150
  * @request GET:/api/user/test
5112
5151
  * @secure
5113
5152
  */
5114
- getTest(config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError>>;
5153
+ getTest(config?: RequestConfig<HandleError>): Promise<ClientResponse<string, HandleError, Format>>;
5115
5154
  }
5116
- export class WebSocket<HandleError extends boolean = boolean> {
5117
- protected readonly apiClient: JwtClient<HandleError>;
5118
- constructor(apiClient: JwtClient<HandleError>);
5155
+ export class WebSocket<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
5156
+ protected readonly apiClient: JwtClient<HandleError, Format>;
5157
+ constructor(apiClient: JwtClient<HandleError, Format>);
5119
5158
  /**
5120
5159
  * @tags WebSocket
5121
5160
  * @name GetWebSocket
@@ -5123,7 +5162,7 @@ export class WebSocket<HandleError extends boolean = boolean> {
5123
5162
  * @request GET:/ws
5124
5163
  * @secure
5125
5164
  */
5126
- getWebSocket(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5165
+ getWebSocket(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5127
5166
  /**
5128
5167
  * @tags WebSocket
5129
5168
  * @name GetWssub
@@ -5131,49 +5170,49 @@ export class WebSocket<HandleError extends boolean = boolean> {
5131
5170
  * @request GET:/wssub
5132
5171
  * @secure
5133
5172
  */
5134
- getWssub(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5173
+ getWssub(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5135
5174
  }
5136
- export class WebSocketEvent<HandleError extends boolean = boolean> {
5137
- protected readonly apiClient: JwtClient<HandleError>;
5138
- constructor(apiClient: JwtClient<HandleError>);
5175
+ export class WebSocketEvent<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
5176
+ protected readonly apiClient: JwtClient<HandleError, Format>;
5177
+ constructor(apiClient: JwtClient<HandleError, Format>);
5139
5178
  /**
5140
- * @tags WebSocketEvent
5141
- * @name GetWsevent
5142
- * @summary WebSocket endpoint for Redis event-based subscription mode
5143
- Supports Polygon FMV subscriptions with optimized batch processing
5144
- Uses optimized approach with Redis Keyspace Notifications for real-time updates
5145
- * @request GET:/wsevent
5146
- * @secure
5147
- */
5148
- getWsevent(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5179
+ * @tags WebSocketEvent
5180
+ * @name GetWsevent
5181
+ * @summary WebSocket endpoint for Redis event-based subscription mode Supports Polygon FMV subscriptions with optimized batch processing Uses optimized approach with Redis Keyspace Notifications for real-time updates
5182
+ * @request GET:/wsevent
5183
+ * @secure
5184
+ */
5185
+ getWsevent(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5149
5186
  }
5150
- export class WsStream<HandleError extends boolean = boolean> {
5151
- protected readonly apiClient: JwtClient<HandleError>;
5152
- constructor(apiClient: JwtClient<HandleError>);
5187
+ export class WsStream<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
5188
+ protected readonly apiClient: JwtClient<HandleError, Format>;
5189
+ constructor(apiClient: JwtClient<HandleError, Format>);
5153
5190
  /**
5154
5191
  * @tags WsStream
5155
5192
  * @name GetStream
5156
5193
  * @request GET:/stream
5157
5194
  * @secure
5158
5195
  */
5159
- getStream(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5160
- }
5161
- export class AesMidasApi<HandleError extends boolean = false> extends BaseApi<HandleError, JwtClient<HandleError>> {
5162
- readonly config: JwtClientConfig<HandleError>;
5163
- dataSource: DataSource<HandleError>;
5164
- entitlement: Entitlement<HandleError>;
5165
- file: File<HandleError>;
5166
- firm: Firm<HandleError>;
5167
- fundWebQuote: FundWebQuote<HandleError>;
5168
- log: Log<HandleError>;
5169
- permission: Permission<HandleError>;
5170
- quote: Quote<HandleError>;
5171
- quotesReformat: QuotesReformat<HandleError>;
5172
- user: User<HandleError>;
5173
- webSocket: WebSocket<HandleError>;
5174
- webSocketEvent: WebSocketEvent<HandleError>;
5175
- wsStream: WsStream<HandleError>;
5176
- constructor(config: JwtClientConfig<HandleError>);
5196
+ getStream(config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5197
+ }
5198
+ export class AesMidasApi<HandleError extends boolean = false, Format extends CaseFormat = CaseFormat.Original> extends BaseApi<HandleError, Format, JwtClient<HandleError, Format>> {
5199
+ readonly config: JwtClientConfig<HandleError, Format>;
5200
+ backgroundService: BackgroundService<HandleError, Format>;
5201
+ dataSource: DataSource<HandleError, Format>;
5202
+ entitlement: Entitlement<HandleError, Format>;
5203
+ file: File<HandleError, Format>;
5204
+ firm: Firm<HandleError, Format>;
5205
+ fundWebQuote: FundWebQuote<HandleError, Format>;
5206
+ log: Log<HandleError, Format>;
5207
+ permission: Permission<HandleError, Format>;
5208
+ quote: Quote<HandleError, Format>;
5209
+ quotesReformat: QuotesReformat<HandleError, Format>;
5210
+ umaTest: UmaTest<HandleError, Format>;
5211
+ user: User<HandleError, Format>;
5212
+ webSocket: WebSocket<HandleError, Format>;
5213
+ webSocketEvent: WebSocketEvent<HandleError, Format>;
5214
+ wsStream: WsStream<HandleError, Format>;
5215
+ constructor(config: JwtClientConfig<HandleError, Format>);
5177
5216
  }
5178
5217
 
5179
5218
  //# sourceMappingURL=index.d.ts.map