adaptic-backend 1.0.277 → 1.0.278

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 (267) hide show
  1. package/Account.cjs +10 -11
  2. package/Account.d.ts +10 -10
  3. package/Action.cjs +10 -11
  4. package/Action.d.ts +10 -10
  5. package/Alert.cjs +10 -11
  6. package/Alert.d.ts +10 -10
  7. package/AlpacaAccount.cjs +10 -11
  8. package/AlpacaAccount.d.ts +10 -10
  9. package/Asset.cjs +10 -11
  10. package/Asset.d.ts +10 -10
  11. package/Authenticator.cjs +10 -11
  12. package/Authenticator.d.ts +10 -10
  13. package/Contract.cjs +10 -11
  14. package/Contract.d.ts +10 -10
  15. package/Customer.cjs +10 -11
  16. package/Customer.d.ts +10 -10
  17. package/Deliverable.cjs +10 -11
  18. package/Deliverable.d.ts +10 -10
  19. package/EconomicEvent.cjs +10 -11
  20. package/EconomicEvent.d.ts +10 -10
  21. package/MarketSentiment.cjs +10 -11
  22. package/MarketSentiment.d.ts +10 -10
  23. package/NewsArticle.cjs +10 -11
  24. package/NewsArticle.d.ts +10 -10
  25. package/NewsArticleAssetSentiment.cjs +10 -11
  26. package/NewsArticleAssetSentiment.d.ts +10 -10
  27. package/Order.cjs +10 -11
  28. package/Order.d.ts +10 -10
  29. package/Position.cjs +10 -11
  30. package/Position.d.ts +10 -10
  31. package/ScheduledOptionOrder.cjs +10 -11
  32. package/ScheduledOptionOrder.d.ts +10 -10
  33. package/Session.cjs +10 -11
  34. package/Session.d.ts +10 -10
  35. package/StopLoss.cjs +10 -11
  36. package/StopLoss.d.ts +10 -10
  37. package/TakeProfit.cjs +10 -11
  38. package/TakeProfit.d.ts +10 -10
  39. package/Trade.cjs +10 -11
  40. package/Trade.d.ts +10 -10
  41. package/User.cjs +10 -11
  42. package/User.d.ts +10 -10
  43. package/VerificationToken.cjs +10 -11
  44. package/VerificationToken.d.ts +10 -10
  45. package/client.cjs +49 -9
  46. package/client.d.ts +15 -3
  47. package/generated/typeStrings/User.cjs +5 -1
  48. package/generated/typeStrings/User.d.ts +1 -1
  49. package/generated/typeStrings/User.d.ts.map +1 -1
  50. package/generated/typeStrings/User.js.map +1 -1
  51. package/generated/typeStrings/index.d.ts +1 -1
  52. package/generated/typegraphql-prisma/enums/OpenaiModel.cjs +3 -1
  53. package/generated/typegraphql-prisma/enums/OpenaiModel.d.ts +4 -2
  54. package/generated/typegraphql-prisma/enums/OpenaiModel.d.ts.map +1 -1
  55. package/generated/typegraphql-prisma/enums/OpenaiModel.js.map +1 -1
  56. package/generated/typegraphql-prisma/models/User.d.ts +1 -1
  57. package/generated/typegraphql-prisma/models/User.d.ts.map +1 -1
  58. package/generated/typegraphql-prisma/models/User.js.map +1 -1
  59. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts +3 -3
  60. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts.map +1 -1
  61. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.js.map +1 -1
  62. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
  63. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
  64. package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
  65. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts +3 -3
  66. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts.map +1 -1
  67. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.js.map +1 -1
  68. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
  69. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
  70. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
  71. package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts +1 -1
  72. package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts.map +1 -1
  73. package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.js.map +1 -1
  74. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts +1 -1
  75. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts.map +1 -1
  76. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.js.map +1 -1
  77. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts +1 -1
  78. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts.map +1 -1
  79. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.js.map +1 -1
  80. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts +1 -1
  81. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts.map +1 -1
  82. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.js.map +1 -1
  83. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts +1 -1
  84. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts.map +1 -1
  85. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.js.map +1 -1
  86. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts +1 -1
  87. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts.map +1 -1
  88. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.js.map +1 -1
  89. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts +1 -1
  90. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts.map +1 -1
  91. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.js.map +1 -1
  92. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts +1 -1
  93. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts.map +1 -1
  94. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.js.map +1 -1
  95. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts +1 -1
  96. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts.map +1 -1
  97. package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.js.map +1 -1
  98. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts +1 -1
  99. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts.map +1 -1
  100. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.js.map +1 -1
  101. package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts +1 -1
  102. package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts.map +1 -1
  103. package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.js.map +1 -1
  104. package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts +1 -1
  105. package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts.map +1 -1
  106. package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.js.map +1 -1
  107. package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts +1 -1
  108. package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts.map +1 -1
  109. package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.js.map +1 -1
  110. package/index.d.ts +198 -198
  111. package/package.json +1 -1
  112. package/server/Account.d.ts +10 -10
  113. package/server/Account.d.ts.map +1 -1
  114. package/server/Account.js.map +1 -1
  115. package/server/Account.mjs +1 -3
  116. package/server/Action.d.ts +10 -10
  117. package/server/Action.d.ts.map +1 -1
  118. package/server/Action.js.map +1 -1
  119. package/server/Action.mjs +1 -3
  120. package/server/Alert.d.ts +10 -10
  121. package/server/Alert.d.ts.map +1 -1
  122. package/server/Alert.js.map +1 -1
  123. package/server/Alert.mjs +1 -3
  124. package/server/AlpacaAccount.d.ts +10 -10
  125. package/server/AlpacaAccount.d.ts.map +1 -1
  126. package/server/AlpacaAccount.js.map +1 -1
  127. package/server/AlpacaAccount.mjs +1 -3
  128. package/server/Asset.d.ts +10 -10
  129. package/server/Asset.d.ts.map +1 -1
  130. package/server/Asset.js.map +1 -1
  131. package/server/Asset.mjs +1 -3
  132. package/server/Authenticator.d.ts +10 -10
  133. package/server/Authenticator.d.ts.map +1 -1
  134. package/server/Authenticator.js.map +1 -1
  135. package/server/Authenticator.mjs +1 -3
  136. package/server/Contract.d.ts +10 -10
  137. package/server/Contract.d.ts.map +1 -1
  138. package/server/Contract.js.map +1 -1
  139. package/server/Contract.mjs +1 -3
  140. package/server/Customer.d.ts +10 -10
  141. package/server/Customer.d.ts.map +1 -1
  142. package/server/Customer.js.map +1 -1
  143. package/server/Customer.mjs +1 -3
  144. package/server/Deliverable.d.ts +10 -10
  145. package/server/Deliverable.d.ts.map +1 -1
  146. package/server/Deliverable.js.map +1 -1
  147. package/server/Deliverable.mjs +1 -3
  148. package/server/EconomicEvent.d.ts +10 -10
  149. package/server/EconomicEvent.d.ts.map +1 -1
  150. package/server/EconomicEvent.js.map +1 -1
  151. package/server/EconomicEvent.mjs +1 -3
  152. package/server/MarketSentiment.d.ts +10 -10
  153. package/server/MarketSentiment.d.ts.map +1 -1
  154. package/server/MarketSentiment.js.map +1 -1
  155. package/server/MarketSentiment.mjs +1 -3
  156. package/server/NewsArticle.d.ts +10 -10
  157. package/server/NewsArticle.d.ts.map +1 -1
  158. package/server/NewsArticle.js.map +1 -1
  159. package/server/NewsArticle.mjs +1 -3
  160. package/server/NewsArticleAssetSentiment.d.ts +10 -10
  161. package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
  162. package/server/NewsArticleAssetSentiment.js.map +1 -1
  163. package/server/NewsArticleAssetSentiment.mjs +1 -3
  164. package/server/Order.d.ts +10 -10
  165. package/server/Order.d.ts.map +1 -1
  166. package/server/Order.js.map +1 -1
  167. package/server/Order.mjs +1 -3
  168. package/server/Position.d.ts +10 -10
  169. package/server/Position.d.ts.map +1 -1
  170. package/server/Position.js.map +1 -1
  171. package/server/Position.mjs +1 -3
  172. package/server/ScheduledOptionOrder.d.ts +10 -10
  173. package/server/ScheduledOptionOrder.d.ts.map +1 -1
  174. package/server/ScheduledOptionOrder.js.map +1 -1
  175. package/server/ScheduledOptionOrder.mjs +1 -3
  176. package/server/Session.d.ts +10 -10
  177. package/server/Session.d.ts.map +1 -1
  178. package/server/Session.js.map +1 -1
  179. package/server/Session.mjs +1 -3
  180. package/server/StopLoss.d.ts +10 -10
  181. package/server/StopLoss.d.ts.map +1 -1
  182. package/server/StopLoss.js.map +1 -1
  183. package/server/StopLoss.mjs +1 -3
  184. package/server/TakeProfit.d.ts +10 -10
  185. package/server/TakeProfit.d.ts.map +1 -1
  186. package/server/TakeProfit.js.map +1 -1
  187. package/server/TakeProfit.mjs +1 -3
  188. package/server/Trade.d.ts +10 -10
  189. package/server/Trade.d.ts.map +1 -1
  190. package/server/Trade.js.map +1 -1
  191. package/server/Trade.mjs +1 -3
  192. package/server/User.d.ts +10 -10
  193. package/server/User.d.ts.map +1 -1
  194. package/server/User.js.map +1 -1
  195. package/server/User.mjs +1 -3
  196. package/server/VerificationToken.d.ts +10 -10
  197. package/server/VerificationToken.d.ts.map +1 -1
  198. package/server/VerificationToken.js.map +1 -1
  199. package/server/VerificationToken.mjs +1 -3
  200. package/server/client.d.ts +15 -3
  201. package/server/client.d.ts.map +1 -1
  202. package/server/client.js.map +1 -1
  203. package/server/client.mjs +49 -8
  204. package/server/generated/typeStrings/User.d.ts +1 -1
  205. package/server/generated/typeStrings/User.d.ts.map +1 -1
  206. package/server/generated/typeStrings/User.js.map +1 -1
  207. package/server/generated/typeStrings/User.mjs +5 -1
  208. package/server/generated/typeStrings/index.d.ts +1 -1
  209. package/server/generated/typegraphql-prisma/enums/OpenaiModel.d.ts +4 -2
  210. package/server/generated/typegraphql-prisma/enums/OpenaiModel.d.ts.map +1 -1
  211. package/server/generated/typegraphql-prisma/enums/OpenaiModel.js.map +1 -1
  212. package/server/generated/typegraphql-prisma/enums/OpenaiModel.mjs +3 -1
  213. package/server/generated/typegraphql-prisma/models/User.d.ts +1 -1
  214. package/server/generated/typegraphql-prisma/models/User.d.ts.map +1 -1
  215. package/server/generated/typegraphql-prisma/models/User.js.map +1 -1
  216. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts +3 -3
  217. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts.map +1 -1
  218. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.js.map +1 -1
  219. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
  220. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
  221. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
  222. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts +3 -3
  223. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts.map +1 -1
  224. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.js.map +1 -1
  225. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
  226. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
  227. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
  228. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts +1 -1
  229. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts.map +1 -1
  230. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.js.map +1 -1
  231. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts +1 -1
  232. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts.map +1 -1
  233. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.js.map +1 -1
  234. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts +1 -1
  235. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts.map +1 -1
  236. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.js.map +1 -1
  237. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts +1 -1
  238. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts.map +1 -1
  239. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.js.map +1 -1
  240. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts +1 -1
  241. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts.map +1 -1
  242. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.js.map +1 -1
  243. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts +1 -1
  244. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts.map +1 -1
  245. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.js.map +1 -1
  246. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts +1 -1
  247. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts.map +1 -1
  248. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.js.map +1 -1
  249. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts +1 -1
  250. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts.map +1 -1
  251. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.js.map +1 -1
  252. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts +1 -1
  253. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts.map +1 -1
  254. package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.js.map +1 -1
  255. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts +1 -1
  256. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts.map +1 -1
  257. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.js.map +1 -1
  258. package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts +1 -1
  259. package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts.map +1 -1
  260. package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.js.map +1 -1
  261. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts +1 -1
  262. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts.map +1 -1
  263. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.js.map +1 -1
  264. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts +1 -1
  265. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts.map +1 -1
  266. package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.js.map +1 -1
  267. package/server/index.d.ts +198 -198
package/Account.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Account = void 0;
4
- const client_1 = require("@apollo/client");
5
- const client_2 = require("./client.cjs");
4
+ const client_1 = require("./client.cjs");
6
5
  const utils_1 = require("./utils.cjs");
7
6
  /**
8
7
  * CRUD operations for the Account model.
@@ -211,7 +210,7 @@ exports.Account = {
211
210
  * @returns The created Account or null.
212
211
  */
213
212
  async create(props, globalClient) {
214
- const client = globalClient || client_2.client;
213
+ const client = globalClient || client_1.client;
215
214
  const CREATE_ONE_ACCOUNT = (0, client_1.gql) `
216
215
  mutation createOneAccount($data: AccountCreateInput!) {
217
216
  createOneAccount(data: $data) {
@@ -528,7 +527,7 @@ exports.Account = {
528
527
  * @returns The count of created records or null.
529
528
  */
530
529
  async createMany(props, globalClient) {
531
- const client = globalClient || client_2.client;
530
+ const client = globalClient || client_1.client;
532
531
  const CREATE_MANY_ACCOUNT = (0, client_1.gql) `
533
532
  mutation createManyAccount($data: [AccountCreateManyInput!]!) {
534
533
  createManyAccount(data: $data) {
@@ -574,7 +573,7 @@ exports.Account = {
574
573
  * @returns The updated Account or null.
575
574
  */
576
575
  async update(props, globalClient) {
577
- const client = globalClient || client_2.client;
576
+ const client = globalClient || client_1.client;
578
577
  const UPDATE_ONE_ACCOUNT = (0, client_1.gql) `
579
578
  mutation updateOneAccount($data: AccountUpdateInput!, $where: AccountWhereUniqueInput!) {
580
579
  updateOneAccount(data: $data, where: $where) {
@@ -1676,7 +1675,7 @@ exports.Account = {
1676
1675
  * @returns The updated Account or null.
1677
1676
  */
1678
1677
  async upsert(props, globalClient) {
1679
- const client = globalClient || client_2.client;
1678
+ const client = globalClient || client_1.client;
1680
1679
  const UPSERT_ONE_ACCOUNT = (0, client_1.gql) `
1681
1680
  mutation upsertOneAccount($where: AccountWhereUniqueInput!, $create: AccountCreateInput!, $update: AccountUpdateInput!) {
1682
1681
  upsertOneAccount(where: $where, create: $create, update: $update) {
@@ -3052,7 +3051,7 @@ exports.Account = {
3052
3051
  * @returns The count of created records or null.
3053
3052
  */
3054
3053
  async updateMany(props, globalClient) {
3055
- const client = globalClient || client_2.client;
3054
+ const client = globalClient || client_1.client;
3056
3055
  const UPDATE_MANY_ACCOUNT = (0, client_1.gql) `
3057
3056
  mutation updateManyAccount($data: [AccountCreateManyInput!]!) {
3058
3057
  updateManyAccount(data: $data) {
@@ -4154,7 +4153,7 @@ exports.Account = {
4154
4153
  * @returns The deleted Account or null.
4155
4154
  */
4156
4155
  async delete(props, globalClient) {
4157
- const client = globalClient || client_2.client;
4156
+ const client = globalClient || client_1.client;
4158
4157
  const DELETE_ONE_ACCOUNT = (0, client_1.gql) `
4159
4158
  mutation deleteOneAccount($where: AccountWhereUniqueInput!) {
4160
4159
  deleteOneAccount(where: $where) {
@@ -4191,7 +4190,7 @@ exports.Account = {
4191
4190
  */
4192
4191
  async get(props, globalClient) {
4193
4192
  var _a, _b;
4194
- const client = globalClient || client_2.client;
4193
+ const client = globalClient || client_1.client;
4195
4194
  const GET_ACCOUNT = (0, client_1.gql) `
4196
4195
  query getAccount($where: AccountWhereUniqueInput!) {
4197
4196
  getAccount(where: $where) {
@@ -4233,7 +4232,7 @@ exports.Account = {
4233
4232
  */
4234
4233
  async getAll(globalClient) {
4235
4234
  var _a, _b;
4236
- const client = globalClient || client_2.client;
4235
+ const client = globalClient || client_1.client;
4237
4236
  const GET_ALL_ACCOUNT = (0, client_1.gql) `
4238
4237
  query getAllAccount {
4239
4238
  accounts {
@@ -4263,7 +4262,7 @@ exports.Account = {
4263
4262
  * @returns An array of found Account records or null.
4264
4263
  */
4265
4264
  async findMany(props, globalClient) {
4266
- const client = globalClient || client_2.client;
4265
+ const client = globalClient || client_1.client;
4267
4266
  const FIND_MANY_ACCOUNT = (0, client_1.gql) `
4268
4267
  query findManyAccount($where: AccountWhereInput!) {
4269
4268
  accounts(where: $where) {
package/Account.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Account as AccountType } from './generated/typegraphql-prisma/models/Account';
2
- import { ApolloClient } from '@apollo/client';
2
+ import { ApolloClientType, NormalizedCacheObject } from './client';
3
3
  export declare const Account: {
4
4
  /**
5
5
  * Create a new Account record.
@@ -7,14 +7,14 @@ export declare const Account: {
7
7
  * @param client - Apollo Client instance.
8
8
  * @returns The created Account or null.
9
9
  */
10
- create(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType>;
10
+ create(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
11
11
  /**
12
12
  * Create multiple Account records.
13
13
  * @param props - Array of Account objects for the new records.
14
14
  * @param globalClient - Apollo Client instance.
15
15
  * @returns The count of created records or null.
16
16
  */
17
- createMany(props: AccountType[], globalClient?: ApolloClient<any>): Promise<{
17
+ createMany(props: AccountType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
18
18
  count: number;
19
19
  } | null>;
20
20
  /**
@@ -23,21 +23,21 @@ export declare const Account: {
23
23
  * @param globalClient - Apollo Client instance.
24
24
  * @returns The updated Account or null.
25
25
  */
26
- update(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType>;
26
+ update(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
27
27
  /**
28
28
  * Upsert a single Account record.
29
29
  * @param props - Properties to update.
30
30
  * @param globalClient - Apollo Client instance.
31
31
  * @returns The updated Account or null.
32
32
  */
33
- upsert(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType>;
33
+ upsert(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
34
34
  /**
35
35
  * Update multiple Account records.
36
36
  * @param props - Array of Account objects for the updated records.
37
37
  * @param globalClient - Apollo Client instance.
38
38
  * @returns The count of created records or null.
39
39
  */
40
- updateMany(props: AccountType[], globalClient?: ApolloClient<any>): Promise<{
40
+ updateMany(props: AccountType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
41
41
  count: number;
42
42
  } | null>;
43
43
  /**
@@ -46,26 +46,26 @@ export declare const Account: {
46
46
  * @param globalClient - Apollo Client instance.
47
47
  * @returns The deleted Account or null.
48
48
  */
49
- delete(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType>;
49
+ delete(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
50
50
  /**
51
51
  * Retrieve a single Account record by ID.
52
52
  * @param props - Properties to update.
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Account or null.
55
55
  */
56
- get(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType | null>;
56
+ get(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType | null>;
57
57
  /**
58
58
  * Retrieve all Accounts records.
59
59
  * @param globalClient - Apollo Client instance.
60
60
  * @returns An array of Account records or null.
61
61
  */
62
- getAll(globalClient?: ApolloClient<any>): Promise<AccountType[] | null>;
62
+ getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType[] | null>;
63
63
  /**
64
64
  * Find multiple Account records based on conditions.
65
65
  * @param props - Conditions to find records.
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found Account records or null.
68
68
  */
69
- findMany(props: AccountType, globalClient?: ApolloClient<any>): Promise<AccountType[] | null>;
69
+ findMany(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Account.d.ts.map
package/Action.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Action = void 0;
4
- const client_1 = require("@apollo/client");
5
- const client_2 = require("./client.cjs");
4
+ const client_1 = require("./client.cjs");
6
5
  const utils_1 = require("./utils.cjs");
7
6
  /**
8
7
  * CRUD operations for the Action model.
@@ -152,7 +151,7 @@ exports.Action = {
152
151
  * @returns The created Action or null.
153
152
  */
154
153
  async create(props, globalClient) {
155
- const client = globalClient || client_2.client;
154
+ const client = globalClient || client_1.client;
156
155
  const CREATE_ONE_ACTION = (0, client_1.gql) `
157
156
  mutation createOneAction($data: ActionCreateInput!) {
158
157
  createOneAction(data: $data) {
@@ -1200,7 +1199,7 @@ exports.Action = {
1200
1199
  * @returns The count of created records or null.
1201
1200
  */
1202
1201
  async createMany(props, globalClient) {
1203
- const client = globalClient || client_2.client;
1202
+ const client = globalClient || client_1.client;
1204
1203
  const CREATE_MANY_ACTION = (0, client_1.gql) `
1205
1204
  mutation createManyAction($data: [ActionCreateManyInput!]!) {
1206
1205
  createManyAction(data: $data) {
@@ -1248,7 +1247,7 @@ exports.Action = {
1248
1247
  * @returns The updated Action or null.
1249
1248
  */
1250
1249
  async update(props, globalClient) {
1251
- const client = globalClient || client_2.client;
1250
+ const client = globalClient || client_1.client;
1252
1251
  const UPDATE_ONE_ACTION = (0, client_1.gql) `
1253
1252
  mutation updateOneAction($data: ActionUpdateInput!, $where: ActionWhereUniqueInput!) {
1254
1253
  updateOneAction(data: $data, where: $where) {
@@ -5626,7 +5625,7 @@ exports.Action = {
5626
5625
  * @returns The updated Action or null.
5627
5626
  */
5628
5627
  async upsert(props, globalClient) {
5629
- const client = globalClient || client_2.client;
5628
+ const client = globalClient || client_1.client;
5630
5629
  const UPSERT_ONE_ACTION = (0, client_1.gql) `
5631
5630
  mutation upsertOneAction($where: ActionWhereUniqueInput!, $create: ActionCreateInput!, $update: ActionUpdateInput!) {
5632
5631
  upsertOneAction(where: $where, create: $create, update: $update) {
@@ -11009,7 +11008,7 @@ exports.Action = {
11009
11008
  * @returns The count of created records or null.
11010
11009
  */
11011
11010
  async updateMany(props, globalClient) {
11012
- const client = globalClient || client_2.client;
11011
+ const client = globalClient || client_1.client;
11013
11012
  const UPDATE_MANY_ACTION = (0, client_1.gql) `
11014
11013
  mutation updateManyAction($data: [ActionCreateManyInput!]!) {
11015
11014
  updateManyAction(data: $data) {
@@ -15387,7 +15386,7 @@ exports.Action = {
15387
15386
  * @returns The deleted Action or null.
15388
15387
  */
15389
15388
  async delete(props, globalClient) {
15390
- const client = globalClient || client_2.client;
15389
+ const client = globalClient || client_1.client;
15391
15390
  const DELETE_ONE_ACTION = (0, client_1.gql) `
15392
15391
  mutation deleteOneAction($where: ActionWhereUniqueInput!) {
15393
15392
  deleteOneAction(where: $where) {
@@ -15424,7 +15423,7 @@ exports.Action = {
15424
15423
  */
15425
15424
  async get(props, globalClient) {
15426
15425
  var _a, _b;
15427
- const client = globalClient || client_2.client;
15426
+ const client = globalClient || client_1.client;
15428
15427
  const GET_ACTION = (0, client_1.gql) `
15429
15428
  query getAction($where: ActionWhereUniqueInput!) {
15430
15429
  getAction(where: $where) {
@@ -15463,7 +15462,7 @@ exports.Action = {
15463
15462
  */
15464
15463
  async getAll(globalClient) {
15465
15464
  var _a, _b;
15466
- const client = globalClient || client_2.client;
15465
+ const client = globalClient || client_1.client;
15467
15466
  const GET_ALL_ACTION = (0, client_1.gql) `
15468
15467
  query getAllAction {
15469
15468
  actions {
@@ -15493,7 +15492,7 @@ exports.Action = {
15493
15492
  * @returns An array of found Action records or null.
15494
15493
  */
15495
15494
  async findMany(props, globalClient) {
15496
- const client = globalClient || client_2.client;
15495
+ const client = globalClient || client_1.client;
15497
15496
  const FIND_MANY_ACTION = (0, client_1.gql) `
15498
15497
  query findManyAction($where: ActionWhereInput!) {
15499
15498
  actions(where: $where) {
package/Action.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Action as ActionType } from './generated/typegraphql-prisma/models/Action';
2
- import { ApolloClient } from '@apollo/client';
2
+ import { ApolloClientType, NormalizedCacheObject } from './client';
3
3
  export declare const Action: {
4
4
  /**
5
5
  * Create a new Action record.
@@ -7,14 +7,14 @@ export declare const Action: {
7
7
  * @param client - Apollo Client instance.
8
8
  * @returns The created Action or null.
9
9
  */
10
- create(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType>;
10
+ create(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
11
11
  /**
12
12
  * Create multiple Action records.
13
13
  * @param props - Array of Action objects for the new records.
14
14
  * @param globalClient - Apollo Client instance.
15
15
  * @returns The count of created records or null.
16
16
  */
17
- createMany(props: ActionType[], globalClient?: ApolloClient<any>): Promise<{
17
+ createMany(props: ActionType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
18
18
  count: number;
19
19
  } | null>;
20
20
  /**
@@ -23,21 +23,21 @@ export declare const Action: {
23
23
  * @param globalClient - Apollo Client instance.
24
24
  * @returns The updated Action or null.
25
25
  */
26
- update(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType>;
26
+ update(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
27
27
  /**
28
28
  * Upsert a single Action record.
29
29
  * @param props - Properties to update.
30
30
  * @param globalClient - Apollo Client instance.
31
31
  * @returns The updated Action or null.
32
32
  */
33
- upsert(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType>;
33
+ upsert(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
34
34
  /**
35
35
  * Update multiple Action records.
36
36
  * @param props - Array of Action objects for the updated records.
37
37
  * @param globalClient - Apollo Client instance.
38
38
  * @returns The count of created records or null.
39
39
  */
40
- updateMany(props: ActionType[], globalClient?: ApolloClient<any>): Promise<{
40
+ updateMany(props: ActionType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
41
41
  count: number;
42
42
  } | null>;
43
43
  /**
@@ -46,26 +46,26 @@ export declare const Action: {
46
46
  * @param globalClient - Apollo Client instance.
47
47
  * @returns The deleted Action or null.
48
48
  */
49
- delete(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType>;
49
+ delete(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
50
50
  /**
51
51
  * Retrieve a single Action record by ID.
52
52
  * @param props - Properties to update.
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Action or null.
55
55
  */
56
- get(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType | null>;
56
+ get(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType | null>;
57
57
  /**
58
58
  * Retrieve all Actions records.
59
59
  * @param globalClient - Apollo Client instance.
60
60
  * @returns An array of Action records or null.
61
61
  */
62
- getAll(globalClient?: ApolloClient<any>): Promise<ActionType[] | null>;
62
+ getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType[] | null>;
63
63
  /**
64
64
  * Find multiple Action records based on conditions.
65
65
  * @param props - Conditions to find records.
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found Action records or null.
68
68
  */
69
- findMany(props: ActionType, globalClient?: ApolloClient<any>): Promise<ActionType[] | null>;
69
+ findMany(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Action.d.ts.map
package/Alert.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Alert = void 0;
4
- const client_1 = require("@apollo/client");
5
- const client_2 = require("./client.cjs");
4
+ const client_1 = require("./client.cjs");
6
5
  const utils_1 = require("./utils.cjs");
7
6
  /**
8
7
  * CRUD operations for the Alert model.
@@ -26,7 +25,7 @@ exports.Alert = {
26
25
  * @returns The created Alert or null.
27
26
  */
28
27
  async create(props, globalClient) {
29
- const client = globalClient || client_2.client;
28
+ const client = globalClient || client_1.client;
30
29
  const CREATE_ONE_ALERT = (0, client_1.gql) `
31
30
  mutation createOneAlert($data: AlertCreateInput!) {
32
31
  createOneAlert(data: $data) {
@@ -693,7 +692,7 @@ exports.Alert = {
693
692
  * @returns The count of created records or null.
694
693
  */
695
694
  async createMany(props, globalClient) {
696
- const client = globalClient || client_2.client;
695
+ const client = globalClient || client_1.client;
697
696
  const CREATE_MANY_ALERT = (0, client_1.gql) `
698
697
  mutation createManyAlert($data: [AlertCreateManyInput!]!) {
699
698
  createManyAlert(data: $data) {
@@ -732,7 +731,7 @@ exports.Alert = {
732
731
  * @returns The updated Alert or null.
733
732
  */
734
733
  async update(props, globalClient) {
735
- const client = globalClient || client_2.client;
734
+ const client = globalClient || client_1.client;
736
735
  const UPDATE_ONE_ALERT = (0, client_1.gql) `
737
736
  mutation updateOneAlert($data: AlertUpdateInput!, $where: AlertWhereUniqueInput!) {
738
737
  updateOneAlert(data: $data, where: $where) {
@@ -3548,7 +3547,7 @@ exports.Alert = {
3548
3547
  * @returns The updated Alert or null.
3549
3548
  */
3550
3549
  async upsert(props, globalClient) {
3551
- const client = globalClient || client_2.client;
3550
+ const client = globalClient || client_1.client;
3552
3551
  const UPSERT_ONE_ALERT = (0, client_1.gql) `
3553
3552
  mutation upsertOneAlert($where: AlertWhereUniqueInput!, $create: AlertCreateInput!, $update: AlertUpdateInput!) {
3554
3553
  upsertOneAlert(where: $where, create: $create, update: $update) {
@@ -6988,7 +6987,7 @@ exports.Alert = {
6988
6987
  * @returns The count of created records or null.
6989
6988
  */
6990
6989
  async updateMany(props, globalClient) {
6991
- const client = globalClient || client_2.client;
6990
+ const client = globalClient || client_1.client;
6992
6991
  const UPDATE_MANY_ALERT = (0, client_1.gql) `
6993
6992
  mutation updateManyAlert($data: [AlertCreateManyInput!]!) {
6994
6993
  updateManyAlert(data: $data) {
@@ -9804,7 +9803,7 @@ exports.Alert = {
9804
9803
  * @returns The deleted Alert or null.
9805
9804
  */
9806
9805
  async delete(props, globalClient) {
9807
- const client = globalClient || client_2.client;
9806
+ const client = globalClient || client_1.client;
9808
9807
  const DELETE_ONE_ALERT = (0, client_1.gql) `
9809
9808
  mutation deleteOneAlert($where: AlertWhereUniqueInput!) {
9810
9809
  deleteOneAlert(where: $where) {
@@ -9841,7 +9840,7 @@ exports.Alert = {
9841
9840
  */
9842
9841
  async get(props, globalClient) {
9843
9842
  var _a, _b;
9844
- const client = globalClient || client_2.client;
9843
+ const client = globalClient || client_1.client;
9845
9844
  const GET_ALERT = (0, client_1.gql) `
9846
9845
  query getAlert($where: AlertWhereUniqueInput!) {
9847
9846
  getAlert(where: $where) {
@@ -9880,7 +9879,7 @@ exports.Alert = {
9880
9879
  */
9881
9880
  async getAll(globalClient) {
9882
9881
  var _a, _b;
9883
- const client = globalClient || client_2.client;
9882
+ const client = globalClient || client_1.client;
9884
9883
  const GET_ALL_ALERT = (0, client_1.gql) `
9885
9884
  query getAllAlert {
9886
9885
  alerts {
@@ -9910,7 +9909,7 @@ exports.Alert = {
9910
9909
  * @returns An array of found Alert records or null.
9911
9910
  */
9912
9911
  async findMany(props, globalClient) {
9913
- const client = globalClient || client_2.client;
9912
+ const client = globalClient || client_1.client;
9914
9913
  const FIND_MANY_ALERT = (0, client_1.gql) `
9915
9914
  query findManyAlert($where: AlertWhereInput!) {
9916
9915
  alerts(where: $where) {
package/Alert.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Alert as AlertType } from './generated/typegraphql-prisma/models/Alert';
2
- import { ApolloClient } from '@apollo/client';
2
+ import { ApolloClientType, NormalizedCacheObject } from './client';
3
3
  export declare const Alert: {
4
4
  /**
5
5
  * Create a new Alert record.
@@ -7,14 +7,14 @@ export declare const Alert: {
7
7
  * @param client - Apollo Client instance.
8
8
  * @returns The created Alert or null.
9
9
  */
10
- create(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType>;
10
+ create(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
11
11
  /**
12
12
  * Create multiple Alert records.
13
13
  * @param props - Array of Alert objects for the new records.
14
14
  * @param globalClient - Apollo Client instance.
15
15
  * @returns The count of created records or null.
16
16
  */
17
- createMany(props: AlertType[], globalClient?: ApolloClient<any>): Promise<{
17
+ createMany(props: AlertType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
18
18
  count: number;
19
19
  } | null>;
20
20
  /**
@@ -23,21 +23,21 @@ export declare const Alert: {
23
23
  * @param globalClient - Apollo Client instance.
24
24
  * @returns The updated Alert or null.
25
25
  */
26
- update(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType>;
26
+ update(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
27
27
  /**
28
28
  * Upsert a single Alert record.
29
29
  * @param props - Properties to update.
30
30
  * @param globalClient - Apollo Client instance.
31
31
  * @returns The updated Alert or null.
32
32
  */
33
- upsert(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType>;
33
+ upsert(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
34
34
  /**
35
35
  * Update multiple Alert records.
36
36
  * @param props - Array of Alert objects for the updated records.
37
37
  * @param globalClient - Apollo Client instance.
38
38
  * @returns The count of created records or null.
39
39
  */
40
- updateMany(props: AlertType[], globalClient?: ApolloClient<any>): Promise<{
40
+ updateMany(props: AlertType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
41
41
  count: number;
42
42
  } | null>;
43
43
  /**
@@ -46,26 +46,26 @@ export declare const Alert: {
46
46
  * @param globalClient - Apollo Client instance.
47
47
  * @returns The deleted Alert or null.
48
48
  */
49
- delete(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType>;
49
+ delete(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
50
50
  /**
51
51
  * Retrieve a single Alert record by ID.
52
52
  * @param props - Properties to update.
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Alert or null.
55
55
  */
56
- get(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType | null>;
56
+ get(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType | null>;
57
57
  /**
58
58
  * Retrieve all Alerts records.
59
59
  * @param globalClient - Apollo Client instance.
60
60
  * @returns An array of Alert records or null.
61
61
  */
62
- getAll(globalClient?: ApolloClient<any>): Promise<AlertType[] | null>;
62
+ getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType[] | null>;
63
63
  /**
64
64
  * Find multiple Alert records based on conditions.
65
65
  * @param props - Conditions to find records.
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found Alert records or null.
68
68
  */
69
- findMany(props: AlertType, globalClient?: ApolloClient<any>): Promise<AlertType[] | null>;
69
+ findMany(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Alert.d.ts.map
package/AlpacaAccount.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlpacaAccount = void 0;
4
- const client_1 = require("@apollo/client");
5
- const client_2 = require("./client.cjs");
4
+ const client_1 = require("./client.cjs");
6
5
  const utils_1 = require("./utils.cjs");
7
6
  /**
8
7
  * CRUD operations for the AlpacaAccount model.
@@ -412,7 +411,7 @@ exports.AlpacaAccount = {
412
411
  * @returns The created AlpacaAccount or null.
413
412
  */
414
413
  async create(props, globalClient) {
415
- const client = globalClient || client_2.client;
414
+ const client = globalClient || client_1.client;
416
415
  const CREATE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
417
416
  mutation createOneAlpacaAccount($data: AlpacaAccountCreateInput!) {
418
417
  createOneAlpacaAccount(data: $data) {
@@ -1695,7 +1694,7 @@ exports.AlpacaAccount = {
1695
1694
  * @returns The count of created records or null.
1696
1695
  */
1697
1696
  async createMany(props, globalClient) {
1698
- const client = globalClient || client_2.client;
1697
+ const client = globalClient || client_1.client;
1699
1698
  const CREATE_MANY_ALPACAACCOUNT = (0, client_1.gql) `
1700
1699
  mutation createManyAlpacaAccount($data: [AlpacaAccountCreateManyInput!]!) {
1701
1700
  createManyAlpacaAccount(data: $data) {
@@ -1745,7 +1744,7 @@ exports.AlpacaAccount = {
1745
1744
  * @returns The updated AlpacaAccount or null.
1746
1745
  */
1747
1746
  async update(props, globalClient) {
1748
- const client = globalClient || client_2.client;
1747
+ const client = globalClient || client_1.client;
1749
1748
  const UPDATE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
1750
1749
  mutation updateOneAlpacaAccount($data: AlpacaAccountUpdateInput!, $where: AlpacaAccountWhereUniqueInput!) {
1751
1750
  updateOneAlpacaAccount(data: $data, where: $where) {
@@ -6864,7 +6863,7 @@ exports.AlpacaAccount = {
6864
6863
  * @returns The updated AlpacaAccount or null.
6865
6864
  */
6866
6865
  async upsert(props, globalClient) {
6867
- const client = globalClient || client_2.client;
6866
+ const client = globalClient || client_1.client;
6868
6867
  const UPSERT_ONE_ALPACAACCOUNT = (0, client_1.gql) `
6869
6868
  mutation upsertOneAlpacaAccount($where: AlpacaAccountWhereUniqueInput!, $create: AlpacaAccountCreateInput!, $update: AlpacaAccountUpdateInput!) {
6870
6869
  upsertOneAlpacaAccount(where: $where, create: $create, update: $update) {
@@ -13223,7 +13222,7 @@ exports.AlpacaAccount = {
13223
13222
  * @returns The count of created records or null.
13224
13223
  */
13225
13224
  async updateMany(props, globalClient) {
13226
- const client = globalClient || client_2.client;
13225
+ const client = globalClient || client_1.client;
13227
13226
  const UPDATE_MANY_ALPACAACCOUNT = (0, client_1.gql) `
13228
13227
  mutation updateManyAlpacaAccount($data: [AlpacaAccountCreateManyInput!]!) {
13229
13228
  updateManyAlpacaAccount(data: $data) {
@@ -18342,7 +18341,7 @@ exports.AlpacaAccount = {
18342
18341
  * @returns The deleted AlpacaAccount or null.
18343
18342
  */
18344
18343
  async delete(props, globalClient) {
18345
- const client = globalClient || client_2.client;
18344
+ const client = globalClient || client_1.client;
18346
18345
  const DELETE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
18347
18346
  mutation deleteOneAlpacaAccount($where: AlpacaAccountWhereUniqueInput!) {
18348
18347
  deleteOneAlpacaAccount(where: $where) {
@@ -18379,7 +18378,7 @@ exports.AlpacaAccount = {
18379
18378
  */
18380
18379
  async get(props, globalClient) {
18381
18380
  var _a, _b;
18382
- const client = globalClient || client_2.client;
18381
+ const client = globalClient || client_1.client;
18383
18382
  const GET_ALPACAACCOUNT = (0, client_1.gql) `
18384
18383
  query getAlpacaAccount($where: AlpacaAccountWhereUniqueInput!) {
18385
18384
  getAlpacaAccount(where: $where) {
@@ -18418,7 +18417,7 @@ exports.AlpacaAccount = {
18418
18417
  */
18419
18418
  async getAll(globalClient) {
18420
18419
  var _a, _b;
18421
- const client = globalClient || client_2.client;
18420
+ const client = globalClient || client_1.client;
18422
18421
  const GET_ALL_ALPACAACCOUNT = (0, client_1.gql) `
18423
18422
  query getAllAlpacaAccount {
18424
18423
  alpacaAccounts {
@@ -18448,7 +18447,7 @@ exports.AlpacaAccount = {
18448
18447
  * @returns An array of found AlpacaAccount records or null.
18449
18448
  */
18450
18449
  async findMany(props, globalClient) {
18451
- const client = globalClient || client_2.client;
18450
+ const client = globalClient || client_1.client;
18452
18451
  const FIND_MANY_ALPACAACCOUNT = (0, client_1.gql) `
18453
18452
  query findManyAlpacaAccount($where: AlpacaAccountWhereInput!) {
18454
18453
  alpacaAccounts(where: $where) {