@merkl/api 1.11.44 → 1.11.45

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.
Files changed (26) hide show
  1. package/dist/src/eden/index.d.ts +6 -0
  2. package/dist/src/engine/implementations/FastLane/metadataRPCStaking.d.ts +19 -0
  3. package/dist/src/engine/implementations/FastLane/metadataRPCStaking.js.map +1 -0
  4. package/dist/src/engine/implementations/FastLane/metadataZeroYieldTranche.d.ts +23 -0
  5. package/dist/src/engine/implementations/FastLane/metadataZeroYieldTranche.js.map +1 -0
  6. package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +1 -1
  7. package/dist/src/engine/metadata/factory.js.map +1 -1
  8. package/dist/src/engine/tvl/factory.js.map +1 -1
  9. package/dist/src/index.d.ts +6 -0
  10. package/dist/src/jobs/cleanup-partitions/index.js.map +1 -1
  11. package/dist/src/jobs/pendings-etl/load.js.map +1 -1
  12. package/dist/src/jobs/refresh-count-views.d.ts +1 -0
  13. package/dist/src/jobs/refresh-count-views.js.map +1 -0
  14. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -0
  15. package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
  16. package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
  17. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +100 -90
  18. package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
  19. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +1 -0
  20. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +56 -56
  21. package/dist/src/modules/v4/router.d.ts +6 -0
  22. package/dist/src/modules/v4/transaction/transaction.service.d.ts +62 -6
  23. package/dist/src/utils/getAPR.d.ts +31 -3
  24. package/dist/src/utils/parseDistributionType.d.ts +31 -3
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
@@ -156,7 +156,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
156
156
  } | undefined;
157
157
  computeChainId: number | undefined;
158
158
  opportunityId: string | undefined;
159
- campaignId: string | undefined;
159
+ campaignId: string | {
160
+ in: string[];
161
+ } | undefined;
160
162
  Opportunity: {
161
163
  identifier: string | undefined;
162
164
  mainProtocolId: {
@@ -181,11 +183,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
181
183
  };
182
184
  displaySymbol?: undefined;
183
185
  } | {
184
- symbol?: undefined;
185
186
  displaySymbol: {
186
187
  equals: string;
187
188
  mode: "insensitive";
188
189
  };
190
+ symbol?: undefined;
189
191
  })[] | undefined;
190
192
  isTest: false | undefined;
191
193
  type: {
@@ -194,12 +196,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
194
196
  };
195
197
  };
196
198
  Creator: {
197
- tags?: undefined;
198
199
  OR: ({
199
- tags?: undefined;
200
200
  Creator: {
201
201
  id: string;
202
202
  };
203
+ tags?: undefined;
203
204
  } | {
204
205
  Creator?: undefined;
205
206
  tags: {
@@ -207,9 +208,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
207
208
  };
208
209
  })[];
209
210
  Creator?: undefined;
210
- } | {
211
211
  tags?: undefined;
212
+ } | {
212
213
  OR?: undefined;
214
+ tags?: undefined;
213
215
  Creator: {
214
216
  id: string;
215
217
  };
@@ -227,13 +229,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
227
229
  in: import("@package/resources/enums").DistributionType[];
228
230
  } | undefined;
229
231
  rootCampaignId: {
230
- not?: undefined;
231
232
  equals: string;
232
233
  mode: "insensitive";
233
- } | {
234
234
  not?: undefined;
235
+ } | {
235
236
  mode?: undefined;
236
237
  equals: null;
238
+ not?: undefined;
237
239
  } | {
238
240
  mode?: undefined;
239
241
  equals?: undefined;
@@ -245,49 +247,48 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
245
247
  } | undefined;
246
248
  AND: {
247
249
  OR: ({
248
- campaignId?: undefined;
249
- creatorAddress?: undefined;
250
- RewardToken?: undefined;
251
250
  id: {
252
251
  contains: string;
253
252
  mode: "insensitive";
254
253
  };
254
+ campaignId?: undefined;
255
+ creatorAddress?: undefined;
255
256
  Opportunity?: undefined;
257
+ RewardToken?: undefined;
256
258
  } | {
257
259
  id?: undefined;
258
- creatorAddress?: undefined;
259
- RewardToken?: undefined;
260
260
  campaignId: {
261
261
  contains: string;
262
262
  mode: "insensitive";
263
263
  };
264
+ creatorAddress?: undefined;
264
265
  Opportunity?: undefined;
266
+ RewardToken?: undefined;
265
267
  } | {
266
268
  id?: undefined;
267
269
  campaignId?: undefined;
268
- RewardToken?: undefined;
269
270
  creatorAddress: {
270
271
  contains: string;
271
272
  mode: "insensitive";
272
273
  };
273
274
  Opportunity?: undefined;
275
+ RewardToken?: undefined;
274
276
  } | {
275
277
  id?: undefined;
276
278
  campaignId?: undefined;
277
279
  creatorAddress?: undefined;
278
- RewardToken?: undefined;
279
280
  Opportunity: {
280
- mainProtocolId?: undefined;
281
281
  identifier: {
282
282
  contains: string;
283
283
  mode: "insensitive";
284
284
  };
285
+ mainProtocolId?: undefined;
285
286
  };
287
+ RewardToken?: undefined;
286
288
  } | {
287
289
  id?: undefined;
288
290
  campaignId?: undefined;
289
291
  creatorAddress?: undefined;
290
- RewardToken?: undefined;
291
292
  Opportunity: {
292
293
  identifier?: undefined;
293
294
  mainProtocolId: {
@@ -295,6 +296,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
295
296
  mode: "insensitive";
296
297
  };
297
298
  };
299
+ RewardToken?: undefined;
298
300
  } | {
299
301
  id?: undefined;
300
302
  campaignId?: undefined;
@@ -302,19 +304,19 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
302
304
  Opportunity?: undefined;
303
305
  RewardToken: {
304
306
  OR: ({
305
- address?: undefined;
306
307
  symbol: {
307
308
  contains: string;
308
309
  mode: "insensitive";
309
310
  };
310
311
  displaySymbol?: undefined;
312
+ address?: undefined;
311
313
  } | {
312
314
  symbol?: undefined;
313
- address?: undefined;
314
315
  displaySymbol: {
315
316
  contains: string;
316
317
  mode: "insensitive";
317
318
  };
319
+ address?: undefined;
318
320
  } | {
319
321
  symbol?: undefined;
320
322
  displaySymbol?: undefined;
@@ -377,7 +379,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
377
379
  } | undefined;
378
380
  computeChainId: number | undefined;
379
381
  opportunityId: string | undefined;
380
- campaignId: string | undefined;
382
+ campaignId: string | {
383
+ in: string[];
384
+ } | undefined;
381
385
  Opportunity: {
382
386
  identifier: string | undefined;
383
387
  mainProtocolId: {
@@ -402,11 +406,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
402
406
  };
403
407
  displaySymbol?: undefined;
404
408
  } | {
405
- symbol?: undefined;
406
409
  displaySymbol: {
407
410
  equals: string;
408
411
  mode: "insensitive";
409
412
  };
413
+ symbol?: undefined;
410
414
  })[] | undefined;
411
415
  isTest: false | undefined;
412
416
  type: {
@@ -415,12 +419,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
415
419
  };
416
420
  };
417
421
  Creator: {
418
- tags?: undefined;
419
422
  OR: ({
420
- tags?: undefined;
421
423
  Creator: {
422
424
  id: string;
423
425
  };
426
+ tags?: undefined;
424
427
  } | {
425
428
  Creator?: undefined;
426
429
  tags: {
@@ -428,9 +431,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
428
431
  };
429
432
  })[];
430
433
  Creator?: undefined;
431
- } | {
432
434
  tags?: undefined;
435
+ } | {
433
436
  OR?: undefined;
437
+ tags?: undefined;
434
438
  Creator: {
435
439
  id: string;
436
440
  };
@@ -448,13 +452,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
448
452
  in: import("@package/resources/enums").DistributionType[];
449
453
  } | undefined;
450
454
  rootCampaignId: {
451
- not?: undefined;
452
455
  equals: string;
453
456
  mode: "insensitive";
454
- } | {
455
457
  not?: undefined;
458
+ } | {
456
459
  mode?: undefined;
457
460
  equals: null;
461
+ not?: undefined;
458
462
  } | {
459
463
  mode?: undefined;
460
464
  equals?: undefined;
@@ -466,49 +470,48 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
466
470
  } | undefined;
467
471
  AND: {
468
472
  OR: ({
469
- campaignId?: undefined;
470
- creatorAddress?: undefined;
471
- RewardToken?: undefined;
472
473
  id: {
473
474
  contains: string;
474
475
  mode: "insensitive";
475
476
  };
477
+ campaignId?: undefined;
478
+ creatorAddress?: undefined;
476
479
  Opportunity?: undefined;
480
+ RewardToken?: undefined;
477
481
  } | {
478
482
  id?: undefined;
479
- creatorAddress?: undefined;
480
- RewardToken?: undefined;
481
483
  campaignId: {
482
484
  contains: string;
483
485
  mode: "insensitive";
484
486
  };
487
+ creatorAddress?: undefined;
485
488
  Opportunity?: undefined;
489
+ RewardToken?: undefined;
486
490
  } | {
487
491
  id?: undefined;
488
492
  campaignId?: undefined;
489
- RewardToken?: undefined;
490
493
  creatorAddress: {
491
494
  contains: string;
492
495
  mode: "insensitive";
493
496
  };
494
497
  Opportunity?: undefined;
498
+ RewardToken?: undefined;
495
499
  } | {
496
500
  id?: undefined;
497
501
  campaignId?: undefined;
498
502
  creatorAddress?: undefined;
499
- RewardToken?: undefined;
500
503
  Opportunity: {
501
- mainProtocolId?: undefined;
502
504
  identifier: {
503
505
  contains: string;
504
506
  mode: "insensitive";
505
507
  };
508
+ mainProtocolId?: undefined;
506
509
  };
510
+ RewardToken?: undefined;
507
511
  } | {
508
512
  id?: undefined;
509
513
  campaignId?: undefined;
510
514
  creatorAddress?: undefined;
511
- RewardToken?: undefined;
512
515
  Opportunity: {
513
516
  identifier?: undefined;
514
517
  mainProtocolId: {
@@ -516,6 +519,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
516
519
  mode: "insensitive";
517
520
  };
518
521
  };
522
+ RewardToken?: undefined;
519
523
  } | {
520
524
  id?: undefined;
521
525
  campaignId?: undefined;
@@ -523,19 +527,19 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
523
527
  Opportunity?: undefined;
524
528
  RewardToken: {
525
529
  OR: ({
526
- address?: undefined;
527
530
  symbol: {
528
531
  contains: string;
529
532
  mode: "insensitive";
530
533
  };
531
534
  displaySymbol?: undefined;
535
+ address?: undefined;
532
536
  } | {
533
537
  symbol?: undefined;
534
- address?: undefined;
535
538
  displaySymbol: {
536
539
  contains: string;
537
540
  mode: "insensitive";
538
541
  };
542
+ address?: undefined;
539
543
  } | {
540
544
  symbol?: undefined;
541
545
  displaySymbol?: undefined;
@@ -598,7 +602,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
598
602
  } | undefined;
599
603
  computeChainId: number | undefined;
600
604
  opportunityId: string | undefined;
601
- campaignId: string | undefined;
605
+ campaignId: string | {
606
+ in: string[];
607
+ } | undefined;
602
608
  Opportunity: {
603
609
  identifier: string | undefined;
604
610
  mainProtocolId: {
@@ -623,11 +629,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
623
629
  };
624
630
  displaySymbol?: undefined;
625
631
  } | {
626
- symbol?: undefined;
627
632
  displaySymbol: {
628
633
  equals: string;
629
634
  mode: "insensitive";
630
635
  };
636
+ symbol?: undefined;
631
637
  })[] | undefined;
632
638
  isTest: false | undefined;
633
639
  type: {
@@ -636,12 +642,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
636
642
  };
637
643
  };
638
644
  Creator: {
639
- tags?: undefined;
640
645
  OR: ({
641
- tags?: undefined;
642
646
  Creator: {
643
647
  id: string;
644
648
  };
649
+ tags?: undefined;
645
650
  } | {
646
651
  Creator?: undefined;
647
652
  tags: {
@@ -649,9 +654,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
649
654
  };
650
655
  })[];
651
656
  Creator?: undefined;
652
- } | {
653
657
  tags?: undefined;
658
+ } | {
654
659
  OR?: undefined;
660
+ tags?: undefined;
655
661
  Creator: {
656
662
  id: string;
657
663
  };
@@ -669,13 +675,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
669
675
  in: import("@package/resources/enums").DistributionType[];
670
676
  } | undefined;
671
677
  rootCampaignId: {
672
- not?: undefined;
673
678
  equals: string;
674
679
  mode: "insensitive";
675
- } | {
676
680
  not?: undefined;
681
+ } | {
677
682
  mode?: undefined;
678
683
  equals: null;
684
+ not?: undefined;
679
685
  } | {
680
686
  mode?: undefined;
681
687
  equals?: undefined;
@@ -687,49 +693,48 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
687
693
  } | undefined;
688
694
  AND: {
689
695
  OR: ({
690
- campaignId?: undefined;
691
- creatorAddress?: undefined;
692
- RewardToken?: undefined;
693
696
  id: {
694
697
  contains: string;
695
698
  mode: "insensitive";
696
699
  };
700
+ campaignId?: undefined;
701
+ creatorAddress?: undefined;
697
702
  Opportunity?: undefined;
703
+ RewardToken?: undefined;
698
704
  } | {
699
705
  id?: undefined;
700
- creatorAddress?: undefined;
701
- RewardToken?: undefined;
702
706
  campaignId: {
703
707
  contains: string;
704
708
  mode: "insensitive";
705
709
  };
710
+ creatorAddress?: undefined;
706
711
  Opportunity?: undefined;
712
+ RewardToken?: undefined;
707
713
  } | {
708
714
  id?: undefined;
709
715
  campaignId?: undefined;
710
- RewardToken?: undefined;
711
716
  creatorAddress: {
712
717
  contains: string;
713
718
  mode: "insensitive";
714
719
  };
715
720
  Opportunity?: undefined;
721
+ RewardToken?: undefined;
716
722
  } | {
717
723
  id?: undefined;
718
724
  campaignId?: undefined;
719
725
  creatorAddress?: undefined;
720
- RewardToken?: undefined;
721
726
  Opportunity: {
722
- mainProtocolId?: undefined;
723
727
  identifier: {
724
728
  contains: string;
725
729
  mode: "insensitive";
726
730
  };
731
+ mainProtocolId?: undefined;
727
732
  };
733
+ RewardToken?: undefined;
728
734
  } | {
729
735
  id?: undefined;
730
736
  campaignId?: undefined;
731
737
  creatorAddress?: undefined;
732
- RewardToken?: undefined;
733
738
  Opportunity: {
734
739
  identifier?: undefined;
735
740
  mainProtocolId: {
@@ -737,6 +742,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
737
742
  mode: "insensitive";
738
743
  };
739
744
  };
745
+ RewardToken?: undefined;
740
746
  } | {
741
747
  id?: undefined;
742
748
  campaignId?: undefined;
@@ -744,19 +750,19 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
744
750
  Opportunity?: undefined;
745
751
  RewardToken: {
746
752
  OR: ({
747
- address?: undefined;
748
753
  symbol: {
749
754
  contains: string;
750
755
  mode: "insensitive";
751
756
  };
752
757
  displaySymbol?: undefined;
758
+ address?: undefined;
753
759
  } | {
754
760
  symbol?: undefined;
755
- address?: undefined;
756
761
  displaySymbol: {
757
762
  contains: string;
758
763
  mode: "insensitive";
759
764
  };
765
+ address?: undefined;
760
766
  } | {
761
767
  symbol?: undefined;
762
768
  displaySymbol?: undefined;
@@ -823,7 +829,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
823
829
  } | undefined;
824
830
  computeChainId: number | undefined;
825
831
  opportunityId: string | undefined;
826
- campaignId: string | undefined;
832
+ campaignId: string | {
833
+ in: string[];
834
+ } | undefined;
827
835
  Opportunity: {
828
836
  identifier: string | undefined;
829
837
  mainProtocolId: {
@@ -848,11 +856,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
848
856
  };
849
857
  displaySymbol?: undefined;
850
858
  } | {
851
- symbol?: undefined;
852
859
  displaySymbol: {
853
860
  equals: string;
854
861
  mode: "insensitive";
855
862
  };
863
+ symbol?: undefined;
856
864
  })[] | undefined;
857
865
  isTest: false | undefined;
858
866
  type: {
@@ -861,12 +869,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
861
869
  };
862
870
  };
863
871
  Creator: {
864
- tags?: undefined;
865
872
  OR: ({
866
- tags?: undefined;
867
873
  Creator: {
868
874
  id: string;
869
875
  };
876
+ tags?: undefined;
870
877
  } | {
871
878
  Creator?: undefined;
872
879
  tags: {
@@ -874,9 +881,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
874
881
  };
875
882
  })[];
876
883
  Creator?: undefined;
877
- } | {
878
884
  tags?: undefined;
885
+ } | {
879
886
  OR?: undefined;
887
+ tags?: undefined;
880
888
  Creator: {
881
889
  id: string;
882
890
  };
@@ -894,13 +902,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
894
902
  in: import("@package/resources/enums").DistributionType[];
895
903
  } | undefined;
896
904
  rootCampaignId: {
897
- not?: undefined;
898
905
  equals: string;
899
906
  mode: "insensitive";
900
- } | {
901
907
  not?: undefined;
908
+ } | {
902
909
  mode?: undefined;
903
910
  equals: null;
911
+ not?: undefined;
904
912
  } | {
905
913
  mode?: undefined;
906
914
  equals?: undefined;
@@ -912,49 +920,48 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
912
920
  } | undefined;
913
921
  AND: {
914
922
  OR: ({
915
- campaignId?: undefined;
916
- creatorAddress?: undefined;
917
- RewardToken?: undefined;
918
923
  id: {
919
924
  contains: string;
920
925
  mode: "insensitive";
921
926
  };
927
+ campaignId?: undefined;
928
+ creatorAddress?: undefined;
922
929
  Opportunity?: undefined;
930
+ RewardToken?: undefined;
923
931
  } | {
924
932
  id?: undefined;
925
- creatorAddress?: undefined;
926
- RewardToken?: undefined;
927
933
  campaignId: {
928
934
  contains: string;
929
935
  mode: "insensitive";
930
936
  };
937
+ creatorAddress?: undefined;
931
938
  Opportunity?: undefined;
939
+ RewardToken?: undefined;
932
940
  } | {
933
941
  id?: undefined;
934
942
  campaignId?: undefined;
935
- RewardToken?: undefined;
936
943
  creatorAddress: {
937
944
  contains: string;
938
945
  mode: "insensitive";
939
946
  };
940
947
  Opportunity?: undefined;
948
+ RewardToken?: undefined;
941
949
  } | {
942
950
  id?: undefined;
943
951
  campaignId?: undefined;
944
952
  creatorAddress?: undefined;
945
- RewardToken?: undefined;
946
953
  Opportunity: {
947
- mainProtocolId?: undefined;
948
954
  identifier: {
949
955
  contains: string;
950
956
  mode: "insensitive";
951
957
  };
958
+ mainProtocolId?: undefined;
952
959
  };
960
+ RewardToken?: undefined;
953
961
  } | {
954
962
  id?: undefined;
955
963
  campaignId?: undefined;
956
964
  creatorAddress?: undefined;
957
- RewardToken?: undefined;
958
965
  Opportunity: {
959
966
  identifier?: undefined;
960
967
  mainProtocolId: {
@@ -962,6 +969,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
962
969
  mode: "insensitive";
963
970
  };
964
971
  };
972
+ RewardToken?: undefined;
965
973
  } | {
966
974
  id?: undefined;
967
975
  campaignId?: undefined;
@@ -969,19 +977,19 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
969
977
  Opportunity?: undefined;
970
978
  RewardToken: {
971
979
  OR: ({
972
- address?: undefined;
973
980
  symbol: {
974
981
  contains: string;
975
982
  mode: "insensitive";
976
983
  };
977
984
  displaySymbol?: undefined;
985
+ address?: undefined;
978
986
  } | {
979
987
  symbol?: undefined;
980
- address?: undefined;
981
988
  displaySymbol: {
982
989
  contains: string;
983
990
  mode: "insensitive";
984
991
  };
992
+ address?: undefined;
985
993
  } | {
986
994
  symbol?: undefined;
987
995
  displaySymbol?: undefined;
@@ -1038,7 +1046,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1038
1046
  } | undefined;
1039
1047
  computeChainId: number | undefined;
1040
1048
  opportunityId: string | undefined;
1041
- campaignId: string | undefined;
1049
+ campaignId: string | {
1050
+ in: string[];
1051
+ } | undefined;
1042
1052
  Opportunity: {
1043
1053
  identifier: string | undefined;
1044
1054
  mainProtocolId: {
@@ -1063,11 +1073,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1063
1073
  };
1064
1074
  displaySymbol?: undefined;
1065
1075
  } | {
1066
- symbol?: undefined;
1067
1076
  displaySymbol: {
1068
1077
  equals: string;
1069
1078
  mode: "insensitive";
1070
1079
  };
1080
+ symbol?: undefined;
1071
1081
  })[] | undefined;
1072
1082
  isTest: false | undefined;
1073
1083
  type: {
@@ -1076,12 +1086,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1076
1086
  };
1077
1087
  };
1078
1088
  Creator: {
1079
- tags?: undefined;
1080
1089
  OR: ({
1081
- tags?: undefined;
1082
1090
  Creator: {
1083
1091
  id: string;
1084
1092
  };
1093
+ tags?: undefined;
1085
1094
  } | {
1086
1095
  Creator?: undefined;
1087
1096
  tags: {
@@ -1089,9 +1098,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1089
1098
  };
1090
1099
  })[];
1091
1100
  Creator?: undefined;
1092
- } | {
1093
1101
  tags?: undefined;
1102
+ } | {
1094
1103
  OR?: undefined;
1104
+ tags?: undefined;
1095
1105
  Creator: {
1096
1106
  id: string;
1097
1107
  };
@@ -1109,13 +1119,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1109
1119
  in: import("@package/resources/enums").DistributionType[];
1110
1120
  } | undefined;
1111
1121
  rootCampaignId: {
1112
- not?: undefined;
1113
1122
  equals: string;
1114
1123
  mode: "insensitive";
1115
- } | {
1116
1124
  not?: undefined;
1125
+ } | {
1117
1126
  mode?: undefined;
1118
1127
  equals: null;
1128
+ not?: undefined;
1119
1129
  } | {
1120
1130
  mode?: undefined;
1121
1131
  equals?: undefined;
@@ -1127,49 +1137,48 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1127
1137
  } | undefined;
1128
1138
  AND: {
1129
1139
  OR: ({
1130
- campaignId?: undefined;
1131
- creatorAddress?: undefined;
1132
- RewardToken?: undefined;
1133
1140
  id: {
1134
1141
  contains: string;
1135
1142
  mode: "insensitive";
1136
1143
  };
1144
+ campaignId?: undefined;
1145
+ creatorAddress?: undefined;
1137
1146
  Opportunity?: undefined;
1147
+ RewardToken?: undefined;
1138
1148
  } | {
1139
1149
  id?: undefined;
1140
- creatorAddress?: undefined;
1141
- RewardToken?: undefined;
1142
1150
  campaignId: {
1143
1151
  contains: string;
1144
1152
  mode: "insensitive";
1145
1153
  };
1154
+ creatorAddress?: undefined;
1146
1155
  Opportunity?: undefined;
1156
+ RewardToken?: undefined;
1147
1157
  } | {
1148
1158
  id?: undefined;
1149
1159
  campaignId?: undefined;
1150
- RewardToken?: undefined;
1151
1160
  creatorAddress: {
1152
1161
  contains: string;
1153
1162
  mode: "insensitive";
1154
1163
  };
1155
1164
  Opportunity?: undefined;
1165
+ RewardToken?: undefined;
1156
1166
  } | {
1157
1167
  id?: undefined;
1158
1168
  campaignId?: undefined;
1159
1169
  creatorAddress?: undefined;
1160
- RewardToken?: undefined;
1161
1170
  Opportunity: {
1162
- mainProtocolId?: undefined;
1163
1171
  identifier: {
1164
1172
  contains: string;
1165
1173
  mode: "insensitive";
1166
1174
  };
1175
+ mainProtocolId?: undefined;
1167
1176
  };
1177
+ RewardToken?: undefined;
1168
1178
  } | {
1169
1179
  id?: undefined;
1170
1180
  campaignId?: undefined;
1171
1181
  creatorAddress?: undefined;
1172
- RewardToken?: undefined;
1173
1182
  Opportunity: {
1174
1183
  identifier?: undefined;
1175
1184
  mainProtocolId: {
@@ -1177,6 +1186,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1177
1186
  mode: "insensitive";
1178
1187
  };
1179
1188
  };
1189
+ RewardToken?: undefined;
1180
1190
  } | {
1181
1191
  id?: undefined;
1182
1192
  campaignId?: undefined;
@@ -1184,19 +1194,19 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1184
1194
  Opportunity?: undefined;
1185
1195
  RewardToken: {
1186
1196
  OR: ({
1187
- address?: undefined;
1188
1197
  symbol: {
1189
1198
  contains: string;
1190
1199
  mode: "insensitive";
1191
1200
  };
1192
1201
  displaySymbol?: undefined;
1202
+ address?: undefined;
1193
1203
  } | {
1194
1204
  symbol?: undefined;
1195
- address?: undefined;
1196
1205
  displaySymbol: {
1197
1206
  contains: string;
1198
1207
  mode: "insensitive";
1199
1208
  };
1209
+ address?: undefined;
1200
1210
  } | {
1201
1211
  symbol?: undefined;
1202
1212
  displaySymbol?: undefined;