adaptic-backend 1.0.340 → 1.0.341
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/Account.cjs +2543 -2265
- package/Account.d.ts +19 -2
- package/Action.cjs +1116 -838
- package/Action.d.ts +19 -2
- package/Alert.cjs +2626 -2348
- package/Alert.d.ts +19 -2
- package/Allocation.cjs +2578 -2300
- package/Allocation.d.ts +19 -2
- package/AlpacaAccount.cjs +2383 -2105
- package/AlpacaAccount.d.ts +19 -2
- package/Asset.cjs +1813 -1535
- package/Asset.d.ts +19 -2
- package/Authenticator.cjs +2568 -2290
- package/Authenticator.d.ts +19 -2
- package/Customer.cjs +2495 -2217
- package/Customer.d.ts +19 -2
- package/EconomicEvent.cjs +645 -367
- package/EconomicEvent.d.ts +19 -2
- package/MarketSentiment.cjs +618 -340
- package/MarketSentiment.d.ts +19 -2
- package/NewsArticle.cjs +1933 -1655
- package/NewsArticle.d.ts +19 -2
- package/NewsArticleAssetSentiment.cjs +1842 -1564
- package/NewsArticleAssetSentiment.d.ts +19 -2
- package/ScheduledOptionOrder.cjs +594 -316
- package/ScheduledOptionOrder.d.ts +19 -2
- package/Session.cjs +2570 -2292
- package/Session.d.ts +19 -2
- package/Trade.cjs +1073 -795
- package/Trade.d.ts +19 -2
- package/User.cjs +2288 -2010
- package/User.d.ts +19 -2
- package/VerificationToken.cjs +606 -328
- package/VerificationToken.d.ts +19 -2
- package/esm/Account.d.ts +19 -2
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +2534 -2263
- package/esm/Action.d.ts +19 -2
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +1107 -836
- package/esm/Alert.d.ts +19 -2
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +2617 -2346
- package/esm/Allocation.d.ts +19 -2
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +2569 -2298
- package/esm/AlpacaAccount.d.ts +19 -2
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +2374 -2103
- package/esm/Asset.d.ts +19 -2
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +1804 -1533
- package/esm/Authenticator.d.ts +19 -2
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +2559 -2288
- package/esm/Customer.d.ts +19 -2
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +2486 -2215
- package/esm/EconomicEvent.d.ts +19 -2
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +636 -365
- package/esm/MarketSentiment.d.ts +19 -2
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +609 -338
- package/esm/NewsArticle.d.ts +19 -2
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +1924 -1653
- package/esm/NewsArticleAssetSentiment.d.ts +19 -2
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +1833 -1562
- package/esm/ScheduledOptionOrder.d.ts +19 -2
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +585 -314
- package/esm/Session.d.ts +19 -2
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +2561 -2290
- package/esm/Trade.d.ts +19 -2
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +1064 -793
- package/esm/User.d.ts +19 -2
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +2279 -2008
- package/esm/VerificationToken.d.ts +19 -2
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +597 -326
- package/esm/prismaClient.d.ts +4 -5
- package/esm/prismaClient.d.ts.map +1 -1
- package/esm/prismaClient.js.map +1 -1
- package/esm/prismaClient.mjs +13 -11
- package/package.json +1 -1
- package/prismaClient.cjs +13 -11
- package/prismaClient.d.ts +4 -5
- package/server.cjs +37 -5
package/Allocation.d.ts
CHANGED
@@ -7,9 +7,17 @@ export declare const Allocation: {
|
|
7
7
|
* @param client - Apollo Client instance.
|
8
8
|
* @returns The created Allocation or null.
|
9
9
|
*/
|
10
|
+
/**
|
11
|
+
* Create a new Allocation record.
|
12
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
13
|
+
* @param props - Properties for the new record.
|
14
|
+
* @param globalClient - Apollo Client instance.
|
15
|
+
* @returns The created Allocation or null.
|
16
|
+
*/
|
10
17
|
create(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AllocationType>;
|
11
18
|
/**
|
12
19
|
* Create multiple Allocation records.
|
20
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
13
21
|
* @param props - Array of Allocation objects for the new records.
|
14
22
|
* @param globalClient - Apollo Client instance.
|
15
23
|
* @returns The count of created records or null.
|
@@ -19,6 +27,7 @@ export declare const Allocation: {
|
|
19
27
|
} | null>;
|
20
28
|
/**
|
21
29
|
* Update a single Allocation record.
|
30
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
22
31
|
* @param props - Properties to update.
|
23
32
|
* @param globalClient - Apollo Client instance.
|
24
33
|
* @returns The updated Allocation or null.
|
@@ -26,6 +35,7 @@ export declare const Allocation: {
|
|
26
35
|
update(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AllocationType>;
|
27
36
|
/**
|
28
37
|
* Upsert a single Allocation record.
|
38
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
29
39
|
* @param props - Properties to update.
|
30
40
|
* @param globalClient - Apollo Client instance.
|
31
41
|
* @returns The updated Allocation or null.
|
@@ -33,6 +43,7 @@ export declare const Allocation: {
|
|
33
43
|
upsert(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AllocationType>;
|
34
44
|
/**
|
35
45
|
* Update multiple Allocation records.
|
46
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
36
47
|
* @param props - Array of Allocation objects for the updated records.
|
37
48
|
* @param globalClient - Apollo Client instance.
|
38
49
|
* @returns The count of created records or null.
|
@@ -42,28 +53,34 @@ export declare const Allocation: {
|
|
42
53
|
} | null>;
|
43
54
|
/**
|
44
55
|
* Delete a single Allocation record.
|
45
|
-
*
|
56
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
57
|
+
* @param props - Properties to identify the record to delete.
|
46
58
|
* @param globalClient - Apollo Client instance.
|
47
59
|
* @returns The deleted Allocation or null.
|
48
60
|
*/
|
49
61
|
delete(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AllocationType>;
|
50
62
|
/**
|
51
63
|
* Retrieve a single Allocation record by ID.
|
52
|
-
*
|
64
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
65
|
+
* @param props - Properties to identify the record.
|
53
66
|
* @param globalClient - Apollo Client instance.
|
67
|
+
* @param whereInput - Optional custom where input.
|
54
68
|
* @returns The retrieved Allocation or null.
|
55
69
|
*/
|
56
70
|
get(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<AllocationType | null>;
|
57
71
|
/**
|
58
72
|
* Retrieve all Allocations records.
|
73
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
59
74
|
* @param globalClient - Apollo Client instance.
|
60
75
|
* @returns An array of Allocation records or null.
|
61
76
|
*/
|
62
77
|
getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AllocationType[] | null>;
|
63
78
|
/**
|
64
79
|
* Find multiple Allocation records based on conditions.
|
80
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
65
81
|
* @param props - Conditions to find records.
|
66
82
|
* @param globalClient - Apollo Client instance.
|
83
|
+
* @param whereInput - Optional custom where input.
|
67
84
|
* @returns An array of found Allocation records or null.
|
68
85
|
*/
|
69
86
|
findMany(props: AllocationType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<AllocationType[] | null>;
|