@cryptorobot.ai/client 0.0.31 → 0.0.34

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.
Files changed (40) hide show
  1. package/lib/app.d.ts +1 -0
  2. package/lib/client.d.ts +2 -0
  3. package/lib/client.js +7 -5
  4. package/lib/configuration.d.ts +12 -1
  5. package/lib/helpers/app.helper.d.ts +1 -0
  6. package/lib/helpers/ccxt.helper.d.ts +2 -0
  7. package/lib/helpers/deployments.helper.d.ts +1 -1
  8. package/lib/helpers/funnel.helper.d.ts +2 -0
  9. package/lib/helpers/push-notification.helper.d.ts +1 -0
  10. package/lib/hooks/application/setup-ccxt-load-marketplaces-mocked.d.ts +3 -0
  11. package/lib/hooks/application/setup-fs.d.ts +3 -0
  12. package/lib/hooks/revenuecat-is-subscription-active.d.ts +2 -0
  13. package/lib/services/auth-management/auth-management.shared.js +1 -12
  14. package/lib/services/config/config.class.d.ts +1 -1
  15. package/lib/services/exchanges/balance/balance.class.d.ts +1 -1
  16. package/lib/services/exchanges/balance/balance.schema.d.ts +32 -24
  17. package/lib/services/exchanges/download/download.schema.d.ts +32 -24
  18. package/lib/services/exchanges/exchanges.d.ts +1 -0
  19. package/lib/services/exchanges/exchanges.schema.d.ts +85 -77
  20. package/lib/services/exchanges/ticker/ticker.schema.d.ts +32 -24
  21. package/lib/services/index.d.ts +1 -1
  22. package/lib/services/messages/messages.schema.d.ts +48 -24
  23. package/lib/services/strategies/backtest/backtest.d.ts +1 -0
  24. package/lib/services/strategies/backtest/backtest.schema.d.ts +133 -197
  25. package/lib/services/strategies/indicators/indicators.schema.d.ts +61 -61
  26. package/lib/services/strategies/strategies.d.ts +1 -0
  27. package/lib/services/strategies/strategies.schema.d.ts +32 -16
  28. package/lib/services/strategies/templates/templates.schema.d.ts +9 -1
  29. package/lib/services/stripe/webhooks/webhooks.class.d.ts +26 -0
  30. package/lib/services/stripe/webhooks/webhooks.d.ts +9 -0
  31. package/lib/services/stripe/webhooks/webhooks.shared.d.ts +13 -0
  32. package/lib/services/stripe/webhooks/webhooks.shared.js +13 -0
  33. package/lib/services/traders/pods/api/api.schema.d.ts +112 -72
  34. package/lib/services/traders/pods/pods.schema.d.ts +88 -56
  35. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +217 -3
  36. package/lib/services/traders/traders.schema.d.ts +141 -133
  37. package/lib/services/users/users.d.ts +1 -0
  38. package/lib/services/users/users.helper.d.ts +1 -1
  39. package/lib/services/users/users.schema.d.ts +254 -80
  40. package/package.json +1 -1
package/lib/app.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import type { Application } from './declarations';
2
2
  declare const app: Application;
3
+ export declare const hooks: any;
3
4
  export { app };
package/lib/client.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import type { AuthenticationClientOptions } from '@feathersjs/authentication-client';
2
+ import './services/stripe/webhooks/webhooks.shared';
3
+ export type { StripeWebhooks, StripeWebhooksData, StripeWebhooksPatch, StripeWebhooksQuery } from './services/stripe/webhooks/webhooks.shared';
2
4
  export type { Config, ConfigData, ConfigPatch, ConfigQuery } from './services/config/config.shared';
3
5
  export type { Custom, CustomData, CustomPatch, CustomQuery } from './services/custom/custom.shared';
4
6
  export type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery } from './services/exchanges/balance/balance.shared';
package/lib/client.js CHANGED
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.createClient = void 0;
8
+ const webhooks_shared_1 = require("./services/stripe/webhooks/webhooks.shared");
8
9
  const hyperopt_shared_1 = require("./services/strategies/hyperopt/hyperopt.shared");
9
10
  const authentication_client_1 = __importDefault(require("@feathersjs/authentication-client"));
10
11
  const feathers_1 = require("@feathersjs/feathers");
@@ -20,7 +21,7 @@ const stream_shared_1 = require("./services/strategies/ai/stream/stream.shared")
20
21
  const ai_shared_1 = require("./services/strategies/ai/ai.shared");
21
22
  const backtest_shared_1 = require("./services/strategies/backtest/backtest.shared");
22
23
  const events_shared_1 = require("./services/traders/pods/events/events.shared");
23
- const webhooks_shared_1 = require("./services/traders/pods/webhooks/webhooks.shared");
24
+ const webhooks_shared_2 = require("./services/traders/pods/webhooks/webhooks.shared");
24
25
  const api_shared_1 = require("./services/traders/pods/api/api.shared");
25
26
  const indicators_shared_1 = require("./services/strategies/indicators/indicators.shared");
26
27
  const templates_shared_1 = require("./services/strategies/templates/templates.shared");
@@ -28,7 +29,7 @@ const blob_shared_1 = require("./services/strategies/blob/blob.shared");
28
29
  const strategies_shared_1 = require("./services/strategies/strategies.shared");
29
30
  const pods_shared_1 = require("./services/traders/pods/pods.shared");
30
31
  const traders_shared_1 = require("./services/traders/traders.shared");
31
- const webhooks_shared_2 = require("./services/exchanges/download/webhooks/webhooks.shared");
32
+ const webhooks_shared_3 = require("./services/exchanges/download/webhooks/webhooks.shared");
32
33
  const blob_shared_2 = require("./services/traders/pods/blob/blob.shared");
33
34
  const download_shared_1 = require("./services/exchanges/download/download.shared");
34
35
  const balance_shared_1 = require("./services/exchanges/balance/balance.shared");
@@ -65,7 +66,7 @@ const createClient = (connection, authenticationOptions = {}) => {
65
66
  // client.configure(exchangesDataClient)
66
67
  client.configure(download_shared_1.exchangesDownloadClient);
67
68
  client.configure(blob_shared_2.tradersPodsBlobClient);
68
- client.configure(webhooks_shared_2.exchangesDownloadWebhooksClient);
69
+ client.configure(webhooks_shared_3.exchangesDownloadWebhooksClient);
69
70
  client.configure(traders_shared_1.tradersClient);
70
71
  client.configure(pods_shared_1.tradersPodsClient);
71
72
  client.configure(strategies_shared_1.strategiesClient);
@@ -73,8 +74,8 @@ const createClient = (connection, authenticationOptions = {}) => {
73
74
  client.configure(templates_shared_1.strategiesTemplatesClient);
74
75
  client.configure(indicators_shared_1.strategiesIndicatorsClient);
75
76
  client.configure(api_shared_1.tradersPodsApiClient);
76
- client.configure(webhooks_shared_1.tradersPodsWebhooksClient);
77
- client.configure(webhooks_shared_2.exchangesDownloadWebhooksClient);
77
+ client.configure(webhooks_shared_2.tradersPodsWebhooksClient);
78
+ client.configure(webhooks_shared_3.exchangesDownloadWebhooksClient);
78
79
  client.configure(events_shared_1.tradersPodsEventsClient);
79
80
  client.configure(backtest_shared_1.strategiesBacktestClient);
80
81
  client.configure(ai_shared_1.strategiesAiClient);
@@ -89,6 +90,7 @@ const createClient = (connection, authenticationOptions = {}) => {
89
90
  client.configure(version_shared_1.versionClient);
90
91
  client.configure(hyperopt_shared_1.strategiesHyperoptClient);
91
92
  client.configure(hyperopt_shared_1.strategiesHyperoptClient);
93
+ client.configure(webhooks_shared_1.stripeWebhooksClient);
92
94
  return client;
93
95
  };
94
96
  exports.createClient = createClient;
@@ -121,6 +121,11 @@ export declare const configurationSchema: import("@feathersjs/typebox").TInterse
121
121
  secure: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
122
122
  from: import("@feathersjs/typebox").TString<string>;
123
123
  }>;
124
+ backtest: import("@feathersjs/typebox").TObject<{
125
+ provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"batch">, import("@feathersjs/typebox").TLiteral<"docker">]>;
126
+ from: import("@feathersjs/typebox").TString<string>;
127
+ days: import("@feathersjs/typebox").TNumber;
128
+ }>;
124
129
  emails: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
125
130
  resendVerifySignup: import("@feathersjs/typebox").TString<string>;
126
131
  verifySignup: import("@feathersjs/typebox").TString<string>;
@@ -162,11 +167,17 @@ export declare const configurationSchema: import("@feathersjs/typebox").TInterse
162
167
  telegramClient: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
163
168
  brevoClient: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
164
169
  mauticClient: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
170
+ maildevClient: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
165
171
  brevo: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
166
172
  enabled: import("@feathersjs/typebox").TBoolean;
167
173
  apiKey: import("@feathersjs/typebox").TString<string>;
168
174
  }>>;
169
- fileSystemId: import("@feathersjs/typebox").TString<string>;
175
+ revenueCat: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
176
+ enabled: import("@feathersjs/typebox").TBoolean;
177
+ apiKey: import("@feathersjs/typebox").TString<string>;
178
+ }>>;
179
+ fileSystemId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
180
+ useInMemoryServices: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
170
181
  awsClient: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
171
182
  telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
172
183
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -13,4 +13,5 @@ export declare class AppHelper {
13
13
  checkFolderPermissions(path: PathLike): Promise<boolean>;
14
14
  changeFolderPermissions(path: PathLike, mode: string): Promise<boolean>;
15
15
  getFolderSize(folderPath: any): Promise<number>;
16
+ isPortOpen(port: number): Boolean;
16
17
  }
@@ -87,4 +87,6 @@ export declare class CCXT {
87
87
  * @throws {GeneralError} - If there is an error finding or removing the markets.
88
88
  */
89
89
  keepOnlyLastOnePerExchange(context: HookContext, exchange: String): Promise<any>;
90
+ static getAllExchanges(): any;
91
+ static getTimeframesFromExchange(alias: string): any;
90
92
  }
@@ -80,5 +80,5 @@ export declare class Docker {
80
80
  * @returns {Promise<void>} - A promise that resolves when the image is successfully ensured.
81
81
  * @throws {Error} - If there is an error ensuring the image.
82
82
  */
83
- static ensureImage(imageName: string): Promise<void>;
83
+ static ensureImage(imageName: string): Promise<Boolean>;
84
84
  }
@@ -7,6 +7,8 @@ export declare class FunnellHelper {
7
7
  mautic: any;
8
8
  constructor(context: HookContext);
9
9
  trackSignup(type: String, user: User): Promise<void>;
10
+ trackSubscriptionActivation(type: String, user: User): Promise<void>;
11
+ trackSubscriptionCancellation(type: String, user: User): Promise<void>;
10
12
  incrementCountOf(key: string, user: User, count?: Number): Promise<void>;
11
13
  trackEvent(context: HookContext): Promise<void>;
12
14
  trackLogin(user: User): Promise<void>;
@@ -3,5 +3,6 @@ import { User } from '../../src/services/users/users.schema';
3
3
  export declare class PushNotificationHelper {
4
4
  client: any;
5
5
  constructor(context: HookContext);
6
+ dispatchToAdmin(notification: object): Promise<any>;
6
7
  dispatch(user: User, notification: object): Promise<any>;
7
8
  }
@@ -0,0 +1,3 @@
1
+ import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
+ export declare const ccxtLoadMarketplacesMocked: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
+ export declare const setupFilesystem: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const revenueCatIsSubscriptionActive: (context: HookContext) => Promise<HookContext>;
@@ -1,17 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.authManagementPath = void 0;
4
- // import type {
5
- // AuthManagement,
6
- // AuthManagementData,
7
- // AuthManagementPatch,
8
- // AuthManagementQuery,
9
- // AuthManagementService
10
- // } from './auth-management.class'
11
- // export type { AuthManagement, AuthManagementData, AuthManagementPatch, AuthManagementQuery }
12
- // export type AuthManagementClientService = Pick<
13
- // AuthManagementService<Params<AuthManagementQuery>>,
14
- // (typeof authManagementMethods)[number]
15
- // >
4
+ // For more information about this file see https://dove.feathersjs.com/guides/cli/service.shared.html
16
5
  exports.authManagementPath = 'auth-management';
17
6
  //# sourceMappingURL=auth-management.shared.js.map
@@ -1,6 +1,6 @@
1
1
  import type { Params } from '@feathersjs/feathers';
2
+ import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
2
3
  import { MongoDBService } from '@feathersjs/mongodb';
3
- import type { MongoDBAdapterParams, MongoDBAdapterOptions } from '@feathersjs/mongodb';
4
4
  import type { Application } from '../../declarations';
5
5
  type Config = any;
6
6
  type ConfigData = any;
@@ -1,6 +1,6 @@
1
1
  import type { Params } from '@feathersjs/feathers';
2
+ import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
2
3
  import { MongoDBService } from '@feathersjs/mongodb';
3
- import type { MongoDBAdapterParams, MongoDBAdapterOptions } from '@feathersjs/mongodb';
4
4
  import type { Application } from '../../../declarations';
5
5
  import type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery } from './balance.schema';
6
6
  export type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery };
@@ -5,7 +5,7 @@ export declare const exchangesBalanceSchema: import("@feathersjs/typebox").TObje
5
5
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6
6
  exchangeId: import("@feathersjs/typebox").TAny;
7
7
  exchangeData: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
8
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
8
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
9
9
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
10
10
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
11
11
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -39,8 +39,8 @@ export declare const exchangesBalanceSchema: import("@feathersjs/typebox").TObje
39
39
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
40
40
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
41
41
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
42
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
43
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
42
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
43
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
44
44
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
45
45
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
46
46
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -49,6 +49,7 @@ export declare const exchangesBalanceSchema: import("@feathersjs/typebox").TObje
49
49
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
50
50
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
51
51
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
52
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
52
53
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
53
54
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
54
55
  }>>>;
@@ -60,12 +61,14 @@ export declare const exchangesBalanceResolver: import("@feathersjs/schema").Reso
60
61
  exchangeData?: {
61
62
  password?: string | undefined;
62
63
  name?: any;
63
- apiKey?: string | undefined;
64
+ apiKey?: string | null | undefined;
64
65
  token?: string | undefined;
65
- secret?: string | undefined;
66
+ secret?: string | null | undefined;
67
+ _id?: string | {} | undefined;
66
68
  avatar?: any;
67
69
  createdAt?: any;
68
70
  updatedAt?: any;
71
+ error?: any;
69
72
  login?: string | undefined;
70
73
  connected?: boolean | undefined;
71
74
  downloaded?: {
@@ -103,7 +106,6 @@ export declare const exchangesBalanceResolver: import("@feathersjs/schema").Reso
103
106
  walletAddress?: string | undefined;
104
107
  userId?: string | {} | undefined;
105
108
  __v?: any;
106
- _id: string | {};
107
109
  } | undefined;
108
110
  _id: string | {};
109
111
  exchangeId: any;
@@ -113,12 +115,14 @@ export declare const exchangesBalanceExternalResolver: import("@feathersjs/schem
113
115
  exchangeData?: {
114
116
  password?: string | undefined;
115
117
  name?: any;
116
- apiKey?: string | undefined;
118
+ apiKey?: string | null | undefined;
117
119
  token?: string | undefined;
118
- secret?: string | undefined;
120
+ secret?: string | null | undefined;
121
+ _id?: string | {} | undefined;
119
122
  avatar?: any;
120
123
  createdAt?: any;
121
124
  updatedAt?: any;
125
+ error?: any;
122
126
  login?: string | undefined;
123
127
  connected?: boolean | undefined;
124
128
  downloaded?: {
@@ -156,7 +160,6 @@ export declare const exchangesBalanceExternalResolver: import("@feathersjs/schem
156
160
  walletAddress?: string | undefined;
157
161
  userId?: string | {} | undefined;
158
162
  __v?: any;
159
- _id: string | {};
160
163
  } | undefined;
161
164
  _id: string | {};
162
165
  exchangeId: any;
@@ -166,7 +169,7 @@ export declare const exchangesBalanceDataSchema: import("@feathersjs/typebox").T
166
169
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
167
170
  exchangeId: import("@feathersjs/typebox").TAny;
168
171
  exchangeData: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
169
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
172
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
170
173
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
171
174
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
172
175
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -200,8 +203,8 @@ export declare const exchangesBalanceDataSchema: import("@feathersjs/typebox").T
200
203
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
201
204
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
202
205
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
203
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
204
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
206
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
207
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
205
208
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
206
209
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
207
210
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -210,6 +213,7 @@ export declare const exchangesBalanceDataSchema: import("@feathersjs/typebox").T
210
213
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
211
214
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
212
215
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
216
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
213
217
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
214
218
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
215
219
  }>>>;
@@ -221,12 +225,14 @@ export declare const exchangesBalanceDataResolver: import("@feathersjs/schema").
221
225
  exchangeData?: {
222
226
  password?: string | undefined;
223
227
  name?: any;
224
- apiKey?: string | undefined;
228
+ apiKey?: string | null | undefined;
225
229
  token?: string | undefined;
226
- secret?: string | undefined;
230
+ secret?: string | null | undefined;
231
+ _id?: string | {} | undefined;
227
232
  avatar?: any;
228
233
  createdAt?: any;
229
234
  updatedAt?: any;
235
+ error?: any;
230
236
  login?: string | undefined;
231
237
  connected?: boolean | undefined;
232
238
  downloaded?: {
@@ -264,7 +270,6 @@ export declare const exchangesBalanceDataResolver: import("@feathersjs/schema").
264
270
  walletAddress?: string | undefined;
265
271
  userId?: string | {} | undefined;
266
272
  __v?: any;
267
- _id: string | {};
268
273
  } | undefined;
269
274
  _id: string | {};
270
275
  exchangeId: any;
@@ -274,7 +279,7 @@ export declare const exchangesBalancePatchSchema: import("@feathersjs/typebox").
274
279
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
275
280
  exchangeId: import("@feathersjs/typebox").TAny;
276
281
  exchangeData: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
277
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
282
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
278
283
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
279
284
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
280
285
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -308,8 +313,8 @@ export declare const exchangesBalancePatchSchema: import("@feathersjs/typebox").
308
313
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
309
314
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
310
315
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
311
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
312
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
316
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
317
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
313
318
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
314
319
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
315
320
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -318,6 +323,7 @@ export declare const exchangesBalancePatchSchema: import("@feathersjs/typebox").
318
323
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
319
324
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
320
325
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
326
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
321
327
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
322
328
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
323
329
  }>>>;
@@ -329,12 +335,14 @@ export declare const exchangesBalancePatchResolver: import("@feathersjs/schema")
329
335
  exchangeData?: {
330
336
  password?: string | undefined;
331
337
  name?: any;
332
- apiKey?: string | undefined;
338
+ apiKey?: string | null | undefined;
333
339
  token?: string | undefined;
334
- secret?: string | undefined;
340
+ secret?: string | null | undefined;
341
+ _id?: string | {} | undefined;
335
342
  avatar?: any;
336
343
  createdAt?: any;
337
344
  updatedAt?: any;
345
+ error?: any;
338
346
  login?: string | undefined;
339
347
  connected?: boolean | undefined;
340
348
  downloaded?: {
@@ -372,7 +380,6 @@ export declare const exchangesBalancePatchResolver: import("@feathersjs/schema")
372
380
  walletAddress?: string | undefined;
373
381
  userId?: string | {} | undefined;
374
382
  __v?: any;
375
- _id: string | {};
376
383
  } | undefined;
377
384
  _id: string | {};
378
385
  exchangeId: any;
@@ -382,7 +389,7 @@ export declare const exchangesBalanceQueryProperties: import("@feathersjs/typebo
382
389
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
383
390
  exchangeId: import("@feathersjs/typebox").TAny;
384
391
  exchangeData: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
385
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
392
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
386
393
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
387
394
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
388
395
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -416,8 +423,8 @@ export declare const exchangesBalanceQueryProperties: import("@feathersjs/typebo
416
423
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
417
424
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
418
425
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
419
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
420
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
426
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
427
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
421
428
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
422
429
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
423
430
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -426,6 +433,7 @@ export declare const exchangesBalanceQueryProperties: import("@feathersjs/typebo
426
433
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
427
434
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
428
435
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
436
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
429
437
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
430
438
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
431
439
  }>>>;