adaptic-backend 1.0.342 → 1.0.343
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 +14 -150
- package/Action.cjs +12 -90
- package/Alert.cjs +12 -60
- package/Allocation.cjs +4 -75
- package/AlpacaAccount.cjs +12 -300
- package/Asset.cjs +50 -839
- package/Authenticator.cjs +12 -63
- package/Customer.cjs +38 -62
- package/EconomicEvent.cjs +12 -75
- package/MarketSentiment.cjs +2 -75
- package/NewsArticle.cjs +14 -195
- package/NewsArticleAssetSentiment.cjs +14 -45
- package/ScheduledOptionOrder.cjs +2 -15
- package/Session.cjs +12 -48
- package/Trade.cjs +22 -210
- package/User.cjs +14 -165
- package/VerificationToken.cjs +2 -33
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +14 -150
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +12 -90
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +12 -60
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +4 -75
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +12 -300
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +50 -839
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +12 -63
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +38 -62
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +12 -75
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +2 -75
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +14 -195
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +14 -45
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +2 -15
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +12 -48
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +22 -210
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +14 -165
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +2 -33
- package/package.json +1 -1
package/esm/Authenticator.mjs
CHANGED
@@ -491,18 +491,8 @@ export const Authenticator = {
|
|
491
491
|
const variables = {
|
492
492
|
where: {
|
493
493
|
id: props.id !== undefined ? props.id : undefined,
|
494
|
-
userId: props.userId !== undefined ?
|
495
|
-
|
496
|
-
equals: props.publicKey
|
497
|
-
} : undefined,
|
498
|
-
counter: props.counter !== undefined ? {
|
499
|
-
equals: props.counter
|
500
|
-
} : undefined,
|
501
|
-
createdAt: props.createdAt !== undefined ? {
|
502
|
-
equals: props.createdAt
|
503
|
-
} : undefined,
|
504
|
-
updatedAt: props.updatedAt !== undefined ? {
|
505
|
-
equals: props.updatedAt
|
494
|
+
userId: props.userId !== undefined ? {
|
495
|
+
equals: props.userId
|
506
496
|
} : undefined,
|
507
497
|
},
|
508
498
|
data: {
|
@@ -1198,18 +1188,8 @@ export const Authenticator = {
|
|
1198
1188
|
const variables = {
|
1199
1189
|
where: {
|
1200
1190
|
id: props.id !== undefined ? props.id : undefined,
|
1201
|
-
userId: props.userId !== undefined ?
|
1202
|
-
|
1203
|
-
equals: props.publicKey
|
1204
|
-
} : undefined,
|
1205
|
-
counter: props.counter !== undefined ? {
|
1206
|
-
equals: props.counter
|
1207
|
-
} : undefined,
|
1208
|
-
createdAt: props.createdAt !== undefined ? {
|
1209
|
-
equals: props.createdAt
|
1210
|
-
} : undefined,
|
1211
|
-
updatedAt: props.updatedAt !== undefined ? {
|
1212
|
-
equals: props.updatedAt
|
1191
|
+
userId: props.userId !== undefined ? {
|
1192
|
+
equals: props.userId
|
1213
1193
|
} : undefined,
|
1214
1194
|
},
|
1215
1195
|
create: {
|
@@ -2088,18 +2068,8 @@ export const Authenticator = {
|
|
2088
2068
|
const variables = props.map(prop => ({
|
2089
2069
|
where: {
|
2090
2070
|
id: prop.id !== undefined ? prop.id : undefined,
|
2091
|
-
userId: prop.userId !== undefined ?
|
2092
|
-
|
2093
|
-
equals: prop.publicKey
|
2094
|
-
} : undefined,
|
2095
|
-
counter: prop.counter !== undefined ? {
|
2096
|
-
equals: prop.counter
|
2097
|
-
} : undefined,
|
2098
|
-
createdAt: prop.createdAt !== undefined ? {
|
2099
|
-
equals: prop.createdAt
|
2100
|
-
} : undefined,
|
2101
|
-
updatedAt: prop.updatedAt !== undefined ? {
|
2102
|
-
equals: prop.updatedAt
|
2071
|
+
userId: prop.userId !== undefined ? {
|
2072
|
+
equals: prop.userId
|
2103
2073
|
} : undefined,
|
2104
2074
|
},
|
2105
2075
|
data: {
|
@@ -2868,18 +2838,8 @@ export const Authenticator = {
|
|
2868
2838
|
const variables = {
|
2869
2839
|
where: whereInput ? whereInput : {
|
2870
2840
|
id: props.id !== undefined ? props.id : undefined,
|
2871
|
-
userId: props.userId !== undefined ?
|
2872
|
-
|
2873
|
-
equals: props.publicKey
|
2874
|
-
} : undefined,
|
2875
|
-
counter: props.counter !== undefined ? {
|
2876
|
-
equals: props.counter
|
2877
|
-
} : undefined,
|
2878
|
-
createdAt: props.createdAt !== undefined ? {
|
2879
|
-
equals: props.createdAt
|
2880
|
-
} : undefined,
|
2881
|
-
updatedAt: props.updatedAt !== undefined ? {
|
2882
|
-
equals: props.updatedAt
|
2841
|
+
userId: props.userId !== undefined ? {
|
2842
|
+
equals: props.userId
|
2883
2843
|
} : undefined,
|
2884
2844
|
},
|
2885
2845
|
};
|
@@ -3013,22 +2973,11 @@ export const Authenticator = {
|
|
3013
2973
|
}`;
|
3014
2974
|
const variables = {
|
3015
2975
|
where: whereInput ? whereInput : {
|
3016
|
-
id: props.id !== undefined ?
|
3017
|
-
|
3018
|
-
credentialID: props.credentialID !== undefined ? {
|
3019
|
-
equals: props.credentialID
|
3020
|
-
} : undefined,
|
3021
|
-
publicKey: props.publicKey !== undefined ? {
|
3022
|
-
equals: props.publicKey
|
3023
|
-
} : undefined,
|
3024
|
-
counter: props.counter !== undefined ? {
|
3025
|
-
equals: props.counter
|
3026
|
-
} : undefined,
|
3027
|
-
createdAt: props.createdAt !== undefined ? {
|
3028
|
-
equals: props.createdAt
|
2976
|
+
id: props.id !== undefined ? {
|
2977
|
+
equals: props.id
|
3029
2978
|
} : undefined,
|
3030
|
-
|
3031
|
-
equals: props.
|
2979
|
+
userId: props.userId !== undefined ? {
|
2980
|
+
equals: props.userId
|
3032
2981
|
} : undefined,
|
3033
2982
|
},
|
3034
2983
|
};
|
package/esm/Customer.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../src/Customer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,QAAQ;IAEnB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,YAAY,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;IAkQlH;;;;;;OAMG;sB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