kalshi-typescript 2.1.2 → 2.1.3
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/README.md +2 -2
- package/api/api-keys-api.ts +5 -5
- package/api/communications-api.ts +12 -12
- package/api/events-api.ts +4 -4
- package/api/exchange-api.ts +5 -5
- package/api/markets-api.ts +6 -6
- package/api/milestones-api.ts +3 -3
- package/api/multivariate-collections-api.ts +4 -4
- package/api/portfolio-api.ts +21 -21
- package/api/series-api.ts +3 -3
- package/api/structured-targets-api.ts +3 -3
- package/dist/api/api-keys-api.js +8 -8
- package/dist/api/communications-api.js +22 -22
- package/dist/api/events-api.js +6 -6
- package/dist/api/exchange-api.js +8 -8
- package/dist/api/markets-api.js +10 -10
- package/dist/api/milestones-api.js +4 -4
- package/dist/api/multivariate-collections-api.js +6 -6
- package/dist/api/portfolio-api.js +40 -40
- package/dist/api/series-api.js +4 -4
- package/dist/api/structured-targets-api.js +4 -4
- package/dist/esm/api/api-keys-api.js +9 -9
- package/dist/esm/api/communications-api.js +23 -23
- package/dist/esm/api/events-api.js +7 -7
- package/dist/esm/api/exchange-api.js +9 -9
- package/dist/esm/api/markets-api.js +11 -11
- package/dist/esm/api/milestones-api.js +5 -5
- package/dist/esm/api/multivariate-collections-api.js +7 -7
- package/dist/esm/api/portfolio-api.js +41 -41
- package/dist/esm/api/series-api.js +5 -5
- package/dist/esm/api/structured-targets-api.js +5 -5
- package/package.json +1 -1
|
@@ -779,10 +779,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
779
779
|
*/
|
|
780
780
|
amendOrder(orderId, amendOrderRequest, options) {
|
|
781
781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
782
|
-
var _a
|
|
782
|
+
var _a;
|
|
783
783
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.amendOrder(orderId, amendOrderRequest, options);
|
|
784
784
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
785
|
-
const localVarOperationServerBasePath =
|
|
785
|
+
const localVarOperationServerBasePath = undefined;
|
|
786
786
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
787
787
|
});
|
|
788
788
|
},
|
|
@@ -795,10 +795,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
795
795
|
*/
|
|
796
796
|
batchCancelOrders(batchCancelOrdersRequest, options) {
|
|
797
797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
798
|
-
var _a
|
|
798
|
+
var _a;
|
|
799
799
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchCancelOrders(batchCancelOrdersRequest, options);
|
|
800
800
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
801
|
-
const localVarOperationServerBasePath =
|
|
801
|
+
const localVarOperationServerBasePath = undefined;
|
|
802
802
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
803
803
|
});
|
|
804
804
|
},
|
|
@@ -811,10 +811,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
811
811
|
*/
|
|
812
812
|
batchCreateOrders(batchCreateOrdersRequest, options) {
|
|
813
813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
814
|
-
var _a
|
|
814
|
+
var _a;
|
|
815
815
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchCreateOrders(batchCreateOrdersRequest, options);
|
|
816
816
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
817
|
-
const localVarOperationServerBasePath =
|
|
817
|
+
const localVarOperationServerBasePath = undefined;
|
|
818
818
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
819
819
|
});
|
|
820
820
|
},
|
|
@@ -827,10 +827,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
827
827
|
*/
|
|
828
828
|
cancelOrder(orderId, options) {
|
|
829
829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
830
|
-
var _a
|
|
830
|
+
var _a;
|
|
831
831
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOrder(orderId, options);
|
|
832
832
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
833
|
-
const localVarOperationServerBasePath =
|
|
833
|
+
const localVarOperationServerBasePath = undefined;
|
|
834
834
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
835
835
|
});
|
|
836
836
|
},
|
|
@@ -843,10 +843,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
843
843
|
*/
|
|
844
844
|
createOrder(createOrderRequest, options) {
|
|
845
845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
846
|
-
var _a
|
|
846
|
+
var _a;
|
|
847
847
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(createOrderRequest, options);
|
|
848
848
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
849
|
-
const localVarOperationServerBasePath =
|
|
849
|
+
const localVarOperationServerBasePath = undefined;
|
|
850
850
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
851
851
|
});
|
|
852
852
|
},
|
|
@@ -859,10 +859,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
859
859
|
*/
|
|
860
860
|
createOrderGroup(createOrderGroupRequest, options) {
|
|
861
861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
862
|
-
var _a
|
|
862
|
+
var _a;
|
|
863
863
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrderGroup(createOrderGroupRequest, options);
|
|
864
864
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
865
|
-
const localVarOperationServerBasePath =
|
|
865
|
+
const localVarOperationServerBasePath = undefined;
|
|
866
866
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
867
867
|
});
|
|
868
868
|
},
|
|
@@ -876,10 +876,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
876
876
|
*/
|
|
877
877
|
decreaseOrder(orderId, decreaseOrderRequest, options) {
|
|
878
878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
879
|
-
var _a
|
|
879
|
+
var _a;
|
|
880
880
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.decreaseOrder(orderId, decreaseOrderRequest, options);
|
|
881
881
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
882
|
-
const localVarOperationServerBasePath =
|
|
882
|
+
const localVarOperationServerBasePath = undefined;
|
|
883
883
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
884
884
|
});
|
|
885
885
|
},
|
|
@@ -892,10 +892,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
892
892
|
*/
|
|
893
893
|
deleteOrderGroup(orderGroupId, options) {
|
|
894
894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
|
-
var _a
|
|
895
|
+
var _a;
|
|
896
896
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrderGroup(orderGroupId, options);
|
|
897
897
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
898
|
-
const localVarOperationServerBasePath =
|
|
898
|
+
const localVarOperationServerBasePath = undefined;
|
|
899
899
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
900
900
|
});
|
|
901
901
|
},
|
|
@@ -907,10 +907,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
907
907
|
*/
|
|
908
908
|
getBalance(options) {
|
|
909
909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
910
|
-
var _a
|
|
910
|
+
var _a;
|
|
911
911
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(options);
|
|
912
912
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
913
|
-
const localVarOperationServerBasePath =
|
|
913
|
+
const localVarOperationServerBasePath = undefined;
|
|
914
914
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
915
915
|
});
|
|
916
916
|
},
|
|
@@ -928,10 +928,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
928
928
|
*/
|
|
929
929
|
getFills(ticker, orderId, minTs, maxTs, limit, cursor, options) {
|
|
930
930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
931
|
-
var _a
|
|
931
|
+
var _a;
|
|
932
932
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFills(ticker, orderId, minTs, maxTs, limit, cursor, options);
|
|
933
933
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
934
|
-
const localVarOperationServerBasePath =
|
|
934
|
+
const localVarOperationServerBasePath = undefined;
|
|
935
935
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
936
936
|
});
|
|
937
937
|
},
|
|
@@ -944,10 +944,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
944
944
|
*/
|
|
945
945
|
getOrder(orderId, options) {
|
|
946
946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
947
|
-
var _a
|
|
947
|
+
var _a;
|
|
948
948
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrder(orderId, options);
|
|
949
949
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
950
|
-
const localVarOperationServerBasePath =
|
|
950
|
+
const localVarOperationServerBasePath = undefined;
|
|
951
951
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
952
952
|
});
|
|
953
953
|
},
|
|
@@ -960,10 +960,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
960
960
|
*/
|
|
961
961
|
getOrderGroup(orderGroupId, options) {
|
|
962
962
|
return __awaiter(this, void 0, void 0, function* () {
|
|
963
|
-
var _a
|
|
963
|
+
var _a;
|
|
964
964
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderGroup(orderGroupId, options);
|
|
965
965
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
966
|
-
const localVarOperationServerBasePath =
|
|
966
|
+
const localVarOperationServerBasePath = undefined;
|
|
967
967
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
968
968
|
});
|
|
969
969
|
},
|
|
@@ -978,10 +978,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
978
978
|
*/
|
|
979
979
|
getOrderGroups(status, limit, cursor, options) {
|
|
980
980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
981
|
-
var _a
|
|
981
|
+
var _a;
|
|
982
982
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderGroups(status, limit, cursor, options);
|
|
983
983
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
984
|
-
const localVarOperationServerBasePath =
|
|
984
|
+
const localVarOperationServerBasePath = undefined;
|
|
985
985
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
986
986
|
});
|
|
987
987
|
},
|
|
@@ -994,10 +994,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
994
994
|
*/
|
|
995
995
|
getOrderQueuePosition(orderId, options) {
|
|
996
996
|
return __awaiter(this, void 0, void 0, function* () {
|
|
997
|
-
var _a
|
|
997
|
+
var _a;
|
|
998
998
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderQueuePosition(orderId, options);
|
|
999
999
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1000
|
-
const localVarOperationServerBasePath =
|
|
1000
|
+
const localVarOperationServerBasePath = undefined;
|
|
1001
1001
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1002
1002
|
});
|
|
1003
1003
|
},
|
|
@@ -1016,10 +1016,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
getOrders(ticker, eventTicker, minTs, maxTs, status, limit, cursor, options) {
|
|
1018
1018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1019
|
-
var _a
|
|
1019
|
+
var _a;
|
|
1020
1020
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrders(ticker, eventTicker, minTs, maxTs, status, limit, cursor, options);
|
|
1021
1021
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1022
|
-
const localVarOperationServerBasePath =
|
|
1022
|
+
const localVarOperationServerBasePath = undefined;
|
|
1023
1023
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1024
1024
|
});
|
|
1025
1025
|
},
|
|
@@ -1037,10 +1037,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
getPositions(ticker, eventTicker, countDown, countUp, limit, cursor, options) {
|
|
1039
1039
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1040
|
-
var _a
|
|
1040
|
+
var _a;
|
|
1041
1041
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPositions(ticker, eventTicker, countDown, countUp, limit, cursor, options);
|
|
1042
1042
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1043
|
-
const localVarOperationServerBasePath =
|
|
1043
|
+
const localVarOperationServerBasePath = undefined;
|
|
1044
1044
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1045
1045
|
});
|
|
1046
1046
|
},
|
|
@@ -1053,10 +1053,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1053
1053
|
*/
|
|
1054
1054
|
getQueuePositions(getQueuePositionsRequest, options) {
|
|
1055
1055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1056
|
-
var _a
|
|
1056
|
+
var _a;
|
|
1057
1057
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuePositions(getQueuePositionsRequest, options);
|
|
1058
1058
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1059
|
-
const localVarOperationServerBasePath =
|
|
1059
|
+
const localVarOperationServerBasePath = undefined;
|
|
1060
1060
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1061
1061
|
});
|
|
1062
1062
|
},
|
|
@@ -1070,10 +1070,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1070
1070
|
*/
|
|
1071
1071
|
getSettlements(limit, cursor, options) {
|
|
1072
1072
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1073
|
-
var _a
|
|
1073
|
+
var _a;
|
|
1074
1074
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettlements(limit, cursor, options);
|
|
1075
1075
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1076
|
-
const localVarOperationServerBasePath =
|
|
1076
|
+
const localVarOperationServerBasePath = undefined;
|
|
1077
1077
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1078
1078
|
});
|
|
1079
1079
|
},
|
|
@@ -1085,10 +1085,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1085
1085
|
*/
|
|
1086
1086
|
getTotalRestingOrderValue(options) {
|
|
1087
1087
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1088
|
-
var _a
|
|
1088
|
+
var _a;
|
|
1089
1089
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTotalRestingOrderValue(options);
|
|
1090
1090
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1091
|
-
const localVarOperationServerBasePath =
|
|
1091
|
+
const localVarOperationServerBasePath = undefined;
|
|
1092
1092
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1093
1093
|
});
|
|
1094
1094
|
},
|
|
@@ -1101,10 +1101,10 @@ const PortfolioApiFp = function (configuration) {
|
|
|
1101
1101
|
*/
|
|
1102
1102
|
resetOrderGroup(orderGroupId, options) {
|
|
1103
1103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1104
|
-
var _a
|
|
1104
|
+
var _a;
|
|
1105
1105
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.resetOrderGroup(orderGroupId, options);
|
|
1106
1106
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1107
|
-
const localVarOperationServerBasePath =
|
|
1107
|
+
const localVarOperationServerBasePath = undefined;
|
|
1108
1108
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1109
1109
|
});
|
|
1110
1110
|
},
|
package/dist/api/series-api.js
CHANGED
|
@@ -119,10 +119,10 @@ const SeriesApiFp = function (configuration) {
|
|
|
119
119
|
*/
|
|
120
120
|
getSeries(status, options) {
|
|
121
121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
var _a
|
|
122
|
+
var _a;
|
|
123
123
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(status, options);
|
|
124
124
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
125
|
-
const localVarOperationServerBasePath =
|
|
125
|
+
const localVarOperationServerBasePath = undefined;
|
|
126
126
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
127
127
|
});
|
|
128
128
|
},
|
|
@@ -135,10 +135,10 @@ const SeriesApiFp = function (configuration) {
|
|
|
135
135
|
*/
|
|
136
136
|
getSeriesByTicker(ticker, options) {
|
|
137
137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
var _a
|
|
138
|
+
var _a;
|
|
139
139
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesByTicker(ticker, options);
|
|
140
140
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
141
|
-
const localVarOperationServerBasePath =
|
|
141
|
+
const localVarOperationServerBasePath = undefined;
|
|
142
142
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
143
143
|
});
|
|
144
144
|
},
|
|
@@ -123,10 +123,10 @@ const StructuredTargetsApiFp = function (configuration) {
|
|
|
123
123
|
*/
|
|
124
124
|
getStructuredTarget(structuredTargetId, options) {
|
|
125
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
-
var _a
|
|
126
|
+
var _a;
|
|
127
127
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStructuredTarget(structuredTargetId, options);
|
|
128
128
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
129
|
-
const localVarOperationServerBasePath =
|
|
129
|
+
const localVarOperationServerBasePath = undefined;
|
|
130
130
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
131
131
|
});
|
|
132
132
|
},
|
|
@@ -140,10 +140,10 @@ const StructuredTargetsApiFp = function (configuration) {
|
|
|
140
140
|
*/
|
|
141
141
|
getStructuredTargets(status, pageSize, options) {
|
|
142
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
-
var _a
|
|
143
|
+
var _a;
|
|
144
144
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStructuredTargets(status, pageSize, options);
|
|
145
145
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
146
|
-
const localVarOperationServerBasePath =
|
|
146
|
+
const localVarOperationServerBasePath = undefined;
|
|
147
147
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
148
148
|
});
|
|
149
149
|
},
|
|
@@ -28,7 +28,7 @@ import { URL } from 'url';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import { BASE_PATH, BaseAPI
|
|
31
|
+
import { BASE_PATH, BaseAPI } from '../base';
|
|
32
32
|
/**
|
|
33
33
|
* ApiKeysApi - axios parameter creator
|
|
34
34
|
*/
|
|
@@ -177,10 +177,10 @@ export const ApiKeysApiFp = function (configuration) {
|
|
|
177
177
|
*/
|
|
178
178
|
createApiKey(createApiKeyRequest, options) {
|
|
179
179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
180
|
-
var _a
|
|
180
|
+
var _a;
|
|
181
181
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(createApiKeyRequest, options);
|
|
182
182
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
183
|
-
const localVarOperationServerBasePath =
|
|
183
|
+
const localVarOperationServerBasePath = undefined;
|
|
184
184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
185
185
|
});
|
|
186
186
|
},
|
|
@@ -193,10 +193,10 @@ export const ApiKeysApiFp = function (configuration) {
|
|
|
193
193
|
*/
|
|
194
194
|
deleteApiKey(apiKey, options) {
|
|
195
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
196
|
-
var _a
|
|
196
|
+
var _a;
|
|
197
197
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApiKey(apiKey, options);
|
|
198
198
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
199
|
-
const localVarOperationServerBasePath =
|
|
199
|
+
const localVarOperationServerBasePath = undefined;
|
|
200
200
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
201
201
|
});
|
|
202
202
|
},
|
|
@@ -209,10 +209,10 @@ export const ApiKeysApiFp = function (configuration) {
|
|
|
209
209
|
*/
|
|
210
210
|
generateApiKey(generateApiKeyRequest, options) {
|
|
211
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
212
|
-
var _a
|
|
212
|
+
var _a;
|
|
213
213
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateApiKey(generateApiKeyRequest, options);
|
|
214
214
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
215
|
-
const localVarOperationServerBasePath =
|
|
215
|
+
const localVarOperationServerBasePath = undefined;
|
|
216
216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
217
217
|
});
|
|
218
218
|
},
|
|
@@ -224,10 +224,10 @@ export const ApiKeysApiFp = function (configuration) {
|
|
|
224
224
|
*/
|
|
225
225
|
getApiKeys(options) {
|
|
226
226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
227
|
-
var _a
|
|
227
|
+
var _a;
|
|
228
228
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApiKeys(options);
|
|
229
229
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
230
|
-
const localVarOperationServerBasePath =
|
|
230
|
+
const localVarOperationServerBasePath = undefined;
|
|
231
231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
232
232
|
});
|
|
233
233
|
},
|
|
@@ -28,7 +28,7 @@ import { URL } from 'url';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import { BASE_PATH, BaseAPI
|
|
31
|
+
import { BASE_PATH, BaseAPI } from '../base';
|
|
32
32
|
/**
|
|
33
33
|
* CommunicationsApi - axios parameter creator
|
|
34
34
|
*/
|
|
@@ -399,10 +399,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
399
399
|
*/
|
|
400
400
|
acceptQuote(quoteId, acceptQuoteRequest, options) {
|
|
401
401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
402
|
-
var _a
|
|
402
|
+
var _a;
|
|
403
403
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptQuote(quoteId, acceptQuoteRequest, options);
|
|
404
404
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
405
|
-
const localVarOperationServerBasePath =
|
|
405
|
+
const localVarOperationServerBasePath = undefined;
|
|
406
406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
407
407
|
});
|
|
408
408
|
},
|
|
@@ -415,10 +415,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
415
415
|
*/
|
|
416
416
|
confirmQuote(quoteId, options) {
|
|
417
417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
418
|
-
var _a
|
|
418
|
+
var _a;
|
|
419
419
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmQuote(quoteId, options);
|
|
420
420
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
421
|
-
const localVarOperationServerBasePath =
|
|
421
|
+
const localVarOperationServerBasePath = undefined;
|
|
422
422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
423
423
|
});
|
|
424
424
|
},
|
|
@@ -431,10 +431,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
431
431
|
*/
|
|
432
432
|
createQuote(createQuoteRequest, options) {
|
|
433
433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
434
|
-
var _a
|
|
434
|
+
var _a;
|
|
435
435
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createQuote(createQuoteRequest, options);
|
|
436
436
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
-
const localVarOperationServerBasePath =
|
|
437
|
+
const localVarOperationServerBasePath = undefined;
|
|
438
438
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
439
439
|
});
|
|
440
440
|
},
|
|
@@ -447,10 +447,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
447
447
|
*/
|
|
448
448
|
createRFQ(createRFQRequest, options) {
|
|
449
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
450
|
-
var _a
|
|
450
|
+
var _a;
|
|
451
451
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRFQ(createRFQRequest, options);
|
|
452
452
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
453
|
-
const localVarOperationServerBasePath =
|
|
453
|
+
const localVarOperationServerBasePath = undefined;
|
|
454
454
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
455
455
|
});
|
|
456
456
|
},
|
|
@@ -463,10 +463,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
463
463
|
*/
|
|
464
464
|
deleteQuote(quoteId, options) {
|
|
465
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
466
|
-
var _a
|
|
466
|
+
var _a;
|
|
467
467
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteQuote(quoteId, options);
|
|
468
468
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
469
|
-
const localVarOperationServerBasePath =
|
|
469
|
+
const localVarOperationServerBasePath = undefined;
|
|
470
470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
471
471
|
});
|
|
472
472
|
},
|
|
@@ -479,10 +479,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
479
479
|
*/
|
|
480
480
|
deleteRFQ(rfqId, options) {
|
|
481
481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
-
var _a
|
|
482
|
+
var _a;
|
|
483
483
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRFQ(rfqId, options);
|
|
484
484
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
485
|
-
const localVarOperationServerBasePath =
|
|
485
|
+
const localVarOperationServerBasePath = undefined;
|
|
486
486
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
487
487
|
});
|
|
488
488
|
},
|
|
@@ -494,10 +494,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
494
494
|
*/
|
|
495
495
|
getCommunicationsID(options) {
|
|
496
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
497
|
-
var _a
|
|
497
|
+
var _a;
|
|
498
498
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCommunicationsID(options);
|
|
499
499
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
500
|
-
const localVarOperationServerBasePath =
|
|
500
|
+
const localVarOperationServerBasePath = undefined;
|
|
501
501
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
502
502
|
});
|
|
503
503
|
},
|
|
@@ -510,10 +510,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
510
510
|
*/
|
|
511
511
|
getQuote(quoteId, options) {
|
|
512
512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
513
|
-
var _a
|
|
513
|
+
var _a;
|
|
514
514
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuote(quoteId, options);
|
|
515
515
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
516
|
-
const localVarOperationServerBasePath =
|
|
516
|
+
const localVarOperationServerBasePath = undefined;
|
|
517
517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
518
|
});
|
|
519
519
|
},
|
|
@@ -525,10 +525,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
525
525
|
*/
|
|
526
526
|
getQuotes(options) {
|
|
527
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
528
|
-
var _a
|
|
528
|
+
var _a;
|
|
529
529
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuotes(options);
|
|
530
530
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
531
|
-
const localVarOperationServerBasePath =
|
|
531
|
+
const localVarOperationServerBasePath = undefined;
|
|
532
532
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
533
533
|
});
|
|
534
534
|
},
|
|
@@ -541,10 +541,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
541
541
|
*/
|
|
542
542
|
getRFQ(rfqId, options) {
|
|
543
543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
544
|
-
var _a
|
|
544
|
+
var _a;
|
|
545
545
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQ(rfqId, options);
|
|
546
546
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
547
|
-
const localVarOperationServerBasePath =
|
|
547
|
+
const localVarOperationServerBasePath = undefined;
|
|
548
548
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
549
549
|
});
|
|
550
550
|
},
|
|
@@ -556,10 +556,10 @@ export const CommunicationsApiFp = function (configuration) {
|
|
|
556
556
|
*/
|
|
557
557
|
getRFQs(options) {
|
|
558
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
-
var _a
|
|
559
|
+
var _a;
|
|
560
560
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQs(options);
|
|
561
561
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
562
|
-
const localVarOperationServerBasePath =
|
|
562
|
+
const localVarOperationServerBasePath = undefined;
|
|
563
563
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
564
564
|
});
|
|
565
565
|
},
|
|
@@ -28,7 +28,7 @@ import { URL } from 'url';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import { BASE_PATH, BaseAPI
|
|
31
|
+
import { BASE_PATH, BaseAPI } from '../base';
|
|
32
32
|
/**
|
|
33
33
|
* EventsApi - axios parameter creator
|
|
34
34
|
*/
|
|
@@ -172,10 +172,10 @@ export const EventsApiFp = function (configuration) {
|
|
|
172
172
|
*/
|
|
173
173
|
getEvent(eventTicker, withNestedMarkets, options) {
|
|
174
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
var _a
|
|
175
|
+
var _a;
|
|
176
176
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvent(eventTicker, withNestedMarkets, options);
|
|
177
177
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
-
const localVarOperationServerBasePath =
|
|
178
|
+
const localVarOperationServerBasePath = undefined;
|
|
179
179
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
180
180
|
});
|
|
181
181
|
},
|
|
@@ -188,10 +188,10 @@ export const EventsApiFp = function (configuration) {
|
|
|
188
188
|
*/
|
|
189
189
|
getEventMetadata(eventTicker, options) {
|
|
190
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
191
|
-
var _a
|
|
191
|
+
var _a;
|
|
192
192
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMetadata(eventTicker, options);
|
|
193
193
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
194
|
-
const localVarOperationServerBasePath =
|
|
194
|
+
const localVarOperationServerBasePath = undefined;
|
|
195
195
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
196
196
|
});
|
|
197
197
|
},
|
|
@@ -209,10 +209,10 @@ export const EventsApiFp = function (configuration) {
|
|
|
209
209
|
*/
|
|
210
210
|
getEvents(limit, cursor, withNestedMarkets, status, seriesTicker, minCloseTs, options) {
|
|
211
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
212
|
-
var _a
|
|
212
|
+
var _a;
|
|
213
213
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(limit, cursor, withNestedMarkets, status, seriesTicker, minCloseTs, options);
|
|
214
214
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
215
|
-
const localVarOperationServerBasePath =
|
|
215
|
+
const localVarOperationServerBasePath = undefined;
|
|
216
216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
217
217
|
});
|
|
218
218
|
},
|