adaptic-backend 1.0.24 → 1.0.26
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/AIRecommendation.js +4 -2
- package/Account.js +4 -2
- package/Alert.js +4 -2
- package/Asset.js +4 -2
- package/Authenticator.js +4 -2
- package/Customer.js +4 -2
- package/EconomicEvent.js +4 -2
- package/EnvironmentVariable.js +4 -2
- package/Holding.js +4 -2
- package/NewsArticle.js +4 -2
- package/NewsArticleAssetSentiment.js +4 -2
- package/Order.js +4 -2
- package/PerformanceMetric.js +4 -2
- package/RiskAllocation.js +4 -2
- package/Session.js +4 -2
- package/Trade.js +4 -2
- package/TradeStep.js +4 -2
- package/TradingAccount.js +4 -2
- package/User.js +4 -2
- package/VerificationToken.js +4 -2
- package/package.json +1 -1
- package/server/AIRecommendation.d.ts.map +1 -1
- package/server/AIRecommendation.js.map +1 -1
- package/server/AIRecommendation.mjs +4 -2
- package/server/Account.d.ts.map +1 -1
- package/server/Account.js.map +1 -1
- package/server/Account.mjs +4 -2
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +4 -2
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +4 -2
- package/server/Authenticator.d.ts.map +1 -1
- package/server/Authenticator.js.map +1 -1
- package/server/Authenticator.mjs +4 -2
- package/server/Customer.d.ts.map +1 -1
- package/server/Customer.js.map +1 -1
- package/server/Customer.mjs +4 -2
- package/server/EconomicEvent.d.ts.map +1 -1
- package/server/EconomicEvent.js.map +1 -1
- package/server/EconomicEvent.mjs +4 -2
- package/server/EnvironmentVariable.d.ts.map +1 -1
- package/server/EnvironmentVariable.js.map +1 -1
- package/server/EnvironmentVariable.mjs +4 -2
- package/server/Holding.d.ts.map +1 -1
- package/server/Holding.js.map +1 -1
- package/server/Holding.mjs +4 -2
- package/server/NewsArticle.d.ts.map +1 -1
- package/server/NewsArticle.js.map +1 -1
- package/server/NewsArticle.mjs +4 -2
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +4 -2
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +4 -2
- package/server/PerformanceMetric.d.ts.map +1 -1
- package/server/PerformanceMetric.js.map +1 -1
- package/server/PerformanceMetric.mjs +4 -2
- package/server/RiskAllocation.d.ts.map +1 -1
- package/server/RiskAllocation.js.map +1 -1
- package/server/RiskAllocation.mjs +4 -2
- package/server/Session.d.ts.map +1 -1
- package/server/Session.js.map +1 -1
- package/server/Session.mjs +4 -2
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +4 -2
- package/server/TradeStep.d.ts.map +1 -1
- package/server/TradeStep.js.map +1 -1
- package/server/TradeStep.mjs +4 -2
- package/server/TradingAccount.d.ts.map +1 -1
- package/server/TradingAccount.js.map +1 -1
- package/server/TradingAccount.mjs +4 -2
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +4 -2
- package/server/VerificationToken.d.ts.map +1 -1
- package/server/VerificationToken.js.map +1 -1
- package/server/VerificationToken.mjs +4 -2
package/AIRecommendation.js
CHANGED
|
@@ -2742,8 +2742,9 @@ exports.AIRecommendation = {
|
|
|
2742
2742
|
id: props.id ? props.id : undefined,
|
|
2743
2743
|
}
|
|
2744
2744
|
};
|
|
2745
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2745
2746
|
try {
|
|
2746
|
-
const response = await client.mutate({ mutation: DELETE_ONE_AIRECOMMENDATION, variables });
|
|
2747
|
+
const response = await client.mutate({ mutation: DELETE_ONE_AIRECOMMENDATION, variables: filteredVariables });
|
|
2747
2748
|
if (response.errors && response.errors.length > 0)
|
|
2748
2749
|
throw new Error(response.errors[0].message);
|
|
2749
2750
|
if (response && response.data && response.data.deleteOneAIRecommendation) {
|
|
@@ -3096,8 +3097,9 @@ exports.AIRecommendation = {
|
|
|
3096
3097
|
} : undefined,
|
|
3097
3098
|
},
|
|
3098
3099
|
};
|
|
3100
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3099
3101
|
try {
|
|
3100
|
-
const response = await client.query({ query: GET_AIRECOMMENDATION, variables });
|
|
3102
|
+
const response = await client.query({ query: GET_AIRECOMMENDATION, variables: filteredVariables });
|
|
3101
3103
|
if (response.errors && response.errors.length > 0)
|
|
3102
3104
|
throw new Error(response.errors[0].message);
|
|
3103
3105
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAIRecommendation) !== null && _b !== void 0 ? _b : null;
|
package/Account.js
CHANGED
|
@@ -1721,8 +1721,9 @@ exports.Account = {
|
|
|
1721
1721
|
id: props.id ? props.id : undefined,
|
|
1722
1722
|
}
|
|
1723
1723
|
};
|
|
1724
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1724
1725
|
try {
|
|
1725
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ACCOUNT, variables });
|
|
1726
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ACCOUNT, variables: filteredVariables });
|
|
1726
1727
|
if (response.errors && response.errors.length > 0)
|
|
1727
1728
|
throw new Error(response.errors[0].message);
|
|
1728
1729
|
if (response && response.data && response.data.deleteOneAccount) {
|
|
@@ -2075,8 +2076,9 @@ exports.Account = {
|
|
|
2075
2076
|
} : undefined,
|
|
2076
2077
|
},
|
|
2077
2078
|
};
|
|
2079
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2078
2080
|
try {
|
|
2079
|
-
const response = await client.query({ query: GET_ACCOUNT, variables });
|
|
2081
|
+
const response = await client.query({ query: GET_ACCOUNT, variables: filteredVariables });
|
|
2080
2082
|
if (response.errors && response.errors.length > 0)
|
|
2081
2083
|
throw new Error(response.errors[0].message);
|
|
2082
2084
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAccount) !== null && _b !== void 0 ? _b : null;
|
package/Alert.js
CHANGED
|
@@ -2225,8 +2225,9 @@ exports.Alert = {
|
|
|
2225
2225
|
id: props.id ? props.id : undefined,
|
|
2226
2226
|
}
|
|
2227
2227
|
};
|
|
2228
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2228
2229
|
try {
|
|
2229
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ALERT, variables });
|
|
2230
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ALERT, variables: filteredVariables });
|
|
2230
2231
|
if (response.errors && response.errors.length > 0)
|
|
2231
2232
|
throw new Error(response.errors[0].message);
|
|
2232
2233
|
if (response && response.data && response.data.deleteOneAlert) {
|
|
@@ -2579,8 +2580,9 @@ exports.Alert = {
|
|
|
2579
2580
|
} : undefined,
|
|
2580
2581
|
},
|
|
2581
2582
|
};
|
|
2583
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2582
2584
|
try {
|
|
2583
|
-
const response = await client.query({ query: GET_ALERT, variables });
|
|
2585
|
+
const response = await client.query({ query: GET_ALERT, variables: filteredVariables });
|
|
2584
2586
|
if (response.errors && response.errors.length > 0)
|
|
2585
2587
|
throw new Error(response.errors[0].message);
|
|
2586
2588
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAlert) !== null && _b !== void 0 ? _b : null;
|
package/Asset.js
CHANGED
|
@@ -2162,8 +2162,9 @@ exports.Asset = {
|
|
|
2162
2162
|
id: props.id ? props.id : undefined,
|
|
2163
2163
|
}
|
|
2164
2164
|
};
|
|
2165
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2165
2166
|
try {
|
|
2166
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ASSET, variables });
|
|
2167
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ASSET, variables: filteredVariables });
|
|
2167
2168
|
if (response.errors && response.errors.length > 0)
|
|
2168
2169
|
throw new Error(response.errors[0].message);
|
|
2169
2170
|
if (response && response.data && response.data.deleteOneAsset) {
|
|
@@ -2508,8 +2509,9 @@ exports.Asset = {
|
|
|
2508
2509
|
} : undefined,
|
|
2509
2510
|
},
|
|
2510
2511
|
};
|
|
2512
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2511
2513
|
try {
|
|
2512
|
-
const response = await client.query({ query: GET_ASSET, variables });
|
|
2514
|
+
const response = await client.query({ query: GET_ASSET, variables: filteredVariables });
|
|
2513
2515
|
if (response.errors && response.errors.length > 0)
|
|
2514
2516
|
throw new Error(response.errors[0].message);
|
|
2515
2517
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAsset) !== null && _b !== void 0 ? _b : null;
|
package/Authenticator.js
CHANGED
|
@@ -1731,8 +1731,9 @@ exports.Authenticator = {
|
|
|
1731
1731
|
id: props.id ? props.id : undefined,
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1734
1735
|
try {
|
|
1735
|
-
const response = await client.mutate({ mutation: DELETE_ONE_AUTHENTICATOR, variables });
|
|
1736
|
+
const response = await client.mutate({ mutation: DELETE_ONE_AUTHENTICATOR, variables: filteredVariables });
|
|
1736
1737
|
if (response.errors && response.errors.length > 0)
|
|
1737
1738
|
throw new Error(response.errors[0].message);
|
|
1738
1739
|
if (response && response.data && response.data.deleteOneAuthenticator) {
|
|
@@ -2085,8 +2086,9 @@ exports.Authenticator = {
|
|
|
2085
2086
|
} : undefined,
|
|
2086
2087
|
},
|
|
2087
2088
|
};
|
|
2089
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2088
2090
|
try {
|
|
2089
|
-
const response = await client.query({ query: GET_AUTHENTICATOR, variables });
|
|
2091
|
+
const response = await client.query({ query: GET_AUTHENTICATOR, variables: filteredVariables });
|
|
2090
2092
|
if (response.errors && response.errors.length > 0)
|
|
2091
2093
|
throw new Error(response.errors[0].message);
|
|
2092
2094
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAuthenticator) !== null && _b !== void 0 ? _b : null;
|
package/Customer.js
CHANGED
|
@@ -1714,8 +1714,9 @@ exports.Customer = {
|
|
|
1714
1714
|
id: props.id ? props.id : undefined,
|
|
1715
1715
|
}
|
|
1716
1716
|
};
|
|
1717
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1717
1718
|
try {
|
|
1718
|
-
const response = await client.mutate({ mutation: DELETE_ONE_CUSTOMER, variables });
|
|
1719
|
+
const response = await client.mutate({ mutation: DELETE_ONE_CUSTOMER, variables: filteredVariables });
|
|
1719
1720
|
if (response.errors && response.errors.length > 0)
|
|
1720
1721
|
throw new Error(response.errors[0].message);
|
|
1721
1722
|
if (response && response.data && response.data.deleteOneCustomer) {
|
|
@@ -2071,8 +2072,9 @@ exports.Customer = {
|
|
|
2071
2072
|
} : undefined,
|
|
2072
2073
|
},
|
|
2073
2074
|
};
|
|
2075
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2074
2076
|
try {
|
|
2075
|
-
const response = await client.query({ query: GET_CUSTOMER, variables });
|
|
2077
|
+
const response = await client.query({ query: GET_CUSTOMER, variables: filteredVariables });
|
|
2076
2078
|
if (response.errors && response.errors.length > 0)
|
|
2077
2079
|
throw new Error(response.errors[0].message);
|
|
2078
2080
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getCustomer) !== null && _b !== void 0 ? _b : null;
|
package/EconomicEvent.js
CHANGED
|
@@ -166,8 +166,9 @@ exports.EconomicEvent = {
|
|
|
166
166
|
id: props.id ? props.id : undefined,
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
169
170
|
try {
|
|
170
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ECONOMICEVENT, variables });
|
|
171
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ECONOMICEVENT, variables: filteredVariables });
|
|
171
172
|
if (response.errors && response.errors.length > 0)
|
|
172
173
|
throw new Error(response.errors[0].message);
|
|
173
174
|
if (response && response.data && response.data.deleteOneEconomicEvent) {
|
|
@@ -212,8 +213,9 @@ exports.EconomicEvent = {
|
|
|
212
213
|
} : undefined,
|
|
213
214
|
},
|
|
214
215
|
};
|
|
216
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
215
217
|
try {
|
|
216
|
-
const response = await client.query({ query: GET_ECONOMICEVENT, variables });
|
|
218
|
+
const response = await client.query({ query: GET_ECONOMICEVENT, variables: filteredVariables });
|
|
217
219
|
if (response.errors && response.errors.length > 0)
|
|
218
220
|
throw new Error(response.errors[0].message);
|
|
219
221
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getEconomicEvent) !== null && _b !== void 0 ? _b : null;
|
package/EnvironmentVariable.js
CHANGED
|
@@ -1582,8 +1582,9 @@ exports.EnvironmentVariable = {
|
|
|
1582
1582
|
id: props.id ? props.id : undefined,
|
|
1583
1583
|
}
|
|
1584
1584
|
};
|
|
1585
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1585
1586
|
try {
|
|
1586
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ENVIRONMENTVARIABLE, variables });
|
|
1587
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ENVIRONMENTVARIABLE, variables: filteredVariables });
|
|
1587
1588
|
if (response.errors && response.errors.length > 0)
|
|
1588
1589
|
throw new Error(response.errors[0].message);
|
|
1589
1590
|
if (response && response.data && response.data.deleteOneEnvironmentVariable) {
|
|
@@ -1941,8 +1942,9 @@ exports.EnvironmentVariable = {
|
|
|
1941
1942
|
} : undefined,
|
|
1942
1943
|
},
|
|
1943
1944
|
};
|
|
1945
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1944
1946
|
try {
|
|
1945
|
-
const response = await client.query({ query: GET_ENVIRONMENTVARIABLE, variables });
|
|
1947
|
+
const response = await client.query({ query: GET_ENVIRONMENTVARIABLE, variables: filteredVariables });
|
|
1946
1948
|
if (response.errors && response.errors.length > 0)
|
|
1947
1949
|
throw new Error(response.errors[0].message);
|
|
1948
1950
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getEnvironmentVariable) !== null && _b !== void 0 ? _b : null;
|
package/Holding.js
CHANGED
|
@@ -2183,8 +2183,9 @@ exports.Holding = {
|
|
|
2183
2183
|
id: props.id ? props.id : undefined,
|
|
2184
2184
|
}
|
|
2185
2185
|
};
|
|
2186
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2186
2187
|
try {
|
|
2187
|
-
const response = await client.mutate({ mutation: DELETE_ONE_HOLDING, variables });
|
|
2188
|
+
const response = await client.mutate({ mutation: DELETE_ONE_HOLDING, variables: filteredVariables });
|
|
2188
2189
|
if (response.errors && response.errors.length > 0)
|
|
2189
2190
|
throw new Error(response.errors[0].message);
|
|
2190
2191
|
if (response && response.data && response.data.deleteOneHolding) {
|
|
@@ -2568,8 +2569,9 @@ exports.Holding = {
|
|
|
2568
2569
|
} : undefined,
|
|
2569
2570
|
},
|
|
2570
2571
|
};
|
|
2572
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2571
2573
|
try {
|
|
2572
|
-
const response = await client.query({ query: GET_HOLDING, variables });
|
|
2574
|
+
const response = await client.query({ query: GET_HOLDING, variables: filteredVariables });
|
|
2573
2575
|
if (response.errors && response.errors.length > 0)
|
|
2574
2576
|
throw new Error(response.errors[0].message);
|
|
2575
2577
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getHolding) !== null && _b !== void 0 ? _b : null;
|
package/NewsArticle.js
CHANGED
|
@@ -1102,8 +1102,9 @@ exports.NewsArticle = {
|
|
|
1102
1102
|
id: props.id ? props.id : undefined,
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1105
1106
|
try {
|
|
1106
|
-
const response = await client.mutate({ mutation: DELETE_ONE_NEWSARTICLE, variables });
|
|
1107
|
+
const response = await client.mutate({ mutation: DELETE_ONE_NEWSARTICLE, variables: filteredVariables });
|
|
1107
1108
|
if (response.errors && response.errors.length > 0)
|
|
1108
1109
|
throw new Error(response.errors[0].message);
|
|
1109
1110
|
if (response && response.data && response.data.deleteOneNewsArticle) {
|
|
@@ -1324,8 +1325,9 @@ exports.NewsArticle = {
|
|
|
1324
1325
|
} : undefined,
|
|
1325
1326
|
},
|
|
1326
1327
|
};
|
|
1328
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1327
1329
|
try {
|
|
1328
|
-
const response = await client.query({ query: GET_NEWSARTICLE, variables });
|
|
1330
|
+
const response = await client.query({ query: GET_NEWSARTICLE, variables: filteredVariables });
|
|
1329
1331
|
if (response.errors && response.errors.length > 0)
|
|
1330
1332
|
throw new Error(response.errors[0].message);
|
|
1331
1333
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getNewsArticle) !== null && _b !== void 0 ? _b : null;
|
|
@@ -1567,8 +1567,9 @@ exports.NewsArticleAssetSentiment = {
|
|
|
1567
1567
|
id: props.id ? props.id : undefined,
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1570
1571
|
try {
|
|
1571
|
-
const response = await client.mutate({ mutation: DELETE_ONE_NEWSARTICLEASSETSENTIMENT, variables });
|
|
1572
|
+
const response = await client.mutate({ mutation: DELETE_ONE_NEWSARTICLEASSETSENTIMENT, variables: filteredVariables });
|
|
1572
1573
|
if (response.errors && response.errors.length > 0)
|
|
1573
1574
|
throw new Error(response.errors[0].message);
|
|
1574
1575
|
if (response && response.data && response.data.deleteOneNewsArticleAssetSentiment) {
|
|
@@ -1883,8 +1884,9 @@ exports.NewsArticleAssetSentiment = {
|
|
|
1883
1884
|
} : undefined,
|
|
1884
1885
|
},
|
|
1885
1886
|
};
|
|
1887
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1886
1888
|
try {
|
|
1887
|
-
const response = await client.query({ query: GET_NEWSARTICLEASSETSENTIMENT, variables });
|
|
1889
|
+
const response = await client.query({ query: GET_NEWSARTICLEASSETSENTIMENT, variables: filteredVariables });
|
|
1888
1890
|
if (response.errors && response.errors.length > 0)
|
|
1889
1891
|
throw new Error(response.errors[0].message);
|
|
1890
1892
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getNewsArticleAssetSentiment) !== null && _b !== void 0 ? _b : null;
|
package/Order.js
CHANGED
|
@@ -2700,8 +2700,9 @@ exports.Order = {
|
|
|
2700
2700
|
id: props.id ? props.id : undefined,
|
|
2701
2701
|
}
|
|
2702
2702
|
};
|
|
2703
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2703
2704
|
try {
|
|
2704
|
-
const response = await client.mutate({ mutation: DELETE_ONE_ORDER, variables });
|
|
2705
|
+
const response = await client.mutate({ mutation: DELETE_ONE_ORDER, variables: filteredVariables });
|
|
2705
2706
|
if (response.errors && response.errors.length > 0)
|
|
2706
2707
|
throw new Error(response.errors[0].message);
|
|
2707
2708
|
if (response && response.data && response.data.deleteOneOrder) {
|
|
@@ -3054,8 +3055,9 @@ exports.Order = {
|
|
|
3054
3055
|
} : undefined,
|
|
3055
3056
|
},
|
|
3056
3057
|
};
|
|
3058
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3057
3059
|
try {
|
|
3058
|
-
const response = await client.query({ query: GET_ORDER, variables });
|
|
3060
|
+
const response = await client.query({ query: GET_ORDER, variables: filteredVariables });
|
|
3059
3061
|
if (response.errors && response.errors.length > 0)
|
|
3060
3062
|
throw new Error(response.errors[0].message);
|
|
3061
3063
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getOrder) !== null && _b !== void 0 ? _b : null;
|
package/PerformanceMetric.js
CHANGED
|
@@ -2232,8 +2232,9 @@ exports.PerformanceMetric = {
|
|
|
2232
2232
|
id: props.id ? props.id : undefined,
|
|
2233
2233
|
}
|
|
2234
2234
|
};
|
|
2235
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2235
2236
|
try {
|
|
2236
|
-
const response = await client.mutate({ mutation: DELETE_ONE_PERFORMANCEMETRIC, variables });
|
|
2237
|
+
const response = await client.mutate({ mutation: DELETE_ONE_PERFORMANCEMETRIC, variables: filteredVariables });
|
|
2237
2238
|
if (response.errors && response.errors.length > 0)
|
|
2238
2239
|
throw new Error(response.errors[0].message);
|
|
2239
2240
|
if (response && response.data && response.data.deleteOnePerformanceMetric) {
|
|
@@ -2586,8 +2587,9 @@ exports.PerformanceMetric = {
|
|
|
2586
2587
|
} : undefined,
|
|
2587
2588
|
},
|
|
2588
2589
|
};
|
|
2590
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2589
2591
|
try {
|
|
2590
|
-
const response = await client.query({ query: GET_PERFORMANCEMETRIC, variables });
|
|
2592
|
+
const response = await client.query({ query: GET_PERFORMANCEMETRIC, variables: filteredVariables });
|
|
2591
2593
|
if (response.errors && response.errors.length > 0)
|
|
2592
2594
|
throw new Error(response.errors[0].message);
|
|
2593
2595
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getPerformanceMetric) !== null && _b !== void 0 ? _b : null;
|
package/RiskAllocation.js
CHANGED
|
@@ -2235,8 +2235,9 @@ exports.RiskAllocation = {
|
|
|
2235
2235
|
id: props.id ? props.id : undefined,
|
|
2236
2236
|
}
|
|
2237
2237
|
};
|
|
2238
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2238
2239
|
try {
|
|
2239
|
-
const response = await client.mutate({ mutation: DELETE_ONE_RISKALLOCATION, variables });
|
|
2240
|
+
const response = await client.mutate({ mutation: DELETE_ONE_RISKALLOCATION, variables: filteredVariables });
|
|
2240
2241
|
if (response.errors && response.errors.length > 0)
|
|
2241
2242
|
throw new Error(response.errors[0].message);
|
|
2242
2243
|
if (response && response.data && response.data.deleteOneRiskAllocation) {
|
|
@@ -2589,8 +2590,9 @@ exports.RiskAllocation = {
|
|
|
2589
2590
|
} : undefined,
|
|
2590
2591
|
},
|
|
2591
2592
|
};
|
|
2593
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2592
2594
|
try {
|
|
2593
|
-
const response = await client.query({ query: GET_RISKALLOCATION, variables });
|
|
2595
|
+
const response = await client.query({ query: GET_RISKALLOCATION, variables: filteredVariables });
|
|
2594
2596
|
if (response.errors && response.errors.length > 0)
|
|
2595
2597
|
throw new Error(response.errors[0].message);
|
|
2596
2598
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getRiskAllocation) !== null && _b !== void 0 ? _b : null;
|
package/Session.js
CHANGED
|
@@ -1735,8 +1735,9 @@ exports.Session = {
|
|
|
1735
1735
|
id: props.id ? props.id : undefined,
|
|
1736
1736
|
}
|
|
1737
1737
|
};
|
|
1738
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1738
1739
|
try {
|
|
1739
|
-
const response = await client.mutate({ mutation: DELETE_ONE_SESSION, variables });
|
|
1740
|
+
const response = await client.mutate({ mutation: DELETE_ONE_SESSION, variables: filteredVariables });
|
|
1740
1741
|
if (response.errors && response.errors.length > 0)
|
|
1741
1742
|
throw new Error(response.errors[0].message);
|
|
1742
1743
|
if (response && response.data && response.data.deleteOneSession) {
|
|
@@ -2089,8 +2090,9 @@ exports.Session = {
|
|
|
2089
2090
|
} : undefined,
|
|
2090
2091
|
},
|
|
2091
2092
|
};
|
|
2093
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2092
2094
|
try {
|
|
2093
|
-
const response = await client.query({ query: GET_SESSION, variables });
|
|
2095
|
+
const response = await client.query({ query: GET_SESSION, variables: filteredVariables });
|
|
2094
2096
|
if (response.errors && response.errors.length > 0)
|
|
2095
2097
|
throw new Error(response.errors[0].message);
|
|
2096
2098
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getSession) !== null && _b !== void 0 ? _b : null;
|
package/Trade.js
CHANGED
|
@@ -2776,8 +2776,9 @@ exports.Trade = {
|
|
|
2776
2776
|
id: props.id ? props.id : undefined,
|
|
2777
2777
|
}
|
|
2778
2778
|
};
|
|
2779
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2779
2780
|
try {
|
|
2780
|
-
const response = await client.mutate({ mutation: DELETE_ONE_TRADE, variables });
|
|
2781
|
+
const response = await client.mutate({ mutation: DELETE_ONE_TRADE, variables: filteredVariables });
|
|
2781
2782
|
if (response.errors && response.errors.length > 0)
|
|
2782
2783
|
throw new Error(response.errors[0].message);
|
|
2783
2784
|
if (response && response.data && response.data.deleteOneTrade) {
|
|
@@ -3130,8 +3131,9 @@ exports.Trade = {
|
|
|
3130
3131
|
} : undefined,
|
|
3131
3132
|
},
|
|
3132
3133
|
};
|
|
3134
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3133
3135
|
try {
|
|
3134
|
-
const response = await client.query({ query: GET_TRADE, variables });
|
|
3136
|
+
const response = await client.query({ query: GET_TRADE, variables: filteredVariables });
|
|
3135
3137
|
if (response.errors && response.errors.length > 0)
|
|
3136
3138
|
throw new Error(response.errors[0].message);
|
|
3137
3139
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTrade) !== null && _b !== void 0 ? _b : null;
|
package/TradeStep.js
CHANGED
|
@@ -1755,8 +1755,9 @@ exports.TradeStep = {
|
|
|
1755
1755
|
id: props.id ? props.id : undefined,
|
|
1756
1756
|
}
|
|
1757
1757
|
};
|
|
1758
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1758
1759
|
try {
|
|
1759
|
-
const response = await client.mutate({ mutation: DELETE_ONE_TRADESTEP, variables });
|
|
1760
|
+
const response = await client.mutate({ mutation: DELETE_ONE_TRADESTEP, variables: filteredVariables });
|
|
1760
1761
|
if (response.errors && response.errors.length > 0)
|
|
1761
1762
|
throw new Error(response.errors[0].message);
|
|
1762
1763
|
if (response && response.data && response.data.deleteOneTradeStep) {
|
|
@@ -2132,8 +2133,9 @@ exports.TradeStep = {
|
|
|
2132
2133
|
} : undefined,
|
|
2133
2134
|
},
|
|
2134
2135
|
};
|
|
2136
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
2135
2137
|
try {
|
|
2136
|
-
const response = await client.query({ query: GET_TRADESTEP, variables });
|
|
2138
|
+
const response = await client.query({ query: GET_TRADESTEP, variables: filteredVariables });
|
|
2137
2139
|
if (response.errors && response.errors.length > 0)
|
|
2138
2140
|
throw new Error(response.errors[0].message);
|
|
2139
2141
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTradeStep) !== null && _b !== void 0 ? _b : null;
|
package/TradingAccount.js
CHANGED
|
@@ -4169,8 +4169,9 @@ exports.TradingAccount = {
|
|
|
4169
4169
|
id: props.id ? props.id : undefined,
|
|
4170
4170
|
}
|
|
4171
4171
|
};
|
|
4172
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
4172
4173
|
try {
|
|
4173
|
-
const response = await client.mutate({ mutation: DELETE_ONE_TRADINGACCOUNT, variables });
|
|
4174
|
+
const response = await client.mutate({ mutation: DELETE_ONE_TRADINGACCOUNT, variables: filteredVariables });
|
|
4174
4175
|
if (response.errors && response.errors.length > 0)
|
|
4175
4176
|
throw new Error(response.errors[0].message);
|
|
4176
4177
|
if (response && response.data && response.data.deleteOneTradingAccount) {
|
|
@@ -4550,8 +4551,9 @@ exports.TradingAccount = {
|
|
|
4550
4551
|
} : undefined,
|
|
4551
4552
|
},
|
|
4552
4553
|
};
|
|
4554
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
4553
4555
|
try {
|
|
4554
|
-
const response = await client.query({ query: GET_TRADINGACCOUNT, variables });
|
|
4556
|
+
const response = await client.query({ query: GET_TRADINGACCOUNT, variables: filteredVariables });
|
|
4555
4557
|
if (response.errors && response.errors.length > 0)
|
|
4556
4558
|
throw new Error(response.errors[0].message);
|
|
4557
4559
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTradingAccount) !== null && _b !== void 0 ? _b : null;
|
package/User.js
CHANGED
|
@@ -3603,8 +3603,9 @@ exports.User = {
|
|
|
3603
3603
|
id: props.id ? props.id : undefined,
|
|
3604
3604
|
}
|
|
3605
3605
|
};
|
|
3606
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3606
3607
|
try {
|
|
3607
|
-
const response = await client.mutate({ mutation: DELETE_ONE_USER, variables });
|
|
3608
|
+
const response = await client.mutate({ mutation: DELETE_ONE_USER, variables: filteredVariables });
|
|
3608
3609
|
if (response.errors && response.errors.length > 0)
|
|
3609
3610
|
throw new Error(response.errors[0].message);
|
|
3610
3611
|
if (response && response.data && response.data.deleteOneUser) {
|
|
@@ -3995,8 +3996,9 @@ exports.User = {
|
|
|
3995
3996
|
} : undefined,
|
|
3996
3997
|
},
|
|
3997
3998
|
};
|
|
3999
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3998
4000
|
try {
|
|
3999
|
-
const response = await client.query({ query: GET_USER, variables });
|
|
4001
|
+
const response = await client.query({ query: GET_USER, variables: filteredVariables });
|
|
4000
4002
|
if (response.errors && response.errors.length > 0)
|
|
4001
4003
|
throw new Error(response.errors[0].message);
|
|
4002
4004
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getUser) !== null && _b !== void 0 ? _b : null;
|
package/VerificationToken.js
CHANGED
|
@@ -145,8 +145,9 @@ exports.VerificationToken = {
|
|
|
145
145
|
id: props.id ? props.id : undefined,
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
148
149
|
try {
|
|
149
|
-
const response = await client.mutate({ mutation: DELETE_ONE_VERIFICATIONTOKEN, variables });
|
|
150
|
+
const response = await client.mutate({ mutation: DELETE_ONE_VERIFICATIONTOKEN, variables: filteredVariables });
|
|
150
151
|
if (response.errors && response.errors.length > 0)
|
|
151
152
|
throw new Error(response.errors[0].message);
|
|
152
153
|
if (response && response.data && response.data.deleteOneVerificationToken) {
|
|
@@ -185,8 +186,9 @@ exports.VerificationToken = {
|
|
|
185
186
|
} : undefined,
|
|
186
187
|
},
|
|
187
188
|
};
|
|
189
|
+
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
188
190
|
try {
|
|
189
|
-
const response = await client.query({ query: GET_VERIFICATIONTOKEN, variables });
|
|
191
|
+
const response = await client.query({ query: GET_VERIFICATIONTOKEN, variables: filteredVariables });
|
|
190
192
|
if (response.errors && response.errors.length > 0)
|
|
191
193
|
throw new Error(response.errors[0].message);
|
|
192
194
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getVerificationToken) !== null && _b !== void 0 ? _b : null;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIRecommendation.d.ts","sourceRoot":"","sources":["../../src/AIRecommendation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAClH,OAAO,EAAE,YAAY,EAAO,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG1E;;GAEG;AAEH,eAAO,MAAM,gBAAgB;IAC3B;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgvBrH;;;;;OAKG;sBACqB,oBAAoB,EAAE,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAkC/H;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgkDrH;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"AIRecommendation.d.ts","sourceRoot":"","sources":["../../src/AIRecommendation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAClH,OAAO,EAAE,YAAY,EAAO,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG1E;;GAEG;AAEH,eAAO,MAAM,gBAAgB;IAC3B;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgvBrH;;;;;OAKG;sBACqB,oBAAoB,EAAE,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAkC/H;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgkDrH;;;;;OAKG;kBACiB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA2VrH;;;;;OAKG;eACc,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAwVlH;;;;OAIG;mBACkB,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,EAAE,GAAG,IAAI,CAAC;IA+UjG;;;;;OAKG;oBACmB,oBAAoB,UAAU,YAAY,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;CA4V1H,CAAC"}
|