@merkl/api 0.17.8 → 0.17.9

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.
@@ -1,4 +1,4 @@
1
- import type { Campaign as CampaignResource, CampaignWithParams } from "../modules/v4";
1
+ import type { Campaign as CampaignResource, CampaignWithParams } from "../modules/v4/campaign/campaign.model";
2
2
  import type { Campaign as CampaignEnum } from "@sdk";
3
3
  declare const eden: {
4
4
  derive: {};
@@ -328,13 +328,18 @@ declare const eden: {
328
328
  apr: number;
329
329
  dailyRewards: number;
330
330
  campaigns: {
331
+ creator?: {
332
+ tags?: string[] | undefined;
333
+ creatorId?: string | null | undefined;
334
+ address: string;
335
+ } | undefined;
331
336
  campaignStatus?: {
332
337
  error?: string | undefined;
333
338
  details?: any;
334
339
  status: string;
335
340
  campaignId: string;
336
- computedUntil: string | bigint;
337
- processingStarted: string | bigint;
341
+ computedUntil: string | number;
342
+ processingStarted: string | number;
338
343
  } | undefined;
339
344
  distributionChain?: {
340
345
  name: string;
@@ -350,8 +355,8 @@ declare const eden: {
350
355
  id: number;
351
356
  icon: string;
352
357
  };
353
- startTimestamp: string | bigint;
354
- endTimestamp: string | bigint;
358
+ startTimestamp: string | number;
359
+ endTimestamp: string | number;
355
360
  computeChainId: number;
356
361
  distributionChainId: number;
357
362
  campaignId: string;
@@ -531,6 +536,8 @@ declare const eden: {
531
536
  id: number;
532
537
  icon: string;
533
538
  };
539
+ endTimestamp: number;
540
+ startTimestamp: number;
534
541
  rewardToken: {
535
542
  symbol: string;
536
543
  name: string | null;
@@ -550,15 +557,15 @@ declare const eden: {
550
557
  icon: string;
551
558
  } | undefined;
552
559
  campaignStatus: {
560
+ computedUntil: number;
561
+ processingStarted: number;
553
562
  error: string;
554
563
  details: import("database/api/.generated/runtime/library").JsonValue;
555
564
  status: import("../../database/api/.generated").$Enums.RunStatus;
556
565
  campaignId: string;
557
- computedUntil: bigint;
558
- processingStarted: bigint;
559
566
  };
560
567
  creatorAddress: string;
561
- Creator: {
568
+ creator: {
562
569
  tags: string[];
563
570
  address: string;
564
571
  creatorId: string | null;
@@ -566,8 +573,6 @@ declare const eden: {
566
573
  type: string;
567
574
  id: string;
568
575
  subType: number | null;
569
- startTimestamp: bigint;
570
- endTimestamp: bigint;
571
576
  computeChainId: number;
572
577
  distributionChainId: number;
573
578
  campaignId: string;
@@ -750,13 +755,18 @@ declare const eden: {
750
755
  apr: number;
751
756
  dailyRewards: number;
752
757
  campaigns: {
758
+ creator?: {
759
+ tags?: string[] | undefined;
760
+ creatorId?: string | null | undefined;
761
+ address: string;
762
+ } | undefined;
753
763
  campaignStatus?: {
754
764
  error?: string | undefined;
755
765
  details?: any;
756
766
  status: string;
757
767
  campaignId: string;
758
- computedUntil: string | bigint;
759
- processingStarted: string | bigint;
768
+ computedUntil: string | number;
769
+ processingStarted: string | number;
760
770
  } | undefined;
761
771
  distributionChain?: {
762
772
  name: string;
@@ -772,8 +782,8 @@ declare const eden: {
772
782
  id: number;
773
783
  icon: string;
774
784
  };
775
- startTimestamp: string | bigint;
776
- endTimestamp: string | bigint;
785
+ startTimestamp: string | number;
786
+ endTimestamp: string | number;
777
787
  computeChainId: number;
778
788
  distributionChainId: number;
779
789
  campaignId: string;
@@ -916,6 +926,8 @@ declare const eden: {
916
926
  id: number;
917
927
  icon: string;
918
928
  };
929
+ endTimestamp: number;
930
+ startTimestamp: number;
919
931
  rewardToken: {
920
932
  symbol: string;
921
933
  name: string | null;
@@ -935,15 +947,15 @@ declare const eden: {
935
947
  icon: string;
936
948
  } | undefined;
937
949
  campaignStatus: {
950
+ computedUntil: number;
951
+ processingStarted: number;
938
952
  error: string;
939
953
  details: import("database/api/.generated/runtime/library").JsonValue;
940
954
  status: import("../../database/api/.generated").$Enums.RunStatus;
941
955
  campaignId: string;
942
- computedUntil: bigint;
943
- processingStarted: bigint;
944
956
  };
945
957
  creatorAddress: string;
946
- Creator: {
958
+ creator: {
947
959
  tags: string[];
948
960
  address: string;
949
961
  creatorId: string | null;
@@ -951,8 +963,6 @@ declare const eden: {
951
963
  type: string;
952
964
  id: string;
953
965
  subType: number | null;
954
- startTimestamp: bigint;
955
- endTimestamp: bigint;
956
966
  computeChainId: number;
957
967
  distributionChainId: number;
958
968
  campaignId: string;
@@ -1077,6 +1087,8 @@ declare const eden: {
1077
1087
  id: number;
1078
1088
  icon: string;
1079
1089
  };
1090
+ endTimestamp: number;
1091
+ startTimestamp: number;
1080
1092
  rewardToken: {
1081
1093
  symbol: string;
1082
1094
  name: string | null;
@@ -1096,15 +1108,15 @@ declare const eden: {
1096
1108
  icon: string;
1097
1109
  } | undefined;
1098
1110
  campaignStatus: {
1111
+ computedUntil: number;
1112
+ processingStarted: number;
1099
1113
  error: string;
1100
1114
  details: import("database/api/.generated/runtime/library").JsonValue;
1101
1115
  status: import("../../database/api/.generated").$Enums.RunStatus;
1102
1116
  campaignId: string;
1103
- computedUntil: bigint;
1104
- processingStarted: bigint;
1105
1117
  };
1106
1118
  creatorAddress: string;
1107
- Creator: {
1119
+ creator: {
1108
1120
  tags: string[];
1109
1121
  address: string;
1110
1122
  creatorId: string | null;
@@ -1112,8 +1124,6 @@ declare const eden: {
1112
1124
  type: string;
1113
1125
  id: string;
1114
1126
  subType: number | null;
1115
- startTimestamp: bigint;
1116
- endTimestamp: bigint;
1117
1127
  computeChainId: number;
1118
1128
  distributionChainId: number;
1119
1129
  campaignId: string;
@@ -2961,7 +2971,7 @@ declare const eden: {
2961
2971
  fetch?: RequestInit | undefined;
2962
2972
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
2963
2973
  200: (import("../modules/v4/claims").ClaimModel & {
2964
- token?: CampaignResource["model"];
2974
+ token?: CampaignEnum["model"];
2965
2975
  })[];
2966
2976
  }>>;
2967
2977
  }) & {};
@@ -3662,13 +3672,18 @@ declare const eden: {
3662
3672
  apr: number;
3663
3673
  dailyRewards: number;
3664
3674
  campaigns: {
3675
+ creator?: {
3676
+ tags?: string[] | undefined;
3677
+ creatorId?: string | null | undefined;
3678
+ address: string;
3679
+ } | undefined;
3665
3680
  campaignStatus?: {
3666
3681
  error?: string | undefined;
3667
3682
  details?: any;
3668
3683
  status: string;
3669
3684
  campaignId: string;
3670
- computedUntil: string | bigint;
3671
- processingStarted: string | bigint;
3685
+ computedUntil: string | number;
3686
+ processingStarted: string | number;
3672
3687
  } | undefined;
3673
3688
  distributionChain?: {
3674
3689
  name: string;
@@ -3684,8 +3699,8 @@ declare const eden: {
3684
3699
  id: number;
3685
3700
  icon: string;
3686
3701
  };
3687
- startTimestamp: string | bigint;
3688
- endTimestamp: string | bigint;
3702
+ startTimestamp: string | number;
3703
+ endTimestamp: string | number;
3689
3704
  computeChainId: number;
3690
3705
  distributionChainId: number;
3691
3706
  campaignId: string;
@@ -3865,6 +3880,8 @@ declare const eden: {
3865
3880
  id: number;
3866
3881
  icon: string;
3867
3882
  };
3883
+ endTimestamp: number;
3884
+ startTimestamp: number;
3868
3885
  rewardToken: {
3869
3886
  symbol: string;
3870
3887
  name: string | null;
@@ -3884,15 +3901,15 @@ declare const eden: {
3884
3901
  icon: string;
3885
3902
  } | undefined;
3886
3903
  campaignStatus: {
3904
+ computedUntil: number;
3905
+ processingStarted: number;
3887
3906
  error: string;
3888
3907
  details: import("database/api/.generated/runtime/library").JsonValue;
3889
3908
  status: import("../../database/api/.generated").$Enums.RunStatus;
3890
3909
  campaignId: string;
3891
- computedUntil: bigint;
3892
- processingStarted: bigint;
3893
3910
  };
3894
3911
  creatorAddress: string;
3895
- Creator: {
3912
+ creator: {
3896
3913
  tags: string[];
3897
3914
  address: string;
3898
3915
  creatorId: string | null;
@@ -3900,8 +3917,6 @@ declare const eden: {
3900
3917
  type: string;
3901
3918
  id: string;
3902
3919
  subType: number | null;
3903
- startTimestamp: bigint;
3904
- endTimestamp: bigint;
3905
3920
  computeChainId: number;
3906
3921
  distributionChainId: number;
3907
3922
  campaignId: string;
@@ -4084,13 +4099,18 @@ declare const eden: {
4084
4099
  apr: number;
4085
4100
  dailyRewards: number;
4086
4101
  campaigns: {
4102
+ creator?: {
4103
+ tags?: string[] | undefined;
4104
+ creatorId?: string | null | undefined;
4105
+ address: string;
4106
+ } | undefined;
4087
4107
  campaignStatus?: {
4088
4108
  error?: string | undefined;
4089
4109
  details?: any;
4090
4110
  status: string;
4091
4111
  campaignId: string;
4092
- computedUntil: string | bigint;
4093
- processingStarted: string | bigint;
4112
+ computedUntil: string | number;
4113
+ processingStarted: string | number;
4094
4114
  } | undefined;
4095
4115
  distributionChain?: {
4096
4116
  name: string;
@@ -4106,8 +4126,8 @@ declare const eden: {
4106
4126
  id: number;
4107
4127
  icon: string;
4108
4128
  };
4109
- startTimestamp: string | bigint;
4110
- endTimestamp: string | bigint;
4129
+ startTimestamp: string | number;
4130
+ endTimestamp: string | number;
4111
4131
  computeChainId: number;
4112
4132
  distributionChainId: number;
4113
4133
  campaignId: string;
@@ -4250,6 +4270,8 @@ declare const eden: {
4250
4270
  id: number;
4251
4271
  icon: string;
4252
4272
  };
4273
+ endTimestamp: number;
4274
+ startTimestamp: number;
4253
4275
  rewardToken: {
4254
4276
  symbol: string;
4255
4277
  name: string | null;
@@ -4269,15 +4291,15 @@ declare const eden: {
4269
4291
  icon: string;
4270
4292
  } | undefined;
4271
4293
  campaignStatus: {
4294
+ computedUntil: number;
4295
+ processingStarted: number;
4272
4296
  error: string;
4273
4297
  details: import("database/api/.generated/runtime/library").JsonValue;
4274
4298
  status: import("../../database/api/.generated").$Enums.RunStatus;
4275
4299
  campaignId: string;
4276
- computedUntil: bigint;
4277
- processingStarted: bigint;
4278
4300
  };
4279
4301
  creatorAddress: string;
4280
- Creator: {
4302
+ creator: {
4281
4303
  tags: string[];
4282
4304
  address: string;
4283
4305
  creatorId: string | null;
@@ -4285,8 +4307,6 @@ declare const eden: {
4285
4307
  type: string;
4286
4308
  id: string;
4287
4309
  subType: number | null;
4288
- startTimestamp: bigint;
4289
- endTimestamp: bigint;
4290
4310
  computeChainId: number;
4291
4311
  distributionChainId: number;
4292
4312
  campaignId: string;
@@ -4411,6 +4431,8 @@ declare const eden: {
4411
4431
  id: number;
4412
4432
  icon: string;
4413
4433
  };
4434
+ endTimestamp: number;
4435
+ startTimestamp: number;
4414
4436
  rewardToken: {
4415
4437
  symbol: string;
4416
4438
  name: string | null;
@@ -4430,15 +4452,15 @@ declare const eden: {
4430
4452
  icon: string;
4431
4453
  } | undefined;
4432
4454
  campaignStatus: {
4455
+ computedUntil: number;
4456
+ processingStarted: number;
4433
4457
  error: string;
4434
4458
  details: import("database/api/.generated/runtime/library").JsonValue;
4435
4459
  status: import("../../database/api/.generated").$Enums.RunStatus;
4436
4460
  campaignId: string;
4437
- computedUntil: bigint;
4438
- processingStarted: bigint;
4439
4461
  };
4440
4462
  creatorAddress: string;
4441
- Creator: {
4463
+ creator: {
4442
4464
  tags: string[];
4443
4465
  address: string;
4444
4466
  creatorId: string | null;
@@ -4446,8 +4468,6 @@ declare const eden: {
4446
4468
  type: string;
4447
4469
  id: string;
4448
4470
  subType: number | null;
4449
- startTimestamp: bigint;
4450
- endTimestamp: bigint;
4451
4471
  computeChainId: number;
4452
4472
  distributionChainId: number;
4453
4473
  campaignId: string;
@@ -6295,7 +6315,7 @@ declare const eden: {
6295
6315
  fetch?: RequestInit | undefined;
6296
6316
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
6297
6317
  200: (import("../modules/v4/claims").ClaimModel & {
6298
- token?: CampaignResource["model"];
6318
+ token?: CampaignEnum["model"];
6299
6319
  })[];
6300
6320
  }>>;
6301
6321
  }) & {};
@@ -7665,6 +7685,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7665
7685
  id: number;
7666
7686
  icon: string;
7667
7687
  };
7688
+ endTimestamp: number;
7689
+ startTimestamp: number;
7668
7690
  rewardToken: {
7669
7691
  symbol: string;
7670
7692
  name: string | null;
@@ -7684,15 +7706,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7684
7706
  icon: string;
7685
7707
  } | undefined;
7686
7708
  campaignStatus: {
7709
+ computedUntil: number;
7710
+ processingStarted: number;
7687
7711
  error: string;
7688
7712
  details: import("database/api/.generated/runtime/library").JsonValue;
7689
7713
  status: import("../../database/api/.generated").$Enums.RunStatus;
7690
7714
  campaignId: string;
7691
- computedUntil: bigint;
7692
- processingStarted: bigint;
7693
7715
  };
7694
7716
  creatorAddress: string;
7695
- Creator: {
7717
+ creator: {
7696
7718
  tags: string[];
7697
7719
  address: string;
7698
7720
  creatorId: string | null;
@@ -7700,8 +7722,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7700
7722
  type: string;
7701
7723
  id: string;
7702
7724
  subType: number | null;
7703
- startTimestamp: bigint;
7704
- endTimestamp: bigint;
7705
7725
  computeChainId: number;
7706
7726
  distributionChainId: number;
7707
7727
  campaignId: string;
@@ -8005,13 +8025,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8005
8025
  apr: number;
8006
8026
  dailyRewards: number;
8007
8027
  campaigns: {
8028
+ creator?: {
8029
+ tags?: string[] | undefined;
8030
+ creatorId?: string | null | undefined;
8031
+ address: string;
8032
+ } | undefined;
8008
8033
  campaignStatus?: {
8009
8034
  error?: string | undefined;
8010
8035
  details?: any;
8011
8036
  status: string;
8012
8037
  campaignId: string;
8013
- computedUntil: string | bigint;
8014
- processingStarted: string | bigint;
8038
+ computedUntil: string | number;
8039
+ processingStarted: string | number;
8015
8040
  } | undefined;
8016
8041
  distributionChain?: {
8017
8042
  name: string;
@@ -8027,8 +8052,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8027
8052
  id: number;
8028
8053
  icon: string;
8029
8054
  };
8030
- startTimestamp: string | bigint;
8031
- endTimestamp: string | bigint;
8055
+ startTimestamp: string | number;
8056
+ endTimestamp: string | number;
8032
8057
  computeChainId: number;
8033
8058
  distributionChainId: number;
8034
8059
  campaignId: string;
@@ -8162,13 +8187,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8162
8187
  apr: number;
8163
8188
  dailyRewards: number;
8164
8189
  campaigns: {
8190
+ creator?: {
8191
+ tags?: string[] | undefined;
8192
+ creatorId?: string | null | undefined;
8193
+ address: string;
8194
+ } | undefined;
8165
8195
  campaignStatus?: {
8166
8196
  error?: string | undefined;
8167
8197
  details?: any;
8168
8198
  status: string;
8169
8199
  campaignId: string;
8170
- computedUntil: string | bigint;
8171
- processingStarted: string | bigint;
8200
+ computedUntil: string | number;
8201
+ processingStarted: string | number;
8172
8202
  } | undefined;
8173
8203
  distributionChain?: {
8174
8204
  name: string;
@@ -8184,8 +8214,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8184
8214
  id: number;
8185
8215
  icon: string;
8186
8216
  };
8187
- startTimestamp: string | bigint;
8188
- endTimestamp: string | bigint;
8217
+ startTimestamp: string | number;
8218
+ endTimestamp: string | number;
8189
8219
  computeChainId: number;
8190
8220
  distributionChainId: number;
8191
8221
  campaignId: string;
@@ -8504,6 +8534,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8504
8534
  id: number;
8505
8535
  icon: string;
8506
8536
  };
8537
+ endTimestamp: number;
8538
+ startTimestamp: number;
8507
8539
  rewardToken: {
8508
8540
  symbol: string;
8509
8541
  name: string | null;
@@ -8523,15 +8555,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8523
8555
  icon: string;
8524
8556
  } | undefined;
8525
8557
  campaignStatus: {
8558
+ computedUntil: number;
8559
+ processingStarted: number;
8526
8560
  error: string;
8527
8561
  details: import("database/api/.generated/runtime/library").JsonValue;
8528
8562
  status: import("../../database/api/.generated").$Enums.RunStatus;
8529
8563
  campaignId: string;
8530
- computedUntil: bigint;
8531
- processingStarted: bigint;
8532
8564
  };
8533
8565
  creatorAddress: string;
8534
- Creator: {
8566
+ creator: {
8535
8567
  tags: string[];
8536
8568
  address: string;
8537
8569
  creatorId: string | null;
@@ -8539,8 +8571,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8539
8571
  type: string;
8540
8572
  id: string;
8541
8573
  subType: number | null;
8542
- startTimestamp: bigint;
8543
- endTimestamp: bigint;
8544
8574
  computeChainId: number;
8545
8575
  distributionChainId: number;
8546
8576
  campaignId: string;
@@ -8568,6 +8598,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8568
8598
  id: number;
8569
8599
  icon: string;
8570
8600
  };
8601
+ endTimestamp: number;
8602
+ startTimestamp: number;
8571
8603
  rewardToken: {
8572
8604
  symbol: string;
8573
8605
  name: string | null;
@@ -8587,15 +8619,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8587
8619
  icon: string;
8588
8620
  } | undefined;
8589
8621
  campaignStatus: {
8622
+ computedUntil: number;
8623
+ processingStarted: number;
8590
8624
  error: string;
8591
8625
  details: import("database/api/.generated/runtime/library").JsonValue;
8592
8626
  status: import("../../database/api/.generated").$Enums.RunStatus;
8593
8627
  campaignId: string;
8594
- computedUntil: bigint;
8595
- processingStarted: bigint;
8596
8628
  };
8597
8629
  creatorAddress: string;
8598
- Creator: {
8630
+ creator: {
8599
8631
  tags: string[];
8600
8632
  address: string;
8601
8633
  creatorId: string | null;
@@ -8603,8 +8635,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8603
8635
  type: string;
8604
8636
  id: string;
8605
8637
  subType: number | null;
8606
- startTimestamp: bigint;
8607
- endTimestamp: bigint;
8608
8638
  computeChainId: number;
8609
8639
  distributionChainId: number;
8610
8640
  campaignId: string;
@@ -10945,7 +10975,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
10945
10975
  headers: unknown;
10946
10976
  response: {
10947
10977
  200: (import("../modules/v4/claims").ClaimModel & {
10948
- token?: CampaignResource["model"];
10978
+ token?: CampaignEnum["model"];
10949
10979
  })[];
10950
10980
  };
10951
10981
  };
@@ -12612,13 +12642,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12612
12642
  apr: number;
12613
12643
  dailyRewards: number;
12614
12644
  campaigns: {
12645
+ creator?: {
12646
+ tags?: string[] | undefined;
12647
+ creatorId?: string | null | undefined;
12648
+ address: string;
12649
+ } | undefined;
12615
12650
  campaignStatus?: {
12616
12651
  error?: string | undefined;
12617
12652
  details?: any;
12618
12653
  status: string;
12619
12654
  campaignId: string;
12620
- computedUntil: string | bigint;
12621
- processingStarted: string | bigint;
12655
+ computedUntil: string | number;
12656
+ processingStarted: string | number;
12622
12657
  } | undefined;
12623
12658
  distributionChain?: {
12624
12659
  name: string;
@@ -12634,8 +12669,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12634
12669
  id: number;
12635
12670
  icon: string;
12636
12671
  };
12637
- startTimestamp: string | bigint;
12638
- endTimestamp: string | bigint;
12672
+ startTimestamp: string | number;
12673
+ endTimestamp: string | number;
12639
12674
  computeChainId: number;
12640
12675
  distributionChainId: number;
12641
12676
  campaignId: string;
@@ -12815,6 +12850,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12815
12850
  id: number;
12816
12851
  icon: string;
12817
12852
  };
12853
+ endTimestamp: number;
12854
+ startTimestamp: number;
12818
12855
  rewardToken: {
12819
12856
  symbol: string;
12820
12857
  name: string | null;
@@ -12834,15 +12871,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12834
12871
  icon: string;
12835
12872
  } | undefined;
12836
12873
  campaignStatus: {
12874
+ computedUntil: number;
12875
+ processingStarted: number;
12837
12876
  error: string;
12838
12877
  details: import("database/api/.generated/runtime/library").JsonValue;
12839
12878
  status: import("../../database/api/.generated").$Enums.RunStatus;
12840
12879
  campaignId: string;
12841
- computedUntil: bigint;
12842
- processingStarted: bigint;
12843
12880
  };
12844
12881
  creatorAddress: string;
12845
- Creator: {
12882
+ creator: {
12846
12883
  tags: string[];
12847
12884
  address: string;
12848
12885
  creatorId: string | null;
@@ -12850,8 +12887,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12850
12887
  type: string;
12851
12888
  id: string;
12852
12889
  subType: number | null;
12853
- startTimestamp: bigint;
12854
- endTimestamp: bigint;
12855
12890
  computeChainId: number;
12856
12891
  distributionChainId: number;
12857
12892
  campaignId: string;
@@ -13034,13 +13069,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13034
13069
  apr: number;
13035
13070
  dailyRewards: number;
13036
13071
  campaigns: {
13072
+ creator?: {
13073
+ tags?: string[] | undefined;
13074
+ creatorId?: string | null | undefined;
13075
+ address: string;
13076
+ } | undefined;
13037
13077
  campaignStatus?: {
13038
13078
  error?: string | undefined;
13039
13079
  details?: any;
13040
13080
  status: string;
13041
13081
  campaignId: string;
13042
- computedUntil: string | bigint;
13043
- processingStarted: string | bigint;
13082
+ computedUntil: string | number;
13083
+ processingStarted: string | number;
13044
13084
  } | undefined;
13045
13085
  distributionChain?: {
13046
13086
  name: string;
@@ -13056,8 +13096,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13056
13096
  id: number;
13057
13097
  icon: string;
13058
13098
  };
13059
- startTimestamp: string | bigint;
13060
- endTimestamp: string | bigint;
13099
+ startTimestamp: string | number;
13100
+ endTimestamp: string | number;
13061
13101
  computeChainId: number;
13062
13102
  distributionChainId: number;
13063
13103
  campaignId: string;
@@ -13200,6 +13240,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13200
13240
  id: number;
13201
13241
  icon: string;
13202
13242
  };
13243
+ endTimestamp: number;
13244
+ startTimestamp: number;
13203
13245
  rewardToken: {
13204
13246
  symbol: string;
13205
13247
  name: string | null;
@@ -13219,15 +13261,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13219
13261
  icon: string;
13220
13262
  } | undefined;
13221
13263
  campaignStatus: {
13264
+ computedUntil: number;
13265
+ processingStarted: number;
13222
13266
  error: string;
13223
13267
  details: import("database/api/.generated/runtime/library").JsonValue;
13224
13268
  status: import("../../database/api/.generated").$Enums.RunStatus;
13225
13269
  campaignId: string;
13226
- computedUntil: bigint;
13227
- processingStarted: bigint;
13228
13270
  };
13229
13271
  creatorAddress: string;
13230
- Creator: {
13272
+ creator: {
13231
13273
  tags: string[];
13232
13274
  address: string;
13233
13275
  creatorId: string | null;
@@ -13235,8 +13277,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13235
13277
  type: string;
13236
13278
  id: string;
13237
13279
  subType: number | null;
13238
- startTimestamp: bigint;
13239
- endTimestamp: bigint;
13240
13280
  computeChainId: number;
13241
13281
  distributionChainId: number;
13242
13282
  campaignId: string;
@@ -13361,6 +13401,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13361
13401
  id: number;
13362
13402
  icon: string;
13363
13403
  };
13404
+ endTimestamp: number;
13405
+ startTimestamp: number;
13364
13406
  rewardToken: {
13365
13407
  symbol: string;
13366
13408
  name: string | null;
@@ -13380,15 +13422,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13380
13422
  icon: string;
13381
13423
  } | undefined;
13382
13424
  campaignStatus: {
13425
+ computedUntil: number;
13426
+ processingStarted: number;
13383
13427
  error: string;
13384
13428
  details: import("database/api/.generated/runtime/library").JsonValue;
13385
13429
  status: import("../../database/api/.generated").$Enums.RunStatus;
13386
13430
  campaignId: string;
13387
- computedUntil: bigint;
13388
- processingStarted: bigint;
13389
13431
  };
13390
13432
  creatorAddress: string;
13391
- Creator: {
13433
+ creator: {
13392
13434
  tags: string[];
13393
13435
  address: string;
13394
13436
  creatorId: string | null;
@@ -13396,8 +13438,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13396
13438
  type: string;
13397
13439
  id: string;
13398
13440
  subType: number | null;
13399
- startTimestamp: bigint;
13400
- endTimestamp: bigint;
13401
13441
  computeChainId: number;
13402
13442
  distributionChainId: number;
13403
13443
  campaignId: string;
@@ -15245,7 +15285,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15245
15285
  fetch?: RequestInit | undefined;
15246
15286
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
15247
15287
  200: (import("../modules/v4/claims").ClaimModel & {
15248
- token?: CampaignResource["model"];
15288
+ token?: CampaignEnum["model"];
15249
15289
  })[];
15250
15290
  }>>;
15251
15291
  }) & {};
@@ -15946,13 +15986,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15946
15986
  apr: number;
15947
15987
  dailyRewards: number;
15948
15988
  campaigns: {
15989
+ creator?: {
15990
+ tags?: string[] | undefined;
15991
+ creatorId?: string | null | undefined;
15992
+ address: string;
15993
+ } | undefined;
15949
15994
  campaignStatus?: {
15950
15995
  error?: string | undefined;
15951
15996
  details?: any;
15952
15997
  status: string;
15953
15998
  campaignId: string;
15954
- computedUntil: string | bigint;
15955
- processingStarted: string | bigint;
15999
+ computedUntil: string | number;
16000
+ processingStarted: string | number;
15956
16001
  } | undefined;
15957
16002
  distributionChain?: {
15958
16003
  name: string;
@@ -15968,8 +16013,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15968
16013
  id: number;
15969
16014
  icon: string;
15970
16015
  };
15971
- startTimestamp: string | bigint;
15972
- endTimestamp: string | bigint;
16016
+ startTimestamp: string | number;
16017
+ endTimestamp: string | number;
15973
16018
  computeChainId: number;
15974
16019
  distributionChainId: number;
15975
16020
  campaignId: string;
@@ -16149,6 +16194,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16149
16194
  id: number;
16150
16195
  icon: string;
16151
16196
  };
16197
+ endTimestamp: number;
16198
+ startTimestamp: number;
16152
16199
  rewardToken: {
16153
16200
  symbol: string;
16154
16201
  name: string | null;
@@ -16168,15 +16215,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16168
16215
  icon: string;
16169
16216
  } | undefined;
16170
16217
  campaignStatus: {
16218
+ computedUntil: number;
16219
+ processingStarted: number;
16171
16220
  error: string;
16172
16221
  details: import("database/api/.generated/runtime/library").JsonValue;
16173
16222
  status: import("../../database/api/.generated").$Enums.RunStatus;
16174
16223
  campaignId: string;
16175
- computedUntil: bigint;
16176
- processingStarted: bigint;
16177
16224
  };
16178
16225
  creatorAddress: string;
16179
- Creator: {
16226
+ creator: {
16180
16227
  tags: string[];
16181
16228
  address: string;
16182
16229
  creatorId: string | null;
@@ -16184,8 +16231,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16184
16231
  type: string;
16185
16232
  id: string;
16186
16233
  subType: number | null;
16187
- startTimestamp: bigint;
16188
- endTimestamp: bigint;
16189
16234
  computeChainId: number;
16190
16235
  distributionChainId: number;
16191
16236
  campaignId: string;
@@ -16368,13 +16413,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16368
16413
  apr: number;
16369
16414
  dailyRewards: number;
16370
16415
  campaigns: {
16416
+ creator?: {
16417
+ tags?: string[] | undefined;
16418
+ creatorId?: string | null | undefined;
16419
+ address: string;
16420
+ } | undefined;
16371
16421
  campaignStatus?: {
16372
16422
  error?: string | undefined;
16373
16423
  details?: any;
16374
16424
  status: string;
16375
16425
  campaignId: string;
16376
- computedUntil: string | bigint;
16377
- processingStarted: string | bigint;
16426
+ computedUntil: string | number;
16427
+ processingStarted: string | number;
16378
16428
  } | undefined;
16379
16429
  distributionChain?: {
16380
16430
  name: string;
@@ -16390,8 +16440,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16390
16440
  id: number;
16391
16441
  icon: string;
16392
16442
  };
16393
- startTimestamp: string | bigint;
16394
- endTimestamp: string | bigint;
16443
+ startTimestamp: string | number;
16444
+ endTimestamp: string | number;
16395
16445
  computeChainId: number;
16396
16446
  distributionChainId: number;
16397
16447
  campaignId: string;
@@ -16534,6 +16584,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16534
16584
  id: number;
16535
16585
  icon: string;
16536
16586
  };
16587
+ endTimestamp: number;
16588
+ startTimestamp: number;
16537
16589
  rewardToken: {
16538
16590
  symbol: string;
16539
16591
  name: string | null;
@@ -16553,15 +16605,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16553
16605
  icon: string;
16554
16606
  } | undefined;
16555
16607
  campaignStatus: {
16608
+ computedUntil: number;
16609
+ processingStarted: number;
16556
16610
  error: string;
16557
16611
  details: import("database/api/.generated/runtime/library").JsonValue;
16558
16612
  status: import("../../database/api/.generated").$Enums.RunStatus;
16559
16613
  campaignId: string;
16560
- computedUntil: bigint;
16561
- processingStarted: bigint;
16562
16614
  };
16563
16615
  creatorAddress: string;
16564
- Creator: {
16616
+ creator: {
16565
16617
  tags: string[];
16566
16618
  address: string;
16567
16619
  creatorId: string | null;
@@ -16569,8 +16621,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16569
16621
  type: string;
16570
16622
  id: string;
16571
16623
  subType: number | null;
16572
- startTimestamp: bigint;
16573
- endTimestamp: bigint;
16574
16624
  computeChainId: number;
16575
16625
  distributionChainId: number;
16576
16626
  campaignId: string;
@@ -16695,6 +16745,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16695
16745
  id: number;
16696
16746
  icon: string;
16697
16747
  };
16748
+ endTimestamp: number;
16749
+ startTimestamp: number;
16698
16750
  rewardToken: {
16699
16751
  symbol: string;
16700
16752
  name: string | null;
@@ -16714,15 +16766,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16714
16766
  icon: string;
16715
16767
  } | undefined;
16716
16768
  campaignStatus: {
16769
+ computedUntil: number;
16770
+ processingStarted: number;
16717
16771
  error: string;
16718
16772
  details: import("database/api/.generated/runtime/library").JsonValue;
16719
16773
  status: import("../../database/api/.generated").$Enums.RunStatus;
16720
16774
  campaignId: string;
16721
- computedUntil: bigint;
16722
- processingStarted: bigint;
16723
16775
  };
16724
16776
  creatorAddress: string;
16725
- Creator: {
16777
+ creator: {
16726
16778
  tags: string[];
16727
16779
  address: string;
16728
16780
  creatorId: string | null;
@@ -16730,8 +16782,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16730
16782
  type: string;
16731
16783
  id: string;
16732
16784
  subType: number | null;
16733
- startTimestamp: bigint;
16734
- endTimestamp: bigint;
16735
16785
  computeChainId: number;
16736
16786
  distributionChainId: number;
16737
16787
  campaignId: string;
@@ -18579,7 +18629,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18579
18629
  fetch?: RequestInit | undefined;
18580
18630
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
18581
18631
  200: (import("../modules/v4/claims").ClaimModel & {
18582
- token?: CampaignResource["model"];
18632
+ token?: CampaignEnum["model"];
18583
18633
  })[];
18584
18634
  }>>;
18585
18635
  }) & {};
@@ -19615,7 +19665,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
19615
19665
  export type Opportunity = FromPromise<Api["v4"]["opportunities"]["index"]["get"]>;
19616
19666
  export type Protocol = FromPromise<Api["v4"]["protocols"]["index"]["get"]>;
19617
19667
  export type Campaign = CampaignResource["model"];
19618
- export type CampaignParams<C extends CampaignEnum> = CampaignWithParams<C>["model"]["params"];
19668
+ export type CampaignParams<C extends CampaignEnum> = CampaignWithParams<C>["params"];
19619
19669
  export type Chain = FromPromise<Api["v4"]["chains"]["index"]["get"]>;
19620
19670
  export type Explorer = FromPromise<Api["v4"]["chains"]["index"]["get"]>["explorers"][number];
19621
19671
  export type Token = FromPromise<Api["v4"]["tokens"]["index"]["get"]>;