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