snaptrade-typescript-sdk 4.0.0 → 6.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.
- package/.konfig/generate-id.txt +1 -1
- package/README.md +2 -2
- package/api/account-information-api.ts +136 -120
- package/api/api-disclaimer-api.ts +14 -19
- package/api/authentication-api.ts +37 -43
- package/api/connections-api.ts +46 -40
- package/api/error-logs-api.ts +12 -10
- package/api/options-api.ts +104 -108
- package/api/portfolio-management-api.ts +259 -253
- package/api/reference-data-api.ts +49 -53
- package/api/trading-api.ts +172 -185
- package/api/transactions-and-reporting-api.ts +64 -60
- package/client.ts +2 -0
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/account-information-api.d.ts +112 -112
- package/dist/api/api-disclaimer-api.d.ts +10 -16
- package/dist/api/api-disclaimer-api.js +1 -1
- package/dist/api/authentication-api.d.ts +27 -40
- package/dist/api/authentication-api.js +2 -2
- package/dist/api/connections-api.d.ts +38 -38
- package/dist/api/error-logs-api.d.ts +10 -10
- package/dist/api/options-api.d.ts +82 -94
- package/dist/api/options-api.js +2 -2
- package/dist/api/portfolio-management-api.d.ts +214 -256
- package/dist/api/portfolio-management-api.js +7 -7
- package/dist/api/reference-data-api.d.ts +37 -50
- package/dist/api/reference-data-api.js +2 -2
- package/dist/api/trading-api.d.ts +131 -160
- package/dist/api/trading-api.js +10 -10
- package/dist/api/transactions-and-reporting-api.d.ts +52 -52
- package/dist/common.js +2 -2
- package/dist/configuration.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/target-asset.d.ts +4 -2
- package/dist/models/trading-cancel-user-account-order-request.d.ts +24 -0
- package/dist/models/trading-cancel-user-account-order-request.js +15 -0
- package/dist/pagination/page-types.d.ts +27 -0
- package/dist/pagination/page-types.js +13 -0
- package/dist/pagination/page.d.ts +6 -1
- package/dist/pagination/page.js +3 -0
- package/dist/pagination/pageable.d.ts +8 -3
- package/dist/pagination/pageable.js +5 -6
- package/dist/pagination/paginate.d.ts +2 -2
- package/docs/AccountInformationApi.md +72 -88
- package/docs/ApiDisclaimerApi.md +8 -12
- package/docs/ApiStatusApi.md +6 -7
- package/docs/AuthenticationApi.md +41 -55
- package/docs/ConnectionsApi.md +26 -32
- package/docs/ErrorLogsApi.md +8 -10
- package/docs/OptionsApi.md +60 -67
- package/docs/PortfolioManagementApi.md +246 -326
- package/docs/ReferenceDataApi.md +68 -95
- package/docs/TradingApi.md +107 -136
- package/docs/TransactionsAndReportingApi.md +26 -28
- package/index.test.ts +2 -4
- package/models/index.ts +1 -0
- package/models/target-asset.ts +2 -2
- package/models/trading-cancel-user-account-order-request.ts +29 -0
- package/package.json +1 -1
- package/pagination/page-types.ts +34 -0
- package/pagination/page.ts +9 -1
- package/pagination/pageable.ts +16 -10
- package/pagination/paginate.ts +3 -2
- package/tsconfig.json +1 -0
- package/dist/index.test.d.ts +0 -1
- package/dist/index.test.js +0 -175
package/.konfig/generate-id.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1a4ca3ec-249e-4ab5-99d4-b6bd3947c8bb
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## snaptrade-typescript-sdk@
|
|
1
|
+
## snaptrade-typescript-sdk@6.0.0
|
|
2
2
|
|
|
3
3
|
This library that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ npm run build
|
|
|
28
28
|
navigate to the folder of your consuming project and run the following command.
|
|
29
29
|
|
|
30
30
|
```
|
|
31
|
-
npm install snaptrade-typescript-sdk@
|
|
31
|
+
npm install snaptrade-typescript-sdk@6.0.0 --save
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Getting Started
|
|
@@ -751,27 +751,29 @@ export const AccountInformationApiFactory = function (configuration?: Configurat
|
|
|
751
751
|
* @export
|
|
752
752
|
* @interface AccountInformationApiGetAllUserHoldingsRequest
|
|
753
753
|
*/
|
|
754
|
-
export
|
|
754
|
+
export type AccountInformationApiGetAllUserHoldingsRequest = {
|
|
755
|
+
|
|
755
756
|
/**
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
757
|
+
*
|
|
758
|
+
* @type {string}
|
|
759
|
+
* @memberof AccountInformationApiGetAllUserHoldings
|
|
760
|
+
*/
|
|
760
761
|
readonly userId: string
|
|
761
|
-
|
|
762
|
+
|
|
762
763
|
/**
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
764
|
+
*
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof AccountInformationApiGetAllUserHoldings
|
|
767
|
+
*/
|
|
767
768
|
readonly userSecret: string
|
|
768
|
-
|
|
769
|
+
|
|
769
770
|
/**
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
771
|
+
* Optional. Comma seperated list of authorization IDs (only use if filtering is needed on one or more authorizations).
|
|
772
|
+
* @type {string}
|
|
773
|
+
* @memberof AccountInformationApiGetAllUserHoldings
|
|
774
|
+
*/
|
|
774
775
|
readonly brokerageAuthorizations?: string
|
|
776
|
+
|
|
775
777
|
}
|
|
776
778
|
|
|
777
779
|
/**
|
|
@@ -779,27 +781,29 @@ export interface AccountInformationApiGetAllUserHoldingsRequest {
|
|
|
779
781
|
* @export
|
|
780
782
|
* @interface AccountInformationApiGetUserAccountBalanceRequest
|
|
781
783
|
*/
|
|
782
|
-
export
|
|
784
|
+
export type AccountInformationApiGetUserAccountBalanceRequest = {
|
|
785
|
+
|
|
783
786
|
/**
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
787
|
+
*
|
|
788
|
+
* @type {string}
|
|
789
|
+
* @memberof AccountInformationApiGetUserAccountBalance
|
|
790
|
+
*/
|
|
788
791
|
readonly userId: string
|
|
789
|
-
|
|
792
|
+
|
|
790
793
|
/**
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
794
|
+
*
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @memberof AccountInformationApiGetUserAccountBalance
|
|
797
|
+
*/
|
|
795
798
|
readonly userSecret: string
|
|
796
|
-
|
|
799
|
+
|
|
797
800
|
/**
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
801
|
+
* The ID of the account get positions.
|
|
802
|
+
* @type {string}
|
|
803
|
+
* @memberof AccountInformationApiGetUserAccountBalance
|
|
804
|
+
*/
|
|
802
805
|
readonly accountId: string
|
|
806
|
+
|
|
803
807
|
}
|
|
804
808
|
|
|
805
809
|
/**
|
|
@@ -807,27 +811,29 @@ export interface AccountInformationApiGetUserAccountBalanceRequest {
|
|
|
807
811
|
* @export
|
|
808
812
|
* @interface AccountInformationApiGetUserAccountDetailsRequest
|
|
809
813
|
*/
|
|
810
|
-
export
|
|
814
|
+
export type AccountInformationApiGetUserAccountDetailsRequest = {
|
|
815
|
+
|
|
811
816
|
/**
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
817
|
+
*
|
|
818
|
+
* @type {string}
|
|
819
|
+
* @memberof AccountInformationApiGetUserAccountDetails
|
|
820
|
+
*/
|
|
816
821
|
readonly userId: string
|
|
817
|
-
|
|
822
|
+
|
|
818
823
|
/**
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
824
|
+
*
|
|
825
|
+
* @type {string}
|
|
826
|
+
* @memberof AccountInformationApiGetUserAccountDetails
|
|
827
|
+
*/
|
|
823
828
|
readonly userSecret: string
|
|
824
|
-
|
|
829
|
+
|
|
825
830
|
/**
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
831
|
+
* The ID of the account to get detail of.
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof AccountInformationApiGetUserAccountDetails
|
|
834
|
+
*/
|
|
830
835
|
readonly accountId: string
|
|
836
|
+
|
|
831
837
|
}
|
|
832
838
|
|
|
833
839
|
/**
|
|
@@ -835,34 +841,36 @@ export interface AccountInformationApiGetUserAccountDetailsRequest {
|
|
|
835
841
|
* @export
|
|
836
842
|
* @interface AccountInformationApiGetUserAccountOrdersRequest
|
|
837
843
|
*/
|
|
838
|
-
export
|
|
844
|
+
export type AccountInformationApiGetUserAccountOrdersRequest = {
|
|
845
|
+
|
|
839
846
|
/**
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
847
|
+
*
|
|
848
|
+
* @type {string}
|
|
849
|
+
* @memberof AccountInformationApiGetUserAccountOrders
|
|
850
|
+
*/
|
|
844
851
|
readonly userId: string
|
|
845
|
-
|
|
852
|
+
|
|
846
853
|
/**
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
854
|
+
*
|
|
855
|
+
* @type {string}
|
|
856
|
+
* @memberof AccountInformationApiGetUserAccountOrders
|
|
857
|
+
*/
|
|
851
858
|
readonly userSecret: string
|
|
852
|
-
|
|
859
|
+
|
|
853
860
|
/**
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
861
|
+
* The ID of the account get positions.
|
|
862
|
+
* @type {string}
|
|
863
|
+
* @memberof AccountInformationApiGetUserAccountOrders
|
|
864
|
+
*/
|
|
858
865
|
readonly accountId: string
|
|
859
|
-
|
|
866
|
+
|
|
860
867
|
/**
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
868
|
+
* defaults value is set to \"all\"
|
|
869
|
+
* @type {'all' | 'open' | 'executed'}
|
|
870
|
+
* @memberof AccountInformationApiGetUserAccountOrders
|
|
871
|
+
*/
|
|
865
872
|
readonly state?: 'all' | 'open' | 'executed'
|
|
873
|
+
|
|
866
874
|
}
|
|
867
875
|
|
|
868
876
|
/**
|
|
@@ -870,27 +878,29 @@ export interface AccountInformationApiGetUserAccountOrdersRequest {
|
|
|
870
878
|
* @export
|
|
871
879
|
* @interface AccountInformationApiGetUserAccountPositionsRequest
|
|
872
880
|
*/
|
|
873
|
-
export
|
|
881
|
+
export type AccountInformationApiGetUserAccountPositionsRequest = {
|
|
882
|
+
|
|
874
883
|
/**
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
884
|
+
*
|
|
885
|
+
* @type {string}
|
|
886
|
+
* @memberof AccountInformationApiGetUserAccountPositions
|
|
887
|
+
*/
|
|
879
888
|
readonly userId: string
|
|
880
|
-
|
|
889
|
+
|
|
881
890
|
/**
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
891
|
+
*
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof AccountInformationApiGetUserAccountPositions
|
|
894
|
+
*/
|
|
886
895
|
readonly userSecret: string
|
|
887
|
-
|
|
896
|
+
|
|
888
897
|
/**
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
898
|
+
* The ID of the account get positions.
|
|
899
|
+
* @type {string}
|
|
900
|
+
* @memberof AccountInformationApiGetUserAccountPositions
|
|
901
|
+
*/
|
|
893
902
|
readonly accountId: string
|
|
903
|
+
|
|
894
904
|
}
|
|
895
905
|
|
|
896
906
|
/**
|
|
@@ -898,27 +908,29 @@ export interface AccountInformationApiGetUserAccountPositionsRequest {
|
|
|
898
908
|
* @export
|
|
899
909
|
* @interface AccountInformationApiGetUserHoldingsRequest
|
|
900
910
|
*/
|
|
901
|
-
export
|
|
911
|
+
export type AccountInformationApiGetUserHoldingsRequest = {
|
|
912
|
+
|
|
902
913
|
/**
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
914
|
+
* The ID of the account to fetch holdings for.
|
|
915
|
+
* @type {string}
|
|
916
|
+
* @memberof AccountInformationApiGetUserHoldings
|
|
917
|
+
*/
|
|
907
918
|
readonly accountId: string
|
|
908
|
-
|
|
919
|
+
|
|
909
920
|
/**
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
921
|
+
*
|
|
922
|
+
* @type {string}
|
|
923
|
+
* @memberof AccountInformationApiGetUserHoldings
|
|
924
|
+
*/
|
|
914
925
|
readonly userId: string
|
|
915
|
-
|
|
926
|
+
|
|
916
927
|
/**
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
928
|
+
*
|
|
929
|
+
* @type {string}
|
|
930
|
+
* @memberof AccountInformationApiGetUserHoldings
|
|
931
|
+
*/
|
|
921
932
|
readonly userSecret: string
|
|
933
|
+
|
|
922
934
|
}
|
|
923
935
|
|
|
924
936
|
/**
|
|
@@ -926,20 +938,22 @@ export interface AccountInformationApiGetUserHoldingsRequest {
|
|
|
926
938
|
* @export
|
|
927
939
|
* @interface AccountInformationApiListUserAccountsRequest
|
|
928
940
|
*/
|
|
929
|
-
export
|
|
941
|
+
export type AccountInformationApiListUserAccountsRequest = {
|
|
942
|
+
|
|
930
943
|
/**
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
944
|
+
*
|
|
945
|
+
* @type {string}
|
|
946
|
+
* @memberof AccountInformationApiListUserAccounts
|
|
947
|
+
*/
|
|
935
948
|
readonly userId: string
|
|
936
|
-
|
|
949
|
+
|
|
937
950
|
/**
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
951
|
+
*
|
|
952
|
+
* @type {string}
|
|
953
|
+
* @memberof AccountInformationApiListUserAccounts
|
|
954
|
+
*/
|
|
942
955
|
readonly userSecret: string
|
|
956
|
+
|
|
943
957
|
}
|
|
944
958
|
|
|
945
959
|
/**
|
|
@@ -947,27 +961,29 @@ export interface AccountInformationApiListUserAccountsRequest {
|
|
|
947
961
|
* @export
|
|
948
962
|
* @interface AccountInformationApiUpdateUserAccountRequest
|
|
949
963
|
*/
|
|
950
|
-
export
|
|
964
|
+
export type AccountInformationApiUpdateUserAccountRequest = {
|
|
965
|
+
|
|
951
966
|
/**
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
967
|
+
*
|
|
968
|
+
* @type {string}
|
|
969
|
+
* @memberof AccountInformationApiUpdateUserAccount
|
|
970
|
+
*/
|
|
956
971
|
readonly userId: string
|
|
957
|
-
|
|
972
|
+
|
|
958
973
|
/**
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
974
|
+
*
|
|
975
|
+
* @type {string}
|
|
976
|
+
* @memberof AccountInformationApiUpdateUserAccount
|
|
977
|
+
*/
|
|
963
978
|
readonly userSecret: string
|
|
964
|
-
|
|
979
|
+
|
|
965
980
|
/**
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
981
|
+
* The ID of the account to update.
|
|
982
|
+
* @type {string}
|
|
983
|
+
* @memberof AccountInformationApiUpdateUserAccount
|
|
984
|
+
*/
|
|
970
985
|
readonly accountId: string
|
|
986
|
+
|
|
971
987
|
}
|
|
972
988
|
|
|
973
989
|
/**
|
|
@@ -115,7 +115,7 @@ export const ApiDisclaimerApiFp = function(configuration?: Configuration) {
|
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
117
|
async accept(requestParameters: ApiDisclaimerApiAcceptRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnapTradeAPIDisclaimerAcceptStatus>> {
|
|
118
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.accept(requestParameters.userId, requestParameters.userSecret, requestParameters
|
|
118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accept(requestParameters.userId, requestParameters.userSecret, requestParameters, options);
|
|
119
119
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
120
120
|
},
|
|
121
121
|
}
|
|
@@ -146,28 +146,23 @@ export const ApiDisclaimerApiFactory = function (configuration?: Configuration,
|
|
|
146
146
|
* @export
|
|
147
147
|
* @interface ApiDisclaimerApiAcceptRequest
|
|
148
148
|
*/
|
|
149
|
-
export
|
|
149
|
+
export type ApiDisclaimerApiAcceptRequest = {
|
|
150
|
+
|
|
150
151
|
/**
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof ApiDisclaimerApiAccept
|
|
155
|
+
*/
|
|
155
156
|
readonly userId: string
|
|
156
|
-
|
|
157
|
+
|
|
157
158
|
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof ApiDisclaimerApiAccept
|
|
162
|
+
*/
|
|
162
163
|
readonly userSecret: string
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
*
|
|
166
|
-
* @type {APIDisclaimerAcceptRequest}
|
|
167
|
-
* @memberof ApiDisclaimerApiAccept
|
|
168
|
-
*/
|
|
169
|
-
readonly requestBody: APIDisclaimerAcceptRequest
|
|
170
|
-
}
|
|
164
|
+
|
|
165
|
+
} & APIDisclaimerAcceptRequest
|
|
171
166
|
|
|
172
167
|
/**
|
|
173
168
|
* ApiDisclaimerApi - object-oriented interface
|
|
@@ -370,7 +370,7 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
*/
|
|
372
372
|
async loginSnapTradeUser(requestParameters: AuthenticationApiLoginSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationLoginSnapTradeUser200Response>> {
|
|
373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.loginSnapTradeUser(requestParameters.userId, requestParameters.userSecret, requestParameters
|
|
373
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loginSnapTradeUser(requestParameters.userId, requestParameters.userSecret, requestParameters, options);
|
|
374
374
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
@@ -381,7 +381,7 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
383
|
async registerSnapTradeUser(requestParameters: AuthenticationApiRegisterSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserIDandSecret>> {
|
|
384
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.registerSnapTradeUser(requestParameters
|
|
384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registerSnapTradeUser(requestParameters, options);
|
|
385
385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
386
|
},
|
|
387
387
|
}
|
|
@@ -451,13 +451,15 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|
|
451
451
|
* @export
|
|
452
452
|
* @interface AuthenticationApiDeleteSnapTradeUserRequest
|
|
453
453
|
*/
|
|
454
|
-
export
|
|
454
|
+
export type AuthenticationApiDeleteSnapTradeUserRequest = {
|
|
455
|
+
|
|
455
456
|
/**
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
*
|
|
458
|
+
* @type {string}
|
|
459
|
+
* @memberof AuthenticationApiDeleteSnapTradeUser
|
|
460
|
+
*/
|
|
460
461
|
readonly userId: string
|
|
462
|
+
|
|
461
463
|
}
|
|
462
464
|
|
|
463
465
|
/**
|
|
@@ -465,20 +467,22 @@ export interface AuthenticationApiDeleteSnapTradeUserRequest {
|
|
|
465
467
|
* @export
|
|
466
468
|
* @interface AuthenticationApiGetUserJWTRequest
|
|
467
469
|
*/
|
|
468
|
-
export
|
|
470
|
+
export type AuthenticationApiGetUserJWTRequest = {
|
|
471
|
+
|
|
469
472
|
/**
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
473
|
+
*
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof AuthenticationApiGetUserJWT
|
|
476
|
+
*/
|
|
474
477
|
readonly userId: string
|
|
475
|
-
|
|
478
|
+
|
|
476
479
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
480
|
+
*
|
|
481
|
+
* @type {string}
|
|
482
|
+
* @memberof AuthenticationApiGetUserJWT
|
|
483
|
+
*/
|
|
481
484
|
readonly userSecret: string
|
|
485
|
+
|
|
482
486
|
}
|
|
483
487
|
|
|
484
488
|
/**
|
|
@@ -486,42 +490,32 @@ export interface AuthenticationApiGetUserJWTRequest {
|
|
|
486
490
|
* @export
|
|
487
491
|
* @interface AuthenticationApiLoginSnapTradeUserRequest
|
|
488
492
|
*/
|
|
489
|
-
export
|
|
493
|
+
export type AuthenticationApiLoginSnapTradeUserRequest = {
|
|
494
|
+
|
|
490
495
|
/**
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
496
|
+
*
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof AuthenticationApiLoginSnapTradeUser
|
|
499
|
+
*/
|
|
495
500
|
readonly userId: string
|
|
496
|
-
|
|
501
|
+
|
|
497
502
|
/**
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof AuthenticationApiLoginSnapTradeUser
|
|
506
|
+
*/
|
|
502
507
|
readonly userSecret: string
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
*
|
|
506
|
-
* @type {SnapTradeLoginUserRequestBody}
|
|
507
|
-
* @memberof AuthenticationApiLoginSnapTradeUser
|
|
508
|
-
*/
|
|
509
|
-
readonly requestBody?: SnapTradeLoginUserRequestBody
|
|
510
|
-
}
|
|
508
|
+
|
|
509
|
+
} & SnapTradeLoginUserRequestBody
|
|
511
510
|
|
|
512
511
|
/**
|
|
513
512
|
* Request parameters for registerSnapTradeUser operation in AuthenticationApi.
|
|
514
513
|
* @export
|
|
515
514
|
* @interface AuthenticationApiRegisterSnapTradeUserRequest
|
|
516
515
|
*/
|
|
517
|
-
export
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
* @type {SnapTradeRegisterUserRequestBody}
|
|
521
|
-
* @memberof AuthenticationApiRegisterSnapTradeUser
|
|
522
|
-
*/
|
|
523
|
-
readonly requestBody: SnapTradeRegisterUserRequestBody
|
|
524
|
-
}
|
|
516
|
+
export type AuthenticationApiRegisterSnapTradeUserRequest = {
|
|
517
|
+
|
|
518
|
+
} & SnapTradeRegisterUserRequestBody
|
|
525
519
|
|
|
526
520
|
/**
|
|
527
521
|
* AuthenticationApi - object-oriented interface
|
package/api/connections-api.ts
CHANGED
|
@@ -308,27 +308,29 @@ export const ConnectionsApiFactory = function (configuration?: Configuration, ba
|
|
|
308
308
|
* @export
|
|
309
309
|
* @interface ConnectionsApiDetailBrokerageAuthorizationRequest
|
|
310
310
|
*/
|
|
311
|
-
export
|
|
311
|
+
export type ConnectionsApiDetailBrokerageAuthorizationRequest = {
|
|
312
|
+
|
|
312
313
|
/**
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
314
|
+
* The ID of a brokerage authorization object.
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof ConnectionsApiDetailBrokerageAuthorization
|
|
317
|
+
*/
|
|
317
318
|
readonly authorizationId: string
|
|
318
|
-
|
|
319
|
+
|
|
319
320
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
*
|
|
322
|
+
* @type {string}
|
|
323
|
+
* @memberof ConnectionsApiDetailBrokerageAuthorization
|
|
324
|
+
*/
|
|
324
325
|
readonly userId: string
|
|
325
|
-
|
|
326
|
+
|
|
326
327
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
*
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof ConnectionsApiDetailBrokerageAuthorization
|
|
331
|
+
*/
|
|
331
332
|
readonly userSecret: string
|
|
333
|
+
|
|
332
334
|
}
|
|
333
335
|
|
|
334
336
|
/**
|
|
@@ -336,20 +338,22 @@ export interface ConnectionsApiDetailBrokerageAuthorizationRequest {
|
|
|
336
338
|
* @export
|
|
337
339
|
* @interface ConnectionsApiListBrokerageAuthorizationsRequest
|
|
338
340
|
*/
|
|
339
|
-
export
|
|
341
|
+
export type ConnectionsApiListBrokerageAuthorizationsRequest = {
|
|
342
|
+
|
|
340
343
|
/**
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof ConnectionsApiListBrokerageAuthorizations
|
|
347
|
+
*/
|
|
345
348
|
readonly userId: string
|
|
346
|
-
|
|
349
|
+
|
|
347
350
|
/**
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof ConnectionsApiListBrokerageAuthorizations
|
|
354
|
+
*/
|
|
352
355
|
readonly userSecret: string
|
|
356
|
+
|
|
353
357
|
}
|
|
354
358
|
|
|
355
359
|
/**
|
|
@@ -357,27 +361,29 @@ export interface ConnectionsApiListBrokerageAuthorizationsRequest {
|
|
|
357
361
|
* @export
|
|
358
362
|
* @interface ConnectionsApiRemoveBrokerageAuthorizationRequest
|
|
359
363
|
*/
|
|
360
|
-
export
|
|
364
|
+
export type ConnectionsApiRemoveBrokerageAuthorizationRequest = {
|
|
365
|
+
|
|
361
366
|
/**
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
367
|
+
* The ID of the Authorization to delete.
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof ConnectionsApiRemoveBrokerageAuthorization
|
|
370
|
+
*/
|
|
366
371
|
readonly authorizationId: string
|
|
367
|
-
|
|
372
|
+
|
|
368
373
|
/**
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
374
|
+
*
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof ConnectionsApiRemoveBrokerageAuthorization
|
|
377
|
+
*/
|
|
373
378
|
readonly userId: string
|
|
374
|
-
|
|
379
|
+
|
|
375
380
|
/**
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
381
|
+
*
|
|
382
|
+
* @type {string}
|
|
383
|
+
* @memberof ConnectionsApiRemoveBrokerageAuthorization
|
|
384
|
+
*/
|
|
380
385
|
readonly userSecret: string
|
|
386
|
+
|
|
381
387
|
}
|
|
382
388
|
|
|
383
389
|
/**
|