@reyaxyz/api-v2-sdk 0.301.2 → 0.301.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/rest/apis/MarketDataApi.js +1 -1
  2. package/dist/rest/apis/MarketDataApi.js.map +1 -1
  3. package/dist/rest/apis/OrderEntryApi.js +1 -1
  4. package/dist/rest/apis/OrderEntryApi.js.map +1 -1
  5. package/dist/rest/apis/ReferenceDataApi.js +1 -1
  6. package/dist/rest/apis/ReferenceDataApi.js.map +1 -1
  7. package/dist/rest/apis/SpecsApi.js +189 -0
  8. package/dist/rest/apis/SpecsApi.js.map +1 -0
  9. package/dist/rest/apis/WalletDataApi.js +1 -1
  10. package/dist/rest/apis/WalletDataApi.js.map +1 -1
  11. package/dist/rest/apis/index.js +1 -0
  12. package/dist/rest/apis/index.js.map +1 -1
  13. package/dist/rest/models/index.js +5 -152
  14. package/dist/rest/models/index.js.map +1 -1
  15. package/dist/rest/runtime.js +1 -1
  16. package/dist/rest/runtime.js.map +1 -1
  17. package/dist/types/rest/apis/MarketDataApi.d.ts +1 -1
  18. package/dist/types/rest/apis/OrderEntryApi.d.ts +1 -1
  19. package/dist/types/rest/apis/ReferenceDataApi.d.ts +1 -1
  20. package/dist/types/rest/apis/SpecsApi.d.ts +38 -0
  21. package/dist/types/rest/apis/SpecsApi.d.ts.map +1 -0
  22. package/dist/types/rest/apis/WalletDataApi.d.ts +1 -1
  23. package/dist/types/rest/apis/index.d.ts +1 -0
  24. package/dist/types/rest/apis/index.d.ts.map +1 -1
  25. package/dist/types/rest/models/index.d.ts +130 -399
  26. package/dist/types/rest/models/index.d.ts.map +1 -1
  27. package/dist/types/rest/runtime.d.ts +1 -1
  28. package/dist/types/websocket/types.d.ts +55 -53
  29. package/dist/types/websocket/types.d.ts.map +1 -1
  30. package/dist/websocket/types.js +4 -47
  31. package/dist/websocket/types.js.map +1 -1
  32. package/package.json +2 -2
  33. package/rest/apis/MarketDataApi.ts +1 -1
  34. package/rest/apis/OrderEntryApi.ts +1 -1
  35. package/rest/apis/ReferenceDataApi.ts +1 -1
  36. package/rest/apis/SpecsApi.ts +82 -0
  37. package/rest/apis/WalletDataApi.ts +1 -1
  38. package/rest/apis/index.ts +1 -0
  39. package/rest/models/index.ts +130 -441
  40. package/rest/runtime.ts +1 -1
  41. package/websocket/types.ts +65 -79
@@ -4,6 +4,7 @@
4
4
  * @interface Account
5
5
  */
6
6
  export interface Account {
7
+ [key: string]: any | any;
7
8
  /**
8
9
  *
9
10
  * @type {number}
@@ -29,6 +30,7 @@ export interface Account {
29
30
  * @interface AccountBalance
30
31
  */
31
32
  export interface AccountBalance {
33
+ [key: string]: any | any;
32
34
  /**
33
35
  *
34
36
  * @type {number}
@@ -54,6 +56,7 @@ export interface AccountBalance {
54
56
  * @interface AssetDefinition
55
57
  */
56
58
  export interface AssetDefinition {
59
+ [key: string]: any | any;
57
60
  /**
58
61
  *
59
62
  * @type {string}
@@ -61,7 +64,7 @@ export interface AssetDefinition {
61
64
  */
62
65
  asset: string;
63
66
  /**
64
- *
67
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
65
68
  * @type {string}
66
69
  * @memberof AssetDefinition
67
70
  */
@@ -91,6 +94,7 @@ export interface AssetDefinition {
91
94
  * @interface CancelOrderRequest
92
95
  */
93
96
  export interface CancelOrderRequest {
97
+ [key: string]: any | any;
94
98
  /**
95
99
  * Order ID to cancel
96
100
  * @type {string}
@@ -110,12 +114,13 @@ export interface CancelOrderRequest {
110
114
  * @interface CancelOrderResponse
111
115
  */
112
116
  export interface CancelOrderResponse {
117
+ [key: string]: any | any;
113
118
  /**
114
- * Order status
115
- * @type {string}
119
+ *
120
+ * @type {OrderStatus}
116
121
  * @memberof CancelOrderResponse
117
122
  */
118
- status: CancelOrderResponseStatusEnum;
123
+ status: OrderStatus;
119
124
  /**
120
125
  * Cancelled order ID
121
126
  * @type {string}
@@ -123,22 +128,13 @@ export interface CancelOrderResponse {
123
128
  */
124
129
  orderId: string;
125
130
  }
126
- /**
127
- * @export
128
- */
129
- export declare const CancelOrderResponseStatusEnum: {
130
- readonly OPEN: "OPEN";
131
- readonly FILLED: "FILLED";
132
- readonly CANCELLED: "CANCELLED";
133
- readonly REJECTED: "REJECTED";
134
- };
135
- export type CancelOrderResponseStatusEnum = typeof CancelOrderResponseStatusEnum[keyof typeof CancelOrderResponseStatusEnum];
136
131
  /**
137
132
  *
138
133
  * @export
139
134
  * @interface CandleHistoryData
140
135
  */
141
136
  export interface CandleHistoryData {
137
+ [key: string]: any | any;
142
138
  /**
143
139
  * Array of timestamps (seconds)
144
140
  * @type {Array<number>}
@@ -176,6 +172,7 @@ export interface CandleHistoryData {
176
172
  * @interface CreateOrderRequest
177
173
  */
178
174
  export interface CreateOrderRequest {
175
+ [key: string]: any | any;
179
176
  /**
180
177
  *
181
178
  * @type {number}
@@ -183,7 +180,7 @@ export interface CreateOrderRequest {
183
180
  */
184
181
  exchangeId: number;
185
182
  /**
186
- *
183
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
187
184
  * @type {string}
188
185
  * @memberof CreateOrderRequest
189
186
  */
@@ -213,17 +210,17 @@ export interface CreateOrderRequest {
213
210
  */
214
211
  qty?: string;
215
212
  /**
216
- * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)
217
- * @type {string}
213
+ *
214
+ * @type {OrderType}
218
215
  * @memberof CreateOrderRequest
219
216
  */
220
- orderType: CreateOrderRequestOrderTypeEnum;
217
+ orderType: OrderType;
221
218
  /**
222
- * Order time in force, exclusively used for LIMIT orders
223
- * @type {string}
219
+ *
220
+ * @type {TimeInForce}
224
221
  * @memberof CreateOrderRequest
225
222
  */
226
- timeInForce?: CreateOrderRequestTimeInForceEnum;
223
+ timeInForce?: TimeInForce;
227
224
  /**
228
225
  * Trigger price, only for TP/SL orders
229
226
  * @type {string}
@@ -249,7 +246,7 @@ export interface CreateOrderRequest {
249
246
  */
250
247
  nonce: string;
251
248
  /**
252
- * Signer wallet address
249
+ * Ethereum wallet address
253
250
  * @type {string}
254
251
  * @memberof CreateOrderRequest
255
252
  */
@@ -261,35 +258,19 @@ export interface CreateOrderRequest {
261
258
  */
262
259
  expiresAfter?: number;
263
260
  }
264
- /**
265
- * @export
266
- */
267
- export declare const CreateOrderRequestOrderTypeEnum: {
268
- readonly LIMIT: "LIMIT";
269
- readonly TP: "TP";
270
- readonly SL: "SL";
271
- };
272
- export type CreateOrderRequestOrderTypeEnum = typeof CreateOrderRequestOrderTypeEnum[keyof typeof CreateOrderRequestOrderTypeEnum];
273
- /**
274
- * @export
275
- */
276
- export declare const CreateOrderRequestTimeInForceEnum: {
277
- readonly IOC: "IOC";
278
- readonly GTC: "GTC";
279
- };
280
- export type CreateOrderRequestTimeInForceEnum = typeof CreateOrderRequestTimeInForceEnum[keyof typeof CreateOrderRequestTimeInForceEnum];
281
261
  /**
282
262
  *
283
263
  * @export
284
264
  * @interface CreateOrderResponse
285
265
  */
286
266
  export interface CreateOrderResponse {
267
+ [key: string]: any | any;
287
268
  /**
288
- * Order status
289
- * @type {string}
269
+ *
270
+ * @type {OrderStatus}
290
271
  * @memberof CreateOrderResponse
291
272
  */
292
- status: CreateOrderResponseStatusEnum;
273
+ status: OrderStatus;
293
274
  /**
294
275
  * Created order ID (currently generated for all order types except IOC)
295
276
  * @type {string}
@@ -297,16 +278,6 @@ export interface CreateOrderResponse {
297
278
  */
298
279
  orderId?: string;
299
280
  }
300
- /**
301
- * @export
302
- */
303
- export declare const CreateOrderResponseStatusEnum: {
304
- readonly OPEN: "OPEN";
305
- readonly FILLED: "FILLED";
306
- readonly CANCELLED: "CANCELLED";
307
- readonly REJECTED: "REJECTED";
308
- };
309
- export type CreateOrderResponseStatusEnum = typeof CreateOrderResponseStatusEnum[keyof typeof CreateOrderResponseStatusEnum];
310
281
  /**
311
282
  * Type of execution
312
283
  * @export
@@ -323,6 +294,7 @@ export type ExecutionType = typeof ExecutionType[keyof typeof ExecutionType];
323
294
  * @interface FeeTierParameters
324
295
  */
325
296
  export interface FeeTierParameters {
297
+ [key: string]: any | any;
326
298
  /**
327
299
  *
328
300
  * @type {number}
@@ -348,26 +320,19 @@ export interface FeeTierParameters {
348
320
  */
349
321
  volume14d: string;
350
322
  /**
351
- * Fee tier type (REGULAR = Standard tier, VIP = VIP tier)
352
- * @type {string}
323
+ *
324
+ * @type {TierType}
353
325
  * @memberof FeeTierParameters
354
326
  */
355
- tierType: FeeTierParametersTierTypeEnum;
327
+ tierType: TierType;
356
328
  }
357
- /**
358
- * @export
359
- */
360
- export declare const FeeTierParametersTierTypeEnum: {
361
- readonly REGULAR: "REGULAR";
362
- readonly VIP: "VIP";
363
- };
364
- export type FeeTierParametersTierTypeEnum = typeof FeeTierParametersTierTypeEnum[keyof typeof FeeTierParametersTierTypeEnum];
365
329
  /**
366
330
  *
367
331
  * @export
368
332
  * @interface GlobalFeeParameters
369
333
  */
370
334
  export interface GlobalFeeParameters {
335
+ [key: string]: any | any;
371
336
  /**
372
337
  * OG user discount
373
338
  * @type {string}
@@ -399,8 +364,9 @@ export interface GlobalFeeParameters {
399
364
  * @interface LiquidityParameters
400
365
  */
401
366
  export interface LiquidityParameters {
367
+ [key: string]: any | any;
402
368
  /**
403
- *
369
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
404
370
  * @type {string}
405
371
  * @memberof LiquidityParameters
406
372
  */
@@ -424,8 +390,9 @@ export interface LiquidityParameters {
424
390
  * @interface MarketDefinition
425
391
  */
426
392
  export interface MarketDefinition {
393
+ [key: string]: any | any;
427
394
  /**
428
- *
395
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
429
396
  * @type {string}
430
397
  * @memberof MarketDefinition
431
398
  */
@@ -485,8 +452,9 @@ export interface MarketDefinition {
485
452
  * @interface MarketSummary
486
453
  */
487
454
  export interface MarketSummary {
455
+ [key: string]: any | any;
488
456
  /**
489
- *
457
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
490
458
  * @type {string}
491
459
  * @memberof MarketSummary
492
460
  */
@@ -576,6 +544,7 @@ export interface MarketSummary {
576
544
  * @interface Order
577
545
  */
578
546
  export interface Order {
547
+ [key: string]: any | any;
579
548
  /**
580
549
  *
581
550
  * @type {number}
@@ -583,7 +552,7 @@ export interface Order {
583
552
  */
584
553
  exchangeId: number;
585
554
  /**
586
- *
555
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
587
556
  * @type {string}
588
557
  * @memberof Order
589
558
  */
@@ -599,7 +568,7 @@ export interface Order {
599
568
  * @type {string}
600
569
  * @memberof Order
601
570
  */
602
- orderId?: string;
571
+ orderId: string;
603
572
  /**
604
573
  *
605
574
  * @type {string}
@@ -613,11 +582,11 @@ export interface Order {
613
582
  */
614
583
  execQty?: string;
615
584
  /**
616
- * Order side (B = Buy/Bid, A = Ask/Sell)
617
- * @type {string}
585
+ *
586
+ * @type {Side}
618
587
  * @memberof Order
619
588
  */
620
- side: OrderSideEnum;
589
+ side: Side;
621
590
  /**
622
591
  *
623
592
  * @type {string}
@@ -625,11 +594,11 @@ export interface Order {
625
594
  */
626
595
  limitPx: string;
627
596
  /**
628
- * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)
629
- * @type {string}
597
+ *
598
+ * @type {OrderType}
630
599
  * @memberof Order
631
600
  */
632
- orderType: OrderOrderTypeEnum;
601
+ orderType: OrderType;
633
602
  /**
634
603
  * Price at which TP/SL orders will be triggered, should not be set for other order types.
635
604
  * @type {string}
@@ -637,11 +606,11 @@ export interface Order {
637
606
  */
638
607
  triggerPx?: string;
639
608
  /**
640
- * Order time in force, exclusively used for LIMIT orders
641
- * @type {string}
609
+ *
610
+ * @type {TimeInForce}
642
611
  * @memberof Order
643
612
  */
644
- timeInForce?: OrderTimeInForceEnum;
613
+ timeInForce?: TimeInForce;
645
614
  /**
646
615
  * Whether this is a reduce-only order, exclusively used for LIMIT IOC orders.
647
616
  * @type {boolean}
@@ -649,11 +618,11 @@ export interface Order {
649
618
  */
650
619
  reduceOnly?: boolean;
651
620
  /**
652
- * Order status
653
- * @type {string}
621
+ *
622
+ * @type {OrderStatus}
654
623
  * @memberof Order
655
624
  */
656
- status: OrderStatusEnum;
625
+ status: OrderStatus;
657
626
  /**
658
627
  * Creation timestamp (milliseconds)
659
628
  * @type {number}
@@ -667,41 +636,6 @@ export interface Order {
667
636
  */
668
637
  lastUpdateAt: number;
669
638
  }
670
- /**
671
- * @export
672
- */
673
- export declare const OrderSideEnum: {
674
- readonly B: "B";
675
- readonly A: "A";
676
- };
677
- export type OrderSideEnum = typeof OrderSideEnum[keyof typeof OrderSideEnum];
678
- /**
679
- * @export
680
- */
681
- export declare const OrderOrderTypeEnum: {
682
- readonly LIMIT: "LIMIT";
683
- readonly TP: "TP";
684
- readonly SL: "SL";
685
- };
686
- export type OrderOrderTypeEnum = typeof OrderOrderTypeEnum[keyof typeof OrderOrderTypeEnum];
687
- /**
688
- * @export
689
- */
690
- export declare const OrderTimeInForceEnum: {
691
- readonly IOC: "IOC";
692
- readonly GTC: "GTC";
693
- };
694
- export type OrderTimeInForceEnum = typeof OrderTimeInForceEnum[keyof typeof OrderTimeInForceEnum];
695
- /**
696
- * @export
697
- */
698
- export declare const OrderStatusEnum: {
699
- readonly OPEN: "OPEN";
700
- readonly FILLED: "FILLED";
701
- readonly CANCELLED: "CANCELLED";
702
- readonly REJECTED: "REJECTED";
703
- };
704
- export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
705
639
  /**
706
640
  * Order status
707
641
  * @export
@@ -723,12 +657,45 @@ export declare const OrderType: {
723
657
  readonly SL: "SL";
724
658
  };
725
659
  export type OrderType = typeof OrderType[keyof typeof OrderType];
660
+ /**
661
+ *
662
+ * @export
663
+ * @interface PaginationMeta
664
+ */
665
+ export interface PaginationMeta {
666
+ [key: string]: any | any;
667
+ /**
668
+ * Number of items requested
669
+ * @type {number}
670
+ * @memberof PaginationMeta
671
+ */
672
+ limit: number;
673
+ /**
674
+ * Number of items returned
675
+ * @type {number}
676
+ * @memberof PaginationMeta
677
+ */
678
+ count: number;
679
+ /**
680
+ * Timestamp of last result, in milliseconds
681
+ * @type {number}
682
+ * @memberof PaginationMeta
683
+ */
684
+ endTime?: number;
685
+ /**
686
+ * Timestamp of first result, in milliseconds
687
+ * @type {number}
688
+ * @memberof PaginationMeta
689
+ */
690
+ startTime?: number;
691
+ }
726
692
  /**
727
693
  *
728
694
  * @export
729
695
  * @interface PaginationParameters
730
696
  */
731
697
  export interface PaginationParameters {
698
+ [key: string]: any | any;
732
699
  /**
733
700
  * Number of items requested
734
701
  * @type {number}
@@ -760,6 +727,7 @@ export interface PaginationParameters {
760
727
  * @interface PerpExecution
761
728
  */
762
729
  export interface PerpExecution {
730
+ [key: string]: any | any;
763
731
  /**
764
732
  *
765
733
  * @type {number}
@@ -767,7 +735,7 @@ export interface PerpExecution {
767
735
  */
768
736
  exchangeId: number;
769
737
  /**
770
- *
738
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
771
739
  * @type {string}
772
740
  * @memberof PerpExecution
773
741
  */
@@ -785,11 +753,11 @@ export interface PerpExecution {
785
753
  */
786
754
  qty: string;
787
755
  /**
788
- * Order side (B = Buy/Bid, A = Ask/Sell)
789
- * @type {string}
756
+ *
757
+ * @type {Side}
790
758
  * @memberof PerpExecution
791
759
  */
792
- side: PerpExecutionSideEnum;
760
+ side: Side;
793
761
  /**
794
762
  *
795
763
  * @type {string}
@@ -803,11 +771,11 @@ export interface PerpExecution {
803
771
  */
804
772
  fee: string;
805
773
  /**
806
- * Type of execution
807
- * @type {string}
774
+ *
775
+ * @type {ExecutionType}
808
776
  * @memberof PerpExecution
809
777
  */
810
- type: PerpExecutionTypeEnum;
778
+ type: ExecutionType;
811
779
  /**
812
780
  * Execution timestamp (milliseconds)
813
781
  * @type {number}
@@ -821,156 +789,25 @@ export interface PerpExecution {
821
789
  */
822
790
  sequenceNumber: number;
823
791
  }
824
- /**
825
- * @export
826
- */
827
- export declare const PerpExecutionSideEnum: {
828
- readonly B: "B";
829
- readonly A: "A";
830
- };
831
- export type PerpExecutionSideEnum = typeof PerpExecutionSideEnum[keyof typeof PerpExecutionSideEnum];
832
- /**
833
- * @export
834
- */
835
- export declare const PerpExecutionTypeEnum: {
836
- readonly ORDER_MATCH: "ORDER_MATCH";
837
- readonly LIQUIDATION: "LIQUIDATION";
838
- readonly ADL: "ADL";
839
- };
840
- export type PerpExecutionTypeEnum = typeof PerpExecutionTypeEnum[keyof typeof PerpExecutionTypeEnum];
841
792
  /**
842
793
  *
843
794
  * @export
844
795
  * @interface PerpExecutionList
845
796
  */
846
797
  export interface PerpExecutionList {
798
+ [key: string]: any | any;
847
799
  /**
848
800
  *
849
- * @type {Array<PerpExecutionListDataInner>}
801
+ * @type {Array<PerpExecution>}
850
802
  * @memberof PerpExecutionList
851
803
  */
852
- data: Array<PerpExecutionListDataInner>;
804
+ data: Array<PerpExecution>;
853
805
  /**
854
806
  *
855
- * @type {PerpExecutionListMeta}
807
+ * @type {PaginationMeta}
856
808
  * @memberof PerpExecutionList
857
809
  */
858
- meta: PerpExecutionListMeta;
859
- }
860
- /**
861
- *
862
- * @export
863
- * @interface PerpExecutionListDataInner
864
- */
865
- export interface PerpExecutionListDataInner {
866
- /**
867
- *
868
- * @type {number}
869
- * @memberof PerpExecutionListDataInner
870
- */
871
- exchangeId: number;
872
- /**
873
- *
874
- * @type {string}
875
- * @memberof PerpExecutionListDataInner
876
- */
877
- symbol: string;
878
- /**
879
- *
880
- * @type {number}
881
- * @memberof PerpExecutionListDataInner
882
- */
883
- accountId: number;
884
- /**
885
- *
886
- * @type {string}
887
- * @memberof PerpExecutionListDataInner
888
- */
889
- qty: string;
890
- /**
891
- * Order side (B = Buy/Bid, A = Ask/Sell)
892
- * @type {string}
893
- * @memberof PerpExecutionListDataInner
894
- */
895
- side: PerpExecutionListDataInnerSideEnum;
896
- /**
897
- *
898
- * @type {string}
899
- * @memberof PerpExecutionListDataInner
900
- */
901
- price: string;
902
- /**
903
- *
904
- * @type {string}
905
- * @memberof PerpExecutionListDataInner
906
- */
907
- fee: string;
908
- /**
909
- * Type of execution
910
- * @type {string}
911
- * @memberof PerpExecutionListDataInner
912
- */
913
- type: PerpExecutionListDataInnerTypeEnum;
914
- /**
915
- * Execution timestamp (milliseconds)
916
- * @type {number}
917
- * @memberof PerpExecutionListDataInner
918
- */
919
- timestamp: number;
920
- /**
921
- * Execution sequence number, increases by 1 for every perp execution in reya chain
922
- * @type {number}
923
- * @memberof PerpExecutionListDataInner
924
- */
925
- sequenceNumber: number;
926
- }
927
- /**
928
- * @export
929
- */
930
- export declare const PerpExecutionListDataInnerSideEnum: {
931
- readonly B: "B";
932
- readonly A: "A";
933
- };
934
- export type PerpExecutionListDataInnerSideEnum = typeof PerpExecutionListDataInnerSideEnum[keyof typeof PerpExecutionListDataInnerSideEnum];
935
- /**
936
- * @export
937
- */
938
- export declare const PerpExecutionListDataInnerTypeEnum: {
939
- readonly ORDER_MATCH: "ORDER_MATCH";
940
- readonly LIQUIDATION: "LIQUIDATION";
941
- readonly ADL: "ADL";
942
- };
943
- export type PerpExecutionListDataInnerTypeEnum = typeof PerpExecutionListDataInnerTypeEnum[keyof typeof PerpExecutionListDataInnerTypeEnum];
944
- /**
945
- *
946
- * @export
947
- * @interface PerpExecutionListMeta
948
- */
949
- export interface PerpExecutionListMeta {
950
- /**
951
- * Number of items requested
952
- * @type {number}
953
- * @memberof PerpExecutionListMeta
954
- */
955
- limit: number;
956
- /**
957
- * Number of items returned
958
- * @type {number}
959
- * @memberof PerpExecutionListMeta
960
- */
961
- count: number;
962
- /**
963
- * Timestamp of last result, in milliseconds
964
- * @type {number}
965
- * @memberof PerpExecutionListMeta
966
- */
967
- endTime?: number;
968
- /**
969
- * Timestamp of first result, in milliseconds
970
- * @type {number}
971
- * @memberof PerpExecutionListMeta
972
- */
973
- startTime?: number;
810
+ meta: PaginationMeta;
974
811
  }
975
812
  /**
976
813
  *
@@ -978,6 +815,7 @@ export interface PerpExecutionListMeta {
978
815
  * @interface Position
979
816
  */
980
817
  export interface Position {
818
+ [key: string]: any | any;
981
819
  /**
982
820
  *
983
821
  * @type {number}
@@ -985,7 +823,7 @@ export interface Position {
985
823
  */
986
824
  exchangeId: number;
987
825
  /**
988
- *
826
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
989
827
  * @type {string}
990
828
  * @memberof Position
991
829
  */
@@ -1003,11 +841,11 @@ export interface Position {
1003
841
  */
1004
842
  qty: string;
1005
843
  /**
1006
- * Order side (B = Buy/Bid, A = Ask/Sell)
1007
- * @type {string}
844
+ *
845
+ * @type {Side}
1008
846
  * @memberof Position
1009
847
  */
1010
- side: PositionSideEnum;
848
+ side: Side;
1011
849
  /**
1012
850
  *
1013
851
  * @type {string}
@@ -1027,22 +865,15 @@ export interface Position {
1027
865
  */
1028
866
  lastTradeSequenceNumber: number;
1029
867
  }
1030
- /**
1031
- * @export
1032
- */
1033
- export declare const PositionSideEnum: {
1034
- readonly B: "B";
1035
- readonly A: "A";
1036
- };
1037
- export type PositionSideEnum = typeof PositionSideEnum[keyof typeof PositionSideEnum];
1038
868
  /**
1039
869
  *
1040
870
  * @export
1041
871
  * @interface Price
1042
872
  */
1043
873
  export interface Price {
874
+ [key: string]: any | any;
1044
875
  /**
1045
- *
876
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
1046
877
  * @type {string}
1047
878
  * @memberof Price
1048
879
  */
@@ -1052,7 +883,7 @@ export interface Price {
1052
883
  * @type {string}
1053
884
  * @memberof Price
1054
885
  */
1055
- oraclePrice?: string;
886
+ oraclePrice: string;
1056
887
  /**
1057
888
  * The price currently quoted by the AMM for zero volume, from which trades are priced (equivalent to mid price in an order book); a trade of any size will be move this price up or down depending on the direction.
1058
889
  * @type {string}
@@ -1072,12 +903,13 @@ export interface Price {
1072
903
  * @interface RequestError
1073
904
  */
1074
905
  export interface RequestError {
906
+ [key: string]: any | any;
1075
907
  /**
1076
- * Standardized error codes for API responses
1077
- * @type {string}
908
+ *
909
+ * @type {RequestErrorCode}
1078
910
  * @memberof RequestError
1079
911
  */
1080
- error: RequestErrorErrorEnum;
912
+ error: RequestErrorCode;
1081
913
  /**
1082
914
  * Human-readable error message
1083
915
  * @type {string}
@@ -1085,18 +917,6 @@ export interface RequestError {
1085
917
  */
1086
918
  message: string;
1087
919
  }
1088
- /**
1089
- * @export
1090
- */
1091
- export declare const RequestErrorErrorEnum: {
1092
- readonly SYMBOL_NOT_FOUND: "SYMBOL_NOT_FOUND";
1093
- readonly NO_ACCOUNTS_FOUND: "NO_ACCOUNTS_FOUND";
1094
- readonly NO_PRICES_FOUND_FOR_SYMBOL: "NO_PRICES_FOUND_FOR_SYMBOL";
1095
- readonly INPUT_VALIDATION_ERROR: "INPUT_VALIDATION_ERROR";
1096
- readonly CREATE_ORDER_OTHER_ERROR: "CREATE_ORDER_OTHER_ERROR";
1097
- readonly CANCEL_ORDER_OTHER_ERROR: "CANCEL_ORDER_OTHER_ERROR";
1098
- };
1099
- export type RequestErrorErrorEnum = typeof RequestErrorErrorEnum[keyof typeof RequestErrorErrorEnum];
1100
920
  /**
1101
921
  * Standardized error codes for API responses
1102
922
  * @export
@@ -1116,12 +936,13 @@ export type RequestErrorCode = typeof RequestErrorCode[keyof typeof RequestError
1116
936
  * @interface ServerError
1117
937
  */
1118
938
  export interface ServerError {
939
+ [key: string]: any | any;
1119
940
  /**
1120
- * Standardized error codes for API responses
1121
- * @type {string}
941
+ *
942
+ * @type {ServerErrorCode}
1122
943
  * @memberof ServerError
1123
944
  */
1124
- error: ServerErrorErrorEnum;
945
+ error: ServerErrorCode;
1125
946
  /**
1126
947
  * Human-readable error message
1127
948
  * @type {string}
@@ -1129,13 +950,6 @@ export interface ServerError {
1129
950
  */
1130
951
  message: string;
1131
952
  }
1132
- /**
1133
- * @export
1134
- */
1135
- export declare const ServerErrorErrorEnum: {
1136
- readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
1137
- };
1138
- export type ServerErrorErrorEnum = typeof ServerErrorErrorEnum[keyof typeof ServerErrorErrorEnum];
1139
953
  /**
1140
954
  * Standardized error codes for API responses
1141
955
  * @export
@@ -1159,6 +973,7 @@ export type Side = typeof Side[keyof typeof Side];
1159
973
  * @interface SpotExecution
1160
974
  */
1161
975
  export interface SpotExecution {
976
+ [key: string]: any | any;
1162
977
  /**
1163
978
  *
1164
979
  * @type {number}
@@ -1166,7 +981,7 @@ export interface SpotExecution {
1166
981
  */
1167
982
  exchangeId: number;
1168
983
  /**
1169
- *
984
+ * Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
1170
985
  * @type {string}
1171
986
  * @memberof SpotExecution
1172
987
  */
@@ -1178,11 +993,11 @@ export interface SpotExecution {
1178
993
  */
1179
994
  accountId: number;
1180
995
  /**
1181
- * Order side (B = Buy/Bid, A = Ask/Sell)
1182
- * @type {string}
996
+ *
997
+ * @type {Side}
1183
998
  * @memberof SpotExecution
1184
999
  */
1185
- side: SpotExecutionSideEnum;
1000
+ side: Side;
1186
1001
  /**
1187
1002
  *
1188
1003
  * @type {string}
@@ -1202,11 +1017,11 @@ export interface SpotExecution {
1202
1017
  */
1203
1018
  fee: string;
1204
1019
  /**
1205
- * Type of execution
1206
- * @type {string}
1020
+ *
1021
+ * @type {ExecutionType}
1207
1022
  * @memberof SpotExecution
1208
1023
  */
1209
- type: SpotExecutionTypeEnum;
1024
+ type: ExecutionType;
1210
1025
  /**
1211
1026
  * Execution timestamp (milliseconds)
1212
1027
  * @type {number}
@@ -1214,120 +1029,35 @@ export interface SpotExecution {
1214
1029
  */
1215
1030
  timestamp: number;
1216
1031
  }
1217
- /**
1218
- * @export
1219
- */
1220
- export declare const SpotExecutionSideEnum: {
1221
- readonly B: "B";
1222
- readonly A: "A";
1223
- };
1224
- export type SpotExecutionSideEnum = typeof SpotExecutionSideEnum[keyof typeof SpotExecutionSideEnum];
1225
- /**
1226
- * @export
1227
- */
1228
- export declare const SpotExecutionTypeEnum: {
1229
- readonly ORDER_MATCH: "ORDER_MATCH";
1230
- readonly LIQUIDATION: "LIQUIDATION";
1231
- readonly ADL: "ADL";
1232
- };
1233
- export type SpotExecutionTypeEnum = typeof SpotExecutionTypeEnum[keyof typeof SpotExecutionTypeEnum];
1234
1032
  /**
1235
1033
  *
1236
1034
  * @export
1237
1035
  * @interface SpotExecutionList
1238
1036
  */
1239
1037
  export interface SpotExecutionList {
1038
+ [key: string]: any | any;
1240
1039
  /**
1241
1040
  *
1242
- * @type {Array<SpotExecutionListDataInner>}
1041
+ * @type {Array<SpotExecution>}
1243
1042
  * @memberof SpotExecutionList
1244
1043
  */
1245
- data: Array<SpotExecutionListDataInner>;
1044
+ data: Array<SpotExecution>;
1246
1045
  /**
1247
1046
  *
1248
- * @type {PerpExecutionListMeta}
1047
+ * @type {PaginationMeta}
1249
1048
  * @memberof SpotExecutionList
1250
1049
  */
1251
- meta: PerpExecutionListMeta;
1050
+ meta: PaginationMeta;
1252
1051
  }
1253
1052
  /**
1254
- *
1053
+ * Fee tier type (REGULAR = Standard tier, VIP = VIP tier)
1255
1054
  * @export
1256
- * @interface SpotExecutionListDataInner
1257
1055
  */
1258
- export interface SpotExecutionListDataInner {
1259
- /**
1260
- *
1261
- * @type {number}
1262
- * @memberof SpotExecutionListDataInner
1263
- */
1264
- exchangeId: number;
1265
- /**
1266
- *
1267
- * @type {string}
1268
- * @memberof SpotExecutionListDataInner
1269
- */
1270
- symbol: string;
1271
- /**
1272
- *
1273
- * @type {number}
1274
- * @memberof SpotExecutionListDataInner
1275
- */
1276
- accountId: number;
1277
- /**
1278
- * Order side (B = Buy/Bid, A = Ask/Sell)
1279
- * @type {string}
1280
- * @memberof SpotExecutionListDataInner
1281
- */
1282
- side: SpotExecutionListDataInnerSideEnum;
1283
- /**
1284
- *
1285
- * @type {string}
1286
- * @memberof SpotExecutionListDataInner
1287
- */
1288
- qty: string;
1289
- /**
1290
- *
1291
- * @type {string}
1292
- * @memberof SpotExecutionListDataInner
1293
- */
1294
- price?: string;
1295
- /**
1296
- *
1297
- * @type {string}
1298
- * @memberof SpotExecutionListDataInner
1299
- */
1300
- fee: string;
1301
- /**
1302
- * Type of execution
1303
- * @type {string}
1304
- * @memberof SpotExecutionListDataInner
1305
- */
1306
- type: SpotExecutionListDataInnerTypeEnum;
1307
- /**
1308
- * Execution timestamp (milliseconds)
1309
- * @type {number}
1310
- * @memberof SpotExecutionListDataInner
1311
- */
1312
- timestamp: number;
1313
- }
1314
- /**
1315
- * @export
1316
- */
1317
- export declare const SpotExecutionListDataInnerSideEnum: {
1318
- readonly B: "B";
1319
- readonly A: "A";
1320
- };
1321
- export type SpotExecutionListDataInnerSideEnum = typeof SpotExecutionListDataInnerSideEnum[keyof typeof SpotExecutionListDataInnerSideEnum];
1322
- /**
1323
- * @export
1324
- */
1325
- export declare const SpotExecutionListDataInnerTypeEnum: {
1326
- readonly ORDER_MATCH: "ORDER_MATCH";
1327
- readonly LIQUIDATION: "LIQUIDATION";
1328
- readonly ADL: "ADL";
1056
+ export declare const TierType: {
1057
+ readonly REGULAR: "REGULAR";
1058
+ readonly VIP: "VIP";
1329
1059
  };
1330
- export type SpotExecutionListDataInnerTypeEnum = typeof SpotExecutionListDataInnerTypeEnum[keyof typeof SpotExecutionListDataInnerTypeEnum];
1060
+ export type TierType = typeof TierType[keyof typeof TierType];
1331
1061
  /**
1332
1062
  * Order time in force (IOC = Immediate or Cancel, GTC = Good Till Cancel)
1333
1063
  * @export
@@ -1343,6 +1073,7 @@ export type TimeInForce = typeof TimeInForce[keyof typeof TimeInForce];
1343
1073
  * @interface WalletConfiguration
1344
1074
  */
1345
1075
  export interface WalletConfiguration {
1076
+ [key: string]: any | any;
1346
1077
  /**
1347
1078
  * Fee tier identifier
1348
1079
  * @type {number}