adaptic-backend 1.0.30 → 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 +40 -40
- 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 +40 -40
package/AIRecommendation.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const AIRecommendation: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved AIRecommendation or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: AIRecommendationType, client: ApolloClient<NormalizedCacheObject>): Promise<AIRecommendationType>;
|
|
43
|
+
get(props: AIRecommendationType, client: ApolloClient<NormalizedCacheObject>): Promise<AIRecommendationType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all AIRecommendations records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const AIRecommendation: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found AIRecommendation records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: AIRecommendationType, client: ApolloClient<NormalizedCacheObject>): Promise<AIRecommendationType[]>;
|
|
56
|
+
findMany(props: AIRecommendationType, client: ApolloClient<NormalizedCacheObject>): Promise<AIRecommendationType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=AIRecommendation.d.ts.map
|
package/AIRecommendation.js
CHANGED
|
@@ -3073,8 +3073,13 @@ exports.AIRecommendation = {
|
|
|
3073
3073
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAIRecommendation) !== null && _b !== void 0 ? _b : null;
|
|
3074
3074
|
}
|
|
3075
3075
|
catch (error) {
|
|
3076
|
-
|
|
3077
|
-
|
|
3076
|
+
if (error instanceof client_1.ApolloError && error.message === 'No AIRecommendation found') {
|
|
3077
|
+
return null;
|
|
3078
|
+
}
|
|
3079
|
+
else {
|
|
3080
|
+
console.error('Error in getAIRecommendation:', error);
|
|
3081
|
+
throw error;
|
|
3082
|
+
}
|
|
3078
3083
|
}
|
|
3079
3084
|
},
|
|
3080
3085
|
/**
|
|
@@ -3404,8 +3409,13 @@ exports.AIRecommendation = {
|
|
|
3404
3409
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.aIRecommendations) !== null && _b !== void 0 ? _b : null;
|
|
3405
3410
|
}
|
|
3406
3411
|
catch (error) {
|
|
3407
|
-
|
|
3408
|
-
|
|
3412
|
+
if (error instanceof client_1.ApolloError && error.message === 'No AIRecommendation found') {
|
|
3413
|
+
return null;
|
|
3414
|
+
}
|
|
3415
|
+
else {
|
|
3416
|
+
console.error('Error in getAIRecommendation:', error);
|
|
3417
|
+
throw error;
|
|
3418
|
+
}
|
|
3409
3419
|
}
|
|
3410
3420
|
},
|
|
3411
3421
|
/**
|
|
@@ -3748,8 +3758,13 @@ exports.AIRecommendation = {
|
|
|
3748
3758
|
}
|
|
3749
3759
|
}
|
|
3750
3760
|
catch (error) {
|
|
3751
|
-
|
|
3752
|
-
|
|
3761
|
+
if (error instanceof client_1.ApolloError && error.message === 'No AIRecommendation found') {
|
|
3762
|
+
return null;
|
|
3763
|
+
}
|
|
3764
|
+
else {
|
|
3765
|
+
console.error('Error in getAIRecommendation:', error);
|
|
3766
|
+
throw error;
|
|
3767
|
+
}
|
|
3753
3768
|
}
|
|
3754
3769
|
}
|
|
3755
3770
|
};
|
package/Account.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Account: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Account or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: AccountType, client: ApolloClient<NormalizedCacheObject>): Promise<AccountType>;
|
|
43
|
+
get(props: AccountType, client: ApolloClient<NormalizedCacheObject>): Promise<AccountType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Accounts records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Account: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Account records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: AccountType, client: ApolloClient<NormalizedCacheObject>): Promise<AccountType[]>;
|
|
56
|
+
findMany(props: AccountType, client: ApolloClient<NormalizedCacheObject>): Promise<AccountType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Account.d.ts.map
|
package/Account.js
CHANGED
|
@@ -2042,8 +2042,13 @@ exports.Account = {
|
|
|
2042
2042
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAccount) !== null && _b !== void 0 ? _b : null;
|
|
2043
2043
|
}
|
|
2044
2044
|
catch (error) {
|
|
2045
|
-
|
|
2046
|
-
|
|
2045
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Account found') {
|
|
2046
|
+
return null;
|
|
2047
|
+
}
|
|
2048
|
+
else {
|
|
2049
|
+
console.error('Error in getAccount:', error);
|
|
2050
|
+
throw error;
|
|
2051
|
+
}
|
|
2047
2052
|
}
|
|
2048
2053
|
},
|
|
2049
2054
|
/**
|
|
@@ -2373,8 +2378,13 @@ exports.Account = {
|
|
|
2373
2378
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.accounts) !== null && _b !== void 0 ? _b : null;
|
|
2374
2379
|
}
|
|
2375
2380
|
catch (error) {
|
|
2376
|
-
|
|
2377
|
-
|
|
2381
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Account found') {
|
|
2382
|
+
return null;
|
|
2383
|
+
}
|
|
2384
|
+
else {
|
|
2385
|
+
console.error('Error in getAccount:', error);
|
|
2386
|
+
throw error;
|
|
2387
|
+
}
|
|
2378
2388
|
}
|
|
2379
2389
|
},
|
|
2380
2390
|
/**
|
|
@@ -2717,8 +2727,13 @@ exports.Account = {
|
|
|
2717
2727
|
}
|
|
2718
2728
|
}
|
|
2719
2729
|
catch (error) {
|
|
2720
|
-
|
|
2721
|
-
|
|
2730
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Account found') {
|
|
2731
|
+
return null;
|
|
2732
|
+
}
|
|
2733
|
+
else {
|
|
2734
|
+
console.error('Error in getAccount:', error);
|
|
2735
|
+
throw error;
|
|
2736
|
+
}
|
|
2722
2737
|
}
|
|
2723
2738
|
}
|
|
2724
2739
|
};
|
package/Alert.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Alert: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Alert or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: AlertType, client: ApolloClient<NormalizedCacheObject>): Promise<AlertType>;
|
|
43
|
+
get(props: AlertType, client: ApolloClient<NormalizedCacheObject>): Promise<AlertType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Alerts records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Alert: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Alert records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: AlertType, client: ApolloClient<NormalizedCacheObject>): Promise<AlertType[]>;
|
|
56
|
+
findMany(props: AlertType, client: ApolloClient<NormalizedCacheObject>): Promise<AlertType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Alert.d.ts.map
|
package/Alert.js
CHANGED
|
@@ -2546,8 +2546,13 @@ exports.Alert = {
|
|
|
2546
2546
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAlert) !== null && _b !== void 0 ? _b : null;
|
|
2547
2547
|
}
|
|
2548
2548
|
catch (error) {
|
|
2549
|
-
|
|
2550
|
-
|
|
2549
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Alert found') {
|
|
2550
|
+
return null;
|
|
2551
|
+
}
|
|
2552
|
+
else {
|
|
2553
|
+
console.error('Error in getAlert:', error);
|
|
2554
|
+
throw error;
|
|
2555
|
+
}
|
|
2551
2556
|
}
|
|
2552
2557
|
},
|
|
2553
2558
|
/**
|
|
@@ -2877,8 +2882,13 @@ exports.Alert = {
|
|
|
2877
2882
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.alerts) !== null && _b !== void 0 ? _b : null;
|
|
2878
2883
|
}
|
|
2879
2884
|
catch (error) {
|
|
2880
|
-
|
|
2881
|
-
|
|
2885
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Alert found') {
|
|
2886
|
+
return null;
|
|
2887
|
+
}
|
|
2888
|
+
else {
|
|
2889
|
+
console.error('Error in getAlert:', error);
|
|
2890
|
+
throw error;
|
|
2891
|
+
}
|
|
2882
2892
|
}
|
|
2883
2893
|
},
|
|
2884
2894
|
/**
|
|
@@ -3221,8 +3231,13 @@ exports.Alert = {
|
|
|
3221
3231
|
}
|
|
3222
3232
|
}
|
|
3223
3233
|
catch (error) {
|
|
3224
|
-
|
|
3225
|
-
|
|
3234
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Alert found') {
|
|
3235
|
+
return null;
|
|
3236
|
+
}
|
|
3237
|
+
else {
|
|
3238
|
+
console.error('Error in getAlert:', error);
|
|
3239
|
+
throw error;
|
|
3240
|
+
}
|
|
3226
3241
|
}
|
|
3227
3242
|
}
|
|
3228
3243
|
};
|
package/Asset.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Asset: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Asset or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: AssetType, client: ApolloClient<NormalizedCacheObject>): Promise<AssetType>;
|
|
43
|
+
get(props: AssetType, client: ApolloClient<NormalizedCacheObject>): Promise<AssetType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Assets records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Asset: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Asset records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: AssetType, client: ApolloClient<NormalizedCacheObject>): Promise<AssetType[]>;
|
|
56
|
+
findMany(props: AssetType, client: ApolloClient<NormalizedCacheObject>): Promise<AssetType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Asset.d.ts.map
|
package/Asset.js
CHANGED
|
@@ -2602,8 +2602,13 @@ exports.Asset = {
|
|
|
2602
2602
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAsset) !== null && _b !== void 0 ? _b : null;
|
|
2603
2603
|
}
|
|
2604
2604
|
catch (error) {
|
|
2605
|
-
|
|
2606
|
-
|
|
2605
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Asset found') {
|
|
2606
|
+
return null;
|
|
2607
|
+
}
|
|
2608
|
+
else {
|
|
2609
|
+
console.error('Error in getAsset:', error);
|
|
2610
|
+
throw error;
|
|
2611
|
+
}
|
|
2607
2612
|
}
|
|
2608
2613
|
},
|
|
2609
2614
|
/**
|
|
@@ -2920,8 +2925,13 @@ exports.Asset = {
|
|
|
2920
2925
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.assets) !== null && _b !== void 0 ? _b : null;
|
|
2921
2926
|
}
|
|
2922
2927
|
catch (error) {
|
|
2923
|
-
|
|
2924
|
-
|
|
2928
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Asset found') {
|
|
2929
|
+
return null;
|
|
2930
|
+
}
|
|
2931
|
+
else {
|
|
2932
|
+
console.error('Error in getAsset:', error);
|
|
2933
|
+
throw error;
|
|
2934
|
+
}
|
|
2925
2935
|
}
|
|
2926
2936
|
},
|
|
2927
2937
|
/**
|
|
@@ -3257,8 +3267,13 @@ exports.Asset = {
|
|
|
3257
3267
|
}
|
|
3258
3268
|
}
|
|
3259
3269
|
catch (error) {
|
|
3260
|
-
|
|
3261
|
-
|
|
3270
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Asset found') {
|
|
3271
|
+
return null;
|
|
3272
|
+
}
|
|
3273
|
+
else {
|
|
3274
|
+
console.error('Error in getAsset:', error);
|
|
3275
|
+
throw error;
|
|
3276
|
+
}
|
|
3262
3277
|
}
|
|
3263
3278
|
}
|
|
3264
3279
|
};
|
package/Authenticator.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Authenticator: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Authenticator or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: AuthenticatorType, client: ApolloClient<NormalizedCacheObject>): Promise<AuthenticatorType>;
|
|
43
|
+
get(props: AuthenticatorType, client: ApolloClient<NormalizedCacheObject>): Promise<AuthenticatorType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Authenticators records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Authenticator: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Authenticator records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: AuthenticatorType, client: ApolloClient<NormalizedCacheObject>): Promise<AuthenticatorType[]>;
|
|
56
|
+
findMany(props: AuthenticatorType, client: ApolloClient<NormalizedCacheObject>): Promise<AuthenticatorType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Authenticator.d.ts.map
|
package/Authenticator.js
CHANGED
|
@@ -2052,8 +2052,13 @@ exports.Authenticator = {
|
|
|
2052
2052
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getAuthenticator) !== null && _b !== void 0 ? _b : null;
|
|
2053
2053
|
}
|
|
2054
2054
|
catch (error) {
|
|
2055
|
-
|
|
2056
|
-
|
|
2055
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Authenticator found') {
|
|
2056
|
+
return null;
|
|
2057
|
+
}
|
|
2058
|
+
else {
|
|
2059
|
+
console.error('Error in getAuthenticator:', error);
|
|
2060
|
+
throw error;
|
|
2061
|
+
}
|
|
2057
2062
|
}
|
|
2058
2063
|
},
|
|
2059
2064
|
/**
|
|
@@ -2383,8 +2388,13 @@ exports.Authenticator = {
|
|
|
2383
2388
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.authenticators) !== null && _b !== void 0 ? _b : null;
|
|
2384
2389
|
}
|
|
2385
2390
|
catch (error) {
|
|
2386
|
-
|
|
2387
|
-
|
|
2391
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Authenticator found') {
|
|
2392
|
+
return null;
|
|
2393
|
+
}
|
|
2394
|
+
else {
|
|
2395
|
+
console.error('Error in getAuthenticator:', error);
|
|
2396
|
+
throw error;
|
|
2397
|
+
}
|
|
2388
2398
|
}
|
|
2389
2399
|
},
|
|
2390
2400
|
/**
|
|
@@ -2727,8 +2737,13 @@ exports.Authenticator = {
|
|
|
2727
2737
|
}
|
|
2728
2738
|
}
|
|
2729
2739
|
catch (error) {
|
|
2730
|
-
|
|
2731
|
-
|
|
2740
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Authenticator found') {
|
|
2741
|
+
return null;
|
|
2742
|
+
}
|
|
2743
|
+
else {
|
|
2744
|
+
console.error('Error in getAuthenticator:', error);
|
|
2745
|
+
throw error;
|
|
2746
|
+
}
|
|
2732
2747
|
}
|
|
2733
2748
|
}
|
|
2734
2749
|
};
|
package/Customer.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Customer: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Customer or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: CustomerType, client: ApolloClient<NormalizedCacheObject>): Promise<CustomerType>;
|
|
43
|
+
get(props: CustomerType, client: ApolloClient<NormalizedCacheObject>): Promise<CustomerType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Customers records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Customer: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Customer records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: CustomerType, client: ApolloClient<NormalizedCacheObject>): Promise<CustomerType[]>;
|
|
56
|
+
findMany(props: CustomerType, client: ApolloClient<NormalizedCacheObject>): Promise<CustomerType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Customer.d.ts.map
|
package/Customer.js
CHANGED
|
@@ -2038,8 +2038,13 @@ exports.Customer = {
|
|
|
2038
2038
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getCustomer) !== null && _b !== void 0 ? _b : null;
|
|
2039
2039
|
}
|
|
2040
2040
|
catch (error) {
|
|
2041
|
-
|
|
2042
|
-
|
|
2041
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Customer found') {
|
|
2042
|
+
return null;
|
|
2043
|
+
}
|
|
2044
|
+
else {
|
|
2045
|
+
console.error('Error in getCustomer:', error);
|
|
2046
|
+
throw error;
|
|
2047
|
+
}
|
|
2043
2048
|
}
|
|
2044
2049
|
},
|
|
2045
2050
|
/**
|
|
@@ -2369,8 +2374,13 @@ exports.Customer = {
|
|
|
2369
2374
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.customers) !== null && _b !== void 0 ? _b : null;
|
|
2370
2375
|
}
|
|
2371
2376
|
catch (error) {
|
|
2372
|
-
|
|
2373
|
-
|
|
2377
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Customer found') {
|
|
2378
|
+
return null;
|
|
2379
|
+
}
|
|
2380
|
+
else {
|
|
2381
|
+
console.error('Error in getCustomer:', error);
|
|
2382
|
+
throw error;
|
|
2383
|
+
}
|
|
2374
2384
|
}
|
|
2375
2385
|
},
|
|
2376
2386
|
/**
|
|
@@ -2716,8 +2726,13 @@ exports.Customer = {
|
|
|
2716
2726
|
}
|
|
2717
2727
|
}
|
|
2718
2728
|
catch (error) {
|
|
2719
|
-
|
|
2720
|
-
|
|
2729
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Customer found') {
|
|
2730
|
+
return null;
|
|
2731
|
+
}
|
|
2732
|
+
else {
|
|
2733
|
+
console.error('Error in getCustomer:', error);
|
|
2734
|
+
throw error;
|
|
2735
|
+
}
|
|
2721
2736
|
}
|
|
2722
2737
|
}
|
|
2723
2738
|
};
|
package/EconomicEvent.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const EconomicEvent: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved EconomicEvent or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: EconomicEventType, client: ApolloClient<NormalizedCacheObject>): Promise<EconomicEventType>;
|
|
43
|
+
get(props: EconomicEventType, client: ApolloClient<NormalizedCacheObject>): Promise<EconomicEventType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all EconomicEvents records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const EconomicEvent: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found EconomicEvent records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: EconomicEventType, client: ApolloClient<NormalizedCacheObject>): Promise<EconomicEventType[]>;
|
|
56
|
+
findMany(props: EconomicEventType, client: ApolloClient<NormalizedCacheObject>): Promise<EconomicEventType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=EconomicEvent.d.ts.map
|
package/EconomicEvent.js
CHANGED
|
@@ -219,8 +219,13 @@ exports.EconomicEvent = {
|
|
|
219
219
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getEconomicEvent) !== null && _b !== void 0 ? _b : null;
|
|
220
220
|
}
|
|
221
221
|
catch (error) {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EconomicEvent found') {
|
|
223
|
+
return null;
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
console.error('Error in getEconomicEvent:', error);
|
|
227
|
+
throw error;
|
|
228
|
+
}
|
|
224
229
|
}
|
|
225
230
|
},
|
|
226
231
|
/**
|
|
@@ -249,8 +254,13 @@ exports.EconomicEvent = {
|
|
|
249
254
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.economicEvents) !== null && _b !== void 0 ? _b : null;
|
|
250
255
|
}
|
|
251
256
|
catch (error) {
|
|
252
|
-
|
|
253
|
-
|
|
257
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EconomicEvent found') {
|
|
258
|
+
return null;
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
console.error('Error in getEconomicEvent:', error);
|
|
262
|
+
throw error;
|
|
263
|
+
}
|
|
254
264
|
}
|
|
255
265
|
},
|
|
256
266
|
/**
|
|
@@ -295,8 +305,13 @@ exports.EconomicEvent = {
|
|
|
295
305
|
}
|
|
296
306
|
}
|
|
297
307
|
catch (error) {
|
|
298
|
-
|
|
299
|
-
|
|
308
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EconomicEvent found') {
|
|
309
|
+
return null;
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
console.error('Error in getEconomicEvent:', error);
|
|
313
|
+
throw error;
|
|
314
|
+
}
|
|
300
315
|
}
|
|
301
316
|
}
|
|
302
317
|
};
|
package/EnvironmentVariable.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const EnvironmentVariable: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved EnvironmentVariable or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: EnvironmentVariableType, client: ApolloClient<NormalizedCacheObject>): Promise<EnvironmentVariableType>;
|
|
43
|
+
get(props: EnvironmentVariableType, client: ApolloClient<NormalizedCacheObject>): Promise<EnvironmentVariableType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all EnvironmentVariables records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const EnvironmentVariable: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found EnvironmentVariable records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: EnvironmentVariableType, client: ApolloClient<NormalizedCacheObject>): Promise<EnvironmentVariableType[]>;
|
|
56
|
+
findMany(props: EnvironmentVariableType, client: ApolloClient<NormalizedCacheObject>): Promise<EnvironmentVariableType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=EnvironmentVariable.d.ts.map
|
package/EnvironmentVariable.js
CHANGED
|
@@ -1908,8 +1908,13 @@ exports.EnvironmentVariable = {
|
|
|
1908
1908
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getEnvironmentVariable) !== null && _b !== void 0 ? _b : null;
|
|
1909
1909
|
}
|
|
1910
1910
|
catch (error) {
|
|
1911
|
-
|
|
1912
|
-
|
|
1911
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EnvironmentVariable found') {
|
|
1912
|
+
return null;
|
|
1913
|
+
}
|
|
1914
|
+
else {
|
|
1915
|
+
console.error('Error in getEnvironmentVariable:', error);
|
|
1916
|
+
throw error;
|
|
1917
|
+
}
|
|
1913
1918
|
}
|
|
1914
1919
|
},
|
|
1915
1920
|
/**
|
|
@@ -2241,8 +2246,13 @@ exports.EnvironmentVariable = {
|
|
|
2241
2246
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.environmentVariables) !== null && _b !== void 0 ? _b : null;
|
|
2242
2247
|
}
|
|
2243
2248
|
catch (error) {
|
|
2244
|
-
|
|
2245
|
-
|
|
2249
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EnvironmentVariable found') {
|
|
2250
|
+
return null;
|
|
2251
|
+
}
|
|
2252
|
+
else {
|
|
2253
|
+
console.error('Error in getEnvironmentVariable:', error);
|
|
2254
|
+
throw error;
|
|
2255
|
+
}
|
|
2246
2256
|
}
|
|
2247
2257
|
},
|
|
2248
2258
|
/**
|
|
@@ -2590,8 +2600,13 @@ exports.EnvironmentVariable = {
|
|
|
2590
2600
|
}
|
|
2591
2601
|
}
|
|
2592
2602
|
catch (error) {
|
|
2593
|
-
|
|
2594
|
-
|
|
2603
|
+
if (error instanceof client_1.ApolloError && error.message === 'No EnvironmentVariable found') {
|
|
2604
|
+
return null;
|
|
2605
|
+
}
|
|
2606
|
+
else {
|
|
2607
|
+
console.error('Error in getEnvironmentVariable:', error);
|
|
2608
|
+
throw error;
|
|
2609
|
+
}
|
|
2595
2610
|
}
|
|
2596
2611
|
}
|
|
2597
2612
|
};
|
package/Holding.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const Holding: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved Holding or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: HoldingType, client: ApolloClient<NormalizedCacheObject>): Promise<HoldingType>;
|
|
43
|
+
get(props: HoldingType, client: ApolloClient<NormalizedCacheObject>): Promise<HoldingType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all Holdings records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const Holding: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found Holding records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: HoldingType, client: ApolloClient<NormalizedCacheObject>): Promise<HoldingType[]>;
|
|
56
|
+
findMany(props: HoldingType, client: ApolloClient<NormalizedCacheObject>): Promise<HoldingType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=Holding.d.ts.map
|
package/Holding.js
CHANGED
|
@@ -2549,8 +2549,13 @@ exports.Holding = {
|
|
|
2549
2549
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.getHolding) !== null && _b !== void 0 ? _b : null;
|
|
2550
2550
|
}
|
|
2551
2551
|
catch (error) {
|
|
2552
|
-
|
|
2553
|
-
|
|
2552
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Holding found') {
|
|
2553
|
+
return null;
|
|
2554
|
+
}
|
|
2555
|
+
else {
|
|
2556
|
+
console.error('Error in getHolding:', error);
|
|
2557
|
+
throw error;
|
|
2558
|
+
}
|
|
2554
2559
|
}
|
|
2555
2560
|
},
|
|
2556
2561
|
/**
|
|
@@ -2912,8 +2917,13 @@ exports.Holding = {
|
|
|
2912
2917
|
return (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.holdings) !== null && _b !== void 0 ? _b : null;
|
|
2913
2918
|
}
|
|
2914
2919
|
catch (error) {
|
|
2915
|
-
|
|
2916
|
-
|
|
2920
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Holding found') {
|
|
2921
|
+
return null;
|
|
2922
|
+
}
|
|
2923
|
+
else {
|
|
2924
|
+
console.error('Error in getHolding:', error);
|
|
2925
|
+
throw error;
|
|
2926
|
+
}
|
|
2917
2927
|
}
|
|
2918
2928
|
},
|
|
2919
2929
|
/**
|
|
@@ -3288,8 +3298,13 @@ exports.Holding = {
|
|
|
3288
3298
|
}
|
|
3289
3299
|
}
|
|
3290
3300
|
catch (error) {
|
|
3291
|
-
|
|
3292
|
-
|
|
3301
|
+
if (error instanceof client_1.ApolloError && error.message === 'No Holding found') {
|
|
3302
|
+
return null;
|
|
3303
|
+
}
|
|
3304
|
+
else {
|
|
3305
|
+
console.error('Error in getHolding:', error);
|
|
3306
|
+
throw error;
|
|
3307
|
+
}
|
|
3293
3308
|
}
|
|
3294
3309
|
}
|
|
3295
3310
|
};
|
package/NewsArticle.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const NewsArticle: {
|
|
|
40
40
|
* @param client - Apollo Client instance.
|
|
41
41
|
* @returns The retrieved NewsArticle or null.
|
|
42
42
|
*/
|
|
43
|
-
get(props: NewsArticleType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleType>;
|
|
43
|
+
get(props: NewsArticleType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleType | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve all NewsArticles records.
|
|
46
46
|
* @param client - Apollo Client instance.
|
|
@@ -53,6 +53,6 @@ export declare const NewsArticle: {
|
|
|
53
53
|
* @param client - Apollo Client instance.
|
|
54
54
|
* @returns An array of found NewsArticle records or null.
|
|
55
55
|
*/
|
|
56
|
-
findMany(props: NewsArticleType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleType[]>;
|
|
56
|
+
findMany(props: NewsArticleType, client: ApolloClient<NormalizedCacheObject>): Promise<NewsArticleType[] | null>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=NewsArticle.d.ts.map
|