adaptic-backend 1.0.29 → 1.0.31
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.d.ts +2 -2
- package/AIRecommendation.js +21 -6
- package/Account.d.ts +2 -2
- package/Account.js +21 -6
- package/Alert.d.ts +2 -2
- package/Alert.js +21 -6
- package/Asset.d.ts +2 -2
- package/Asset.js +21 -6
- package/Authenticator.d.ts +2 -2
- package/Authenticator.js +21 -6
- package/Customer.d.ts +2 -2
- package/Customer.js +21 -6
- package/EconomicEvent.d.ts +2 -2
- package/EconomicEvent.js +21 -6
- package/EnvironmentVariable.d.ts +2 -2
- package/EnvironmentVariable.js +21 -6
- package/Holding.d.ts +2 -2
- package/Holding.js +21 -6
- package/NewsArticle.d.ts +2 -2
- package/NewsArticle.js +21 -6
- package/NewsArticleAssetSentiment.d.ts +2 -2
- package/NewsArticleAssetSentiment.js +21 -6
- package/Order.d.ts +2 -2
- package/Order.js +21 -6
- package/PerformanceMetric.d.ts +2 -2
- package/PerformanceMetric.js +21 -6
- package/RiskAllocation.d.ts +2 -2
- package/RiskAllocation.js +21 -6
- package/Session.d.ts +2 -2
- package/Session.js +21 -6
- package/Trade.d.ts +2 -2
- package/Trade.js +21 -6
- package/TradeStep.d.ts +2 -2
- package/TradeStep.js +21 -6
- package/TradingAccount.d.ts +2 -2
- package/TradingAccount.js +21 -6
- package/User.d.ts +2 -2
- package/User.js +21 -6
- package/VerificationToken.d.ts +2 -2
- package/VerificationToken.js +21 -6
- package/index.d.ts +41 -41
- package/index.js +0 -25
- package/package.json +1 -1
- package/server/AIRecommendation.d.ts +2 -2
- package/server/AIRecommendation.d.ts.map +1 -1
- package/server/AIRecommendation.js.map +1 -1
- package/server/AIRecommendation.mjs +22 -7
- package/server/Account.d.ts +2 -2
- package/server/Account.d.ts.map +1 -1
- package/server/Account.js.map +1 -1
- package/server/Account.mjs +22 -7
- package/server/Alert.d.ts +2 -2
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +22 -7
- package/server/Asset.d.ts +2 -2
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +22 -7
- package/server/Authenticator.d.ts +2 -2
- package/server/Authenticator.d.ts.map +1 -1
- package/server/Authenticator.js.map +1 -1
- package/server/Authenticator.mjs +22 -7
- package/server/Customer.d.ts +2 -2
- package/server/Customer.d.ts.map +1 -1
- package/server/Customer.js.map +1 -1
- package/server/Customer.mjs +22 -7
- package/server/EconomicEvent.d.ts +2 -2
- package/server/EconomicEvent.d.ts.map +1 -1
- package/server/EconomicEvent.js.map +1 -1
- package/server/EconomicEvent.mjs +22 -7
- package/server/EnvironmentVariable.d.ts +2 -2
- package/server/EnvironmentVariable.d.ts.map +1 -1
- package/server/EnvironmentVariable.js.map +1 -1
- package/server/EnvironmentVariable.mjs +22 -7
- package/server/Holding.d.ts +2 -2
- package/server/Holding.d.ts.map +1 -1
- package/server/Holding.js.map +1 -1
- package/server/Holding.mjs +22 -7
- package/server/NewsArticle.d.ts +2 -2
- package/server/NewsArticle.d.ts.map +1 -1
- package/server/NewsArticle.js.map +1 -1
- package/server/NewsArticle.mjs +22 -7
- package/server/NewsArticleAssetSentiment.d.ts +2 -2
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +22 -7
- package/server/Order.d.ts +2 -2
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +22 -7
- package/server/PerformanceMetric.d.ts +2 -2
- package/server/PerformanceMetric.d.ts.map +1 -1
- package/server/PerformanceMetric.js.map +1 -1
- package/server/PerformanceMetric.mjs +22 -7
- package/server/RiskAllocation.d.ts +2 -2
- package/server/RiskAllocation.d.ts.map +1 -1
- package/server/RiskAllocation.js.map +1 -1
- package/server/RiskAllocation.mjs +22 -7
- package/server/Session.d.ts +2 -2
- package/server/Session.d.ts.map +1 -1
- package/server/Session.js.map +1 -1
- package/server/Session.mjs +22 -7
- package/server/Trade.d.ts +2 -2
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +22 -7
- package/server/TradeStep.d.ts +2 -2
- package/server/TradeStep.d.ts.map +1 -1
- package/server/TradeStep.js.map +1 -1
- package/server/TradeStep.mjs +22 -7
- package/server/TradingAccount.d.ts +2 -2
- package/server/TradingAccount.d.ts.map +1 -1
- package/server/TradingAccount.js.map +1 -1
- package/server/TradingAccount.mjs +22 -7
- package/server/User.d.ts +2 -2
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +22 -7
- package/server/VerificationToken.d.ts +2 -2
- package/server/VerificationToken.d.ts.map +1 -1
- package/server/VerificationToken.js.map +1 -1
- package/server/VerificationToken.mjs +22 -7
- package/server/index.d.ts +41 -41
- package/server/index.d.ts.map +1 -1
- package/server/index.js.map +1 -1
- package/server/index.mjs +0 -1
package/NewsArticle.js
CHANGED
|
@@ -1308,8 +1308,13 @@ exports.NewsArticle = {
|
|
|
1308
1308
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getNewsArticle) !== null && _b !== void 0 ? _b : null;
|
|
1309
1309
|
}
|
|
1310
1310
|
catch (error) {
|
|
1311
|
-
|
|
1312
|
-
|
|
1311
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticle found') {
|
|
1312
|
+
return null;
|
|
1313
|
+
}
|
|
1314
|
+
else {
|
|
1315
|
+
console.error('Error in getNewsArticle:', error);
|
|
1316
|
+
throw error;
|
|
1317
|
+
}
|
|
1313
1318
|
}
|
|
1314
1319
|
},
|
|
1315
1320
|
/**
|
|
@@ -1502,8 +1507,13 @@ exports.NewsArticle = {
|
|
|
1502
1507
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.newsArticles) !== null && _b !== void 0 ? _b : null;
|
|
1503
1508
|
}
|
|
1504
1509
|
catch (error) {
|
|
1505
|
-
|
|
1506
|
-
|
|
1510
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticle found') {
|
|
1511
|
+
return null;
|
|
1512
|
+
}
|
|
1513
|
+
else {
|
|
1514
|
+
console.error('Error in getNewsArticle:', error);
|
|
1515
|
+
throw error;
|
|
1516
|
+
}
|
|
1507
1517
|
}
|
|
1508
1518
|
},
|
|
1509
1519
|
/**
|
|
@@ -1715,8 +1725,13 @@ exports.NewsArticle = {
|
|
|
1715
1725
|
}
|
|
1716
1726
|
}
|
|
1717
1727
|
catch (error) {
|
|
1718
|
-
|
|
1719
|
-
|
|
1728
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticle found') {
|
|
1729
|
+
return null;
|
|
1730
|
+
}
|
|
1731
|
+
else {
|
|
1732
|
+
console.error('Error in getNewsArticle:', error);
|
|
1733
|
+
throw error;
|
|
1734
|
+
}
|
|
1720
1735
|
}
|
|
1721
1736
|
}
|
|
1722
1737
|
};
|
|
@@ -40,7 +40,7 @@ export declare const NewsArticleAssetSentiment: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved NewsArticleAssetSentiment or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: NewsArticleAssetSentimentType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleAssetSentimentType>;
|
|
43
|
+
get(props: NewsArticleAssetSentimentType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleAssetSentimentType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all NewsArticleAssetSentiments records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const NewsArticleAssetSentiment: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found NewsArticleAssetSentiment records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: NewsArticleAssetSentimentType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleAssetSentimentType[]>;
|
|
56
|
+
findMany(props: NewsArticleAssetSentimentType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleAssetSentimentType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=NewsArticleAssetSentiment.d.ts.map
|
|
@@ -1862,8 +1862,13 @@ exports.NewsArticleAssetSentiment = {
|
|
|
1862
1862
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getNewsArticleAssetSentiment) !== null && _b !== void 0 ? _b : null;
|
|
1863
1863
|
}
|
|
1864
1864
|
catch (error) {
|
|
1865
|
-
|
|
1866
|
-
|
|
1865
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticleAssetSentiment found') {
|
|
1866
|
+
return null;
|
|
1867
|
+
}
|
|
1868
|
+
else {
|
|
1869
|
+
console.error('Error in getNewsArticleAssetSentiment:', error);
|
|
1870
|
+
throw error;
|
|
1871
|
+
}
|
|
1867
1872
|
}
|
|
1868
1873
|
},
|
|
1869
1874
|
/**
|
|
@@ -2153,8 +2158,13 @@ exports.NewsArticleAssetSentiment = {
|
|
|
2153
2158
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.newsArticleAssetSentiments) !== null && _b !== void 0 ? _b : null;
|
|
2154
2159
|
}
|
|
2155
2160
|
catch (error) {
|
|
2156
|
-
|
|
2157
|
-
|
|
2161
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticleAssetSentiment found') {
|
|
2162
|
+
return null;
|
|
2163
|
+
}
|
|
2164
|
+
else {
|
|
2165
|
+
console.error('Error in getNewsArticleAssetSentiment:', error);
|
|
2166
|
+
throw error;
|
|
2167
|
+
}
|
|
2158
2168
|
}
|
|
2159
2169
|
},
|
|
2160
2170
|
/**
|
|
@@ -2460,8 +2470,13 @@ exports.NewsArticleAssetSentiment = {
|
|
|
2460
2470
|
}
|
|
2461
2471
|
}
|
|
2462
2472
|
catch (error) {
|
|
2463
|
-
|
|
2464
|
-
|
|
2473
|
+
if (error instanceof client_1.ApolloError && error.message === 'No NewsArticleAssetSentiment found') {
|
|
2474
|
+
return null;
|
|
2475
|
+
}
|
|
2476
|
+
else {
|
|
2477
|
+
console.error('Error in getNewsArticleAssetSentiment:', error);
|
|
2478
|
+
throw error;
|
|
2479
|
+
}
|
|
2465
2480
|
}
|
|
2466
2481
|
}
|
|
2467
2482
|
};
|
package/Order.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Order: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Order or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: OrderType, client: ApolloClient<NormalizedCacheObject>): Promise<OrderType>;
|
|
43
|
+
get(props: OrderType, client: ApolloClient<NormalizedCacheObject>): Promise<OrderType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Orders records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Order: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Order records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: OrderType, client: ApolloClient<NormalizedCacheObject>): Promise<OrderType[]>;
|
|
56
|
+
findMany(props: OrderType, client: ApolloClient<NormalizedCacheObject>): Promise<OrderType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Order.d.ts.map
|
package/Order.js
CHANGED
|
@@ -3031,8 +3031,13 @@ exports.Order = {
|
|
|
3031
3031
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getOrder) !== null && _b !== void 0 ? _b : null;
|
|
3032
3032
|
}
|
|
3033
3033
|
catch (error) {
|
|
3034
|
-
|
|
3035
|
-
|
|
3034
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Order found') {
|
|
3035
|
+
return null;
|
|
3036
|
+
}
|
|
3037
|
+
else {
|
|
3038
|
+
console.error('Error in getOrder:', error);
|
|
3039
|
+
throw error;
|
|
3040
|
+
}
|
|
3036
3041
|
}
|
|
3037
3042
|
},
|
|
3038
3043
|
/**
|
|
@@ -3362,8 +3367,13 @@ exports.Order = {
|
|
|
3362
3367
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.orders) !== null && _b !== void 0 ? _b : null;
|
|
3363
3368
|
}
|
|
3364
3369
|
catch (error) {
|
|
3365
|
-
|
|
3366
|
-
|
|
3370
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Order found') {
|
|
3371
|
+
return null;
|
|
3372
|
+
}
|
|
3373
|
+
else {
|
|
3374
|
+
console.error('Error in getOrder:', error);
|
|
3375
|
+
throw error;
|
|
3376
|
+
}
|
|
3367
3377
|
}
|
|
3368
3378
|
},
|
|
3369
3379
|
/**
|
|
@@ -3706,8 +3716,13 @@ exports.Order = {
|
|
|
3706
3716
|
}
|
|
3707
3717
|
}
|
|
3708
3718
|
catch (error) {
|
|
3709
|
-
|
|
3710
|
-
|
|
3719
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Order found') {
|
|
3720
|
+
return null;
|
|
3721
|
+
}
|
|
3722
|
+
else {
|
|
3723
|
+
console.error('Error in getOrder:', error);
|
|
3724
|
+
throw error;
|
|
3725
|
+
}
|
|
3711
3726
|
}
|
|
3712
3727
|
}
|
|
3713
3728
|
};
|
package/PerformanceMetric.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const PerformanceMetric: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved PerformanceMetric or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: PerformanceMetricType, client: ApolloClient<NormalizedCacheObject>): Promise<PerformanceMetricType>;
|
|
43
|
+
get(props: PerformanceMetricType, client: ApolloClient<NormalizedCacheObject>): Promise<PerformanceMetricType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all PerformanceMetrics records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const PerformanceMetric: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found PerformanceMetric records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: PerformanceMetricType, client: ApolloClient<NormalizedCacheObject>): Promise<PerformanceMetricType[]>;
|
|
56
|
+
findMany(props: PerformanceMetricType, client: ApolloClient<NormalizedCacheObject>): Promise<PerformanceMetricType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=PerformanceMetric.d.ts.map
|
package/PerformanceMetric.js
CHANGED
|
@@ -2553,8 +2553,13 @@ exports.PerformanceMetric = {
|
|
|
2553
2553
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getPerformanceMetric) !== null && _b !== void 0 ? _b : null;
|
|
2554
2554
|
}
|
|
2555
2555
|
catch (error) {
|
|
2556
|
-
|
|
2557
|
-
|
|
2556
|
+
if (error instanceof client_1.ApolloError && error.message === 'No PerformanceMetric found') {
|
|
2557
|
+
return null;
|
|
2558
|
+
}
|
|
2559
|
+
else {
|
|
2560
|
+
console.error('Error in getPerformanceMetric:', error);
|
|
2561
|
+
throw error;
|
|
2562
|
+
}
|
|
2558
2563
|
}
|
|
2559
2564
|
},
|
|
2560
2565
|
/**
|
|
@@ -2884,8 +2889,13 @@ exports.PerformanceMetric = {
|
|
|
2884
2889
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.performanceMetrics) !== null && _b !== void 0 ? _b : null;
|
|
2885
2890
|
}
|
|
2886
2891
|
catch (error) {
|
|
2887
|
-
|
|
2888
|
-
|
|
2892
|
+
if (error instanceof client_1.ApolloError && error.message === 'No PerformanceMetric found') {
|
|
2893
|
+
return null;
|
|
2894
|
+
}
|
|
2895
|
+
else {
|
|
2896
|
+
console.error('Error in getPerformanceMetric:', error);
|
|
2897
|
+
throw error;
|
|
2898
|
+
}
|
|
2889
2899
|
}
|
|
2890
2900
|
},
|
|
2891
2901
|
/**
|
|
@@ -3228,8 +3238,13 @@ exports.PerformanceMetric = {
|
|
|
3228
3238
|
}
|
|
3229
3239
|
}
|
|
3230
3240
|
catch (error) {
|
|
3231
|
-
|
|
3232
|
-
|
|
3241
|
+
if (error instanceof client_1.ApolloError && error.message === 'No PerformanceMetric found') {
|
|
3242
|
+
return null;
|
|
3243
|
+
}
|
|
3244
|
+
else {
|
|
3245
|
+
console.error('Error in getPerformanceMetric:', error);
|
|
3246
|
+
throw error;
|
|
3247
|
+
}
|
|
3233
3248
|
}
|
|
3234
3249
|
}
|
|
3235
3250
|
};
|
package/RiskAllocation.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const RiskAllocation: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved RiskAllocation or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: RiskAllocationType, client: ApolloClient<NormalizedCacheObject>): Promise<RiskAllocationType>;
|
|
43
|
+
get(props: RiskAllocationType, client: ApolloClient<NormalizedCacheObject>): Promise<RiskAllocationType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all RiskAllocations records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const RiskAllocation: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found RiskAllocation records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: RiskAllocationType, client: ApolloClient<NormalizedCacheObject>): Promise<RiskAllocationType[]>;
|
|
56
|
+
findMany(props: RiskAllocationType, client: ApolloClient<NormalizedCacheObject>): Promise<RiskAllocationType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=RiskAllocation.d.ts.map
|
package/RiskAllocation.js
CHANGED
|
@@ -2556,8 +2556,13 @@ exports.RiskAllocation = {
|
|
|
2556
2556
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getRiskAllocation) !== null && _b !== void 0 ? _b : null;
|
|
2557
2557
|
}
|
|
2558
2558
|
catch (error) {
|
|
2559
|
-
|
|
2560
|
-
|
|
2559
|
+
if (error instanceof client_1.ApolloError && error.message === 'No RiskAllocation found') {
|
|
2560
|
+
return null;
|
|
2561
|
+
}
|
|
2562
|
+
else {
|
|
2563
|
+
console.error('Error in getRiskAllocation:', error);
|
|
2564
|
+
throw error;
|
|
2565
|
+
}
|
|
2561
2566
|
}
|
|
2562
2567
|
},
|
|
2563
2568
|
/**
|
|
@@ -2887,8 +2892,13 @@ exports.RiskAllocation = {
|
|
|
2887
2892
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.riskAllocations) !== null && _b !== void 0 ? _b : null;
|
|
2888
2893
|
}
|
|
2889
2894
|
catch (error) {
|
|
2890
|
-
|
|
2891
|
-
|
|
2895
|
+
if (error instanceof client_1.ApolloError && error.message === 'No RiskAllocation found') {
|
|
2896
|
+
return null;
|
|
2897
|
+
}
|
|
2898
|
+
else {
|
|
2899
|
+
console.error('Error in getRiskAllocation:', error);
|
|
2900
|
+
throw error;
|
|
2901
|
+
}
|
|
2892
2902
|
}
|
|
2893
2903
|
},
|
|
2894
2904
|
/**
|
|
@@ -3231,8 +3241,13 @@ exports.RiskAllocation = {
|
|
|
3231
3241
|
}
|
|
3232
3242
|
}
|
|
3233
3243
|
catch (error) {
|
|
3234
|
-
|
|
3235
|
-
|
|
3244
|
+
if (error instanceof client_1.ApolloError && error.message === 'No RiskAllocation found') {
|
|
3245
|
+
return null;
|
|
3246
|
+
}
|
|
3247
|
+
else {
|
|
3248
|
+
console.error('Error in getRiskAllocation:', error);
|
|
3249
|
+
throw error;
|
|
3250
|
+
}
|
|
3236
3251
|
}
|
|
3237
3252
|
}
|
|
3238
3253
|
};
|
package/Session.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Session: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Session or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: SessionType, client: ApolloClient<NormalizedCacheObject>): Promise<SessionType>;
|
|
43
|
+
get(props: SessionType, client: ApolloClient<NormalizedCacheObject>): Promise<SessionType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Sessions records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Session: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Session records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: SessionType, client: ApolloClient<NormalizedCacheObject>): Promise<SessionType[]>;
|
|
56
|
+
findMany(props: SessionType, client: ApolloClient<NormalizedCacheObject>): Promise<SessionType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Session.d.ts.map
|
package/Session.js
CHANGED
|
@@ -2056,8 +2056,13 @@ exports.Session = {
|
|
|
2056
2056
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getSession) !== null && _b !== void 0 ? _b : null;
|
|
2057
2057
|
}
|
|
2058
2058
|
catch (error) {
|
|
2059
|
-
|
|
2060
|
-
|
|
2059
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Session found') {
|
|
2060
|
+
return null;
|
|
2061
|
+
}
|
|
2062
|
+
else {
|
|
2063
|
+
console.error('Error in getSession:', error);
|
|
2064
|
+
throw error;
|
|
2065
|
+
}
|
|
2061
2066
|
}
|
|
2062
2067
|
},
|
|
2063
2068
|
/**
|
|
@@ -2387,8 +2392,13 @@ exports.Session = {
|
|
|
2387
2392
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.sessions) !== null && _b !== void 0 ? _b : null;
|
|
2388
2393
|
}
|
|
2389
2394
|
catch (error) {
|
|
2390
|
-
|
|
2391
|
-
|
|
2395
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Session found') {
|
|
2396
|
+
return null;
|
|
2397
|
+
}
|
|
2398
|
+
else {
|
|
2399
|
+
console.error('Error in getSession:', error);
|
|
2400
|
+
throw error;
|
|
2401
|
+
}
|
|
2392
2402
|
}
|
|
2393
2403
|
},
|
|
2394
2404
|
/**
|
|
@@ -2731,8 +2741,13 @@ exports.Session = {
|
|
|
2731
2741
|
}
|
|
2732
2742
|
}
|
|
2733
2743
|
catch (error) {
|
|
2734
|
-
|
|
2735
|
-
|
|
2744
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Session found') {
|
|
2745
|
+
return null;
|
|
2746
|
+
}
|
|
2747
|
+
else {
|
|
2748
|
+
console.error('Error in getSession:', error);
|
|
2749
|
+
throw error;
|
|
2750
|
+
}
|
|
2736
2751
|
}
|
|
2737
2752
|
}
|
|
2738
2753
|
};
|
package/Trade.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Trade: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Trade or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: TradeType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeType>;
|
|
43
|
+
get(props: TradeType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Trades records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Trade: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Trade records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: TradeType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeType[]>;
|
|
56
|
+
findMany(props: TradeType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Trade.d.ts.map
|
package/Trade.js
CHANGED
|
@@ -3107,8 +3107,13 @@ exports.Trade = {
|
|
|
3107
3107
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTrade) !== null && _b !== void 0 ? _b : null;
|
|
3108
3108
|
}
|
|
3109
3109
|
catch (error) {
|
|
3110
|
-
|
|
3111
|
-
|
|
3110
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Trade found') {
|
|
3111
|
+
return null;
|
|
3112
|
+
}
|
|
3113
|
+
else {
|
|
3114
|
+
console.error('Error in getTrade:', error);
|
|
3115
|
+
throw error;
|
|
3116
|
+
}
|
|
3112
3117
|
}
|
|
3113
3118
|
},
|
|
3114
3119
|
/**
|
|
@@ -3438,8 +3443,13 @@ exports.Trade = {
|
|
|
3438
3443
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.trades) !== null && _b !== void 0 ? _b : null;
|
|
3439
3444
|
}
|
|
3440
3445
|
catch (error) {
|
|
3441
|
-
|
|
3442
|
-
|
|
3446
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Trade found') {
|
|
3447
|
+
return null;
|
|
3448
|
+
}
|
|
3449
|
+
else {
|
|
3450
|
+
console.error('Error in getTrade:', error);
|
|
3451
|
+
throw error;
|
|
3452
|
+
}
|
|
3443
3453
|
}
|
|
3444
3454
|
},
|
|
3445
3455
|
/**
|
|
@@ -3782,8 +3792,13 @@ exports.Trade = {
|
|
|
3782
3792
|
}
|
|
3783
3793
|
}
|
|
3784
3794
|
catch (error) {
|
|
3785
|
-
|
|
3786
|
-
|
|
3795
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Trade found') {
|
|
3796
|
+
return null;
|
|
3797
|
+
}
|
|
3798
|
+
else {
|
|
3799
|
+
console.error('Error in getTrade:', error);
|
|
3800
|
+
throw error;
|
|
3801
|
+
}
|
|
3787
3802
|
}
|
|
3788
3803
|
}
|
|
3789
3804
|
};
|
package/TradeStep.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const TradeStep: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved TradeStep or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: TradeStepType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeStepType>;
|
|
43
|
+
get(props: TradeStepType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeStepType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all TradeSteps records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const TradeStep: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found TradeStep records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: TradeStepType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeStepType[]>;
|
|
56
|
+
findMany(props: TradeStepType, client: ApolloClient<NormalizedCacheObject>): Promise<TradeStepType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=TradeStep.d.ts.map
|
package/TradeStep.js
CHANGED
|
@@ -2118,8 +2118,13 @@ exports.TradeStep = {
|
|
|
2118
2118
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTradeStep) !== null && _b !== void 0 ? _b : null;
|
|
2119
2119
|
}
|
|
2120
2120
|
catch (error) {
|
|
2121
|
-
|
|
2122
|
-
|
|
2121
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradeStep found') {
|
|
2122
|
+
return null;
|
|
2123
|
+
}
|
|
2124
|
+
else {
|
|
2125
|
+
console.error('Error in getTradeStep:', error);
|
|
2126
|
+
throw error;
|
|
2127
|
+
}
|
|
2123
2128
|
}
|
|
2124
2129
|
},
|
|
2125
2130
|
/**
|
|
@@ -2473,8 +2478,13 @@ exports.TradeStep = {
|
|
|
2473
2478
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.tradeSteps) !== null && _b !== void 0 ? _b : null;
|
|
2474
2479
|
}
|
|
2475
2480
|
catch (error) {
|
|
2476
|
-
|
|
2477
|
-
|
|
2481
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradeStep found') {
|
|
2482
|
+
return null;
|
|
2483
|
+
}
|
|
2484
|
+
else {
|
|
2485
|
+
console.error('Error in getTradeStep:', error);
|
|
2486
|
+
throw error;
|
|
2487
|
+
}
|
|
2478
2488
|
}
|
|
2479
2489
|
},
|
|
2480
2490
|
/**
|
|
@@ -2841,8 +2851,13 @@ exports.TradeStep = {
|
|
|
2841
2851
|
}
|
|
2842
2852
|
}
|
|
2843
2853
|
catch (error) {
|
|
2844
|
-
|
|
2845
|
-
|
|
2854
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradeStep found') {
|
|
2855
|
+
return null;
|
|
2856
|
+
}
|
|
2857
|
+
else {
|
|
2858
|
+
console.error('Error in getTradeStep:', error);
|
|
2859
|
+
throw error;
|
|
2860
|
+
}
|
|
2846
2861
|
}
|
|
2847
2862
|
}
|
|
2848
2863
|
};
|
package/TradingAccount.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const TradingAccount: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved TradingAccount or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: TradingAccountType, client: ApolloClient<NormalizedCacheObject>): Promise<TradingAccountType>;
|
|
43
|
+
get(props: TradingAccountType, client: ApolloClient<NormalizedCacheObject>): Promise<TradingAccountType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all TradingAccounts records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const TradingAccount: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found TradingAccount records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: TradingAccountType, client: ApolloClient<NormalizedCacheObject>): Promise<TradingAccountType[]>;
|
|
56
|
+
findMany(props: TradingAccountType, client: ApolloClient<NormalizedCacheObject>): Promise<TradingAccountType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=TradingAccount.d.ts.map
|
package/TradingAccount.js
CHANGED
|
@@ -4575,8 +4575,13 @@ exports.TradingAccount = {
|
|
|
4575
4575
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getTradingAccount) !== null && _b !== void 0 ? _b : null;
|
|
4576
4576
|
}
|
|
4577
4577
|
catch (error) {
|
|
4578
|
-
|
|
4579
|
-
|
|
4578
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradingAccount found') {
|
|
4579
|
+
return null;
|
|
4580
|
+
}
|
|
4581
|
+
else {
|
|
4582
|
+
console.error('Error in getTradingAccount:', error);
|
|
4583
|
+
throw error;
|
|
4584
|
+
}
|
|
4580
4585
|
}
|
|
4581
4586
|
},
|
|
4582
4587
|
/**
|
|
@@ -4927,8 +4932,13 @@ exports.TradingAccount = {
|
|
|
4927
4932
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.tradingAccounts) !== null && _b !== void 0 ? _b : null;
|
|
4928
4933
|
}
|
|
4929
4934
|
catch (error) {
|
|
4930
|
-
|
|
4931
|
-
|
|
4935
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradingAccount found') {
|
|
4936
|
+
return null;
|
|
4937
|
+
}
|
|
4938
|
+
else {
|
|
4939
|
+
console.error('Error in getTradingAccount:', error);
|
|
4940
|
+
throw error;
|
|
4941
|
+
}
|
|
4932
4942
|
}
|
|
4933
4943
|
},
|
|
4934
4944
|
/**
|
|
@@ -5298,8 +5308,13 @@ exports.TradingAccount = {
|
|
|
5298
5308
|
}
|
|
5299
5309
|
}
|
|
5300
5310
|
catch (error) {
|
|
5301
|
-
|
|
5302
|
-
|
|
5311
|
+
if (error instanceof client_1.ApolloError && error.message === 'No TradingAccount found') {
|
|
5312
|
+
return null;
|
|
5313
|
+
}
|
|
5314
|
+
else {
|
|
5315
|
+
console.error('Error in getTradingAccount:', error);
|
|
5316
|
+
throw error;
|
|
5317
|
+
}
|
|
5303
5318
|
}
|
|
5304
5319
|
}
|
|
5305
5320
|
};
|
package/User.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const User: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved User or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: UserType, client: ApolloClient<NormalizedCacheObject>): Promise<UserType>;
|
|
43
|
+
get(props: UserType, client: ApolloClient<NormalizedCacheObject>): Promise<UserType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Users records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const User: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found User records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: UserType, client: ApolloClient<NormalizedCacheObject>): Promise<UserType[]>;
|
|
56
|
+
findMany(props: UserType, client: ApolloClient<NormalizedCacheObject>): Promise<UserType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=User.d.ts.map
|
package/User.js
CHANGED
|
@@ -4009,8 +4009,13 @@ exports.User = {
|
|
|
4009
4009
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getUser) !== null && _b !== void 0 ? _b : null;
|
|
4010
4010
|
}
|
|
4011
4011
|
catch (error) {
|
|
4012
|
-
|
|
4013
|
-
|
|
4012
|
+
if (error instanceof client_1.ApolloError && error.message === 'No User found') {
|
|
4013
|
+
return null;
|
|
4014
|
+
}
|
|
4015
|
+
else {
|
|
4016
|
+
console.error('Error in getUser:', error);
|
|
4017
|
+
throw error;
|
|
4018
|
+
}
|
|
4014
4019
|
}
|
|
4015
4020
|
},
|
|
4016
4021
|
/**
|
|
@@ -4373,8 +4378,13 @@ exports.User = {
|
|
|
4373
4378
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.users) !== null && _b !== void 0 ? _b : null;
|
|
4374
4379
|
}
|
|
4375
4380
|
catch (error) {
|
|
4376
|
-
|
|
4377
|
-
|
|
4381
|
+
if (error instanceof client_1.ApolloError && error.message === 'No User found') {
|
|
4382
|
+
return null;
|
|
4383
|
+
}
|
|
4384
|
+
else {
|
|
4385
|
+
console.error('Error in getUser:', error);
|
|
4386
|
+
throw error;
|
|
4387
|
+
}
|
|
4378
4388
|
}
|
|
4379
4389
|
},
|
|
4380
4390
|
/**
|
|
@@ -4756,8 +4766,13 @@ exports.User = {
|
|
|
4756
4766
|
}
|
|
4757
4767
|
}
|
|
4758
4768
|
catch (error) {
|
|
4759
|
-
|
|
4760
|
-
|
|
4769
|
+
if (error instanceof client_1.ApolloError && error.message === 'No User found') {
|
|
4770
|
+
return null;
|
|
4771
|
+
}
|
|
4772
|
+
else {
|
|
4773
|
+
console.error('Error in getUser:', error);
|
|
4774
|
+
throw error;
|
|
4775
|
+
}
|
|
4761
4776
|
}
|
|
4762
4777
|
}
|
|
4763
4778
|
};
|