adaptic-backend 1.0.148 → 1.0.150
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 +2 -2
- package/Action.cjs +2 -2
- package/Alert.cjs +2 -2
- package/AlpacaAccount.cjs +2 -2
- package/Asset.cjs +2 -2
- package/Authenticator.cjs +2 -2
- package/Customer.cjs +2 -2
- package/EconomicEvent.cjs +2 -2
- package/NewsArticle.cjs +2 -2
- package/NewsArticleAssetSentiment.cjs +2 -2
- package/Order.cjs +2 -2
- package/Position.cjs +2 -2
- package/Session.cjs +2 -2
- package/StopLoss.cjs +2 -2
- package/TakeProfit.cjs +2 -2
- package/Trade.cjs +2 -2
- package/User.cjs +2 -2
- package/VerificationToken.cjs +2 -2
- package/package.json +1 -1
- package/server/Account.mjs +2 -2
- package/server/Action.mjs +2 -2
- package/server/Alert.mjs +2 -2
- package/server/AlpacaAccount.mjs +2 -2
- package/server/Asset.mjs +2 -2
- package/server/Authenticator.mjs +2 -2
- package/server/Customer.mjs +2 -2
- package/server/EconomicEvent.mjs +2 -2
- package/server/NewsArticle.mjs +2 -2
- package/server/NewsArticleAssetSentiment.mjs +2 -2
- package/server/Order.mjs +2 -2
- package/server/Position.mjs +2 -2
- package/server/Session.mjs +2 -2
- package/server/StopLoss.mjs +2 -2
- package/server/TakeProfit.mjs +2 -2
- package/server/Trade.mjs +2 -2
- package/server/User.mjs +2 -2
- package/server/VerificationToken.mjs +2 -2
- package/server/generated/selectionSets/Account.d.ts +1 -1
- package/server/generated/selectionSets/Account.d.ts.map +1 -1
- package/server/generated/selectionSets/Account.js.map +1 -1
- package/server/generated/selectionSets/Account.mjs +2 -2
- package/server/generated/selectionSets/Action.d.ts +1 -1
- package/server/generated/selectionSets/Action.d.ts.map +1 -1
- package/server/generated/selectionSets/Action.js.map +1 -1
- package/server/generated/selectionSets/Action.mjs +2 -2
- package/server/generated/selectionSets/Alert.d.ts +1 -1
- package/server/generated/selectionSets/Alert.d.ts.map +1 -1
- package/server/generated/selectionSets/Alert.js.map +1 -1
- package/server/generated/selectionSets/Alert.mjs +2 -2
- package/server/generated/selectionSets/AlpacaAccount.d.ts +1 -1
- package/server/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
- package/server/generated/selectionSets/AlpacaAccount.js.map +1 -1
- package/server/generated/selectionSets/AlpacaAccount.mjs +2 -2
- package/server/generated/selectionSets/Asset.d.ts +1 -1
- package/server/generated/selectionSets/Asset.d.ts.map +1 -1
- package/server/generated/selectionSets/Asset.js.map +1 -1
- package/server/generated/selectionSets/Asset.mjs +2 -2
- package/server/generated/selectionSets/Authenticator.d.ts +1 -1
- package/server/generated/selectionSets/Authenticator.d.ts.map +1 -1
- package/server/generated/selectionSets/Authenticator.js.map +1 -1
- package/server/generated/selectionSets/Authenticator.mjs +2 -2
- package/server/generated/selectionSets/Customer.d.ts +1 -1
- package/server/generated/selectionSets/Customer.d.ts.map +1 -1
- package/server/generated/selectionSets/Customer.js.map +1 -1
- package/server/generated/selectionSets/Customer.mjs +2 -2
- package/server/generated/selectionSets/EconomicEvent.d.ts +1 -1
- package/server/generated/selectionSets/EconomicEvent.d.ts.map +1 -1
- package/server/generated/selectionSets/EconomicEvent.js.map +1 -1
- package/server/generated/selectionSets/EconomicEvent.mjs +2 -2
- package/server/generated/selectionSets/NewsArticle.d.ts +1 -1
- package/server/generated/selectionSets/NewsArticle.d.ts.map +1 -1
- package/server/generated/selectionSets/NewsArticle.js.map +1 -1
- package/server/generated/selectionSets/NewsArticle.mjs +2 -2
- package/server/generated/selectionSets/NewsArticleAssetSentiment.d.ts +1 -1
- package/server/generated/selectionSets/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/generated/selectionSets/NewsArticleAssetSentiment.js.map +1 -1
- package/server/generated/selectionSets/NewsArticleAssetSentiment.mjs +2 -2
- package/server/generated/selectionSets/Order.d.ts +1 -1
- package/server/generated/selectionSets/Order.d.ts.map +1 -1
- package/server/generated/selectionSets/Order.js.map +1 -1
- package/server/generated/selectionSets/Order.mjs +2 -2
- package/server/generated/selectionSets/Position.d.ts +1 -1
- package/server/generated/selectionSets/Position.d.ts.map +1 -1
- package/server/generated/selectionSets/Position.js.map +1 -1
- package/server/generated/selectionSets/Position.mjs +2 -2
- package/server/generated/selectionSets/Session.d.ts +1 -1
- package/server/generated/selectionSets/Session.d.ts.map +1 -1
- package/server/generated/selectionSets/Session.js.map +1 -1
- package/server/generated/selectionSets/Session.mjs +2 -2
- package/server/generated/selectionSets/StopLoss.d.ts +1 -1
- package/server/generated/selectionSets/StopLoss.d.ts.map +1 -1
- package/server/generated/selectionSets/StopLoss.js.map +1 -1
- package/server/generated/selectionSets/StopLoss.mjs +2 -2
- package/server/generated/selectionSets/TakeProfit.d.ts +1 -1
- package/server/generated/selectionSets/TakeProfit.d.ts.map +1 -1
- package/server/generated/selectionSets/TakeProfit.js.map +1 -1
- package/server/generated/selectionSets/TakeProfit.mjs +2 -2
- package/server/generated/selectionSets/Trade.d.ts +1 -1
- package/server/generated/selectionSets/Trade.d.ts.map +1 -1
- package/server/generated/selectionSets/Trade.js.map +1 -1
- package/server/generated/selectionSets/Trade.mjs +2 -2
- package/server/generated/selectionSets/User.d.ts +1 -1
- package/server/generated/selectionSets/User.d.ts.map +1 -1
- package/server/generated/selectionSets/User.js.map +1 -1
- package/server/generated/selectionSets/User.mjs +2 -2
- package/server/generated/selectionSets/VerificationToken.d.ts +1 -1
- package/server/generated/selectionSets/VerificationToken.d.ts.map +1 -1
- package/server/generated/selectionSets/VerificationToken.js.map +1 -1
- package/server/generated/selectionSets/VerificationToken.mjs +2 -2
package/Account.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Account model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
userId
|
14
14
|
type
|
@@ -181,7 +181,7 @@ id
|
|
181
181
|
openaiAPIKey
|
182
182
|
openaiModel
|
183
183
|
}
|
184
|
-
|
184
|
+
|
185
185
|
`;
|
186
186
|
exports.Account = {
|
187
187
|
/**
|
package/Action.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Action model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
sequence
|
14
14
|
tradeId
|
@@ -164,7 +164,7 @@ id
|
|
164
164
|
stopLossId
|
165
165
|
takeProfitId
|
166
166
|
}
|
167
|
-
|
167
|
+
|
168
168
|
`;
|
169
169
|
exports.Action = {
|
170
170
|
/**
|
package/Alert.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Alert model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
alpacaAccountId
|
14
14
|
message
|
@@ -16,7 +16,7 @@ const selectionSet = `
|
|
16
16
|
isRead
|
17
17
|
createdAt
|
18
18
|
updatedAt
|
19
|
-
|
19
|
+
|
20
20
|
`;
|
21
21
|
exports.Alert = {
|
22
22
|
/**
|
package/AlpacaAccount.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the AlpacaAccount model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
type
|
14
14
|
APIKey
|
@@ -395,7 +395,7 @@ id
|
|
395
395
|
createdAt
|
396
396
|
updatedAt
|
397
397
|
}
|
398
|
-
|
398
|
+
|
399
399
|
`;
|
400
400
|
exports.AlpacaAccount = {
|
401
401
|
/**
|
package/Asset.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Asset model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
symbol
|
14
14
|
name
|
@@ -224,7 +224,7 @@ id
|
|
224
224
|
sentimentScore
|
225
225
|
sentimentLabel
|
226
226
|
}
|
227
|
-
|
227
|
+
|
228
228
|
`;
|
229
229
|
exports.Asset = {
|
230
230
|
/**
|
package/Authenticator.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Authenticator model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
userId
|
14
14
|
credentialID
|
@@ -181,7 +181,7 @@ id
|
|
181
181
|
}
|
182
182
|
createdAt
|
183
183
|
updatedAt
|
184
|
-
|
184
|
+
|
185
185
|
`;
|
186
186
|
exports.Authenticator = {
|
187
187
|
/**
|
package/Customer.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Customer model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
authUserId
|
14
14
|
name
|
@@ -181,7 +181,7 @@ id
|
|
181
181
|
openaiAPIKey
|
182
182
|
openaiModel
|
183
183
|
}
|
184
|
-
|
184
|
+
|
185
185
|
`;
|
186
186
|
exports.Customer = {
|
187
187
|
/**
|
package/EconomicEvent.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the EconomicEvent model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
title
|
14
14
|
description
|
@@ -16,7 +16,7 @@ const selectionSet = `
|
|
16
16
|
importance
|
17
17
|
createdAt
|
18
18
|
updatedAt
|
19
|
-
|
19
|
+
|
20
20
|
`;
|
21
21
|
exports.EconomicEvent = {
|
22
22
|
/**
|
package/NewsArticle.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the NewsArticle model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
title
|
14
14
|
content
|
@@ -94,7 +94,7 @@ const selectionSet = `
|
|
94
94
|
sentimentScore
|
95
95
|
sentimentLabel
|
96
96
|
}
|
97
|
-
|
97
|
+
|
98
98
|
`;
|
99
99
|
exports.NewsArticle = {
|
100
100
|
/**
|
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the NewsArticleAssetSentiment model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
assetId
|
14
14
|
newsArticleId
|
@@ -94,7 +94,7 @@ const selectionSet = `
|
|
94
94
|
relevancyScore
|
95
95
|
sentimentScore
|
96
96
|
sentimentLabel
|
97
|
-
|
97
|
+
|
98
98
|
`;
|
99
99
|
exports.NewsArticleAssetSentiment = {
|
100
100
|
/**
|
package/Order.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Order model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
clientOrderId
|
14
14
|
alpacaAccountId
|
@@ -179,7 +179,7 @@ id
|
|
179
179
|
optionType
|
180
180
|
stopLossId
|
181
181
|
takeProfitId
|
182
|
-
|
182
|
+
|
183
183
|
`;
|
184
184
|
exports.Order = {
|
185
185
|
/**
|
package/Position.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Position model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
assetId
|
14
14
|
asset {
|
@@ -188,7 +188,7 @@ id
|
|
188
188
|
changeToday
|
189
189
|
assetMarginable
|
190
190
|
alpacaAccountId
|
191
|
-
|
191
|
+
|
192
192
|
`;
|
193
193
|
exports.Position = {
|
194
194
|
/**
|
package/Session.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Session model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
sessionToken
|
14
14
|
userId
|
@@ -72,7 +72,7 @@ id
|
|
72
72
|
}
|
73
73
|
createdAt
|
74
74
|
updatedAt
|
75
|
-
|
75
|
+
|
76
76
|
`;
|
77
77
|
exports.Session = {
|
78
78
|
/**
|
package/StopLoss.cjs
CHANGED
package/TakeProfit.cjs
CHANGED
@@ -8,14 +8,14 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the TakeProfit model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
limitPrice
|
14
14
|
stopPrice
|
15
15
|
createdAt
|
16
16
|
updatedAt
|
17
17
|
orderId
|
18
|
-
|
18
|
+
|
19
19
|
`;
|
20
20
|
exports.TakeProfit = {
|
21
21
|
/**
|
package/Trade.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the Trade model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
alpacaAccountId
|
14
14
|
assetId
|
@@ -257,7 +257,7 @@ id
|
|
257
257
|
takeProfitId
|
258
258
|
}
|
259
259
|
}
|
260
|
-
|
260
|
+
|
261
261
|
`;
|
262
262
|
exports.Trade = {
|
263
263
|
/**
|
package/User.cjs
CHANGED
@@ -8,7 +8,7 @@ const utils_1 = require("./utils.cjs");
|
|
8
8
|
* CRUD operations for the User model.
|
9
9
|
*/
|
10
10
|
const selectionSet = `
|
11
|
-
|
11
|
+
|
12
12
|
id
|
13
13
|
name
|
14
14
|
email
|
@@ -329,7 +329,7 @@ id
|
|
329
329
|
}
|
330
330
|
openaiAPIKey
|
331
331
|
openaiModel
|
332
|
-
|
332
|
+
|
333
333
|
`;
|
334
334
|
exports.User = {
|
335
335
|
/**
|
package/VerificationToken.cjs
CHANGED
package/package.json
CHANGED
package/server/Account.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Account model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
userId
|
12
12
|
type
|
@@ -179,7 +179,7 @@ id
|
|
179
179
|
openaiAPIKey
|
180
180
|
openaiModel
|
181
181
|
}
|
182
|
-
|
182
|
+
|
183
183
|
`;
|
184
184
|
export const Account = {
|
185
185
|
/**
|
package/server/Action.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Action model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
sequence
|
12
12
|
tradeId
|
@@ -162,7 +162,7 @@ id
|
|
162
162
|
stopLossId
|
163
163
|
takeProfitId
|
164
164
|
}
|
165
|
-
|
165
|
+
|
166
166
|
`;
|
167
167
|
export const Action = {
|
168
168
|
/**
|
package/server/Alert.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Alert model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
alpacaAccountId
|
12
12
|
message
|
@@ -14,7 +14,7 @@ const selectionSet = `
|
|
14
14
|
isRead
|
15
15
|
createdAt
|
16
16
|
updatedAt
|
17
|
-
|
17
|
+
|
18
18
|
`;
|
19
19
|
export const Alert = {
|
20
20
|
/**
|
package/server/AlpacaAccount.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the AlpacaAccount model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
type
|
12
12
|
APIKey
|
@@ -393,7 +393,7 @@ id
|
|
393
393
|
createdAt
|
394
394
|
updatedAt
|
395
395
|
}
|
396
|
-
|
396
|
+
|
397
397
|
`;
|
398
398
|
export const AlpacaAccount = {
|
399
399
|
/**
|
package/server/Asset.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Asset model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
symbol
|
12
12
|
name
|
@@ -222,7 +222,7 @@ id
|
|
222
222
|
sentimentScore
|
223
223
|
sentimentLabel
|
224
224
|
}
|
225
|
-
|
225
|
+
|
226
226
|
`;
|
227
227
|
export const Asset = {
|
228
228
|
/**
|
package/server/Authenticator.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Authenticator model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
userId
|
12
12
|
credentialID
|
@@ -179,7 +179,7 @@ id
|
|
179
179
|
}
|
180
180
|
createdAt
|
181
181
|
updatedAt
|
182
|
-
|
182
|
+
|
183
183
|
`;
|
184
184
|
export const Authenticator = {
|
185
185
|
/**
|
package/server/Customer.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Customer model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
authUserId
|
12
12
|
name
|
@@ -179,7 +179,7 @@ id
|
|
179
179
|
openaiAPIKey
|
180
180
|
openaiModel
|
181
181
|
}
|
182
|
-
|
182
|
+
|
183
183
|
`;
|
184
184
|
export const Customer = {
|
185
185
|
/**
|
package/server/EconomicEvent.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the EconomicEvent model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
title
|
12
12
|
description
|
@@ -14,7 +14,7 @@ const selectionSet = `
|
|
14
14
|
importance
|
15
15
|
createdAt
|
16
16
|
updatedAt
|
17
|
-
|
17
|
+
|
18
18
|
`;
|
19
19
|
export const EconomicEvent = {
|
20
20
|
/**
|
package/server/NewsArticle.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the NewsArticle model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
title
|
12
12
|
content
|
@@ -92,7 +92,7 @@ const selectionSet = `
|
|
92
92
|
sentimentScore
|
93
93
|
sentimentLabel
|
94
94
|
}
|
95
|
-
|
95
|
+
|
96
96
|
`;
|
97
97
|
export const NewsArticle = {
|
98
98
|
/**
|
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the NewsArticleAssetSentiment model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
assetId
|
12
12
|
newsArticleId
|
@@ -92,7 +92,7 @@ const selectionSet = `
|
|
92
92
|
relevancyScore
|
93
93
|
sentimentScore
|
94
94
|
sentimentLabel
|
95
|
-
|
95
|
+
|
96
96
|
`;
|
97
97
|
export const NewsArticleAssetSentiment = {
|
98
98
|
/**
|
package/server/Order.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Order model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
clientOrderId
|
12
12
|
alpacaAccountId
|
@@ -177,7 +177,7 @@ id
|
|
177
177
|
optionType
|
178
178
|
stopLossId
|
179
179
|
takeProfitId
|
180
|
-
|
180
|
+
|
181
181
|
`;
|
182
182
|
export const Order = {
|
183
183
|
/**
|
package/server/Position.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Position model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
assetId
|
12
12
|
asset {
|
@@ -186,7 +186,7 @@ id
|
|
186
186
|
changeToday
|
187
187
|
assetMarginable
|
188
188
|
alpacaAccountId
|
189
|
-
|
189
|
+
|
190
190
|
`;
|
191
191
|
export const Position = {
|
192
192
|
/**
|
package/server/Session.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Session model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
sessionToken
|
12
12
|
userId
|
@@ -70,7 +70,7 @@ id
|
|
70
70
|
}
|
71
71
|
createdAt
|
72
72
|
updatedAt
|
73
|
-
|
73
|
+
|
74
74
|
`;
|
75
75
|
export const Session = {
|
76
76
|
/**
|
package/server/StopLoss.mjs
CHANGED
@@ -6,14 +6,14 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the StopLoss model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
stopPrice
|
12
12
|
limitPrice
|
13
13
|
createdAt
|
14
14
|
updatedAt
|
15
15
|
orderId
|
16
|
-
|
16
|
+
|
17
17
|
`;
|
18
18
|
export const StopLoss = {
|
19
19
|
/**
|
package/server/TakeProfit.mjs
CHANGED
@@ -6,14 +6,14 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the TakeProfit model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
limitPrice
|
12
12
|
stopPrice
|
13
13
|
createdAt
|
14
14
|
updatedAt
|
15
15
|
orderId
|
16
|
-
|
16
|
+
|
17
17
|
`;
|
18
18
|
export const TakeProfit = {
|
19
19
|
/**
|
package/server/Trade.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the Trade model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
alpacaAccountId
|
12
12
|
assetId
|
@@ -255,7 +255,7 @@ id
|
|
255
255
|
takeProfitId
|
256
256
|
}
|
257
257
|
}
|
258
|
-
|
258
|
+
|
259
259
|
`;
|
260
260
|
export const Trade = {
|
261
261
|
/**
|
package/server/User.mjs
CHANGED
@@ -6,7 +6,7 @@ import { removeUndefinedProps } from './utils.mjs';
|
|
6
6
|
* CRUD operations for the User model.
|
7
7
|
*/
|
8
8
|
const selectionSet = `
|
9
|
-
|
9
|
+
|
10
10
|
id
|
11
11
|
name
|
12
12
|
email
|
@@ -327,7 +327,7 @@ id
|
|
327
327
|
}
|
328
328
|
openaiAPIKey
|
329
329
|
openaiModel
|
330
|
-
|
330
|
+
|
331
331
|
`;
|
332
332
|
export const User = {
|
333
333
|
/**
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const Account = "
|
1
|
+
export declare const Account = "\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\n id\n alpacaAccountId\n assetId\n qty\n price\n total\n optionType\n signal\n strategy\n analysis\n summary\n confidence\n timestamp\n createdAt\n updatedAt\n status\n alpacaAccount {\nid\n }\n asset {\nid\n }\n actions {\nid\n }\n }\n orders {\n id\n clientOrderId\n alpacaAccountId\n assetId\n qty\n notional\n side\n type\n orderClass\n timeInForce\n limitPrice\n stopPrice\n stopLoss {\nid\n }\n takeProfit {\nid\n }\n trailPrice\n trailPercent\n extendedHours\n status\n createdAt\n updatedAt\n submittedAt\n filledAt\n filledAvgPrice\n actionId\n alpacaAccount {\nid\n }\n action {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n assetId\n averageEntryPrice\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n";
|
2
2
|
//# sourceMappingURL=Account.d.ts.map
|