@numen-crypto/contract 0.18.2 → 0.19.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.d.cts CHANGED
@@ -314,13 +314,13 @@ declare const WalletOverviewSchema: z.ZodObject<{
314
314
  }>;
315
315
  type WalletOverview = z.infer<typeof WalletOverviewSchema>;
316
316
 
317
- declare const TransactionTypeSchema: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>;
317
+ declare const TransactionTypeSchema: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT", "PREDICTION"]>;
318
318
  type TransactionType = z.infer<typeof TransactionTypeSchema>;
319
319
  declare const TransactionStatusSchema: z.ZodEnum<["PENDING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"]>;
320
320
  type TransactionStatus = z.infer<typeof TransactionStatusSchema>;
321
321
  declare const TransactionSchema: z.ZodObject<{
322
322
  id: z.ZodString;
323
- type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>;
323
+ type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT", "PREDICTION"]>;
324
324
  asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
325
325
  amount: z.ZodString;
326
326
  price: z.ZodNullable<z.ZodString>;
@@ -329,7 +329,7 @@ declare const TransactionSchema: z.ZodObject<{
329
329
  reference: z.ZodNullable<z.ZodString>;
330
330
  createdAt: z.ZodString;
331
331
  }, "strip", z.ZodTypeAny, {
332
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
332
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
333
333
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
334
334
  id: string;
335
335
  createdAt: string;
@@ -339,7 +339,7 @@ declare const TransactionSchema: z.ZodObject<{
339
339
  quoteAmount: string | null;
340
340
  reference: string | null;
341
341
  }, {
342
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
342
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
343
343
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
344
344
  id: string;
345
345
  createdAt: string;
@@ -1968,13 +1968,13 @@ declare namespace GetTransactionsCommand {
1968
1968
  page: z.ZodDefault<z.ZodNumber>;
1969
1969
  pageSize: z.ZodDefault<z.ZodNumber>;
1970
1970
  } & {
1971
- type: z.ZodOptional<z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>>;
1971
+ type: z.ZodOptional<z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT", "PREDICTION"]>>;
1972
1972
  }, "strip", z.ZodTypeAny, {
1973
1973
  page: number;
1974
1974
  pageSize: number;
1975
- type?: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | undefined;
1975
+ type?: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION" | undefined;
1976
1976
  }, {
1977
- type?: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | undefined;
1977
+ type?: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION" | undefined;
1978
1978
  page?: number | undefined;
1979
1979
  pageSize?: number | undefined;
1980
1980
  }>;
@@ -1982,7 +1982,7 @@ declare namespace GetTransactionsCommand {
1982
1982
  const ResponseSchema: z.ZodObject<{
1983
1983
  items: z.ZodArray<z.ZodObject<{
1984
1984
  id: z.ZodString;
1985
- type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT"]>;
1985
+ type: z.ZodEnum<["DEPOSIT", "WITHDRAWAL", "BUY", "SELL", "COMMISSION", "BONUS", "ADJUSTMENT", "PREDICTION"]>;
1986
1986
  asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
1987
1987
  amount: z.ZodString;
1988
1988
  price: z.ZodNullable<z.ZodString>;
@@ -1991,7 +1991,7 @@ declare namespace GetTransactionsCommand {
1991
1991
  reference: z.ZodNullable<z.ZodString>;
1992
1992
  createdAt: z.ZodString;
1993
1993
  }, "strip", z.ZodTypeAny, {
1994
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
1994
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
1995
1995
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
1996
1996
  id: string;
1997
1997
  createdAt: string;
@@ -2001,7 +2001,7 @@ declare namespace GetTransactionsCommand {
2001
2001
  quoteAmount: string | null;
2002
2002
  reference: string | null;
2003
2003
  }, {
2004
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
2004
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
2005
2005
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
2006
2006
  id: string;
2007
2007
  createdAt: string;
@@ -2018,7 +2018,7 @@ declare namespace GetTransactionsCommand {
2018
2018
  page: number;
2019
2019
  pageSize: number;
2020
2020
  items: {
2021
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
2021
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
2022
2022
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
2023
2023
  id: string;
2024
2024
  createdAt: string;
@@ -2033,7 +2033,7 @@ declare namespace GetTransactionsCommand {
2033
2033
  page: number;
2034
2034
  pageSize: number;
2035
2035
  items: {
2036
- type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT";
2036
+ type: "DEPOSIT" | "WITHDRAWAL" | "BUY" | "SELL" | "COMMISSION" | "BONUS" | "ADJUSTMENT" | "PREDICTION";
2037
2037
  status: "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED";
2038
2038
  id: string;
2039
2039
  createdAt: string;
@@ -6284,6 +6284,573 @@ declare namespace TicketAttachmentUploadCommand {
6284
6284
  type Response = z.infer<typeof ResponseSchema>;
6285
6285
  }
6286
6286
 
6287
+ declare const PredictionSideSchema: z.ZodEnum<["YES", "NO"]>;
6288
+ type PredictionSide = z.infer<typeof PredictionSideSchema>;
6289
+ declare const PredictionStatusSchema: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6290
+ type PredictionStatus = z.infer<typeof PredictionStatusSchema>;
6291
+ declare const PredictionSchema: z.ZodObject<{
6292
+ id: z.ZodString;
6293
+ slug: z.ZodString;
6294
+ title: z.ZodString;
6295
+ description: z.ZodNullable<z.ZodString>;
6296
+ category: z.ZodString;
6297
+ imageUrl: z.ZodNullable<z.ZodString>;
6298
+ status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6299
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6300
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6301
+ betsCloseAt: z.ZodString;
6302
+ resolvesAt: z.ZodString;
6303
+ poolYes: z.ZodString;
6304
+ poolNo: z.ZodString;
6305
+ poolTotal: z.ZodString;
6306
+ /** Share of the total pool sitting on YES, in basis points. */
6307
+ yesShareBp: z.ZodNumber;
6308
+ participants: z.ZodNumber;
6309
+ minStake: z.ZodNullable<z.ZodString>;
6310
+ maxStake: z.ZodNullable<z.ZodString>;
6311
+ feeBp: z.ZodNumber;
6312
+ }, "strip", z.ZodTypeAny, {
6313
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6314
+ id: string;
6315
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6316
+ imageUrl: string | null;
6317
+ title: string;
6318
+ category: string;
6319
+ slug: string;
6320
+ description: string | null;
6321
+ outcome: "YES" | "NO" | null;
6322
+ betsCloseAt: string;
6323
+ resolvesAt: string;
6324
+ poolYes: string;
6325
+ poolNo: string;
6326
+ poolTotal: string;
6327
+ yesShareBp: number;
6328
+ participants: number;
6329
+ minStake: string | null;
6330
+ maxStake: string | null;
6331
+ feeBp: number;
6332
+ }, {
6333
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6334
+ id: string;
6335
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6336
+ imageUrl: string | null;
6337
+ title: string;
6338
+ category: string;
6339
+ slug: string;
6340
+ description: string | null;
6341
+ outcome: "YES" | "NO" | null;
6342
+ betsCloseAt: string;
6343
+ resolvesAt: string;
6344
+ poolYes: string;
6345
+ poolNo: string;
6346
+ poolTotal: string;
6347
+ yesShareBp: number;
6348
+ participants: number;
6349
+ minStake: string | null;
6350
+ maxStake: string | null;
6351
+ feeBp: number;
6352
+ }>;
6353
+ type Prediction = z.infer<typeof PredictionSchema>;
6354
+ declare const PredictionPositionSchema: z.ZodObject<{
6355
+ side: z.ZodEnum<["YES", "NO"]>;
6356
+ staked: z.ZodString;
6357
+ /** What the position pays out right now if this side wins, stake included. */
6358
+ projectedPayout: z.ZodString;
6359
+ settled: z.ZodBoolean;
6360
+ payout: z.ZodNullable<z.ZodString>;
6361
+ }, "strip", z.ZodTypeAny, {
6362
+ side: "YES" | "NO";
6363
+ staked: string;
6364
+ projectedPayout: string;
6365
+ settled: boolean;
6366
+ payout: string | null;
6367
+ }, {
6368
+ side: "YES" | "NO";
6369
+ staked: string;
6370
+ projectedPayout: string;
6371
+ settled: boolean;
6372
+ payout: string | null;
6373
+ }>;
6374
+ type PredictionPosition = z.infer<typeof PredictionPositionSchema>;
6375
+ declare const PredictionDetailSchema: z.ZodObject<{
6376
+ id: z.ZodString;
6377
+ slug: z.ZodString;
6378
+ title: z.ZodString;
6379
+ description: z.ZodNullable<z.ZodString>;
6380
+ category: z.ZodString;
6381
+ imageUrl: z.ZodNullable<z.ZodString>;
6382
+ status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6383
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6384
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6385
+ betsCloseAt: z.ZodString;
6386
+ resolvesAt: z.ZodString;
6387
+ poolYes: z.ZodString;
6388
+ poolNo: z.ZodString;
6389
+ poolTotal: z.ZodString;
6390
+ /** Share of the total pool sitting on YES, in basis points. */
6391
+ yesShareBp: z.ZodNumber;
6392
+ participants: z.ZodNumber;
6393
+ minStake: z.ZodNullable<z.ZodString>;
6394
+ maxStake: z.ZodNullable<z.ZodString>;
6395
+ feeBp: z.ZodNumber;
6396
+ } & {
6397
+ position: z.ZodNullable<z.ZodObject<{
6398
+ side: z.ZodEnum<["YES", "NO"]>;
6399
+ staked: z.ZodString;
6400
+ /** What the position pays out right now if this side wins, stake included. */
6401
+ projectedPayout: z.ZodString;
6402
+ settled: z.ZodBoolean;
6403
+ payout: z.ZodNullable<z.ZodString>;
6404
+ }, "strip", z.ZodTypeAny, {
6405
+ side: "YES" | "NO";
6406
+ staked: string;
6407
+ projectedPayout: string;
6408
+ settled: boolean;
6409
+ payout: string | null;
6410
+ }, {
6411
+ side: "YES" | "NO";
6412
+ staked: string;
6413
+ projectedPayout: string;
6414
+ settled: boolean;
6415
+ payout: string | null;
6416
+ }>>;
6417
+ }, "strip", z.ZodTypeAny, {
6418
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6419
+ id: string;
6420
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6421
+ imageUrl: string | null;
6422
+ title: string;
6423
+ category: string;
6424
+ slug: string;
6425
+ description: string | null;
6426
+ outcome: "YES" | "NO" | null;
6427
+ betsCloseAt: string;
6428
+ resolvesAt: string;
6429
+ poolYes: string;
6430
+ poolNo: string;
6431
+ poolTotal: string;
6432
+ yesShareBp: number;
6433
+ participants: number;
6434
+ minStake: string | null;
6435
+ maxStake: string | null;
6436
+ feeBp: number;
6437
+ position: {
6438
+ side: "YES" | "NO";
6439
+ staked: string;
6440
+ projectedPayout: string;
6441
+ settled: boolean;
6442
+ payout: string | null;
6443
+ } | null;
6444
+ }, {
6445
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6446
+ id: string;
6447
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6448
+ imageUrl: string | null;
6449
+ title: string;
6450
+ category: string;
6451
+ slug: string;
6452
+ description: string | null;
6453
+ outcome: "YES" | "NO" | null;
6454
+ betsCloseAt: string;
6455
+ resolvesAt: string;
6456
+ poolYes: string;
6457
+ poolNo: string;
6458
+ poolTotal: string;
6459
+ yesShareBp: number;
6460
+ participants: number;
6461
+ minStake: string | null;
6462
+ maxStake: string | null;
6463
+ feeBp: number;
6464
+ position: {
6465
+ side: "YES" | "NO";
6466
+ staked: string;
6467
+ projectedPayout: string;
6468
+ settled: boolean;
6469
+ payout: string | null;
6470
+ } | null;
6471
+ }>;
6472
+ type PredictionDetail = z.infer<typeof PredictionDetailSchema>;
6473
+
6474
+ declare namespace ListPredictionsCommand {
6475
+ const endpointDetails: EndpointDetails;
6476
+ const QuerySchema: z.ZodObject<{
6477
+ status: z.ZodOptional<z.ZodEnum<["active", "resolved", "mine"]>>;
6478
+ }, "strip", z.ZodTypeAny, {
6479
+ status?: "active" | "resolved" | "mine" | undefined;
6480
+ }, {
6481
+ status?: "active" | "resolved" | "mine" | undefined;
6482
+ }>;
6483
+ type Query = z.infer<typeof QuerySchema>;
6484
+ const ResponseSchema: z.ZodObject<{
6485
+ items: z.ZodArray<z.ZodObject<{
6486
+ id: z.ZodString;
6487
+ slug: z.ZodString;
6488
+ title: z.ZodString;
6489
+ description: z.ZodNullable<z.ZodString>;
6490
+ category: z.ZodString;
6491
+ imageUrl: z.ZodNullable<z.ZodString>;
6492
+ status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6493
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6494
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6495
+ betsCloseAt: z.ZodString;
6496
+ resolvesAt: z.ZodString;
6497
+ poolYes: z.ZodString;
6498
+ poolNo: z.ZodString;
6499
+ poolTotal: z.ZodString;
6500
+ yesShareBp: z.ZodNumber;
6501
+ participants: z.ZodNumber;
6502
+ minStake: z.ZodNullable<z.ZodString>;
6503
+ maxStake: z.ZodNullable<z.ZodString>;
6504
+ feeBp: z.ZodNumber;
6505
+ } & {
6506
+ position: z.ZodNullable<z.ZodObject<{
6507
+ side: z.ZodEnum<["YES", "NO"]>;
6508
+ staked: z.ZodString;
6509
+ projectedPayout: z.ZodString;
6510
+ settled: z.ZodBoolean;
6511
+ payout: z.ZodNullable<z.ZodString>;
6512
+ }, "strip", z.ZodTypeAny, {
6513
+ side: "YES" | "NO";
6514
+ staked: string;
6515
+ projectedPayout: string;
6516
+ settled: boolean;
6517
+ payout: string | null;
6518
+ }, {
6519
+ side: "YES" | "NO";
6520
+ staked: string;
6521
+ projectedPayout: string;
6522
+ settled: boolean;
6523
+ payout: string | null;
6524
+ }>>;
6525
+ }, "strip", z.ZodTypeAny, {
6526
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6527
+ id: string;
6528
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6529
+ imageUrl: string | null;
6530
+ title: string;
6531
+ category: string;
6532
+ slug: string;
6533
+ description: string | null;
6534
+ outcome: "YES" | "NO" | null;
6535
+ betsCloseAt: string;
6536
+ resolvesAt: string;
6537
+ poolYes: string;
6538
+ poolNo: string;
6539
+ poolTotal: string;
6540
+ yesShareBp: number;
6541
+ participants: number;
6542
+ minStake: string | null;
6543
+ maxStake: string | null;
6544
+ feeBp: number;
6545
+ position: {
6546
+ side: "YES" | "NO";
6547
+ staked: string;
6548
+ projectedPayout: string;
6549
+ settled: boolean;
6550
+ payout: string | null;
6551
+ } | null;
6552
+ }, {
6553
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6554
+ id: string;
6555
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6556
+ imageUrl: string | null;
6557
+ title: string;
6558
+ category: string;
6559
+ slug: string;
6560
+ description: string | null;
6561
+ outcome: "YES" | "NO" | null;
6562
+ betsCloseAt: string;
6563
+ resolvesAt: string;
6564
+ poolYes: string;
6565
+ poolNo: string;
6566
+ poolTotal: string;
6567
+ yesShareBp: number;
6568
+ participants: number;
6569
+ minStake: string | null;
6570
+ maxStake: string | null;
6571
+ feeBp: number;
6572
+ position: {
6573
+ side: "YES" | "NO";
6574
+ staked: string;
6575
+ projectedPayout: string;
6576
+ settled: boolean;
6577
+ payout: string | null;
6578
+ } | null;
6579
+ }>, "many">;
6580
+ }, "strip", z.ZodTypeAny, {
6581
+ items: {
6582
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6583
+ id: string;
6584
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6585
+ imageUrl: string | null;
6586
+ title: string;
6587
+ category: string;
6588
+ slug: string;
6589
+ description: string | null;
6590
+ outcome: "YES" | "NO" | null;
6591
+ betsCloseAt: string;
6592
+ resolvesAt: string;
6593
+ poolYes: string;
6594
+ poolNo: string;
6595
+ poolTotal: string;
6596
+ yesShareBp: number;
6597
+ participants: number;
6598
+ minStake: string | null;
6599
+ maxStake: string | null;
6600
+ feeBp: number;
6601
+ position: {
6602
+ side: "YES" | "NO";
6603
+ staked: string;
6604
+ projectedPayout: string;
6605
+ settled: boolean;
6606
+ payout: string | null;
6607
+ } | null;
6608
+ }[];
6609
+ }, {
6610
+ items: {
6611
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6612
+ id: string;
6613
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6614
+ imageUrl: string | null;
6615
+ title: string;
6616
+ category: string;
6617
+ slug: string;
6618
+ description: string | null;
6619
+ outcome: "YES" | "NO" | null;
6620
+ betsCloseAt: string;
6621
+ resolvesAt: string;
6622
+ poolYes: string;
6623
+ poolNo: string;
6624
+ poolTotal: string;
6625
+ yesShareBp: number;
6626
+ participants: number;
6627
+ minStake: string | null;
6628
+ maxStake: string | null;
6629
+ feeBp: number;
6630
+ position: {
6631
+ side: "YES" | "NO";
6632
+ staked: string;
6633
+ projectedPayout: string;
6634
+ settled: boolean;
6635
+ payout: string | null;
6636
+ } | null;
6637
+ }[];
6638
+ }>;
6639
+ type Response = z.infer<typeof ResponseSchema>;
6640
+ }
6641
+ declare namespace GetPredictionCommand {
6642
+ const endpointDetails: EndpointDetails;
6643
+ const ResponseSchema: z.ZodObject<{
6644
+ id: z.ZodString;
6645
+ slug: z.ZodString;
6646
+ title: z.ZodString;
6647
+ description: z.ZodNullable<z.ZodString>;
6648
+ category: z.ZodString;
6649
+ imageUrl: z.ZodNullable<z.ZodString>;
6650
+ status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6651
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6652
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6653
+ betsCloseAt: z.ZodString;
6654
+ resolvesAt: z.ZodString;
6655
+ poolYes: z.ZodString;
6656
+ poolNo: z.ZodString;
6657
+ poolTotal: z.ZodString;
6658
+ yesShareBp: z.ZodNumber;
6659
+ participants: z.ZodNumber;
6660
+ minStake: z.ZodNullable<z.ZodString>;
6661
+ maxStake: z.ZodNullable<z.ZodString>;
6662
+ feeBp: z.ZodNumber;
6663
+ } & {
6664
+ position: z.ZodNullable<z.ZodObject<{
6665
+ side: z.ZodEnum<["YES", "NO"]>;
6666
+ staked: z.ZodString;
6667
+ projectedPayout: z.ZodString;
6668
+ settled: z.ZodBoolean;
6669
+ payout: z.ZodNullable<z.ZodString>;
6670
+ }, "strip", z.ZodTypeAny, {
6671
+ side: "YES" | "NO";
6672
+ staked: string;
6673
+ projectedPayout: string;
6674
+ settled: boolean;
6675
+ payout: string | null;
6676
+ }, {
6677
+ side: "YES" | "NO";
6678
+ staked: string;
6679
+ projectedPayout: string;
6680
+ settled: boolean;
6681
+ payout: string | null;
6682
+ }>>;
6683
+ }, "strip", z.ZodTypeAny, {
6684
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6685
+ id: string;
6686
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6687
+ imageUrl: string | null;
6688
+ title: string;
6689
+ category: string;
6690
+ slug: string;
6691
+ description: string | null;
6692
+ outcome: "YES" | "NO" | null;
6693
+ betsCloseAt: string;
6694
+ resolvesAt: string;
6695
+ poolYes: string;
6696
+ poolNo: string;
6697
+ poolTotal: string;
6698
+ yesShareBp: number;
6699
+ participants: number;
6700
+ minStake: string | null;
6701
+ maxStake: string | null;
6702
+ feeBp: number;
6703
+ position: {
6704
+ side: "YES" | "NO";
6705
+ staked: string;
6706
+ projectedPayout: string;
6707
+ settled: boolean;
6708
+ payout: string | null;
6709
+ } | null;
6710
+ }, {
6711
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6712
+ id: string;
6713
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6714
+ imageUrl: string | null;
6715
+ title: string;
6716
+ category: string;
6717
+ slug: string;
6718
+ description: string | null;
6719
+ outcome: "YES" | "NO" | null;
6720
+ betsCloseAt: string;
6721
+ resolvesAt: string;
6722
+ poolYes: string;
6723
+ poolNo: string;
6724
+ poolTotal: string;
6725
+ yesShareBp: number;
6726
+ participants: number;
6727
+ minStake: string | null;
6728
+ maxStake: string | null;
6729
+ feeBp: number;
6730
+ position: {
6731
+ side: "YES" | "NO";
6732
+ staked: string;
6733
+ projectedPayout: string;
6734
+ settled: boolean;
6735
+ payout: string | null;
6736
+ } | null;
6737
+ }>;
6738
+ type Response = z.infer<typeof ResponseSchema>;
6739
+ }
6740
+ declare namespace PlacePredictionBetCommand {
6741
+ const endpointDetails: EndpointDetails;
6742
+ const BodySchema: z.ZodObject<{
6743
+ side: z.ZodEnum<["YES", "NO"]>;
6744
+ amount: z.ZodString;
6745
+ idempotencyKey: z.ZodString;
6746
+ }, "strip", z.ZodTypeAny, {
6747
+ amount: string;
6748
+ side: "YES" | "NO";
6749
+ idempotencyKey: string;
6750
+ }, {
6751
+ amount: string;
6752
+ side: "YES" | "NO";
6753
+ idempotencyKey: string;
6754
+ }>;
6755
+ type Body = z.infer<typeof BodySchema>;
6756
+ const ResponseSchema: z.ZodObject<{
6757
+ id: z.ZodString;
6758
+ slug: z.ZodString;
6759
+ title: z.ZodString;
6760
+ description: z.ZodNullable<z.ZodString>;
6761
+ category: z.ZodString;
6762
+ imageUrl: z.ZodNullable<z.ZodString>;
6763
+ status: z.ZodEnum<["OPEN", "LOCKED", "RESOLVING", "RESOLVED", "VOID"]>;
6764
+ outcome: z.ZodNullable<z.ZodEnum<["YES", "NO"]>>;
6765
+ asset: z.ZodEnum<["NMN", "bNMN", "USDT", "BTC", "ETH", "BNB", "TRX", "SOL"]>;
6766
+ betsCloseAt: z.ZodString;
6767
+ resolvesAt: z.ZodString;
6768
+ poolYes: z.ZodString;
6769
+ poolNo: z.ZodString;
6770
+ poolTotal: z.ZodString;
6771
+ yesShareBp: z.ZodNumber;
6772
+ participants: z.ZodNumber;
6773
+ minStake: z.ZodNullable<z.ZodString>;
6774
+ maxStake: z.ZodNullable<z.ZodString>;
6775
+ feeBp: z.ZodNumber;
6776
+ } & {
6777
+ position: z.ZodNullable<z.ZodObject<{
6778
+ side: z.ZodEnum<["YES", "NO"]>;
6779
+ staked: z.ZodString;
6780
+ projectedPayout: z.ZodString;
6781
+ settled: z.ZodBoolean;
6782
+ payout: z.ZodNullable<z.ZodString>;
6783
+ }, "strip", z.ZodTypeAny, {
6784
+ side: "YES" | "NO";
6785
+ staked: string;
6786
+ projectedPayout: string;
6787
+ settled: boolean;
6788
+ payout: string | null;
6789
+ }, {
6790
+ side: "YES" | "NO";
6791
+ staked: string;
6792
+ projectedPayout: string;
6793
+ settled: boolean;
6794
+ payout: string | null;
6795
+ }>>;
6796
+ }, "strip", z.ZodTypeAny, {
6797
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6798
+ id: string;
6799
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6800
+ imageUrl: string | null;
6801
+ title: string;
6802
+ category: string;
6803
+ slug: string;
6804
+ description: string | null;
6805
+ outcome: "YES" | "NO" | null;
6806
+ betsCloseAt: string;
6807
+ resolvesAt: string;
6808
+ poolYes: string;
6809
+ poolNo: string;
6810
+ poolTotal: string;
6811
+ yesShareBp: number;
6812
+ participants: number;
6813
+ minStake: string | null;
6814
+ maxStake: string | null;
6815
+ feeBp: number;
6816
+ position: {
6817
+ side: "YES" | "NO";
6818
+ staked: string;
6819
+ projectedPayout: string;
6820
+ settled: boolean;
6821
+ payout: string | null;
6822
+ } | null;
6823
+ }, {
6824
+ status: "OPEN" | "LOCKED" | "RESOLVING" | "RESOLVED" | "VOID";
6825
+ id: string;
6826
+ asset: "NMN" | "bNMN" | "USDT" | "BTC" | "ETH" | "BNB" | "TRX" | "SOL";
6827
+ imageUrl: string | null;
6828
+ title: string;
6829
+ category: string;
6830
+ slug: string;
6831
+ description: string | null;
6832
+ outcome: "YES" | "NO" | null;
6833
+ betsCloseAt: string;
6834
+ resolvesAt: string;
6835
+ poolYes: string;
6836
+ poolNo: string;
6837
+ poolTotal: string;
6838
+ yesShareBp: number;
6839
+ participants: number;
6840
+ minStake: string | null;
6841
+ maxStake: string | null;
6842
+ feeBp: number;
6843
+ position: {
6844
+ side: "YES" | "NO";
6845
+ staked: string;
6846
+ projectedPayout: string;
6847
+ settled: boolean;
6848
+ payout: string | null;
6849
+ } | null;
6850
+ }>;
6851
+ type Response = z.infer<typeof ResponseSchema>;
6852
+ }
6853
+
6287
6854
  declare const REST_API: {
6288
6855
  readonly AUTH: {
6289
6856
  readonly REGISTER: "/auth/register";
@@ -6384,6 +6951,11 @@ declare const REST_API: {
6384
6951
  readonly REPLY: "/tickets/:id/messages";
6385
6952
  readonly ATTACHMENT_UPLOAD_URL: "/tickets/attachments/upload-url";
6386
6953
  };
6954
+ readonly PREDICTIONS: {
6955
+ readonly LIST: "/predictions";
6956
+ readonly GET: "/predictions/:slug";
6957
+ readonly BET: "/predictions/:slug/bet";
6958
+ };
6387
6959
  readonly SUPPORT_TICKETS: {
6388
6960
  readonly LIST: "/support/tickets";
6389
6961
  readonly STREAM: "/support/tickets/stream";
@@ -6396,4 +6968,4 @@ declare const REST_API: {
6396
6968
  declare const API_PREFIX = "/api";
6397
6969
  declare const API_VERSION = "v1";
6398
6970
 
6399
- 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, 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, 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, PositiveMoneyStringSchema, 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 };
6971
+ 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 };