@merkl/api 0.10.101 → 0.10.103

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-c5cd36b1d8d445ad8eccb0fb8e8a827522bd513872a7dc9be14f1c1df5c7bce5",
2
+ "name": "prisma-client-173a785de31f1664ac1af8caf27d418af77779d75d0f57026fb4344ed9a65eb5",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -10,7 +10,6 @@ datasource db {
10
10
  url = env("DATABASE_API_URL")
11
11
  }
12
12
 
13
- // @TODO Identifier is a poor naming, it should be campaignId
14
13
  model Campaign {
15
14
  id String @id
16
15
  ComputeChain Chain @relation("compute", fields: [computeChainId], references: [id])
@@ -355,10 +355,12 @@ declare const eden: {
355
355
  chainId?: number | undefined;
356
356
  startTimestamp?: string | undefined;
357
357
  endTimestamp?: string | undefined;
358
+ tokenAddress?: string | undefined;
358
359
  page?: number | undefined;
359
360
  mainParameter?: string | undefined;
360
361
  campaignId?: string | undefined;
361
362
  opportunityId?: string | undefined;
363
+ tokenSymbol?: string | undefined;
362
364
  };
363
365
  fetch?: RequestInit | undefined;
364
366
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -410,10 +412,12 @@ declare const eden: {
410
412
  chainId?: number | undefined;
411
413
  startTimestamp?: string | undefined;
412
414
  endTimestamp?: string | undefined;
415
+ tokenAddress?: string | undefined;
413
416
  page?: number | undefined;
414
417
  mainParameter?: string | undefined;
415
418
  campaignId?: string | undefined;
416
419
  opportunityId?: string | undefined;
420
+ tokenSymbol?: string | undefined;
417
421
  };
418
422
  fetch?: RequestInit | undefined;
419
423
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -2008,10 +2012,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2008
2012
  chainId?: number | undefined;
2009
2013
  startTimestamp?: string | undefined;
2010
2014
  endTimestamp?: string | undefined;
2015
+ tokenAddress?: string | undefined;
2011
2016
  page?: number | undefined;
2012
2017
  mainParameter?: string | undefined;
2013
2018
  campaignId?: string | undefined;
2014
2019
  opportunityId?: string | undefined;
2020
+ tokenSymbol?: string | undefined;
2015
2021
  };
2016
2022
  headers: unknown;
2017
2023
  response: {
@@ -2068,10 +2074,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2068
2074
  chainId?: number | undefined;
2069
2075
  startTimestamp?: string | undefined;
2070
2076
  endTimestamp?: string | undefined;
2077
+ tokenAddress?: string | undefined;
2071
2078
  page?: number | undefined;
2072
2079
  mainParameter?: string | undefined;
2073
2080
  campaignId?: string | undefined;
2074
2081
  opportunityId?: string | undefined;
2082
+ tokenSymbol?: string | undefined;
2075
2083
  };
2076
2084
  headers: unknown;
2077
2085
  response: {
@@ -3931,10 +3939,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3931
3939
  chainId?: number | undefined;
3932
3940
  startTimestamp?: string | undefined;
3933
3941
  endTimestamp?: string | undefined;
3942
+ tokenAddress?: string | undefined;
3934
3943
  page?: number | undefined;
3935
3944
  mainParameter?: string | undefined;
3936
3945
  campaignId?: string | undefined;
3937
3946
  opportunityId?: string | undefined;
3947
+ tokenSymbol?: string | undefined;
3938
3948
  };
3939
3949
  fetch?: RequestInit | undefined;
3940
3950
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -3986,10 +3996,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3986
3996
  chainId?: number | undefined;
3987
3997
  startTimestamp?: string | undefined;
3988
3998
  endTimestamp?: string | undefined;
3999
+ tokenAddress?: string | undefined;
3989
4000
  page?: number | undefined;
3990
4001
  mainParameter?: string | undefined;
3991
4002
  campaignId?: string | undefined;
3992
4003
  opportunityId?: string | undefined;
4004
+ tokenSymbol?: string | undefined;
3993
4005
  };
3994
4006
  fetch?: RequestInit | undefined;
3995
4007
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -421,10 +421,12 @@ declare const app: Elysia<"", false, {
421
421
  chainId?: number | undefined;
422
422
  startTimestamp?: string | undefined;
423
423
  endTimestamp?: string | undefined;
424
+ tokenAddress?: string | undefined;
424
425
  page?: number | undefined;
425
426
  mainParameter?: string | undefined;
426
427
  campaignId?: string | undefined;
427
428
  opportunityId?: string | undefined;
429
+ tokenSymbol?: string | undefined;
428
430
  };
429
431
  headers: unknown;
430
432
  response: {
@@ -481,10 +483,12 @@ declare const app: Elysia<"", false, {
481
483
  chainId?: number | undefined;
482
484
  startTimestamp?: string | undefined;
483
485
  endTimestamp?: string | undefined;
486
+ tokenAddress?: string | undefined;
484
487
  page?: number | undefined;
485
488
  mainParameter?: string | undefined;
486
489
  campaignId?: string | undefined;
487
490
  opportunityId?: string | undefined;
491
+ tokenSymbol?: string | undefined;
488
492
  };
489
493
  headers: unknown;
490
494
  response: {
@@ -67,10 +67,12 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
67
67
  chainId?: number | undefined;
68
68
  startTimestamp?: string | undefined;
69
69
  endTimestamp?: string | undefined;
70
+ tokenAddress?: string | undefined;
70
71
  page?: number | undefined;
71
72
  mainParameter?: string | undefined;
72
73
  campaignId?: string | undefined;
73
74
  opportunityId?: string | undefined;
75
+ tokenSymbol?: string | undefined;
74
76
  };
75
77
  headers: unknown;
76
78
  response: {
@@ -127,10 +129,12 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
127
129
  chainId?: number | undefined;
128
130
  startTimestamp?: string | undefined;
129
131
  endTimestamp?: string | undefined;
132
+ tokenAddress?: string | undefined;
130
133
  page?: number | undefined;
131
134
  mainParameter?: string | undefined;
132
135
  campaignId?: string | undefined;
133
136
  opportunityId?: string | undefined;
137
+ tokenSymbol?: string | undefined;
134
138
  };
135
139
  headers: unknown;
136
140
  response: {
@@ -73,6 +73,8 @@ export declare const GetCampaignQueryDto: import("@sinclair/typebox").TObject<{
73
73
  subType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
74
74
  campaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
75
75
  mainParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
76
+ tokenSymbol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
77
+ tokenAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
76
78
  opportunityId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
77
79
  startTimestamp: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
78
80
  endTimestamp: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -403,10 +403,12 @@ export declare const v4: Elysia<"/v4", false, {
403
403
  chainId?: number | undefined;
404
404
  startTimestamp?: string | undefined;
405
405
  endTimestamp?: string | undefined;
406
+ tokenAddress?: string | undefined;
406
407
  page?: number | undefined;
407
408
  mainParameter?: string | undefined;
408
409
  campaignId?: string | undefined;
409
410
  opportunityId?: string | undefined;
411
+ tokenSymbol?: string | undefined;
410
412
  };
411
413
  headers: unknown;
412
414
  response: {
@@ -463,10 +465,12 @@ export declare const v4: Elysia<"/v4", false, {
463
465
  chainId?: number | undefined;
464
466
  startTimestamp?: string | undefined;
465
467
  endTimestamp?: string | undefined;
468
+ tokenAddress?: string | undefined;
466
469
  page?: number | undefined;
467
470
  mainParameter?: string | undefined;
468
471
  campaignId?: string | undefined;
469
472
  opportunityId?: string | undefined;
473
+ tokenSymbol?: string | undefined;
470
474
  };
471
475
  headers: unknown;
472
476
  response: {
@@ -429,10 +429,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
429
429
  chainId?: number | undefined;
430
430
  startTimestamp?: string | undefined;
431
431
  endTimestamp?: string | undefined;
432
+ tokenAddress?: string | undefined;
432
433
  page?: number | undefined;
433
434
  mainParameter?: string | undefined;
434
435
  campaignId?: string | undefined;
435
436
  opportunityId?: string | undefined;
437
+ tokenSymbol?: string | undefined;
436
438
  };
437
439
  headers: unknown;
438
440
  response: {
@@ -489,10 +491,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
489
491
  chainId?: number | undefined;
490
492
  startTimestamp?: string | undefined;
491
493
  endTimestamp?: string | undefined;
494
+ tokenAddress?: string | undefined;
492
495
  page?: number | undefined;
493
496
  mainParameter?: string | undefined;
494
497
  campaignId?: string | undefined;
495
498
  opportunityId?: string | undefined;
499
+ tokenSymbol?: string | undefined;
496
500
  };
497
501
  headers: unknown;
498
502
  response: {
@@ -427,10 +427,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
427
427
  chainId?: number | undefined;
428
428
  startTimestamp?: string | undefined;
429
429
  endTimestamp?: string | undefined;
430
+ tokenAddress?: string | undefined;
430
431
  page?: number | undefined;
431
432
  mainParameter?: string | undefined;
432
433
  campaignId?: string | undefined;
433
434
  opportunityId?: string | undefined;
435
+ tokenSymbol?: string | undefined;
434
436
  };
435
437
  headers: unknown;
436
438
  response: {
@@ -487,10 +489,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
487
489
  chainId?: number | undefined;
488
490
  startTimestamp?: string | undefined;
489
491
  endTimestamp?: string | undefined;
492
+ tokenAddress?: string | undefined;
490
493
  page?: number | undefined;
491
494
  mainParameter?: string | undefined;
492
495
  campaignId?: string | undefined;
493
496
  opportunityId?: string | undefined;
497
+ tokenSymbol?: string | undefined;
494
498
  };
495
499
  headers: unknown;
496
500
  response: {
@@ -430,10 +430,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
430
430
  chainId?: number | undefined;
431
431
  startTimestamp?: string | undefined;
432
432
  endTimestamp?: string | undefined;
433
+ tokenAddress?: string | undefined;
433
434
  page?: number | undefined;
434
435
  mainParameter?: string | undefined;
435
436
  campaignId?: string | undefined;
436
437
  opportunityId?: string | undefined;
438
+ tokenSymbol?: string | undefined;
437
439
  };
438
440
  headers: unknown;
439
441
  response: {
@@ -490,10 +492,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
490
492
  chainId?: number | undefined;
491
493
  startTimestamp?: string | undefined;
492
494
  endTimestamp?: string | undefined;
495
+ tokenAddress?: string | undefined;
493
496
  page?: number | undefined;
494
497
  mainParameter?: string | undefined;
495
498
  campaignId?: string | undefined;
496
499
  opportunityId?: string | undefined;
500
+ tokenSymbol?: string | undefined;
497
501
  };
498
502
  headers: unknown;
499
503
  response: {
@@ -421,10 +421,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
421
421
  chainId?: number | undefined;
422
422
  startTimestamp?: string | undefined;
423
423
  endTimestamp?: string | undefined;
424
+ tokenAddress?: string | undefined;
424
425
  page?: number | undefined;
425
426
  mainParameter?: string | undefined;
426
427
  campaignId?: string | undefined;
427
428
  opportunityId?: string | undefined;
429
+ tokenSymbol?: string | undefined;
428
430
  };
429
431
  headers: unknown;
430
432
  response: {
@@ -481,10 +483,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
481
483
  chainId?: number | undefined;
482
484
  startTimestamp?: string | undefined;
483
485
  endTimestamp?: string | undefined;
486
+ tokenAddress?: string | undefined;
484
487
  page?: number | undefined;
485
488
  mainParameter?: string | undefined;
486
489
  campaignId?: string | undefined;
487
490
  opportunityId?: string | undefined;
491
+ tokenSymbol?: string | undefined;
488
492
  };
489
493
  headers: unknown;
490
494
  response: {
@@ -426,10 +426,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
426
426
  chainId?: number | undefined;
427
427
  startTimestamp?: string | undefined;
428
428
  endTimestamp?: string | undefined;
429
+ tokenAddress?: string | undefined;
429
430
  page?: number | undefined;
430
431
  mainParameter?: string | undefined;
431
432
  campaignId?: string | undefined;
432
433
  opportunityId?: string | undefined;
434
+ tokenSymbol?: string | undefined;
433
435
  };
434
436
  headers: unknown;
435
437
  response: {
@@ -486,10 +488,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
486
488
  chainId?: number | undefined;
487
489
  startTimestamp?: string | undefined;
488
490
  endTimestamp?: string | undefined;
491
+ tokenAddress?: string | undefined;
489
492
  page?: number | undefined;
490
493
  mainParameter?: string | undefined;
491
494
  campaignId?: string | undefined;
492
495
  opportunityId?: string | undefined;
496
+ tokenSymbol?: string | undefined;
493
497
  };
494
498
  headers: unknown;
495
499
  response: {
@@ -444,10 +444,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
444
444
  chainId?: number | undefined;
445
445
  startTimestamp?: string | undefined;
446
446
  endTimestamp?: string | undefined;
447
+ tokenAddress?: string | undefined;
447
448
  page?: number | undefined;
448
449
  mainParameter?: string | undefined;
449
450
  campaignId?: string | undefined;
450
451
  opportunityId?: string | undefined;
452
+ tokenSymbol?: string | undefined;
451
453
  };
452
454
  headers: unknown;
453
455
  response: {
@@ -504,10 +506,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
504
506
  chainId?: number | undefined;
505
507
  startTimestamp?: string | undefined;
506
508
  endTimestamp?: string | undefined;
509
+ tokenAddress?: string | undefined;
507
510
  page?: number | undefined;
508
511
  mainParameter?: string | undefined;
509
512
  campaignId?: string | undefined;
510
513
  opportunityId?: string | undefined;
514
+ tokenSymbol?: string | undefined;
511
515
  };
512
516
  headers: unknown;
513
517
  response: {
@@ -445,10 +445,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
445
445
  chainId?: number | undefined;
446
446
  startTimestamp?: string | undefined;
447
447
  endTimestamp?: string | undefined;
448
+ tokenAddress?: string | undefined;
448
449
  page?: number | undefined;
449
450
  mainParameter?: string | undefined;
450
451
  campaignId?: string | undefined;
451
452
  opportunityId?: string | undefined;
453
+ tokenSymbol?: string | undefined;
452
454
  };
453
455
  headers: unknown;
454
456
  response: {
@@ -505,10 +507,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
505
507
  chainId?: number | undefined;
506
508
  startTimestamp?: string | undefined;
507
509
  endTimestamp?: string | undefined;
510
+ tokenAddress?: string | undefined;
508
511
  page?: number | undefined;
509
512
  mainParameter?: string | undefined;
510
513
  campaignId?: string | undefined;
511
514
  opportunityId?: string | undefined;
515
+ tokenSymbol?: string | undefined;
512
516
  };
513
517
  headers: unknown;
514
518
  response: {
@@ -427,10 +427,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
427
427
  chainId?: number | undefined;
428
428
  startTimestamp?: string | undefined;
429
429
  endTimestamp?: string | undefined;
430
+ tokenAddress?: string | undefined;
430
431
  page?: number | undefined;
431
432
  mainParameter?: string | undefined;
432
433
  campaignId?: string | undefined;
433
434
  opportunityId?: string | undefined;
435
+ tokenSymbol?: string | undefined;
434
436
  };
435
437
  headers: unknown;
436
438
  response: {
@@ -487,10 +489,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
487
489
  chainId?: number | undefined;
488
490
  startTimestamp?: string | undefined;
489
491
  endTimestamp?: string | undefined;
492
+ tokenAddress?: string | undefined;
490
493
  page?: number | undefined;
491
494
  mainParameter?: string | undefined;
492
495
  campaignId?: string | undefined;
493
496
  opportunityId?: string | undefined;
497
+ tokenSymbol?: string | undefined;
494
498
  };
495
499
  headers: unknown;
496
500
  response: {
@@ -428,10 +428,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
428
428
  chainId?: number | undefined;
429
429
  startTimestamp?: string | undefined;
430
430
  endTimestamp?: string | undefined;
431
+ tokenAddress?: string | undefined;
431
432
  page?: number | undefined;
432
433
  mainParameter?: string | undefined;
433
434
  campaignId?: string | undefined;
434
435
  opportunityId?: string | undefined;
436
+ tokenSymbol?: string | undefined;
435
437
  };
436
438
  headers: unknown;
437
439
  response: {
@@ -488,10 +490,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
488
490
  chainId?: number | undefined;
489
491
  startTimestamp?: string | undefined;
490
492
  endTimestamp?: string | undefined;
493
+ tokenAddress?: string | undefined;
491
494
  page?: number | undefined;
492
495
  mainParameter?: string | undefined;
493
496
  campaignId?: string | undefined;
494
497
  opportunityId?: string | undefined;
498
+ tokenSymbol?: string | undefined;
495
499
  };
496
500
  headers: unknown;
497
501
  response: {
@@ -430,10 +430,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
430
430
  chainId?: number | undefined;
431
431
  startTimestamp?: string | undefined;
432
432
  endTimestamp?: string | undefined;
433
+ tokenAddress?: string | undefined;
433
434
  page?: number | undefined;
434
435
  mainParameter?: string | undefined;
435
436
  campaignId?: string | undefined;
436
437
  opportunityId?: string | undefined;
438
+ tokenSymbol?: string | undefined;
437
439
  };
438
440
  headers: unknown;
439
441
  response: {
@@ -490,10 +492,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
490
492
  chainId?: number | undefined;
491
493
  startTimestamp?: string | undefined;
492
494
  endTimestamp?: string | undefined;
495
+ tokenAddress?: string | undefined;
493
496
  page?: number | undefined;
494
497
  mainParameter?: string | undefined;
495
498
  campaignId?: string | undefined;
496
499
  opportunityId?: string | undefined;
500
+ tokenSymbol?: string | undefined;
497
501
  };
498
502
  headers: unknown;
499
503
  response: {