adaptic-backend 1.0.81 → 1.0.82
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 +972 -306
- package/Action.cjs +990 -612
- package/Alert.cjs +558 -378
- package/AlpacaAccount.cjs +180 -72
- package/Asset.cjs +342 -72
- package/Authenticator.cjs +972 -306
- package/Customer.cjs +972 -306
- package/NewsArticle.cjs +1002 -306
- package/NewsArticleAssetSentiment.cjs +864 -378
- package/Order.cjs +306 -126
- package/Position.cjs +738 -252
- package/Session.cjs +972 -306
- package/Trade.cjs +306 -126
- package/User.cjs +558 -378
- package/package.json +1 -1
- package/server/Account.d.ts.map +1 -1
- package/server/Account.js.map +1 -1
- package/server/Account.mjs +972 -306
- package/server/Action.d.ts.map +1 -1
- package/server/Action.js.map +1 -1
- package/server/Action.mjs +990 -612
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +558 -378
- package/server/AlpacaAccount.d.ts.map +1 -1
- package/server/AlpacaAccount.js.map +1 -1
- package/server/AlpacaAccount.mjs +180 -72
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +342 -72
- package/server/Authenticator.d.ts.map +1 -1
- package/server/Authenticator.js.map +1 -1
- package/server/Authenticator.mjs +972 -306
- package/server/Customer.d.ts.map +1 -1
- package/server/Customer.js.map +1 -1
- package/server/Customer.mjs +972 -306
- package/server/NewsArticle.d.ts.map +1 -1
- package/server/NewsArticle.js.map +1 -1
- package/server/NewsArticle.mjs +1002 -306
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +864 -378
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +306 -126
- package/server/Position.d.ts.map +1 -1
- package/server/Position.js.map +1 -1
- package/server/Position.mjs +738 -252
- package/server/Session.d.ts.map +1 -1
- package/server/Session.js.map +1 -1
- package/server/Session.mjs +972 -306
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +306 -126
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +558 -378
package/server/Asset.mjs
CHANGED
@@ -110,16 +110,61 @@ export const Asset = {
|
|
110
110
|
currentAccount
|
111
111
|
customer {
|
112
112
|
id
|
113
|
+
authUserId
|
114
|
+
name
|
115
|
+
plan
|
116
|
+
stripeCustomerId
|
117
|
+
stripeSubscriptionId
|
118
|
+
stripePriceId
|
119
|
+
stripeCurrentPeriodEnd
|
120
|
+
createdAt
|
121
|
+
updatedAt
|
122
|
+
users {
|
123
|
+
id
|
124
|
+
}
|
113
125
|
}
|
114
126
|
customerId
|
115
127
|
accounts {
|
116
128
|
id
|
129
|
+
userId
|
130
|
+
type
|
131
|
+
provider
|
132
|
+
providerAccountId
|
133
|
+
refresh_token
|
134
|
+
access_token
|
135
|
+
expires_at
|
136
|
+
token_type
|
137
|
+
scope
|
138
|
+
id_token
|
139
|
+
session_state
|
140
|
+
createdAt
|
141
|
+
updatedAt
|
142
|
+
user {
|
143
|
+
id
|
144
|
+
}
|
117
145
|
}
|
118
146
|
sessions {
|
119
147
|
id
|
148
|
+
sessionToken
|
149
|
+
userId
|
150
|
+
expires
|
151
|
+
user {
|
152
|
+
id
|
153
|
+
}
|
154
|
+
createdAt
|
155
|
+
updatedAt
|
120
156
|
}
|
121
157
|
authenticators {
|
122
158
|
id
|
159
|
+
userId
|
160
|
+
credentialID
|
161
|
+
publicKey
|
162
|
+
counter
|
163
|
+
user {
|
164
|
+
id
|
165
|
+
}
|
166
|
+
createdAt
|
167
|
+
updatedAt
|
123
168
|
}
|
124
169
|
plan
|
125
170
|
alpacaAccounts {
|
@@ -159,6 +204,18 @@ export const Asset = {
|
|
159
204
|
}
|
160
205
|
action {
|
161
206
|
id
|
207
|
+
sequence
|
208
|
+
tradeId
|
209
|
+
type
|
210
|
+
note
|
211
|
+
status
|
212
|
+
fee
|
213
|
+
trade {
|
214
|
+
id
|
215
|
+
}
|
216
|
+
order {
|
217
|
+
id
|
218
|
+
}
|
162
219
|
}
|
163
220
|
asset {
|
164
221
|
id
|
@@ -208,18 +265,6 @@ export const Asset = {
|
|
208
265
|
optionContractType
|
209
266
|
actions {
|
210
267
|
id
|
211
|
-
sequence
|
212
|
-
tradeId
|
213
|
-
type
|
214
|
-
note
|
215
|
-
status
|
216
|
-
fee
|
217
|
-
trade {
|
218
|
-
id
|
219
|
-
}
|
220
|
-
order {
|
221
|
-
id
|
222
|
-
}
|
223
268
|
}
|
224
269
|
}
|
225
270
|
orders {
|
@@ -1107,16 +1152,61 @@ export const Asset = {
|
|
1107
1152
|
currentAccount
|
1108
1153
|
customer {
|
1109
1154
|
id
|
1155
|
+
authUserId
|
1156
|
+
name
|
1157
|
+
plan
|
1158
|
+
stripeCustomerId
|
1159
|
+
stripeSubscriptionId
|
1160
|
+
stripePriceId
|
1161
|
+
stripeCurrentPeriodEnd
|
1162
|
+
createdAt
|
1163
|
+
updatedAt
|
1164
|
+
users {
|
1165
|
+
id
|
1166
|
+
}
|
1110
1167
|
}
|
1111
1168
|
customerId
|
1112
1169
|
accounts {
|
1113
1170
|
id
|
1171
|
+
userId
|
1172
|
+
type
|
1173
|
+
provider
|
1174
|
+
providerAccountId
|
1175
|
+
refresh_token
|
1176
|
+
access_token
|
1177
|
+
expires_at
|
1178
|
+
token_type
|
1179
|
+
scope
|
1180
|
+
id_token
|
1181
|
+
session_state
|
1182
|
+
createdAt
|
1183
|
+
updatedAt
|
1184
|
+
user {
|
1185
|
+
id
|
1186
|
+
}
|
1114
1187
|
}
|
1115
1188
|
sessions {
|
1116
1189
|
id
|
1190
|
+
sessionToken
|
1191
|
+
userId
|
1192
|
+
expires
|
1193
|
+
user {
|
1194
|
+
id
|
1195
|
+
}
|
1196
|
+
createdAt
|
1197
|
+
updatedAt
|
1117
1198
|
}
|
1118
1199
|
authenticators {
|
1119
1200
|
id
|
1201
|
+
userId
|
1202
|
+
credentialID
|
1203
|
+
publicKey
|
1204
|
+
counter
|
1205
|
+
user {
|
1206
|
+
id
|
1207
|
+
}
|
1208
|
+
createdAt
|
1209
|
+
updatedAt
|
1120
1210
|
}
|
1121
1211
|
plan
|
1122
1212
|
alpacaAccounts {
|
@@ -1156,6 +1246,18 @@ export const Asset = {
|
|
1156
1246
|
}
|
1157
1247
|
action {
|
1158
1248
|
id
|
1249
|
+
sequence
|
1250
|
+
tradeId
|
1251
|
+
type
|
1252
|
+
note
|
1253
|
+
status
|
1254
|
+
fee
|
1255
|
+
trade {
|
1256
|
+
id
|
1257
|
+
}
|
1258
|
+
order {
|
1259
|
+
id
|
1260
|
+
}
|
1159
1261
|
}
|
1160
1262
|
asset {
|
1161
1263
|
id
|
@@ -1205,18 +1307,6 @@ export const Asset = {
|
|
1205
1307
|
optionContractType
|
1206
1308
|
actions {
|
1207
1309
|
id
|
1208
|
-
sequence
|
1209
|
-
tradeId
|
1210
|
-
type
|
1211
|
-
note
|
1212
|
-
status
|
1213
|
-
fee
|
1214
|
-
trade {
|
1215
|
-
id
|
1216
|
-
}
|
1217
|
-
order {
|
1218
|
-
id
|
1219
|
-
}
|
1220
1310
|
}
|
1221
1311
|
}
|
1222
1312
|
orders {
|
@@ -5951,16 +6041,61 @@ export const Asset = {
|
|
5951
6041
|
currentAccount
|
5952
6042
|
customer {
|
5953
6043
|
id
|
6044
|
+
authUserId
|
6045
|
+
name
|
6046
|
+
plan
|
6047
|
+
stripeCustomerId
|
6048
|
+
stripeSubscriptionId
|
6049
|
+
stripePriceId
|
6050
|
+
stripeCurrentPeriodEnd
|
6051
|
+
createdAt
|
6052
|
+
updatedAt
|
6053
|
+
users {
|
6054
|
+
id
|
6055
|
+
}
|
5954
6056
|
}
|
5955
6057
|
customerId
|
5956
6058
|
accounts {
|
5957
6059
|
id
|
6060
|
+
userId
|
6061
|
+
type
|
6062
|
+
provider
|
6063
|
+
providerAccountId
|
6064
|
+
refresh_token
|
6065
|
+
access_token
|
6066
|
+
expires_at
|
6067
|
+
token_type
|
6068
|
+
scope
|
6069
|
+
id_token
|
6070
|
+
session_state
|
6071
|
+
createdAt
|
6072
|
+
updatedAt
|
6073
|
+
user {
|
6074
|
+
id
|
6075
|
+
}
|
5958
6076
|
}
|
5959
6077
|
sessions {
|
5960
6078
|
id
|
6079
|
+
sessionToken
|
6080
|
+
userId
|
6081
|
+
expires
|
6082
|
+
user {
|
6083
|
+
id
|
6084
|
+
}
|
6085
|
+
createdAt
|
6086
|
+
updatedAt
|
5961
6087
|
}
|
5962
6088
|
authenticators {
|
5963
6089
|
id
|
6090
|
+
userId
|
6091
|
+
credentialID
|
6092
|
+
publicKey
|
6093
|
+
counter
|
6094
|
+
user {
|
6095
|
+
id
|
6096
|
+
}
|
6097
|
+
createdAt
|
6098
|
+
updatedAt
|
5964
6099
|
}
|
5965
6100
|
plan
|
5966
6101
|
alpacaAccounts {
|
@@ -6000,6 +6135,18 @@ export const Asset = {
|
|
6000
6135
|
}
|
6001
6136
|
action {
|
6002
6137
|
id
|
6138
|
+
sequence
|
6139
|
+
tradeId
|
6140
|
+
type
|
6141
|
+
note
|
6142
|
+
status
|
6143
|
+
fee
|
6144
|
+
trade {
|
6145
|
+
id
|
6146
|
+
}
|
6147
|
+
order {
|
6148
|
+
id
|
6149
|
+
}
|
6003
6150
|
}
|
6004
6151
|
asset {
|
6005
6152
|
id
|
@@ -6049,18 +6196,6 @@ export const Asset = {
|
|
6049
6196
|
optionContractType
|
6050
6197
|
actions {
|
6051
6198
|
id
|
6052
|
-
sequence
|
6053
|
-
tradeId
|
6054
|
-
type
|
6055
|
-
note
|
6056
|
-
status
|
6057
|
-
fee
|
6058
|
-
trade {
|
6059
|
-
id
|
6060
|
-
}
|
6061
|
-
order {
|
6062
|
-
id
|
6063
|
-
}
|
6064
6199
|
}
|
6065
6200
|
}
|
6066
6201
|
orders {
|
@@ -6230,16 +6365,61 @@ export const Asset = {
|
|
6230
6365
|
currentAccount
|
6231
6366
|
customer {
|
6232
6367
|
id
|
6368
|
+
authUserId
|
6369
|
+
name
|
6370
|
+
plan
|
6371
|
+
stripeCustomerId
|
6372
|
+
stripeSubscriptionId
|
6373
|
+
stripePriceId
|
6374
|
+
stripeCurrentPeriodEnd
|
6375
|
+
createdAt
|
6376
|
+
updatedAt
|
6377
|
+
users {
|
6378
|
+
id
|
6379
|
+
}
|
6233
6380
|
}
|
6234
6381
|
customerId
|
6235
6382
|
accounts {
|
6236
6383
|
id
|
6384
|
+
userId
|
6385
|
+
type
|
6386
|
+
provider
|
6387
|
+
providerAccountId
|
6388
|
+
refresh_token
|
6389
|
+
access_token
|
6390
|
+
expires_at
|
6391
|
+
token_type
|
6392
|
+
scope
|
6393
|
+
id_token
|
6394
|
+
session_state
|
6395
|
+
createdAt
|
6396
|
+
updatedAt
|
6397
|
+
user {
|
6398
|
+
id
|
6399
|
+
}
|
6237
6400
|
}
|
6238
6401
|
sessions {
|
6239
6402
|
id
|
6403
|
+
sessionToken
|
6404
|
+
userId
|
6405
|
+
expires
|
6406
|
+
user {
|
6407
|
+
id
|
6408
|
+
}
|
6409
|
+
createdAt
|
6410
|
+
updatedAt
|
6240
6411
|
}
|
6241
6412
|
authenticators {
|
6242
6413
|
id
|
6414
|
+
userId
|
6415
|
+
credentialID
|
6416
|
+
publicKey
|
6417
|
+
counter
|
6418
|
+
user {
|
6419
|
+
id
|
6420
|
+
}
|
6421
|
+
createdAt
|
6422
|
+
updatedAt
|
6243
6423
|
}
|
6244
6424
|
plan
|
6245
6425
|
alpacaAccounts {
|
@@ -6279,6 +6459,18 @@ export const Asset = {
|
|
6279
6459
|
}
|
6280
6460
|
action {
|
6281
6461
|
id
|
6462
|
+
sequence
|
6463
|
+
tradeId
|
6464
|
+
type
|
6465
|
+
note
|
6466
|
+
status
|
6467
|
+
fee
|
6468
|
+
trade {
|
6469
|
+
id
|
6470
|
+
}
|
6471
|
+
order {
|
6472
|
+
id
|
6473
|
+
}
|
6282
6474
|
}
|
6283
6475
|
asset {
|
6284
6476
|
id
|
@@ -6328,18 +6520,6 @@ export const Asset = {
|
|
6328
6520
|
optionContractType
|
6329
6521
|
actions {
|
6330
6522
|
id
|
6331
|
-
sequence
|
6332
|
-
tradeId
|
6333
|
-
type
|
6334
|
-
note
|
6335
|
-
status
|
6336
|
-
fee
|
6337
|
-
trade {
|
6338
|
-
id
|
6339
|
-
}
|
6340
|
-
order {
|
6341
|
-
id
|
6342
|
-
}
|
6343
6523
|
}
|
6344
6524
|
}
|
6345
6525
|
orders {
|
@@ -6510,16 +6690,61 @@ export const Asset = {
|
|
6510
6690
|
currentAccount
|
6511
6691
|
customer {
|
6512
6692
|
id
|
6693
|
+
authUserId
|
6694
|
+
name
|
6695
|
+
plan
|
6696
|
+
stripeCustomerId
|
6697
|
+
stripeSubscriptionId
|
6698
|
+
stripePriceId
|
6699
|
+
stripeCurrentPeriodEnd
|
6700
|
+
createdAt
|
6701
|
+
updatedAt
|
6702
|
+
users {
|
6703
|
+
id
|
6704
|
+
}
|
6513
6705
|
}
|
6514
6706
|
customerId
|
6515
6707
|
accounts {
|
6516
6708
|
id
|
6709
|
+
userId
|
6710
|
+
type
|
6711
|
+
provider
|
6712
|
+
providerAccountId
|
6713
|
+
refresh_token
|
6714
|
+
access_token
|
6715
|
+
expires_at
|
6716
|
+
token_type
|
6717
|
+
scope
|
6718
|
+
id_token
|
6719
|
+
session_state
|
6720
|
+
createdAt
|
6721
|
+
updatedAt
|
6722
|
+
user {
|
6723
|
+
id
|
6724
|
+
}
|
6517
6725
|
}
|
6518
6726
|
sessions {
|
6519
6727
|
id
|
6728
|
+
sessionToken
|
6729
|
+
userId
|
6730
|
+
expires
|
6731
|
+
user {
|
6732
|
+
id
|
6733
|
+
}
|
6734
|
+
createdAt
|
6735
|
+
updatedAt
|
6520
6736
|
}
|
6521
6737
|
authenticators {
|
6522
6738
|
id
|
6739
|
+
userId
|
6740
|
+
credentialID
|
6741
|
+
publicKey
|
6742
|
+
counter
|
6743
|
+
user {
|
6744
|
+
id
|
6745
|
+
}
|
6746
|
+
createdAt
|
6747
|
+
updatedAt
|
6523
6748
|
}
|
6524
6749
|
plan
|
6525
6750
|
alpacaAccounts {
|
@@ -6559,6 +6784,18 @@ export const Asset = {
|
|
6559
6784
|
}
|
6560
6785
|
action {
|
6561
6786
|
id
|
6787
|
+
sequence
|
6788
|
+
tradeId
|
6789
|
+
type
|
6790
|
+
note
|
6791
|
+
status
|
6792
|
+
fee
|
6793
|
+
trade {
|
6794
|
+
id
|
6795
|
+
}
|
6796
|
+
order {
|
6797
|
+
id
|
6798
|
+
}
|
6562
6799
|
}
|
6563
6800
|
asset {
|
6564
6801
|
id
|
@@ -6608,18 +6845,6 @@ export const Asset = {
|
|
6608
6845
|
optionContractType
|
6609
6846
|
actions {
|
6610
6847
|
id
|
6611
|
-
sequence
|
6612
|
-
tradeId
|
6613
|
-
type
|
6614
|
-
note
|
6615
|
-
status
|
6616
|
-
fee
|
6617
|
-
trade {
|
6618
|
-
id
|
6619
|
-
}
|
6620
|
-
order {
|
6621
|
-
id
|
6622
|
-
}
|
6623
6848
|
}
|
6624
6849
|
}
|
6625
6850
|
orders {
|
@@ -6783,16 +7008,61 @@ export const Asset = {
|
|
6783
7008
|
currentAccount
|
6784
7009
|
customer {
|
6785
7010
|
id
|
7011
|
+
authUserId
|
7012
|
+
name
|
7013
|
+
plan
|
7014
|
+
stripeCustomerId
|
7015
|
+
stripeSubscriptionId
|
7016
|
+
stripePriceId
|
7017
|
+
stripeCurrentPeriodEnd
|
7018
|
+
createdAt
|
7019
|
+
updatedAt
|
7020
|
+
users {
|
7021
|
+
id
|
7022
|
+
}
|
6786
7023
|
}
|
6787
7024
|
customerId
|
6788
7025
|
accounts {
|
6789
7026
|
id
|
7027
|
+
userId
|
7028
|
+
type
|
7029
|
+
provider
|
7030
|
+
providerAccountId
|
7031
|
+
refresh_token
|
7032
|
+
access_token
|
7033
|
+
expires_at
|
7034
|
+
token_type
|
7035
|
+
scope
|
7036
|
+
id_token
|
7037
|
+
session_state
|
7038
|
+
createdAt
|
7039
|
+
updatedAt
|
7040
|
+
user {
|
7041
|
+
id
|
7042
|
+
}
|
6790
7043
|
}
|
6791
7044
|
sessions {
|
6792
7045
|
id
|
7046
|
+
sessionToken
|
7047
|
+
userId
|
7048
|
+
expires
|
7049
|
+
user {
|
7050
|
+
id
|
7051
|
+
}
|
7052
|
+
createdAt
|
7053
|
+
updatedAt
|
6793
7054
|
}
|
6794
7055
|
authenticators {
|
6795
7056
|
id
|
7057
|
+
userId
|
7058
|
+
credentialID
|
7059
|
+
publicKey
|
7060
|
+
counter
|
7061
|
+
user {
|
7062
|
+
id
|
7063
|
+
}
|
7064
|
+
createdAt
|
7065
|
+
updatedAt
|
6796
7066
|
}
|
6797
7067
|
plan
|
6798
7068
|
alpacaAccounts {
|
@@ -6832,6 +7102,18 @@ export const Asset = {
|
|
6832
7102
|
}
|
6833
7103
|
action {
|
6834
7104
|
id
|
7105
|
+
sequence
|
7106
|
+
tradeId
|
7107
|
+
type
|
7108
|
+
note
|
7109
|
+
status
|
7110
|
+
fee
|
7111
|
+
trade {
|
7112
|
+
id
|
7113
|
+
}
|
7114
|
+
order {
|
7115
|
+
id
|
7116
|
+
}
|
6835
7117
|
}
|
6836
7118
|
asset {
|
6837
7119
|
id
|
@@ -6881,18 +7163,6 @@ export const Asset = {
|
|
6881
7163
|
optionContractType
|
6882
7164
|
actions {
|
6883
7165
|
id
|
6884
|
-
sequence
|
6885
|
-
tradeId
|
6886
|
-
type
|
6887
|
-
note
|
6888
|
-
status
|
6889
|
-
fee
|
6890
|
-
trade {
|
6891
|
-
id
|
6892
|
-
}
|
6893
|
-
order {
|
6894
|
-
id
|
6895
|
-
}
|
6896
7166
|
}
|
6897
7167
|
}
|
6898
7168
|
orders {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../src/Authenticator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AAKzG;;GAEG;AAEH,eAAO,MAAM,aAAa;IAExB;;;;OAIG;kBAEiB,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../src/Authenticator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AAKzG;;GAEG;AAEH,eAAO,MAAM,aAAa;IAExB;;;;OAIG;kBAEiB,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAshBlE;;;;OAIG;sBACqB,iBAAiB,EAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAoC/E;;;;OAIG;kBACiB,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAiiClE;;;;OAIG;sBACqB,iBAAiB,EAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAmwB/E;;;;OAIG;kBACiB,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAkUlE;;;;OAIG;eACc,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAiUtE;;;OAGG;cACa,OAAO,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC;IA0TnD;;;;OAIG;oBACmB,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC;CAuU9E,CAAC"}
|