@numen-crypto/contract 0.21.0 → 0.21.1

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.d.ts CHANGED
@@ -6492,19 +6492,548 @@ declare const PredictionDetailSchema: z.ZodObject<{
6492
6492
  } | null;
6493
6493
  }>;
6494
6494
  type PredictionDetail = z.infer<typeof PredictionDetailSchema>;
6495
+ /**
6496
+ * What the dashboard card shows right now: either a prediction taking bets, or the last
6497
+ * result plus the countdown to the next one going on air.
6498
+ */
6499
+ declare const PredictionSlotSchema: z.ZodObject<{
6500
+ live: z.ZodNullable<z.ZodObject<{
6501
+ id: z.ZodString;
6502
+ slug: z.ZodString;
6503
+ title: z.ZodString;
6504
+ description: z.ZodNullable<z.ZodString>;
6505
+ category: z.ZodString;
6506
+ imageUrl: z.ZodNullable<z.ZodString>;
6507
+ status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6508
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6509
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6510
+ /** Null while the prediction still waits in the queue — dates are stamped on air. */
6511
+ betsCloseAt: z.ZodNullable<z.ZodString>;
6512
+ resolvesAt: z.ZodNullable<z.ZodString>;
6513
+ openedAt: z.ZodNullable<z.ZodString>;
6514
+ poolYes: z.ZodString;
6515
+ poolNo: z.ZodString;
6516
+ poolTotal: z.ZodString;
6517
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6518
+ stakedYes: z.ZodString;
6519
+ stakedNo: z.ZodString;
6520
+ /** Share of the total pool sitting on YES, in basis points. */
6521
+ yesShareBp: z.ZodNumber;
6522
+ participants: z.ZodNumber;
6523
+ minStake: z.ZodNullable<z.ZodString>;
6524
+ maxStake: z.ZodNullable<z.ZodString>;
6525
+ feeBp: z.ZodNumber;
6526
+ } & {
6527
+ position: z.ZodNullable<z.ZodObject<{
6528
+ side: z.ZodEnum<["YES", "NO"]>;
6529
+ staked: z.ZodString;
6530
+ /** What the position pays out right now if this side wins, stake included. */
6531
+ projectedPayout: z.ZodString;
6532
+ settled: z.ZodBoolean;
6533
+ payout: z.ZodNullable<z.ZodString>;
6534
+ }, "strip", z.ZodTypeAny, {
6535
+ side: "YES" | "NO";
6536
+ staked: string;
6537
+ projectedPayout: string;
6538
+ settled: boolean;
6539
+ payout: string | null;
6540
+ }, {
6541
+ side: "YES" | "NO";
6542
+ staked: string;
6543
+ projectedPayout: string;
6544
+ settled: boolean;
6545
+ payout: string | null;
6546
+ }>>;
6547
+ }, "strip", z.ZodTypeAny, {
6548
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6549
+ id: string;
6550
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6551
+ imageUrl: string | null;
6552
+ title: string;
6553
+ category: string;
6554
+ slug: string;
6555
+ description: string | null;
6556
+ outcome: "YES" | "NO" | null;
6557
+ betsCloseAt: string | null;
6558
+ resolvesAt: string | null;
6559
+ openedAt: string | null;
6560
+ poolYes: string;
6561
+ poolNo: string;
6562
+ poolTotal: string;
6563
+ stakedYes: string;
6564
+ stakedNo: string;
6565
+ yesShareBp: number;
6566
+ participants: number;
6567
+ minStake: string | null;
6568
+ maxStake: string | null;
6569
+ feeBp: number;
6570
+ position: {
6571
+ side: "YES" | "NO";
6572
+ staked: string;
6573
+ projectedPayout: string;
6574
+ settled: boolean;
6575
+ payout: string | null;
6576
+ } | null;
6577
+ }, {
6578
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6579
+ id: string;
6580
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6581
+ imageUrl: string | null;
6582
+ title: string;
6583
+ category: string;
6584
+ slug: string;
6585
+ description: string | null;
6586
+ outcome: "YES" | "NO" | null;
6587
+ betsCloseAt: string | null;
6588
+ resolvesAt: string | null;
6589
+ openedAt: string | null;
6590
+ poolYes: string;
6591
+ poolNo: string;
6592
+ poolTotal: string;
6593
+ stakedYes: string;
6594
+ stakedNo: string;
6595
+ yesShareBp: number;
6596
+ participants: number;
6597
+ minStake: string | null;
6598
+ maxStake: string | null;
6599
+ feeBp: number;
6600
+ position: {
6601
+ side: "YES" | "NO";
6602
+ staked: string;
6603
+ projectedPayout: string;
6604
+ settled: boolean;
6605
+ payout: string | null;
6606
+ } | null;
6607
+ }>>;
6608
+ last: z.ZodNullable<z.ZodObject<{
6609
+ id: z.ZodString;
6610
+ slug: z.ZodString;
6611
+ title: z.ZodString;
6612
+ description: z.ZodNullable<z.ZodString>;
6613
+ category: z.ZodString;
6614
+ imageUrl: z.ZodNullable<z.ZodString>;
6615
+ status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6616
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6617
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6618
+ /** Null while the prediction still waits in the queue — dates are stamped on air. */
6619
+ betsCloseAt: z.ZodNullable<z.ZodString>;
6620
+ resolvesAt: z.ZodNullable<z.ZodString>;
6621
+ openedAt: z.ZodNullable<z.ZodString>;
6622
+ poolYes: z.ZodString;
6623
+ poolNo: z.ZodString;
6624
+ poolTotal: z.ZodString;
6625
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6626
+ stakedYes: z.ZodString;
6627
+ stakedNo: z.ZodString;
6628
+ /** Share of the total pool sitting on YES, in basis points. */
6629
+ yesShareBp: z.ZodNumber;
6630
+ participants: z.ZodNumber;
6631
+ minStake: z.ZodNullable<z.ZodString>;
6632
+ maxStake: z.ZodNullable<z.ZodString>;
6633
+ feeBp: z.ZodNumber;
6634
+ } & {
6635
+ position: z.ZodNullable<z.ZodObject<{
6636
+ side: z.ZodEnum<["YES", "NO"]>;
6637
+ staked: z.ZodString;
6638
+ /** What the position pays out right now if this side wins, stake included. */
6639
+ projectedPayout: z.ZodString;
6640
+ settled: z.ZodBoolean;
6641
+ payout: z.ZodNullable<z.ZodString>;
6642
+ }, "strip", z.ZodTypeAny, {
6643
+ side: "YES" | "NO";
6644
+ staked: string;
6645
+ projectedPayout: string;
6646
+ settled: boolean;
6647
+ payout: string | null;
6648
+ }, {
6649
+ side: "YES" | "NO";
6650
+ staked: string;
6651
+ projectedPayout: string;
6652
+ settled: boolean;
6653
+ payout: string | null;
6654
+ }>>;
6655
+ }, "strip", z.ZodTypeAny, {
6656
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6657
+ id: string;
6658
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6659
+ imageUrl: string | null;
6660
+ title: string;
6661
+ category: string;
6662
+ slug: string;
6663
+ description: string | null;
6664
+ outcome: "YES" | "NO" | null;
6665
+ betsCloseAt: string | null;
6666
+ resolvesAt: string | null;
6667
+ openedAt: string | null;
6668
+ poolYes: string;
6669
+ poolNo: string;
6670
+ poolTotal: string;
6671
+ stakedYes: string;
6672
+ stakedNo: string;
6673
+ yesShareBp: number;
6674
+ participants: number;
6675
+ minStake: string | null;
6676
+ maxStake: string | null;
6677
+ feeBp: number;
6678
+ position: {
6679
+ side: "YES" | "NO";
6680
+ staked: string;
6681
+ projectedPayout: string;
6682
+ settled: boolean;
6683
+ payout: string | null;
6684
+ } | null;
6685
+ }, {
6686
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6687
+ id: string;
6688
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6689
+ imageUrl: string | null;
6690
+ title: string;
6691
+ category: string;
6692
+ slug: string;
6693
+ description: string | null;
6694
+ outcome: "YES" | "NO" | null;
6695
+ betsCloseAt: string | null;
6696
+ resolvesAt: string | null;
6697
+ openedAt: string | null;
6698
+ poolYes: string;
6699
+ poolNo: string;
6700
+ poolTotal: string;
6701
+ stakedYes: string;
6702
+ stakedNo: string;
6703
+ yesShareBp: number;
6704
+ participants: number;
6705
+ minStake: string | null;
6706
+ maxStake: string | null;
6707
+ feeBp: number;
6708
+ position: {
6709
+ side: "YES" | "NO";
6710
+ staked: string;
6711
+ projectedPayout: string;
6712
+ settled: boolean;
6713
+ payout: string | null;
6714
+ } | null;
6715
+ }>>;
6716
+ nextOpensAt: z.ZodNullable<z.ZodString>;
6717
+ queued: z.ZodNumber;
6718
+ }, "strip", z.ZodTypeAny, {
6719
+ live: {
6720
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6721
+ id: string;
6722
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6723
+ imageUrl: string | null;
6724
+ title: string;
6725
+ category: string;
6726
+ slug: string;
6727
+ description: string | null;
6728
+ outcome: "YES" | "NO" | null;
6729
+ betsCloseAt: string | null;
6730
+ resolvesAt: string | null;
6731
+ openedAt: string | null;
6732
+ poolYes: string;
6733
+ poolNo: string;
6734
+ poolTotal: string;
6735
+ stakedYes: string;
6736
+ stakedNo: string;
6737
+ yesShareBp: number;
6738
+ participants: number;
6739
+ minStake: string | null;
6740
+ maxStake: string | null;
6741
+ feeBp: number;
6742
+ position: {
6743
+ side: "YES" | "NO";
6744
+ staked: string;
6745
+ projectedPayout: string;
6746
+ settled: boolean;
6747
+ payout: string | null;
6748
+ } | null;
6749
+ } | null;
6750
+ last: {
6751
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6752
+ id: string;
6753
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6754
+ imageUrl: string | null;
6755
+ title: string;
6756
+ category: string;
6757
+ slug: string;
6758
+ description: string | null;
6759
+ outcome: "YES" | "NO" | null;
6760
+ betsCloseAt: string | null;
6761
+ resolvesAt: string | null;
6762
+ openedAt: string | null;
6763
+ poolYes: string;
6764
+ poolNo: string;
6765
+ poolTotal: string;
6766
+ stakedYes: string;
6767
+ stakedNo: string;
6768
+ yesShareBp: number;
6769
+ participants: number;
6770
+ minStake: string | null;
6771
+ maxStake: string | null;
6772
+ feeBp: number;
6773
+ position: {
6774
+ side: "YES" | "NO";
6775
+ staked: string;
6776
+ projectedPayout: string;
6777
+ settled: boolean;
6778
+ payout: string | null;
6779
+ } | null;
6780
+ } | null;
6781
+ nextOpensAt: string | null;
6782
+ queued: number;
6783
+ }, {
6784
+ live: {
6785
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6786
+ id: string;
6787
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6788
+ imageUrl: string | null;
6789
+ title: string;
6790
+ category: string;
6791
+ slug: string;
6792
+ description: string | null;
6793
+ outcome: "YES" | "NO" | null;
6794
+ betsCloseAt: string | null;
6795
+ resolvesAt: string | null;
6796
+ openedAt: string | null;
6797
+ poolYes: string;
6798
+ poolNo: string;
6799
+ poolTotal: string;
6800
+ stakedYes: string;
6801
+ stakedNo: string;
6802
+ yesShareBp: number;
6803
+ participants: number;
6804
+ minStake: string | null;
6805
+ maxStake: string | null;
6806
+ feeBp: number;
6807
+ position: {
6808
+ side: "YES" | "NO";
6809
+ staked: string;
6810
+ projectedPayout: string;
6811
+ settled: boolean;
6812
+ payout: string | null;
6813
+ } | null;
6814
+ } | null;
6815
+ last: {
6816
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6817
+ id: string;
6818
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6819
+ imageUrl: string | null;
6820
+ title: string;
6821
+ category: string;
6822
+ slug: string;
6823
+ description: string | null;
6824
+ outcome: "YES" | "NO" | null;
6825
+ betsCloseAt: string | null;
6826
+ resolvesAt: string | null;
6827
+ openedAt: string | null;
6828
+ poolYes: string;
6829
+ poolNo: string;
6830
+ poolTotal: string;
6831
+ stakedYes: string;
6832
+ stakedNo: string;
6833
+ yesShareBp: number;
6834
+ participants: number;
6835
+ minStake: string | null;
6836
+ maxStake: string | null;
6837
+ feeBp: number;
6838
+ position: {
6839
+ side: "YES" | "NO";
6840
+ staked: string;
6841
+ projectedPayout: string;
6842
+ settled: boolean;
6843
+ payout: string | null;
6844
+ } | null;
6845
+ } | null;
6846
+ nextOpensAt: string | null;
6847
+ queued: number;
6848
+ }>;
6849
+ type PredictionSlot = z.infer<typeof PredictionSlotSchema>;
6495
6850
 
6496
6851
  declare namespace ListPredictionsCommand {
6497
6852
  const endpointDetails: EndpointDetails;
6498
6853
  const QuerySchema: z.ZodObject<{
6499
6854
  status: z.ZodOptional<z.ZodEnum<["active", "resolved", "mine"]>>;
6500
6855
  }, "strip", z.ZodTypeAny, {
6501
- status?: "active" | "resolved" | "mine" | undefined;
6856
+ status?: "active" | "resolved" | "mine" | undefined;
6857
+ }, {
6858
+ status?: "active" | "resolved" | "mine" | undefined;
6859
+ }>;
6860
+ type Query = z.infer<typeof QuerySchema>;
6861
+ const ResponseSchema: z.ZodObject<{
6862
+ items: z.ZodArray<z.ZodObject<{
6863
+ id: z.ZodString;
6864
+ slug: z.ZodString;
6865
+ title: z.ZodString;
6866
+ description: z.ZodNullable<z.ZodString>;
6867
+ category: z.ZodString;
6868
+ imageUrl: z.ZodNullable<z.ZodString>;
6869
+ status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6870
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6871
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6872
+ betsCloseAt: z.ZodNullable<z.ZodString>;
6873
+ resolvesAt: z.ZodNullable<z.ZodString>;
6874
+ openedAt: z.ZodNullable<z.ZodString>;
6875
+ poolYes: z.ZodString;
6876
+ poolNo: z.ZodString;
6877
+ poolTotal: z.ZodString;
6878
+ stakedYes: z.ZodString;
6879
+ stakedNo: z.ZodString;
6880
+ yesShareBp: z.ZodNumber;
6881
+ participants: z.ZodNumber;
6882
+ minStake: z.ZodNullable<z.ZodString>;
6883
+ maxStake: z.ZodNullable<z.ZodString>;
6884
+ feeBp: z.ZodNumber;
6885
+ } & {
6886
+ position: z.ZodNullable<z.ZodObject<{
6887
+ side: z.ZodEnum<["YES", "NO"]>;
6888
+ staked: z.ZodString;
6889
+ projectedPayout: z.ZodString;
6890
+ settled: z.ZodBoolean;
6891
+ payout: z.ZodNullable<z.ZodString>;
6892
+ }, "strip", z.ZodTypeAny, {
6893
+ side: "YES" | "NO";
6894
+ staked: string;
6895
+ projectedPayout: string;
6896
+ settled: boolean;
6897
+ payout: string | null;
6898
+ }, {
6899
+ side: "YES" | "NO";
6900
+ staked: string;
6901
+ projectedPayout: string;
6902
+ settled: boolean;
6903
+ payout: string | null;
6904
+ }>>;
6905
+ }, "strip", z.ZodTypeAny, {
6906
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6907
+ id: string;
6908
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6909
+ imageUrl: string | null;
6910
+ title: string;
6911
+ category: string;
6912
+ slug: string;
6913
+ description: string | null;
6914
+ outcome: "YES" | "NO" | null;
6915
+ betsCloseAt: string | null;
6916
+ resolvesAt: string | null;
6917
+ openedAt: string | null;
6918
+ poolYes: string;
6919
+ poolNo: string;
6920
+ poolTotal: string;
6921
+ stakedYes: string;
6922
+ stakedNo: string;
6923
+ yesShareBp: number;
6924
+ participants: number;
6925
+ minStake: string | null;
6926
+ maxStake: string | null;
6927
+ feeBp: number;
6928
+ position: {
6929
+ side: "YES" | "NO";
6930
+ staked: string;
6931
+ projectedPayout: string;
6932
+ settled: boolean;
6933
+ payout: string | null;
6934
+ } | null;
6935
+ }, {
6936
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6937
+ id: string;
6938
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6939
+ imageUrl: string | null;
6940
+ title: string;
6941
+ category: string;
6942
+ slug: string;
6943
+ description: string | null;
6944
+ outcome: "YES" | "NO" | null;
6945
+ betsCloseAt: string | null;
6946
+ resolvesAt: string | null;
6947
+ openedAt: string | null;
6948
+ poolYes: string;
6949
+ poolNo: string;
6950
+ poolTotal: string;
6951
+ stakedYes: string;
6952
+ stakedNo: string;
6953
+ yesShareBp: number;
6954
+ participants: number;
6955
+ minStake: string | null;
6956
+ maxStake: string | null;
6957
+ feeBp: number;
6958
+ position: {
6959
+ side: "YES" | "NO";
6960
+ staked: string;
6961
+ projectedPayout: string;
6962
+ settled: boolean;
6963
+ payout: string | null;
6964
+ } | null;
6965
+ }>, "many">;
6966
+ }, "strip", z.ZodTypeAny, {
6967
+ items: {
6968
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6969
+ id: string;
6970
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6971
+ imageUrl: string | null;
6972
+ title: string;
6973
+ category: string;
6974
+ slug: string;
6975
+ description: string | null;
6976
+ outcome: "YES" | "NO" | null;
6977
+ betsCloseAt: string | null;
6978
+ resolvesAt: string | null;
6979
+ openedAt: string | null;
6980
+ poolYes: string;
6981
+ poolNo: string;
6982
+ poolTotal: string;
6983
+ stakedYes: string;
6984
+ stakedNo: string;
6985
+ yesShareBp: number;
6986
+ participants: number;
6987
+ minStake: string | null;
6988
+ maxStake: string | null;
6989
+ feeBp: number;
6990
+ position: {
6991
+ side: "YES" | "NO";
6992
+ staked: string;
6993
+ projectedPayout: string;
6994
+ settled: boolean;
6995
+ payout: string | null;
6996
+ } | null;
6997
+ }[];
6502
6998
  }, {
6503
- status?: "active" | "resolved" | "mine" | undefined;
6999
+ items: {
7000
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
7001
+ id: string;
7002
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
7003
+ imageUrl: string | null;
7004
+ title: string;
7005
+ category: string;
7006
+ slug: string;
7007
+ description: string | null;
7008
+ outcome: "YES" | "NO" | null;
7009
+ betsCloseAt: string | null;
7010
+ resolvesAt: string | null;
7011
+ openedAt: string | null;
7012
+ poolYes: string;
7013
+ poolNo: string;
7014
+ poolTotal: string;
7015
+ stakedYes: string;
7016
+ stakedNo: string;
7017
+ yesShareBp: number;
7018
+ participants: number;
7019
+ minStake: string | null;
7020
+ maxStake: string | null;
7021
+ feeBp: number;
7022
+ position: {
7023
+ side: "YES" | "NO";
7024
+ staked: string;
7025
+ projectedPayout: string;
7026
+ settled: boolean;
7027
+ payout: string | null;
7028
+ } | null;
7029
+ }[];
6504
7030
  }>;
6505
- type Query = z.infer<typeof QuerySchema>;
7031
+ type Response = z.infer<typeof ResponseSchema>;
7032
+ }
7033
+ declare namespace GetPredictionSlotCommand {
7034
+ const endpointDetails: EndpointDetails;
6506
7035
  const ResponseSchema: z.ZodObject<{
6507
- items: z.ZodArray<z.ZodObject<{
7036
+ live: z.ZodNullable<z.ZodObject<{
6508
7037
  id: z.ZodString;
6509
7038
  slug: z.ZodString;
6510
7039
  title: z.ZodString;
@@ -6607,9 +7136,115 @@ declare namespace ListPredictionsCommand {
6607
7136
  settled: boolean;
6608
7137
  payout: string | null;
6609
7138
  } | null;
6610
- }>, "many">;
7139
+ }>>;
7140
+ last: z.ZodNullable<z.ZodObject<{
7141
+ id: z.ZodString;
7142
+ slug: z.ZodString;
7143
+ title: z.ZodString;
7144
+ description: z.ZodNullable<z.ZodString>;
7145
+ category: z.ZodString;
7146
+ imageUrl: z.ZodNullable<z.ZodString>;
7147
+ status: z.ZodEnum<["QUEUED", "OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
7148
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
7149
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
7150
+ betsCloseAt: z.ZodNullable<z.ZodString>;
7151
+ resolvesAt: z.ZodNullable<z.ZodString>;
7152
+ openedAt: z.ZodNullable<z.ZodString>;
7153
+ poolYes: z.ZodString;
7154
+ poolNo: z.ZodString;
7155
+ poolTotal: z.ZodString;
7156
+ stakedYes: z.ZodString;
7157
+ stakedNo: z.ZodString;
7158
+ yesShareBp: z.ZodNumber;
7159
+ participants: z.ZodNumber;
7160
+ minStake: z.ZodNullable<z.ZodString>;
7161
+ maxStake: z.ZodNullable<z.ZodString>;
7162
+ feeBp: z.ZodNumber;
7163
+ } & {
7164
+ position: z.ZodNullable<z.ZodObject<{
7165
+ side: z.ZodEnum<["YES", "NO"]>;
7166
+ staked: z.ZodString;
7167
+ projectedPayout: z.ZodString;
7168
+ settled: z.ZodBoolean;
7169
+ payout: z.ZodNullable<z.ZodString>;
7170
+ }, "strip", z.ZodTypeAny, {
7171
+ side: "YES" | "NO";
7172
+ staked: string;
7173
+ projectedPayout: string;
7174
+ settled: boolean;
7175
+ payout: string | null;
7176
+ }, {
7177
+ side: "YES" | "NO";
7178
+ staked: string;
7179
+ projectedPayout: string;
7180
+ settled: boolean;
7181
+ payout: string | null;
7182
+ }>>;
7183
+ }, "strip", z.ZodTypeAny, {
7184
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
7185
+ id: string;
7186
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
7187
+ imageUrl: string | null;
7188
+ title: string;
7189
+ category: string;
7190
+ slug: string;
7191
+ description: string | null;
7192
+ outcome: "YES" | "NO" | null;
7193
+ betsCloseAt: string | null;
7194
+ resolvesAt: string | null;
7195
+ openedAt: string | null;
7196
+ poolYes: string;
7197
+ poolNo: string;
7198
+ poolTotal: string;
7199
+ stakedYes: string;
7200
+ stakedNo: string;
7201
+ yesShareBp: number;
7202
+ participants: number;
7203
+ minStake: string | null;
7204
+ maxStake: string | null;
7205
+ feeBp: number;
7206
+ position: {
7207
+ side: "YES" | "NO";
7208
+ staked: string;
7209
+ projectedPayout: string;
7210
+ settled: boolean;
7211
+ payout: string | null;
7212
+ } | null;
7213
+ }, {
7214
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
7215
+ id: string;
7216
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
7217
+ imageUrl: string | null;
7218
+ title: string;
7219
+ category: string;
7220
+ slug: string;
7221
+ description: string | null;
7222
+ outcome: "YES" | "NO" | null;
7223
+ betsCloseAt: string | null;
7224
+ resolvesAt: string | null;
7225
+ openedAt: string | null;
7226
+ poolYes: string;
7227
+ poolNo: string;
7228
+ poolTotal: string;
7229
+ stakedYes: string;
7230
+ stakedNo: string;
7231
+ yesShareBp: number;
7232
+ participants: number;
7233
+ minStake: string | null;
7234
+ maxStake: string | null;
7235
+ feeBp: number;
7236
+ position: {
7237
+ side: "YES" | "NO";
7238
+ staked: string;
7239
+ projectedPayout: string;
7240
+ settled: boolean;
7241
+ payout: string | null;
7242
+ } | null;
7243
+ }>>;
7244
+ nextOpensAt: z.ZodNullable<z.ZodString>;
7245
+ queued: z.ZodNumber;
6611
7246
  }, "strip", z.ZodTypeAny, {
6612
- items: {
7247
+ live: {
6613
7248
  status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6614
7249
  id: string;
6615
7250
  asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
@@ -6639,9 +7274,42 @@ declare namespace ListPredictionsCommand {
6639
7274
  settled: boolean;
6640
7275
  payout: string | null;
6641
7276
  } | null;
6642
- }[];
7277
+ } | null;
7278
+ last: {
7279
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
7280
+ id: string;
7281
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
7282
+ imageUrl: string | null;
7283
+ title: string;
7284
+ category: string;
7285
+ slug: string;
7286
+ description: string | null;
7287
+ outcome: "YES" | "NO" | null;
7288
+ betsCloseAt: string | null;
7289
+ resolvesAt: string | null;
7290
+ openedAt: string | null;
7291
+ poolYes: string;
7292
+ poolNo: string;
7293
+ poolTotal: string;
7294
+ stakedYes: string;
7295
+ stakedNo: string;
7296
+ yesShareBp: number;
7297
+ participants: number;
7298
+ minStake: string | null;
7299
+ maxStake: string | null;
7300
+ feeBp: number;
7301
+ position: {
7302
+ side: "YES" | "NO";
7303
+ staked: string;
7304
+ projectedPayout: string;
7305
+ settled: boolean;
7306
+ payout: string | null;
7307
+ } | null;
7308
+ } | null;
7309
+ nextOpensAt: string | null;
7310
+ queued: number;
6643
7311
  }, {
6644
- items: {
7312
+ live: {
6645
7313
  status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6646
7314
  id: string;
6647
7315
  asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
@@ -6671,7 +7339,40 @@ declare namespace ListPredictionsCommand {
6671
7339
  settled: boolean;
6672
7340
  payout: string | null;
6673
7341
  } | null;
6674
- }[];
7342
+ } | null;
7343
+ last: {
7344
+ status: "QUEUED" | "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
7345
+ id: string;
7346
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
7347
+ imageUrl: string | null;
7348
+ title: string;
7349
+ category: string;
7350
+ slug: string;
7351
+ description: string | null;
7352
+ outcome: "YES" | "NO" | null;
7353
+ betsCloseAt: string | null;
7354
+ resolvesAt: string | null;
7355
+ openedAt: string | null;
7356
+ poolYes: string;
7357
+ poolNo: string;
7358
+ poolTotal: string;
7359
+ stakedYes: string;
7360
+ stakedNo: string;
7361
+ yesShareBp: number;
7362
+ participants: number;
7363
+ minStake: string | null;
7364
+ maxStake: string | null;
7365
+ feeBp: number;
7366
+ position: {
7367
+ side: "YES" | "NO";
7368
+ staked: string;
7369
+ projectedPayout: string;
7370
+ settled: boolean;
7371
+ payout: string | null;
7372
+ } | null;
7373
+ } | null;
7374
+ nextOpensAt: string | null;
7375
+ queued: number;
6675
7376
  }>;
6676
7377
  type Response = z.infer<typeof ResponseSchema>;
6677
7378
  }
@@ -7024,4 +7725,4 @@ declare const REST_API: {
7024
7725
  declare const API_PREFIX = "/api";
7025
7726
  declare const API_VERSION = "v1";
7026
7727
 
7027
- export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BONUS_ASSET, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTicketCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetPredictionCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetSupportTicketCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, 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, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListPredictionsCommand, ListSupportTicketsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PlacePredictionBetCommand, PositiveMoneyStringSchema, type Prediction, type PredictionDetail, PredictionDetailSchema, type PredictionPosition, PredictionPositionSchema, PredictionSchema, type PredictionSide, PredictionSideSchema, type PredictionStatus, PredictionStatusSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, ResolveTicketCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SupportReplyTicketCommand, type SupportTicketDetail, SupportTicketDetailSchema, type SupportTicketScope, SupportTicketScopeSchema, type SupportTicketSummary, SupportTicketSummarySchema, type SupportTicketUser, SupportTicketUserSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TelegramLinkCodeCommand, type ThreatLevel, ThreatLevelSchema, 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 TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserRole, UserRoleSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };
7728
+ export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BONUS_ASSET, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTicketCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetPredictionCommand, GetPredictionSlotCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetSupportTicketCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, 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, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListPredictionsCommand, ListSupportTicketsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PlacePredictionBetCommand, PositiveMoneyStringSchema, type Prediction, type PredictionDetail, PredictionDetailSchema, type PredictionPosition, PredictionPositionSchema, PredictionSchema, type PredictionSide, PredictionSideSchema, type PredictionSlot, PredictionSlotSchema, type PredictionStatus, PredictionStatusSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, ResolveTicketCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SupportReplyTicketCommand, type SupportTicketDetail, SupportTicketDetailSchema, type SupportTicketScope, SupportTicketScopeSchema, type SupportTicketSummary, SupportTicketSummarySchema, type SupportTicketUser, SupportTicketUserSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, TelegramLinkCodeCommand, type ThreatLevel, ThreatLevelSchema, 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 TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserRole, UserRoleSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };