@cryptorobot.ai/client 0.0.32 → 0.0.35

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 (41) 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 +41 -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 +80 -32
  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/backtest/results/results.schema.d.ts +4 -4
  26. package/lib/services/strategies/indicators/indicators.schema.d.ts +61 -61
  27. package/lib/services/strategies/strategies.d.ts +1 -0
  28. package/lib/services/strategies/strategies.schema.d.ts +36 -20
  29. package/lib/services/strategies/templates/templates.schema.d.ts +9 -1
  30. package/lib/services/stripe/webhooks/webhooks.class.d.ts +26 -0
  31. package/lib/services/stripe/webhooks/webhooks.d.ts +9 -0
  32. package/lib/services/stripe/webhooks/webhooks.shared.d.ts +13 -0
  33. package/lib/services/stripe/webhooks/webhooks.shared.js +13 -0
  34. package/lib/services/traders/pods/api/api.schema.d.ts +116 -76
  35. package/lib/services/traders/pods/pods.schema.d.ts +92 -60
  36. package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +217 -3
  37. package/lib/services/traders/traders.schema.d.ts +141 -133
  38. package/lib/services/users/users.d.ts +1 -0
  39. package/lib/services/users/users.helper.d.ts +1 -1
  40. package/lib/services/users/users.schema.d.ts +236 -88
  41. package/package.json +1 -1
@@ -11,7 +11,7 @@ export declare const messagesSchema: import("@feathersjs/typebox").TObject<{
11
11
  time: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
12
12
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
13
13
  user: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
14
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>;
14
+ _id: 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<{}>]>]>>;
15
15
  googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
16
16
  appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
17
17
  email: import("@feathersjs/typebox").TString<"email">;
@@ -24,10 +24,11 @@ export declare const messagesSchema: import("@feathersjs/typebox").TObject<{
24
24
  language: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
25
25
  about: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
26
26
  profile: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"conservative">, import("@feathersjs/typebox").TLiteral<"moderate">, import("@feathersjs/typebox").TLiteral<"aggressive">]>>;
27
- payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">]>>;
27
+ payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">, import("@feathersjs/typebox").TLiteral<"revenuecat">]>>;
28
28
  yearly: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
29
29
  paymentIntent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
30
30
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
31
+ 'stripe.id': import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
31
32
  customerInfo: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
32
33
  subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
33
34
  plan: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -44,11 +45,16 @@ export declare const messagesSchema: import("@feathersjs/typebox").TObject<{
44
45
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
45
46
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
46
47
  }>>;
48
+ trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
49
+ active: import("@feathersjs/typebox").TBoolean;
50
+ expires: import("@feathersjs/typebox").TString<string>;
51
+ }>>;
47
52
  $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
53
+ $aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
48
54
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
49
55
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
50
56
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
51
- isVerified: import("@feathersjs/typebox").TBoolean;
57
+ isVerified: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
52
58
  verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
53
59
  verifyTokenShort: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
54
60
  verifyShortToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
@@ -84,7 +90,13 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
84
90
  android?: string | undefined;
85
91
  } | undefined;
86
92
  country?: string | undefined;
93
+ subscription?: any;
94
+ trial?: {
95
+ active: boolean;
96
+ expires: string;
97
+ } | undefined;
87
98
  stripe?: any;
99
+ _id?: string | {} | undefined;
88
100
  googleId?: any;
89
101
  appleId?: any;
90
102
  avatar?: string | undefined;
@@ -93,11 +105,11 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
93
105
  language?: string | undefined;
94
106
  about?: string | null | undefined;
95
107
  profile?: "conservative" | "moderate" | "aggressive" | undefined;
96
- payment?: "stripe" | undefined;
108
+ payment?: "stripe" | "revenuecat" | undefined;
97
109
  yearly?: boolean | undefined;
98
110
  paymentIntent?: any;
111
+ 'stripe.id'?: any;
99
112
  customerInfo?: any;
100
- subscription?: any;
101
113
  plan?: string | undefined;
102
114
  appearance?: {
103
115
  scheme?: string | undefined;
@@ -108,9 +120,11 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
108
120
  hyperopt?: any;
109
121
  } | undefined;
110
122
  $inc?: any;
123
+ $aggregate?: any;
111
124
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
112
125
  timezone?: string | undefined;
113
126
  subscribe?: string | undefined;
127
+ isVerified?: boolean | undefined;
114
128
  verifyToken?: string | null | undefined;
115
129
  verifyTokenShort?: string | null | undefined;
116
130
  verifyShortToken?: string | null | undefined;
@@ -121,15 +135,13 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
121
135
  resetExpires?: number | null | undefined;
122
136
  resetAttempts?: number | null | undefined;
123
137
  anon?: boolean | undefined;
124
- onboarding?: "strategies" | "telegram" | "traders" | null | undefined;
138
+ onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
125
139
  contactId?: string | undefined;
126
140
  createdAt?: any;
127
141
  updatedAt?: any;
128
142
  skipEmailVerification?: boolean | undefined;
129
143
  email: string;
130
144
  name: string;
131
- _id: string | {};
132
- isVerified: boolean;
133
145
  agreements: boolean;
134
146
  bootstrap: any;
135
147
  } | undefined;
@@ -155,7 +167,13 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
155
167
  android?: string | undefined;
156
168
  } | undefined;
157
169
  country?: string | undefined;
170
+ subscription?: any;
171
+ trial?: {
172
+ active: boolean;
173
+ expires: string;
174
+ } | undefined;
158
175
  stripe?: any;
176
+ _id?: string | {} | undefined;
159
177
  googleId?: any;
160
178
  appleId?: any;
161
179
  avatar?: string | undefined;
@@ -164,11 +182,11 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
164
182
  language?: string | undefined;
165
183
  about?: string | null | undefined;
166
184
  profile?: "conservative" | "moderate" | "aggressive" | undefined;
167
- payment?: "stripe" | undefined;
185
+ payment?: "stripe" | "revenuecat" | undefined;
168
186
  yearly?: boolean | undefined;
169
187
  paymentIntent?: any;
188
+ 'stripe.id'?: any;
170
189
  customerInfo?: any;
171
- subscription?: any;
172
190
  plan?: string | undefined;
173
191
  appearance?: {
174
192
  scheme?: string | undefined;
@@ -179,9 +197,11 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
179
197
  hyperopt?: any;
180
198
  } | undefined;
181
199
  $inc?: any;
200
+ $aggregate?: any;
182
201
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
183
202
  timezone?: string | undefined;
184
203
  subscribe?: string | undefined;
204
+ isVerified?: boolean | undefined;
185
205
  verifyToken?: string | null | undefined;
186
206
  verifyTokenShort?: string | null | undefined;
187
207
  verifyShortToken?: string | null | undefined;
@@ -192,15 +212,13 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
192
212
  resetExpires?: number | null | undefined;
193
213
  resetAttempts?: number | null | undefined;
194
214
  anon?: boolean | undefined;
195
- onboarding?: "strategies" | "telegram" | "traders" | null | undefined;
215
+ onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
196
216
  contactId?: string | undefined;
197
217
  createdAt?: any;
198
218
  updatedAt?: any;
199
219
  skipEmailVerification?: boolean | undefined;
200
220
  email: string;
201
221
  name: string;
202
- _id: string | {};
203
- isVerified: boolean;
204
222
  agreements: boolean;
205
223
  bootstrap: any;
206
224
  } | undefined;
@@ -226,7 +244,7 @@ export declare const messagesDataSchema: import("@feathersjs/typebox").TPick<imp
226
244
  time: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
227
245
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
228
246
  user: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
229
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>;
247
+ _id: 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<{}>]>]>>;
230
248
  googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
231
249
  appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
232
250
  email: import("@feathersjs/typebox").TString<"email">;
@@ -239,10 +257,11 @@ export declare const messagesDataSchema: import("@feathersjs/typebox").TPick<imp
239
257
  language: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
240
258
  about: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
241
259
  profile: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"conservative">, import("@feathersjs/typebox").TLiteral<"moderate">, import("@feathersjs/typebox").TLiteral<"aggressive">]>>;
242
- payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">]>>;
260
+ payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">, import("@feathersjs/typebox").TLiteral<"revenuecat">]>>;
243
261
  yearly: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
244
262
  paymentIntent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
245
263
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
264
+ 'stripe.id': import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
246
265
  customerInfo: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
247
266
  subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
248
267
  plan: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -259,11 +278,16 @@ export declare const messagesDataSchema: import("@feathersjs/typebox").TPick<imp
259
278
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
260
279
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
261
280
  }>>;
281
+ trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
282
+ active: import("@feathersjs/typebox").TBoolean;
283
+ expires: import("@feathersjs/typebox").TString<string>;
284
+ }>>;
262
285
  $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
286
+ $aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
263
287
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
264
288
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
265
289
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
266
- isVerified: import("@feathersjs/typebox").TBoolean;
290
+ isVerified: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
267
291
  verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
268
292
  verifyTokenShort: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
269
293
  verifyShortToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
@@ -299,7 +323,13 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
299
323
  android?: string | undefined;
300
324
  } | undefined;
301
325
  country?: string | undefined;
326
+ subscription?: any;
327
+ trial?: {
328
+ active: boolean;
329
+ expires: string;
330
+ } | undefined;
302
331
  stripe?: any;
332
+ _id?: string | {} | undefined;
303
333
  googleId?: any;
304
334
  appleId?: any;
305
335
  avatar?: string | undefined;
@@ -308,11 +338,11 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
308
338
  language?: string | undefined;
309
339
  about?: string | null | undefined;
310
340
  profile?: "conservative" | "moderate" | "aggressive" | undefined;
311
- payment?: "stripe" | undefined;
341
+ payment?: "stripe" | "revenuecat" | undefined;
312
342
  yearly?: boolean | undefined;
313
343
  paymentIntent?: any;
344
+ 'stripe.id'?: any;
314
345
  customerInfo?: any;
315
- subscription?: any;
316
346
  plan?: string | undefined;
317
347
  appearance?: {
318
348
  scheme?: string | undefined;
@@ -323,9 +353,11 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
323
353
  hyperopt?: any;
324
354
  } | undefined;
325
355
  $inc?: any;
356
+ $aggregate?: any;
326
357
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
327
358
  timezone?: string | undefined;
328
359
  subscribe?: string | undefined;
360
+ isVerified?: boolean | undefined;
329
361
  verifyToken?: string | null | undefined;
330
362
  verifyTokenShort?: string | null | undefined;
331
363
  verifyShortToken?: string | null | undefined;
@@ -336,15 +368,13 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
336
368
  resetExpires?: number | null | undefined;
337
369
  resetAttempts?: number | null | undefined;
338
370
  anon?: boolean | undefined;
339
- onboarding?: "strategies" | "telegram" | "traders" | null | undefined;
371
+ onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
340
372
  contactId?: string | undefined;
341
373
  createdAt?: any;
342
374
  updatedAt?: any;
343
375
  skipEmailVerification?: boolean | undefined;
344
376
  email: string;
345
377
  name: string;
346
- _id: string | {};
347
- isVerified: boolean;
348
378
  agreements: boolean;
349
379
  bootstrap: any;
350
380
  } | undefined;
@@ -370,7 +400,7 @@ export declare const messagesPatchSchema: import("@feathersjs/typebox").TPartial
370
400
  time: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
371
401
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
372
402
  user: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
373
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>;
403
+ _id: 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<{}>]>]>>;
374
404
  googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
375
405
  appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
376
406
  email: import("@feathersjs/typebox").TString<"email">;
@@ -383,10 +413,11 @@ export declare const messagesPatchSchema: import("@feathersjs/typebox").TPartial
383
413
  language: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
384
414
  about: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
385
415
  profile: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"conservative">, import("@feathersjs/typebox").TLiteral<"moderate">, import("@feathersjs/typebox").TLiteral<"aggressive">]>>;
386
- payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">]>>;
416
+ payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">, import("@feathersjs/typebox").TLiteral<"revenuecat">]>>;
387
417
  yearly: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
388
418
  paymentIntent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
389
419
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
420
+ 'stripe.id': import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
390
421
  customerInfo: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
391
422
  subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
392
423
  plan: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -403,11 +434,16 @@ export declare const messagesPatchSchema: import("@feathersjs/typebox").TPartial
403
434
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
404
435
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
405
436
  }>>;
437
+ trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
438
+ active: import("@feathersjs/typebox").TBoolean;
439
+ expires: import("@feathersjs/typebox").TString<string>;
440
+ }>>;
406
441
  $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
442
+ $aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
407
443
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
408
444
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
409
445
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
410
- isVerified: import("@feathersjs/typebox").TBoolean;
446
+ isVerified: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
411
447
  verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
412
448
  verifyTokenShort: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
413
449
  verifyShortToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
@@ -443,7 +479,13 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
443
479
  android?: string | undefined;
444
480
  } | undefined;
445
481
  country?: string | undefined;
482
+ subscription?: any;
483
+ trial?: {
484
+ active: boolean;
485
+ expires: string;
486
+ } | undefined;
446
487
  stripe?: any;
488
+ _id?: string | {} | undefined;
447
489
  googleId?: any;
448
490
  appleId?: any;
449
491
  avatar?: string | undefined;
@@ -452,11 +494,11 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
452
494
  language?: string | undefined;
453
495
  about?: string | null | undefined;
454
496
  profile?: "conservative" | "moderate" | "aggressive" | undefined;
455
- payment?: "stripe" | undefined;
497
+ payment?: "stripe" | "revenuecat" | undefined;
456
498
  yearly?: boolean | undefined;
457
499
  paymentIntent?: any;
500
+ 'stripe.id'?: any;
458
501
  customerInfo?: any;
459
- subscription?: any;
460
502
  plan?: string | undefined;
461
503
  appearance?: {
462
504
  scheme?: string | undefined;
@@ -467,9 +509,11 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
467
509
  hyperopt?: any;
468
510
  } | undefined;
469
511
  $inc?: any;
512
+ $aggregate?: any;
470
513
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
471
514
  timezone?: string | undefined;
472
515
  subscribe?: string | undefined;
516
+ isVerified?: boolean | undefined;
473
517
  verifyToken?: string | null | undefined;
474
518
  verifyTokenShort?: string | null | undefined;
475
519
  verifyShortToken?: string | null | undefined;
@@ -480,15 +524,13 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
480
524
  resetExpires?: number | null | undefined;
481
525
  resetAttempts?: number | null | undefined;
482
526
  anon?: boolean | undefined;
483
- onboarding?: "strategies" | "telegram" | "traders" | null | undefined;
527
+ onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
484
528
  contactId?: string | undefined;
485
529
  createdAt?: any;
486
530
  updatedAt?: any;
487
531
  skipEmailVerification?: boolean | undefined;
488
532
  email: string;
489
533
  name: string;
490
- _id: string | {};
491
- isVerified: boolean;
492
534
  agreements: boolean;
493
535
  bootstrap: any;
494
536
  } | undefined;
@@ -514,7 +556,7 @@ export declare const messagesQueryProperties: import("@feathersjs/typebox").TPic
514
556
  time: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
515
557
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
516
558
  user: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TObject<{
517
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>;
559
+ _id: 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<{}>]>]>>;
518
560
  googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
519
561
  appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
520
562
  email: import("@feathersjs/typebox").TString<"email">;
@@ -527,10 +569,11 @@ export declare const messagesQueryProperties: import("@feathersjs/typebox").TPic
527
569
  language: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
528
570
  about: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
529
571
  profile: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"conservative">, import("@feathersjs/typebox").TLiteral<"moderate">, import("@feathersjs/typebox").TLiteral<"aggressive">]>>;
530
- payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">]>>;
572
+ payment: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"stripe">, import("@feathersjs/typebox").TLiteral<"revenuecat">]>>;
531
573
  yearly: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
532
574
  paymentIntent: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
533
575
  stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
576
+ 'stripe.id': import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
534
577
  customerInfo: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
535
578
  subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
536
579
  plan: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -547,11 +590,16 @@ export declare const messagesQueryProperties: import("@feathersjs/typebox").TPic
547
590
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
548
591
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
549
592
  }>>;
593
+ trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
594
+ active: import("@feathersjs/typebox").TBoolean;
595
+ expires: import("@feathersjs/typebox").TString<string>;
596
+ }>>;
550
597
  $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
598
+ $aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
551
599
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
552
600
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
553
601
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
554
- isVerified: import("@feathersjs/typebox").TBoolean;
602
+ isVerified: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
555
603
  verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
556
604
  verifyTokenShort: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
557
605
  verifyShortToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TString<string>]>>;
@@ -4,6 +4,7 @@ import { strategiesBacktestPath } from './backtest.shared';
4
4
  export * from './backtest.class';
5
5
  export * from './backtest.schema';
6
6
  export declare const strategiesBacktest: (app: Application) => void;
7
+ export declare const hooks: any;
7
8
  declare module '../../../declarations' {
8
9
  interface ServiceTypes {
9
10
  [strategiesBacktestPath]: StrategiesBacktestService;