@merkl/api 0.19.27 → 0.19.29
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.
- package/dist/database/api/.generated/drizzle/schema.d.ts +5 -5
- package/dist/database/api/.generated/drizzle/schema.js +1 -1
- package/dist/database/api/.generated/drizzle/schema.ts +1 -1
- package/dist/database/api/.generated/edge.js +3 -3
- package/dist/database/api/.generated/index.d.ts +35 -26
- package/dist/database/api/.generated/index.js +3 -3
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/src/eden/index.d.ts +35 -10
- package/dist/src/engine/opportunityMetadata/implementations/JsonAirdrop.d.ts +2 -2
- package/dist/src/index.d.ts +7 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +6 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +2 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +0 -1
- package/dist/src/modules/v4/protocol/protocol.service.js +21 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.service.d.ts +2 -2
- package/dist/src/modules/v4/router.d.ts +7 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -24816,11 +24816,11 @@ export namespace Prisma {
|
|
24816
24816
|
}
|
24817
24817
|
|
24818
24818
|
export type RewardBreakdownSumAggregateOutputType = {
|
24819
|
-
id:
|
24819
|
+
id: bigint | null
|
24820
24820
|
}
|
24821
24821
|
|
24822
24822
|
export type RewardBreakdownMinAggregateOutputType = {
|
24823
|
-
id:
|
24823
|
+
id: bigint | null
|
24824
24824
|
protocolId: string | null
|
24825
24825
|
reason: string | null
|
24826
24826
|
amount: string | null
|
@@ -24831,7 +24831,7 @@ export namespace Prisma {
|
|
24831
24831
|
}
|
24832
24832
|
|
24833
24833
|
export type RewardBreakdownMaxAggregateOutputType = {
|
24834
|
-
id:
|
24834
|
+
id: bigint | null
|
24835
24835
|
protocolId: string | null
|
24836
24836
|
reason: string | null
|
24837
24837
|
amount: string | null
|
@@ -24983,7 +24983,7 @@ export namespace Prisma {
|
|
24983
24983
|
}
|
24984
24984
|
|
24985
24985
|
export type RewardBreakdownGroupByOutputType = {
|
24986
|
-
id:
|
24986
|
+
id: bigint
|
24987
24987
|
protocolId: string | null
|
24988
24988
|
reason: string
|
24989
24989
|
amount: string
|
@@ -25090,7 +25090,7 @@ export namespace Prisma {
|
|
25090
25090
|
Campaign: Prisma.$CampaignPayload<ExtArgs>
|
25091
25091
|
}
|
25092
25092
|
scalars: $Extensions.GetPayloadResult<{
|
25093
|
-
id:
|
25093
|
+
id: bigint
|
25094
25094
|
protocolId: string | null
|
25095
25095
|
reason: string
|
25096
25096
|
amount: string
|
@@ -25524,7 +25524,7 @@ export namespace Prisma {
|
|
25524
25524
|
* Fields of the RewardBreakdown model
|
25525
25525
|
*/
|
25526
25526
|
interface RewardBreakdownFieldRefs {
|
25527
|
-
readonly id: FieldRef<"RewardBreakdown", '
|
25527
|
+
readonly id: FieldRef<"RewardBreakdown", 'BigInt'>
|
25528
25528
|
readonly protocolId: FieldRef<"RewardBreakdown", 'String'>
|
25529
25529
|
readonly reason: FieldRef<"RewardBreakdown", 'String'>
|
25530
25530
|
readonly amount: FieldRef<"RewardBreakdown", 'String'>
|
@@ -33571,7 +33571,7 @@ export namespace Prisma {
|
|
33571
33571
|
AND?: RewardBreakdownWhereInput | RewardBreakdownWhereInput[]
|
33572
33572
|
OR?: RewardBreakdownWhereInput[]
|
33573
33573
|
NOT?: RewardBreakdownWhereInput | RewardBreakdownWhereInput[]
|
33574
|
-
id?:
|
33574
|
+
id?: BigIntFilter<"RewardBreakdown"> | bigint | number
|
33575
33575
|
protocolId?: StringNullableFilter<"RewardBreakdown"> | string | null
|
33576
33576
|
reason?: StringFilter<"RewardBreakdown"> | string
|
33577
33577
|
amount?: StringFilter<"RewardBreakdown"> | string
|
@@ -33600,7 +33600,7 @@ export namespace Prisma {
|
|
33600
33600
|
}
|
33601
33601
|
|
33602
33602
|
export type RewardBreakdownWhereUniqueInput = Prisma.AtLeast<{
|
33603
|
-
id?: number
|
33603
|
+
id?: bigint | number
|
33604
33604
|
rewardId_campaignId_reason?: RewardBreakdownRewardIdCampaignIdReasonCompoundUniqueInput
|
33605
33605
|
AND?: RewardBreakdownWhereInput | RewardBreakdownWhereInput[]
|
33606
33606
|
OR?: RewardBreakdownWhereInput[]
|
@@ -33637,7 +33637,7 @@ export namespace Prisma {
|
|
33637
33637
|
AND?: RewardBreakdownScalarWhereWithAggregatesInput | RewardBreakdownScalarWhereWithAggregatesInput[]
|
33638
33638
|
OR?: RewardBreakdownScalarWhereWithAggregatesInput[]
|
33639
33639
|
NOT?: RewardBreakdownScalarWhereWithAggregatesInput | RewardBreakdownScalarWhereWithAggregatesInput[]
|
33640
|
-
id?:
|
33640
|
+
id?: BigIntWithAggregatesFilter<"RewardBreakdown"> | bigint | number
|
33641
33641
|
protocolId?: StringNullableWithAggregatesFilter<"RewardBreakdown"> | string | null
|
33642
33642
|
reason?: StringWithAggregatesFilter<"RewardBreakdown"> | string
|
33643
33643
|
amount?: StringWithAggregatesFilter<"RewardBreakdown"> | string
|
@@ -35226,6 +35226,7 @@ export namespace Prisma {
|
|
35226
35226
|
}
|
35227
35227
|
|
35228
35228
|
export type RewardBreakdownCreateInput = {
|
35229
|
+
id?: bigint | number
|
35229
35230
|
reason: string
|
35230
35231
|
amount: string
|
35231
35232
|
claimed: string
|
@@ -35236,7 +35237,7 @@ export namespace Prisma {
|
|
35236
35237
|
}
|
35237
35238
|
|
35238
35239
|
export type RewardBreakdownUncheckedCreateInput = {
|
35239
|
-
id?: number
|
35240
|
+
id?: bigint | number
|
35240
35241
|
protocolId?: string | null
|
35241
35242
|
reason: string
|
35242
35243
|
amount: string
|
@@ -35247,6 +35248,7 @@ export namespace Prisma {
|
|
35247
35248
|
}
|
35248
35249
|
|
35249
35250
|
export type RewardBreakdownUpdateInput = {
|
35251
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
35250
35252
|
reason?: StringFieldUpdateOperationsInput | string
|
35251
35253
|
amount?: StringFieldUpdateOperationsInput | string
|
35252
35254
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -35257,7 +35259,7 @@ export namespace Prisma {
|
|
35257
35259
|
}
|
35258
35260
|
|
35259
35261
|
export type RewardBreakdownUncheckedUpdateInput = {
|
35260
|
-
id?:
|
35262
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
35261
35263
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
35262
35264
|
reason?: StringFieldUpdateOperationsInput | string
|
35263
35265
|
amount?: StringFieldUpdateOperationsInput | string
|
@@ -35268,7 +35270,7 @@ export namespace Prisma {
|
|
35268
35270
|
}
|
35269
35271
|
|
35270
35272
|
export type RewardBreakdownCreateManyInput = {
|
35271
|
-
id?: number
|
35273
|
+
id?: bigint | number
|
35272
35274
|
protocolId?: string | null
|
35273
35275
|
reason: string
|
35274
35276
|
amount: string
|
@@ -35279,6 +35281,7 @@ export namespace Prisma {
|
|
35279
35281
|
}
|
35280
35282
|
|
35281
35283
|
export type RewardBreakdownUpdateManyMutationInput = {
|
35284
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
35282
35285
|
reason?: StringFieldUpdateOperationsInput | string
|
35283
35286
|
amount?: StringFieldUpdateOperationsInput | string
|
35284
35287
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -35286,7 +35289,7 @@ export namespace Prisma {
|
|
35286
35289
|
}
|
35287
35290
|
|
35288
35291
|
export type RewardBreakdownUncheckedUpdateManyInput = {
|
35289
|
-
id?:
|
35292
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
35290
35293
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
35291
35294
|
reason?: StringFieldUpdateOperationsInput | string
|
35292
35295
|
amount?: StringFieldUpdateOperationsInput | string
|
@@ -40151,6 +40154,7 @@ export namespace Prisma {
|
|
40151
40154
|
}
|
40152
40155
|
|
40153
40156
|
export type RewardBreakdownCreateWithoutCampaignInput = {
|
40157
|
+
id?: bigint | number
|
40154
40158
|
reason: string
|
40155
40159
|
amount: string
|
40156
40160
|
claimed: string
|
@@ -40160,7 +40164,7 @@ export namespace Prisma {
|
|
40160
40164
|
}
|
40161
40165
|
|
40162
40166
|
export type RewardBreakdownUncheckedCreateWithoutCampaignInput = {
|
40163
|
-
id?: number
|
40167
|
+
id?: bigint | number
|
40164
40168
|
protocolId?: string | null
|
40165
40169
|
reason: string
|
40166
40170
|
amount: string
|
@@ -40492,7 +40496,7 @@ export namespace Prisma {
|
|
40492
40496
|
AND?: RewardBreakdownScalarWhereInput | RewardBreakdownScalarWhereInput[]
|
40493
40497
|
OR?: RewardBreakdownScalarWhereInput[]
|
40494
40498
|
NOT?: RewardBreakdownScalarWhereInput | RewardBreakdownScalarWhereInput[]
|
40495
|
-
id?:
|
40499
|
+
id?: BigIntFilter<"RewardBreakdown"> | bigint | number
|
40496
40500
|
protocolId?: StringNullableFilter<"RewardBreakdown"> | string | null
|
40497
40501
|
reason?: StringFilter<"RewardBreakdown"> | string
|
40498
40502
|
amount?: StringFilter<"RewardBreakdown"> | string
|
@@ -42185,6 +42189,7 @@ export namespace Prisma {
|
|
42185
42189
|
}
|
42186
42190
|
|
42187
42191
|
export type RewardBreakdownCreateWithoutProtocolInput = {
|
42192
|
+
id?: bigint | number
|
42188
42193
|
reason: string
|
42189
42194
|
amount: string
|
42190
42195
|
claimed: string
|
@@ -42194,7 +42199,7 @@ export namespace Prisma {
|
|
42194
42199
|
}
|
42195
42200
|
|
42196
42201
|
export type RewardBreakdownUncheckedCreateWithoutProtocolInput = {
|
42197
|
-
id?: number
|
42202
|
+
id?: bigint | number
|
42198
42203
|
reason: string
|
42199
42204
|
amount: string
|
42200
42205
|
claimed: string
|
@@ -43677,6 +43682,7 @@ export namespace Prisma {
|
|
43677
43682
|
}
|
43678
43683
|
|
43679
43684
|
export type RewardBreakdownCreateWithoutRewardInput = {
|
43685
|
+
id?: bigint | number
|
43680
43686
|
reason: string
|
43681
43687
|
amount: string
|
43682
43688
|
claimed: string
|
@@ -43686,7 +43692,7 @@ export namespace Prisma {
|
|
43686
43692
|
}
|
43687
43693
|
|
43688
43694
|
export type RewardBreakdownUncheckedCreateWithoutRewardInput = {
|
43689
|
-
id?: number
|
43695
|
+
id?: bigint | number
|
43690
43696
|
protocolId?: string | null
|
43691
43697
|
reason: string
|
43692
43698
|
amount: string
|
@@ -44547,7 +44553,7 @@ export namespace Prisma {
|
|
44547
44553
|
}
|
44548
44554
|
|
44549
44555
|
export type RewardBreakdownCreateManyCampaignInput = {
|
44550
|
-
id?: number
|
44556
|
+
id?: bigint | number
|
44551
44557
|
protocolId?: string | null
|
44552
44558
|
reason: string
|
44553
44559
|
amount: string
|
@@ -44584,6 +44590,7 @@ export namespace Prisma {
|
|
44584
44590
|
}
|
44585
44591
|
|
44586
44592
|
export type RewardBreakdownUpdateWithoutCampaignInput = {
|
44593
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
44587
44594
|
reason?: StringFieldUpdateOperationsInput | string
|
44588
44595
|
amount?: StringFieldUpdateOperationsInput | string
|
44589
44596
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -44593,7 +44600,7 @@ export namespace Prisma {
|
|
44593
44600
|
}
|
44594
44601
|
|
44595
44602
|
export type RewardBreakdownUncheckedUpdateWithoutCampaignInput = {
|
44596
|
-
id?:
|
44603
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
44597
44604
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
44598
44605
|
reason?: StringFieldUpdateOperationsInput | string
|
44599
44606
|
amount?: StringFieldUpdateOperationsInput | string
|
@@ -44603,7 +44610,7 @@ export namespace Prisma {
|
|
44603
44610
|
}
|
44604
44611
|
|
44605
44612
|
export type RewardBreakdownUncheckedUpdateManyWithoutCampaignInput = {
|
44606
|
-
id?:
|
44613
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
44607
44614
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
44608
44615
|
reason?: StringFieldUpdateOperationsInput | string
|
44609
44616
|
amount?: StringFieldUpdateOperationsInput | string
|
@@ -45378,7 +45385,7 @@ export namespace Prisma {
|
|
45378
45385
|
}
|
45379
45386
|
|
45380
45387
|
export type RewardBreakdownCreateManyProtocolInput = {
|
45381
|
-
id?: number
|
45388
|
+
id?: bigint | number
|
45382
45389
|
reason: string
|
45383
45390
|
amount: string
|
45384
45391
|
claimed: string
|
@@ -45503,6 +45510,7 @@ export namespace Prisma {
|
|
45503
45510
|
}
|
45504
45511
|
|
45505
45512
|
export type RewardBreakdownUpdateWithoutProtocolInput = {
|
45513
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
45506
45514
|
reason?: StringFieldUpdateOperationsInput | string
|
45507
45515
|
amount?: StringFieldUpdateOperationsInput | string
|
45508
45516
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -45512,7 +45520,7 @@ export namespace Prisma {
|
|
45512
45520
|
}
|
45513
45521
|
|
45514
45522
|
export type RewardBreakdownUncheckedUpdateWithoutProtocolInput = {
|
45515
|
-
id?:
|
45523
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
45516
45524
|
reason?: StringFieldUpdateOperationsInput | string
|
45517
45525
|
amount?: StringFieldUpdateOperationsInput | string
|
45518
45526
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -45522,7 +45530,7 @@ export namespace Prisma {
|
|
45522
45530
|
}
|
45523
45531
|
|
45524
45532
|
export type RewardBreakdownUncheckedUpdateManyWithoutProtocolInput = {
|
45525
|
-
id?:
|
45533
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
45526
45534
|
reason?: StringFieldUpdateOperationsInput | string
|
45527
45535
|
amount?: StringFieldUpdateOperationsInput | string
|
45528
45536
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -46090,7 +46098,7 @@ export namespace Prisma {
|
|
46090
46098
|
}
|
46091
46099
|
|
46092
46100
|
export type RewardBreakdownCreateManyRewardInput = {
|
46093
|
-
id?: number
|
46101
|
+
id?: bigint | number
|
46094
46102
|
protocolId?: string | null
|
46095
46103
|
reason: string
|
46096
46104
|
amount: string
|
@@ -46100,6 +46108,7 @@ export namespace Prisma {
|
|
46100
46108
|
}
|
46101
46109
|
|
46102
46110
|
export type RewardBreakdownUpdateWithoutRewardInput = {
|
46111
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
46103
46112
|
reason?: StringFieldUpdateOperationsInput | string
|
46104
46113
|
amount?: StringFieldUpdateOperationsInput | string
|
46105
46114
|
claimed?: StringFieldUpdateOperationsInput | string
|
@@ -46109,7 +46118,7 @@ export namespace Prisma {
|
|
46109
46118
|
}
|
46110
46119
|
|
46111
46120
|
export type RewardBreakdownUncheckedUpdateWithoutRewardInput = {
|
46112
|
-
id?:
|
46121
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
46113
46122
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
46114
46123
|
reason?: StringFieldUpdateOperationsInput | string
|
46115
46124
|
amount?: StringFieldUpdateOperationsInput | string
|
@@ -46119,7 +46128,7 @@ export namespace Prisma {
|
|
46119
46128
|
}
|
46120
46129
|
|
46121
46130
|
export type RewardBreakdownUncheckedUpdateManyWithoutRewardInput = {
|
46122
|
-
id?:
|
46131
|
+
id?: BigIntFieldUpdateOperationsInput | bigint | number
|
46123
46132
|
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
46124
46133
|
reason?: StringFieldUpdateOperationsInput | string
|
46125
46134
|
amount?: StringFieldUpdateOperationsInput | string
|