@merkl/api 1.18.13 → 1.18.14

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 (28) hide show
  1. package/dist/src/eden/index.d.ts +54 -0
  2. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  3. package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
  4. package/dist/src/index.d.ts +66 -0
  5. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +66 -66
  6. package/dist/src/modules/v4/historical/historical.controller.d.ts +95 -0
  7. package/dist/src/modules/v4/historical/historical.controller.js.map +1 -0
  8. package/dist/src/modules/v4/historical/historical.model.d.ts +38 -0
  9. package/dist/src/modules/v4/historical/historical.model.js.map +1 -0
  10. package/dist/src/modules/v4/historical/historical.service.d.ts +16 -0
  11. package/dist/src/modules/v4/historical/historical.service.js.map +1 -0
  12. package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
  13. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +10 -0
  14. package/dist/src/modules/v4/merklRoot/merklRoot.repository.js.map +1 -1
  15. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +10 -0
  16. package/dist/src/modules/v4/merklRoot/merklRoot.service.js.map +1 -1
  17. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +33 -33
  18. package/dist/src/modules/v4/router.d.ts +66 -0
  19. package/dist/src/modules/v4/router.js.map +1 -1
  20. package/dist/src/scripts/bench-merkl.js.map +1 -1
  21. package/dist/src/scripts/ingest-tree-all.js.map +1 -1
  22. package/dist/src/scripts/ingest-tree-history.d.ts +19 -0
  23. package/dist/src/scripts/ingest-tree-history.js.map +1 -0
  24. package/dist/src/scripts/ingest-tree.js.map +1 -1
  25. package/dist/src/scripts/perf-tree.js.map +1 -1
  26. package/dist/src/scripts/verify-tree.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +1 -1
@@ -11401,6 +11401,60 @@ declare const eden: {
11401
11401
  };
11402
11402
  }>>;
11403
11403
  };
11404
+ historical: {
11405
+ campaign: ((params: {
11406
+ campaignId: string | number;
11407
+ }) => {
11408
+ get: (options: {
11409
+ fetch?: RequestInit | undefined;
11410
+ headers: {
11411
+ authorization: string;
11412
+ };
11413
+ query: {
11414
+ chainId: number;
11415
+ startDate: string;
11416
+ endDate: string;
11417
+ };
11418
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11419
+ 200: import("../modules/v4/historical/historical.model").HistoricalDiffResult;
11420
+ 422: {
11421
+ type: "validation";
11422
+ on: string;
11423
+ summary?: string | undefined;
11424
+ message?: string | undefined;
11425
+ found?: unknown;
11426
+ property?: string | undefined;
11427
+ expected?: string | undefined;
11428
+ };
11429
+ }>>;
11430
+ }) & {};
11431
+ recipient: ((params: {
11432
+ recipient: string | number;
11433
+ }) => {
11434
+ get: (options: {
11435
+ fetch?: RequestInit | undefined;
11436
+ headers: {
11437
+ authorization: string;
11438
+ };
11439
+ query: {
11440
+ chainId: number;
11441
+ startDate: string;
11442
+ endDate: string;
11443
+ };
11444
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11445
+ 200: import("../modules/v4/historical/historical.model").HistoricalDiffResult;
11446
+ 422: {
11447
+ type: "validation";
11448
+ on: string;
11449
+ summary?: string | undefined;
11450
+ message?: string | undefined;
11451
+ found?: unknown;
11452
+ property?: string | undefined;
11453
+ expected?: string | undefined;
11454
+ };
11455
+ }>>;
11456
+ }) & {};
11457
+ };
11404
11458
  "indexing-range": {
11405
11459
  engine: {
11406
11460
  lock: ((params: {
@@ -17,13 +17,13 @@ export declare class ErcMultiTokenMetadata implements MetadataBuilder<campaignTy
17
17
  mainProtocol: ProtocolType;
18
18
  depositUrl: string;
19
19
  } | {
20
- description?: undefined;
21
20
  action: "HOLD";
22
21
  name: string;
23
22
  tokens: never[];
24
23
  explorerAddress: string;
25
24
  mainProtocol: undefined;
26
25
  depositUrl: undefined;
26
+ description?: undefined;
27
27
  }>;
28
28
  }
29
29
  export {};
@@ -16,7 +16,6 @@ export declare class StabullStakingMetadata implements MetadataBuilder<campaignT
16
16
  description: string;
17
17
  howToSteps: string[];
18
18
  } | {
19
- description?: undefined;
20
19
  howToSteps?: undefined;
21
20
  action: "STAKE";
22
21
  mainProtocol: ProtocolType;
@@ -27,6 +26,7 @@ export declare class StabullStakingMetadata implements MetadataBuilder<campaignT
27
26
  }[];
28
27
  explorerAddress: string | undefined;
29
28
  depositUrl: string | undefined;
29
+ description?: undefined;
30
30
  }>;
31
31
  }
32
32
  export {};
@@ -11885,6 +11885,72 @@ declare const app: Elysia<"", {
11885
11885
  };
11886
11886
  };
11887
11887
  };
11888
+ } & {
11889
+ historical: {
11890
+ campaign: {
11891
+ ":campaignId": {
11892
+ get: {
11893
+ body: unknown;
11894
+ params: {
11895
+ campaignId: string;
11896
+ };
11897
+ query: {
11898
+ chainId: number;
11899
+ startDate: string;
11900
+ endDate: string;
11901
+ };
11902
+ headers: {
11903
+ authorization: string;
11904
+ };
11905
+ response: {
11906
+ 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
11907
+ 422: {
11908
+ type: "validation";
11909
+ on: string;
11910
+ summary?: string | undefined;
11911
+ message?: string | undefined;
11912
+ found?: unknown;
11913
+ property?: string | undefined;
11914
+ expected?: string | undefined;
11915
+ };
11916
+ };
11917
+ };
11918
+ };
11919
+ };
11920
+ };
11921
+ } & {
11922
+ historical: {
11923
+ recipient: {
11924
+ ":recipient": {
11925
+ get: {
11926
+ body: unknown;
11927
+ params: {
11928
+ recipient: string;
11929
+ };
11930
+ query: {
11931
+ chainId: number;
11932
+ startDate: string;
11933
+ endDate: string;
11934
+ };
11935
+ headers: {
11936
+ authorization: string;
11937
+ };
11938
+ response: {
11939
+ 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
11940
+ 422: {
11941
+ type: "validation";
11942
+ on: string;
11943
+ summary?: string | undefined;
11944
+ message?: string | undefined;
11945
+ found?: unknown;
11946
+ property?: string | undefined;
11947
+ expected?: string | undefined;
11948
+ };
11949
+ };
11950
+ };
11951
+ };
11952
+ };
11953
+ };
11888
11954
  } & {
11889
11955
  "indexing-range": {
11890
11956
  workflow: {
@@ -204,12 +204,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
204
204
  };
205
205
  };
206
206
  Creator: {
207
- tags?: undefined;
208
207
  OR: ({
209
- tags?: undefined;
210
208
  Creator: {
211
209
  id: string;
212
210
  };
211
+ tags?: undefined;
213
212
  } | {
214
213
  Creator?: undefined;
215
214
  tags: {
@@ -217,9 +216,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
217
216
  };
218
217
  })[];
219
218
  Creator?: undefined;
220
- } | {
221
219
  tags?: undefined;
220
+ } | {
222
221
  OR?: undefined;
222
+ tags?: undefined;
223
223
  Creator: {
224
224
  id: string;
225
225
  };
@@ -260,12 +260,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
260
260
  contains: string;
261
261
  mode: "insensitive";
262
262
  };
263
- campaignId?: undefined;
264
263
  creatorAddress?: undefined;
265
264
  Opportunity?: undefined;
266
265
  RewardToken?: undefined;
266
+ campaignId?: undefined;
267
267
  } | {
268
- id?: undefined;
269
268
  campaignId: {
270
269
  contains: string;
271
270
  mode: "insensitive";
@@ -273,18 +272,17 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
273
272
  creatorAddress?: undefined;
274
273
  Opportunity?: undefined;
275
274
  RewardToken?: undefined;
276
- } | {
277
275
  id?: undefined;
278
- campaignId?: undefined;
276
+ } | {
279
277
  creatorAddress: {
280
278
  contains: string;
281
279
  mode: "insensitive";
282
280
  };
283
281
  Opportunity?: undefined;
284
282
  RewardToken?: undefined;
285
- } | {
286
- id?: undefined;
287
283
  campaignId?: undefined;
284
+ id?: undefined;
285
+ } | {
288
286
  creatorAddress?: undefined;
289
287
  Opportunity: {
290
288
  identifier: {
@@ -294,9 +292,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
294
292
  mainProtocolId?: undefined;
295
293
  };
296
294
  RewardToken?: undefined;
297
- } | {
298
- id?: undefined;
299
295
  campaignId?: undefined;
296
+ id?: undefined;
297
+ } | {
300
298
  creatorAddress?: undefined;
301
299
  Opportunity: {
302
300
  identifier?: undefined;
@@ -306,9 +304,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
306
304
  };
307
305
  };
308
306
  RewardToken?: undefined;
309
- } | {
310
- id?: undefined;
311
307
  campaignId?: undefined;
308
+ id?: undefined;
309
+ } | {
312
310
  creatorAddress?: undefined;
313
311
  Opportunity?: undefined;
314
312
  RewardToken: {
@@ -335,6 +333,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
335
333
  };
336
334
  })[];
337
335
  };
336
+ campaignId?: undefined;
337
+ id?: undefined;
338
338
  })[];
339
339
  }[] | undefined;
340
340
  } | {
@@ -343,7 +343,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
343
343
  gt?: undefined;
344
344
  gte?: undefined;
345
345
  };
346
- startTimestamp?: undefined;
347
346
  OR: {
348
347
  id: string;
349
348
  }[] | ({
@@ -428,12 +427,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
428
427
  };
429
428
  };
430
429
  Creator: {
431
- tags?: undefined;
432
430
  OR: ({
433
- tags?: undefined;
434
431
  Creator: {
435
432
  id: string;
436
433
  };
434
+ tags?: undefined;
437
435
  } | {
438
436
  Creator?: undefined;
439
437
  tags: {
@@ -441,9 +439,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
441
439
  };
442
440
  })[];
443
441
  Creator?: undefined;
444
- } | {
445
442
  tags?: undefined;
443
+ } | {
446
444
  OR?: undefined;
445
+ tags?: undefined;
447
446
  Creator: {
448
447
  id: string;
449
448
  };
@@ -484,12 +483,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
484
483
  contains: string;
485
484
  mode: "insensitive";
486
485
  };
487
- campaignId?: undefined;
488
486
  creatorAddress?: undefined;
489
487
  Opportunity?: undefined;
490
488
  RewardToken?: undefined;
489
+ campaignId?: undefined;
491
490
  } | {
492
- id?: undefined;
493
491
  campaignId: {
494
492
  contains: string;
495
493
  mode: "insensitive";
@@ -497,18 +495,17 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
497
495
  creatorAddress?: undefined;
498
496
  Opportunity?: undefined;
499
497
  RewardToken?: undefined;
500
- } | {
501
498
  id?: undefined;
502
- campaignId?: undefined;
499
+ } | {
503
500
  creatorAddress: {
504
501
  contains: string;
505
502
  mode: "insensitive";
506
503
  };
507
504
  Opportunity?: undefined;
508
505
  RewardToken?: undefined;
509
- } | {
510
- id?: undefined;
511
506
  campaignId?: undefined;
507
+ id?: undefined;
508
+ } | {
512
509
  creatorAddress?: undefined;
513
510
  Opportunity: {
514
511
  identifier: {
@@ -518,9 +515,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
518
515
  mainProtocolId?: undefined;
519
516
  };
520
517
  RewardToken?: undefined;
521
- } | {
522
- id?: undefined;
523
518
  campaignId?: undefined;
519
+ id?: undefined;
520
+ } | {
524
521
  creatorAddress?: undefined;
525
522
  Opportunity: {
526
523
  identifier?: undefined;
@@ -530,9 +527,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
530
527
  };
531
528
  };
532
529
  RewardToken?: undefined;
533
- } | {
534
- id?: undefined;
535
530
  campaignId?: undefined;
531
+ id?: undefined;
532
+ } | {
536
533
  creatorAddress?: undefined;
537
534
  Opportunity?: undefined;
538
535
  RewardToken: {
@@ -559,8 +556,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
559
556
  };
560
557
  })[];
561
558
  };
559
+ campaignId?: undefined;
560
+ id?: undefined;
562
561
  })[];
563
562
  }[] | undefined;
563
+ startTimestamp?: undefined;
564
564
  } | {
565
565
  startTimestamp: {
566
566
  lte?: undefined;
@@ -652,12 +652,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
652
652
  };
653
653
  };
654
654
  Creator: {
655
- tags?: undefined;
656
655
  OR: ({
657
- tags?: undefined;
658
656
  Creator: {
659
657
  id: string;
660
658
  };
659
+ tags?: undefined;
661
660
  } | {
662
661
  Creator?: undefined;
663
662
  tags: {
@@ -665,9 +664,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
665
664
  };
666
665
  })[];
667
666
  Creator?: undefined;
668
- } | {
669
667
  tags?: undefined;
668
+ } | {
670
669
  OR?: undefined;
670
+ tags?: undefined;
671
671
  Creator: {
672
672
  id: string;
673
673
  };
@@ -708,12 +708,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
708
708
  contains: string;
709
709
  mode: "insensitive";
710
710
  };
711
- campaignId?: undefined;
712
711
  creatorAddress?: undefined;
713
712
  Opportunity?: undefined;
714
713
  RewardToken?: undefined;
714
+ campaignId?: undefined;
715
715
  } | {
716
- id?: undefined;
717
716
  campaignId: {
718
717
  contains: string;
719
718
  mode: "insensitive";
@@ -721,18 +720,17 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
721
720
  creatorAddress?: undefined;
722
721
  Opportunity?: undefined;
723
722
  RewardToken?: undefined;
724
- } | {
725
723
  id?: undefined;
726
- campaignId?: undefined;
724
+ } | {
727
725
  creatorAddress: {
728
726
  contains: string;
729
727
  mode: "insensitive";
730
728
  };
731
729
  Opportunity?: undefined;
732
730
  RewardToken?: undefined;
733
- } | {
734
- id?: undefined;
735
731
  campaignId?: undefined;
732
+ id?: undefined;
733
+ } | {
736
734
  creatorAddress?: undefined;
737
735
  Opportunity: {
738
736
  identifier: {
@@ -742,9 +740,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
742
740
  mainProtocolId?: undefined;
743
741
  };
744
742
  RewardToken?: undefined;
745
- } | {
746
- id?: undefined;
747
743
  campaignId?: undefined;
744
+ id?: undefined;
745
+ } | {
748
746
  creatorAddress?: undefined;
749
747
  Opportunity: {
750
748
  identifier?: undefined;
@@ -754,9 +752,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
754
752
  };
755
753
  };
756
754
  RewardToken?: undefined;
757
- } | {
758
- id?: undefined;
759
755
  campaignId?: undefined;
756
+ id?: undefined;
757
+ } | {
760
758
  creatorAddress?: undefined;
761
759
  Opportunity?: undefined;
762
760
  RewardToken: {
@@ -783,6 +781,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
783
781
  };
784
782
  })[];
785
783
  };
784
+ campaignId?: undefined;
785
+ id?: undefined;
786
786
  })[];
787
787
  }[] | undefined;
788
788
  } | {
@@ -880,12 +880,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
880
880
  };
881
881
  };
882
882
  Creator: {
883
- tags?: undefined;
884
883
  OR: ({
885
- tags?: undefined;
886
884
  Creator: {
887
885
  id: string;
888
886
  };
887
+ tags?: undefined;
889
888
  } | {
890
889
  Creator?: undefined;
891
890
  tags: {
@@ -893,9 +892,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
893
892
  };
894
893
  })[];
895
894
  Creator?: undefined;
896
- } | {
897
895
  tags?: undefined;
896
+ } | {
898
897
  OR?: undefined;
898
+ tags?: undefined;
899
899
  Creator: {
900
900
  id: string;
901
901
  };
@@ -936,12 +936,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
936
936
  contains: string;
937
937
  mode: "insensitive";
938
938
  };
939
- campaignId?: undefined;
940
939
  creatorAddress?: undefined;
941
940
  Opportunity?: undefined;
942
941
  RewardToken?: undefined;
942
+ campaignId?: undefined;
943
943
  } | {
944
- id?: undefined;
945
944
  campaignId: {
946
945
  contains: string;
947
946
  mode: "insensitive";
@@ -949,18 +948,17 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
949
948
  creatorAddress?: undefined;
950
949
  Opportunity?: undefined;
951
950
  RewardToken?: undefined;
952
- } | {
953
951
  id?: undefined;
954
- campaignId?: undefined;
952
+ } | {
955
953
  creatorAddress: {
956
954
  contains: string;
957
955
  mode: "insensitive";
958
956
  };
959
957
  Opportunity?: undefined;
960
958
  RewardToken?: undefined;
961
- } | {
962
- id?: undefined;
963
959
  campaignId?: undefined;
960
+ id?: undefined;
961
+ } | {
964
962
  creatorAddress?: undefined;
965
963
  Opportunity: {
966
964
  identifier: {
@@ -970,9 +968,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
970
968
  mainProtocolId?: undefined;
971
969
  };
972
970
  RewardToken?: undefined;
973
- } | {
974
- id?: undefined;
975
971
  campaignId?: undefined;
972
+ id?: undefined;
973
+ } | {
976
974
  creatorAddress?: undefined;
977
975
  Opportunity: {
978
976
  identifier?: undefined;
@@ -982,9 +980,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
982
980
  };
983
981
  };
984
982
  RewardToken?: undefined;
985
- } | {
986
- id?: undefined;
987
983
  campaignId?: undefined;
984
+ id?: undefined;
985
+ } | {
988
986
  creatorAddress?: undefined;
989
987
  Opportunity?: undefined;
990
988
  RewardToken: {
@@ -1011,6 +1009,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1011
1009
  };
1012
1010
  })[];
1013
1011
  };
1012
+ campaignId?: undefined;
1013
+ id?: undefined;
1014
1014
  })[];
1015
1015
  }[] | undefined;
1016
1016
  } | {
@@ -1098,12 +1098,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1098
1098
  };
1099
1099
  };
1100
1100
  Creator: {
1101
- tags?: undefined;
1102
1101
  OR: ({
1103
- tags?: undefined;
1104
1102
  Creator: {
1105
1103
  id: string;
1106
1104
  };
1105
+ tags?: undefined;
1107
1106
  } | {
1108
1107
  Creator?: undefined;
1109
1108
  tags: {
@@ -1111,9 +1110,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1111
1110
  };
1112
1111
  })[];
1113
1112
  Creator?: undefined;
1114
- } | {
1115
1113
  tags?: undefined;
1114
+ } | {
1116
1115
  OR?: undefined;
1116
+ tags?: undefined;
1117
1117
  Creator: {
1118
1118
  id: string;
1119
1119
  };
@@ -1154,12 +1154,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1154
1154
  contains: string;
1155
1155
  mode: "insensitive";
1156
1156
  };
1157
- campaignId?: undefined;
1158
1157
  creatorAddress?: undefined;
1159
1158
  Opportunity?: undefined;
1160
1159
  RewardToken?: undefined;
1160
+ campaignId?: undefined;
1161
1161
  } | {
1162
- id?: undefined;
1163
1162
  campaignId: {
1164
1163
  contains: string;
1165
1164
  mode: "insensitive";
@@ -1167,18 +1166,17 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1167
1166
  creatorAddress?: undefined;
1168
1167
  Opportunity?: undefined;
1169
1168
  RewardToken?: undefined;
1170
- } | {
1171
1169
  id?: undefined;
1172
- campaignId?: undefined;
1170
+ } | {
1173
1171
  creatorAddress: {
1174
1172
  contains: string;
1175
1173
  mode: "insensitive";
1176
1174
  };
1177
1175
  Opportunity?: undefined;
1178
1176
  RewardToken?: undefined;
1179
- } | {
1180
- id?: undefined;
1181
1177
  campaignId?: undefined;
1178
+ id?: undefined;
1179
+ } | {
1182
1180
  creatorAddress?: undefined;
1183
1181
  Opportunity: {
1184
1182
  identifier: {
@@ -1188,9 +1186,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1188
1186
  mainProtocolId?: undefined;
1189
1187
  };
1190
1188
  RewardToken?: undefined;
1191
- } | {
1192
- id?: undefined;
1193
1189
  campaignId?: undefined;
1190
+ id?: undefined;
1191
+ } | {
1194
1192
  creatorAddress?: undefined;
1195
1193
  Opportunity: {
1196
1194
  identifier?: undefined;
@@ -1200,9 +1198,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1200
1198
  };
1201
1199
  };
1202
1200
  RewardToken?: undefined;
1203
- } | {
1204
- id?: undefined;
1205
1201
  campaignId?: undefined;
1202
+ id?: undefined;
1203
+ } | {
1206
1204
  creatorAddress?: undefined;
1207
1205
  Opportunity?: undefined;
1208
1206
  RewardToken: {
@@ -1229,6 +1227,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1229
1227
  };
1230
1228
  })[];
1231
1229
  };
1230
+ campaignId?: undefined;
1231
+ id?: undefined;
1232
1232
  })[];
1233
1233
  }[] | undefined;
1234
1234
  };