snaptrade-typescript-sdk 5.0.0 → 6.1.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 (52) hide show
  1. package/.konfig/generate-id.txt +1 -1
  2. package/README.md +3 -5
  3. package/api/account-information-api.ts +136 -120
  4. package/api/api-disclaimer-api.ts +14 -19
  5. package/api/authentication-api.ts +37 -43
  6. package/api/connections-api.ts +46 -40
  7. package/api/error-logs-api.ts +12 -10
  8. package/api/options-api.ts +104 -108
  9. package/api/portfolio-management-api.ts +259 -253
  10. package/api/reference-data-api.ts +49 -53
  11. package/api/trading-api.ts +172 -185
  12. package/api/transactions-and-reporting-api.ts +64 -60
  13. package/client.ts +2 -0
  14. package/configuration.ts +1 -1
  15. package/dist/api/account-information-api.d.ts +112 -112
  16. package/dist/api/api-disclaimer-api.d.ts +10 -16
  17. package/dist/api/api-disclaimer-api.js +1 -1
  18. package/dist/api/authentication-api.d.ts +27 -40
  19. package/dist/api/authentication-api.js +2 -2
  20. package/dist/api/connections-api.d.ts +38 -38
  21. package/dist/api/error-logs-api.d.ts +10 -10
  22. package/dist/api/options-api.d.ts +82 -94
  23. package/dist/api/options-api.js +2 -2
  24. package/dist/api/portfolio-management-api.d.ts +214 -256
  25. package/dist/api/portfolio-management-api.js +7 -7
  26. package/dist/api/reference-data-api.d.ts +37 -50
  27. package/dist/api/reference-data-api.js +2 -2
  28. package/dist/api/trading-api.d.ts +131 -160
  29. package/dist/api/trading-api.js +10 -10
  30. package/dist/api/transactions-and-reporting-api.d.ts +52 -52
  31. package/dist/configuration.js +1 -1
  32. package/dist/models/index.d.ts +1 -0
  33. package/dist/models/index.js +1 -0
  34. package/dist/models/target-asset.d.ts +4 -2
  35. package/dist/models/trading-cancel-user-account-order-request.d.ts +24 -0
  36. package/dist/models/trading-cancel-user-account-order-request.js +15 -0
  37. package/docs/AccountInformationApi.md +72 -88
  38. package/docs/ApiDisclaimerApi.md +8 -12
  39. package/docs/ApiStatusApi.md +6 -7
  40. package/docs/AuthenticationApi.md +34 -48
  41. package/docs/ConnectionsApi.md +26 -32
  42. package/docs/ErrorLogsApi.md +8 -10
  43. package/docs/OptionsApi.md +55 -62
  44. package/docs/PortfolioManagementApi.md +229 -309
  45. package/docs/ReferenceDataApi.md +66 -93
  46. package/docs/TradingApi.md +88 -117
  47. package/docs/TransactionsAndReportingApi.md +26 -28
  48. package/index.test.ts +2 -4
  49. package/models/index.ts +1 -0
  50. package/models/target-asset.ts +2 -2
  51. package/models/trading-cancel-user-account-order-request.ts +29 -0
  52. package/package.json +1 -1
@@ -849,478 +849,436 @@ export declare const PortfolioManagementApiFactory: (configuration?: Configurati
849
849
  * @export
850
850
  * @interface PortfolioManagementApiAddPortfolioExcludedAssetRequest
851
851
  */
852
- export interface PortfolioManagementApiAddPortfolioExcludedAssetRequest {
852
+ export type PortfolioManagementApiAddPortfolioExcludedAssetRequest = {
853
853
  /**
854
- * The ID of the PortfolioGroup under which to exclude an asset.
855
- * @type {string}
856
- * @memberof PortfolioManagementApiAddPortfolioExcludedAsset
857
- */
854
+ * The ID of the PortfolioGroup under which to exclude an asset.
855
+ * @type {string}
856
+ * @memberof PortfolioManagementApiAddPortfolioExcludedAsset
857
+ */
858
858
  readonly portfolioGroupId: string;
859
- /**
860
- *
861
- * @type {UniversalSymbol}
862
- * @memberof PortfolioManagementApiAddPortfolioExcludedAsset
863
- */
864
- readonly requestBody?: UniversalSymbol;
865
- }
859
+ } & UniversalSymbol;
866
860
  /**
867
861
  * Request parameters for create operation in PortfolioManagementApi.
868
862
  * @export
869
863
  * @interface PortfolioManagementApiCreateRequest
870
864
  */
871
- export interface PortfolioManagementApiCreateRequest {
865
+ export type PortfolioManagementApiCreateRequest = {
872
866
  /**
873
- *
874
- * @type {string}
875
- * @memberof PortfolioManagementApiCreate
876
- */
867
+ *
868
+ * @type {string}
869
+ * @memberof PortfolioManagementApiCreate
870
+ */
877
871
  readonly userId: string;
878
872
  /**
879
- *
880
- * @type {string}
881
- * @memberof PortfolioManagementApiCreate
882
- */
873
+ *
874
+ * @type {string}
875
+ * @memberof PortfolioManagementApiCreate
876
+ */
883
877
  readonly userSecret: string;
884
- /**
885
- *
886
- * @type {{ [key: string]: any; }}
887
- * @memberof PortfolioManagementApiCreate
888
- */
889
- readonly requestBody: {
890
- [key: string]: any;
891
- };
892
- }
878
+ } & {
879
+ [key: string]: any;
880
+ };
893
881
  /**
894
882
  * Request parameters for deleteAssetClass operation in PortfolioManagementApi.
895
883
  * @export
896
884
  * @interface PortfolioManagementApiDeleteAssetClassRequest
897
885
  */
898
- export interface PortfolioManagementApiDeleteAssetClassRequest {
886
+ export type PortfolioManagementApiDeleteAssetClassRequest = {
899
887
  /**
900
- * The ID of the model asset class to delete.
901
- * @type {string}
902
- * @memberof PortfolioManagementApiDeleteAssetClass
903
- */
888
+ * The ID of the model asset class to delete.
889
+ * @type {string}
890
+ * @memberof PortfolioManagementApiDeleteAssetClass
891
+ */
904
892
  readonly modelAssetClassId: string;
905
- }
893
+ };
906
894
  /**
907
895
  * Request parameters for deleteExcludedAsset operation in PortfolioManagementApi.
908
896
  * @export
909
897
  * @interface PortfolioManagementApiDeleteExcludedAssetRequest
910
898
  */
911
- export interface PortfolioManagementApiDeleteExcludedAssetRequest {
899
+ export type PortfolioManagementApiDeleteExcludedAssetRequest = {
912
900
  /**
913
- * The ID of the PortfolioGroup under which to unexclude an asset.
914
- * @type {string}
915
- * @memberof PortfolioManagementApiDeleteExcludedAsset
916
- */
901
+ * The ID of the PortfolioGroup under which to unexclude an asset.
902
+ * @type {string}
903
+ * @memberof PortfolioManagementApiDeleteExcludedAsset
904
+ */
917
905
  readonly portfolioGroupId: string;
918
906
  /**
919
- * The ID of the excluded asset Symbol to delete.
920
- * @type {string}
921
- * @memberof PortfolioManagementApiDeleteExcludedAsset
922
- */
907
+ * The ID of the excluded asset Symbol to delete.
908
+ * @type {string}
909
+ * @memberof PortfolioManagementApiDeleteExcludedAsset
910
+ */
923
911
  readonly symbolId: string;
924
- }
912
+ };
925
913
  /**
926
914
  * Request parameters for deleteModelPortfolioById operation in PortfolioManagementApi.
927
915
  * @export
928
916
  * @interface PortfolioManagementApiDeleteModelPortfolioByIdRequest
929
917
  */
930
- export interface PortfolioManagementApiDeleteModelPortfolioByIdRequest {
918
+ export type PortfolioManagementApiDeleteModelPortfolioByIdRequest = {
931
919
  /**
932
- * The ID of the model portfolio to delete.
933
- * @type {string}
934
- * @memberof PortfolioManagementApiDeleteModelPortfolioById
935
- */
920
+ * The ID of the model portfolio to delete.
921
+ * @type {string}
922
+ * @memberof PortfolioManagementApiDeleteModelPortfolioById
923
+ */
936
924
  readonly modelPortfolioId: string;
937
- }
925
+ };
938
926
  /**
939
927
  * Request parameters for deletePortfoli operation in PortfolioManagementApi.
940
928
  * @export
941
929
  * @interface PortfolioManagementApiDeletePortfoliRequest
942
930
  */
943
- export interface PortfolioManagementApiDeletePortfoliRequest {
931
+ export type PortfolioManagementApiDeletePortfoliRequest = {
944
932
  /**
945
- * The ID of the PortfolioGroup to delete.
946
- * @type {string}
947
- * @memberof PortfolioManagementApiDeletePortfoli
948
- */
933
+ * The ID of the PortfolioGroup to delete.
934
+ * @type {string}
935
+ * @memberof PortfolioManagementApiDeletePortfoli
936
+ */
949
937
  readonly portfolioGroupId: string;
950
- }
938
+ };
951
939
  /**
952
940
  * Request parameters for deletePortfolioTargetById operation in PortfolioManagementApi.
953
941
  * @export
954
942
  * @interface PortfolioManagementApiDeletePortfolioTargetByIdRequest
955
943
  */
956
- export interface PortfolioManagementApiDeletePortfolioTargetByIdRequest {
944
+ export type PortfolioManagementApiDeletePortfolioTargetByIdRequest = {
957
945
  /**
958
- * The ID of the PortfolioGroup under which to remove the target asset.
959
- * @type {string}
960
- * @memberof PortfolioManagementApiDeletePortfolioTargetById
961
- */
946
+ * The ID of the PortfolioGroup under which to remove the target asset.
947
+ * @type {string}
948
+ * @memberof PortfolioManagementApiDeletePortfolioTargetById
949
+ */
962
950
  readonly portfolioGroupId: string;
963
951
  /**
964
- * The ID of the TargetAsset to delete.
965
- * @type {string}
966
- * @memberof PortfolioManagementApiDeletePortfolioTargetById
967
- */
952
+ * The ID of the TargetAsset to delete.
953
+ * @type {string}
954
+ * @memberof PortfolioManagementApiDeletePortfolioTargetById
955
+ */
968
956
  readonly targetAssetId: string;
969
- }
957
+ };
970
958
  /**
971
959
  * Request parameters for detailAssetClass operation in PortfolioManagementApi.
972
960
  * @export
973
961
  * @interface PortfolioManagementApiDetailAssetClassRequest
974
962
  */
975
- export interface PortfolioManagementApiDetailAssetClassRequest {
963
+ export type PortfolioManagementApiDetailAssetClassRequest = {
976
964
  /**
977
- * The ID of the model asset class to get.
978
- * @type {string}
979
- * @memberof PortfolioManagementApiDetailAssetClass
980
- */
965
+ * The ID of the model asset class to get.
966
+ * @type {string}
967
+ * @memberof PortfolioManagementApiDetailAssetClass
968
+ */
981
969
  readonly modelAssetClassId: string;
982
- }
970
+ };
983
971
  /**
984
972
  * Request parameters for getCalculatedTradeById operation in PortfolioManagementApi.
985
973
  * @export
986
974
  * @interface PortfolioManagementApiGetCalculatedTradeByIdRequest
987
975
  */
988
- export interface PortfolioManagementApiGetCalculatedTradeByIdRequest {
976
+ export type PortfolioManagementApiGetCalculatedTradeByIdRequest = {
989
977
  /**
990
- * The ID of the PortfolioGroup to perform rebalancing calculations
991
- * @type {string}
992
- * @memberof PortfolioManagementApiGetCalculatedTradeById
993
- */
978
+ * The ID of the PortfolioGroup to perform rebalancing calculations
979
+ * @type {string}
980
+ * @memberof PortfolioManagementApiGetCalculatedTradeById
981
+ */
994
982
  readonly portfolioGroupId: string;
995
983
  /**
996
- * The ID of calculated trade to get account impact
997
- * @type {string}
998
- * @memberof PortfolioManagementApiGetCalculatedTradeById
999
- */
984
+ * The ID of calculated trade to get account impact
985
+ * @type {string}
986
+ * @memberof PortfolioManagementApiGetCalculatedTradeById
987
+ */
1000
988
  readonly calculatedTradeId: string;
1001
989
  /**
1002
- * The ID of trade object
1003
- * @type {string}
1004
- * @memberof PortfolioManagementApiGetCalculatedTradeById
1005
- */
990
+ * The ID of trade object
991
+ * @type {string}
992
+ * @memberof PortfolioManagementApiGetCalculatedTradeById
993
+ */
1006
994
  readonly tradeId: string;
1007
- }
995
+ };
1008
996
  /**
1009
997
  * Request parameters for getModelDetailsById operation in PortfolioManagementApi.
1010
998
  * @export
1011
999
  * @interface PortfolioManagementApiGetModelDetailsByIdRequest
1012
1000
  */
1013
- export interface PortfolioManagementApiGetModelDetailsByIdRequest {
1001
+ export type PortfolioManagementApiGetModelDetailsByIdRequest = {
1014
1002
  /**
1015
- * The ID of the model portfolio to get.
1016
- * @type {string}
1017
- * @memberof PortfolioManagementApiGetModelDetailsById
1018
- */
1003
+ * The ID of the model portfolio to get.
1004
+ * @type {string}
1005
+ * @memberof PortfolioManagementApiGetModelDetailsById
1006
+ */
1019
1007
  readonly modelPortfolioId: string;
1020
- }
1008
+ };
1021
1009
  /**
1022
1010
  * Request parameters for getPortfolioBalances operation in PortfolioManagementApi.
1023
1011
  * @export
1024
1012
  * @interface PortfolioManagementApiGetPortfolioBalancesRequest
1025
1013
  */
1026
- export interface PortfolioManagementApiGetPortfolioBalancesRequest {
1014
+ export type PortfolioManagementApiGetPortfolioBalancesRequest = {
1027
1015
  /**
1028
- * The ID of the PortfolioGroup under which to create the target asset.
1029
- * @type {string}
1030
- * @memberof PortfolioManagementApiGetPortfolioBalances
1031
- */
1016
+ * The ID of the PortfolioGroup under which to create the target asset.
1017
+ * @type {string}
1018
+ * @memberof PortfolioManagementApiGetPortfolioBalances
1019
+ */
1032
1020
  readonly portfolioGroupId: string;
1033
- }
1021
+ };
1034
1022
  /**
1035
1023
  * Request parameters for getPortfolioDetailsById operation in PortfolioManagementApi.
1036
1024
  * @export
1037
1025
  * @interface PortfolioManagementApiGetPortfolioDetailsByIdRequest
1038
1026
  */
1039
- export interface PortfolioManagementApiGetPortfolioDetailsByIdRequest {
1027
+ export type PortfolioManagementApiGetPortfolioDetailsByIdRequest = {
1040
1028
  /**
1041
- * The ID of the PortfolioGroup to get.
1042
- * @type {string}
1043
- * @memberof PortfolioManagementApiGetPortfolioDetailsById
1044
- */
1029
+ * The ID of the PortfolioGroup to get.
1030
+ * @type {string}
1031
+ * @memberof PortfolioManagementApiGetPortfolioDetailsById
1032
+ */
1045
1033
  readonly portfolioGroupId: string;
1046
- }
1034
+ };
1047
1035
  /**
1048
1036
  * Request parameters for getPortfolioInfo operation in PortfolioManagementApi.
1049
1037
  * @export
1050
1038
  * @interface PortfolioManagementApiGetPortfolioInfoRequest
1051
1039
  */
1052
- export interface PortfolioManagementApiGetPortfolioInfoRequest {
1040
+ export type PortfolioManagementApiGetPortfolioInfoRequest = {
1053
1041
  /**
1054
- * The ID of the PortfolioGroup under which to create the target asset.
1055
- * @type {string}
1056
- * @memberof PortfolioManagementApiGetPortfolioInfo
1057
- */
1042
+ * The ID of the PortfolioGroup under which to create the target asset.
1043
+ * @type {string}
1044
+ * @memberof PortfolioManagementApiGetPortfolioInfo
1045
+ */
1058
1046
  readonly portfolioGroupId: string;
1059
- }
1047
+ };
1060
1048
  /**
1061
1049
  * Request parameters for getPortfolioPositions operation in PortfolioManagementApi.
1062
1050
  * @export
1063
1051
  * @interface PortfolioManagementApiGetPortfolioPositionsRequest
1064
1052
  */
1065
- export interface PortfolioManagementApiGetPortfolioPositionsRequest {
1053
+ export type PortfolioManagementApiGetPortfolioPositionsRequest = {
1066
1054
  /**
1067
- * The ID of the PortfolioGroup under which to create the target asset.
1068
- * @type {string}
1069
- * @memberof PortfolioManagementApiGetPortfolioPositions
1070
- */
1055
+ * The ID of the PortfolioGroup under which to create the target asset.
1056
+ * @type {string}
1057
+ * @memberof PortfolioManagementApiGetPortfolioPositions
1058
+ */
1071
1059
  readonly portfolioGroupId: string;
1072
- }
1060
+ };
1073
1061
  /**
1074
1062
  * Request parameters for getPortfolioSettings operation in PortfolioManagementApi.
1075
1063
  * @export
1076
1064
  * @interface PortfolioManagementApiGetPortfolioSettingsRequest
1077
1065
  */
1078
- export interface PortfolioManagementApiGetPortfolioSettingsRequest {
1066
+ export type PortfolioManagementApiGetPortfolioSettingsRequest = {
1079
1067
  /**
1080
- * The ID of the PortfolioGroup under which to get the settings.
1081
- * @type {string}
1082
- * @memberof PortfolioManagementApiGetPortfolioSettings
1083
- */
1068
+ * The ID of the PortfolioGroup under which to get the settings.
1069
+ * @type {string}
1070
+ * @memberof PortfolioManagementApiGetPortfolioSettings
1071
+ */
1084
1072
  readonly portfolioGroupId: string;
1085
- }
1073
+ };
1086
1074
  /**
1087
1075
  * Request parameters for getPortfolioTargetById operation in PortfolioManagementApi.
1088
1076
  * @export
1089
1077
  * @interface PortfolioManagementApiGetPortfolioTargetByIdRequest
1090
1078
  */
1091
- export interface PortfolioManagementApiGetPortfolioTargetByIdRequest {
1079
+ export type PortfolioManagementApiGetPortfolioTargetByIdRequest = {
1092
1080
  /**
1093
- * The ID of the PortfolioGroup under which to get the target asset.
1094
- * @type {string}
1095
- * @memberof PortfolioManagementApiGetPortfolioTargetById
1096
- */
1081
+ * The ID of the PortfolioGroup under which to get the target asset.
1082
+ * @type {string}
1083
+ * @memberof PortfolioManagementApiGetPortfolioTargetById
1084
+ */
1097
1085
  readonly portfolioGroupId: string;
1098
1086
  /**
1099
- * The ID of the TargetAsset to get.
1100
- * @type {string}
1101
- * @memberof PortfolioManagementApiGetPortfolioTargetById
1102
- */
1087
+ * The ID of the TargetAsset to get.
1088
+ * @type {string}
1089
+ * @memberof PortfolioManagementApiGetPortfolioTargetById
1090
+ */
1103
1091
  readonly targetAssetId: string;
1104
- }
1092
+ };
1105
1093
  /**
1106
1094
  * Request parameters for getPortfolioTargets operation in PortfolioManagementApi.
1107
1095
  * @export
1108
1096
  * @interface PortfolioManagementApiGetPortfolioTargetsRequest
1109
1097
  */
1110
- export interface PortfolioManagementApiGetPortfolioTargetsRequest {
1098
+ export type PortfolioManagementApiGetPortfolioTargetsRequest = {
1111
1099
  /**
1112
- * The ID of the PortfolioGroup under which to create the target asset.
1113
- * @type {string}
1114
- * @memberof PortfolioManagementApiGetPortfolioTargets
1115
- */
1100
+ * The ID of the PortfolioGroup under which to create the target asset.
1101
+ * @type {string}
1102
+ * @memberof PortfolioManagementApiGetPortfolioTargets
1103
+ */
1116
1104
  readonly portfolioGroupId: string;
1117
- }
1105
+ };
1118
1106
  /**
1119
1107
  * Request parameters for getPortoflioExcludedAssets operation in PortfolioManagementApi.
1120
1108
  * @export
1121
1109
  * @interface PortfolioManagementApiGetPortoflioExcludedAssetsRequest
1122
1110
  */
1123
- export interface PortfolioManagementApiGetPortoflioExcludedAssetsRequest {
1111
+ export type PortfolioManagementApiGetPortoflioExcludedAssetsRequest = {
1124
1112
  /**
1125
- * The ID of the PortfolioGroup under which the excluded assets are linked.
1126
- * @type {string}
1127
- * @memberof PortfolioManagementApiGetPortoflioExcludedAssets
1128
- */
1113
+ * The ID of the PortfolioGroup under which the excluded assets are linked.
1114
+ * @type {string}
1115
+ * @memberof PortfolioManagementApiGetPortoflioExcludedAssets
1116
+ */
1129
1117
  readonly portfolioGroupId: string;
1130
- }
1118
+ };
1131
1119
  /**
1132
1120
  * Request parameters for importModelPortfolio operation in PortfolioManagementApi.
1133
1121
  * @export
1134
1122
  * @interface PortfolioManagementApiImportModelPortfolioRequest
1135
1123
  */
1136
- export interface PortfolioManagementApiImportModelPortfolioRequest {
1124
+ export type PortfolioManagementApiImportModelPortfolioRequest = {
1137
1125
  /**
1138
- * The ID of the PortfolioGroup under which to create the target asset.
1139
- * @type {string}
1140
- * @memberof PortfolioManagementApiImportModelPortfolio
1141
- */
1126
+ * The ID of the PortfolioGroup under which to create the target asset.
1127
+ * @type {string}
1128
+ * @memberof PortfolioManagementApiImportModelPortfolio
1129
+ */
1142
1130
  readonly portfolioGroupId: string;
1143
- }
1131
+ };
1144
1132
  /**
1145
1133
  * Request parameters for list operation in PortfolioManagementApi.
1146
1134
  * @export
1147
1135
  * @interface PortfolioManagementApiListRequest
1148
1136
  */
1149
- export interface PortfolioManagementApiListRequest {
1137
+ export type PortfolioManagementApiListRequest = {
1150
1138
  /**
1151
- *
1152
- * @type {string}
1153
- * @memberof PortfolioManagementApiList
1154
- */
1139
+ *
1140
+ * @type {string}
1141
+ * @memberof PortfolioManagementApiList
1142
+ */
1155
1143
  readonly userId: string;
1156
1144
  /**
1157
- *
1158
- * @type {string}
1159
- * @memberof PortfolioManagementApiList
1160
- */
1145
+ *
1146
+ * @type {string}
1147
+ * @memberof PortfolioManagementApiList
1148
+ */
1161
1149
  readonly userSecret: string;
1162
- }
1150
+ };
1163
1151
  /**
1164
1152
  * Request parameters for listCalculatedTrades operation in PortfolioManagementApi.
1165
1153
  * @export
1166
1154
  * @interface PortfolioManagementApiListCalculatedTradesRequest
1167
1155
  */
1168
- export interface PortfolioManagementApiListCalculatedTradesRequest {
1156
+ export type PortfolioManagementApiListCalculatedTradesRequest = {
1169
1157
  /**
1170
- * The ID of the PortfolioGroup to perform rebalancing calculations
1171
- * @type {string}
1172
- * @memberof PortfolioManagementApiListCalculatedTrades
1173
- */
1158
+ * The ID of the PortfolioGroup to perform rebalancing calculations
1159
+ * @type {string}
1160
+ * @memberof PortfolioManagementApiListCalculatedTrades
1161
+ */
1174
1162
  readonly portfolioGroupId: string;
1175
- }
1163
+ };
1176
1164
  /**
1177
1165
  * Request parameters for listPortfolioAccounts operation in PortfolioManagementApi.
1178
1166
  * @export
1179
1167
  * @interface PortfolioManagementApiListPortfolioAccountsRequest
1180
1168
  */
1181
- export interface PortfolioManagementApiListPortfolioAccountsRequest {
1169
+ export type PortfolioManagementApiListPortfolioAccountsRequest = {
1182
1170
  /**
1183
- * The ID of the PortfolioGroup under which the accounts are linked.
1184
- * @type {string}
1185
- * @memberof PortfolioManagementApiListPortfolioAccounts
1186
- */
1171
+ * The ID of the PortfolioGroup under which the accounts are linked.
1172
+ * @type {string}
1173
+ * @memberof PortfolioManagementApiListPortfolioAccounts
1174
+ */
1187
1175
  readonly portfolioGroupId: string;
1188
- }
1176
+ };
1189
1177
  /**
1190
1178
  * Request parameters for modifyModelPortfolioById operation in PortfolioManagementApi.
1191
1179
  * @export
1192
1180
  * @interface PortfolioManagementApiModifyModelPortfolioByIdRequest
1193
1181
  */
1194
- export interface PortfolioManagementApiModifyModelPortfolioByIdRequest {
1182
+ export type PortfolioManagementApiModifyModelPortfolioByIdRequest = {
1195
1183
  /**
1196
- * The ID of the model portfolio to update.
1197
- * @type {string}
1198
- * @memberof PortfolioManagementApiModifyModelPortfolioById
1199
- */
1184
+ * The ID of the model portfolio to update.
1185
+ * @type {string}
1186
+ * @memberof PortfolioManagementApiModifyModelPortfolioById
1187
+ */
1200
1188
  readonly modelPortfolioId: string;
1201
- /**
1202
- * Use this endpoint change model asset class name and to add or remove a model portfolio security/model portfolio asset class. <br /><br /> * The model portfolio name and model portfolio model type is required. <br /> * The model portfolio model type must be either 0 or 1. [0 -> Securities based, 1 -> Asset Class based] <br /><br /> * If the model portfolio type is 0, the model portfolio asset class must be an empty array. <br /> * If the model portfolio type is 1, the model portfolio security must be an empty array. <br /><br /> * When updating the model portfolio security, the percent is required. Only the symbol id is required for the symbol object <br /> * When updating the model portfolio asset classes, the percent is required. Only the model asset class id is required for the model asset class object <br /><br /> * To remove all model portfolio securities or model portfolio asset class, set then to an empty array
1203
- * @type {ModelPortfolioDetails}
1204
- * @memberof PortfolioManagementApiModifyModelPortfolioById
1205
- */
1206
- readonly requestBody: ModelPortfolioDetails;
1207
- }
1189
+ } & ModelPortfolioDetails;
1208
1190
  /**
1209
1191
  * Request parameters for savePortfolio operation in PortfolioManagementApi.
1210
1192
  * @export
1211
1193
  * @interface PortfolioManagementApiSavePortfolioRequest
1212
1194
  */
1213
- export interface PortfolioManagementApiSavePortfolioRequest {
1195
+ export type PortfolioManagementApiSavePortfolioRequest = {
1214
1196
  /**
1215
- * The ID of the PortfolioGroup to update.
1216
- * @type {string}
1217
- * @memberof PortfolioManagementApiSavePortfolio
1218
- */
1197
+ * The ID of the PortfolioGroup to update.
1198
+ * @type {string}
1199
+ * @memberof PortfolioManagementApiSavePortfolio
1200
+ */
1219
1201
  readonly portfolioGroupId: string;
1220
- /**
1221
- *
1222
- * @type {{ [key: string]: any; }}
1223
- * @memberof PortfolioManagementApiSavePortfolio
1224
- */
1225
- readonly requestBody: {
1226
- [key: string]: any;
1227
- };
1228
- }
1202
+ } & {
1203
+ [key: string]: any;
1204
+ };
1229
1205
  /**
1230
1206
  * Request parameters for searchPortfolioSymbols operation in PortfolioManagementApi.
1231
1207
  * @export
1232
1208
  * @interface PortfolioManagementApiSearchPortfolioSymbolsRequest
1233
1209
  */
1234
- export interface PortfolioManagementApiSearchPortfolioSymbolsRequest {
1210
+ export type PortfolioManagementApiSearchPortfolioSymbolsRequest = {
1235
1211
  /**
1236
- * The ID of the PortfolioGroup to search under
1237
- * @type {string}
1238
- * @memberof PortfolioManagementApiSearchPortfolioSymbols
1239
- */
1212
+ * The ID of the PortfolioGroup to search under
1213
+ * @type {string}
1214
+ * @memberof PortfolioManagementApiSearchPortfolioSymbols
1215
+ */
1240
1216
  readonly portfolioGroupId: string;
1241
- /**
1242
- *
1243
- * @type {SymbolQuery}
1244
- * @memberof PortfolioManagementApiSearchPortfolioSymbols
1245
- */
1246
- readonly requestBody?: SymbolQuery;
1247
- }
1217
+ } & SymbolQuery;
1248
1218
  /**
1249
1219
  * Request parameters for setPortfolioTargets operation in PortfolioManagementApi.
1250
1220
  * @export
1251
1221
  * @interface PortfolioManagementApiSetPortfolioTargetsRequest
1252
1222
  */
1253
- export interface PortfolioManagementApiSetPortfolioTargetsRequest {
1223
+ export type PortfolioManagementApiSetPortfolioTargetsRequest = {
1254
1224
  /**
1255
- * The ID of the PortfolioGroup under which to create the target asset.
1256
- * @type {string}
1257
- * @memberof PortfolioManagementApiSetPortfolioTargets
1258
- */
1225
+ * The ID of the PortfolioGroup under which to create the target asset.
1226
+ * @type {string}
1227
+ * @memberof PortfolioManagementApiSetPortfolioTargets
1228
+ */
1259
1229
  readonly portfolioGroupId: string;
1260
1230
  /**
1261
- *
1262
- * @type {Array<TargetAsset>}
1263
- * @memberof PortfolioManagementApiSetPortfolioTargets
1264
- */
1231
+ *
1232
+ * @type {Array<TargetAsset>}
1233
+ * @memberof PortfolioManagementApiSetPortfolioTargets
1234
+ */
1265
1235
  readonly requestBody?: Array<TargetAsset>;
1266
- }
1236
+ };
1267
1237
  /**
1268
1238
  * Request parameters for updateAssetClass operation in PortfolioManagementApi.
1269
1239
  * @export
1270
1240
  * @interface PortfolioManagementApiUpdateAssetClassRequest
1271
1241
  */
1272
- export interface PortfolioManagementApiUpdateAssetClassRequest {
1242
+ export type PortfolioManagementApiUpdateAssetClassRequest = {
1273
1243
  /**
1274
- * The ID of the model asset class to update.
1275
- * @type {string}
1276
- * @memberof PortfolioManagementApiUpdateAssetClass
1277
- */
1244
+ * The ID of the model asset class to update.
1245
+ * @type {string}
1246
+ * @memberof PortfolioManagementApiUpdateAssetClass
1247
+ */
1278
1248
  readonly modelAssetClassId: string;
1279
- /**
1280
- * Use this endpoint change model asset class name and to add or remove a model asset class target. <br /><br /> * Only the model asset class name is required for the model asset class object. <br /> * Only the symbol id is required for the symbol object in the model asset class target object. <br /> * To remove all model asset class targets, set the model asset class target as an empty array
1281
- * @type {ModelAssetClassDetails}
1282
- * @memberof PortfolioManagementApiUpdateAssetClass
1283
- */
1284
- readonly requestBody: ModelAssetClassDetails;
1285
- }
1249
+ } & ModelAssetClassDetails;
1286
1250
  /**
1287
1251
  * Request parameters for updatePortfolioSettings operation in PortfolioManagementApi.
1288
1252
  * @export
1289
1253
  * @interface PortfolioManagementApiUpdatePortfolioSettingsRequest
1290
1254
  */
1291
- export interface PortfolioManagementApiUpdatePortfolioSettingsRequest {
1255
+ export type PortfolioManagementApiUpdatePortfolioSettingsRequest = {
1292
1256
  /**
1293
- * The ID of the PortfolioGroup under which to patch the settings.
1294
- * @type {string}
1295
- * @memberof PortfolioManagementApiUpdatePortfolioSettings
1296
- */
1257
+ * The ID of the PortfolioGroup under which to patch the settings.
1258
+ * @type {string}
1259
+ * @memberof PortfolioManagementApiUpdatePortfolioSettings
1260
+ */
1297
1261
  readonly portfolioGroupId: string;
1298
- }
1262
+ };
1299
1263
  /**
1300
1264
  * Request parameters for updatePortfolioTargetById operation in PortfolioManagementApi.
1301
1265
  * @export
1302
1266
  * @interface PortfolioManagementApiUpdatePortfolioTargetByIdRequest
1303
1267
  */
1304
- export interface PortfolioManagementApiUpdatePortfolioTargetByIdRequest {
1268
+ export type PortfolioManagementApiUpdatePortfolioTargetByIdRequest = {
1305
1269
  /**
1306
- * The ID of the PortfolioGroup under which to patch the target asset.
1307
- * @type {string}
1308
- * @memberof PortfolioManagementApiUpdatePortfolioTargetById
1309
- */
1270
+ * The ID of the PortfolioGroup under which to patch the target asset.
1271
+ * @type {string}
1272
+ * @memberof PortfolioManagementApiUpdatePortfolioTargetById
1273
+ */
1310
1274
  readonly portfolioGroupId: string;
1311
1275
  /**
1312
- * The ID of the TargetAsset to patch.
1313
- * @type {string}
1314
- * @memberof PortfolioManagementApiUpdatePortfolioTargetById
1315
- */
1276
+ * The ID of the TargetAsset to patch.
1277
+ * @type {string}
1278
+ * @memberof PortfolioManagementApiUpdatePortfolioTargetById
1279
+ */
1316
1280
  readonly targetAssetId: string;
1317
- /**
1318
- *
1319
- * @type {TargetAsset}
1320
- * @memberof PortfolioManagementApiUpdatePortfolioTargetById
1321
- */
1322
- readonly requestBody: TargetAsset;
1323
- }
1281
+ } & TargetAsset;
1324
1282
  /**
1325
1283
  * PortfolioManagementApi - object-oriented interface
1326
1284
  * @export