adaptic-backend 1.0.315 → 1.0.316
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 +4 -4
- package/Account.d.ts +2 -2
- package/Action.cjs +4 -4
- package/Action.d.ts +2 -2
- package/Alert.cjs +4 -4
- package/Alert.d.ts +2 -2
- package/AlpacaAccount.cjs +4 -4
- package/AlpacaAccount.d.ts +2 -2
- package/Asset.cjs +4 -4
- package/Asset.d.ts +2 -2
- package/Authenticator.cjs +4 -4
- package/Authenticator.d.ts +2 -2
- package/Customer.cjs +4 -4
- package/Customer.d.ts +2 -2
- package/EconomicEvent.cjs +4 -4
- package/EconomicEvent.d.ts +2 -2
- package/MarketSentiment.cjs +4 -4
- package/MarketSentiment.d.ts +2 -2
- package/NewsArticle.cjs +4 -4
- package/NewsArticle.d.ts +2 -2
- package/NewsArticleAssetSentiment.cjs +4 -4
- package/NewsArticleAssetSentiment.d.ts +2 -2
- package/ScheduledOptionOrder.cjs +4 -4
- package/ScheduledOptionOrder.d.ts +2 -2
- package/Session.cjs +4 -4
- package/Session.d.ts +2 -2
- package/Trade.cjs +4 -4
- package/Trade.d.ts +2 -2
- package/User.cjs +4 -4
- package/User.d.ts +2 -2
- package/VerificationToken.cjs +4 -4
- package/VerificationToken.d.ts +2 -2
- package/esm/Account.d.ts +2 -2
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +4 -4
- package/esm/Action.d.ts +2 -2
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +4 -4
- package/esm/Alert.d.ts +2 -2
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +4 -4
- package/esm/AlpacaAccount.d.ts +2 -2
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +4 -4
- package/esm/Asset.d.ts +2 -2
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +4 -4
- package/esm/Authenticator.d.ts +2 -2
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +4 -4
- package/esm/Customer.d.ts +2 -2
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +4 -4
- package/esm/EconomicEvent.d.ts +2 -2
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +4 -4
- package/esm/MarketSentiment.d.ts +2 -2
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +4 -4
- package/esm/NewsArticle.d.ts +2 -2
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +4 -4
- package/esm/NewsArticleAssetSentiment.d.ts +2 -2
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +4 -4
- package/esm/ScheduledOptionOrder.d.ts +2 -2
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +4 -4
- package/esm/Session.d.ts +2 -2
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +4 -4
- package/esm/Trade.d.ts +2 -2
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +4 -4
- package/esm/User.d.ts +2 -2
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +4 -4
- package/esm/VerificationToken.d.ts +2 -2
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +4 -4
- package/esm/index.d.ts +32 -32
- package/index.d.ts +32 -32
- 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, whereInput) {
|
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: whereInput ? whereInput : {
|
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, whereInput) {
|
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: whereInput ? whereInput : {
|
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>,
|
56
|
+
get(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
69
|
+
findMany(props: SessionType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<SessionType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=Session.d.ts.map
|
package/Trade.cjs
CHANGED
@@ -679,7 +679,7 @@ exports.Trade = {
|
|
679
679
|
* @param globalClient - Apollo Client instance.
|
680
680
|
* @returns The retrieved Trade or null.
|
681
681
|
*/
|
682
|
-
async get(props, globalClient,
|
682
|
+
async get(props, globalClient, whereInput) {
|
683
683
|
var _a, _b;
|
684
684
|
const [modules, client] = await Promise.all([
|
685
685
|
(0, client_1.getApolloModules)(),
|
@@ -695,7 +695,7 @@ exports.Trade = {
|
|
695
695
|
}
|
696
696
|
}`;
|
697
697
|
const variables = {
|
698
|
-
where:
|
698
|
+
where: whereInput ? whereInput : {
|
699
699
|
id: props.id !== undefined ? props.id : undefined,
|
700
700
|
alpacaAccountId: props.alpacaAccountId !== undefined ? {
|
701
701
|
equals: props.alpacaAccountId
|
@@ -764,7 +764,7 @@ exports.Trade = {
|
|
764
764
|
* @param globalClient - Apollo Client instance.
|
765
765
|
* @returns An array of found Trade records or null.
|
766
766
|
*/
|
767
|
-
async findMany(props, globalClient,
|
767
|
+
async findMany(props, globalClient, whereInput) {
|
768
768
|
const [modules, client] = await Promise.all([
|
769
769
|
(0, client_1.getApolloModules)(),
|
770
770
|
globalClient
|
@@ -779,7 +779,7 @@ exports.Trade = {
|
|
779
779
|
}
|
780
780
|
}`;
|
781
781
|
const variables = {
|
782
|
-
where:
|
782
|
+
where: whereInput ? whereInput : {
|
783
783
|
id: props.id !== undefined ? {
|
784
784
|
equals: props.id
|
785
785
|
} : 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>,
|
56
|
+
get(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
69
|
+
findMany(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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, whereInput) {
|
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: whereInput ? whereInput : {
|
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, whereInput) {
|
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: whereInput ? whereInput : {
|
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>,
|
56
|
+
get(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
69
|
+
findMany(props: UserType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<UserType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=User.d.ts.map
|
package/VerificationToken.cjs
CHANGED
@@ -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, whereInput) {
|
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: whereInput ? whereInput : {
|
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, whereInput) {
|
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: whereInput ? whereInput : {
|
420
420
|
id: props.id !== undefined ? {
|
421
421
|
equals: props.id
|
422
422
|
} : undefined,
|
package/VerificationToken.d.ts
CHANGED
@@ -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>,
|
56
|
+
get(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
69
|
+
findMany(props: VerificationTokenType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
56
|
+
get(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: 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>,
|
69
|
+
findMany(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<AccountType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=Account.d.ts.map
|
package/esm/Account.d.ts.map
CHANGED
@@ -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,CA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