@merkl/api 0.16.46 → 0.17.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.
@@ -386,6 +386,7 @@ declare const eden: {
386
386
  };
387
387
  patch: (body: {
388
388
  name?: string | undefined;
389
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
389
390
  tags?: string[] | undefined;
390
391
  }, options: {
391
392
  headers: {
@@ -1222,8 +1223,17 @@ declare const eden: {
1222
1223
  query?: Record<string, unknown> | undefined;
1223
1224
  fetch?: RequestInit | undefined;
1224
1225
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1225
- [x: string]: any;
1226
- 200: any;
1226
+ 200: {
1227
+ name: string;
1228
+ url: string;
1229
+ description: string;
1230
+ id: string;
1231
+ tags: string[];
1232
+ icon: string;
1233
+ dailyRewards?: number | undefined;
1234
+ numberOfLiveCampaigns?: number | undefined;
1235
+ opportunityLiveTags?: string[] | undefined;
1236
+ } | null;
1227
1237
  }>>;
1228
1238
  patch: (body: {
1229
1239
  name?: string | undefined;
@@ -1237,8 +1247,14 @@ declare const eden: {
1237
1247
  query?: Record<string, unknown> | undefined;
1238
1248
  fetch?: RequestInit | undefined;
1239
1249
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1240
- [x: string]: any;
1241
- 200: any;
1250
+ 200: {
1251
+ name: string;
1252
+ url: string;
1253
+ description: string;
1254
+ id: string;
1255
+ tags: string[];
1256
+ icon: string;
1257
+ };
1242
1258
  }>>;
1243
1259
  }) & {
1244
1260
  index: {
@@ -1255,8 +1271,18 @@ declare const eden: {
1255
1271
  };
1256
1272
  fetch?: RequestInit | undefined;
1257
1273
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1258
- [x: string]: any;
1259
- 200: any;
1274
+ 200: ({
1275
+ name: string;
1276
+ url: string;
1277
+ description: string;
1278
+ id: string;
1279
+ tags: string[];
1280
+ icon: string;
1281
+ } & {
1282
+ dailyRewards?: number | undefined;
1283
+ numberOfLiveCampaigns?: number | undefined;
1284
+ opportunityLiveTags?: string[] | undefined;
1285
+ })[];
1260
1286
  }>>;
1261
1287
  post: (body: {
1262
1288
  name: string;
@@ -1272,8 +1298,14 @@ declare const eden: {
1272
1298
  query?: Record<string, unknown> | undefined;
1273
1299
  fetch?: RequestInit | undefined;
1274
1300
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1275
- [x: string]: any;
1276
- 200: any;
1301
+ 200: {
1302
+ name: string;
1303
+ url: string;
1304
+ description: string;
1305
+ id: string;
1306
+ tags: string[];
1307
+ icon: string;
1308
+ };
1277
1309
  }>>;
1278
1310
  };
1279
1311
  count: {
@@ -1282,8 +1314,7 @@ declare const eden: {
1282
1314
  query?: Record<string, unknown> | undefined;
1283
1315
  fetch?: RequestInit | undefined;
1284
1316
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1285
- [x: string]: any;
1286
- 200: any;
1317
+ 200: number;
1287
1318
  }>>;
1288
1319
  };
1289
1320
  };
@@ -3668,6 +3699,7 @@ declare const eden: {
3668
3699
  };
3669
3700
  patch: (body: {
3670
3701
  name?: string | undefined;
3702
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
3671
3703
  tags?: string[] | undefined;
3672
3704
  }, options: {
3673
3705
  headers: {
@@ -4504,8 +4536,17 @@ declare const eden: {
4504
4536
  query?: Record<string, unknown> | undefined;
4505
4537
  fetch?: RequestInit | undefined;
4506
4538
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4507
- [x: string]: any;
4508
- 200: any;
4539
+ 200: {
4540
+ name: string;
4541
+ url: string;
4542
+ description: string;
4543
+ id: string;
4544
+ tags: string[];
4545
+ icon: string;
4546
+ dailyRewards?: number | undefined;
4547
+ numberOfLiveCampaigns?: number | undefined;
4548
+ opportunityLiveTags?: string[] | undefined;
4549
+ } | null;
4509
4550
  }>>;
4510
4551
  patch: (body: {
4511
4552
  name?: string | undefined;
@@ -4519,8 +4560,14 @@ declare const eden: {
4519
4560
  query?: Record<string, unknown> | undefined;
4520
4561
  fetch?: RequestInit | undefined;
4521
4562
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4522
- [x: string]: any;
4523
- 200: any;
4563
+ 200: {
4564
+ name: string;
4565
+ url: string;
4566
+ description: string;
4567
+ id: string;
4568
+ tags: string[];
4569
+ icon: string;
4570
+ };
4524
4571
  }>>;
4525
4572
  }) & {
4526
4573
  index: {
@@ -4537,8 +4584,18 @@ declare const eden: {
4537
4584
  };
4538
4585
  fetch?: RequestInit | undefined;
4539
4586
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4540
- [x: string]: any;
4541
- 200: any;
4587
+ 200: ({
4588
+ name: string;
4589
+ url: string;
4590
+ description: string;
4591
+ id: string;
4592
+ tags: string[];
4593
+ icon: string;
4594
+ } & {
4595
+ dailyRewards?: number | undefined;
4596
+ numberOfLiveCampaigns?: number | undefined;
4597
+ opportunityLiveTags?: string[] | undefined;
4598
+ })[];
4542
4599
  }>>;
4543
4600
  post: (body: {
4544
4601
  name: string;
@@ -4554,8 +4611,14 @@ declare const eden: {
4554
4611
  query?: Record<string, unknown> | undefined;
4555
4612
  fetch?: RequestInit | undefined;
4556
4613
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4557
- [x: string]: any;
4558
- 200: any;
4614
+ 200: {
4615
+ name: string;
4616
+ url: string;
4617
+ description: string;
4618
+ id: string;
4619
+ tags: string[];
4620
+ icon: string;
4621
+ };
4559
4622
  }>>;
4560
4623
  };
4561
4624
  count: {
@@ -4564,8 +4627,7 @@ declare const eden: {
4564
4627
  query?: Record<string, unknown> | undefined;
4565
4628
  fetch?: RequestInit | undefined;
4566
4629
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4567
- [x: string]: any;
4568
- 200: any;
4630
+ 200: number;
4569
4631
  }>>;
4570
4632
  };
4571
4633
  };
@@ -8242,6 +8304,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8242
8304
  patch: {
8243
8305
  body: {
8244
8306
  name?: string | undefined;
8307
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
8245
8308
  tags?: string[] | undefined;
8246
8309
  };
8247
8310
  params: {
@@ -8642,8 +8705,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8642
8705
  };
8643
8706
  headers: unknown;
8644
8707
  response: {
8645
- [x: string]: any;
8646
- 200: any;
8708
+ 200: ({
8709
+ name: string;
8710
+ url: string;
8711
+ description: string;
8712
+ id: string;
8713
+ tags: string[];
8714
+ icon: string;
8715
+ } & {
8716
+ dailyRewards?: number | undefined;
8717
+ numberOfLiveCampaigns?: number | undefined;
8718
+ opportunityLiveTags?: string[] | undefined;
8719
+ })[];
8647
8720
  };
8648
8721
  };
8649
8722
  };
@@ -8657,8 +8730,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8657
8730
  query: unknown;
8658
8731
  headers: unknown;
8659
8732
  response: {
8660
- [x: string]: any;
8661
- 200: any;
8733
+ 200: number;
8662
8734
  };
8663
8735
  };
8664
8736
  };
@@ -8674,8 +8746,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8674
8746
  query: unknown;
8675
8747
  headers: unknown;
8676
8748
  response: {
8677
- [x: string]: any;
8678
- 200: any;
8749
+ 200: {
8750
+ name: string;
8751
+ url: string;
8752
+ description: string;
8753
+ id: string;
8754
+ tags: string[];
8755
+ icon: string;
8756
+ dailyRewards?: number | undefined;
8757
+ numberOfLiveCampaigns?: number | undefined;
8758
+ opportunityLiveTags?: string[] | undefined;
8759
+ } | null;
8679
8760
  };
8680
8761
  };
8681
8762
  };
@@ -8698,8 +8779,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8698
8779
  authorization: string;
8699
8780
  };
8700
8781
  response: {
8701
- [x: string]: any;
8702
- 200: any;
8782
+ 200: {
8783
+ name: string;
8784
+ url: string;
8785
+ description: string;
8786
+ id: string;
8787
+ tags: string[];
8788
+ icon: string;
8789
+ };
8703
8790
  };
8704
8791
  };
8705
8792
  };
@@ -8722,8 +8809,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8722
8809
  authorization: string;
8723
8810
  };
8724
8811
  response: {
8725
- [x: string]: any;
8726
- 200: any;
8812
+ 200: {
8813
+ name: string;
8814
+ url: string;
8815
+ description: string;
8816
+ id: string;
8817
+ tags: string[];
8818
+ icon: string;
8819
+ };
8727
8820
  };
8728
8821
  };
8729
8822
  };
@@ -12514,6 +12607,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12514
12607
  };
12515
12608
  patch: (body: {
12516
12609
  name?: string | undefined;
12610
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
12517
12611
  tags?: string[] | undefined;
12518
12612
  }, options: {
12519
12613
  headers: {
@@ -13350,8 +13444,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13350
13444
  query?: Record<string, unknown> | undefined;
13351
13445
  fetch?: RequestInit | undefined;
13352
13446
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13353
- [x: string]: any;
13354
- 200: any;
13447
+ 200: {
13448
+ name: string;
13449
+ url: string;
13450
+ description: string;
13451
+ id: string;
13452
+ tags: string[];
13453
+ icon: string;
13454
+ dailyRewards?: number | undefined;
13455
+ numberOfLiveCampaigns?: number | undefined;
13456
+ opportunityLiveTags?: string[] | undefined;
13457
+ } | null;
13355
13458
  }>>;
13356
13459
  patch: (body: {
13357
13460
  name?: string | undefined;
@@ -13365,8 +13468,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13365
13468
  query?: Record<string, unknown> | undefined;
13366
13469
  fetch?: RequestInit | undefined;
13367
13470
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13368
- [x: string]: any;
13369
- 200: any;
13471
+ 200: {
13472
+ name: string;
13473
+ url: string;
13474
+ description: string;
13475
+ id: string;
13476
+ tags: string[];
13477
+ icon: string;
13478
+ };
13370
13479
  }>>;
13371
13480
  }) & {
13372
13481
  index: {
@@ -13383,8 +13492,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13383
13492
  };
13384
13493
  fetch?: RequestInit | undefined;
13385
13494
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13386
- [x: string]: any;
13387
- 200: any;
13495
+ 200: ({
13496
+ name: string;
13497
+ url: string;
13498
+ description: string;
13499
+ id: string;
13500
+ tags: string[];
13501
+ icon: string;
13502
+ } & {
13503
+ dailyRewards?: number | undefined;
13504
+ numberOfLiveCampaigns?: number | undefined;
13505
+ opportunityLiveTags?: string[] | undefined;
13506
+ })[];
13388
13507
  }>>;
13389
13508
  post: (body: {
13390
13509
  name: string;
@@ -13400,8 +13519,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13400
13519
  query?: Record<string, unknown> | undefined;
13401
13520
  fetch?: RequestInit | undefined;
13402
13521
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13403
- [x: string]: any;
13404
- 200: any;
13522
+ 200: {
13523
+ name: string;
13524
+ url: string;
13525
+ description: string;
13526
+ id: string;
13527
+ tags: string[];
13528
+ icon: string;
13529
+ };
13405
13530
  }>>;
13406
13531
  };
13407
13532
  count: {
@@ -13410,8 +13535,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13410
13535
  query?: Record<string, unknown> | undefined;
13411
13536
  fetch?: RequestInit | undefined;
13412
13537
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13413
- [x: string]: any;
13414
- 200: any;
13538
+ 200: number;
13415
13539
  }>>;
13416
13540
  };
13417
13541
  };
@@ -15796,6 +15920,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15796
15920
  };
15797
15921
  patch: (body: {
15798
15922
  name?: string | undefined;
15923
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
15799
15924
  tags?: string[] | undefined;
15800
15925
  }, options: {
15801
15926
  headers: {
@@ -16632,8 +16757,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16632
16757
  query?: Record<string, unknown> | undefined;
16633
16758
  fetch?: RequestInit | undefined;
16634
16759
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16635
- [x: string]: any;
16636
- 200: any;
16760
+ 200: {
16761
+ name: string;
16762
+ url: string;
16763
+ description: string;
16764
+ id: string;
16765
+ tags: string[];
16766
+ icon: string;
16767
+ dailyRewards?: number | undefined;
16768
+ numberOfLiveCampaigns?: number | undefined;
16769
+ opportunityLiveTags?: string[] | undefined;
16770
+ } | null;
16637
16771
  }>>;
16638
16772
  patch: (body: {
16639
16773
  name?: string | undefined;
@@ -16647,8 +16781,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16647
16781
  query?: Record<string, unknown> | undefined;
16648
16782
  fetch?: RequestInit | undefined;
16649
16783
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16650
- [x: string]: any;
16651
- 200: any;
16784
+ 200: {
16785
+ name: string;
16786
+ url: string;
16787
+ description: string;
16788
+ id: string;
16789
+ tags: string[];
16790
+ icon: string;
16791
+ };
16652
16792
  }>>;
16653
16793
  }) & {
16654
16794
  index: {
@@ -16665,8 +16805,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16665
16805
  };
16666
16806
  fetch?: RequestInit | undefined;
16667
16807
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16668
- [x: string]: any;
16669
- 200: any;
16808
+ 200: ({
16809
+ name: string;
16810
+ url: string;
16811
+ description: string;
16812
+ id: string;
16813
+ tags: string[];
16814
+ icon: string;
16815
+ } & {
16816
+ dailyRewards?: number | undefined;
16817
+ numberOfLiveCampaigns?: number | undefined;
16818
+ opportunityLiveTags?: string[] | undefined;
16819
+ })[];
16670
16820
  }>>;
16671
16821
  post: (body: {
16672
16822
  name: string;
@@ -16682,8 +16832,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16682
16832
  query?: Record<string, unknown> | undefined;
16683
16833
  fetch?: RequestInit | undefined;
16684
16834
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16685
- [x: string]: any;
16686
- 200: any;
16835
+ 200: {
16836
+ name: string;
16837
+ url: string;
16838
+ description: string;
16839
+ id: string;
16840
+ tags: string[];
16841
+ icon: string;
16842
+ };
16687
16843
  }>>;
16688
16844
  };
16689
16845
  count: {
@@ -16692,8 +16848,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16692
16848
  query?: Record<string, unknown> | undefined;
16693
16849
  fetch?: RequestInit | undefined;
16694
16850
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16695
- [x: string]: any;
16696
- 200: any;
16851
+ 200: number;
16697
16852
  }>>;
16698
16853
  };
16699
16854
  };
@@ -1009,6 +1009,7 @@ declare const app: Elysia<"", false, {
1009
1009
  patch: {
1010
1010
  body: {
1011
1011
  name?: string | undefined;
1012
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
1012
1013
  tags?: string[] | undefined;
1013
1014
  };
1014
1015
  params: {
@@ -1409,8 +1410,18 @@ declare const app: Elysia<"", false, {
1409
1410
  };
1410
1411
  headers: unknown;
1411
1412
  response: {
1412
- [x: string]: any;
1413
- 200: any;
1413
+ 200: ({
1414
+ name: string;
1415
+ url: string;
1416
+ description: string;
1417
+ id: string;
1418
+ tags: string[];
1419
+ icon: string;
1420
+ } & {
1421
+ dailyRewards?: number | undefined;
1422
+ numberOfLiveCampaigns?: number | undefined;
1423
+ opportunityLiveTags?: string[] | undefined;
1424
+ })[];
1414
1425
  };
1415
1426
  };
1416
1427
  };
@@ -1424,8 +1435,7 @@ declare const app: Elysia<"", false, {
1424
1435
  query: unknown;
1425
1436
  headers: unknown;
1426
1437
  response: {
1427
- [x: string]: any;
1428
- 200: any;
1438
+ 200: number;
1429
1439
  };
1430
1440
  };
1431
1441
  };
@@ -1441,8 +1451,17 @@ declare const app: Elysia<"", false, {
1441
1451
  query: unknown;
1442
1452
  headers: unknown;
1443
1453
  response: {
1444
- [x: string]: any;
1445
- 200: any;
1454
+ 200: {
1455
+ name: string;
1456
+ url: string;
1457
+ description: string;
1458
+ id: string;
1459
+ tags: string[];
1460
+ icon: string;
1461
+ dailyRewards?: number | undefined;
1462
+ numberOfLiveCampaigns?: number | undefined;
1463
+ opportunityLiveTags?: string[] | undefined;
1464
+ } | null;
1446
1465
  };
1447
1466
  };
1448
1467
  };
@@ -1465,8 +1484,14 @@ declare const app: Elysia<"", false, {
1465
1484
  authorization: string;
1466
1485
  };
1467
1486
  response: {
1468
- [x: string]: any;
1469
- 200: any;
1487
+ 200: {
1488
+ name: string;
1489
+ url: string;
1490
+ description: string;
1491
+ id: string;
1492
+ tags: string[];
1493
+ icon: string;
1494
+ };
1470
1495
  };
1471
1496
  };
1472
1497
  };
@@ -1489,8 +1514,14 @@ declare const app: Elysia<"", false, {
1489
1514
  authorization: string;
1490
1515
  };
1491
1516
  response: {
1492
- [x: string]: any;
1493
- 200: any;
1517
+ 200: {
1518
+ name: string;
1519
+ url: string;
1520
+ description: string;
1521
+ id: string;
1522
+ tags: string[];
1523
+ icon: string;
1524
+ };
1494
1525
  };
1495
1526
  };
1496
1527
  };