@cryptorobot.ai/client 0.0.32 → 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 +40 -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 +196 -80
  40. package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare const exchangesDownloadSchema: import("@feathersjs/typebox").TObj
6
6
  exchangeId: import("@feathersjs/typebox").TAny;
7
7
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
8
8
  exchange: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
9
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
9
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
10
10
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
11
11
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
12
12
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -40,8 +40,8 @@ export declare const exchangesDownloadSchema: import("@feathersjs/typebox").TObj
40
40
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
41
41
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
42
42
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
43
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
44
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
43
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
44
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
45
45
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
46
46
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
47
47
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -50,6 +50,7 @@ export declare const exchangesDownloadSchema: import("@feathersjs/typebox").TObj
50
50
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
51
51
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
52
52
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
53
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
53
54
  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<{}>]>]>>;
54
55
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
55
56
  }>>>;
@@ -80,12 +81,14 @@ export declare const exchangesDownloadResolver: import("@feathersjs/schema").Res
80
81
  exchange?: {
81
82
  password?: string | undefined;
82
83
  name?: any;
83
- apiKey?: string | undefined;
84
+ apiKey?: string | null | undefined;
84
85
  token?: string | undefined;
85
- secret?: string | undefined;
86
+ secret?: string | null | undefined;
87
+ _id?: string | {} | undefined;
86
88
  avatar?: any;
87
89
  createdAt?: any;
88
90
  updatedAt?: any;
91
+ error?: any;
89
92
  login?: string | undefined;
90
93
  connected?: boolean | undefined;
91
94
  downloaded?: {
@@ -123,7 +126,6 @@ export declare const exchangesDownloadResolver: import("@feathersjs/schema").Res
123
126
  walletAddress?: string | undefined;
124
127
  userId?: string | {} | undefined;
125
128
  __v?: any;
126
- _id: string | {};
127
129
  } | undefined;
128
130
  webhook?: {
129
131
  url: string;
@@ -153,12 +155,14 @@ export declare const exchangesDownloadExternalResolver: import("@feathersjs/sche
153
155
  exchange?: {
154
156
  password?: string | undefined;
155
157
  name?: any;
156
- apiKey?: string | undefined;
158
+ apiKey?: string | null | undefined;
157
159
  token?: string | undefined;
158
- secret?: string | undefined;
160
+ secret?: string | null | undefined;
161
+ _id?: string | {} | undefined;
159
162
  avatar?: any;
160
163
  createdAt?: any;
161
164
  updatedAt?: any;
165
+ error?: any;
162
166
  login?: string | undefined;
163
167
  connected?: boolean | undefined;
164
168
  downloaded?: {
@@ -196,7 +200,6 @@ export declare const exchangesDownloadExternalResolver: import("@feathersjs/sche
196
200
  walletAddress?: string | undefined;
197
201
  userId?: string | {} | undefined;
198
202
  __v?: any;
199
- _id: string | {};
200
203
  } | undefined;
201
204
  webhook?: {
202
205
  url: string;
@@ -227,7 +230,7 @@ export declare const exchangesDownloadDataSchema: import("@feathersjs/typebox").
227
230
  exchangeId: import("@feathersjs/typebox").TAny;
228
231
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
229
232
  exchange: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
230
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
233
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
231
234
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
232
235
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
233
236
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -261,8 +264,8 @@ export declare const exchangesDownloadDataSchema: import("@feathersjs/typebox").
261
264
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
262
265
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
263
266
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
264
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
265
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
267
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
268
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
266
269
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
267
270
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
268
271
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -271,6 +274,7 @@ export declare const exchangesDownloadDataSchema: import("@feathersjs/typebox").
271
274
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
272
275
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
273
276
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
277
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
274
278
  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<{}>]>]>>;
275
279
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
276
280
  }>>>;
@@ -301,12 +305,14 @@ export declare const exchangesDownloadDataResolver: import("@feathersjs/schema")
301
305
  exchange?: {
302
306
  password?: string | undefined;
303
307
  name?: any;
304
- apiKey?: string | undefined;
308
+ apiKey?: string | null | undefined;
305
309
  token?: string | undefined;
306
- secret?: string | undefined;
310
+ secret?: string | null | undefined;
311
+ _id?: string | {} | undefined;
307
312
  avatar?: any;
308
313
  createdAt?: any;
309
314
  updatedAt?: any;
315
+ error?: any;
310
316
  login?: string | undefined;
311
317
  connected?: boolean | undefined;
312
318
  downloaded?: {
@@ -344,7 +350,6 @@ export declare const exchangesDownloadDataResolver: import("@feathersjs/schema")
344
350
  walletAddress?: string | undefined;
345
351
  userId?: string | {} | undefined;
346
352
  __v?: any;
347
- _id: string | {};
348
353
  } | undefined;
349
354
  webhook?: {
350
355
  url: string;
@@ -375,7 +380,7 @@ export declare const exchangesDownloadPatchSchema: import("@feathersjs/typebox")
375
380
  exchangeId: import("@feathersjs/typebox").TAny;
376
381
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
377
382
  exchange: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
378
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
383
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
379
384
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
380
385
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
381
386
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -409,8 +414,8 @@ export declare const exchangesDownloadPatchSchema: import("@feathersjs/typebox")
409
414
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
410
415
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
411
416
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
412
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
413
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
417
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
418
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
414
419
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
415
420
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
416
421
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -419,6 +424,7 @@ export declare const exchangesDownloadPatchSchema: import("@feathersjs/typebox")
419
424
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
420
425
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
421
426
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
427
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
422
428
  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<{}>]>]>>;
423
429
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
424
430
  }>>>;
@@ -449,12 +455,14 @@ export declare const exchangesDownloadPatchResolver: import("@feathersjs/schema"
449
455
  exchange?: {
450
456
  password?: string | undefined;
451
457
  name?: any;
452
- apiKey?: string | undefined;
458
+ apiKey?: string | null | undefined;
453
459
  token?: string | undefined;
454
- secret?: string | undefined;
460
+ secret?: string | null | undefined;
461
+ _id?: string | {} | undefined;
455
462
  avatar?: any;
456
463
  createdAt?: any;
457
464
  updatedAt?: any;
465
+ error?: any;
458
466
  login?: string | undefined;
459
467
  connected?: boolean | undefined;
460
468
  downloaded?: {
@@ -492,7 +500,6 @@ export declare const exchangesDownloadPatchResolver: import("@feathersjs/schema"
492
500
  walletAddress?: string | undefined;
493
501
  userId?: string | {} | undefined;
494
502
  __v?: any;
495
- _id: string | {};
496
503
  } | undefined;
497
504
  webhook?: {
498
505
  url: string;
@@ -523,7 +530,7 @@ export declare const exchangesDownloadQueryProperties: import("@feathersjs/typeb
523
530
  exchangeId: import("@feathersjs/typebox").TAny;
524
531
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
525
532
  exchange: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
526
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
533
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
527
534
  name: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
528
535
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
529
536
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -557,8 +564,8 @@ export declare const exchangesDownloadQueryProperties: import("@feathersjs/typeb
557
564
  whitelist: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>>;
558
565
  ccxt_async_config: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
559
566
  which: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
560
- apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
561
- secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
567
+ apiKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
568
+ secret: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
562
569
  requiredCredentials: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
563
570
  password: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
564
571
  uid: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -567,6 +574,7 @@ export declare const exchangesDownloadQueryProperties: import("@feathersjs/typeb
567
574
  privateKey: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
568
575
  walletAddress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
569
576
  token: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
577
+ error: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
570
578
  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<{}>]>]>>;
571
579
  __v: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
572
580
  }>>>;
@@ -3,6 +3,7 @@ import { ExchangesService } from './exchanges.class';
3
3
  import { exchangesPath } from './exchanges.shared';
4
4
  export * from './exchanges.class';
5
5
  export * from './exchanges.schema';
6
+ export declare const hooks: any;
6
7
  export declare const exchanges: (app: Application) => void;
7
8
  declare module '../../declarations' {
8
9
  interface ServiceTypes {