adaptic-backend 1.0.277 → 1.0.278
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 +10 -11
- package/Account.d.ts +10 -10
- package/Action.cjs +10 -11
- package/Action.d.ts +10 -10
- package/Alert.cjs +10 -11
- package/Alert.d.ts +10 -10
- package/AlpacaAccount.cjs +10 -11
- package/AlpacaAccount.d.ts +10 -10
- package/Asset.cjs +10 -11
- package/Asset.d.ts +10 -10
- package/Authenticator.cjs +10 -11
- package/Authenticator.d.ts +10 -10
- package/Contract.cjs +10 -11
- package/Contract.d.ts +10 -10
- package/Customer.cjs +10 -11
- package/Customer.d.ts +10 -10
- package/Deliverable.cjs +10 -11
- package/Deliverable.d.ts +10 -10
- package/EconomicEvent.cjs +10 -11
- package/EconomicEvent.d.ts +10 -10
- package/MarketSentiment.cjs +10 -11
- package/MarketSentiment.d.ts +10 -10
- package/NewsArticle.cjs +10 -11
- package/NewsArticle.d.ts +10 -10
- package/NewsArticleAssetSentiment.cjs +10 -11
- package/NewsArticleAssetSentiment.d.ts +10 -10
- package/Order.cjs +10 -11
- package/Order.d.ts +10 -10
- package/Position.cjs +10 -11
- package/Position.d.ts +10 -10
- package/ScheduledOptionOrder.cjs +10 -11
- package/ScheduledOptionOrder.d.ts +10 -10
- package/Session.cjs +10 -11
- package/Session.d.ts +10 -10
- package/StopLoss.cjs +10 -11
- package/StopLoss.d.ts +10 -10
- package/TakeProfit.cjs +10 -11
- package/TakeProfit.d.ts +10 -10
- package/Trade.cjs +10 -11
- package/Trade.d.ts +10 -10
- package/User.cjs +10 -11
- package/User.d.ts +10 -10
- package/VerificationToken.cjs +10 -11
- package/VerificationToken.d.ts +10 -10
- package/client.cjs +49 -9
- package/client.d.ts +15 -3
- package/generated/typeStrings/User.cjs +5 -1
- package/generated/typeStrings/User.d.ts +1 -1
- package/generated/typeStrings/User.d.ts.map +1 -1
- package/generated/typeStrings/User.js.map +1 -1
- package/generated/typeStrings/index.d.ts +1 -1
- package/generated/typegraphql-prisma/enums/OpenaiModel.cjs +3 -1
- package/generated/typegraphql-prisma/enums/OpenaiModel.d.ts +4 -2
- package/generated/typegraphql-prisma/enums/OpenaiModel.d.ts.map +1 -1
- package/generated/typegraphql-prisma/enums/OpenaiModel.js.map +1 -1
- package/generated/typegraphql-prisma/models/User.d.ts +1 -1
- package/generated/typegraphql-prisma/models/User.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/User.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts +3 -3
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts +3 -3
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.js.map +1 -1
- package/index.d.ts +198 -198
- package/package.json +1 -1
- package/server/Account.d.ts +10 -10
- package/server/Account.d.ts.map +1 -1
- package/server/Account.js.map +1 -1
- package/server/Account.mjs +1 -3
- package/server/Action.d.ts +10 -10
- package/server/Action.d.ts.map +1 -1
- package/server/Action.js.map +1 -1
- package/server/Action.mjs +1 -3
- package/server/Alert.d.ts +10 -10
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +1 -3
- package/server/AlpacaAccount.d.ts +10 -10
- package/server/AlpacaAccount.d.ts.map +1 -1
- package/server/AlpacaAccount.js.map +1 -1
- package/server/AlpacaAccount.mjs +1 -3
- package/server/Asset.d.ts +10 -10
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +1 -3
- package/server/Authenticator.d.ts +10 -10
- package/server/Authenticator.d.ts.map +1 -1
- package/server/Authenticator.js.map +1 -1
- package/server/Authenticator.mjs +1 -3
- package/server/Contract.d.ts +10 -10
- package/server/Contract.d.ts.map +1 -1
- package/server/Contract.js.map +1 -1
- package/server/Contract.mjs +1 -3
- package/server/Customer.d.ts +10 -10
- package/server/Customer.d.ts.map +1 -1
- package/server/Customer.js.map +1 -1
- package/server/Customer.mjs +1 -3
- package/server/Deliverable.d.ts +10 -10
- package/server/Deliverable.d.ts.map +1 -1
- package/server/Deliverable.js.map +1 -1
- package/server/Deliverable.mjs +1 -3
- package/server/EconomicEvent.d.ts +10 -10
- package/server/EconomicEvent.d.ts.map +1 -1
- package/server/EconomicEvent.js.map +1 -1
- package/server/EconomicEvent.mjs +1 -3
- package/server/MarketSentiment.d.ts +10 -10
- package/server/MarketSentiment.d.ts.map +1 -1
- package/server/MarketSentiment.js.map +1 -1
- package/server/MarketSentiment.mjs +1 -3
- package/server/NewsArticle.d.ts +10 -10
- package/server/NewsArticle.d.ts.map +1 -1
- package/server/NewsArticle.js.map +1 -1
- package/server/NewsArticle.mjs +1 -3
- package/server/NewsArticleAssetSentiment.d.ts +10 -10
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +1 -3
- package/server/Order.d.ts +10 -10
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +1 -3
- package/server/Position.d.ts +10 -10
- package/server/Position.d.ts.map +1 -1
- package/server/Position.js.map +1 -1
- package/server/Position.mjs +1 -3
- package/server/ScheduledOptionOrder.d.ts +10 -10
- package/server/ScheduledOptionOrder.d.ts.map +1 -1
- package/server/ScheduledOptionOrder.js.map +1 -1
- package/server/ScheduledOptionOrder.mjs +1 -3
- package/server/Session.d.ts +10 -10
- package/server/Session.d.ts.map +1 -1
- package/server/Session.js.map +1 -1
- package/server/Session.mjs +1 -3
- package/server/StopLoss.d.ts +10 -10
- package/server/StopLoss.d.ts.map +1 -1
- package/server/StopLoss.js.map +1 -1
- package/server/StopLoss.mjs +1 -3
- package/server/TakeProfit.d.ts +10 -10
- package/server/TakeProfit.d.ts.map +1 -1
- package/server/TakeProfit.js.map +1 -1
- package/server/TakeProfit.mjs +1 -3
- package/server/Trade.d.ts +10 -10
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +1 -3
- package/server/User.d.ts +10 -10
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +1 -3
- package/server/VerificationToken.d.ts +10 -10
- package/server/VerificationToken.d.ts.map +1 -1
- package/server/VerificationToken.js.map +1 -1
- package/server/VerificationToken.mjs +1 -3
- package/server/client.d.ts +15 -3
- package/server/client.d.ts.map +1 -1
- package/server/client.js.map +1 -1
- package/server/client.mjs +49 -8
- package/server/generated/typeStrings/User.d.ts +1 -1
- package/server/generated/typeStrings/User.d.ts.map +1 -1
- package/server/generated/typeStrings/User.js.map +1 -1
- package/server/generated/typeStrings/User.mjs +5 -1
- package/server/generated/typeStrings/index.d.ts +1 -1
- package/server/generated/typegraphql-prisma/enums/OpenaiModel.d.ts +4 -2
- package/server/generated/typegraphql-prisma/enums/OpenaiModel.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/enums/OpenaiModel.js.map +1 -1
- package/server/generated/typegraphql-prisma/enums/OpenaiModel.mjs +3 -1
- package/server/generated/typegraphql-prisma/models/User.d.ts +1 -1
- package/server/generated/typegraphql-prisma/models/User.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/models/User.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts +3 -3
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableFilter.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts +3 -3
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableFilter.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts +3 -3
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOpenaiModelNullableWithAggregatesFilter.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/NullableEnumOpenaiModelFieldUpdateOperationsInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyCustomerInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateManyInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAccountsInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAlpacaAccountsInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutAuthenticatorsInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutCustomerInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/UserCreateWithoutSessionsInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnUser.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserGroupBy.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMaxAggregate.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/UserMinAggregate.js.map +1 -1
- package/server/index.d.ts +198 -198
package/Account.cjs
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Account = void 0;
|
4
|
-
const client_1 = require("
|
5
|
-
const client_2 = require("./client.cjs");
|
4
|
+
const client_1 = require("./client.cjs");
|
6
5
|
const utils_1 = require("./utils.cjs");
|
7
6
|
/**
|
8
7
|
* CRUD operations for the Account model.
|
@@ -211,7 +210,7 @@ exports.Account = {
|
|
211
210
|
* @returns The created Account or null.
|
212
211
|
*/
|
213
212
|
async create(props, globalClient) {
|
214
|
-
const client = globalClient ||
|
213
|
+
const client = globalClient || client_1.client;
|
215
214
|
const CREATE_ONE_ACCOUNT = (0, client_1.gql) `
|
216
215
|
mutation createOneAccount($data: AccountCreateInput!) {
|
217
216
|
createOneAccount(data: $data) {
|
@@ -528,7 +527,7 @@ exports.Account = {
|
|
528
527
|
* @returns The count of created records or null.
|
529
528
|
*/
|
530
529
|
async createMany(props, globalClient) {
|
531
|
-
const client = globalClient ||
|
530
|
+
const client = globalClient || client_1.client;
|
532
531
|
const CREATE_MANY_ACCOUNT = (0, client_1.gql) `
|
533
532
|
mutation createManyAccount($data: [AccountCreateManyInput!]!) {
|
534
533
|
createManyAccount(data: $data) {
|
@@ -574,7 +573,7 @@ exports.Account = {
|
|
574
573
|
* @returns The updated Account or null.
|
575
574
|
*/
|
576
575
|
async update(props, globalClient) {
|
577
|
-
const client = globalClient ||
|
576
|
+
const client = globalClient || client_1.client;
|
578
577
|
const UPDATE_ONE_ACCOUNT = (0, client_1.gql) `
|
579
578
|
mutation updateOneAccount($data: AccountUpdateInput!, $where: AccountWhereUniqueInput!) {
|
580
579
|
updateOneAccount(data: $data, where: $where) {
|
@@ -1676,7 +1675,7 @@ exports.Account = {
|
|
1676
1675
|
* @returns The updated Account or null.
|
1677
1676
|
*/
|
1678
1677
|
async upsert(props, globalClient) {
|
1679
|
-
const client = globalClient ||
|
1678
|
+
const client = globalClient || client_1.client;
|
1680
1679
|
const UPSERT_ONE_ACCOUNT = (0, client_1.gql) `
|
1681
1680
|
mutation upsertOneAccount($where: AccountWhereUniqueInput!, $create: AccountCreateInput!, $update: AccountUpdateInput!) {
|
1682
1681
|
upsertOneAccount(where: $where, create: $create, update: $update) {
|
@@ -3052,7 +3051,7 @@ exports.Account = {
|
|
3052
3051
|
* @returns The count of created records or null.
|
3053
3052
|
*/
|
3054
3053
|
async updateMany(props, globalClient) {
|
3055
|
-
const client = globalClient ||
|
3054
|
+
const client = globalClient || client_1.client;
|
3056
3055
|
const UPDATE_MANY_ACCOUNT = (0, client_1.gql) `
|
3057
3056
|
mutation updateManyAccount($data: [AccountCreateManyInput!]!) {
|
3058
3057
|
updateManyAccount(data: $data) {
|
@@ -4154,7 +4153,7 @@ exports.Account = {
|
|
4154
4153
|
* @returns The deleted Account or null.
|
4155
4154
|
*/
|
4156
4155
|
async delete(props, globalClient) {
|
4157
|
-
const client = globalClient ||
|
4156
|
+
const client = globalClient || client_1.client;
|
4158
4157
|
const DELETE_ONE_ACCOUNT = (0, client_1.gql) `
|
4159
4158
|
mutation deleteOneAccount($where: AccountWhereUniqueInput!) {
|
4160
4159
|
deleteOneAccount(where: $where) {
|
@@ -4191,7 +4190,7 @@ exports.Account = {
|
|
4191
4190
|
*/
|
4192
4191
|
async get(props, globalClient) {
|
4193
4192
|
var _a, _b;
|
4194
|
-
const client = globalClient ||
|
4193
|
+
const client = globalClient || client_1.client;
|
4195
4194
|
const GET_ACCOUNT = (0, client_1.gql) `
|
4196
4195
|
query getAccount($where: AccountWhereUniqueInput!) {
|
4197
4196
|
getAccount(where: $where) {
|
@@ -4233,7 +4232,7 @@ exports.Account = {
|
|
4233
4232
|
*/
|
4234
4233
|
async getAll(globalClient) {
|
4235
4234
|
var _a, _b;
|
4236
|
-
const client = globalClient ||
|
4235
|
+
const client = globalClient || client_1.client;
|
4237
4236
|
const GET_ALL_ACCOUNT = (0, client_1.gql) `
|
4238
4237
|
query getAllAccount {
|
4239
4238
|
accounts {
|
@@ -4263,7 +4262,7 @@ exports.Account = {
|
|
4263
4262
|
* @returns An array of found Account records or null.
|
4264
4263
|
*/
|
4265
4264
|
async findMany(props, globalClient) {
|
4266
|
-
const client = globalClient ||
|
4265
|
+
const client = globalClient || client_1.client;
|
4267
4266
|
const FIND_MANY_ACCOUNT = (0, client_1.gql) `
|
4268
4267
|
query findManyAccount($where: AccountWhereInput!) {
|
4269
4268
|
accounts(where: $where) {
|
package/Account.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Account as AccountType } from './generated/typegraphql-prisma/models/Account';
|
2
|
-
import {
|
2
|
+
import { ApolloClientType, NormalizedCacheObject } from './client';
|
3
3
|
export declare const Account: {
|
4
4
|
/**
|
5
5
|
* Create a new Account record.
|
@@ -7,14 +7,14 @@ export declare const Account: {
|
|
7
7
|
* @param client - Apollo Client instance.
|
8
8
|
* @returns The created Account or null.
|
9
9
|
*/
|
10
|
-
create(props: AccountType, globalClient?:
|
10
|
+
create(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
|
11
11
|
/**
|
12
12
|
* Create multiple Account records.
|
13
13
|
* @param props - Array of Account objects for the new records.
|
14
14
|
* @param globalClient - Apollo Client instance.
|
15
15
|
* @returns The count of created records or null.
|
16
16
|
*/
|
17
|
-
createMany(props: AccountType[], globalClient?:
|
17
|
+
createMany(props: AccountType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
18
18
|
count: number;
|
19
19
|
} | null>;
|
20
20
|
/**
|
@@ -23,21 +23,21 @@ export declare const Account: {
|
|
23
23
|
* @param globalClient - Apollo Client instance.
|
24
24
|
* @returns The updated Account or null.
|
25
25
|
*/
|
26
|
-
update(props: AccountType, globalClient?:
|
26
|
+
update(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
|
27
27
|
/**
|
28
28
|
* Upsert a single Account record.
|
29
29
|
* @param props - Properties to update.
|
30
30
|
* @param globalClient - Apollo Client instance.
|
31
31
|
* @returns The updated Account or null.
|
32
32
|
*/
|
33
|
-
upsert(props: AccountType, globalClient?:
|
33
|
+
upsert(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
|
34
34
|
/**
|
35
35
|
* Update multiple Account records.
|
36
36
|
* @param props - Array of Account objects for the updated records.
|
37
37
|
* @param globalClient - Apollo Client instance.
|
38
38
|
* @returns The count of created records or null.
|
39
39
|
*/
|
40
|
-
updateMany(props: AccountType[], globalClient?:
|
40
|
+
updateMany(props: AccountType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
41
41
|
count: number;
|
42
42
|
} | null>;
|
43
43
|
/**
|
@@ -46,26 +46,26 @@ export declare const Account: {
|
|
46
46
|
* @param globalClient - Apollo Client instance.
|
47
47
|
* @returns The deleted Account or null.
|
48
48
|
*/
|
49
|
-
delete(props: AccountType, globalClient?:
|
49
|
+
delete(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType>;
|
50
50
|
/**
|
51
51
|
* Retrieve a single Account record by ID.
|
52
52
|
* @param props - Properties to update.
|
53
53
|
* @param globalClient - Apollo Client instance.
|
54
54
|
* @returns The retrieved Account or null.
|
55
55
|
*/
|
56
|
-
get(props: AccountType, globalClient?:
|
56
|
+
get(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType | null>;
|
57
57
|
/**
|
58
58
|
* Retrieve all Accounts records.
|
59
59
|
* @param globalClient - Apollo Client instance.
|
60
60
|
* @returns An array of Account records or null.
|
61
61
|
*/
|
62
|
-
getAll(globalClient?:
|
62
|
+
getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType[] | null>;
|
63
63
|
/**
|
64
64
|
* Find multiple Account records based on conditions.
|
65
65
|
* @param props - Conditions to find records.
|
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?:
|
69
|
+
findMany(props: AccountType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AccountType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=Account.d.ts.map
|
package/Action.cjs
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Action = void 0;
|
4
|
-
const client_1 = require("
|
5
|
-
const client_2 = require("./client.cjs");
|
4
|
+
const client_1 = require("./client.cjs");
|
6
5
|
const utils_1 = require("./utils.cjs");
|
7
6
|
/**
|
8
7
|
* CRUD operations for the Action model.
|
@@ -152,7 +151,7 @@ exports.Action = {
|
|
152
151
|
* @returns The created Action or null.
|
153
152
|
*/
|
154
153
|
async create(props, globalClient) {
|
155
|
-
const client = globalClient ||
|
154
|
+
const client = globalClient || client_1.client;
|
156
155
|
const CREATE_ONE_ACTION = (0, client_1.gql) `
|
157
156
|
mutation createOneAction($data: ActionCreateInput!) {
|
158
157
|
createOneAction(data: $data) {
|
@@ -1200,7 +1199,7 @@ exports.Action = {
|
|
1200
1199
|
* @returns The count of created records or null.
|
1201
1200
|
*/
|
1202
1201
|
async createMany(props, globalClient) {
|
1203
|
-
const client = globalClient ||
|
1202
|
+
const client = globalClient || client_1.client;
|
1204
1203
|
const CREATE_MANY_ACTION = (0, client_1.gql) `
|
1205
1204
|
mutation createManyAction($data: [ActionCreateManyInput!]!) {
|
1206
1205
|
createManyAction(data: $data) {
|
@@ -1248,7 +1247,7 @@ exports.Action = {
|
|
1248
1247
|
* @returns The updated Action or null.
|
1249
1248
|
*/
|
1250
1249
|
async update(props, globalClient) {
|
1251
|
-
const client = globalClient ||
|
1250
|
+
const client = globalClient || client_1.client;
|
1252
1251
|
const UPDATE_ONE_ACTION = (0, client_1.gql) `
|
1253
1252
|
mutation updateOneAction($data: ActionUpdateInput!, $where: ActionWhereUniqueInput!) {
|
1254
1253
|
updateOneAction(data: $data, where: $where) {
|
@@ -5626,7 +5625,7 @@ exports.Action = {
|
|
5626
5625
|
* @returns The updated Action or null.
|
5627
5626
|
*/
|
5628
5627
|
async upsert(props, globalClient) {
|
5629
|
-
const client = globalClient ||
|
5628
|
+
const client = globalClient || client_1.client;
|
5630
5629
|
const UPSERT_ONE_ACTION = (0, client_1.gql) `
|
5631
5630
|
mutation upsertOneAction($where: ActionWhereUniqueInput!, $create: ActionCreateInput!, $update: ActionUpdateInput!) {
|
5632
5631
|
upsertOneAction(where: $where, create: $create, update: $update) {
|
@@ -11009,7 +11008,7 @@ exports.Action = {
|
|
11009
11008
|
* @returns The count of created records or null.
|
11010
11009
|
*/
|
11011
11010
|
async updateMany(props, globalClient) {
|
11012
|
-
const client = globalClient ||
|
11011
|
+
const client = globalClient || client_1.client;
|
11013
11012
|
const UPDATE_MANY_ACTION = (0, client_1.gql) `
|
11014
11013
|
mutation updateManyAction($data: [ActionCreateManyInput!]!) {
|
11015
11014
|
updateManyAction(data: $data) {
|
@@ -15387,7 +15386,7 @@ exports.Action = {
|
|
15387
15386
|
* @returns The deleted Action or null.
|
15388
15387
|
*/
|
15389
15388
|
async delete(props, globalClient) {
|
15390
|
-
const client = globalClient ||
|
15389
|
+
const client = globalClient || client_1.client;
|
15391
15390
|
const DELETE_ONE_ACTION = (0, client_1.gql) `
|
15392
15391
|
mutation deleteOneAction($where: ActionWhereUniqueInput!) {
|
15393
15392
|
deleteOneAction(where: $where) {
|
@@ -15424,7 +15423,7 @@ exports.Action = {
|
|
15424
15423
|
*/
|
15425
15424
|
async get(props, globalClient) {
|
15426
15425
|
var _a, _b;
|
15427
|
-
const client = globalClient ||
|
15426
|
+
const client = globalClient || client_1.client;
|
15428
15427
|
const GET_ACTION = (0, client_1.gql) `
|
15429
15428
|
query getAction($where: ActionWhereUniqueInput!) {
|
15430
15429
|
getAction(where: $where) {
|
@@ -15463,7 +15462,7 @@ exports.Action = {
|
|
15463
15462
|
*/
|
15464
15463
|
async getAll(globalClient) {
|
15465
15464
|
var _a, _b;
|
15466
|
-
const client = globalClient ||
|
15465
|
+
const client = globalClient || client_1.client;
|
15467
15466
|
const GET_ALL_ACTION = (0, client_1.gql) `
|
15468
15467
|
query getAllAction {
|
15469
15468
|
actions {
|
@@ -15493,7 +15492,7 @@ exports.Action = {
|
|
15493
15492
|
* @returns An array of found Action records or null.
|
15494
15493
|
*/
|
15495
15494
|
async findMany(props, globalClient) {
|
15496
|
-
const client = globalClient ||
|
15495
|
+
const client = globalClient || client_1.client;
|
15497
15496
|
const FIND_MANY_ACTION = (0, client_1.gql) `
|
15498
15497
|
query findManyAction($where: ActionWhereInput!) {
|
15499
15498
|
actions(where: $where) {
|
package/Action.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Action as ActionType } from './generated/typegraphql-prisma/models/Action';
|
2
|
-
import {
|
2
|
+
import { ApolloClientType, NormalizedCacheObject } from './client';
|
3
3
|
export declare const Action: {
|
4
4
|
/**
|
5
5
|
* Create a new Action record.
|
@@ -7,14 +7,14 @@ export declare const Action: {
|
|
7
7
|
* @param client - Apollo Client instance.
|
8
8
|
* @returns The created Action or null.
|
9
9
|
*/
|
10
|
-
create(props: ActionType, globalClient?:
|
10
|
+
create(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
|
11
11
|
/**
|
12
12
|
* Create multiple Action records.
|
13
13
|
* @param props - Array of Action objects for the new records.
|
14
14
|
* @param globalClient - Apollo Client instance.
|
15
15
|
* @returns The count of created records or null.
|
16
16
|
*/
|
17
|
-
createMany(props: ActionType[], globalClient?:
|
17
|
+
createMany(props: ActionType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
18
18
|
count: number;
|
19
19
|
} | null>;
|
20
20
|
/**
|
@@ -23,21 +23,21 @@ export declare const Action: {
|
|
23
23
|
* @param globalClient - Apollo Client instance.
|
24
24
|
* @returns The updated Action or null.
|
25
25
|
*/
|
26
|
-
update(props: ActionType, globalClient?:
|
26
|
+
update(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
|
27
27
|
/**
|
28
28
|
* Upsert a single Action record.
|
29
29
|
* @param props - Properties to update.
|
30
30
|
* @param globalClient - Apollo Client instance.
|
31
31
|
* @returns The updated Action or null.
|
32
32
|
*/
|
33
|
-
upsert(props: ActionType, globalClient?:
|
33
|
+
upsert(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
|
34
34
|
/**
|
35
35
|
* Update multiple Action records.
|
36
36
|
* @param props - Array of Action objects for the updated records.
|
37
37
|
* @param globalClient - Apollo Client instance.
|
38
38
|
* @returns The count of created records or null.
|
39
39
|
*/
|
40
|
-
updateMany(props: ActionType[], globalClient?:
|
40
|
+
updateMany(props: ActionType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
41
41
|
count: number;
|
42
42
|
} | null>;
|
43
43
|
/**
|
@@ -46,26 +46,26 @@ export declare const Action: {
|
|
46
46
|
* @param globalClient - Apollo Client instance.
|
47
47
|
* @returns The deleted Action or null.
|
48
48
|
*/
|
49
|
-
delete(props: ActionType, globalClient?:
|
49
|
+
delete(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType>;
|
50
50
|
/**
|
51
51
|
* Retrieve a single Action record by ID.
|
52
52
|
* @param props - Properties to update.
|
53
53
|
* @param globalClient - Apollo Client instance.
|
54
54
|
* @returns The retrieved Action or null.
|
55
55
|
*/
|
56
|
-
get(props: ActionType, globalClient?:
|
56
|
+
get(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType | null>;
|
57
57
|
/**
|
58
58
|
* Retrieve all Actions records.
|
59
59
|
* @param globalClient - Apollo Client instance.
|
60
60
|
* @returns An array of Action records or null.
|
61
61
|
*/
|
62
|
-
getAll(globalClient?:
|
62
|
+
getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType[] | null>;
|
63
63
|
/**
|
64
64
|
* Find multiple Action records based on conditions.
|
65
65
|
* @param props - Conditions to find records.
|
66
66
|
* @param globalClient - Apollo Client instance.
|
67
67
|
* @returns An array of found Action records or null.
|
68
68
|
*/
|
69
|
-
findMany(props: ActionType, globalClient?:
|
69
|
+
findMany(props: ActionType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<ActionType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=Action.d.ts.map
|
package/Alert.cjs
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Alert = void 0;
|
4
|
-
const client_1 = require("
|
5
|
-
const client_2 = require("./client.cjs");
|
4
|
+
const client_1 = require("./client.cjs");
|
6
5
|
const utils_1 = require("./utils.cjs");
|
7
6
|
/**
|
8
7
|
* CRUD operations for the Alert model.
|
@@ -26,7 +25,7 @@ exports.Alert = {
|
|
26
25
|
* @returns The created Alert or null.
|
27
26
|
*/
|
28
27
|
async create(props, globalClient) {
|
29
|
-
const client = globalClient ||
|
28
|
+
const client = globalClient || client_1.client;
|
30
29
|
const CREATE_ONE_ALERT = (0, client_1.gql) `
|
31
30
|
mutation createOneAlert($data: AlertCreateInput!) {
|
32
31
|
createOneAlert(data: $data) {
|
@@ -693,7 +692,7 @@ exports.Alert = {
|
|
693
692
|
* @returns The count of created records or null.
|
694
693
|
*/
|
695
694
|
async createMany(props, globalClient) {
|
696
|
-
const client = globalClient ||
|
695
|
+
const client = globalClient || client_1.client;
|
697
696
|
const CREATE_MANY_ALERT = (0, client_1.gql) `
|
698
697
|
mutation createManyAlert($data: [AlertCreateManyInput!]!) {
|
699
698
|
createManyAlert(data: $data) {
|
@@ -732,7 +731,7 @@ exports.Alert = {
|
|
732
731
|
* @returns The updated Alert or null.
|
733
732
|
*/
|
734
733
|
async update(props, globalClient) {
|
735
|
-
const client = globalClient ||
|
734
|
+
const client = globalClient || client_1.client;
|
736
735
|
const UPDATE_ONE_ALERT = (0, client_1.gql) `
|
737
736
|
mutation updateOneAlert($data: AlertUpdateInput!, $where: AlertWhereUniqueInput!) {
|
738
737
|
updateOneAlert(data: $data, where: $where) {
|
@@ -3548,7 +3547,7 @@ exports.Alert = {
|
|
3548
3547
|
* @returns The updated Alert or null.
|
3549
3548
|
*/
|
3550
3549
|
async upsert(props, globalClient) {
|
3551
|
-
const client = globalClient ||
|
3550
|
+
const client = globalClient || client_1.client;
|
3552
3551
|
const UPSERT_ONE_ALERT = (0, client_1.gql) `
|
3553
3552
|
mutation upsertOneAlert($where: AlertWhereUniqueInput!, $create: AlertCreateInput!, $update: AlertUpdateInput!) {
|
3554
3553
|
upsertOneAlert(where: $where, create: $create, update: $update) {
|
@@ -6988,7 +6987,7 @@ exports.Alert = {
|
|
6988
6987
|
* @returns The count of created records or null.
|
6989
6988
|
*/
|
6990
6989
|
async updateMany(props, globalClient) {
|
6991
|
-
const client = globalClient ||
|
6990
|
+
const client = globalClient || client_1.client;
|
6992
6991
|
const UPDATE_MANY_ALERT = (0, client_1.gql) `
|
6993
6992
|
mutation updateManyAlert($data: [AlertCreateManyInput!]!) {
|
6994
6993
|
updateManyAlert(data: $data) {
|
@@ -9804,7 +9803,7 @@ exports.Alert = {
|
|
9804
9803
|
* @returns The deleted Alert or null.
|
9805
9804
|
*/
|
9806
9805
|
async delete(props, globalClient) {
|
9807
|
-
const client = globalClient ||
|
9806
|
+
const client = globalClient || client_1.client;
|
9808
9807
|
const DELETE_ONE_ALERT = (0, client_1.gql) `
|
9809
9808
|
mutation deleteOneAlert($where: AlertWhereUniqueInput!) {
|
9810
9809
|
deleteOneAlert(where: $where) {
|
@@ -9841,7 +9840,7 @@ exports.Alert = {
|
|
9841
9840
|
*/
|
9842
9841
|
async get(props, globalClient) {
|
9843
9842
|
var _a, _b;
|
9844
|
-
const client = globalClient ||
|
9843
|
+
const client = globalClient || client_1.client;
|
9845
9844
|
const GET_ALERT = (0, client_1.gql) `
|
9846
9845
|
query getAlert($where: AlertWhereUniqueInput!) {
|
9847
9846
|
getAlert(where: $where) {
|
@@ -9880,7 +9879,7 @@ exports.Alert = {
|
|
9880
9879
|
*/
|
9881
9880
|
async getAll(globalClient) {
|
9882
9881
|
var _a, _b;
|
9883
|
-
const client = globalClient ||
|
9882
|
+
const client = globalClient || client_1.client;
|
9884
9883
|
const GET_ALL_ALERT = (0, client_1.gql) `
|
9885
9884
|
query getAllAlert {
|
9886
9885
|
alerts {
|
@@ -9910,7 +9909,7 @@ exports.Alert = {
|
|
9910
9909
|
* @returns An array of found Alert records or null.
|
9911
9910
|
*/
|
9912
9911
|
async findMany(props, globalClient) {
|
9913
|
-
const client = globalClient ||
|
9912
|
+
const client = globalClient || client_1.client;
|
9914
9913
|
const FIND_MANY_ALERT = (0, client_1.gql) `
|
9915
9914
|
query findManyAlert($where: AlertWhereInput!) {
|
9916
9915
|
alerts(where: $where) {
|
package/Alert.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Alert as AlertType } from './generated/typegraphql-prisma/models/Alert';
|
2
|
-
import {
|
2
|
+
import { ApolloClientType, NormalizedCacheObject } from './client';
|
3
3
|
export declare const Alert: {
|
4
4
|
/**
|
5
5
|
* Create a new Alert record.
|
@@ -7,14 +7,14 @@ export declare const Alert: {
|
|
7
7
|
* @param client - Apollo Client instance.
|
8
8
|
* @returns The created Alert or null.
|
9
9
|
*/
|
10
|
-
create(props: AlertType, globalClient?:
|
10
|
+
create(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
|
11
11
|
/**
|
12
12
|
* Create multiple Alert records.
|
13
13
|
* @param props - Array of Alert objects for the new records.
|
14
14
|
* @param globalClient - Apollo Client instance.
|
15
15
|
* @returns The count of created records or null.
|
16
16
|
*/
|
17
|
-
createMany(props: AlertType[], globalClient?:
|
17
|
+
createMany(props: AlertType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
18
18
|
count: number;
|
19
19
|
} | null>;
|
20
20
|
/**
|
@@ -23,21 +23,21 @@ export declare const Alert: {
|
|
23
23
|
* @param globalClient - Apollo Client instance.
|
24
24
|
* @returns The updated Alert or null.
|
25
25
|
*/
|
26
|
-
update(props: AlertType, globalClient?:
|
26
|
+
update(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
|
27
27
|
/**
|
28
28
|
* Upsert a single Alert record.
|
29
29
|
* @param props - Properties to update.
|
30
30
|
* @param globalClient - Apollo Client instance.
|
31
31
|
* @returns The updated Alert or null.
|
32
32
|
*/
|
33
|
-
upsert(props: AlertType, globalClient?:
|
33
|
+
upsert(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
|
34
34
|
/**
|
35
35
|
* Update multiple Alert records.
|
36
36
|
* @param props - Array of Alert objects for the updated records.
|
37
37
|
* @param globalClient - Apollo Client instance.
|
38
38
|
* @returns The count of created records or null.
|
39
39
|
*/
|
40
|
-
updateMany(props: AlertType[], globalClient?:
|
40
|
+
updateMany(props: AlertType[], globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<{
|
41
41
|
count: number;
|
42
42
|
} | null>;
|
43
43
|
/**
|
@@ -46,26 +46,26 @@ export declare const Alert: {
|
|
46
46
|
* @param globalClient - Apollo Client instance.
|
47
47
|
* @returns The deleted Alert or null.
|
48
48
|
*/
|
49
|
-
delete(props: AlertType, globalClient?:
|
49
|
+
delete(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType>;
|
50
50
|
/**
|
51
51
|
* Retrieve a single Alert record by ID.
|
52
52
|
* @param props - Properties to update.
|
53
53
|
* @param globalClient - Apollo Client instance.
|
54
54
|
* @returns The retrieved Alert or null.
|
55
55
|
*/
|
56
|
-
get(props: AlertType, globalClient?:
|
56
|
+
get(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType | null>;
|
57
57
|
/**
|
58
58
|
* Retrieve all Alerts records.
|
59
59
|
* @param globalClient - Apollo Client instance.
|
60
60
|
* @returns An array of Alert records or null.
|
61
61
|
*/
|
62
|
-
getAll(globalClient?:
|
62
|
+
getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType[] | null>;
|
63
63
|
/**
|
64
64
|
* Find multiple Alert records based on conditions.
|
65
65
|
* @param props - Conditions to find records.
|
66
66
|
* @param globalClient - Apollo Client instance.
|
67
67
|
* @returns An array of found Alert records or null.
|
68
68
|
*/
|
69
|
-
findMany(props: AlertType, globalClient?:
|
69
|
+
findMany(props: AlertType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<AlertType[] | null>;
|
70
70
|
};
|
71
71
|
//# sourceMappingURL=Alert.d.ts.map
|
package/AlpacaAccount.cjs
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.AlpacaAccount = void 0;
|
4
|
-
const client_1 = require("
|
5
|
-
const client_2 = require("./client.cjs");
|
4
|
+
const client_1 = require("./client.cjs");
|
6
5
|
const utils_1 = require("./utils.cjs");
|
7
6
|
/**
|
8
7
|
* CRUD operations for the AlpacaAccount model.
|
@@ -412,7 +411,7 @@ exports.AlpacaAccount = {
|
|
412
411
|
* @returns The created AlpacaAccount or null.
|
413
412
|
*/
|
414
413
|
async create(props, globalClient) {
|
415
|
-
const client = globalClient ||
|
414
|
+
const client = globalClient || client_1.client;
|
416
415
|
const CREATE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
|
417
416
|
mutation createOneAlpacaAccount($data: AlpacaAccountCreateInput!) {
|
418
417
|
createOneAlpacaAccount(data: $data) {
|
@@ -1695,7 +1694,7 @@ exports.AlpacaAccount = {
|
|
1695
1694
|
* @returns The count of created records or null.
|
1696
1695
|
*/
|
1697
1696
|
async createMany(props, globalClient) {
|
1698
|
-
const client = globalClient ||
|
1697
|
+
const client = globalClient || client_1.client;
|
1699
1698
|
const CREATE_MANY_ALPACAACCOUNT = (0, client_1.gql) `
|
1700
1699
|
mutation createManyAlpacaAccount($data: [AlpacaAccountCreateManyInput!]!) {
|
1701
1700
|
createManyAlpacaAccount(data: $data) {
|
@@ -1745,7 +1744,7 @@ exports.AlpacaAccount = {
|
|
1745
1744
|
* @returns The updated AlpacaAccount or null.
|
1746
1745
|
*/
|
1747
1746
|
async update(props, globalClient) {
|
1748
|
-
const client = globalClient ||
|
1747
|
+
const client = globalClient || client_1.client;
|
1749
1748
|
const UPDATE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
|
1750
1749
|
mutation updateOneAlpacaAccount($data: AlpacaAccountUpdateInput!, $where: AlpacaAccountWhereUniqueInput!) {
|
1751
1750
|
updateOneAlpacaAccount(data: $data, where: $where) {
|
@@ -6864,7 +6863,7 @@ exports.AlpacaAccount = {
|
|
6864
6863
|
* @returns The updated AlpacaAccount or null.
|
6865
6864
|
*/
|
6866
6865
|
async upsert(props, globalClient) {
|
6867
|
-
const client = globalClient ||
|
6866
|
+
const client = globalClient || client_1.client;
|
6868
6867
|
const UPSERT_ONE_ALPACAACCOUNT = (0, client_1.gql) `
|
6869
6868
|
mutation upsertOneAlpacaAccount($where: AlpacaAccountWhereUniqueInput!, $create: AlpacaAccountCreateInput!, $update: AlpacaAccountUpdateInput!) {
|
6870
6869
|
upsertOneAlpacaAccount(where: $where, create: $create, update: $update) {
|
@@ -13223,7 +13222,7 @@ exports.AlpacaAccount = {
|
|
13223
13222
|
* @returns The count of created records or null.
|
13224
13223
|
*/
|
13225
13224
|
async updateMany(props, globalClient) {
|
13226
|
-
const client = globalClient ||
|
13225
|
+
const client = globalClient || client_1.client;
|
13227
13226
|
const UPDATE_MANY_ALPACAACCOUNT = (0, client_1.gql) `
|
13228
13227
|
mutation updateManyAlpacaAccount($data: [AlpacaAccountCreateManyInput!]!) {
|
13229
13228
|
updateManyAlpacaAccount(data: $data) {
|
@@ -18342,7 +18341,7 @@ exports.AlpacaAccount = {
|
|
18342
18341
|
* @returns The deleted AlpacaAccount or null.
|
18343
18342
|
*/
|
18344
18343
|
async delete(props, globalClient) {
|
18345
|
-
const client = globalClient ||
|
18344
|
+
const client = globalClient || client_1.client;
|
18346
18345
|
const DELETE_ONE_ALPACAACCOUNT = (0, client_1.gql) `
|
18347
18346
|
mutation deleteOneAlpacaAccount($where: AlpacaAccountWhereUniqueInput!) {
|
18348
18347
|
deleteOneAlpacaAccount(where: $where) {
|
@@ -18379,7 +18378,7 @@ exports.AlpacaAccount = {
|
|
18379
18378
|
*/
|
18380
18379
|
async get(props, globalClient) {
|
18381
18380
|
var _a, _b;
|
18382
|
-
const client = globalClient ||
|
18381
|
+
const client = globalClient || client_1.client;
|
18383
18382
|
const GET_ALPACAACCOUNT = (0, client_1.gql) `
|
18384
18383
|
query getAlpacaAccount($where: AlpacaAccountWhereUniqueInput!) {
|
18385
18384
|
getAlpacaAccount(where: $where) {
|
@@ -18418,7 +18417,7 @@ exports.AlpacaAccount = {
|
|
18418
18417
|
*/
|
18419
18418
|
async getAll(globalClient) {
|
18420
18419
|
var _a, _b;
|
18421
|
-
const client = globalClient ||
|
18420
|
+
const client = globalClient || client_1.client;
|
18422
18421
|
const GET_ALL_ALPACAACCOUNT = (0, client_1.gql) `
|
18423
18422
|
query getAllAlpacaAccount {
|
18424
18423
|
alpacaAccounts {
|
@@ -18448,7 +18447,7 @@ exports.AlpacaAccount = {
|
|
18448
18447
|
* @returns An array of found AlpacaAccount records or null.
|
18449
18448
|
*/
|
18450
18449
|
async findMany(props, globalClient) {
|
18451
|
-
const client = globalClient ||
|
18450
|
+
const client = globalClient || client_1.client;
|
18452
18451
|
const FIND_MANY_ALPACAACCOUNT = (0, client_1.gql) `
|
18453
18452
|
query findManyAlpacaAccount($where: AlpacaAccountWhereInput!) {
|
18454
18453
|
alpacaAccounts(where: $where) {
|