@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
@@ -14,18 +14,18 @@ export declare const tradersPodsWebhooksValidator: import("@feathersjs/schema").
14
14
  export declare const tradersPodsWebhooksResolver: import("@feathersjs/schema").Resolver<{
15
15
  _id: string | {};
16
16
  createdAt: any;
17
- traderId: string;
17
+ userId: string;
18
18
  event: string;
19
19
  status: string;
20
- userId: string;
20
+ traderId: string;
21
21
  }, HookContext<TradersPodsWebhooksService<import("./webhooks.class").TradersPodsWebhooksParams>>>;
22
22
  export declare const tradersPodsWebhooksExternalResolver: import("@feathersjs/schema").Resolver<{
23
23
  _id: string | {};
24
24
  createdAt: any;
25
- traderId: string;
25
+ userId: string;
26
26
  event: string;
27
27
  status: string;
28
- userId: string;
28
+ traderId: string;
29
29
  }, HookContext<TradersPodsWebhooksService<import("./webhooks.class").TradersPodsWebhooksParams>>>;
30
30
  export declare const tradersPodsWebhooksDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
31
31
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -40,10 +40,10 @@ export declare const tradersPodsWebhooksDataValidator: import("@feathersjs/schem
40
40
  export declare const tradersPodsWebhooksDataResolver: import("@feathersjs/schema").Resolver<{
41
41
  _id: string | {};
42
42
  createdAt: any;
43
- traderId: string;
43
+ userId: string;
44
44
  event: string;
45
45
  status: string;
46
- userId: string;
46
+ traderId: string;
47
47
  }, HookContext<TradersPodsWebhooksService<import("./webhooks.class").TradersPodsWebhooksParams>>>;
48
48
  export declare const tradersPodsWebhooksPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
49
49
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -58,10 +58,10 @@ export declare const tradersPodsWebhooksPatchValidator: import("@feathersjs/sche
58
58
  export declare const tradersPodsWebhooksPatchResolver: import("@feathersjs/schema").Resolver<{
59
59
  _id: string | {};
60
60
  createdAt: any;
61
- traderId: string;
61
+ userId: string;
62
62
  event: string;
63
63
  status: string;
64
- userId: string;
64
+ traderId: string;
65
65
  }, HookContext<TradersPodsWebhooksService<import("./webhooks.class").TradersPodsWebhooksParams>>>;
66
66
  export declare const tradersPodsWebhooksQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
67
67
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -76,10 +76,10 @@ export declare const tradersPodsWebhooksQuerySchema: import("@feathersjs/typebox
76
76
  $skip: import("@feathersjs/typebox").TNumber;
77
77
  $sort: import("@feathersjs/typebox").TObject<{
78
78
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
79
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
80
79
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
80
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
81
81
  }>;
82
- $select: import("@feathersjs/typebox").TUnsafe<("_id" | "traderId" | "userId")[]>;
82
+ $select: import("@feathersjs/typebox").TUnsafe<("_id" | "userId" | "traderId")[]>;
83
83
  $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
84
84
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
85
85
  $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -87,30 +87,30 @@ export declare const tradersPodsWebhooksQuerySchema: import("@feathersjs/typebox
87
87
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
88
88
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
89
89
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
90
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
91
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
90
+ $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<{}>]>>;
91
+ $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<{}>]>>;
92
92
  }>, import("@feathersjs/typebox").TObject<{
93
93
  [key: string]: import("@feathersjs/typebox").TSchema;
94
94
  } | undefined>]>>]>>;
95
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
95
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
96
96
  $gt: import("@feathersjs/typebox").TString<string>;
97
97
  $gte: import("@feathersjs/typebox").TString<string>;
98
98
  $lt: import("@feathersjs/typebox").TString<string>;
99
99
  $lte: import("@feathersjs/typebox").TString<string>;
100
100
  $ne: import("@feathersjs/typebox").TString<string>;
101
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
102
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
101
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
102
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
103
103
  }>, import("@feathersjs/typebox").TObject<{
104
104
  [key: string]: import("@feathersjs/typebox").TSchema;
105
105
  } | undefined>]>>]>>;
106
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
106
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
107
107
  $gt: import("@feathersjs/typebox").TString<string>;
108
108
  $gte: import("@feathersjs/typebox").TString<string>;
109
109
  $lt: import("@feathersjs/typebox").TString<string>;
110
110
  $lte: import("@feathersjs/typebox").TString<string>;
111
111
  $ne: import("@feathersjs/typebox").TString<string>;
112
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
113
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
112
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
113
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
114
114
  }>, import("@feathersjs/typebox").TObject<{
115
115
  [key: string]: import("@feathersjs/typebox").TSchema;
116
116
  } | undefined>]>>]>>;
@@ -122,30 +122,30 @@ export declare const tradersPodsWebhooksQuerySchema: import("@feathersjs/typebox
122
122
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
123
123
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
124
124
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
125
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
126
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
125
+ $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<{}>]>>;
126
+ $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<{}>]>>;
127
127
  }>, import("@feathersjs/typebox").TObject<{
128
128
  [key: string]: import("@feathersjs/typebox").TSchema;
129
129
  } | undefined>]>>]>>;
130
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
130
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
131
131
  $gt: import("@feathersjs/typebox").TString<string>;
132
132
  $gte: import("@feathersjs/typebox").TString<string>;
133
133
  $lt: import("@feathersjs/typebox").TString<string>;
134
134
  $lte: import("@feathersjs/typebox").TString<string>;
135
135
  $ne: import("@feathersjs/typebox").TString<string>;
136
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
137
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
136
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
137
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
138
138
  }>, import("@feathersjs/typebox").TObject<{
139
139
  [key: string]: import("@feathersjs/typebox").TSchema;
140
140
  } | undefined>]>>]>>;
141
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
141
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
142
142
  $gt: import("@feathersjs/typebox").TString<string>;
143
143
  $gte: import("@feathersjs/typebox").TString<string>;
144
144
  $lt: import("@feathersjs/typebox").TString<string>;
145
145
  $lte: import("@feathersjs/typebox").TString<string>;
146
146
  $ne: import("@feathersjs/typebox").TString<string>;
147
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
148
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
147
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
148
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
149
149
  }>, import("@feathersjs/typebox").TObject<{
150
150
  [key: string]: import("@feathersjs/typebox").TSchema;
151
151
  } | undefined>]>>]>>;
@@ -158,30 +158,30 @@ export declare const tradersPodsWebhooksQuerySchema: import("@feathersjs/typebox
158
158
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
159
159
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
160
160
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
161
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
162
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
161
+ $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<{}>]>>;
162
+ $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<{}>]>>;
163
163
  }>, import("@feathersjs/typebox").TObject<{
164
164
  [key: string]: import("@feathersjs/typebox").TSchema;
165
165
  } | undefined>]>>]>>;
166
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
166
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
167
167
  $gt: import("@feathersjs/typebox").TString<string>;
168
168
  $gte: import("@feathersjs/typebox").TString<string>;
169
169
  $lt: import("@feathersjs/typebox").TString<string>;
170
170
  $lte: import("@feathersjs/typebox").TString<string>;
171
171
  $ne: import("@feathersjs/typebox").TString<string>;
172
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
173
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
172
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
173
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
174
174
  }>, import("@feathersjs/typebox").TObject<{
175
175
  [key: string]: import("@feathersjs/typebox").TSchema;
176
176
  } | undefined>]>>]>>;
177
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
177
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
178
178
  $gt: import("@feathersjs/typebox").TString<string>;
179
179
  $gte: import("@feathersjs/typebox").TString<string>;
180
180
  $lt: import("@feathersjs/typebox").TString<string>;
181
181
  $lte: import("@feathersjs/typebox").TString<string>;
182
182
  $ne: import("@feathersjs/typebox").TString<string>;
183
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
184
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
183
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
184
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
185
185
  }>, import("@feathersjs/typebox").TObject<{
186
186
  [key: string]: import("@feathersjs/typebox").TSchema;
187
187
  } | undefined>]>>]>>;
@@ -193,30 +193,30 @@ export declare const tradersPodsWebhooksQuerySchema: import("@feathersjs/typebox
193
193
  $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
194
194
  $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
195
195
  $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
196
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
197
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
196
+ $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<{}>]>>;
197
+ $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<{}>]>>;
198
198
  }>, import("@feathersjs/typebox").TObject<{
199
199
  [key: string]: import("@feathersjs/typebox").TSchema;
200
200
  } | undefined>]>>]>>;
201
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
201
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
202
202
  $gt: import("@feathersjs/typebox").TString<string>;
203
203
  $gte: import("@feathersjs/typebox").TString<string>;
204
204
  $lt: import("@feathersjs/typebox").TString<string>;
205
205
  $lte: import("@feathersjs/typebox").TString<string>;
206
206
  $ne: import("@feathersjs/typebox").TString<string>;
207
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
208
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
207
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
208
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
209
209
  }>, import("@feathersjs/typebox").TObject<{
210
210
  [key: string]: import("@feathersjs/typebox").TSchema;
211
211
  } | undefined>]>>]>>;
212
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
212
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
213
213
  $gt: import("@feathersjs/typebox").TString<string>;
214
214
  $gte: import("@feathersjs/typebox").TString<string>;
215
215
  $lt: import("@feathersjs/typebox").TString<string>;
216
216
  $lte: import("@feathersjs/typebox").TString<string>;
217
217
  $ne: import("@feathersjs/typebox").TString<string>;
218
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
219
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
218
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
219
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
220
220
  }>, import("@feathersjs/typebox").TObject<{
221
221
  [key: string]: import("@feathersjs/typebox").TSchema;
222
222
  } | undefined>]>>]>>;
@@ -228,10 +228,10 @@ export declare const tradersPodsWebhooksQueryResolver: import("@feathersjs/schem
228
228
  $skip: number;
229
229
  $sort: {
230
230
  _id?: number | undefined;
231
- traderId?: number | undefined;
232
231
  userId?: number | undefined;
232
+ traderId?: number | undefined;
233
233
  };
234
- $select: ("_id" | "traderId" | "userId")[];
234
+ $select: ("_id" | "userId" | "traderId")[];
235
235
  $and: ({
236
236
  _id?: string | {} | Partial<{
237
237
  $gt: string | {};
@@ -239,26 +239,26 @@ export declare const tradersPodsWebhooksQueryResolver: import("@feathersjs/schem
239
239
  $lt: string | {};
240
240
  $lte: string | {};
241
241
  $ne: string | {};
242
- $in: (string | {})[];
243
- $nin: (string | {})[];
242
+ $in: string | {} | (string | {})[];
243
+ $nin: string | {} | (string | {})[];
244
244
  } & {}> | undefined;
245
- traderId?: string | Partial<{
245
+ userId?: string | Partial<{
246
246
  $gt: string;
247
247
  $gte: string;
248
248
  $lt: string;
249
249
  $lte: string;
250
250
  $ne: string;
251
- $in: string[];
252
- $nin: string[];
251
+ $in: string | string[];
252
+ $nin: string | string[];
253
253
  } & {}> | undefined;
254
- userId?: string | Partial<{
254
+ traderId?: string | Partial<{
255
255
  $gt: string;
256
256
  $gte: string;
257
257
  $lt: string;
258
258
  $lte: string;
259
259
  $ne: string;
260
- $in: string[];
261
- $nin: string[];
260
+ $in: string | string[];
261
+ $nin: string | string[];
262
262
  } & {}> | undefined;
263
263
  } | {
264
264
  $or: {
@@ -268,26 +268,26 @@ export declare const tradersPodsWebhooksQueryResolver: import("@feathersjs/schem
268
268
  $lt: string | {};
269
269
  $lte: string | {};
270
270
  $ne: string | {};
271
- $in: (string | {})[];
272
- $nin: (string | {})[];
271
+ $in: string | {} | (string | {})[];
272
+ $nin: string | {} | (string | {})[];
273
273
  } & {}> | undefined;
274
- traderId?: string | Partial<{
274
+ userId?: string | Partial<{
275
275
  $gt: string;
276
276
  $gte: string;
277
277
  $lt: string;
278
278
  $lte: string;
279
279
  $ne: string;
280
- $in: string[];
281
- $nin: string[];
280
+ $in: string | string[];
281
+ $nin: string | string[];
282
282
  } & {}> | undefined;
283
- userId?: string | Partial<{
283
+ traderId?: string | Partial<{
284
284
  $gt: string;
285
285
  $gte: string;
286
286
  $lt: string;
287
287
  $lte: string;
288
288
  $ne: string;
289
- $in: string[];
290
- $nin: string[];
289
+ $in: string | string[];
290
+ $nin: string | string[];
291
291
  } & {}> | undefined;
292
292
  }[];
293
293
  })[];
@@ -298,26 +298,26 @@ export declare const tradersPodsWebhooksQueryResolver: import("@feathersjs/schem
298
298
  $lt: string | {};
299
299
  $lte: string | {};
300
300
  $ne: string | {};
301
- $in: (string | {})[];
302
- $nin: (string | {})[];
301
+ $in: string | {} | (string | {})[];
302
+ $nin: string | {} | (string | {})[];
303
303
  } & {}> | undefined;
304
- traderId?: string | Partial<{
304
+ userId?: string | Partial<{
305
305
  $gt: string;
306
306
  $gte: string;
307
307
  $lt: string;
308
308
  $lte: string;
309
309
  $ne: string;
310
- $in: string[];
311
- $nin: string[];
310
+ $in: string | string[];
311
+ $nin: string | string[];
312
312
  } & {}> | undefined;
313
- userId?: string | Partial<{
313
+ traderId?: string | Partial<{
314
314
  $gt: string;
315
315
  $gte: string;
316
316
  $lt: string;
317
317
  $lte: string;
318
318
  $ne: string;
319
- $in: string[];
320
- $nin: string[];
319
+ $in: string | string[];
320
+ $nin: string | string[];
321
321
  } & {}> | undefined;
322
322
  }[];
323
323
  }> & {
@@ -327,25 +327,25 @@ export declare const tradersPodsWebhooksQueryResolver: import("@feathersjs/schem
327
327
  $lt: string | {};
328
328
  $lte: string | {};
329
329
  $ne: string | {};
330
- $in: (string | {})[];
331
- $nin: (string | {})[];
330
+ $in: string | {} | (string | {})[];
331
+ $nin: string | {} | (string | {})[];
332
332
  } & {}> | undefined;
333
- traderId?: string | Partial<{
333
+ userId?: string | Partial<{
334
334
  $gt: string;
335
335
  $gte: string;
336
336
  $lt: string;
337
337
  $lte: string;
338
338
  $ne: string;
339
- $in: string[];
340
- $nin: string[];
339
+ $in: string | string[];
340
+ $nin: string | string[];
341
341
  } & {}> | undefined;
342
- userId?: string | Partial<{
342
+ traderId?: string | Partial<{
343
343
  $gt: string;
344
344
  $gte: string;
345
345
  $lt: string;
346
346
  $lte: string;
347
347
  $ne: string;
348
- $in: string[];
349
- $nin: string[];
348
+ $in: string | string[];
349
+ $nin: string | string[];
350
350
  } & {}> | undefined;
351
351
  } & {}, HookContext<TradersPodsWebhooksService<import("./webhooks.class").TradersPodsWebhooksParams>>>;
@@ -1,11 +1,17 @@
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
+ import { MemoryService } from '@feathersjs/memory';
4
5
  import type { Application } from '../../declarations';
5
6
  import type { Traders, TradersData, TradersPatch, TradersQuery } from './traders.schema';
6
7
  export type { Traders, TradersData, TradersPatch, TradersQuery };
7
8
  export interface TradersParams extends MongoDBAdapterParams<TradersQuery> {
8
9
  }
10
+ export interface TradersParamsMemory {
11
+ }
9
12
  export declare class TradersService<ServiceParams extends Params = TradersParams> extends MongoDBService<Traders, TradersData, TradersParams, TradersPatch> {
10
13
  }
14
+ export declare class TradersServiceMemory<ServiceParams extends Params = TradersParamsMemory> extends MemoryService<Traders, TradersData, TradersParamsMemory, TradersPatch> {
15
+ }
11
16
  export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
17
+ export declare const getOptionsMemory: (app: Application) => any;
@@ -3,6 +3,7 @@ import { TradersService } from './traders.class';
3
3
  import { tradersPath } from './traders.shared';
4
4
  export * from './traders.class';
5
5
  export * from './traders.schema';
6
+ export declare const hooks: any;
6
7
  export declare const traders: (app: Application) => void;
7
8
  declare module '../../declarations' {
8
9
  interface ServiceTypes {