@cryptorobot.ai/client 0.0.34 → 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.
- package/lib/configuration.d.ts +29 -0
- package/lib/services/messages/messages.schema.d.ts +40 -8
- package/lib/services/strategies/backtest/results/results.schema.d.ts +4 -4
- package/lib/services/strategies/strategies.schema.d.ts +4 -4
- package/lib/services/traders/pods/api/api.schema.d.ts +4 -4
- package/lib/services/traders/pods/pods.schema.d.ts +4 -4
- package/lib/services/users/users.schema.d.ts +40 -8
- package/package.json +1 -1
package/lib/configuration.d.ts
CHANGED
|
@@ -134,6 +134,35 @@ export declare const configurationSchema: import("@feathersjs/typebox").TInterse
|
|
|
134
134
|
resetPwdLong: import("@feathersjs/typebox").TString<string>;
|
|
135
135
|
passwordChange: import("@feathersjs/typebox").TString<string>;
|
|
136
136
|
}>>;
|
|
137
|
+
subscription: import("@feathersjs/typebox").TObject<{
|
|
138
|
+
limits: import("@feathersjs/typebox").TObject<{
|
|
139
|
+
trial: import("@feathersjs/typebox").TObject<{
|
|
140
|
+
days: import("@feathersjs/typebox").TNumber;
|
|
141
|
+
}>;
|
|
142
|
+
freemium: import("@feathersjs/typebox").TObject<{
|
|
143
|
+
traders: import("@feathersjs/typebox").TNumber;
|
|
144
|
+
backtest: import("@feathersjs/typebox").TObject<{
|
|
145
|
+
threshold: import("@feathersjs/typebox").TObject<{
|
|
146
|
+
cpu: import("@feathersjs/typebox").TNumber;
|
|
147
|
+
}>;
|
|
148
|
+
simultaneous: import("@feathersjs/typebox").TNumber;
|
|
149
|
+
memory: import("@feathersjs/typebox").TNumber;
|
|
150
|
+
cpu: import("@feathersjs/typebox").TNumber;
|
|
151
|
+
}>;
|
|
152
|
+
}>;
|
|
153
|
+
premium: import("@feathersjs/typebox").TObject<{
|
|
154
|
+
traders: import("@feathersjs/typebox").TNumber;
|
|
155
|
+
backtest: import("@feathersjs/typebox").TObject<{
|
|
156
|
+
threshold: import("@feathersjs/typebox").TObject<{
|
|
157
|
+
cpu: import("@feathersjs/typebox").TNumber;
|
|
158
|
+
}>;
|
|
159
|
+
simultaneous: import("@feathersjs/typebox").TNumber;
|
|
160
|
+
memory: import("@feathersjs/typebox").TNumber;
|
|
161
|
+
cpu: import("@feathersjs/typebox").TNumber;
|
|
162
|
+
}>;
|
|
163
|
+
}>;
|
|
164
|
+
}>;
|
|
165
|
+
}>;
|
|
137
166
|
image: import("@feathersjs/typebox").TString<string>;
|
|
138
167
|
maildev: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
139
168
|
api: import("@feathersjs/typebox").TString<string>;
|
|
@@ -45,6 +45,10 @@ export declare const messagesSchema: import("@feathersjs/typebox").TObject<{
|
|
|
45
45
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
46
46
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
47
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
|
+
}>>;
|
|
48
52
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
49
53
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
50
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">]>>;
|
|
@@ -86,6 +90,11 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
86
90
|
android?: string | undefined;
|
|
87
91
|
} | undefined;
|
|
88
92
|
country?: string | undefined;
|
|
93
|
+
subscription?: any;
|
|
94
|
+
trial?: {
|
|
95
|
+
active: boolean;
|
|
96
|
+
expires: string;
|
|
97
|
+
} | undefined;
|
|
89
98
|
stripe?: any;
|
|
90
99
|
_id?: string | {} | undefined;
|
|
91
100
|
googleId?: any;
|
|
@@ -101,7 +110,6 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
101
110
|
paymentIntent?: any;
|
|
102
111
|
'stripe.id'?: any;
|
|
103
112
|
customerInfo?: any;
|
|
104
|
-
subscription?: any;
|
|
105
113
|
plan?: string | undefined;
|
|
106
114
|
appearance?: {
|
|
107
115
|
scheme?: string | undefined;
|
|
@@ -127,7 +135,7 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
127
135
|
resetExpires?: number | null | undefined;
|
|
128
136
|
resetAttempts?: number | null | undefined;
|
|
129
137
|
anon?: boolean | undefined;
|
|
130
|
-
onboarding?: "
|
|
138
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
131
139
|
contactId?: string | undefined;
|
|
132
140
|
createdAt?: any;
|
|
133
141
|
updatedAt?: any;
|
|
@@ -159,6 +167,11 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
|
|
|
159
167
|
android?: string | undefined;
|
|
160
168
|
} | undefined;
|
|
161
169
|
country?: string | undefined;
|
|
170
|
+
subscription?: any;
|
|
171
|
+
trial?: {
|
|
172
|
+
active: boolean;
|
|
173
|
+
expires: string;
|
|
174
|
+
} | undefined;
|
|
162
175
|
stripe?: any;
|
|
163
176
|
_id?: string | {} | undefined;
|
|
164
177
|
googleId?: any;
|
|
@@ -174,7 +187,6 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
|
|
|
174
187
|
paymentIntent?: any;
|
|
175
188
|
'stripe.id'?: any;
|
|
176
189
|
customerInfo?: any;
|
|
177
|
-
subscription?: any;
|
|
178
190
|
plan?: string | undefined;
|
|
179
191
|
appearance?: {
|
|
180
192
|
scheme?: string | undefined;
|
|
@@ -200,7 +212,7 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
|
|
|
200
212
|
resetExpires?: number | null | undefined;
|
|
201
213
|
resetAttempts?: number | null | undefined;
|
|
202
214
|
anon?: boolean | undefined;
|
|
203
|
-
onboarding?: "
|
|
215
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
204
216
|
contactId?: string | undefined;
|
|
205
217
|
createdAt?: any;
|
|
206
218
|
updatedAt?: any;
|
|
@@ -266,6 +278,10 @@ export declare const messagesDataSchema: import("@feathersjs/typebox").TPick<imp
|
|
|
266
278
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
267
279
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
268
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
|
+
}>>;
|
|
269
285
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
270
286
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
271
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">]>>;
|
|
@@ -307,6 +323,11 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
|
|
|
307
323
|
android?: string | undefined;
|
|
308
324
|
} | undefined;
|
|
309
325
|
country?: string | undefined;
|
|
326
|
+
subscription?: any;
|
|
327
|
+
trial?: {
|
|
328
|
+
active: boolean;
|
|
329
|
+
expires: string;
|
|
330
|
+
} | undefined;
|
|
310
331
|
stripe?: any;
|
|
311
332
|
_id?: string | {} | undefined;
|
|
312
333
|
googleId?: any;
|
|
@@ -322,7 +343,6 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
|
|
|
322
343
|
paymentIntent?: any;
|
|
323
344
|
'stripe.id'?: any;
|
|
324
345
|
customerInfo?: any;
|
|
325
|
-
subscription?: any;
|
|
326
346
|
plan?: string | undefined;
|
|
327
347
|
appearance?: {
|
|
328
348
|
scheme?: string | undefined;
|
|
@@ -348,7 +368,7 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
|
|
|
348
368
|
resetExpires?: number | null | undefined;
|
|
349
369
|
resetAttempts?: number | null | undefined;
|
|
350
370
|
anon?: boolean | undefined;
|
|
351
|
-
onboarding?: "
|
|
371
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
352
372
|
contactId?: string | undefined;
|
|
353
373
|
createdAt?: any;
|
|
354
374
|
updatedAt?: any;
|
|
@@ -414,6 +434,10 @@ export declare const messagesPatchSchema: import("@feathersjs/typebox").TPartial
|
|
|
414
434
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
415
435
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
416
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
|
+
}>>;
|
|
417
441
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
418
442
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
419
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">]>>;
|
|
@@ -455,6 +479,11 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
|
|
|
455
479
|
android?: string | undefined;
|
|
456
480
|
} | undefined;
|
|
457
481
|
country?: string | undefined;
|
|
482
|
+
subscription?: any;
|
|
483
|
+
trial?: {
|
|
484
|
+
active: boolean;
|
|
485
|
+
expires: string;
|
|
486
|
+
} | undefined;
|
|
458
487
|
stripe?: any;
|
|
459
488
|
_id?: string | {} | undefined;
|
|
460
489
|
googleId?: any;
|
|
@@ -470,7 +499,6 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
|
|
|
470
499
|
paymentIntent?: any;
|
|
471
500
|
'stripe.id'?: any;
|
|
472
501
|
customerInfo?: any;
|
|
473
|
-
subscription?: any;
|
|
474
502
|
plan?: string | undefined;
|
|
475
503
|
appearance?: {
|
|
476
504
|
scheme?: string | undefined;
|
|
@@ -496,7 +524,7 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
|
|
|
496
524
|
resetExpires?: number | null | undefined;
|
|
497
525
|
resetAttempts?: number | null | undefined;
|
|
498
526
|
anon?: boolean | undefined;
|
|
499
|
-
onboarding?: "
|
|
527
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
500
528
|
contactId?: string | undefined;
|
|
501
529
|
createdAt?: any;
|
|
502
530
|
updatedAt?: any;
|
|
@@ -562,6 +590,10 @@ export declare const messagesQueryProperties: import("@feathersjs/typebox").TPic
|
|
|
562
590
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
563
591
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
564
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
|
+
}>>;
|
|
565
597
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
566
598
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
567
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">]>>;
|
|
@@ -123,6 +123,7 @@ export type StrategiesBacktestResults = Static<typeof strategiesBacktestResultsS
|
|
|
123
123
|
export declare const strategiesBacktestResultsValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
124
124
|
export declare const strategiesBacktestResultsResolver: import("@feathersjs/schema").Resolver<{
|
|
125
125
|
finishedAt?: any;
|
|
126
|
+
limits: any;
|
|
126
127
|
_id: string | {};
|
|
127
128
|
createdAt: any;
|
|
128
129
|
updatedAt: any;
|
|
@@ -237,10 +238,10 @@ export declare const strategiesBacktestResultsResolver: import("@feathersjs/sche
|
|
|
237
238
|
max_consecutive_losses: number;
|
|
238
239
|
max_relative_drawdown: number;
|
|
239
240
|
executionTimeInSeconds: number;
|
|
240
|
-
limits: any;
|
|
241
241
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
242
242
|
export declare const strategiesBacktestResultsExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
243
243
|
finishedAt?: any;
|
|
244
|
+
limits: any;
|
|
244
245
|
_id: string | {};
|
|
245
246
|
createdAt: any;
|
|
246
247
|
updatedAt: any;
|
|
@@ -355,7 +356,6 @@ export declare const strategiesBacktestResultsExternalResolver: import("@feather
|
|
|
355
356
|
max_consecutive_losses: number;
|
|
356
357
|
max_relative_drawdown: number;
|
|
357
358
|
executionTimeInSeconds: number;
|
|
358
|
-
limits: any;
|
|
359
359
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
360
360
|
export declare const strategiesBacktestResultsDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
361
361
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -479,6 +479,7 @@ export type StrategiesBacktestResultsData = Static<typeof strategiesBacktestResu
|
|
|
479
479
|
export declare const strategiesBacktestResultsDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
480
480
|
export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/schema").Resolver<{
|
|
481
481
|
finishedAt?: any;
|
|
482
|
+
limits: any;
|
|
482
483
|
_id: string | {};
|
|
483
484
|
createdAt: any;
|
|
484
485
|
updatedAt: any;
|
|
@@ -593,7 +594,6 @@ export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/
|
|
|
593
594
|
max_consecutive_losses: number;
|
|
594
595
|
max_relative_drawdown: number;
|
|
595
596
|
executionTimeInSeconds: number;
|
|
596
|
-
limits: any;
|
|
597
597
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
598
598
|
export declare const strategiesBacktestResultsPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
599
599
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -717,6 +717,7 @@ export type StrategiesBacktestResultsPatch = Static<typeof strategiesBacktestRes
|
|
|
717
717
|
export declare const strategiesBacktestResultsPatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
718
718
|
export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
719
719
|
finishedAt?: any;
|
|
720
|
+
limits: any;
|
|
720
721
|
_id: string | {};
|
|
721
722
|
createdAt: any;
|
|
722
723
|
updatedAt: any;
|
|
@@ -831,7 +832,6 @@ export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs
|
|
|
831
832
|
max_consecutive_losses: number;
|
|
832
833
|
max_relative_drawdown: number;
|
|
833
834
|
executionTimeInSeconds: number;
|
|
834
|
-
limits: any;
|
|
835
835
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
836
836
|
export declare const strategiesBacktestResultsQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
837
837
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -258,7 +258,6 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
|
|
|
258
258
|
export type Strategies = Static<typeof strategiesSchema>;
|
|
259
259
|
export declare const strategiesValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
260
260
|
export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
261
|
-
_id?: string | {} | undefined;
|
|
262
261
|
traders?: {
|
|
263
262
|
telegram?: {
|
|
264
263
|
access_hash?: string | null | undefined;
|
|
@@ -443,6 +442,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
443
442
|
CORS_origins: string[];
|
|
444
443
|
};
|
|
445
444
|
}[] | undefined;
|
|
445
|
+
_id?: string | {} | undefined;
|
|
446
446
|
createdAt?: any;
|
|
447
447
|
updatedAt?: any;
|
|
448
448
|
userId?: string | {} | undefined;
|
|
@@ -512,7 +512,6 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
512
512
|
'strategies/indicators': any;
|
|
513
513
|
}, HookContext<StrategiesService<import("./strategies.class").StrategiesParams>>>;
|
|
514
514
|
export declare const strategiesExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
515
|
-
_id?: string | {} | undefined;
|
|
516
515
|
traders?: {
|
|
517
516
|
telegram?: {
|
|
518
517
|
access_hash?: string | null | undefined;
|
|
@@ -697,6 +696,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
697
696
|
CORS_origins: string[];
|
|
698
697
|
};
|
|
699
698
|
}[] | undefined;
|
|
699
|
+
_id?: string | {} | undefined;
|
|
700
700
|
createdAt?: any;
|
|
701
701
|
updatedAt?: any;
|
|
702
702
|
userId?: string | {} | undefined;
|
|
@@ -1022,7 +1022,6 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
|
|
|
1022
1022
|
export type StrategiesData = Static<typeof strategiesDataSchema>;
|
|
1023
1023
|
export declare const strategiesDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
1024
1024
|
export declare const strategiesDataResolver: import("@feathersjs/schema").Resolver<{
|
|
1025
|
-
_id?: string | {} | undefined;
|
|
1026
1025
|
traders?: {
|
|
1027
1026
|
telegram?: {
|
|
1028
1027
|
access_hash?: string | null | undefined;
|
|
@@ -1207,6 +1206,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1207
1206
|
CORS_origins: string[];
|
|
1208
1207
|
};
|
|
1209
1208
|
}[] | undefined;
|
|
1209
|
+
_id?: string | {} | undefined;
|
|
1210
1210
|
createdAt?: any;
|
|
1211
1211
|
updatedAt?: any;
|
|
1212
1212
|
userId?: string | {} | undefined;
|
|
@@ -1532,7 +1532,6 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
|
|
|
1532
1532
|
export type StrategiesPatch = Static<typeof strategiesPatchSchema>;
|
|
1533
1533
|
export declare const strategiesPatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
1534
1534
|
export declare const strategiesPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
1535
|
-
_id?: string | {} | undefined;
|
|
1536
1535
|
traders?: {
|
|
1537
1536
|
telegram?: {
|
|
1538
1537
|
access_hash?: string | null | undefined;
|
|
@@ -1717,6 +1716,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1717
1716
|
CORS_origins: string[];
|
|
1718
1717
|
};
|
|
1719
1718
|
}[] | undefined;
|
|
1719
|
+
_id?: string | {} | undefined;
|
|
1720
1720
|
createdAt?: any;
|
|
1721
1721
|
updatedAt?: any;
|
|
1722
1722
|
userId?: string | {} | undefined;
|
|
@@ -752,7 +752,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
|
|
|
752
752
|
}>;
|
|
753
753
|
exchangeId: string;
|
|
754
754
|
strategy: Partial<{
|
|
755
|
-
_id?: string | {} | undefined;
|
|
756
755
|
traders?: {
|
|
757
756
|
telegram?: {
|
|
758
757
|
access_hash?: string | null | undefined;
|
|
@@ -937,6 +936,7 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
|
|
|
937
936
|
CORS_origins: string[];
|
|
938
937
|
};
|
|
939
938
|
}[] | undefined;
|
|
939
|
+
_id?: string | {} | undefined;
|
|
940
940
|
createdAt?: any;
|
|
941
941
|
updatedAt?: any;
|
|
942
942
|
userId?: string | {} | undefined;
|
|
@@ -1443,7 +1443,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
|
|
|
1443
1443
|
}>;
|
|
1444
1444
|
exchangeId: string;
|
|
1445
1445
|
strategy: Partial<{
|
|
1446
|
-
_id?: string | {} | undefined;
|
|
1447
1446
|
traders?: {
|
|
1448
1447
|
telegram?: {
|
|
1449
1448
|
access_hash?: string | null | undefined;
|
|
@@ -1628,6 +1627,7 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
|
|
|
1628
1627
|
CORS_origins: string[];
|
|
1629
1628
|
};
|
|
1630
1629
|
}[] | undefined;
|
|
1630
|
+
_id?: string | {} | undefined;
|
|
1631
1631
|
createdAt?: any;
|
|
1632
1632
|
updatedAt?: any;
|
|
1633
1633
|
userId?: string | {} | undefined;
|
|
@@ -2827,7 +2827,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
|
|
|
2827
2827
|
}>;
|
|
2828
2828
|
exchangeId: string;
|
|
2829
2829
|
strategy: Partial<{
|
|
2830
|
-
_id?: string | {} | undefined;
|
|
2831
2830
|
traders?: {
|
|
2832
2831
|
telegram?: {
|
|
2833
2832
|
access_hash?: string | null | undefined;
|
|
@@ -3012,6 +3011,7 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
|
|
|
3012
3011
|
CORS_origins: string[];
|
|
3013
3012
|
};
|
|
3014
3013
|
}[] | undefined;
|
|
3014
|
+
_id?: string | {} | undefined;
|
|
3015
3015
|
createdAt?: any;
|
|
3016
3016
|
updatedAt?: any;
|
|
3017
3017
|
userId?: string | {} | undefined;
|
|
@@ -4211,7 +4211,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
|
|
|
4211
4211
|
}>;
|
|
4212
4212
|
exchangeId: string;
|
|
4213
4213
|
strategy: Partial<{
|
|
4214
|
-
_id?: string | {} | undefined;
|
|
4215
4214
|
traders?: {
|
|
4216
4215
|
telegram?: {
|
|
4217
4216
|
access_hash?: string | null | undefined;
|
|
@@ -4396,6 +4395,7 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
|
|
|
4396
4395
|
CORS_origins: string[];
|
|
4397
4396
|
};
|
|
4398
4397
|
}[] | undefined;
|
|
4398
|
+
_id?: string | {} | undefined;
|
|
4399
4399
|
createdAt?: any;
|
|
4400
4400
|
updatedAt?: any;
|
|
4401
4401
|
userId?: string | {} | undefined;
|
|
@@ -557,7 +557,6 @@ export declare const tradersPodsResolver: import("@feathersjs/schema").Resolver<
|
|
|
557
557
|
}>;
|
|
558
558
|
exchangeId: string;
|
|
559
559
|
strategy: Partial<{
|
|
560
|
-
_id?: string | {} | undefined;
|
|
561
560
|
traders?: {
|
|
562
561
|
telegram?: {
|
|
563
562
|
access_hash?: string | null | undefined;
|
|
@@ -742,6 +741,7 @@ export declare const tradersPodsResolver: import("@feathersjs/schema").Resolver<
|
|
|
742
741
|
CORS_origins: string[];
|
|
743
742
|
};
|
|
744
743
|
}[] | undefined;
|
|
744
|
+
_id?: string | {} | undefined;
|
|
745
745
|
createdAt?: any;
|
|
746
746
|
updatedAt?: any;
|
|
747
747
|
userId?: string | {} | undefined;
|
|
@@ -1054,7 +1054,6 @@ export declare const tradersPodsExternalResolver: import("@feathersjs/schema").R
|
|
|
1054
1054
|
}>;
|
|
1055
1055
|
exchangeId: string;
|
|
1056
1056
|
strategy: Partial<{
|
|
1057
|
-
_id?: string | {} | undefined;
|
|
1058
1057
|
traders?: {
|
|
1059
1058
|
telegram?: {
|
|
1060
1059
|
access_hash?: string | null | undefined;
|
|
@@ -1239,6 +1238,7 @@ export declare const tradersPodsExternalResolver: import("@feathersjs/schema").R
|
|
|
1239
1238
|
CORS_origins: string[];
|
|
1240
1239
|
};
|
|
1241
1240
|
}[] | undefined;
|
|
1241
|
+
_id?: string | {} | undefined;
|
|
1242
1242
|
createdAt?: any;
|
|
1243
1243
|
updatedAt?: any;
|
|
1244
1244
|
userId?: string | {} | undefined;
|
|
@@ -2050,7 +2050,6 @@ export declare const tradersPodsDataResolver: import("@feathersjs/schema").Resol
|
|
|
2050
2050
|
}>;
|
|
2051
2051
|
exchangeId: string;
|
|
2052
2052
|
strategy: Partial<{
|
|
2053
|
-
_id?: string | {} | undefined;
|
|
2054
2053
|
traders?: {
|
|
2055
2054
|
telegram?: {
|
|
2056
2055
|
access_hash?: string | null | undefined;
|
|
@@ -2235,6 +2234,7 @@ export declare const tradersPodsDataResolver: import("@feathersjs/schema").Resol
|
|
|
2235
2234
|
CORS_origins: string[];
|
|
2236
2235
|
};
|
|
2237
2236
|
}[] | undefined;
|
|
2237
|
+
_id?: string | {} | undefined;
|
|
2238
2238
|
createdAt?: any;
|
|
2239
2239
|
updatedAt?: any;
|
|
2240
2240
|
userId?: string | {} | undefined;
|
|
@@ -3046,7 +3046,6 @@ export declare const tradersPodsPatchResolver: import("@feathersjs/schema").Reso
|
|
|
3046
3046
|
}>;
|
|
3047
3047
|
exchangeId: string;
|
|
3048
3048
|
strategy: Partial<{
|
|
3049
|
-
_id?: string | {} | undefined;
|
|
3050
3049
|
traders?: {
|
|
3051
3050
|
telegram?: {
|
|
3052
3051
|
access_hash?: string | null | undefined;
|
|
@@ -3231,6 +3230,7 @@ export declare const tradersPodsPatchResolver: import("@feathersjs/schema").Reso
|
|
|
3231
3230
|
CORS_origins: string[];
|
|
3232
3231
|
};
|
|
3233
3232
|
}[] | undefined;
|
|
3233
|
+
_id?: string | {} | undefined;
|
|
3234
3234
|
createdAt?: any;
|
|
3235
3235
|
updatedAt?: any;
|
|
3236
3236
|
userId?: string | {} | undefined;
|
|
@@ -36,6 +36,10 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
36
36
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
37
37
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
38
38
|
}>>;
|
|
39
|
+
trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
40
|
+
active: import("@feathersjs/typebox").TBoolean;
|
|
41
|
+
expires: import("@feathersjs/typebox").TString<string>;
|
|
42
|
+
}>>;
|
|
39
43
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
40
44
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
41
45
|
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">]>>;
|
|
@@ -70,6 +74,11 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
70
74
|
android?: string | undefined;
|
|
71
75
|
} | undefined;
|
|
72
76
|
country?: string | undefined;
|
|
77
|
+
subscription?: any;
|
|
78
|
+
trial?: {
|
|
79
|
+
active: boolean;
|
|
80
|
+
expires: string;
|
|
81
|
+
} | undefined;
|
|
73
82
|
stripe?: any;
|
|
74
83
|
_id?: string | {} | undefined;
|
|
75
84
|
googleId?: any;
|
|
@@ -85,7 +94,6 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
85
94
|
paymentIntent?: any;
|
|
86
95
|
'stripe.id'?: any;
|
|
87
96
|
customerInfo?: any;
|
|
88
|
-
subscription?: any;
|
|
89
97
|
plan?: string | undefined;
|
|
90
98
|
appearance?: {
|
|
91
99
|
scheme?: string | undefined;
|
|
@@ -111,7 +119,7 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
111
119
|
resetExpires?: number | null | undefined;
|
|
112
120
|
resetAttempts?: number | null | undefined;
|
|
113
121
|
anon?: boolean | undefined;
|
|
114
|
-
onboarding?: "
|
|
122
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
115
123
|
contactId?: string | undefined;
|
|
116
124
|
createdAt?: any;
|
|
117
125
|
updatedAt?: any;
|
|
@@ -129,6 +137,11 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
129
137
|
android?: string | undefined;
|
|
130
138
|
} | undefined;
|
|
131
139
|
country?: string | undefined;
|
|
140
|
+
subscription?: any;
|
|
141
|
+
trial?: {
|
|
142
|
+
active: boolean;
|
|
143
|
+
expires: string;
|
|
144
|
+
} | undefined;
|
|
132
145
|
stripe?: any;
|
|
133
146
|
_id?: string | {} | undefined;
|
|
134
147
|
googleId?: any;
|
|
@@ -144,7 +157,6 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
144
157
|
paymentIntent?: any;
|
|
145
158
|
'stripe.id'?: any;
|
|
146
159
|
customerInfo?: any;
|
|
147
|
-
subscription?: any;
|
|
148
160
|
plan?: string | undefined;
|
|
149
161
|
appearance?: {
|
|
150
162
|
scheme?: string | undefined;
|
|
@@ -170,7 +182,7 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
170
182
|
resetExpires?: number | null | undefined;
|
|
171
183
|
resetAttempts?: number | null | undefined;
|
|
172
184
|
anon?: boolean | undefined;
|
|
173
|
-
onboarding?: "
|
|
185
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
174
186
|
contactId?: string | undefined;
|
|
175
187
|
createdAt?: any;
|
|
176
188
|
updatedAt?: any;
|
|
@@ -215,6 +227,10 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
215
227
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
216
228
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
217
229
|
}>>;
|
|
230
|
+
trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
231
|
+
active: import("@feathersjs/typebox").TBoolean;
|
|
232
|
+
expires: import("@feathersjs/typebox").TString<string>;
|
|
233
|
+
}>>;
|
|
218
234
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
219
235
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
220
236
|
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">]>>;
|
|
@@ -249,6 +265,11 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
249
265
|
android?: string | undefined;
|
|
250
266
|
} | undefined;
|
|
251
267
|
country?: string | undefined;
|
|
268
|
+
subscription?: any;
|
|
269
|
+
trial?: {
|
|
270
|
+
active: boolean;
|
|
271
|
+
expires: string;
|
|
272
|
+
} | undefined;
|
|
252
273
|
stripe?: any;
|
|
253
274
|
_id?: string | {} | undefined;
|
|
254
275
|
googleId?: any;
|
|
@@ -264,7 +285,6 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
264
285
|
paymentIntent?: any;
|
|
265
286
|
'stripe.id'?: any;
|
|
266
287
|
customerInfo?: any;
|
|
267
|
-
subscription?: any;
|
|
268
288
|
plan?: string | undefined;
|
|
269
289
|
appearance?: {
|
|
270
290
|
scheme?: string | undefined;
|
|
@@ -290,7 +310,7 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
290
310
|
resetExpires?: number | null | undefined;
|
|
291
311
|
resetAttempts?: number | null | undefined;
|
|
292
312
|
anon?: boolean | undefined;
|
|
293
|
-
onboarding?: "
|
|
313
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
294
314
|
contactId?: string | undefined;
|
|
295
315
|
createdAt?: any;
|
|
296
316
|
updatedAt?: any;
|
|
@@ -335,6 +355,10 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
335
355
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
336
356
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
337
357
|
}>>;
|
|
358
|
+
trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
359
|
+
active: import("@feathersjs/typebox").TBoolean;
|
|
360
|
+
expires: import("@feathersjs/typebox").TString<string>;
|
|
361
|
+
}>>;
|
|
338
362
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
339
363
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
340
364
|
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">]>>;
|
|
@@ -369,6 +393,11 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
369
393
|
android?: string | undefined;
|
|
370
394
|
} | undefined;
|
|
371
395
|
country?: string | undefined;
|
|
396
|
+
subscription?: any;
|
|
397
|
+
trial?: {
|
|
398
|
+
active: boolean;
|
|
399
|
+
expires: string;
|
|
400
|
+
} | undefined;
|
|
372
401
|
stripe?: any;
|
|
373
402
|
_id?: string | {} | undefined;
|
|
374
403
|
googleId?: any;
|
|
@@ -384,7 +413,6 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
384
413
|
paymentIntent?: any;
|
|
385
414
|
'stripe.id'?: any;
|
|
386
415
|
customerInfo?: any;
|
|
387
|
-
subscription?: any;
|
|
388
416
|
plan?: string | undefined;
|
|
389
417
|
appearance?: {
|
|
390
418
|
scheme?: string | undefined;
|
|
@@ -410,7 +438,7 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
410
438
|
resetExpires?: number | null | undefined;
|
|
411
439
|
resetAttempts?: number | null | undefined;
|
|
412
440
|
anon?: boolean | undefined;
|
|
413
|
-
onboarding?: "
|
|
441
|
+
onboarding?: "traders" | "strategies" | "telegram" | null | undefined;
|
|
414
442
|
contactId?: string | undefined;
|
|
415
443
|
createdAt?: any;
|
|
416
444
|
updatedAt?: any;
|
|
@@ -455,6 +483,10 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
455
483
|
ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
456
484
|
android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
457
485
|
}>>;
|
|
486
|
+
trial: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
487
|
+
active: import("@feathersjs/typebox").TBoolean;
|
|
488
|
+
expires: import("@feathersjs/typebox").TString<string>;
|
|
489
|
+
}>>;
|
|
458
490
|
$inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
459
491
|
$aggregate: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
460
492
|
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">]>>;
|