@cryptorobot.ai/client 0.0.15 → 0.0.17
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 +9 -0
- package/lib/helpers/logging.helper.d.ts +6 -6
- package/lib/helpers/queue.helper.d.ts +5 -0
- package/lib/helpers/telegram.helper.d.ts +7 -0
- package/lib/helpers/trader.helper.d.ts +2 -0
- package/lib/hooks/bootstrap-user-exchanges.d.ts +2 -0
- package/lib/hooks/bootstrap-user-strategies.d.ts +2 -0
- package/lib/hooks/bootstrap-user-telegram.d.ts +2 -0
- package/lib/hooks/bootstrap-user-traders.d.ts +2 -0
- package/lib/hooks/setup-cronjobs.d.ts +2 -0
- package/lib/hooks/setup-queues.d.ts +3 -0
- package/lib/hooks/setup-telegram-client.d.ts +3 -0
- package/lib/hooks/telegram-create-group.d.ts +2 -0
- package/lib/hooks/telegram-delete-group.d.ts +2 -0
- package/lib/hooks/telegram-update-group.d.ts +2 -0
- package/lib/hooks/tickers-fetch.d.ts +1 -1
- package/lib/hooks/traders/pods-process-worker.d.ts +1 -1
- package/lib/services/exchanges/balance/balance.schema.d.ts +4 -12
- package/lib/services/exchanges/download/download.schema.d.ts +8 -16
- package/lib/services/exchanges/exchanges.schema.d.ts +57 -15
- package/lib/services/exchanges/ticker/ticker.schema.d.ts +4 -12
- package/lib/services/messages/messages.schema.d.ts +101 -3
- package/lib/services/strategies/strategies.schema.d.ts +360 -80
- package/lib/services/traders/pods/api/api.schema.d.ts +1044 -212
- package/lib/services/traders/pods/pods.schema.d.ts +704 -152
- package/lib/services/traders/traders.schema.d.ts +340 -60
- package/lib/services/users/users.schema.d.ts +16 -0
- package/lib/telegram-get-credentials.d.ts +1 -0
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
24
24
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
25
25
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
26
26
|
}>>;
|
|
27
|
+
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">]>>;
|
|
27
28
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
28
29
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
29
30
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -37,6 +38,7 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
37
38
|
resetExpires: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
38
39
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
39
40
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
41
|
+
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
40
42
|
bootstrap: import("@feathersjs/typebox").TAny;
|
|
41
43
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
42
44
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -64,6 +66,7 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
64
66
|
theme?: string | undefined;
|
|
65
67
|
layout?: string | undefined;
|
|
66
68
|
} | undefined;
|
|
69
|
+
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;
|
|
67
70
|
timezone?: string | undefined;
|
|
68
71
|
subscribe?: string | undefined;
|
|
69
72
|
verifyToken?: string | null | undefined;
|
|
@@ -75,6 +78,7 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
75
78
|
resetShortToken?: string | null | undefined;
|
|
76
79
|
resetExpires?: number | null | undefined;
|
|
77
80
|
resetAttempts?: number | null | undefined;
|
|
81
|
+
anon?: boolean | undefined;
|
|
78
82
|
createdAt?: any;
|
|
79
83
|
updatedAt?: any;
|
|
80
84
|
skipEmailVerification?: boolean | undefined;
|
|
@@ -105,6 +109,7 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
105
109
|
theme?: string | undefined;
|
|
106
110
|
layout?: string | undefined;
|
|
107
111
|
} | undefined;
|
|
112
|
+
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;
|
|
108
113
|
timezone?: string | undefined;
|
|
109
114
|
subscribe?: string | undefined;
|
|
110
115
|
verifyToken?: string | null | undefined;
|
|
@@ -116,6 +121,7 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
116
121
|
resetShortToken?: string | null | undefined;
|
|
117
122
|
resetExpires?: number | null | undefined;
|
|
118
123
|
resetAttempts?: number | null | undefined;
|
|
124
|
+
anon?: boolean | undefined;
|
|
119
125
|
createdAt?: any;
|
|
120
126
|
updatedAt?: any;
|
|
121
127
|
skipEmailVerification?: boolean | undefined;
|
|
@@ -149,6 +155,7 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
149
155
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
150
156
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
151
157
|
}>>;
|
|
158
|
+
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">]>>;
|
|
152
159
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
153
160
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
154
161
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -162,6 +169,7 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
162
169
|
resetExpires: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
163
170
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
164
171
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
172
|
+
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
165
173
|
bootstrap: import("@feathersjs/typebox").TAny;
|
|
166
174
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
167
175
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -189,6 +197,7 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
189
197
|
theme?: string | undefined;
|
|
190
198
|
layout?: string | undefined;
|
|
191
199
|
} | undefined;
|
|
200
|
+
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;
|
|
192
201
|
timezone?: string | undefined;
|
|
193
202
|
subscribe?: string | undefined;
|
|
194
203
|
verifyToken?: string | null | undefined;
|
|
@@ -200,6 +209,7 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
200
209
|
resetShortToken?: string | null | undefined;
|
|
201
210
|
resetExpires?: number | null | undefined;
|
|
202
211
|
resetAttempts?: number | null | undefined;
|
|
212
|
+
anon?: boolean | undefined;
|
|
203
213
|
createdAt?: any;
|
|
204
214
|
updatedAt?: any;
|
|
205
215
|
skipEmailVerification?: boolean | undefined;
|
|
@@ -233,6 +243,7 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
233
243
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
234
244
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
235
245
|
}>>;
|
|
246
|
+
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">]>>;
|
|
236
247
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
237
248
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
238
249
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -246,6 +257,7 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
246
257
|
resetExpires: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
247
258
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
248
259
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
260
|
+
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
249
261
|
bootstrap: import("@feathersjs/typebox").TAny;
|
|
250
262
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
251
263
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -273,6 +285,7 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
273
285
|
theme?: string | undefined;
|
|
274
286
|
layout?: string | undefined;
|
|
275
287
|
} | undefined;
|
|
288
|
+
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;
|
|
276
289
|
timezone?: string | undefined;
|
|
277
290
|
subscribe?: string | undefined;
|
|
278
291
|
verifyToken?: string | null | undefined;
|
|
@@ -284,6 +297,7 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
284
297
|
resetShortToken?: string | null | undefined;
|
|
285
298
|
resetExpires?: number | null | undefined;
|
|
286
299
|
resetAttempts?: number | null | undefined;
|
|
300
|
+
anon?: boolean | undefined;
|
|
287
301
|
createdAt?: any;
|
|
288
302
|
updatedAt?: any;
|
|
289
303
|
skipEmailVerification?: boolean | undefined;
|
|
@@ -317,6 +331,7 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
317
331
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
318
332
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
319
333
|
}>>;
|
|
334
|
+
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">]>>;
|
|
320
335
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
321
336
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
322
337
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -330,6 +345,7 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
330
345
|
resetExpires: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
331
346
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
332
347
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
348
|
+
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
333
349
|
bootstrap: import("@feathersjs/typebox").TAny;
|
|
334
350
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
335
351
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|