adaptic-backend 1.0.340 → 1.0.342

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 (122) hide show
  1. package/Account.cjs +2670 -2264
  2. package/Account.d.ts +19 -2
  3. package/Action.cjs +1195 -839
  4. package/Action.d.ts +19 -2
  5. package/Alert.cjs +2651 -2347
  6. package/Alert.d.ts +19 -2
  7. package/Allocation.cjs +2631 -2304
  8. package/Allocation.d.ts +19 -2
  9. package/AlpacaAccount.cjs +2654 -2104
  10. package/AlpacaAccount.d.ts +19 -2
  11. package/Asset.cjs +2611 -1544
  12. package/Asset.d.ts +19 -2
  13. package/Authenticator.cjs +2603 -2290
  14. package/Authenticator.d.ts +19 -2
  15. package/Customer.cjs +2506 -2220
  16. package/Customer.d.ts +19 -2
  17. package/EconomicEvent.cjs +708 -367
  18. package/EconomicEvent.d.ts +19 -2
  19. package/MarketSentiment.cjs +691 -340
  20. package/MarketSentiment.d.ts +19 -2
  21. package/NewsArticle.cjs +2114 -1655
  22. package/NewsArticle.d.ts +19 -2
  23. package/NewsArticleAssetSentiment.cjs +1873 -1564
  24. package/NewsArticleAssetSentiment.d.ts +19 -2
  25. package/ScheduledOptionOrder.cjs +607 -316
  26. package/ScheduledOptionOrder.d.ts +19 -2
  27. package/Session.cjs +2592 -2294
  28. package/Session.d.ts +19 -2
  29. package/Trade.cjs +1261 -795
  30. package/Trade.d.ts +19 -2
  31. package/User.cjs +2432 -2013
  32. package/User.d.ts +19 -2
  33. package/VerificationToken.cjs +637 -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 +2661 -2262
  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 +1186 -837
  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 +2642 -2345
  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 +2622 -2302
  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 +2645 -2102
  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 +2602 -1542
  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 +2594 -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 +2497 -2218
  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 +699 -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 +682 -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 +2105 -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 +1864 -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 +598 -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 +2583 -2292
  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 +1252 -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 +2423 -2011
  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 +628 -326
  103. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  104. package/esm/generated/typegraphql-prisma/enhance.mjs +1 -1
  105. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  107. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  108. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.mjs +7 -7
  109. package/esm/prismaClient.d.ts +4 -5
  110. package/esm/prismaClient.d.ts.map +1 -1
  111. package/esm/prismaClient.js.map +1 -1
  112. package/esm/prismaClient.mjs +13 -11
  113. package/generated/typegraphql-prisma/enhance.cjs +1 -1
  114. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  115. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.cjs +6 -6
  116. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  117. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  118. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  119. package/package.json +1 -1
  120. package/prismaClient.cjs +13 -11
  121. package/prismaClient.d.ts +4 -5
  122. package/server.cjs +37 -5
package/Asset.d.ts CHANGED
@@ -7,9 +7,17 @@ export declare const Asset: {
7
7
  * @param client - Apollo Client instance.
8
8
  * @returns The created Asset or null.
9
9
  */
10
+ /**
11
+ * Create a new Asset 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 Asset or null.
16
+ */
10
17
  create(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AssetType>;
11
18
  /**
12
19
  * Create multiple Asset records.
20
+ * Enhanced with connection resilience against Prisma connection errors.
13
21
  * @param props - Array of Asset 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 Asset: {
19
27
  } | null>;
20
28
  /**
21
29
  * Update a single Asset 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 Asset or null.
@@ -26,6 +35,7 @@ export declare const Asset: {
26
35
  update(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AssetType>;
27
36
  /**
28
37
  * Upsert a single Asset 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 Asset or null.
@@ -33,6 +43,7 @@ export declare const Asset: {
33
43
  upsert(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AssetType>;
34
44
  /**
35
45
  * Update multiple Asset records.
46
+ * Enhanced with connection resilience against Prisma connection errors.
36
47
  * @param props - Array of Asset 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 Asset: {
42
53
  } | null>;
43
54
  /**
44
55
  * Delete a single Asset 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 Asset or null.
48
60
  */
49
61
  delete(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AssetType>;
50
62
  /**
51
63
  * Retrieve a single Asset 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 Asset or null.
55
69
  */
56
70
  get(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<AssetType | null>;
57
71
  /**
58
72
  * Retrieve all Assets records.
73
+ * Enhanced with connection resilience against Prisma connection errors.
59
74
  * @param globalClient - Apollo Client instance.
60
75
  * @returns An array of Asset records or null.
61
76
  */
62
77
  getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AssetType[] | null>;
63
78
  /**
64
79
  * Find multiple Asset 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 Asset records or null.
68
85
  */
69
86
  findMany(props: AssetType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<AssetType[] | null>;