adaptic-backend 1.0.310 → 1.0.311

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 (99) hide show
  1. package/Account.cjs +4 -4
  2. package/Account.d.ts +2 -2
  3. package/Action.cjs +4 -4
  4. package/Action.d.ts +2 -2
  5. package/Alert.cjs +4 -4
  6. package/Alert.d.ts +2 -2
  7. package/AlpacaAccount.cjs +4 -4
  8. package/AlpacaAccount.d.ts +2 -2
  9. package/Asset.cjs +4 -4
  10. package/Asset.d.ts +2 -2
  11. package/Authenticator.cjs +4 -4
  12. package/Authenticator.d.ts +2 -2
  13. package/Customer.cjs +4 -4
  14. package/Customer.d.ts +2 -2
  15. package/EconomicEvent.cjs +4 -4
  16. package/EconomicEvent.d.ts +2 -2
  17. package/MarketSentiment.cjs +4 -4
  18. package/MarketSentiment.d.ts +2 -2
  19. package/NewsArticle.cjs +4 -4
  20. package/NewsArticle.d.ts +2 -2
  21. package/NewsArticleAssetSentiment.cjs +4 -4
  22. package/NewsArticleAssetSentiment.d.ts +2 -2
  23. package/ScheduledOptionOrder.cjs +4 -4
  24. package/ScheduledOptionOrder.d.ts +2 -2
  25. package/Session.cjs +4 -4
  26. package/Session.d.ts +2 -2
  27. package/Trade.cjs +4 -4
  28. package/Trade.d.ts +2 -2
  29. package/User.cjs +4 -4
  30. package/User.d.ts +2 -2
  31. package/VerificationToken.cjs +4 -4
  32. package/VerificationToken.d.ts +2 -2
  33. package/esm/Account.d.ts +2 -2
  34. package/esm/Account.d.ts.map +1 -1
  35. package/esm/Account.js.map +1 -1
  36. package/esm/Account.mjs +4 -4
  37. package/esm/Action.d.ts +2 -2
  38. package/esm/Action.d.ts.map +1 -1
  39. package/esm/Action.js.map +1 -1
  40. package/esm/Action.mjs +4 -4
  41. package/esm/Alert.d.ts +2 -2
  42. package/esm/Alert.d.ts.map +1 -1
  43. package/esm/Alert.js.map +1 -1
  44. package/esm/Alert.mjs +4 -4
  45. package/esm/AlpacaAccount.d.ts +2 -2
  46. package/esm/AlpacaAccount.d.ts.map +1 -1
  47. package/esm/AlpacaAccount.js.map +1 -1
  48. package/esm/AlpacaAccount.mjs +4 -4
  49. package/esm/Asset.d.ts +2 -2
  50. package/esm/Asset.d.ts.map +1 -1
  51. package/esm/Asset.js.map +1 -1
  52. package/esm/Asset.mjs +4 -4
  53. package/esm/Authenticator.d.ts +2 -2
  54. package/esm/Authenticator.d.ts.map +1 -1
  55. package/esm/Authenticator.js.map +1 -1
  56. package/esm/Authenticator.mjs +4 -4
  57. package/esm/Customer.d.ts +2 -2
  58. package/esm/Customer.d.ts.map +1 -1
  59. package/esm/Customer.js.map +1 -1
  60. package/esm/Customer.mjs +4 -4
  61. package/esm/EconomicEvent.d.ts +2 -2
  62. package/esm/EconomicEvent.d.ts.map +1 -1
  63. package/esm/EconomicEvent.js.map +1 -1
  64. package/esm/EconomicEvent.mjs +4 -4
  65. package/esm/MarketSentiment.d.ts +2 -2
  66. package/esm/MarketSentiment.d.ts.map +1 -1
  67. package/esm/MarketSentiment.js.map +1 -1
  68. package/esm/MarketSentiment.mjs +4 -4
  69. package/esm/NewsArticle.d.ts +2 -2
  70. package/esm/NewsArticle.d.ts.map +1 -1
  71. package/esm/NewsArticle.js.map +1 -1
  72. package/esm/NewsArticle.mjs +4 -4
  73. package/esm/NewsArticleAssetSentiment.d.ts +2 -2
  74. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  75. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  76. package/esm/NewsArticleAssetSentiment.mjs +4 -4
  77. package/esm/ScheduledOptionOrder.d.ts +2 -2
  78. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  79. package/esm/ScheduledOptionOrder.js.map +1 -1
  80. package/esm/ScheduledOptionOrder.mjs +4 -4
  81. package/esm/Session.d.ts +2 -2
  82. package/esm/Session.d.ts.map +1 -1
  83. package/esm/Session.js.map +1 -1
  84. package/esm/Session.mjs +4 -4
  85. package/esm/Trade.d.ts +2 -2
  86. package/esm/Trade.d.ts.map +1 -1
  87. package/esm/Trade.js.map +1 -1
  88. package/esm/Trade.mjs +4 -4
  89. package/esm/User.d.ts +2 -2
  90. package/esm/User.d.ts.map +1 -1
  91. package/esm/User.js.map +1 -1
  92. package/esm/User.mjs +4 -4
  93. package/esm/VerificationToken.d.ts +2 -2
  94. package/esm/VerificationToken.d.ts.map +1 -1
  95. package/esm/VerificationToken.js.map +1 -1
  96. package/esm/VerificationToken.mjs +4 -4
  97. package/esm/index.d.ts +32 -32
  98. package/index.d.ts +32 -32
  99. package/package.json +1 -1
package/Session.cjs CHANGED
@@ -2183,7 +2183,7 @@ exports.Session = {
2183
2183
  * @param globalClient - Apollo Client instance.
2184
2184
  * @returns The retrieved Session or null.
2185
2185
  */
2186
- async get(props, globalClient) {
2186
+ async get(props, globalClient, where) {
2187
2187
  var _a, _b;
2188
2188
  const [modules, client] = await Promise.all([
2189
2189
  (0, client_1.getApolloModules)(),
@@ -2199,7 +2199,7 @@ exports.Session = {
2199
2199
  }
2200
2200
  }`;
2201
2201
  const variables = {
2202
- where: {
2202
+ where: where ? where : {
2203
2203
  id: props.id !== undefined ? props.id : undefined,
2204
2204
  userId: props.userId !== undefined ? {
2205
2205
  equals: props.userId
@@ -2265,7 +2265,7 @@ exports.Session = {
2265
2265
  * @param globalClient - Apollo Client instance.
2266
2266
  * @returns An array of found Session records or null.
2267
2267
  */
2268
- async findMany(props, globalClient) {
2268
+ async findMany(props, globalClient, where) {
2269
2269
  const [modules, client] = await Promise.all([
2270
2270
  (0, client_1.getApolloModules)(),
2271
2271
  globalClient
@@ -2280,7 +2280,7 @@ exports.Session = {
2280
2280
  }
2281
2281
  }`;
2282
2282
  const variables = {
2283
- where: {
2283
+ where: where ? where : {
2284
2284
  id: props.id !== undefined ? {
2285
2285
  equals: props.id
2286
2286
  } : undefined,
package/Session.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const Session: {
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Session or null.
55
55
  */
56
- get(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<SessionType | null>;
56
+ get(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<SessionType | null>;
57
57
  /**
58
58
  * Retrieve all Sessions records.
59
59
  * @param globalClient - Apollo Client instance.
@@ -66,6 +66,6 @@ export declare const Session: {
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found Session records or null.
68
68
  */
69
- findMany(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<SessionType[] | null>;
69
+ findMany(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<SessionType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Session.d.ts.map
package/Trade.cjs CHANGED
@@ -649,7 +649,7 @@ exports.Trade = {
649
649
  * @param globalClient - Apollo Client instance.
650
650
  * @returns The retrieved Trade or null.
651
651
  */
652
- async get(props, globalClient) {
652
+ async get(props, globalClient, where) {
653
653
  var _a, _b;
654
654
  const [modules, client] = await Promise.all([
655
655
  (0, client_1.getApolloModules)(),
@@ -665,7 +665,7 @@ exports.Trade = {
665
665
  }
666
666
  }`;
667
667
  const variables = {
668
- where: {
668
+ where: where ? where : {
669
669
  id: props.id !== undefined ? props.id : undefined,
670
670
  alpacaAccountId: props.alpacaAccountId !== undefined ? {
671
671
  equals: props.alpacaAccountId
@@ -734,7 +734,7 @@ exports.Trade = {
734
734
  * @param globalClient - Apollo Client instance.
735
735
  * @returns An array of found Trade records or null.
736
736
  */
737
- async findMany(props, globalClient) {
737
+ async findMany(props, globalClient, where) {
738
738
  const [modules, client] = await Promise.all([
739
739
  (0, client_1.getApolloModules)(),
740
740
  globalClient
@@ -749,7 +749,7 @@ exports.Trade = {
749
749
  }
750
750
  }`;
751
751
  const variables = {
752
- where: {
752
+ where: where ? where : {
753
753
  id: props.id !== undefined ? {
754
754
  equals: props.id
755
755
  } : undefined,
package/Trade.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const Trade: {
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Trade or null.
55
55
  */
56
- get(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType | null>;
56
+ get(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<TradeType | null>;
57
57
  /**
58
58
  * Retrieve all Trades records.
59
59
  * @param globalClient - Apollo Client instance.
@@ -66,6 +66,6 @@ export declare const Trade: {
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found Trade records or null.
68
68
  */
69
- findMany(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType[] | null>;
69
+ findMany(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<TradeType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Trade.d.ts.map
package/User.cjs CHANGED
@@ -1768,7 +1768,7 @@ exports.User = {
1768
1768
  * @param globalClient - Apollo Client instance.
1769
1769
  * @returns The retrieved User or null.
1770
1770
  */
1771
- async get(props, globalClient) {
1771
+ async get(props, globalClient, where) {
1772
1772
  var _a, _b;
1773
1773
  const [modules, client] = await Promise.all([
1774
1774
  (0, client_1.getApolloModules)(),
@@ -1784,7 +1784,7 @@ exports.User = {
1784
1784
  }
1785
1785
  }`;
1786
1786
  const variables = {
1787
- where: {
1787
+ where: where ? where : {
1788
1788
  id: props.id !== undefined ? props.id : undefined,
1789
1789
  email: props.email !== undefined ? props.email : undefined,
1790
1790
  name: props.name !== undefined ? {
@@ -1851,7 +1851,7 @@ exports.User = {
1851
1851
  * @param globalClient - Apollo Client instance.
1852
1852
  * @returns An array of found User records or null.
1853
1853
  */
1854
- async findMany(props, globalClient) {
1854
+ async findMany(props, globalClient, where) {
1855
1855
  const [modules, client] = await Promise.all([
1856
1856
  (0, client_1.getApolloModules)(),
1857
1857
  globalClient
@@ -1866,7 +1866,7 @@ exports.User = {
1866
1866
  }
1867
1867
  }`;
1868
1868
  const variables = {
1869
- where: {
1869
+ where: where ? where : {
1870
1870
  id: props.id !== undefined ? {
1871
1871
  equals: props.id
1872
1872
  } : undefined,
package/User.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const User: {
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved User or null.
55
55
  */
56
- get(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<UserType | null>;
56
+ get(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<UserType | null>;
57
57
  /**
58
58
  * Retrieve all Users records.
59
59
  * @param globalClient - Apollo Client instance.
@@ -66,6 +66,6 @@ export declare const User: {
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found User records or null.
68
68
  */
69
- findMany(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<UserType[] | null>;
69
+ findMany(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<UserType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=User.d.ts.map
@@ -322,7 +322,7 @@ exports.VerificationToken = {
322
322
  * @param globalClient - Apollo Client instance.
323
323
  * @returns The retrieved VerificationToken or null.
324
324
  */
325
- async get(props, globalClient) {
325
+ async get(props, globalClient, where) {
326
326
  var _a, _b;
327
327
  const [modules, client] = await Promise.all([
328
328
  (0, client_1.getApolloModules)(),
@@ -338,7 +338,7 @@ exports.VerificationToken = {
338
338
  }
339
339
  }`;
340
340
  const variables = {
341
- where: {
341
+ where: where ? where : {
342
342
  id: props.id !== undefined ? props.id : undefined,
343
343
  },
344
344
  };
@@ -401,7 +401,7 @@ exports.VerificationToken = {
401
401
  * @param globalClient - Apollo Client instance.
402
402
  * @returns An array of found VerificationToken records or null.
403
403
  */
404
- async findMany(props, globalClient) {
404
+ async findMany(props, globalClient, where) {
405
405
  const [modules, client] = await Promise.all([
406
406
  (0, client_1.getApolloModules)(),
407
407
  globalClient
@@ -416,7 +416,7 @@ exports.VerificationToken = {
416
416
  }
417
417
  }`;
418
418
  const variables = {
419
- where: {
419
+ where: where ? where : {
420
420
  id: props.id !== undefined ? {
421
421
  equals: props.id
422
422
  } : undefined,
@@ -53,7 +53,7 @@ export declare const VerificationToken: {
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved VerificationToken or null.
55
55
  */
56
- get(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<VerificationTokenType | null>;
56
+ get(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<VerificationTokenType | null>;
57
57
  /**
58
58
  * Retrieve all VerificationTokens records.
59
59
  * @param globalClient - Apollo Client instance.
@@ -66,6 +66,6 @@ export declare const VerificationToken: {
66
66
  * @param globalClient - Apollo Client instance.
67
67
  * @returns An array of found VerificationToken records or null.
68
68
  */
69
- findMany(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<VerificationTokenType[] | null>;
69
+ findMany(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<VerificationTokenType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=VerificationToken.d.ts.map
package/esm/Account.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const Account: {
53
53
  * @param globalClient - Apollo Client instance.
54
54
  * @returns The retrieved Account or null.
55
55
  */
56
- get(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType | null>;
56
+ get(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<AccountType | null>;
57
57
  /**
58
58
  * Retrieve all Accounts records.
59
59
  * @param globalClient - Apollo Client instance.
@@ -66,6 +66,6 @@ export declare const Account: {
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?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType[] | null>;
69
+ findMany(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>, where?: any): Promise<AccountType[] | null>;
70
70
  };
71
71
  //# sourceMappingURL=Account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/Account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAoG7G,eAAO,MAAM,OAAO;IAElB;;;;;OAKG;kBAEiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAyMhH;;;;;OAKG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAmDjI;;;;;OAKG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAohB9G;;;;;OAKG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IA6qB9G;;;;;OAKG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAuhBjI;;;;;OAKG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAyC9G;;;;;OAKG;eACc,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IA8ClH;;;;OAIG;0BACyB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC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