@numen-crypto/contract 0.2.1 → 0.2.3
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/dist/index.cjs +110 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +526 -24
- package/dist/index.d.ts +526 -24
- package/dist/index.js +103 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -31,6 +31,8 @@ declare const MONEY_REGEX: RegExp;
|
|
|
31
31
|
declare const MoneyStringSchema: z.ZodString;
|
|
32
32
|
declare const PositiveMoneyStringSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
33
33
|
declare const UuidSchema: z.ZodString;
|
|
34
|
+
declare const PeriodSchema: z.ZodEnum<["week", "month", "year", "all"]>;
|
|
35
|
+
type Period = z.infer<typeof PeriodSchema>;
|
|
34
36
|
declare const ErrorResponseSchema: z.ZodObject<{
|
|
35
37
|
error: z.ZodObject<{
|
|
36
38
|
code: z.ZodString;
|
|
@@ -143,18 +145,12 @@ declare const SessionInfoSchema: z.ZodObject<{
|
|
|
143
145
|
}>;
|
|
144
146
|
type SessionInfo = z.infer<typeof SessionInfoSchema>;
|
|
145
147
|
|
|
146
|
-
/** All assets that can appear as a wallet balance. NMN is internal-only. */
|
|
147
148
|
declare const ASSET_SYMBOLS: readonly ["NMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"];
|
|
148
149
|
declare const AssetSymbolSchema: z.ZodEnum<["NMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
149
150
|
type AssetSymbol = z.infer<typeof AssetSymbolSchema>;
|
|
150
|
-
/**
|
|
151
|
-
* Assets that can be deposited/withdrawn on-chain via SHKeeper.
|
|
152
|
-
* NMN is excluded — it only exists inside the platform and is acquired via swap.
|
|
153
|
-
*/
|
|
154
151
|
declare const DEPOSITABLE_ASSETS: readonly ["USDT", "BTC", "ETH", "BNB", "TRX", "SOL"];
|
|
155
152
|
declare const DepositableAssetSchema: z.ZodEnum<["USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
156
153
|
type DepositableAsset = z.infer<typeof DepositableAssetSchema>;
|
|
157
|
-
/** The internal token and the funding stablecoin. */
|
|
158
154
|
declare const TOKEN_ASSET: "NMN";
|
|
159
155
|
declare const FUNDING_ASSET: "USDT";
|
|
160
156
|
declare const AssetBalanceSchema: z.ZodObject<{
|
|
@@ -252,6 +248,8 @@ declare const TransactionSchema: z.ZodObject<{
|
|
|
252
248
|
type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>;
|
|
253
249
|
asset: z.ZodEnum<["NMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
254
250
|
amount: z.ZodString;
|
|
251
|
+
price: z.ZodNullable<z.ZodString>;
|
|
252
|
+
quoteAmount: z.ZodNullable<z.ZodString>;
|
|
255
253
|
status: z.ZodEnum<["PENDING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"]>;
|
|
256
254
|
reference: z.ZodNullable<z.ZodString>;
|
|
257
255
|
createdAt: z.ZodString;
|
|
@@ -262,6 +260,8 @@ declare const TransactionSchema: z.ZodObject<{
|
|
|
262
260
|
createdAt: string;
|
|
263
261
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
264
262
|
amount: string;
|
|
263
|
+
price: string | null;
|
|
264
|
+
quoteAmount: string | null;
|
|
265
265
|
reference: string | null;
|
|
266
266
|
}, {
|
|
267
267
|
type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
|
|
@@ -270,6 +270,8 @@ declare const TransactionSchema: z.ZodObject<{
|
|
|
270
270
|
createdAt: string;
|
|
271
271
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
272
272
|
amount: string;
|
|
273
|
+
price: string | null;
|
|
274
|
+
quoteAmount: string | null;
|
|
273
275
|
reference: string | null;
|
|
274
276
|
}>;
|
|
275
277
|
type Transaction = z.infer<typeof TransactionSchema>;
|
|
@@ -298,49 +300,79 @@ type DepositAddress = z.infer<typeof DepositAddressSchema>;
|
|
|
298
300
|
declare const PartnerLevelSchema: z.ZodObject<{
|
|
299
301
|
level: z.ZodNumber;
|
|
300
302
|
partners: z.ZodNumber;
|
|
303
|
+
active: z.ZodNumber;
|
|
304
|
+
turnover: z.ZodString;
|
|
305
|
+
reward: z.ZodString;
|
|
301
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
active: number;
|
|
302
308
|
level: number;
|
|
303
309
|
partners: number;
|
|
310
|
+
turnover: string;
|
|
311
|
+
reward: string;
|
|
304
312
|
}, {
|
|
313
|
+
active: number;
|
|
305
314
|
level: number;
|
|
306
315
|
partners: number;
|
|
316
|
+
turnover: string;
|
|
317
|
+
reward: string;
|
|
307
318
|
}>;
|
|
308
319
|
type PartnerLevel = z.infer<typeof PartnerLevelSchema>;
|
|
309
320
|
declare const PartnersOverviewSchema: z.ZodObject<{
|
|
321
|
+
period: z.ZodEnum<["week", "month", "year", "all"]>;
|
|
310
322
|
referralCode: z.ZodString;
|
|
311
323
|
totalPartners: z.ZodNumber;
|
|
312
324
|
directPartners: z.ZodNumber;
|
|
313
325
|
networkTurnover: z.ZodString;
|
|
326
|
+
networkTurnoverChangePct: z.ZodNumber;
|
|
314
327
|
affiliateIncome: z.ZodString;
|
|
315
328
|
levels: z.ZodArray<z.ZodObject<{
|
|
316
329
|
level: z.ZodNumber;
|
|
317
330
|
partners: z.ZodNumber;
|
|
331
|
+
active: z.ZodNumber;
|
|
332
|
+
turnover: z.ZodString;
|
|
333
|
+
reward: z.ZodString;
|
|
318
334
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
active: number;
|
|
319
336
|
level: number;
|
|
320
337
|
partners: number;
|
|
338
|
+
turnover: string;
|
|
339
|
+
reward: string;
|
|
321
340
|
}, {
|
|
341
|
+
active: number;
|
|
322
342
|
level: number;
|
|
323
343
|
partners: number;
|
|
344
|
+
turnover: string;
|
|
345
|
+
reward: string;
|
|
324
346
|
}>, "many">;
|
|
325
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
period: "week" | "month" | "year" | "all";
|
|
326
349
|
referralCode: string;
|
|
327
350
|
totalPartners: number;
|
|
328
351
|
directPartners: number;
|
|
329
352
|
networkTurnover: string;
|
|
353
|
+
networkTurnoverChangePct: number;
|
|
330
354
|
affiliateIncome: string;
|
|
331
355
|
levels: {
|
|
356
|
+
active: number;
|
|
332
357
|
level: number;
|
|
333
358
|
partners: number;
|
|
359
|
+
turnover: string;
|
|
360
|
+
reward: string;
|
|
334
361
|
}[];
|
|
335
362
|
}, {
|
|
363
|
+
period: "week" | "month" | "year" | "all";
|
|
336
364
|
referralCode: string;
|
|
337
365
|
totalPartners: number;
|
|
338
366
|
directPartners: number;
|
|
339
367
|
networkTurnover: string;
|
|
368
|
+
networkTurnoverChangePct: number;
|
|
340
369
|
affiliateIncome: string;
|
|
341
370
|
levels: {
|
|
371
|
+
active: number;
|
|
342
372
|
level: number;
|
|
343
373
|
partners: number;
|
|
374
|
+
turnover: string;
|
|
375
|
+
reward: string;
|
|
344
376
|
}[];
|
|
345
377
|
}>;
|
|
346
378
|
type PartnersOverview = z.infer<typeof PartnersOverviewSchema>;
|
|
@@ -1231,6 +1263,8 @@ declare namespace GetTransactionsCommand {
|
|
|
1231
1263
|
type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>;
|
|
1232
1264
|
asset: z.ZodEnum<["NMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
|
|
1233
1265
|
amount: z.ZodString;
|
|
1266
|
+
price: z.ZodNullable<z.ZodString>;
|
|
1267
|
+
quoteAmount: z.ZodNullable<z.ZodString>;
|
|
1234
1268
|
status: z.ZodEnum<["PENDING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"]>;
|
|
1235
1269
|
reference: z.ZodNullable<z.ZodString>;
|
|
1236
1270
|
createdAt: z.ZodString;
|
|
@@ -1241,6 +1275,8 @@ declare namespace GetTransactionsCommand {
|
|
|
1241
1275
|
createdAt: string;
|
|
1242
1276
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1243
1277
|
amount: string;
|
|
1278
|
+
price: string | null;
|
|
1279
|
+
quoteAmount: string | null;
|
|
1244
1280
|
reference: string | null;
|
|
1245
1281
|
}, {
|
|
1246
1282
|
type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
|
|
@@ -1249,6 +1285,8 @@ declare namespace GetTransactionsCommand {
|
|
|
1249
1285
|
createdAt: string;
|
|
1250
1286
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1251
1287
|
amount: string;
|
|
1288
|
+
price: string | null;
|
|
1289
|
+
quoteAmount: string | null;
|
|
1252
1290
|
reference: string | null;
|
|
1253
1291
|
}>, "many">;
|
|
1254
1292
|
total: z.ZodNumber;
|
|
@@ -1264,6 +1302,8 @@ declare namespace GetTransactionsCommand {
|
|
|
1264
1302
|
createdAt: string;
|
|
1265
1303
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1266
1304
|
amount: string;
|
|
1305
|
+
price: string | null;
|
|
1306
|
+
quoteAmount: string | null;
|
|
1267
1307
|
reference: string | null;
|
|
1268
1308
|
}[];
|
|
1269
1309
|
total: number;
|
|
@@ -1277,6 +1317,8 @@ declare namespace GetTransactionsCommand {
|
|
|
1277
1317
|
createdAt: string;
|
|
1278
1318
|
asset: "NMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
|
|
1279
1319
|
amount: string;
|
|
1320
|
+
price: string | null;
|
|
1321
|
+
quoteAmount: string | null;
|
|
1280
1322
|
reference: string | null;
|
|
1281
1323
|
}[];
|
|
1282
1324
|
total: number;
|
|
@@ -1380,10 +1422,6 @@ declare namespace GetTokenChartCommand {
|
|
|
1380
1422
|
|
|
1381
1423
|
declare namespace SwapCommand {
|
|
1382
1424
|
const endpointDetails: EndpointDetails;
|
|
1383
|
-
/**
|
|
1384
|
-
* For BUY, `amount` is the USDT spent. For SELL, `amount` is the NMN sold.
|
|
1385
|
-
* `maxPrice` (optional) — slippage guard; reject if the live price exceeds it.
|
|
1386
|
-
*/
|
|
1387
1425
|
const RequestSchema: z.ZodObject<{
|
|
1388
1426
|
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1389
1427
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1426,43 +1464,503 @@ declare namespace SwapCommand {
|
|
|
1426
1464
|
type Response = z.infer<typeof ResponseSchema>;
|
|
1427
1465
|
}
|
|
1428
1466
|
|
|
1467
|
+
declare const OrderSideSchema: z.ZodEnum<["BUY", "SELL"]>;
|
|
1468
|
+
type OrderSide = z.infer<typeof OrderSideSchema>;
|
|
1469
|
+
declare const OrderTypeSchema: z.ZodEnum<["LIMIT", "MARKET"]>;
|
|
1470
|
+
type OrderType = z.infer<typeof OrderTypeSchema>;
|
|
1471
|
+
declare const OrderStatusSchema: z.ZodEnum<["OPEN", "PARTIAL", "FILLED", "CANCELLED"]>;
|
|
1472
|
+
type OrderStatus = z.infer<typeof OrderStatusSchema>;
|
|
1473
|
+
declare const OrderSchema: z.ZodObject<{
|
|
1474
|
+
id: z.ZodString;
|
|
1475
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1476
|
+
type: z.ZodEnum<["LIMIT", "MARKET"]>;
|
|
1477
|
+
price: z.ZodString;
|
|
1478
|
+
quantity: z.ZodString;
|
|
1479
|
+
filled: z.ZodString;
|
|
1480
|
+
remaining: z.ZodString;
|
|
1481
|
+
avgPrice: z.ZodString;
|
|
1482
|
+
status: z.ZodEnum<["OPEN", "PARTIAL", "FILLED", "CANCELLED"]>;
|
|
1483
|
+
createdAt: z.ZodString;
|
|
1484
|
+
}, "strip", z.ZodTypeAny, {
|
|
1485
|
+
type: "LIMIT" | "MARKET";
|
|
1486
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1487
|
+
id: string;
|
|
1488
|
+
createdAt: string;
|
|
1489
|
+
price: string;
|
|
1490
|
+
side: "BUY" | "SELL";
|
|
1491
|
+
quantity: string;
|
|
1492
|
+
filled: string;
|
|
1493
|
+
remaining: string;
|
|
1494
|
+
avgPrice: string;
|
|
1495
|
+
}, {
|
|
1496
|
+
type: "LIMIT" | "MARKET";
|
|
1497
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1498
|
+
id: string;
|
|
1499
|
+
createdAt: string;
|
|
1500
|
+
price: string;
|
|
1501
|
+
side: "BUY" | "SELL";
|
|
1502
|
+
quantity: string;
|
|
1503
|
+
filled: string;
|
|
1504
|
+
remaining: string;
|
|
1505
|
+
avgPrice: string;
|
|
1506
|
+
}>;
|
|
1507
|
+
type Order = z.infer<typeof OrderSchema>;
|
|
1508
|
+
declare const OrderBookLevelSchema: z.ZodObject<{
|
|
1509
|
+
price: z.ZodString;
|
|
1510
|
+
quantity: z.ZodString;
|
|
1511
|
+
orders: z.ZodNumber;
|
|
1512
|
+
total: z.ZodString;
|
|
1513
|
+
}, "strip", z.ZodTypeAny, {
|
|
1514
|
+
total: string;
|
|
1515
|
+
price: string;
|
|
1516
|
+
quantity: string;
|
|
1517
|
+
orders: number;
|
|
1518
|
+
}, {
|
|
1519
|
+
total: string;
|
|
1520
|
+
price: string;
|
|
1521
|
+
quantity: string;
|
|
1522
|
+
orders: number;
|
|
1523
|
+
}>;
|
|
1524
|
+
type OrderBookLevel = z.infer<typeof OrderBookLevelSchema>;
|
|
1525
|
+
declare const OrderBookSchema: z.ZodObject<{
|
|
1526
|
+
price: z.ZodString;
|
|
1527
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
1528
|
+
price: z.ZodString;
|
|
1529
|
+
quantity: z.ZodString;
|
|
1530
|
+
orders: z.ZodNumber;
|
|
1531
|
+
total: z.ZodString;
|
|
1532
|
+
}, "strip", z.ZodTypeAny, {
|
|
1533
|
+
total: string;
|
|
1534
|
+
price: string;
|
|
1535
|
+
quantity: string;
|
|
1536
|
+
orders: number;
|
|
1537
|
+
}, {
|
|
1538
|
+
total: string;
|
|
1539
|
+
price: string;
|
|
1540
|
+
quantity: string;
|
|
1541
|
+
orders: number;
|
|
1542
|
+
}>, "many">;
|
|
1543
|
+
bids: z.ZodArray<z.ZodObject<{
|
|
1544
|
+
price: z.ZodString;
|
|
1545
|
+
quantity: z.ZodString;
|
|
1546
|
+
orders: z.ZodNumber;
|
|
1547
|
+
total: z.ZodString;
|
|
1548
|
+
}, "strip", z.ZodTypeAny, {
|
|
1549
|
+
total: string;
|
|
1550
|
+
price: string;
|
|
1551
|
+
quantity: string;
|
|
1552
|
+
orders: number;
|
|
1553
|
+
}, {
|
|
1554
|
+
total: string;
|
|
1555
|
+
price: string;
|
|
1556
|
+
quantity: string;
|
|
1557
|
+
orders: number;
|
|
1558
|
+
}>, "many">;
|
|
1559
|
+
updatedAt: z.ZodString;
|
|
1560
|
+
}, "strip", z.ZodTypeAny, {
|
|
1561
|
+
price: string;
|
|
1562
|
+
updatedAt: string;
|
|
1563
|
+
asks: {
|
|
1564
|
+
total: string;
|
|
1565
|
+
price: string;
|
|
1566
|
+
quantity: string;
|
|
1567
|
+
orders: number;
|
|
1568
|
+
}[];
|
|
1569
|
+
bids: {
|
|
1570
|
+
total: string;
|
|
1571
|
+
price: string;
|
|
1572
|
+
quantity: string;
|
|
1573
|
+
orders: number;
|
|
1574
|
+
}[];
|
|
1575
|
+
}, {
|
|
1576
|
+
price: string;
|
|
1577
|
+
updatedAt: string;
|
|
1578
|
+
asks: {
|
|
1579
|
+
total: string;
|
|
1580
|
+
price: string;
|
|
1581
|
+
quantity: string;
|
|
1582
|
+
orders: number;
|
|
1583
|
+
}[];
|
|
1584
|
+
bids: {
|
|
1585
|
+
total: string;
|
|
1586
|
+
price: string;
|
|
1587
|
+
quantity: string;
|
|
1588
|
+
orders: number;
|
|
1589
|
+
}[];
|
|
1590
|
+
}>;
|
|
1591
|
+
type OrderBook = z.infer<typeof OrderBookSchema>;
|
|
1592
|
+
declare const PublicTradeSchema: z.ZodObject<{
|
|
1593
|
+
id: z.ZodString;
|
|
1594
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1595
|
+
price: z.ZodString;
|
|
1596
|
+
nmnAmount: z.ZodString;
|
|
1597
|
+
usdtAmount: z.ZodString;
|
|
1598
|
+
createdAt: z.ZodString;
|
|
1599
|
+
}, "strip", z.ZodTypeAny, {
|
|
1600
|
+
id: string;
|
|
1601
|
+
createdAt: string;
|
|
1602
|
+
price: string;
|
|
1603
|
+
side: "BUY" | "SELL";
|
|
1604
|
+
usdtAmount: string;
|
|
1605
|
+
nmnAmount: string;
|
|
1606
|
+
}, {
|
|
1607
|
+
id: string;
|
|
1608
|
+
createdAt: string;
|
|
1609
|
+
price: string;
|
|
1610
|
+
side: "BUY" | "SELL";
|
|
1611
|
+
usdtAmount: string;
|
|
1612
|
+
nmnAmount: string;
|
|
1613
|
+
}>;
|
|
1614
|
+
type PublicTrade = z.infer<typeof PublicTradeSchema>;
|
|
1615
|
+
|
|
1616
|
+
declare namespace PlaceOrderCommand {
|
|
1617
|
+
const endpointDetails: EndpointDetails;
|
|
1618
|
+
const RequestSchema: z.ZodEffects<z.ZodObject<{
|
|
1619
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1620
|
+
type: z.ZodDefault<z.ZodEnum<["LIMIT", "MARKET"]>>;
|
|
1621
|
+
price: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1622
|
+
quantity: z.ZodEffects<z.ZodString, string, string>;
|
|
1623
|
+
idempotencyKey: z.ZodString;
|
|
1624
|
+
}, "strip", z.ZodTypeAny, {
|
|
1625
|
+
type: "LIMIT" | "MARKET";
|
|
1626
|
+
side: "BUY" | "SELL";
|
|
1627
|
+
idempotencyKey: string;
|
|
1628
|
+
quantity: string;
|
|
1629
|
+
price?: string | undefined;
|
|
1630
|
+
}, {
|
|
1631
|
+
side: "BUY" | "SELL";
|
|
1632
|
+
idempotencyKey: string;
|
|
1633
|
+
quantity: string;
|
|
1634
|
+
type?: "LIMIT" | "MARKET" | undefined;
|
|
1635
|
+
price?: string | undefined;
|
|
1636
|
+
}>, {
|
|
1637
|
+
type: "LIMIT" | "MARKET";
|
|
1638
|
+
side: "BUY" | "SELL";
|
|
1639
|
+
idempotencyKey: string;
|
|
1640
|
+
quantity: string;
|
|
1641
|
+
price?: string | undefined;
|
|
1642
|
+
}, {
|
|
1643
|
+
side: "BUY" | "SELL";
|
|
1644
|
+
idempotencyKey: string;
|
|
1645
|
+
quantity: string;
|
|
1646
|
+
type?: "LIMIT" | "MARKET" | undefined;
|
|
1647
|
+
price?: string | undefined;
|
|
1648
|
+
}>;
|
|
1649
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
1650
|
+
const ResponseSchema: z.ZodObject<{
|
|
1651
|
+
order: z.ZodObject<{
|
|
1652
|
+
id: z.ZodString;
|
|
1653
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1654
|
+
type: z.ZodEnum<["LIMIT", "MARKET"]>;
|
|
1655
|
+
price: z.ZodString;
|
|
1656
|
+
quantity: z.ZodString;
|
|
1657
|
+
filled: z.ZodString;
|
|
1658
|
+
remaining: z.ZodString;
|
|
1659
|
+
avgPrice: z.ZodString;
|
|
1660
|
+
status: z.ZodEnum<["OPEN", "PARTIAL", "FILLED", "CANCELLED"]>;
|
|
1661
|
+
createdAt: z.ZodString;
|
|
1662
|
+
}, "strip", z.ZodTypeAny, {
|
|
1663
|
+
type: "LIMIT" | "MARKET";
|
|
1664
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1665
|
+
id: string;
|
|
1666
|
+
createdAt: string;
|
|
1667
|
+
price: string;
|
|
1668
|
+
side: "BUY" | "SELL";
|
|
1669
|
+
quantity: string;
|
|
1670
|
+
filled: string;
|
|
1671
|
+
remaining: string;
|
|
1672
|
+
avgPrice: string;
|
|
1673
|
+
}, {
|
|
1674
|
+
type: "LIMIT" | "MARKET";
|
|
1675
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1676
|
+
id: string;
|
|
1677
|
+
createdAt: string;
|
|
1678
|
+
price: string;
|
|
1679
|
+
side: "BUY" | "SELL";
|
|
1680
|
+
quantity: string;
|
|
1681
|
+
filled: string;
|
|
1682
|
+
remaining: string;
|
|
1683
|
+
avgPrice: string;
|
|
1684
|
+
}>;
|
|
1685
|
+
trades: z.ZodArray<z.ZodObject<{
|
|
1686
|
+
id: z.ZodString;
|
|
1687
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1688
|
+
price: z.ZodString;
|
|
1689
|
+
nmnAmount: z.ZodString;
|
|
1690
|
+
usdtAmount: z.ZodString;
|
|
1691
|
+
createdAt: z.ZodString;
|
|
1692
|
+
}, "strip", z.ZodTypeAny, {
|
|
1693
|
+
id: string;
|
|
1694
|
+
createdAt: string;
|
|
1695
|
+
price: string;
|
|
1696
|
+
side: "BUY" | "SELL";
|
|
1697
|
+
usdtAmount: string;
|
|
1698
|
+
nmnAmount: string;
|
|
1699
|
+
}, {
|
|
1700
|
+
id: string;
|
|
1701
|
+
createdAt: string;
|
|
1702
|
+
price: string;
|
|
1703
|
+
side: "BUY" | "SELL";
|
|
1704
|
+
usdtAmount: string;
|
|
1705
|
+
nmnAmount: string;
|
|
1706
|
+
}>, "many">;
|
|
1707
|
+
}, "strip", z.ZodTypeAny, {
|
|
1708
|
+
order: {
|
|
1709
|
+
type: "LIMIT" | "MARKET";
|
|
1710
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1711
|
+
id: string;
|
|
1712
|
+
createdAt: string;
|
|
1713
|
+
price: string;
|
|
1714
|
+
side: "BUY" | "SELL";
|
|
1715
|
+
quantity: string;
|
|
1716
|
+
filled: string;
|
|
1717
|
+
remaining: string;
|
|
1718
|
+
avgPrice: string;
|
|
1719
|
+
};
|
|
1720
|
+
trades: {
|
|
1721
|
+
id: string;
|
|
1722
|
+
createdAt: string;
|
|
1723
|
+
price: string;
|
|
1724
|
+
side: "BUY" | "SELL";
|
|
1725
|
+
usdtAmount: string;
|
|
1726
|
+
nmnAmount: string;
|
|
1727
|
+
}[];
|
|
1728
|
+
}, {
|
|
1729
|
+
order: {
|
|
1730
|
+
type: "LIMIT" | "MARKET";
|
|
1731
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1732
|
+
id: string;
|
|
1733
|
+
createdAt: string;
|
|
1734
|
+
price: string;
|
|
1735
|
+
side: "BUY" | "SELL";
|
|
1736
|
+
quantity: string;
|
|
1737
|
+
filled: string;
|
|
1738
|
+
remaining: string;
|
|
1739
|
+
avgPrice: string;
|
|
1740
|
+
};
|
|
1741
|
+
trades: {
|
|
1742
|
+
id: string;
|
|
1743
|
+
createdAt: string;
|
|
1744
|
+
price: string;
|
|
1745
|
+
side: "BUY" | "SELL";
|
|
1746
|
+
usdtAmount: string;
|
|
1747
|
+
nmnAmount: string;
|
|
1748
|
+
}[];
|
|
1749
|
+
}>;
|
|
1750
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1751
|
+
}
|
|
1752
|
+
declare namespace CancelOrderCommand {
|
|
1753
|
+
const endpointDetails: EndpointDetails;
|
|
1754
|
+
const ResponseSchema: z.ZodObject<{
|
|
1755
|
+
cancelled: z.ZodBoolean;
|
|
1756
|
+
}, "strip", z.ZodTypeAny, {
|
|
1757
|
+
cancelled: boolean;
|
|
1758
|
+
}, {
|
|
1759
|
+
cancelled: boolean;
|
|
1760
|
+
}>;
|
|
1761
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1762
|
+
}
|
|
1763
|
+
declare namespace ListMyOrdersCommand {
|
|
1764
|
+
const endpointDetails: EndpointDetails;
|
|
1765
|
+
const ResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1766
|
+
id: z.ZodString;
|
|
1767
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1768
|
+
type: z.ZodEnum<["LIMIT", "MARKET"]>;
|
|
1769
|
+
price: z.ZodString;
|
|
1770
|
+
quantity: z.ZodString;
|
|
1771
|
+
filled: z.ZodString;
|
|
1772
|
+
remaining: z.ZodString;
|
|
1773
|
+
avgPrice: z.ZodString;
|
|
1774
|
+
status: z.ZodEnum<["OPEN", "PARTIAL", "FILLED", "CANCELLED"]>;
|
|
1775
|
+
createdAt: z.ZodString;
|
|
1776
|
+
}, "strip", z.ZodTypeAny, {
|
|
1777
|
+
type: "LIMIT" | "MARKET";
|
|
1778
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1779
|
+
id: string;
|
|
1780
|
+
createdAt: string;
|
|
1781
|
+
price: string;
|
|
1782
|
+
side: "BUY" | "SELL";
|
|
1783
|
+
quantity: string;
|
|
1784
|
+
filled: string;
|
|
1785
|
+
remaining: string;
|
|
1786
|
+
avgPrice: string;
|
|
1787
|
+
}, {
|
|
1788
|
+
type: "LIMIT" | "MARKET";
|
|
1789
|
+
status: "CANCELLED" | "OPEN" | "PARTIAL" | "FILLED";
|
|
1790
|
+
id: string;
|
|
1791
|
+
createdAt: string;
|
|
1792
|
+
price: string;
|
|
1793
|
+
side: "BUY" | "SELL";
|
|
1794
|
+
quantity: string;
|
|
1795
|
+
filled: string;
|
|
1796
|
+
remaining: string;
|
|
1797
|
+
avgPrice: string;
|
|
1798
|
+
}>, "many">;
|
|
1799
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1800
|
+
}
|
|
1801
|
+
declare namespace GetOrderBookCommand {
|
|
1802
|
+
const endpointDetails: EndpointDetails;
|
|
1803
|
+
const ResponseSchema: z.ZodObject<{
|
|
1804
|
+
price: z.ZodString;
|
|
1805
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
1806
|
+
price: z.ZodString;
|
|
1807
|
+
quantity: z.ZodString;
|
|
1808
|
+
orders: z.ZodNumber;
|
|
1809
|
+
total: z.ZodString;
|
|
1810
|
+
}, "strip", z.ZodTypeAny, {
|
|
1811
|
+
total: string;
|
|
1812
|
+
price: string;
|
|
1813
|
+
quantity: string;
|
|
1814
|
+
orders: number;
|
|
1815
|
+
}, {
|
|
1816
|
+
total: string;
|
|
1817
|
+
price: string;
|
|
1818
|
+
quantity: string;
|
|
1819
|
+
orders: number;
|
|
1820
|
+
}>, "many">;
|
|
1821
|
+
bids: z.ZodArray<z.ZodObject<{
|
|
1822
|
+
price: z.ZodString;
|
|
1823
|
+
quantity: z.ZodString;
|
|
1824
|
+
orders: z.ZodNumber;
|
|
1825
|
+
total: z.ZodString;
|
|
1826
|
+
}, "strip", z.ZodTypeAny, {
|
|
1827
|
+
total: string;
|
|
1828
|
+
price: string;
|
|
1829
|
+
quantity: string;
|
|
1830
|
+
orders: number;
|
|
1831
|
+
}, {
|
|
1832
|
+
total: string;
|
|
1833
|
+
price: string;
|
|
1834
|
+
quantity: string;
|
|
1835
|
+
orders: number;
|
|
1836
|
+
}>, "many">;
|
|
1837
|
+
updatedAt: z.ZodString;
|
|
1838
|
+
}, "strip", z.ZodTypeAny, {
|
|
1839
|
+
price: string;
|
|
1840
|
+
updatedAt: string;
|
|
1841
|
+
asks: {
|
|
1842
|
+
total: string;
|
|
1843
|
+
price: string;
|
|
1844
|
+
quantity: string;
|
|
1845
|
+
orders: number;
|
|
1846
|
+
}[];
|
|
1847
|
+
bids: {
|
|
1848
|
+
total: string;
|
|
1849
|
+
price: string;
|
|
1850
|
+
quantity: string;
|
|
1851
|
+
orders: number;
|
|
1852
|
+
}[];
|
|
1853
|
+
}, {
|
|
1854
|
+
price: string;
|
|
1855
|
+
updatedAt: string;
|
|
1856
|
+
asks: {
|
|
1857
|
+
total: string;
|
|
1858
|
+
price: string;
|
|
1859
|
+
quantity: string;
|
|
1860
|
+
orders: number;
|
|
1861
|
+
}[];
|
|
1862
|
+
bids: {
|
|
1863
|
+
total: string;
|
|
1864
|
+
price: string;
|
|
1865
|
+
quantity: string;
|
|
1866
|
+
orders: number;
|
|
1867
|
+
}[];
|
|
1868
|
+
}>;
|
|
1869
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1870
|
+
}
|
|
1871
|
+
declare namespace ListTradesCommand {
|
|
1872
|
+
const endpointDetails: EndpointDetails;
|
|
1873
|
+
const ResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1874
|
+
id: z.ZodString;
|
|
1875
|
+
side: z.ZodEnum<["BUY", "SELL"]>;
|
|
1876
|
+
price: z.ZodString;
|
|
1877
|
+
nmnAmount: z.ZodString;
|
|
1878
|
+
usdtAmount: z.ZodString;
|
|
1879
|
+
createdAt: z.ZodString;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
id: string;
|
|
1882
|
+
createdAt: string;
|
|
1883
|
+
price: string;
|
|
1884
|
+
side: "BUY" | "SELL";
|
|
1885
|
+
usdtAmount: string;
|
|
1886
|
+
nmnAmount: string;
|
|
1887
|
+
}, {
|
|
1888
|
+
id: string;
|
|
1889
|
+
createdAt: string;
|
|
1890
|
+
price: string;
|
|
1891
|
+
side: "BUY" | "SELL";
|
|
1892
|
+
usdtAmount: string;
|
|
1893
|
+
nmnAmount: string;
|
|
1894
|
+
}>, "many">;
|
|
1895
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1429
1898
|
declare namespace GetPartnersCommand {
|
|
1430
1899
|
const endpointDetails: EndpointDetails;
|
|
1431
|
-
const
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1900
|
+
const QuerySchema: z.ZodObject<{
|
|
1901
|
+
period: z.ZodDefault<z.ZodEnum<["week", "month", "year", "all"]>>;
|
|
1902
|
+
}, "strip", z.ZodTypeAny, {
|
|
1903
|
+
period: "week" | "month" | "year" | "all";
|
|
1904
|
+
}, {
|
|
1905
|
+
period?: "week" | "month" | "year" | "all" | undefined;
|
|
1906
|
+
}>;
|
|
1907
|
+
type Query = z.infer<typeof QuerySchema>;
|
|
1908
|
+
const ResponseSchema: z.ZodObject<{
|
|
1909
|
+
period: z.ZodEnum<["week", "month", "year", "all"]>;
|
|
1910
|
+
referralCode: z.ZodString;
|
|
1911
|
+
totalPartners: z.ZodNumber;
|
|
1912
|
+
directPartners: z.ZodNumber;
|
|
1913
|
+
networkTurnover: z.ZodString;
|
|
1914
|
+
networkTurnoverChangePct: z.ZodNumber;
|
|
1915
|
+
affiliateIncome: z.ZodString;
|
|
1916
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
1917
|
+
level: z.ZodNumber;
|
|
1918
|
+
partners: z.ZodNumber;
|
|
1919
|
+
active: z.ZodNumber;
|
|
1920
|
+
turnover: z.ZodString;
|
|
1921
|
+
reward: z.ZodString;
|
|
1922
|
+
}, "strip", z.ZodTypeAny, {
|
|
1923
|
+
active: number;
|
|
1441
1924
|
level: number;
|
|
1442
1925
|
partners: number;
|
|
1926
|
+
turnover: string;
|
|
1927
|
+
reward: string;
|
|
1443
1928
|
}, {
|
|
1929
|
+
active: number;
|
|
1444
1930
|
level: number;
|
|
1445
1931
|
partners: number;
|
|
1932
|
+
turnover: string;
|
|
1933
|
+
reward: string;
|
|
1446
1934
|
}>, "many">;
|
|
1447
|
-
}, "strip",
|
|
1935
|
+
}, "strip", z.ZodTypeAny, {
|
|
1936
|
+
period: "week" | "month" | "year" | "all";
|
|
1448
1937
|
referralCode: string;
|
|
1449
1938
|
totalPartners: number;
|
|
1450
1939
|
directPartners: number;
|
|
1451
1940
|
networkTurnover: string;
|
|
1941
|
+
networkTurnoverChangePct: number;
|
|
1452
1942
|
affiliateIncome: string;
|
|
1453
1943
|
levels: {
|
|
1944
|
+
active: number;
|
|
1454
1945
|
level: number;
|
|
1455
1946
|
partners: number;
|
|
1947
|
+
turnover: string;
|
|
1948
|
+
reward: string;
|
|
1456
1949
|
}[];
|
|
1457
1950
|
}, {
|
|
1951
|
+
period: "week" | "month" | "year" | "all";
|
|
1458
1952
|
referralCode: string;
|
|
1459
1953
|
totalPartners: number;
|
|
1460
1954
|
directPartners: number;
|
|
1461
1955
|
networkTurnover: string;
|
|
1956
|
+
networkTurnoverChangePct: number;
|
|
1462
1957
|
affiliateIncome: string;
|
|
1463
1958
|
levels: {
|
|
1959
|
+
active: number;
|
|
1464
1960
|
level: number;
|
|
1465
1961
|
partners: number;
|
|
1962
|
+
turnover: string;
|
|
1963
|
+
reward: string;
|
|
1466
1964
|
}[];
|
|
1467
1965
|
}>;
|
|
1468
1966
|
type Response = PartnersOverview;
|
|
@@ -2386,7 +2884,6 @@ declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "res
|
|
|
2386
2884
|
type TicketStatus = z.infer<typeof TicketStatusSchema>;
|
|
2387
2885
|
declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support"]>;
|
|
2388
2886
|
type TicketAuthorType = z.infer<typeof TicketAuthorTypeSchema>;
|
|
2389
|
-
/** Rich-text body (sanitized HTML), size-capped. */
|
|
2390
2887
|
declare const TicketBodySchema: z.ZodString;
|
|
2391
2888
|
declare const TicketAttachmentSchema: z.ZodObject<{
|
|
2392
2889
|
id: z.ZodString;
|
|
@@ -2580,7 +3077,6 @@ declare const TicketDetailSchema: z.ZodObject<{
|
|
|
2580
3077
|
}[];
|
|
2581
3078
|
}>;
|
|
2582
3079
|
type TicketDetail = z.infer<typeof TicketDetailSchema>;
|
|
2583
|
-
/** Attachment reference returned by the upload-url flow and sent when posting a message. */
|
|
2584
3080
|
declare const TicketAttachmentInputSchema: z.ZodObject<{
|
|
2585
3081
|
fileKey: z.ZodString;
|
|
2586
3082
|
fileName: z.ZodString;
|
|
@@ -3079,6 +3575,12 @@ declare const REST_API: {
|
|
|
3079
3575
|
readonly SWAP: {
|
|
3080
3576
|
readonly EXECUTE: "/swap";
|
|
3081
3577
|
};
|
|
3578
|
+
readonly EXCHANGE: {
|
|
3579
|
+
readonly ORDERBOOK: "/exchange/orderbook";
|
|
3580
|
+
readonly TRADES: "/exchange/trades";
|
|
3581
|
+
readonly ORDERS: "/exchange/orders";
|
|
3582
|
+
readonly ORDER: "/exchange/orders/:id";
|
|
3583
|
+
};
|
|
3082
3584
|
readonly PARTNERS: {
|
|
3083
3585
|
readonly OVERVIEW: "/partners";
|
|
3084
3586
|
};
|
|
@@ -3131,4 +3633,4 @@ declare const REST_API: {
|
|
|
3131
3633
|
declare const API_PREFIX = "/api";
|
|
3132
3634
|
declare const API_VERSION = "v1";
|
|
3133
3635
|
|
|
3134
|
-
export { API_PREFIX, API_VERSION, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, CancelWithdrawalCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListLinkedAccountsCommand, ListNotificationsCommand, ListTicketsCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, PositiveMoneyStringSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, endpoint };
|
|
3636
|
+
export { API_PREFIX, API_VERSION, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, CancelOrderCommand, CancelWithdrawalCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, CreateTicketCommand, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetWalletCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerLevel, PartnerLevelSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestWithdrawalCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, type WalletOverview, WalletOverviewSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, endpoint };
|