@cryptorobot.ai/client 0.0.19 → 0.0.26

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 (78) hide show
  1. package/lib/client.d.ts +38 -36
  2. package/lib/client.js +6 -12
  3. package/lib/configuration.d.ts +20 -1
  4. package/lib/firebase-push-notification.d.ts +1 -0
  5. package/lib/helpers/backtest.helper.d.ts +53 -4
  6. package/lib/helpers/ccxt.helper.d.ts +75 -0
  7. package/lib/helpers/deployments.helper.d.ts +72 -0
  8. package/lib/helpers/funnel.helper.d.ts +17 -0
  9. package/lib/helpers/hyperopt.helper.d.ts +14 -0
  10. package/lib/helpers/push-notification.helper.d.ts +7 -0
  11. package/lib/helpers/queue.helper.d.ts +8 -0
  12. package/lib/helpers/sqlite3.helper.d.ts +6 -0
  13. package/lib/helpers/sqs.helper.d.ts +7 -0
  14. package/lib/helpers/subscription.helper.d.ts +48 -0
  15. package/lib/helpers/telegram.helper.d.ts +26 -1
  16. package/lib/helpers/trader.helper.d.ts +26 -0
  17. package/lib/hooks/application/setup-config-preparation.d.ts +1 -1
  18. package/lib/hooks/application/setup-info.d.ts +1 -1
  19. package/lib/hooks/application/setup-load-indicators.d.ts +1 -1
  20. package/lib/hooks/application/setup-load-strategy-templates.d.ts +1 -1
  21. package/lib/hooks/aws-prepare-batch-job.d.ts +2 -0
  22. package/lib/hooks/backtest-copy-candles-from-user-data.d.ts +1 -1
  23. package/lib/hooks/{backtest-generate-and-start.d.ts → backtest-generate-and-queue.d.ts} +1 -1
  24. package/lib/hooks/backtest-generate-config.d.ts +6 -0
  25. package/lib/hooks/backtest-generate-exchange-config.d.ts +6 -0
  26. package/lib/hooks/backtest-get-results.d.ts +12 -0
  27. package/lib/hooks/file-generate-config-hyperopt.d.ts +2 -0
  28. package/lib/hooks/setup-ensure-image.d.ts +3 -0
  29. package/lib/hooks/setup-firebase.d.ts +2 -0
  30. package/lib/hooks/setup-homepage.d.ts +3 -0
  31. package/lib/hooks/setup-mautic.d.ts +3 -0
  32. package/lib/hooks/setup-mixpanel.d.ts +3 -0
  33. package/lib/hooks/setup-prepare-maildev-while-in-test-env.d.ts +1 -1
  34. package/lib/hooks/setup-queues.d.ts +1 -1
  35. package/lib/hooks/sqlite-reset-database.d.ts +2 -0
  36. package/lib/hooks/traders/pods-process-worker.d.ts +5 -0
  37. package/lib/sentry.d.ts +2 -0
  38. package/lib/services/exchanges/balance/balance.schema.d.ts +56 -56
  39. package/lib/services/exchanges/download/download.schema.d.ts +60 -60
  40. package/lib/services/exchanges/download/webhooks/webhooks.schema.d.ts +84 -84
  41. package/lib/services/exchanges/exchanges.schema.d.ts +198 -198
  42. package/lib/services/exchanges/ticker/ticker.schema.d.ts +110 -110
  43. package/lib/services/homepage/homepage.class.d.ts +15 -0
  44. package/lib/services/homepage/homepage.d.ts +10 -0
  45. package/lib/services/homepage/homepage.schema.d.ts +237 -0
  46. package/lib/services/homepage/homepage.shared.d.ts +4 -0
  47. package/lib/services/homepage/homepage.shared.js +6 -0
  48. package/lib/services/markets/markets.schema.d.ts +112 -112
  49. package/lib/services/messages/messages.schema.d.ts +136 -64
  50. package/lib/services/strategies/ai/ai.schema.d.ts +32 -32
  51. package/lib/services/strategies/backtest/backtest.schema.d.ts +394 -84
  52. package/lib/services/strategies/backtest/results/results.class.d.ts +1 -1
  53. package/lib/services/strategies/backtest/results/results.schema.d.ts +454 -156
  54. package/lib/services/strategies/hyperopt/hyperopt.class.d.ts +11 -0
  55. package/lib/services/strategies/hyperopt/hyperopt.d.ts +11 -0
  56. package/lib/services/strategies/hyperopt/hyperopt.schema.d.ts +375 -0
  57. package/lib/services/strategies/hyperopt/hyperopt.shared.d.ts +13 -0
  58. package/lib/services/strategies/hyperopt/hyperopt.shared.js +13 -0
  59. package/lib/services/strategies/indicators/indicators.schema.d.ts +40 -40
  60. package/lib/services/strategies/strategies.schema.d.ts +329 -247
  61. package/lib/services/strategies/templates/templates.schema.d.ts +41 -41
  62. package/lib/services/stripe/charges/charges.d.ts +1 -1
  63. package/lib/services/stripe/customers/customers.d.ts +1 -1
  64. package/lib/services/stripe/customers/paymentintent/paymentintent.d.ts +1 -1
  65. package/lib/services/stripe/customers/paymentmethods/paymentmethods.d.ts +1 -1
  66. package/lib/services/stripe/products/products.d.ts +1 -1
  67. package/lib/services/traders/pods/api/api.class.d.ts +1 -1
  68. package/lib/services/traders/pods/api/api.schema.d.ts +519 -519
  69. package/lib/services/traders/pods/events/events.schema.d.ts +375 -111
  70. package/lib/services/traders/pods/pods.schema.d.ts +384 -384
  71. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +76 -76
  72. package/lib/services/traders/traders.class.d.ts +7 -1
  73. package/lib/services/traders/traders.d.ts +1 -0
  74. package/lib/services/traders/traders.schema.d.ts +852 -380
  75. package/lib/services/users/users.class.d.ts +1 -1
  76. package/lib/services/users/users.schema.d.ts +158 -52
  77. package/package.json +24 -16
  78. package/lib/hooks/bootstrap-user-telegram.d.ts +0 -2
@@ -2,11 +2,37 @@
2
2
  import { HookContext } from '@feathersjs/feathers';
3
3
  import { PathLike } from 'fs';
4
4
  import { Traders } from 'src/services/traders/traders.schema';
5
+ /** Helper class for traders. */
5
6
  export declare class TraderHelper {
7
+ /**
8
+ * Returns the webhook URL based on the environment.
9
+ *
10
+ * @param {HookContext} context - The hook context object.
11
+ * @returns {PathLike} - The webhook URL.
12
+ */
6
13
  getWebhookUrl(context: HookContext): PathLike;
14
+ /**
15
+ * Returns the path to the traders data directory.
16
+ *
17
+ * @param {HookContext} context - The hook context object.
18
+ * @returns {PathLike} - The path to the traders data directory.
19
+ */
7
20
  getTradersDataPath(context: HookContext): PathLike;
8
21
  getRelativeTradersDataPath(context: HookContext): PathLike;
22
+ /**
23
+ * Generates the webhooks configuration object.
24
+ *
25
+ * @param {HookContext} context - The hook context object.
26
+ * @returns {any} - The webhooks configuration object.
27
+ */
9
28
  generateWebhooks(context: HookContext): any;
10
29
  generateApiServer(context: HookContext): any;
30
+ /**
31
+ * Generates the Telegram configuration object.
32
+ *
33
+ * @param {any} chat_id - The chat ID.
34
+ * @param {string} invite_link - The invite link.
35
+ * @returns {Pick<Traders, 'telegram'>} - The Telegram configuration object.
36
+ */
11
37
  generateTelegram(chat_id: any, invite_link: string): Pick<Traders, 'telegram'>;
12
38
  }
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
3
  export declare const configPreparation: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
3
  export declare const setupInfo: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
3
  export declare const setupLoadIndicators: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../../declarations';
3
3
  export declare const setupLoadStrategyTemplates: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const awsPrepareBatchJob: (context: HookContext) => Promise<void>;
@@ -1,2 +1,2 @@
1
- import type { HookContext } from '../declarations';
1
+ import { HookContext } from '@feathersjs/feathers';
2
2
  export declare const backtestCopyCandlesFromUserData: (context: HookContext) => Promise<void>;
@@ -1,2 +1,2 @@
1
1
  import type { HookContext } from '../declarations';
2
- export declare const backtestGenerateAndStart: (context: HookContext) => Promise<void>;
2
+ export declare const backtestGenerateAndQueue: (context: HookContext) => Promise<void>;
@@ -1,2 +1,8 @@
1
1
  import type { HookContext } from '../declarations';
2
+ /**
3
+ * Generates a backtest configuration file for a trader.
4
+ *
5
+ * @param {HookContext} context - The hook context object.
6
+ * @returns {Promise<void>} - A promise that resolves when the configuration file is generated.
7
+ */
2
8
  export declare const backtestGenerateConfig: (context: HookContext) => Promise<void>;
@@ -1,2 +1,8 @@
1
1
  import type { HookContext } from '../declarations';
2
+ /**
3
+ * Generates the exchange configuration for backtesting.
4
+ *
5
+ * @param {HookContext} context - The hook context.
6
+ * @returns {Promise<void>} - A promise that resolves when the exchange configuration is generated.
7
+ */
2
8
  export declare const backtestGenerateExchangeConfig: (context: HookContext) => Promise<void>;
@@ -1,2 +1,14 @@
1
1
  import type { HookContext } from '../declarations';
2
+ /**
3
+ * Runs the 'backtest-get-results' hook on the specified context. Retrieves the backtest results using the
4
+ * BacktestHelper.getResults method and assigns them to the context data. Retrieves the elapsed time using the
5
+ * BacktestHelper.getElapsedTime method. Calculates the difference in seconds between the current time and the start
6
+ * time of the backtest. Logs the difference and the backtest results. Creates a new message in the 'messages' service
7
+ * with the title 'New backtest results' and the description 'From strategy {strategy name}'. Assigns the strategyId to
8
+ * the context data. Creates a new backtest result in the 'strategies/backtest/results' service with the strategyId,
9
+ * traderId, and executionTimeInSeconds.
10
+ *
11
+ * @param {HookContext} context - The hook context.
12
+ * @returns {Promise<void>} - A promise that resolves when the hook is completed.
13
+ */
2
14
  export declare const backtestGetResults: (context: HookContext) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const fileGenerateConfigHyperopt: (context: HookContext) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../declarations';
3
+ export declare const setupEnsureImage: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext, NextFunction } from '../declarations';
2
+ export declare const setupFirebase: (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 setupHomepage: (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 setupMautic: (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 setupMixpanel: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../declarations';
3
3
  export declare const setupMaildevWhileInTestEnv: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { HookContext } from '../declarations';
2
1
  import { NextFunction } from '@feathersjs/feathers';
2
+ import type { HookContext } from '../declarations';
3
3
  export declare const setupQueues: (context: HookContext, next: NextFunction) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const sqliteResetDatabase: (context: HookContext) => Promise<HookContext>;
@@ -1,2 +1,7 @@
1
1
  import type { HookContext } from '../../declarations';
2
+ /**
3
+ * Deploys a container using Docker.
4
+ *
5
+ * @param context The context object containing the necessary data for deploying the container.
6
+ */
2
7
  export declare const podsProcessWorker: (context: HookContext) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export declare const tracingMiddleWare: (ctx: any, next: any) => void;
2
+ export declare const requestHandler: (ctx: any, next: any) => void;
@@ -61,14 +61,13 @@ export declare const exchangesBalanceResolver: import("@feathersjs/schema").Reso
61
61
  password?: string | undefined;
62
62
  name?: any;
63
63
  apiKey?: string | undefined;
64
+ token?: string | undefined;
64
65
  secret?: string | undefined;
65
66
  avatar?: any;
66
67
  createdAt?: any;
67
68
  updatedAt?: any;
68
- userId?: string | {} | undefined;
69
- which?: string | undefined;
69
+ login?: string | undefined;
70
70
  connected?: boolean | undefined;
71
- token?: string | undefined;
72
71
  downloaded?: {
73
72
  updatedAt: any;
74
73
  size: string;
@@ -96,12 +95,13 @@ export declare const exchangesBalanceResolver: import("@feathersjs/schema").Reso
96
95
  }[] | undefined;
97
96
  whitelist?: any[] | undefined;
98
97
  ccxt_async_config?: any;
98
+ which?: string | undefined;
99
99
  requiredCredentials?: any;
100
100
  uid?: string | undefined;
101
- login?: string | undefined;
102
101
  twofa?: string | undefined;
103
102
  privateKey?: string | undefined;
104
103
  walletAddress?: string | undefined;
104
+ userId?: string | {} | undefined;
105
105
  __v?: any;
106
106
  _id: string | {};
107
107
  } | undefined;
@@ -114,14 +114,13 @@ export declare const exchangesBalanceExternalResolver: import("@feathersjs/schem
114
114
  password?: string | undefined;
115
115
  name?: any;
116
116
  apiKey?: string | undefined;
117
+ token?: string | undefined;
117
118
  secret?: string | undefined;
118
119
  avatar?: any;
119
120
  createdAt?: any;
120
121
  updatedAt?: any;
121
- userId?: string | {} | undefined;
122
- which?: string | undefined;
122
+ login?: string | undefined;
123
123
  connected?: boolean | undefined;
124
- token?: string | undefined;
125
124
  downloaded?: {
126
125
  updatedAt: any;
127
126
  size: string;
@@ -149,12 +148,13 @@ export declare const exchangesBalanceExternalResolver: import("@feathersjs/schem
149
148
  }[] | undefined;
150
149
  whitelist?: any[] | undefined;
151
150
  ccxt_async_config?: any;
151
+ which?: string | undefined;
152
152
  requiredCredentials?: any;
153
153
  uid?: string | undefined;
154
- login?: string | undefined;
155
154
  twofa?: string | undefined;
156
155
  privateKey?: string | undefined;
157
156
  walletAddress?: string | undefined;
157
+ userId?: string | {} | undefined;
158
158
  __v?: any;
159
159
  _id: string | {};
160
160
  } | undefined;
@@ -222,14 +222,13 @@ export declare const exchangesBalanceDataResolver: import("@feathersjs/schema").
222
222
  password?: string | undefined;
223
223
  name?: any;
224
224
  apiKey?: string | undefined;
225
+ token?: string | undefined;
225
226
  secret?: string | undefined;
226
227
  avatar?: any;
227
228
  createdAt?: any;
228
229
  updatedAt?: any;
229
- userId?: string | {} | undefined;
230
- which?: string | undefined;
230
+ login?: string | undefined;
231
231
  connected?: boolean | undefined;
232
- token?: string | undefined;
233
232
  downloaded?: {
234
233
  updatedAt: any;
235
234
  size: string;
@@ -257,12 +256,13 @@ export declare const exchangesBalanceDataResolver: import("@feathersjs/schema").
257
256
  }[] | undefined;
258
257
  whitelist?: any[] | undefined;
259
258
  ccxt_async_config?: any;
259
+ which?: string | undefined;
260
260
  requiredCredentials?: any;
261
261
  uid?: string | undefined;
262
- login?: string | undefined;
263
262
  twofa?: string | undefined;
264
263
  privateKey?: string | undefined;
265
264
  walletAddress?: string | undefined;
265
+ userId?: string | {} | undefined;
266
266
  __v?: any;
267
267
  _id: string | {};
268
268
  } | undefined;
@@ -330,14 +330,13 @@ export declare const exchangesBalancePatchResolver: import("@feathersjs/schema")
330
330
  password?: string | undefined;
331
331
  name?: any;
332
332
  apiKey?: string | undefined;
333
+ token?: string | undefined;
333
334
  secret?: string | undefined;
334
335
  avatar?: any;
335
336
  createdAt?: any;
336
337
  updatedAt?: any;
337
- userId?: string | {} | undefined;
338
- which?: string | undefined;
338
+ login?: string | undefined;
339
339
  connected?: boolean | undefined;
340
- token?: string | undefined;
341
340
  downloaded?: {
342
341
  updatedAt: any;
343
342
  size: string;
@@ -365,12 +364,13 @@ export declare const exchangesBalancePatchResolver: import("@feathersjs/schema")
365
364
  }[] | undefined;
366
365
  whitelist?: any[] | undefined;
367
366
  ccxt_async_config?: any;
367
+ which?: string | undefined;
368
368
  requiredCredentials?: any;
369
369
  uid?: string | undefined;
370
- login?: string | undefined;
371
370
  twofa?: string | undefined;
372
371
  privateKey?: string | undefined;
373
372
  walletAddress?: string | undefined;
373
+ userId?: string | {} | undefined;
374
374
  __v?: any;
375
375
  _id: string | {};
376
376
  } | undefined;
@@ -447,8 +447,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
447
447
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
448
448
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
449
449
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
450
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
451
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
450
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
451
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
452
452
  }>, import("@feathersjs/typebox").TObject<{
453
453
  [key: string]: import("@feathersjs/typebox").TSchema;
454
454
  } | undefined>]>>]>>;
@@ -458,8 +458,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
458
458
  $lt: import("@feathersjs/typebox").TAny;
459
459
  $lte: import("@feathersjs/typebox").TAny;
460
460
  $ne: import("@feathersjs/typebox").TAny;
461
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
462
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
461
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
462
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
463
463
  }>, import("@feathersjs/typebox").TObject<{
464
464
  [key: string]: import("@feathersjs/typebox").TSchema;
465
465
  } | undefined>]>>]>>;
@@ -469,8 +469,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
469
469
  $lt: import("@feathersjs/typebox").TString<string>;
470
470
  $lte: import("@feathersjs/typebox").TString<string>;
471
471
  $ne: import("@feathersjs/typebox").TString<string>;
472
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
473
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
472
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
473
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
474
474
  }>, import("@feathersjs/typebox").TObject<{
475
475
  [key: string]: import("@feathersjs/typebox").TSchema;
476
476
  } | undefined>]>>]>>;
@@ -482,8 +482,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
482
482
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
483
483
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
484
484
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
485
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
486
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
485
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
486
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
487
487
  }>, import("@feathersjs/typebox").TObject<{
488
488
  [key: string]: import("@feathersjs/typebox").TSchema;
489
489
  } | undefined>]>>]>>;
@@ -493,8 +493,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
493
493
  $lt: import("@feathersjs/typebox").TAny;
494
494
  $lte: import("@feathersjs/typebox").TAny;
495
495
  $ne: import("@feathersjs/typebox").TAny;
496
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
497
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
496
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
497
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
498
498
  }>, import("@feathersjs/typebox").TObject<{
499
499
  [key: string]: import("@feathersjs/typebox").TSchema;
500
500
  } | undefined>]>>]>>;
@@ -504,8 +504,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
504
504
  $lt: import("@feathersjs/typebox").TString<string>;
505
505
  $lte: import("@feathersjs/typebox").TString<string>;
506
506
  $ne: import("@feathersjs/typebox").TString<string>;
507
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
508
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
507
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
508
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
509
509
  }>, import("@feathersjs/typebox").TObject<{
510
510
  [key: string]: import("@feathersjs/typebox").TSchema;
511
511
  } | undefined>]>>]>>;
@@ -518,8 +518,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
518
518
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
519
519
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
520
520
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
521
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
522
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
521
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
522
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
523
523
  }>, import("@feathersjs/typebox").TObject<{
524
524
  [key: string]: import("@feathersjs/typebox").TSchema;
525
525
  } | undefined>]>>]>>;
@@ -529,8 +529,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
529
529
  $lt: import("@feathersjs/typebox").TAny;
530
530
  $lte: import("@feathersjs/typebox").TAny;
531
531
  $ne: import("@feathersjs/typebox").TAny;
532
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
533
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
532
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
533
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
534
534
  }>, import("@feathersjs/typebox").TObject<{
535
535
  [key: string]: import("@feathersjs/typebox").TSchema;
536
536
  } | undefined>]>>]>>;
@@ -540,8 +540,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
540
540
  $lt: import("@feathersjs/typebox").TString<string>;
541
541
  $lte: import("@feathersjs/typebox").TString<string>;
542
542
  $ne: import("@feathersjs/typebox").TString<string>;
543
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
544
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
543
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
544
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
545
545
  }>, import("@feathersjs/typebox").TObject<{
546
546
  [key: string]: import("@feathersjs/typebox").TSchema;
547
547
  } | undefined>]>>]>>;
@@ -553,8 +553,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
553
553
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
554
554
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
555
555
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
556
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
557
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
556
+ $in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
557
+ $nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
558
558
  }>, import("@feathersjs/typebox").TObject<{
559
559
  [key: string]: import("@feathersjs/typebox").TSchema;
560
560
  } | undefined>]>>]>>;
@@ -564,8 +564,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
564
564
  $lt: import("@feathersjs/typebox").TAny;
565
565
  $lte: import("@feathersjs/typebox").TAny;
566
566
  $ne: import("@feathersjs/typebox").TAny;
567
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
568
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
567
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
568
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
569
569
  }>, import("@feathersjs/typebox").TObject<{
570
570
  [key: string]: import("@feathersjs/typebox").TSchema;
571
571
  } | undefined>]>>]>>;
@@ -575,8 +575,8 @@ export declare const exchangesBalanceQuerySchema: import("@feathersjs/typebox").
575
575
  $lt: import("@feathersjs/typebox").TString<string>;
576
576
  $lte: import("@feathersjs/typebox").TString<string>;
577
577
  $ne: import("@feathersjs/typebox").TString<string>;
578
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
579
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
578
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
579
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
580
580
  }>, import("@feathersjs/typebox").TObject<{
581
581
  [key: string]: import("@feathersjs/typebox").TSchema;
582
582
  } | undefined>]>>]>>;
@@ -599,8 +599,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
599
599
  $lt: string | {};
600
600
  $lte: string | {};
601
601
  $ne: string | {};
602
- $in: (string | {})[];
603
- $nin: (string | {})[];
602
+ $in: string | {} | (string | {})[];
603
+ $nin: string | {} | (string | {})[];
604
604
  } & {}> | undefined;
605
605
  exchangeId?: any;
606
606
  currency?: string | Partial<{
@@ -609,8 +609,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
609
609
  $lt: string;
610
610
  $lte: string;
611
611
  $ne: string;
612
- $in: string[];
613
- $nin: string[];
612
+ $in: string | string[];
613
+ $nin: string | string[];
614
614
  } & {}> | undefined;
615
615
  } | {
616
616
  $or: {
@@ -620,8 +620,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
620
620
  $lt: string | {};
621
621
  $lte: string | {};
622
622
  $ne: string | {};
623
- $in: (string | {})[];
624
- $nin: (string | {})[];
623
+ $in: string | {} | (string | {})[];
624
+ $nin: string | {} | (string | {})[];
625
625
  } & {}> | undefined;
626
626
  exchangeId?: any;
627
627
  currency?: string | Partial<{
@@ -630,8 +630,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
630
630
  $lt: string;
631
631
  $lte: string;
632
632
  $ne: string;
633
- $in: string[];
634
- $nin: string[];
633
+ $in: string | string[];
634
+ $nin: string | string[];
635
635
  } & {}> | undefined;
636
636
  }[];
637
637
  })[];
@@ -642,8 +642,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
642
642
  $lt: string | {};
643
643
  $lte: string | {};
644
644
  $ne: string | {};
645
- $in: (string | {})[];
646
- $nin: (string | {})[];
645
+ $in: string | {} | (string | {})[];
646
+ $nin: string | {} | (string | {})[];
647
647
  } & {}> | undefined;
648
648
  exchangeId?: any;
649
649
  currency?: string | Partial<{
@@ -652,8 +652,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
652
652
  $lt: string;
653
653
  $lte: string;
654
654
  $ne: string;
655
- $in: string[];
656
- $nin: string[];
655
+ $in: string | string[];
656
+ $nin: string | string[];
657
657
  } & {}> | undefined;
658
658
  }[];
659
659
  }> & {
@@ -663,8 +663,8 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
663
663
  $lt: string | {};
664
664
  $lte: string | {};
665
665
  $ne: string | {};
666
- $in: (string | {})[];
667
- $nin: (string | {})[];
666
+ $in: string | {} | (string | {})[];
667
+ $nin: string | {} | (string | {})[];
668
668
  } & {}> | undefined;
669
669
  exchangeId?: any;
670
670
  currency?: string | Partial<{
@@ -673,7 +673,7 @@ export declare const exchangesBalanceQueryResolver: import("@feathersjs/schema")
673
673
  $lt: string;
674
674
  $lte: string;
675
675
  $ne: string;
676
- $in: string[];
677
- $nin: string[];
676
+ $in: string | string[];
677
+ $nin: string | string[];
678
678
  } & {}> | undefined;
679
679
  } & {}, HookContext<ExchangesBalanceService<import("./balance.class").ExchangesBalanceParams>>>;