ault-sdk-ts 0.6.0 → 0.7.0
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 +209 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +196 -62
- package/dist/index.js.map +1 -1
- package/dist/rest/dex-types.generated.d.ts +73 -34
- package/dist/rest/dex.d.ts +2 -0
- package/dist/rest/dex.generated.d.ts +295 -69
- package/dist/rest/pagination.d.ts +45 -0
- package/package.json +1 -1
|
@@ -27,25 +27,23 @@ All timestamps are in milliseconds unless noted otherwise.
|
|
|
27
27
|
*/
|
|
28
28
|
import * as zod from "zod";
|
|
29
29
|
/**
|
|
30
|
+
* Reports that the process is up. Performs no dependency checks — DB reachability is exposed separately via /db-ready.
|
|
31
|
+
|
|
30
32
|
* @summary Health check
|
|
31
33
|
*/
|
|
32
34
|
export declare const GetHealthResponse: zod.ZodObject<{
|
|
33
35
|
status: zod.ZodEnum<{
|
|
34
36
|
healthy: "healthy";
|
|
35
|
-
unhealthy: "unhealthy";
|
|
36
|
-
}>;
|
|
37
|
-
database: zod.ZodEnum<{
|
|
38
|
-
ok: "ok";
|
|
39
|
-
unreachable: "unreachable";
|
|
40
37
|
}>;
|
|
41
38
|
}, zod.z.core.$strip>;
|
|
42
39
|
/**
|
|
40
|
+
* K8s readiness probe. Always 200 once the process is serving; performs no dependency checks.
|
|
41
|
+
|
|
43
42
|
* @summary Readiness probe
|
|
44
43
|
*/
|
|
45
44
|
export declare const GetReadyResponse: zod.ZodObject<{
|
|
46
45
|
status: zod.ZodEnum<{
|
|
47
46
|
ready: "ready";
|
|
48
|
-
"not ready": "not ready";
|
|
49
47
|
}>;
|
|
50
48
|
}, zod.z.core.$strip>;
|
|
51
49
|
/**
|
|
@@ -56,6 +54,21 @@ export declare const GetLiveResponse: zod.ZodObject<{
|
|
|
56
54
|
alive: "alive";
|
|
57
55
|
}>;
|
|
58
56
|
}, zod.z.core.$strip>;
|
|
57
|
+
/**
|
|
58
|
+
* Pings the database. Not wired into the k8s liveness/readiness probes; intended for manual or low-frequency monitoring use.
|
|
59
|
+
|
|
60
|
+
* @summary On-demand database connectivity check
|
|
61
|
+
*/
|
|
62
|
+
export declare const GetDBReadyResponse: zod.ZodObject<{
|
|
63
|
+
status: zod.ZodEnum<{
|
|
64
|
+
ok: "ok";
|
|
65
|
+
unavailable: "unavailable";
|
|
66
|
+
}>;
|
|
67
|
+
database: zod.ZodEnum<{
|
|
68
|
+
ok: "ok";
|
|
69
|
+
unreachable: "unreachable";
|
|
70
|
+
}>;
|
|
71
|
+
}, zod.z.core.$strip>;
|
|
59
72
|
/**
|
|
60
73
|
* @summary Get indexer sync status
|
|
61
74
|
*/
|
|
@@ -217,6 +230,8 @@ export declare const ListMarketsResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
217
230
|
* Returns a dictionary of currencies keyed by code (e.g., "AULT", "BTC").
|
|
218
231
|
* @summary List all currencies
|
|
219
232
|
*/
|
|
233
|
+
export declare const listCurrenciesResponseInfoContractDecimalsMin = 0;
|
|
234
|
+
export declare const listCurrenciesResponseInfoContractDecimalsMax = 255;
|
|
220
235
|
export declare const ListCurrenciesResponse: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
221
236
|
id: zod.ZodString;
|
|
222
237
|
code: zod.ZodString;
|
|
@@ -237,7 +252,9 @@ export declare const ListCurrenciesResponse: zod.ZodRecord<zod.ZodString, zod.Zo
|
|
|
237
252
|
}, zod.z.core.$strip>>;
|
|
238
253
|
}, zod.z.core.$strip>;
|
|
239
254
|
networks: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
240
|
-
info: zod.ZodObject<{
|
|
255
|
+
info: zod.ZodObject<{
|
|
256
|
+
contractDecimals: zod.ZodNumber;
|
|
257
|
+
}, zod.z.core.$strip>;
|
|
241
258
|
}, zod.z.core.$strip>>;
|
|
242
259
|
/**
|
|
243
260
|
* @summary Get 24h ticker for a symbol
|
|
@@ -319,11 +336,16 @@ export declare const GetOrderbookResponse: zod.ZodObject<{
|
|
|
319
336
|
export declare const ListTradesParams: zod.ZodObject<{
|
|
320
337
|
symbol: zod.ZodString;
|
|
321
338
|
}, zod.z.core.$strip>;
|
|
322
|
-
export declare const listTradesQueryLimitDefault =
|
|
339
|
+
export declare const listTradesQueryLimitDefault = 100;
|
|
323
340
|
export declare const listTradesQueryLimitMax = 500;
|
|
341
|
+
export declare const listTradesQueryBeforeIndexMin = 0;
|
|
342
|
+
export declare const listTradesQueryBeforeIndexMax = 4294967295;
|
|
324
343
|
export declare const ListTradesQueryParams: zod.ZodObject<{
|
|
325
344
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
326
345
|
since: zod.ZodOptional<zod.ZodNumber>;
|
|
346
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
347
|
+
before_height: zod.ZodOptional<zod.ZodNumber>;
|
|
348
|
+
before_index: zod.ZodOptional<zod.ZodNumber>;
|
|
327
349
|
}, zod.z.core.$strip>;
|
|
328
350
|
export declare const listTradesResponsePriceRegExp: RegExp;
|
|
329
351
|
export declare const listTradesResponseAmountRegExp: RegExp;
|
|
@@ -333,13 +355,14 @@ export declare const listTradesResponseFeeRateRegExp: RegExp;
|
|
|
333
355
|
export declare const listTradesResponseInfoAddressOneRegExp: RegExp;
|
|
334
356
|
export declare const listTradesResponseInfoBlockHeightRegExp: RegExp;
|
|
335
357
|
export declare const listTradesResponseInfoEventIndexMin = 0;
|
|
358
|
+
export declare const listTradesResponseInfoEventIndexMax = 4294967295;
|
|
336
359
|
export declare const ListTradesResponseItem: zod.ZodObject<{
|
|
337
360
|
id: zod.ZodString;
|
|
338
361
|
order: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
339
362
|
timestamp: zod.ZodNumber;
|
|
340
363
|
datetime: zod.z.ZodISODateTime;
|
|
341
364
|
symbol: zod.ZodString;
|
|
342
|
-
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
365
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"twap">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
343
366
|
cloid: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
344
367
|
side: zod.ZodEnum<{
|
|
345
368
|
buy: "buy";
|
|
@@ -371,7 +394,7 @@ export declare const ListTradesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
371
394
|
timestamp: zod.ZodNumber;
|
|
372
395
|
datetime: zod.z.ZodISODateTime;
|
|
373
396
|
symbol: zod.ZodString;
|
|
374
|
-
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
397
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"twap">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
375
398
|
cloid: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
376
399
|
side: zod.ZodEnum<{
|
|
377
400
|
buy: "buy";
|
|
@@ -430,13 +453,14 @@ export declare const getTradeResponseFeeRateRegExp: RegExp;
|
|
|
430
453
|
export declare const getTradeResponseInfoAddressOneRegExp: RegExp;
|
|
431
454
|
export declare const getTradeResponseInfoBlockHeightRegExp: RegExp;
|
|
432
455
|
export declare const getTradeResponseInfoEventIndexMin = 0;
|
|
456
|
+
export declare const getTradeResponseInfoEventIndexMax = 4294967295;
|
|
433
457
|
export declare const GetTradeResponse: zod.ZodObject<{
|
|
434
458
|
id: zod.ZodString;
|
|
435
459
|
order: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
436
460
|
timestamp: zod.ZodNumber;
|
|
437
461
|
datetime: zod.z.ZodISODateTime;
|
|
438
462
|
symbol: zod.ZodString;
|
|
439
|
-
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
463
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"twap">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
440
464
|
cloid: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
441
465
|
side: zod.ZodEnum<{
|
|
442
466
|
buy: "buy";
|
|
@@ -477,25 +501,29 @@ export declare const GetTradingFeesResponse: zod.ZodRecord<zod.ZodString, zod.Zo
|
|
|
477
501
|
info: zod.ZodObject<{}, zod.z.core.$loose>;
|
|
478
502
|
}, zod.z.core.$strip>>;
|
|
479
503
|
/**
|
|
480
|
-
* Protocol-wide stats overview for a
|
|
481
|
-
estimated fees, trade/trader counts, active markets,
|
|
482
|
-
|
|
504
|
+
* Protocol-wide stats overview for a selected reporting window: quote
|
|
505
|
+
volume, estimated fees, trade/trader counts, active markets, average
|
|
506
|
+
taker slippage, and a per-market breakdown.
|
|
483
507
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
`traderCount
|
|
508
|
+
Every supported window is assembled by the precompute worker from its
|
|
509
|
+
hourly/daily rollups; the API never scans trade history on the request
|
|
510
|
+
path. `estimatedFee` is `quoteVolume × takerFeeRate` (an estimate, not
|
|
511
|
+
booked revenue). `dailyActiveUsers` aliases `traderCount` for `24h`
|
|
512
|
+
and is null for longer windows. `quoteVolume`/`estimatedFee`/`quoteAsset` and
|
|
488
513
|
`averageSlippageBps` are null when contributors span more than one
|
|
489
|
-
quote asset. `depositUsdcVolume24h`
|
|
490
|
-
|
|
491
|
-
the rest cover symbol-mapped
|
|
492
|
-
during symbol-map lag.
|
|
514
|
+
quote asset. `depositUsdcVolume24h` applies only to `24h` and is null
|
|
515
|
+
for longer windows; `builderCodesFee24h` remains reserved and null.
|
|
516
|
+
`tradeCount`/`traderCount` are book-wide; the rest cover symbol-mapped
|
|
517
|
+
markets, so the two need not reconcile during symbol-map lag.
|
|
493
518
|
|
|
494
519
|
* @summary Protocol stats overview
|
|
495
520
|
*/
|
|
496
521
|
export declare const GetStatsQueryParams: zod.ZodObject<{
|
|
497
522
|
window: zod.ZodOptional<zod.ZodEnum<{
|
|
498
523
|
"24h": "24h";
|
|
524
|
+
"7d": "7d";
|
|
525
|
+
"30d": "30d";
|
|
526
|
+
all: "all";
|
|
499
527
|
}>>;
|
|
500
528
|
}, zod.z.core.$strip>;
|
|
501
529
|
export declare const getStatsResponseTotalsQuoteVolumeRegExp: RegExp;
|
|
@@ -510,6 +538,9 @@ export declare const getStatsResponseMarketsItemTakerFeeRateRegExp: RegExp;
|
|
|
510
538
|
export declare const GetStatsResponse: zod.ZodObject<{
|
|
511
539
|
window: zod.ZodEnum<{
|
|
512
540
|
"24h": "24h";
|
|
541
|
+
"7d": "7d";
|
|
542
|
+
"30d": "30d";
|
|
543
|
+
all: "all";
|
|
513
544
|
}>;
|
|
514
545
|
totals: zod.ZodObject<{
|
|
515
546
|
quoteVolume: zod.ZodNullable<zod.ZodString>;
|
|
@@ -549,8 +580,8 @@ export declare const listOrdersQueryAddressOneRegExp: RegExp;
|
|
|
549
580
|
export declare const listOrdersQueryAddressTwoRegExp: RegExp;
|
|
550
581
|
export declare const listOrdersQueryMarketIdRegExp: RegExp;
|
|
551
582
|
export declare const listOrdersQueryCloidRegExp: RegExp;
|
|
552
|
-
export declare const listOrdersQueryLimitDefault =
|
|
553
|
-
export declare const listOrdersQueryLimitMax =
|
|
583
|
+
export declare const listOrdersQueryLimitDefault = 100;
|
|
584
|
+
export declare const listOrdersQueryLimitMax = 500;
|
|
554
585
|
export declare const ListOrdersQueryParams: zod.ZodObject<{
|
|
555
586
|
address: zod.ZodUnion<readonly [zod.ZodString, zod.ZodString]>;
|
|
556
587
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -563,6 +594,7 @@ export declare const ListOrdersQueryParams: zod.ZodObject<{
|
|
|
563
594
|
cloid: zod.ZodOptional<zod.ZodString>;
|
|
564
595
|
since: zod.ZodOptional<zod.ZodNumber>;
|
|
565
596
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
597
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
566
598
|
}, zod.z.core.$strip>;
|
|
567
599
|
export declare const listOrdersResponsePriceRegExp: RegExp;
|
|
568
600
|
export declare const listOrdersResponseAmountRegExp: RegExp;
|
|
@@ -592,7 +624,7 @@ export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
|
592
624
|
twap: "twap";
|
|
593
625
|
market: "market";
|
|
594
626
|
}>;
|
|
595
|
-
timeInForce: zod.
|
|
627
|
+
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
596
628
|
side: zod.ZodEnum<{
|
|
597
629
|
buy: "buy";
|
|
598
630
|
sell: "sell";
|
|
@@ -632,7 +664,7 @@ export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
|
632
664
|
twap: "twap";
|
|
633
665
|
market: "market";
|
|
634
666
|
}>;
|
|
635
|
-
close_reason: zod.
|
|
667
|
+
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
636
668
|
}, zod.z.core.$strip>;
|
|
637
669
|
}, zod.z.core.$strip>;
|
|
638
670
|
export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
@@ -654,7 +686,7 @@ export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
654
686
|
twap: "twap";
|
|
655
687
|
market: "market";
|
|
656
688
|
}>;
|
|
657
|
-
timeInForce: zod.
|
|
689
|
+
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
658
690
|
side: zod.ZodEnum<{
|
|
659
691
|
buy: "buy";
|
|
660
692
|
sell: "sell";
|
|
@@ -694,7 +726,7 @@ export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
694
726
|
twap: "twap";
|
|
695
727
|
market: "market";
|
|
696
728
|
}>;
|
|
697
|
-
close_reason: zod.
|
|
729
|
+
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
698
730
|
}, zod.z.core.$strip>;
|
|
699
731
|
}, zod.z.core.$strip>>;
|
|
700
732
|
/**
|
|
@@ -732,7 +764,7 @@ export declare const GetOrderResponse: zod.ZodObject<{
|
|
|
732
764
|
twap: "twap";
|
|
733
765
|
market: "market";
|
|
734
766
|
}>;
|
|
735
|
-
timeInForce: zod.
|
|
767
|
+
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
736
768
|
side: zod.ZodEnum<{
|
|
737
769
|
buy: "buy";
|
|
738
770
|
sell: "sell";
|
|
@@ -772,7 +804,7 @@ export declare const GetOrderResponse: zod.ZodObject<{
|
|
|
772
804
|
twap: "twap";
|
|
773
805
|
market: "market";
|
|
774
806
|
}>;
|
|
775
|
-
close_reason: zod.
|
|
807
|
+
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
776
808
|
}, zod.z.core.$strip>;
|
|
777
809
|
}, zod.z.core.$strip>;
|
|
778
810
|
/**
|
|
@@ -782,13 +814,18 @@ this endpoint returns only the authenticated user's fills.
|
|
|
782
814
|
|
|
783
815
|
* @summary Get user's own trades
|
|
784
816
|
*/
|
|
785
|
-
export declare const listMyTradesQueryLimitDefault =
|
|
817
|
+
export declare const listMyTradesQueryLimitDefault = 100;
|
|
786
818
|
export declare const listMyTradesQueryLimitMax = 500;
|
|
819
|
+
export declare const listMyTradesQueryBeforeIndexMin = 0;
|
|
820
|
+
export declare const listMyTradesQueryBeforeIndexMax = 4294967295;
|
|
787
821
|
export declare const ListMyTradesQueryParams: zod.ZodObject<{
|
|
788
822
|
address: zod.ZodString;
|
|
789
823
|
symbol: zod.ZodOptional<zod.ZodString>;
|
|
790
824
|
since: zod.ZodOptional<zod.ZodNumber>;
|
|
791
825
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
826
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
827
|
+
before_height: zod.ZodOptional<zod.ZodNumber>;
|
|
828
|
+
before_index: zod.ZodOptional<zod.ZodNumber>;
|
|
792
829
|
}, zod.z.core.$strip>;
|
|
793
830
|
export declare const listMyTradesResponsePriceRegExp: RegExp;
|
|
794
831
|
export declare const listMyTradesResponseAmountRegExp: RegExp;
|
|
@@ -798,13 +835,14 @@ export declare const listMyTradesResponseFeeRateRegExp: RegExp;
|
|
|
798
835
|
export declare const listMyTradesResponseInfoAddressOneRegExp: RegExp;
|
|
799
836
|
export declare const listMyTradesResponseInfoBlockHeightRegExp: RegExp;
|
|
800
837
|
export declare const listMyTradesResponseInfoEventIndexMin = 0;
|
|
838
|
+
export declare const listMyTradesResponseInfoEventIndexMax = 4294967295;
|
|
801
839
|
export declare const ListMyTradesResponseItem: zod.ZodObject<{
|
|
802
840
|
id: zod.ZodString;
|
|
803
841
|
order: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
804
842
|
timestamp: zod.ZodNumber;
|
|
805
843
|
datetime: zod.z.ZodISODateTime;
|
|
806
844
|
symbol: zod.ZodString;
|
|
807
|
-
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
845
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"twap">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
808
846
|
cloid: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
809
847
|
side: zod.ZodEnum<{
|
|
810
848
|
buy: "buy";
|
|
@@ -836,7 +874,7 @@ export declare const ListMyTradesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
836
874
|
timestamp: zod.ZodNumber;
|
|
837
875
|
datetime: zod.z.ZodISODateTime;
|
|
838
876
|
symbol: zod.ZodString;
|
|
839
|
-
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
877
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"limit">, zod.ZodLiteral<"market">, zod.ZodLiteral<"twap">, zod.ZodLiteral<"unknown">, zod.ZodLiteral<null>]>>>;
|
|
840
878
|
cloid: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
841
879
|
side: zod.ZodEnum<{
|
|
842
880
|
buy: "buy";
|
|
@@ -889,12 +927,13 @@ export declare const GetOHLCVParams: zod.ZodObject<{
|
|
|
889
927
|
symbol: zod.ZodString;
|
|
890
928
|
}, zod.z.core.$strip>;
|
|
891
929
|
export declare const getOHLCVQueryTimeframeDefault = "1m";
|
|
892
|
-
export declare const getOHLCVQueryLimitDefault =
|
|
930
|
+
export declare const getOHLCVQueryLimitDefault = 500;
|
|
893
931
|
export declare const getOHLCVQueryLimitMax = 1000;
|
|
894
932
|
export declare const GetOHLCVQueryParams: zod.ZodObject<{
|
|
895
933
|
timeframe: zod.ZodDefault<zod.ZodString>;
|
|
896
934
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
897
935
|
since: zod.ZodOptional<zod.ZodNumber>;
|
|
936
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
898
937
|
}, zod.z.core.$strip>;
|
|
899
938
|
export declare const GetOHLCVResponseItem: zod.ZodTuple<[zod.ZodNumber, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString], null>;
|
|
900
939
|
export declare const GetOHLCVResponse: zod.ZodArray<zod.ZodTuple<[zod.ZodNumber, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString, zod.ZodString], null>>;
|
package/dist/rest/dex.d.ts
CHANGED
|
@@ -37,5 +37,7 @@ export declare function createDexApi(context: RestContext): {
|
|
|
37
37
|
getUDFQuotes: (params: import("./dex.generated").GetUDFQuotesParams, options?: RequestInit) => Promise<import("./dex.generated").getUDFQuotesResponse>;
|
|
38
38
|
getUDFMarks: (params: import("./dex.generated").GetUDFMarksParams, options?: RequestInit) => Promise<import("./dex.generated").getUDFMarksResponse>;
|
|
39
39
|
getUDFTimescaleMarks: (params: import("./dex.generated").GetUDFTimescaleMarksParams, options?: RequestInit) => Promise<import("./dex.generated").getUDFTimescaleMarksResponse>;
|
|
40
|
+
getOpenAPISpec: (options?: RequestInit) => Promise<import("./dex.generated").getOpenAPISpecResponse>;
|
|
41
|
+
getDBReady: (options?: RequestInit) => Promise<import("./dex.generated").getDBReadyResponse>;
|
|
40
42
|
};
|
|
41
43
|
export type DexApi = ReturnType<typeof createDexApi>;
|