snaptrade-typescript-sdk 13.0.0 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -132,7 +132,6 @@ declare class BaseAPI<TAuth extends AuthMode> {
132
132
  * @interface AccountBalanceTotal
133
133
  */
134
134
  interface AccountBalanceTotal {
135
- [key: string]: unknown;
136
135
  /**
137
136
  * Total value denominated in the currency of the `currency` field.
138
137
  * @type {number}
@@ -154,7 +153,6 @@ interface AccountBalanceTotal {
154
153
  * @interface AccountBalance
155
154
  */
156
155
  interface AccountBalance {
157
- [key: string]: unknown;
158
156
  /**
159
157
  *
160
158
  * @type {AccountBalanceTotal}
@@ -984,11 +982,11 @@ interface Brokerage {
984
982
  'brokerage_type'?: BrokerageType;
985
983
  /**
986
984
  * This field is deprecated. Please contact us if you have a valid use case for it.
987
- * @type {Array<string>}
985
+ * @type {Array<any>}
988
986
  * @memberof Brokerage
989
987
  * @deprecated
990
988
  */
991
- 'exchanges'?: Array<string>;
989
+ 'exchanges'?: Array<any>;
992
990
  /**
993
991
  * This field is deprecated.
994
992
  * @type {string}
@@ -5711,16 +5709,16 @@ interface Model400FailedRequestResponse {
5711
5709
  [key: string]: unknown;
5712
5710
  /**
5713
5711
  *
5714
- * @type {string}
5712
+ * @type {any}
5715
5713
  * @memberof Model400FailedRequestResponse
5716
5714
  */
5717
- 'default_detail'?: string;
5715
+ 'default_detail'?: any;
5718
5716
  /**
5719
5717
  *
5720
- * @type {string}
5718
+ * @type {any}
5721
5719
  * @memberof Model400FailedRequestResponse
5722
5720
  */
5723
- 'default_code'?: string;
5721
+ 'default_code'?: any;
5724
5722
  }
5725
5723
  //#endregion
5726
5724
  //#region models/model401-failed-request-response.d.ts
@@ -5733,16 +5731,16 @@ interface Model401FailedRequestResponse {
5733
5731
  [key: string]: unknown;
5734
5732
  /**
5735
5733
  *
5736
- * @type {string}
5734
+ * @type {any}
5737
5735
  * @memberof Model401FailedRequestResponse
5738
5736
  */
5739
- 'default_detail'?: string;
5737
+ 'default_detail'?: any;
5740
5738
  /**
5741
5739
  *
5742
- * @type {string}
5740
+ * @type {any}
5743
5741
  * @memberof Model401FailedRequestResponse
5744
5742
  */
5745
- 'default_code'?: string;
5743
+ 'default_code'?: any;
5746
5744
  }
5747
5745
  //#endregion
5748
5746
  //#region models/model402-brokerage-auth-already-disabled-exception.d.ts
@@ -5755,16 +5753,16 @@ interface Model402BrokerageAuthAlreadyDisabledException {
5755
5753
  [key: string]: unknown;
5756
5754
  /**
5757
5755
  *
5758
- * @type {string}
5756
+ * @type {any}
5759
5757
  * @memberof Model402BrokerageAuthAlreadyDisabledException
5760
5758
  */
5761
- 'detail'?: string;
5759
+ 'detail'?: any;
5762
5760
  /**
5763
5761
  *
5764
- * @type {string}
5762
+ * @type {any}
5765
5763
  * @memberof Model402BrokerageAuthAlreadyDisabledException
5766
5764
  */
5767
- 'code'?: string;
5765
+ 'code'?: any;
5768
5766
  }
5769
5767
  //#endregion
5770
5768
  //#region models/model402-brokerage-auth-disabled-response.d.ts
@@ -5777,16 +5775,16 @@ interface Model402BrokerageAuthDisabledResponse {
5777
5775
  [key: string]: unknown;
5778
5776
  /**
5779
5777
  *
5780
- * @type {string}
5778
+ * @type {any}
5781
5779
  * @memberof Model402BrokerageAuthDisabledResponse
5782
5780
  */
5783
- 'detail'?: string;
5781
+ 'detail'?: any;
5784
5782
  /**
5785
5783
  *
5786
- * @type {string}
5784
+ * @type {any}
5787
5785
  * @memberof Model402BrokerageAuthDisabledResponse
5788
5786
  */
5789
- 'code'?: string;
5787
+ 'code'?: any;
5790
5788
  }
5791
5789
  //#endregion
5792
5790
  //#region models/model403-failed-request-response.d.ts
@@ -5799,16 +5797,16 @@ interface Model403FailedRequestResponse {
5799
5797
  [key: string]: unknown;
5800
5798
  /**
5801
5799
  *
5802
- * @type {string}
5800
+ * @type {any}
5803
5801
  * @memberof Model403FailedRequestResponse
5804
5802
  */
5805
- 'default_detail'?: string;
5803
+ 'default_detail'?: any;
5806
5804
  /**
5807
5805
  *
5808
- * @type {string}
5806
+ * @type {any}
5809
5807
  * @memberof Model403FailedRequestResponse
5810
5808
  */
5811
- 'default_code'?: string;
5809
+ 'default_code'?: any;
5812
5810
  }
5813
5811
  //#endregion
5814
5812
  //#region models/model403-feature-not-enabled-response.d.ts
@@ -5821,16 +5819,16 @@ interface Model403FeatureNotEnabledResponse {
5821
5819
  [key: string]: unknown;
5822
5820
  /**
5823
5821
  *
5824
- * @type {string}
5822
+ * @type {any}
5825
5823
  * @memberof Model403FeatureNotEnabledResponse
5826
5824
  */
5827
- 'detail'?: string;
5825
+ 'detail'?: any;
5828
5826
  /**
5829
5827
  *
5830
- * @type {string}
5828
+ * @type {any}
5831
5829
  * @memberof Model403FeatureNotEnabledResponse
5832
5830
  */
5833
- 'default_code'?: string;
5831
+ 'default_code'?: any;
5834
5832
  }
5835
5833
  //#endregion
5836
5834
  //#region models/model404-failed-request-response.d.ts
@@ -5843,16 +5841,16 @@ interface Model404FailedRequestResponse {
5843
5841
  [key: string]: unknown;
5844
5842
  /**
5845
5843
  *
5846
- * @type {string}
5844
+ * @type {any}
5847
5845
  * @memberof Model404FailedRequestResponse
5848
5846
  */
5849
- 'default_detail'?: string;
5847
+ 'default_detail'?: any;
5850
5848
  /**
5851
5849
  *
5852
- * @type {string}
5850
+ * @type {any}
5853
5851
  * @memberof Model404FailedRequestResponse
5854
5852
  */
5855
- 'default_code'?: string;
5853
+ 'default_code'?: any;
5856
5854
  }
5857
5855
  //#endregion
5858
5856
  //#region models/model425-failed-request-response.d.ts
@@ -5865,16 +5863,16 @@ interface Model425FailedRequestResponse {
5865
5863
  [key: string]: unknown;
5866
5864
  /**
5867
5865
  *
5868
- * @type {string}
5866
+ * @type {any}
5869
5867
  * @memberof Model425FailedRequestResponse
5870
5868
  */
5871
- 'detail'?: string;
5869
+ 'detail'?: any;
5872
5870
  /**
5873
5871
  *
5874
- * @type {string}
5872
+ * @type {any}
5875
5873
  * @memberof Model425FailedRequestResponse
5876
5874
  */
5877
- 'code'?: string;
5875
+ 'code'?: any;
5878
5876
  }
5879
5877
  //#endregion
5880
5878
  //#region models/model429-too-many-requests-response.d.ts
@@ -5887,22 +5885,22 @@ interface Model429TooManyRequestsResponse {
5887
5885
  [key: string]: unknown;
5888
5886
  /**
5889
5887
  *
5890
- * @type {string}
5888
+ * @type {any}
5891
5889
  * @memberof Model429TooManyRequestsResponse
5892
5890
  */
5893
- 'detail'?: string;
5891
+ 'detail'?: any;
5894
5892
  /**
5895
5893
  *
5896
- * @type {number}
5894
+ * @type {any}
5897
5895
  * @memberof Model429TooManyRequestsResponse
5898
5896
  */
5899
- 'status_code'?: number;
5897
+ 'status_code'?: any;
5900
5898
  /**
5901
5899
  *
5902
- * @type {string}
5900
+ * @type {any}
5903
5901
  * @memberof Model429TooManyRequestsResponse
5904
5902
  */
5905
- 'code'?: string;
5903
+ 'code'?: any;
5906
5904
  }
5907
5905
  //#endregion
5908
5906
  //#region models/model500-unexpected-exception-response.d.ts
@@ -5915,22 +5913,22 @@ interface Model500UnexpectedExceptionResponse {
5915
5913
  [key: string]: unknown;
5916
5914
  /**
5917
5915
  *
5918
- * @type {string}
5916
+ * @type {any}
5919
5917
  * @memberof Model500UnexpectedExceptionResponse
5920
5918
  */
5921
- 'detail'?: string;
5919
+ 'detail'?: any;
5922
5920
  /**
5923
5921
  *
5924
- * @type {number}
5922
+ * @type {any}
5925
5923
  * @memberof Model500UnexpectedExceptionResponse
5926
5924
  */
5927
- 'status_code'?: number;
5925
+ 'status_code'?: any;
5928
5926
  /**
5929
5927
  *
5930
- * @type {string}
5928
+ * @type {any}
5931
5929
  * @memberof Model500UnexpectedExceptionResponse
5932
5930
  */
5933
- 'code'?: string;
5931
+ 'code'?: any;
5934
5932
  }
5935
5933
  //#endregion
5936
5934
  //#region models/model501-not-implemented-response.d.ts
@@ -5943,10 +5941,10 @@ interface Model501NotImplementedResponse {
5943
5941
  [key: string]: unknown;
5944
5942
  /**
5945
5943
  *
5946
- * @type {string}
5944
+ * @type {any}
5947
5945
  * @memberof Model501NotImplementedResponse
5948
5946
  */
5949
- 'error'?: string;
5947
+ 'error'?: any;
5950
5948
  }
5951
5949
  //#endregion
5952
5950
  //#region models/model503-brokerage-request-response.d.ts
@@ -5959,22 +5957,22 @@ interface Model503BrokerageRequestResponse {
5959
5957
  [key: string]: unknown;
5960
5958
  /**
5961
5959
  *
5962
- * @type {string}
5960
+ * @type {any}
5963
5961
  * @memberof Model503BrokerageRequestResponse
5964
5962
  */
5965
- 'detail'?: string;
5963
+ 'detail'?: any;
5966
5964
  /**
5967
5965
  *
5968
- * @type {number}
5966
+ * @type {any}
5969
5967
  * @memberof Model503BrokerageRequestResponse
5970
5968
  */
5971
- 'status_code'?: number;
5969
+ 'status_code'?: any;
5972
5970
  /**
5973
5971
  *
5974
- * @type {string}
5972
+ * @type {any}
5975
5973
  * @memberof Model503BrokerageRequestResponse
5976
5974
  */
5977
- 'code'?: string;
5975
+ 'code'?: any;
5978
5976
  }
5979
5977
  //#endregion
5980
5978
  //#region models/monthly-dividends.d.ts
@@ -6377,7 +6375,6 @@ interface OptionQuote {
6377
6375
  * @interface OptionStrategyLegsInner
6378
6376
  */
6379
6377
  interface OptionStrategyLegsInner {
6380
- [key: string]: unknown;
6381
6378
  /**
6382
6379
  *
6383
6380
  * @type {string}
@@ -7457,7 +7454,6 @@ interface SymbolQuery {
7457
7454
  * @interface SymbolsQuotesInner
7458
7455
  */
7459
7456
  interface SymbolsQuotesInner {
7460
- [key: string]: unknown;
7461
7457
  /**
7462
7458
  *
7463
7459
  * @type {UniversalSymbol}
package/dist/index.d.mts CHANGED
@@ -132,7 +132,6 @@ declare class BaseAPI<TAuth extends AuthMode> {
132
132
  * @interface AccountBalanceTotal
133
133
  */
134
134
  interface AccountBalanceTotal {
135
- [key: string]: unknown;
136
135
  /**
137
136
  * Total value denominated in the currency of the `currency` field.
138
137
  * @type {number}
@@ -154,7 +153,6 @@ interface AccountBalanceTotal {
154
153
  * @interface AccountBalance
155
154
  */
156
155
  interface AccountBalance {
157
- [key: string]: unknown;
158
156
  /**
159
157
  *
160
158
  * @type {AccountBalanceTotal}
@@ -984,11 +982,11 @@ interface Brokerage {
984
982
  'brokerage_type'?: BrokerageType;
985
983
  /**
986
984
  * This field is deprecated. Please contact us if you have a valid use case for it.
987
- * @type {Array<string>}
985
+ * @type {Array<any>}
988
986
  * @memberof Brokerage
989
987
  * @deprecated
990
988
  */
991
- 'exchanges'?: Array<string>;
989
+ 'exchanges'?: Array<any>;
992
990
  /**
993
991
  * This field is deprecated.
994
992
  * @type {string}
@@ -5711,16 +5709,16 @@ interface Model400FailedRequestResponse {
5711
5709
  [key: string]: unknown;
5712
5710
  /**
5713
5711
  *
5714
- * @type {string}
5712
+ * @type {any}
5715
5713
  * @memberof Model400FailedRequestResponse
5716
5714
  */
5717
- 'default_detail'?: string;
5715
+ 'default_detail'?: any;
5718
5716
  /**
5719
5717
  *
5720
- * @type {string}
5718
+ * @type {any}
5721
5719
  * @memberof Model400FailedRequestResponse
5722
5720
  */
5723
- 'default_code'?: string;
5721
+ 'default_code'?: any;
5724
5722
  }
5725
5723
  //#endregion
5726
5724
  //#region models/model401-failed-request-response.d.ts
@@ -5733,16 +5731,16 @@ interface Model401FailedRequestResponse {
5733
5731
  [key: string]: unknown;
5734
5732
  /**
5735
5733
  *
5736
- * @type {string}
5734
+ * @type {any}
5737
5735
  * @memberof Model401FailedRequestResponse
5738
5736
  */
5739
- 'default_detail'?: string;
5737
+ 'default_detail'?: any;
5740
5738
  /**
5741
5739
  *
5742
- * @type {string}
5740
+ * @type {any}
5743
5741
  * @memberof Model401FailedRequestResponse
5744
5742
  */
5745
- 'default_code'?: string;
5743
+ 'default_code'?: any;
5746
5744
  }
5747
5745
  //#endregion
5748
5746
  //#region models/model402-brokerage-auth-already-disabled-exception.d.ts
@@ -5755,16 +5753,16 @@ interface Model402BrokerageAuthAlreadyDisabledException {
5755
5753
  [key: string]: unknown;
5756
5754
  /**
5757
5755
  *
5758
- * @type {string}
5756
+ * @type {any}
5759
5757
  * @memberof Model402BrokerageAuthAlreadyDisabledException
5760
5758
  */
5761
- 'detail'?: string;
5759
+ 'detail'?: any;
5762
5760
  /**
5763
5761
  *
5764
- * @type {string}
5762
+ * @type {any}
5765
5763
  * @memberof Model402BrokerageAuthAlreadyDisabledException
5766
5764
  */
5767
- 'code'?: string;
5765
+ 'code'?: any;
5768
5766
  }
5769
5767
  //#endregion
5770
5768
  //#region models/model402-brokerage-auth-disabled-response.d.ts
@@ -5777,16 +5775,16 @@ interface Model402BrokerageAuthDisabledResponse {
5777
5775
  [key: string]: unknown;
5778
5776
  /**
5779
5777
  *
5780
- * @type {string}
5778
+ * @type {any}
5781
5779
  * @memberof Model402BrokerageAuthDisabledResponse
5782
5780
  */
5783
- 'detail'?: string;
5781
+ 'detail'?: any;
5784
5782
  /**
5785
5783
  *
5786
- * @type {string}
5784
+ * @type {any}
5787
5785
  * @memberof Model402BrokerageAuthDisabledResponse
5788
5786
  */
5789
- 'code'?: string;
5787
+ 'code'?: any;
5790
5788
  }
5791
5789
  //#endregion
5792
5790
  //#region models/model403-failed-request-response.d.ts
@@ -5799,16 +5797,16 @@ interface Model403FailedRequestResponse {
5799
5797
  [key: string]: unknown;
5800
5798
  /**
5801
5799
  *
5802
- * @type {string}
5800
+ * @type {any}
5803
5801
  * @memberof Model403FailedRequestResponse
5804
5802
  */
5805
- 'default_detail'?: string;
5803
+ 'default_detail'?: any;
5806
5804
  /**
5807
5805
  *
5808
- * @type {string}
5806
+ * @type {any}
5809
5807
  * @memberof Model403FailedRequestResponse
5810
5808
  */
5811
- 'default_code'?: string;
5809
+ 'default_code'?: any;
5812
5810
  }
5813
5811
  //#endregion
5814
5812
  //#region models/model403-feature-not-enabled-response.d.ts
@@ -5821,16 +5819,16 @@ interface Model403FeatureNotEnabledResponse {
5821
5819
  [key: string]: unknown;
5822
5820
  /**
5823
5821
  *
5824
- * @type {string}
5822
+ * @type {any}
5825
5823
  * @memberof Model403FeatureNotEnabledResponse
5826
5824
  */
5827
- 'detail'?: string;
5825
+ 'detail'?: any;
5828
5826
  /**
5829
5827
  *
5830
- * @type {string}
5828
+ * @type {any}
5831
5829
  * @memberof Model403FeatureNotEnabledResponse
5832
5830
  */
5833
- 'default_code'?: string;
5831
+ 'default_code'?: any;
5834
5832
  }
5835
5833
  //#endregion
5836
5834
  //#region models/model404-failed-request-response.d.ts
@@ -5843,16 +5841,16 @@ interface Model404FailedRequestResponse {
5843
5841
  [key: string]: unknown;
5844
5842
  /**
5845
5843
  *
5846
- * @type {string}
5844
+ * @type {any}
5847
5845
  * @memberof Model404FailedRequestResponse
5848
5846
  */
5849
- 'default_detail'?: string;
5847
+ 'default_detail'?: any;
5850
5848
  /**
5851
5849
  *
5852
- * @type {string}
5850
+ * @type {any}
5853
5851
  * @memberof Model404FailedRequestResponse
5854
5852
  */
5855
- 'default_code'?: string;
5853
+ 'default_code'?: any;
5856
5854
  }
5857
5855
  //#endregion
5858
5856
  //#region models/model425-failed-request-response.d.ts
@@ -5865,16 +5863,16 @@ interface Model425FailedRequestResponse {
5865
5863
  [key: string]: unknown;
5866
5864
  /**
5867
5865
  *
5868
- * @type {string}
5866
+ * @type {any}
5869
5867
  * @memberof Model425FailedRequestResponse
5870
5868
  */
5871
- 'detail'?: string;
5869
+ 'detail'?: any;
5872
5870
  /**
5873
5871
  *
5874
- * @type {string}
5872
+ * @type {any}
5875
5873
  * @memberof Model425FailedRequestResponse
5876
5874
  */
5877
- 'code'?: string;
5875
+ 'code'?: any;
5878
5876
  }
5879
5877
  //#endregion
5880
5878
  //#region models/model429-too-many-requests-response.d.ts
@@ -5887,22 +5885,22 @@ interface Model429TooManyRequestsResponse {
5887
5885
  [key: string]: unknown;
5888
5886
  /**
5889
5887
  *
5890
- * @type {string}
5888
+ * @type {any}
5891
5889
  * @memberof Model429TooManyRequestsResponse
5892
5890
  */
5893
- 'detail'?: string;
5891
+ 'detail'?: any;
5894
5892
  /**
5895
5893
  *
5896
- * @type {number}
5894
+ * @type {any}
5897
5895
  * @memberof Model429TooManyRequestsResponse
5898
5896
  */
5899
- 'status_code'?: number;
5897
+ 'status_code'?: any;
5900
5898
  /**
5901
5899
  *
5902
- * @type {string}
5900
+ * @type {any}
5903
5901
  * @memberof Model429TooManyRequestsResponse
5904
5902
  */
5905
- 'code'?: string;
5903
+ 'code'?: any;
5906
5904
  }
5907
5905
  //#endregion
5908
5906
  //#region models/model500-unexpected-exception-response.d.ts
@@ -5915,22 +5913,22 @@ interface Model500UnexpectedExceptionResponse {
5915
5913
  [key: string]: unknown;
5916
5914
  /**
5917
5915
  *
5918
- * @type {string}
5916
+ * @type {any}
5919
5917
  * @memberof Model500UnexpectedExceptionResponse
5920
5918
  */
5921
- 'detail'?: string;
5919
+ 'detail'?: any;
5922
5920
  /**
5923
5921
  *
5924
- * @type {number}
5922
+ * @type {any}
5925
5923
  * @memberof Model500UnexpectedExceptionResponse
5926
5924
  */
5927
- 'status_code'?: number;
5925
+ 'status_code'?: any;
5928
5926
  /**
5929
5927
  *
5930
- * @type {string}
5928
+ * @type {any}
5931
5929
  * @memberof Model500UnexpectedExceptionResponse
5932
5930
  */
5933
- 'code'?: string;
5931
+ 'code'?: any;
5934
5932
  }
5935
5933
  //#endregion
5936
5934
  //#region models/model501-not-implemented-response.d.ts
@@ -5943,10 +5941,10 @@ interface Model501NotImplementedResponse {
5943
5941
  [key: string]: unknown;
5944
5942
  /**
5945
5943
  *
5946
- * @type {string}
5944
+ * @type {any}
5947
5945
  * @memberof Model501NotImplementedResponse
5948
5946
  */
5949
- 'error'?: string;
5947
+ 'error'?: any;
5950
5948
  }
5951
5949
  //#endregion
5952
5950
  //#region models/model503-brokerage-request-response.d.ts
@@ -5959,22 +5957,22 @@ interface Model503BrokerageRequestResponse {
5959
5957
  [key: string]: unknown;
5960
5958
  /**
5961
5959
  *
5962
- * @type {string}
5960
+ * @type {any}
5963
5961
  * @memberof Model503BrokerageRequestResponse
5964
5962
  */
5965
- 'detail'?: string;
5963
+ 'detail'?: any;
5966
5964
  /**
5967
5965
  *
5968
- * @type {number}
5966
+ * @type {any}
5969
5967
  * @memberof Model503BrokerageRequestResponse
5970
5968
  */
5971
- 'status_code'?: number;
5969
+ 'status_code'?: any;
5972
5970
  /**
5973
5971
  *
5974
- * @type {string}
5972
+ * @type {any}
5975
5973
  * @memberof Model503BrokerageRequestResponse
5976
5974
  */
5977
- 'code'?: string;
5975
+ 'code'?: any;
5978
5976
  }
5979
5977
  //#endregion
5980
5978
  //#region models/monthly-dividends.d.ts
@@ -6377,7 +6375,6 @@ interface OptionQuote {
6377
6375
  * @interface OptionStrategyLegsInner
6378
6376
  */
6379
6377
  interface OptionStrategyLegsInner {
6380
- [key: string]: unknown;
6381
6378
  /**
6382
6379
  *
6383
6380
  * @type {string}
@@ -7457,7 +7454,6 @@ interface SymbolQuery {
7457
7454
  * @interface SymbolsQuotesInner
7458
7455
  */
7459
7456
  interface SymbolsQuotesInner {
7460
- [key: string]: unknown;
7461
7457
  /**
7462
7458
  *
7463
7459
  * @type {UniversalSymbol}