@merkl/api 0.20.170 → 0.20.172
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 +57 -0
- package/dist/database/api/.generated/drizzle/schema.js +52 -4
- package/dist/database/api/.generated/drizzle/schema.ts +52 -4
- package/dist/database/api/.generated/edge.js +13 -7
- package/dist/database/api/.generated/index-browser.js +10 -4
- package/dist/database/api/.generated/index.d.ts +1624 -39
- package/dist/database/api/.generated/index.js +13 -7
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +23 -13
- package/dist/database/api/.generated/wasm.js +10 -4
- package/dist/src/eden/index.d.ts +80 -15
- package/dist/src/engine/deprecated/dynamicData/factory.js +0 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js +4 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/metadata.js +24 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/termmax/tvl.js +69 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.js +1 -0
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/Locker/tvl.js +7 -2
- package/dist/src/engine/metadata/factory.js +0 -1
- package/dist/src/index.d.ts +28 -5
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +2 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +16 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +25 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +3 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +8 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +10 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +13 -3
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +3 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +9 -0
- package/dist/src/modules/v4/reward/reward.service.js +2 -1
- package/dist/src/modules/v4/router.d.ts +28 -5
- package/dist/src/modules/v4/user/user.controller.d.ts +3 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -3127,6 +3127,9 @@ export namespace Prisma {
|
|
3127
3127
|
CampaignStatus: number
|
3128
3128
|
CampaignEngineValues: number
|
3129
3129
|
UserComputedValue: number
|
3130
|
+
subCampaigns: number
|
3131
|
+
childCampaigns: number
|
3132
|
+
RewardBreakdownSubCampaign: number
|
3130
3133
|
}
|
3131
3134
|
|
3132
3135
|
export type CampaignCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
@@ -3135,6 +3138,9 @@ export namespace Prisma {
|
|
3135
3138
|
CampaignStatus?: boolean | CampaignCountOutputTypeCountCampaignStatusArgs
|
3136
3139
|
CampaignEngineValues?: boolean | CampaignCountOutputTypeCountCampaignEngineValuesArgs
|
3137
3140
|
UserComputedValue?: boolean | CampaignCountOutputTypeCountUserComputedValueArgs
|
3141
|
+
subCampaigns?: boolean | CampaignCountOutputTypeCountSubCampaignsArgs
|
3142
|
+
childCampaigns?: boolean | CampaignCountOutputTypeCountChildCampaignsArgs
|
3143
|
+
RewardBreakdownSubCampaign?: boolean | CampaignCountOutputTypeCountRewardBreakdownSubCampaignArgs
|
3138
3144
|
}
|
3139
3145
|
|
3140
3146
|
// Custom InputTypes
|
@@ -3183,6 +3189,27 @@ export namespace Prisma {
|
|
3183
3189
|
where?: UserComputedValueWhereInput
|
3184
3190
|
}
|
3185
3191
|
|
3192
|
+
/**
|
3193
|
+
* CampaignCountOutputType without action
|
3194
|
+
*/
|
3195
|
+
export type CampaignCountOutputTypeCountSubCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
3196
|
+
where?: CampaignWhereInput
|
3197
|
+
}
|
3198
|
+
|
3199
|
+
/**
|
3200
|
+
* CampaignCountOutputType without action
|
3201
|
+
*/
|
3202
|
+
export type CampaignCountOutputTypeCountChildCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
3203
|
+
where?: CampaignWhereInput
|
3204
|
+
}
|
3205
|
+
|
3206
|
+
/**
|
3207
|
+
* CampaignCountOutputType without action
|
3208
|
+
*/
|
3209
|
+
export type CampaignCountOutputTypeCountRewardBreakdownSubCampaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
3210
|
+
where?: RewardBreakdownWhereInput
|
3211
|
+
}
|
3212
|
+
|
3186
3213
|
|
3187
3214
|
/**
|
3188
3215
|
* Count Type ChainCountOutputType
|
@@ -3762,6 +3789,8 @@ export namespace Prisma {
|
|
3762
3789
|
description: string | null
|
3763
3790
|
creatorAddress: string | null
|
3764
3791
|
createdAt: Date | null
|
3792
|
+
rootCampaignId: string | null
|
3793
|
+
parentCampaignId: string | null
|
3765
3794
|
}
|
3766
3795
|
|
3767
3796
|
export type CampaignMaxAggregateOutputType = {
|
@@ -3780,6 +3809,8 @@ export namespace Prisma {
|
|
3780
3809
|
description: string | null
|
3781
3810
|
creatorAddress: string | null
|
3782
3811
|
createdAt: Date | null
|
3812
|
+
rootCampaignId: string | null
|
3813
|
+
parentCampaignId: string | null
|
3783
3814
|
}
|
3784
3815
|
|
3785
3816
|
export type CampaignCountAggregateOutputType = {
|
@@ -3800,6 +3831,8 @@ export namespace Prisma {
|
|
3800
3831
|
creatorAddress: number
|
3801
3832
|
manualOverrides: number
|
3802
3833
|
createdAt: number
|
3834
|
+
rootCampaignId: number
|
3835
|
+
parentCampaignId: number
|
3803
3836
|
_all: number
|
3804
3837
|
}
|
3805
3838
|
|
@@ -3836,6 +3869,8 @@ export namespace Prisma {
|
|
3836
3869
|
description?: true
|
3837
3870
|
creatorAddress?: true
|
3838
3871
|
createdAt?: true
|
3872
|
+
rootCampaignId?: true
|
3873
|
+
parentCampaignId?: true
|
3839
3874
|
}
|
3840
3875
|
|
3841
3876
|
export type CampaignMaxAggregateInputType = {
|
@@ -3854,6 +3889,8 @@ export namespace Prisma {
|
|
3854
3889
|
description?: true
|
3855
3890
|
creatorAddress?: true
|
3856
3891
|
createdAt?: true
|
3892
|
+
rootCampaignId?: true
|
3893
|
+
parentCampaignId?: true
|
3857
3894
|
}
|
3858
3895
|
|
3859
3896
|
export type CampaignCountAggregateInputType = {
|
@@ -3874,6 +3911,8 @@ export namespace Prisma {
|
|
3874
3911
|
creatorAddress?: true
|
3875
3912
|
manualOverrides?: true
|
3876
3913
|
createdAt?: true
|
3914
|
+
rootCampaignId?: true
|
3915
|
+
parentCampaignId?: true
|
3877
3916
|
_all?: true
|
3878
3917
|
}
|
3879
3918
|
|
@@ -3981,6 +4020,8 @@ export namespace Prisma {
|
|
3981
4020
|
creatorAddress: string
|
3982
4021
|
manualOverrides: $Enums.CampaignManualOverride[]
|
3983
4022
|
createdAt: Date
|
4023
|
+
rootCampaignId: string | null
|
4024
|
+
parentCampaignId: string | null
|
3984
4025
|
_count: CampaignCountAggregateOutputType | null
|
3985
4026
|
_avg: CampaignAvgAggregateOutputType | null
|
3986
4027
|
_sum: CampaignSumAggregateOutputType | null
|
@@ -4020,6 +4061,8 @@ export namespace Prisma {
|
|
4020
4061
|
creatorAddress?: boolean
|
4021
4062
|
manualOverrides?: boolean
|
4022
4063
|
createdAt?: boolean
|
4064
|
+
rootCampaignId?: boolean
|
4065
|
+
parentCampaignId?: boolean
|
4023
4066
|
ComputeChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4024
4067
|
DistributionChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4025
4068
|
RewardToken?: boolean | TokenDefaultArgs<ExtArgs>
|
@@ -4030,6 +4073,11 @@ export namespace Prisma {
|
|
4030
4073
|
CampaignStatus?: boolean | Campaign$CampaignStatusArgs<ExtArgs>
|
4031
4074
|
CampaignEngineValues?: boolean | Campaign$CampaignEngineValuesArgs<ExtArgs>
|
4032
4075
|
UserComputedValue?: boolean | Campaign$UserComputedValueArgs<ExtArgs>
|
4076
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4077
|
+
subCampaigns?: boolean | Campaign$subCampaignsArgs<ExtArgs>
|
4078
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4079
|
+
childCampaigns?: boolean | Campaign$childCampaignsArgs<ExtArgs>
|
4080
|
+
RewardBreakdownSubCampaign?: boolean | Campaign$RewardBreakdownSubCampaignArgs<ExtArgs>
|
4033
4081
|
_count?: boolean | CampaignCountOutputTypeDefaultArgs<ExtArgs>
|
4034
4082
|
}, ExtArgs["result"]["campaign"]>
|
4035
4083
|
|
@@ -4051,11 +4099,15 @@ export namespace Prisma {
|
|
4051
4099
|
creatorAddress?: boolean
|
4052
4100
|
manualOverrides?: boolean
|
4053
4101
|
createdAt?: boolean
|
4102
|
+
rootCampaignId?: boolean
|
4103
|
+
parentCampaignId?: boolean
|
4054
4104
|
ComputeChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4055
4105
|
DistributionChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4056
4106
|
RewardToken?: boolean | TokenDefaultArgs<ExtArgs>
|
4057
4107
|
Opportunity?: boolean | OpportunityDefaultArgs<ExtArgs>
|
4058
4108
|
Creator?: boolean | UserDefaultArgs<ExtArgs>
|
4109
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4110
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4059
4111
|
}, ExtArgs["result"]["campaign"]>
|
4060
4112
|
|
4061
4113
|
export type CampaignSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
@@ -4076,11 +4128,15 @@ export namespace Prisma {
|
|
4076
4128
|
creatorAddress?: boolean
|
4077
4129
|
manualOverrides?: boolean
|
4078
4130
|
createdAt?: boolean
|
4131
|
+
rootCampaignId?: boolean
|
4132
|
+
parentCampaignId?: boolean
|
4079
4133
|
ComputeChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4080
4134
|
DistributionChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4081
4135
|
RewardToken?: boolean | TokenDefaultArgs<ExtArgs>
|
4082
4136
|
Opportunity?: boolean | OpportunityDefaultArgs<ExtArgs>
|
4083
4137
|
Creator?: boolean | UserDefaultArgs<ExtArgs>
|
4138
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4139
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4084
4140
|
}, ExtArgs["result"]["campaign"]>
|
4085
4141
|
|
4086
4142
|
export type CampaignSelectScalar = {
|
@@ -4101,9 +4157,11 @@ export namespace Prisma {
|
|
4101
4157
|
creatorAddress?: boolean
|
4102
4158
|
manualOverrides?: boolean
|
4103
4159
|
createdAt?: boolean
|
4160
|
+
rootCampaignId?: boolean
|
4161
|
+
parentCampaignId?: boolean
|
4104
4162
|
}
|
4105
4163
|
|
4106
|
-
export type CampaignOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "computeChainId" | "distributionChainId" | "campaignId" | "type" | "distributionType" | "subType" | "rewardTokenId" | "amount" | "opportunityId" | "startTimestamp" | "endTimestamp" | "params" | "description" | "creatorAddress" | "manualOverrides" | "createdAt", ExtArgs["result"]["campaign"]>
|
4164
|
+
export type CampaignOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "computeChainId" | "distributionChainId" | "campaignId" | "type" | "distributionType" | "subType" | "rewardTokenId" | "amount" | "opportunityId" | "startTimestamp" | "endTimestamp" | "params" | "description" | "creatorAddress" | "manualOverrides" | "createdAt" | "rootCampaignId" | "parentCampaignId", ExtArgs["result"]["campaign"]>
|
4107
4165
|
export type CampaignInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4108
4166
|
ComputeChain?: boolean | ChainDefaultArgs<ExtArgs>
|
4109
4167
|
DistributionChain?: boolean | ChainDefaultArgs<ExtArgs>
|
@@ -4115,6 +4173,11 @@ export namespace Prisma {
|
|
4115
4173
|
CampaignStatus?: boolean | Campaign$CampaignStatusArgs<ExtArgs>
|
4116
4174
|
CampaignEngineValues?: boolean | Campaign$CampaignEngineValuesArgs<ExtArgs>
|
4117
4175
|
UserComputedValue?: boolean | Campaign$UserComputedValueArgs<ExtArgs>
|
4176
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4177
|
+
subCampaigns?: boolean | Campaign$subCampaignsArgs<ExtArgs>
|
4178
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4179
|
+
childCampaigns?: boolean | Campaign$childCampaignsArgs<ExtArgs>
|
4180
|
+
RewardBreakdownSubCampaign?: boolean | Campaign$RewardBreakdownSubCampaignArgs<ExtArgs>
|
4118
4181
|
_count?: boolean | CampaignCountOutputTypeDefaultArgs<ExtArgs>
|
4119
4182
|
}
|
4120
4183
|
export type CampaignIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
@@ -4123,6 +4186,8 @@ export namespace Prisma {
|
|
4123
4186
|
RewardToken?: boolean | TokenDefaultArgs<ExtArgs>
|
4124
4187
|
Opportunity?: boolean | OpportunityDefaultArgs<ExtArgs>
|
4125
4188
|
Creator?: boolean | UserDefaultArgs<ExtArgs>
|
4189
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4190
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4126
4191
|
}
|
4127
4192
|
export type CampaignIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4128
4193
|
ComputeChain?: boolean | ChainDefaultArgs<ExtArgs>
|
@@ -4130,6 +4195,8 @@ export namespace Prisma {
|
|
4130
4195
|
RewardToken?: boolean | TokenDefaultArgs<ExtArgs>
|
4131
4196
|
Opportunity?: boolean | OpportunityDefaultArgs<ExtArgs>
|
4132
4197
|
Creator?: boolean | UserDefaultArgs<ExtArgs>
|
4198
|
+
rootCampaign?: boolean | Campaign$rootCampaignArgs<ExtArgs>
|
4199
|
+
parentCampaign?: boolean | Campaign$parentCampaignArgs<ExtArgs>
|
4133
4200
|
}
|
4134
4201
|
|
4135
4202
|
export type $CampaignPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
@@ -4145,6 +4212,11 @@ export namespace Prisma {
|
|
4145
4212
|
CampaignStatus: Prisma.$CampaignStatusPayload<ExtArgs>[]
|
4146
4213
|
CampaignEngineValues: Prisma.$CampaignComputedValuePayload<ExtArgs>[]
|
4147
4214
|
UserComputedValue: Prisma.$UserComputedValuePayload<ExtArgs>[]
|
4215
|
+
rootCampaign: Prisma.$CampaignPayload<ExtArgs> | null
|
4216
|
+
subCampaigns: Prisma.$CampaignPayload<ExtArgs>[]
|
4217
|
+
parentCampaign: Prisma.$CampaignPayload<ExtArgs> | null
|
4218
|
+
childCampaigns: Prisma.$CampaignPayload<ExtArgs>[]
|
4219
|
+
RewardBreakdownSubCampaign: Prisma.$RewardBreakdownPayload<ExtArgs>[]
|
4148
4220
|
}
|
4149
4221
|
scalars: $Extensions.GetPayloadResult<{
|
4150
4222
|
id: string
|
@@ -4164,6 +4236,8 @@ export namespace Prisma {
|
|
4164
4236
|
creatorAddress: string
|
4165
4237
|
manualOverrides: $Enums.CampaignManualOverride[]
|
4166
4238
|
createdAt: Date
|
4239
|
+
rootCampaignId: string | null
|
4240
|
+
parentCampaignId: string | null
|
4167
4241
|
}, ExtArgs["result"]["campaign"]>
|
4168
4242
|
composites: {}
|
4169
4243
|
}
|
@@ -4568,6 +4642,11 @@ export namespace Prisma {
|
|
4568
4642
|
CampaignStatus<T extends Campaign$CampaignStatusArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$CampaignStatusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignStatusPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4569
4643
|
CampaignEngineValues<T extends Campaign$CampaignEngineValuesArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$CampaignEngineValuesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignComputedValuePayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4570
4644
|
UserComputedValue<T extends Campaign$UserComputedValueArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$UserComputedValueArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserComputedValuePayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4645
|
+
rootCampaign<T extends Campaign$rootCampaignArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$rootCampaignArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
4646
|
+
subCampaigns<T extends Campaign$subCampaignsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$subCampaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4647
|
+
parentCampaign<T extends Campaign$parentCampaignArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$parentCampaignArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
4648
|
+
childCampaigns<T extends Campaign$childCampaignsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$childCampaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4649
|
+
RewardBreakdownSubCampaign<T extends Campaign$RewardBreakdownSubCampaignArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$RewardBreakdownSubCampaignArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RewardBreakdownPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
4571
4650
|
/**
|
4572
4651
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
4573
4652
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
@@ -4614,6 +4693,8 @@ export namespace Prisma {
|
|
4614
4693
|
readonly creatorAddress: FieldRef<"Campaign", 'String'>
|
4615
4694
|
readonly manualOverrides: FieldRef<"Campaign", 'CampaignManualOverride[]'>
|
4616
4695
|
readonly createdAt: FieldRef<"Campaign", 'DateTime'>
|
4696
|
+
readonly rootCampaignId: FieldRef<"Campaign", 'String'>
|
4697
|
+
readonly parentCampaignId: FieldRef<"Campaign", 'String'>
|
4617
4698
|
}
|
4618
4699
|
|
4619
4700
|
|
@@ -5138,6 +5219,116 @@ export namespace Prisma {
|
|
5138
5219
|
distinct?: UserComputedValueScalarFieldEnum | UserComputedValueScalarFieldEnum[]
|
5139
5220
|
}
|
5140
5221
|
|
5222
|
+
/**
|
5223
|
+
* Campaign.rootCampaign
|
5224
|
+
*/
|
5225
|
+
export type Campaign$rootCampaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5226
|
+
/**
|
5227
|
+
* Select specific fields to fetch from the Campaign
|
5228
|
+
*/
|
5229
|
+
select?: CampaignSelect<ExtArgs> | null
|
5230
|
+
/**
|
5231
|
+
* Omit specific fields from the Campaign
|
5232
|
+
*/
|
5233
|
+
omit?: CampaignOmit<ExtArgs> | null
|
5234
|
+
/**
|
5235
|
+
* Choose, which related nodes to fetch as well
|
5236
|
+
*/
|
5237
|
+
include?: CampaignInclude<ExtArgs> | null
|
5238
|
+
where?: CampaignWhereInput
|
5239
|
+
}
|
5240
|
+
|
5241
|
+
/**
|
5242
|
+
* Campaign.subCampaigns
|
5243
|
+
*/
|
5244
|
+
export type Campaign$subCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5245
|
+
/**
|
5246
|
+
* Select specific fields to fetch from the Campaign
|
5247
|
+
*/
|
5248
|
+
select?: CampaignSelect<ExtArgs> | null
|
5249
|
+
/**
|
5250
|
+
* Omit specific fields from the Campaign
|
5251
|
+
*/
|
5252
|
+
omit?: CampaignOmit<ExtArgs> | null
|
5253
|
+
/**
|
5254
|
+
* Choose, which related nodes to fetch as well
|
5255
|
+
*/
|
5256
|
+
include?: CampaignInclude<ExtArgs> | null
|
5257
|
+
where?: CampaignWhereInput
|
5258
|
+
orderBy?: CampaignOrderByWithRelationInput | CampaignOrderByWithRelationInput[]
|
5259
|
+
cursor?: CampaignWhereUniqueInput
|
5260
|
+
take?: number
|
5261
|
+
skip?: number
|
5262
|
+
distinct?: CampaignScalarFieldEnum | CampaignScalarFieldEnum[]
|
5263
|
+
}
|
5264
|
+
|
5265
|
+
/**
|
5266
|
+
* Campaign.parentCampaign
|
5267
|
+
*/
|
5268
|
+
export type Campaign$parentCampaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5269
|
+
/**
|
5270
|
+
* Select specific fields to fetch from the Campaign
|
5271
|
+
*/
|
5272
|
+
select?: CampaignSelect<ExtArgs> | null
|
5273
|
+
/**
|
5274
|
+
* Omit specific fields from the Campaign
|
5275
|
+
*/
|
5276
|
+
omit?: CampaignOmit<ExtArgs> | null
|
5277
|
+
/**
|
5278
|
+
* Choose, which related nodes to fetch as well
|
5279
|
+
*/
|
5280
|
+
include?: CampaignInclude<ExtArgs> | null
|
5281
|
+
where?: CampaignWhereInput
|
5282
|
+
}
|
5283
|
+
|
5284
|
+
/**
|
5285
|
+
* Campaign.childCampaigns
|
5286
|
+
*/
|
5287
|
+
export type Campaign$childCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5288
|
+
/**
|
5289
|
+
* Select specific fields to fetch from the Campaign
|
5290
|
+
*/
|
5291
|
+
select?: CampaignSelect<ExtArgs> | null
|
5292
|
+
/**
|
5293
|
+
* Omit specific fields from the Campaign
|
5294
|
+
*/
|
5295
|
+
omit?: CampaignOmit<ExtArgs> | null
|
5296
|
+
/**
|
5297
|
+
* Choose, which related nodes to fetch as well
|
5298
|
+
*/
|
5299
|
+
include?: CampaignInclude<ExtArgs> | null
|
5300
|
+
where?: CampaignWhereInput
|
5301
|
+
orderBy?: CampaignOrderByWithRelationInput | CampaignOrderByWithRelationInput[]
|
5302
|
+
cursor?: CampaignWhereUniqueInput
|
5303
|
+
take?: number
|
5304
|
+
skip?: number
|
5305
|
+
distinct?: CampaignScalarFieldEnum | CampaignScalarFieldEnum[]
|
5306
|
+
}
|
5307
|
+
|
5308
|
+
/**
|
5309
|
+
* Campaign.RewardBreakdownSubCampaign
|
5310
|
+
*/
|
5311
|
+
export type Campaign$RewardBreakdownSubCampaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5312
|
+
/**
|
5313
|
+
* Select specific fields to fetch from the RewardBreakdown
|
5314
|
+
*/
|
5315
|
+
select?: RewardBreakdownSelect<ExtArgs> | null
|
5316
|
+
/**
|
5317
|
+
* Omit specific fields from the RewardBreakdown
|
5318
|
+
*/
|
5319
|
+
omit?: RewardBreakdownOmit<ExtArgs> | null
|
5320
|
+
/**
|
5321
|
+
* Choose, which related nodes to fetch as well
|
5322
|
+
*/
|
5323
|
+
include?: RewardBreakdownInclude<ExtArgs> | null
|
5324
|
+
where?: RewardBreakdownWhereInput
|
5325
|
+
orderBy?: RewardBreakdownOrderByWithRelationInput | RewardBreakdownOrderByWithRelationInput[]
|
5326
|
+
cursor?: RewardBreakdownWhereUniqueInput
|
5327
|
+
take?: number
|
5328
|
+
skip?: number
|
5329
|
+
distinct?: RewardBreakdownScalarFieldEnum | RewardBreakdownScalarFieldEnum[]
|
5330
|
+
}
|
5331
|
+
|
5141
5332
|
/**
|
5142
5333
|
* Campaign without action
|
5143
5334
|
*/
|
@@ -24899,6 +25090,7 @@ export namespace Prisma {
|
|
24899
25090
|
pending: string | null
|
24900
25091
|
rewardId: string | null
|
24901
25092
|
campaignId: string | null
|
25093
|
+
subCampaignId: string | null
|
24902
25094
|
}
|
24903
25095
|
|
24904
25096
|
export type RewardBreakdownMaxAggregateOutputType = {
|
@@ -24910,6 +25102,7 @@ export namespace Prisma {
|
|
24910
25102
|
pending: string | null
|
24911
25103
|
rewardId: string | null
|
24912
25104
|
campaignId: string | null
|
25105
|
+
subCampaignId: string | null
|
24913
25106
|
}
|
24914
25107
|
|
24915
25108
|
export type RewardBreakdownCountAggregateOutputType = {
|
@@ -24921,6 +25114,7 @@ export namespace Prisma {
|
|
24921
25114
|
pending: number
|
24922
25115
|
rewardId: number
|
24923
25116
|
campaignId: number
|
25117
|
+
subCampaignId: number
|
24924
25118
|
_all: number
|
24925
25119
|
}
|
24926
25120
|
|
@@ -24934,6 +25128,7 @@ export namespace Prisma {
|
|
24934
25128
|
pending?: true
|
24935
25129
|
rewardId?: true
|
24936
25130
|
campaignId?: true
|
25131
|
+
subCampaignId?: true
|
24937
25132
|
}
|
24938
25133
|
|
24939
25134
|
export type RewardBreakdownMaxAggregateInputType = {
|
@@ -24945,6 +25140,7 @@ export namespace Prisma {
|
|
24945
25140
|
pending?: true
|
24946
25141
|
rewardId?: true
|
24947
25142
|
campaignId?: true
|
25143
|
+
subCampaignId?: true
|
24948
25144
|
}
|
24949
25145
|
|
24950
25146
|
export type RewardBreakdownCountAggregateInputType = {
|
@@ -24956,6 +25152,7 @@ export namespace Prisma {
|
|
24956
25152
|
pending?: true
|
24957
25153
|
rewardId?: true
|
24958
25154
|
campaignId?: true
|
25155
|
+
subCampaignId?: true
|
24959
25156
|
_all?: true
|
24960
25157
|
}
|
24961
25158
|
|
@@ -25040,6 +25237,7 @@ export namespace Prisma {
|
|
25040
25237
|
pending: string
|
25041
25238
|
rewardId: string
|
25042
25239
|
campaignId: string
|
25240
|
+
subCampaignId: string | null
|
25043
25241
|
_count: RewardBreakdownCountAggregateOutputType | null
|
25044
25242
|
_min: RewardBreakdownMinAggregateOutputType | null
|
25045
25243
|
_max: RewardBreakdownMaxAggregateOutputType | null
|
@@ -25068,9 +25266,11 @@ export namespace Prisma {
|
|
25068
25266
|
pending?: boolean
|
25069
25267
|
rewardId?: boolean
|
25070
25268
|
campaignId?: boolean
|
25269
|
+
subCampaignId?: boolean
|
25071
25270
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25072
25271
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25073
25272
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25273
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25074
25274
|
}, ExtArgs["result"]["rewardBreakdown"]>
|
25075
25275
|
|
25076
25276
|
export type RewardBreakdownSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
@@ -25082,9 +25282,11 @@ export namespace Prisma {
|
|
25082
25282
|
pending?: boolean
|
25083
25283
|
rewardId?: boolean
|
25084
25284
|
campaignId?: boolean
|
25285
|
+
subCampaignId?: boolean
|
25085
25286
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25086
25287
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25087
25288
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25289
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25088
25290
|
}, ExtArgs["result"]["rewardBreakdown"]>
|
25089
25291
|
|
25090
25292
|
export type RewardBreakdownSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
@@ -25096,9 +25298,11 @@ export namespace Prisma {
|
|
25096
25298
|
pending?: boolean
|
25097
25299
|
rewardId?: boolean
|
25098
25300
|
campaignId?: boolean
|
25301
|
+
subCampaignId?: boolean
|
25099
25302
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25100
25303
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25101
25304
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25305
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25102
25306
|
}, ExtArgs["result"]["rewardBreakdown"]>
|
25103
25307
|
|
25104
25308
|
export type RewardBreakdownSelectScalar = {
|
@@ -25110,23 +25314,27 @@ export namespace Prisma {
|
|
25110
25314
|
pending?: boolean
|
25111
25315
|
rewardId?: boolean
|
25112
25316
|
campaignId?: boolean
|
25317
|
+
subCampaignId?: boolean
|
25113
25318
|
}
|
25114
25319
|
|
25115
|
-
export type RewardBreakdownOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "protocolId" | "reason" | "amount" | "claimed" | "pending" | "rewardId" | "campaignId", ExtArgs["result"]["rewardBreakdown"]>
|
25320
|
+
export type RewardBreakdownOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "protocolId" | "reason" | "amount" | "claimed" | "pending" | "rewardId" | "campaignId" | "subCampaignId", ExtArgs["result"]["rewardBreakdown"]>
|
25116
25321
|
export type RewardBreakdownInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
25117
25322
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25118
25323
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25119
25324
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25325
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25120
25326
|
}
|
25121
25327
|
export type RewardBreakdownIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
25122
25328
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25123
25329
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25124
25330
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25331
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25125
25332
|
}
|
25126
25333
|
export type RewardBreakdownIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
25127
25334
|
Protocol?: boolean | RewardBreakdown$ProtocolArgs<ExtArgs>
|
25128
25335
|
Reward?: boolean | RewardDefaultArgs<ExtArgs>
|
25129
25336
|
Campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
25337
|
+
SubCampaign?: boolean | RewardBreakdown$SubCampaignArgs<ExtArgs>
|
25130
25338
|
}
|
25131
25339
|
|
25132
25340
|
export type $RewardBreakdownPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
@@ -25135,6 +25343,7 @@ export namespace Prisma {
|
|
25135
25343
|
Protocol: Prisma.$ProtocolPayload<ExtArgs> | null
|
25136
25344
|
Reward: Prisma.$RewardPayload<ExtArgs>
|
25137
25345
|
Campaign: Prisma.$CampaignPayload<ExtArgs>
|
25346
|
+
SubCampaign: Prisma.$CampaignPayload<ExtArgs> | null
|
25138
25347
|
}
|
25139
25348
|
scalars: $Extensions.GetPayloadResult<{
|
25140
25349
|
id: string
|
@@ -25145,6 +25354,7 @@ export namespace Prisma {
|
|
25145
25354
|
pending: string
|
25146
25355
|
rewardId: string
|
25147
25356
|
campaignId: string
|
25357
|
+
subCampaignId: string | null
|
25148
25358
|
}, ExtArgs["result"]["rewardBreakdown"]>
|
25149
25359
|
composites: {}
|
25150
25360
|
}
|
@@ -25542,6 +25752,7 @@ export namespace Prisma {
|
|
25542
25752
|
Protocol<T extends RewardBreakdown$ProtocolArgs<ExtArgs> = {}>(args?: Subset<T, RewardBreakdown$ProtocolArgs<ExtArgs>>): Prisma__ProtocolClient<$Result.GetResult<Prisma.$ProtocolPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
25543
25753
|
Reward<T extends RewardDefaultArgs<ExtArgs> = {}>(args?: Subset<T, RewardDefaultArgs<ExtArgs>>): Prisma__RewardClient<$Result.GetResult<Prisma.$RewardPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
25544
25754
|
Campaign<T extends CampaignDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CampaignDefaultArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
25755
|
+
SubCampaign<T extends RewardBreakdown$SubCampaignArgs<ExtArgs> = {}>(args?: Subset<T, RewardBreakdown$SubCampaignArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
25545
25756
|
/**
|
25546
25757
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
25547
25758
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
@@ -25579,6 +25790,7 @@ export namespace Prisma {
|
|
25579
25790
|
readonly pending: FieldRef<"RewardBreakdown", 'String'>
|
25580
25791
|
readonly rewardId: FieldRef<"RewardBreakdown", 'String'>
|
25581
25792
|
readonly campaignId: FieldRef<"RewardBreakdown", 'String'>
|
25793
|
+
readonly subCampaignId: FieldRef<"RewardBreakdown", 'String'>
|
25582
25794
|
}
|
25583
25795
|
|
25584
25796
|
|
@@ -26002,6 +26214,25 @@ export namespace Prisma {
|
|
26002
26214
|
where?: ProtocolWhereInput
|
26003
26215
|
}
|
26004
26216
|
|
26217
|
+
/**
|
26218
|
+
* RewardBreakdown.SubCampaign
|
26219
|
+
*/
|
26220
|
+
export type RewardBreakdown$SubCampaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
26221
|
+
/**
|
26222
|
+
* Select specific fields to fetch from the Campaign
|
26223
|
+
*/
|
26224
|
+
select?: CampaignSelect<ExtArgs> | null
|
26225
|
+
/**
|
26226
|
+
* Omit specific fields from the Campaign
|
26227
|
+
*/
|
26228
|
+
omit?: CampaignOmit<ExtArgs> | null
|
26229
|
+
/**
|
26230
|
+
* Choose, which related nodes to fetch as well
|
26231
|
+
*/
|
26232
|
+
include?: CampaignInclude<ExtArgs> | null
|
26233
|
+
where?: CampaignWhereInput
|
26234
|
+
}
|
26235
|
+
|
26005
26236
|
/**
|
26006
26237
|
* RewardBreakdown without action
|
26007
26238
|
*/
|
@@ -31571,7 +31802,9 @@ export namespace Prisma {
|
|
31571
31802
|
description: 'description',
|
31572
31803
|
creatorAddress: 'creatorAddress',
|
31573
31804
|
manualOverrides: 'manualOverrides',
|
31574
|
-
createdAt: 'createdAt'
|
31805
|
+
createdAt: 'createdAt',
|
31806
|
+
rootCampaignId: 'rootCampaignId',
|
31807
|
+
parentCampaignId: 'parentCampaignId'
|
31575
31808
|
};
|
31576
31809
|
|
31577
31810
|
export type CampaignScalarFieldEnum = (typeof CampaignScalarFieldEnum)[keyof typeof CampaignScalarFieldEnum]
|
@@ -31795,7 +32028,8 @@ export namespace Prisma {
|
|
31795
32028
|
claimed: 'claimed',
|
31796
32029
|
pending: 'pending',
|
31797
32030
|
rewardId: 'rewardId',
|
31798
|
-
campaignId: 'campaignId'
|
32031
|
+
campaignId: 'campaignId',
|
32032
|
+
subCampaignId: 'subCampaignId'
|
31799
32033
|
};
|
31800
32034
|
|
31801
32035
|
export type RewardBreakdownScalarFieldEnum = (typeof RewardBreakdownScalarFieldEnum)[keyof typeof RewardBreakdownScalarFieldEnum]
|
@@ -31918,7 +32152,9 @@ export namespace Prisma {
|
|
31918
32152
|
amount: 'amount',
|
31919
32153
|
opportunityId: 'opportunityId',
|
31920
32154
|
description: 'description',
|
31921
|
-
creatorAddress: 'creatorAddress'
|
32155
|
+
creatorAddress: 'creatorAddress',
|
32156
|
+
rootCampaignId: 'rootCampaignId',
|
32157
|
+
parentCampaignId: 'parentCampaignId'
|
31922
32158
|
};
|
31923
32159
|
|
31924
32160
|
export type CampaignOrderByRelevanceFieldEnum = (typeof CampaignOrderByRelevanceFieldEnum)[keyof typeof CampaignOrderByRelevanceFieldEnum]
|
@@ -32096,7 +32332,8 @@ export namespace Prisma {
|
|
32096
32332
|
claimed: 'claimed',
|
32097
32333
|
pending: 'pending',
|
32098
32334
|
rewardId: 'rewardId',
|
32099
|
-
campaignId: 'campaignId'
|
32335
|
+
campaignId: 'campaignId',
|
32336
|
+
subCampaignId: 'subCampaignId'
|
32100
32337
|
};
|
32101
32338
|
|
32102
32339
|
export type RewardBreakdownOrderByRelevanceFieldEnum = (typeof RewardBreakdownOrderByRelevanceFieldEnum)[keyof typeof RewardBreakdownOrderByRelevanceFieldEnum]
|
@@ -32414,6 +32651,8 @@ export namespace Prisma {
|
|
32414
32651
|
creatorAddress?: StringFilter<"Campaign"> | string
|
32415
32652
|
manualOverrides?: EnumCampaignManualOverrideNullableListFilter<"Campaign">
|
32416
32653
|
createdAt?: DateTimeFilter<"Campaign"> | Date | string
|
32654
|
+
rootCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
32655
|
+
parentCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
32417
32656
|
ComputeChain?: XOR<ChainScalarRelationFilter, ChainWhereInput>
|
32418
32657
|
DistributionChain?: XOR<ChainScalarRelationFilter, ChainWhereInput>
|
32419
32658
|
RewardToken?: XOR<TokenScalarRelationFilter, TokenWhereInput>
|
@@ -32424,6 +32663,11 @@ export namespace Prisma {
|
|
32424
32663
|
CampaignStatus?: CampaignStatusListRelationFilter
|
32425
32664
|
CampaignEngineValues?: CampaignComputedValueListRelationFilter
|
32426
32665
|
UserComputedValue?: UserComputedValueListRelationFilter
|
32666
|
+
rootCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
32667
|
+
subCampaigns?: CampaignListRelationFilter
|
32668
|
+
parentCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
32669
|
+
childCampaigns?: CampaignListRelationFilter
|
32670
|
+
RewardBreakdownSubCampaign?: RewardBreakdownListRelationFilter
|
32427
32671
|
}
|
32428
32672
|
|
32429
32673
|
export type CampaignOrderByWithRelationInput = {
|
@@ -32444,6 +32688,8 @@ export namespace Prisma {
|
|
32444
32688
|
creatorAddress?: SortOrder
|
32445
32689
|
manualOverrides?: SortOrder
|
32446
32690
|
createdAt?: SortOrder
|
32691
|
+
rootCampaignId?: SortOrderInput | SortOrder
|
32692
|
+
parentCampaignId?: SortOrderInput | SortOrder
|
32447
32693
|
ComputeChain?: ChainOrderByWithRelationInput
|
32448
32694
|
DistributionChain?: ChainOrderByWithRelationInput
|
32449
32695
|
RewardToken?: TokenOrderByWithRelationInput
|
@@ -32454,6 +32700,11 @@ export namespace Prisma {
|
|
32454
32700
|
CampaignStatus?: CampaignStatusOrderByRelationAggregateInput
|
32455
32701
|
CampaignEngineValues?: CampaignComputedValueOrderByRelationAggregateInput
|
32456
32702
|
UserComputedValue?: UserComputedValueOrderByRelationAggregateInput
|
32703
|
+
rootCampaign?: CampaignOrderByWithRelationInput
|
32704
|
+
subCampaigns?: CampaignOrderByRelationAggregateInput
|
32705
|
+
parentCampaign?: CampaignOrderByWithRelationInput
|
32706
|
+
childCampaigns?: CampaignOrderByRelationAggregateInput
|
32707
|
+
RewardBreakdownSubCampaign?: RewardBreakdownOrderByRelationAggregateInput
|
32457
32708
|
_relevance?: CampaignOrderByRelevanceInput
|
32458
32709
|
}
|
32459
32710
|
|
@@ -32479,6 +32730,8 @@ export namespace Prisma {
|
|
32479
32730
|
creatorAddress?: StringFilter<"Campaign"> | string
|
32480
32731
|
manualOverrides?: EnumCampaignManualOverrideNullableListFilter<"Campaign">
|
32481
32732
|
createdAt?: DateTimeFilter<"Campaign"> | Date | string
|
32733
|
+
rootCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
32734
|
+
parentCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
32482
32735
|
ComputeChain?: XOR<ChainScalarRelationFilter, ChainWhereInput>
|
32483
32736
|
DistributionChain?: XOR<ChainScalarRelationFilter, ChainWhereInput>
|
32484
32737
|
RewardToken?: XOR<TokenScalarRelationFilter, TokenWhereInput>
|
@@ -32489,6 +32742,11 @@ export namespace Prisma {
|
|
32489
32742
|
CampaignStatus?: CampaignStatusListRelationFilter
|
32490
32743
|
CampaignEngineValues?: CampaignComputedValueListRelationFilter
|
32491
32744
|
UserComputedValue?: UserComputedValueListRelationFilter
|
32745
|
+
rootCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
32746
|
+
subCampaigns?: CampaignListRelationFilter
|
32747
|
+
parentCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
32748
|
+
childCampaigns?: CampaignListRelationFilter
|
32749
|
+
RewardBreakdownSubCampaign?: RewardBreakdownListRelationFilter
|
32492
32750
|
}, "id" | "distributionChainId_campaignId">
|
32493
32751
|
|
32494
32752
|
export type CampaignOrderByWithAggregationInput = {
|
@@ -32509,6 +32767,8 @@ export namespace Prisma {
|
|
32509
32767
|
creatorAddress?: SortOrder
|
32510
32768
|
manualOverrides?: SortOrder
|
32511
32769
|
createdAt?: SortOrder
|
32770
|
+
rootCampaignId?: SortOrderInput | SortOrder
|
32771
|
+
parentCampaignId?: SortOrderInput | SortOrder
|
32512
32772
|
_count?: CampaignCountOrderByAggregateInput
|
32513
32773
|
_avg?: CampaignAvgOrderByAggregateInput
|
32514
32774
|
_max?: CampaignMaxOrderByAggregateInput
|
@@ -32537,6 +32797,8 @@ export namespace Prisma {
|
|
32537
32797
|
creatorAddress?: StringWithAggregatesFilter<"Campaign"> | string
|
32538
32798
|
manualOverrides?: EnumCampaignManualOverrideNullableListFilter<"Campaign">
|
32539
32799
|
createdAt?: DateTimeWithAggregatesFilter<"Campaign"> | Date | string
|
32800
|
+
rootCampaignId?: StringNullableWithAggregatesFilter<"Campaign"> | string | null
|
32801
|
+
parentCampaignId?: StringNullableWithAggregatesFilter<"Campaign"> | string | null
|
32540
32802
|
}
|
32541
32803
|
|
32542
32804
|
export type CampaignStatusWhereInput = {
|
@@ -33711,9 +33973,11 @@ export namespace Prisma {
|
|
33711
33973
|
pending?: StringFilter<"RewardBreakdown"> | string
|
33712
33974
|
rewardId?: StringFilter<"RewardBreakdown"> | string
|
33713
33975
|
campaignId?: StringFilter<"RewardBreakdown"> | string
|
33976
|
+
subCampaignId?: StringNullableFilter<"RewardBreakdown"> | string | null
|
33714
33977
|
Protocol?: XOR<ProtocolNullableScalarRelationFilter, ProtocolWhereInput> | null
|
33715
33978
|
Reward?: XOR<RewardScalarRelationFilter, RewardWhereInput>
|
33716
33979
|
Campaign?: XOR<CampaignScalarRelationFilter, CampaignWhereInput>
|
33980
|
+
SubCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
33717
33981
|
}
|
33718
33982
|
|
33719
33983
|
export type RewardBreakdownOrderByWithRelationInput = {
|
@@ -33725,9 +33989,11 @@ export namespace Prisma {
|
|
33725
33989
|
pending?: SortOrder
|
33726
33990
|
rewardId?: SortOrder
|
33727
33991
|
campaignId?: SortOrder
|
33992
|
+
subCampaignId?: SortOrderInput | SortOrder
|
33728
33993
|
Protocol?: ProtocolOrderByWithRelationInput
|
33729
33994
|
Reward?: RewardOrderByWithRelationInput
|
33730
33995
|
Campaign?: CampaignOrderByWithRelationInput
|
33996
|
+
SubCampaign?: CampaignOrderByWithRelationInput
|
33731
33997
|
_relevance?: RewardBreakdownOrderByRelevanceInput
|
33732
33998
|
}
|
33733
33999
|
|
@@ -33744,9 +34010,11 @@ export namespace Prisma {
|
|
33744
34010
|
pending?: StringFilter<"RewardBreakdown"> | string
|
33745
34011
|
rewardId?: StringFilter<"RewardBreakdown"> | string
|
33746
34012
|
campaignId?: StringFilter<"RewardBreakdown"> | string
|
34013
|
+
subCampaignId?: StringNullableFilter<"RewardBreakdown"> | string | null
|
33747
34014
|
Protocol?: XOR<ProtocolNullableScalarRelationFilter, ProtocolWhereInput> | null
|
33748
34015
|
Reward?: XOR<RewardScalarRelationFilter, RewardWhereInput>
|
33749
34016
|
Campaign?: XOR<CampaignScalarRelationFilter, CampaignWhereInput>
|
34017
|
+
SubCampaign?: XOR<CampaignNullableScalarRelationFilter, CampaignWhereInput> | null
|
33750
34018
|
}, "id" | "rewardId_campaignId_reason">
|
33751
34019
|
|
33752
34020
|
export type RewardBreakdownOrderByWithAggregationInput = {
|
@@ -33758,6 +34026,7 @@ export namespace Prisma {
|
|
33758
34026
|
pending?: SortOrder
|
33759
34027
|
rewardId?: SortOrder
|
33760
34028
|
campaignId?: SortOrder
|
34029
|
+
subCampaignId?: SortOrderInput | SortOrder
|
33761
34030
|
_count?: RewardBreakdownCountOrderByAggregateInput
|
33762
34031
|
_max?: RewardBreakdownMaxOrderByAggregateInput
|
33763
34032
|
_min?: RewardBreakdownMinOrderByAggregateInput
|
@@ -33775,6 +34044,7 @@ export namespace Prisma {
|
|
33775
34044
|
pending?: StringWithAggregatesFilter<"RewardBreakdown"> | string
|
33776
34045
|
rewardId?: StringWithAggregatesFilter<"RewardBreakdown"> | string
|
33777
34046
|
campaignId?: StringWithAggregatesFilter<"RewardBreakdown"> | string
|
34047
|
+
subCampaignId?: StringNullableWithAggregatesFilter<"RewardBreakdown"> | string | null
|
33778
34048
|
}
|
33779
34049
|
|
33780
34050
|
export type MerklRootWhereInput = {
|
@@ -34129,6 +34399,11 @@ export namespace Prisma {
|
|
34129
34399
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
34130
34400
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
34131
34401
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
34402
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
34403
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
34404
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
34405
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
34406
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
34132
34407
|
}
|
34133
34408
|
|
34134
34409
|
export type CampaignUncheckedCreateInput = {
|
@@ -34149,11 +34424,16 @@ export namespace Prisma {
|
|
34149
34424
|
creatorAddress: string
|
34150
34425
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
34151
34426
|
createdAt?: Date | string
|
34427
|
+
rootCampaignId?: string | null
|
34428
|
+
parentCampaignId?: string | null
|
34152
34429
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
34153
34430
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
34154
34431
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
34155
34432
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
34156
34433
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
34434
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
34435
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
34436
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
34157
34437
|
}
|
34158
34438
|
|
34159
34439
|
export type CampaignUpdateInput = {
|
@@ -34179,6 +34459,11 @@ export namespace Prisma {
|
|
34179
34459
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
34180
34460
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
34181
34461
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
34462
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
34463
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
34464
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
34465
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
34466
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
34182
34467
|
}
|
34183
34468
|
|
34184
34469
|
export type CampaignUncheckedUpdateInput = {
|
@@ -34199,11 +34484,16 @@ export namespace Prisma {
|
|
34199
34484
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
34200
34485
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
34201
34486
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
34487
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
34488
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
34202
34489
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
34203
34490
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
34204
34491
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
34205
34492
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
34206
34493
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
34494
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
34495
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
34496
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
34207
34497
|
}
|
34208
34498
|
|
34209
34499
|
export type CampaignCreateManyInput = {
|
@@ -34224,6 +34514,8 @@ export namespace Prisma {
|
|
34224
34514
|
creatorAddress: string
|
34225
34515
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
34226
34516
|
createdAt?: Date | string
|
34517
|
+
rootCampaignId?: string | null
|
34518
|
+
parentCampaignId?: string | null
|
34227
34519
|
}
|
34228
34520
|
|
34229
34521
|
export type CampaignUpdateManyMutationInput = {
|
@@ -34259,6 +34551,8 @@ export namespace Prisma {
|
|
34259
34551
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
34260
34552
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
34261
34553
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
34554
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
34555
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
34262
34556
|
}
|
34263
34557
|
|
34264
34558
|
export type CampaignStatusCreateInput = {
|
@@ -35432,6 +35726,7 @@ export namespace Prisma {
|
|
35432
35726
|
Protocol?: ProtocolCreateNestedOneWithoutRewardBreakdownInput
|
35433
35727
|
Reward: RewardCreateNestedOneWithoutBreakdownInput
|
35434
35728
|
Campaign: CampaignCreateNestedOneWithoutRewardBreakdownInput
|
35729
|
+
SubCampaign?: CampaignCreateNestedOneWithoutRewardBreakdownSubCampaignInput
|
35435
35730
|
}
|
35436
35731
|
|
35437
35732
|
export type RewardBreakdownUncheckedCreateInput = {
|
@@ -35443,6 +35738,7 @@ export namespace Prisma {
|
|
35443
35738
|
pending: string
|
35444
35739
|
rewardId: string
|
35445
35740
|
campaignId: string
|
35741
|
+
subCampaignId?: string | null
|
35446
35742
|
}
|
35447
35743
|
|
35448
35744
|
export type RewardBreakdownUpdateInput = {
|
@@ -35454,6 +35750,7 @@ export namespace Prisma {
|
|
35454
35750
|
Protocol?: ProtocolUpdateOneWithoutRewardBreakdownNestedInput
|
35455
35751
|
Reward?: RewardUpdateOneRequiredWithoutBreakdownNestedInput
|
35456
35752
|
Campaign?: CampaignUpdateOneRequiredWithoutRewardBreakdownNestedInput
|
35753
|
+
SubCampaign?: CampaignUpdateOneWithoutRewardBreakdownSubCampaignNestedInput
|
35457
35754
|
}
|
35458
35755
|
|
35459
35756
|
export type RewardBreakdownUncheckedUpdateInput = {
|
@@ -35465,6 +35762,7 @@ export namespace Prisma {
|
|
35465
35762
|
pending?: StringFieldUpdateOperationsInput | string
|
35466
35763
|
rewardId?: StringFieldUpdateOperationsInput | string
|
35467
35764
|
campaignId?: StringFieldUpdateOperationsInput | string
|
35765
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
35468
35766
|
}
|
35469
35767
|
|
35470
35768
|
export type RewardBreakdownCreateManyInput = {
|
@@ -35476,6 +35774,7 @@ export namespace Prisma {
|
|
35476
35774
|
pending: string
|
35477
35775
|
rewardId: string
|
35478
35776
|
campaignId: string
|
35777
|
+
subCampaignId?: string | null
|
35479
35778
|
}
|
35480
35779
|
|
35481
35780
|
export type RewardBreakdownUpdateManyMutationInput = {
|
@@ -35495,6 +35794,7 @@ export namespace Prisma {
|
|
35495
35794
|
pending?: StringFieldUpdateOperationsInput | string
|
35496
35795
|
rewardId?: StringFieldUpdateOperationsInput | string
|
35497
35796
|
campaignId?: StringFieldUpdateOperationsInput | string
|
35797
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
35498
35798
|
}
|
35499
35799
|
|
35500
35800
|
export type MerklRootCreateInput = {
|
@@ -35977,6 +36277,17 @@ export namespace Prisma {
|
|
35977
36277
|
none?: UserComputedValueWhereInput
|
35978
36278
|
}
|
35979
36279
|
|
36280
|
+
export type CampaignNullableScalarRelationFilter = {
|
36281
|
+
is?: CampaignWhereInput | null
|
36282
|
+
isNot?: CampaignWhereInput | null
|
36283
|
+
}
|
36284
|
+
|
36285
|
+
export type CampaignListRelationFilter = {
|
36286
|
+
every?: CampaignWhereInput
|
36287
|
+
some?: CampaignWhereInput
|
36288
|
+
none?: CampaignWhereInput
|
36289
|
+
}
|
36290
|
+
|
35980
36291
|
export type SortOrderInput = {
|
35981
36292
|
sort: SortOrder
|
35982
36293
|
nulls?: NullsOrder
|
@@ -36002,6 +36313,10 @@ export namespace Prisma {
|
|
36002
36313
|
_count?: SortOrder
|
36003
36314
|
}
|
36004
36315
|
|
36316
|
+
export type CampaignOrderByRelationAggregateInput = {
|
36317
|
+
_count?: SortOrder
|
36318
|
+
}
|
36319
|
+
|
36005
36320
|
export type CampaignOrderByRelevanceInput = {
|
36006
36321
|
fields: CampaignOrderByRelevanceFieldEnum | CampaignOrderByRelevanceFieldEnum[]
|
36007
36322
|
sort: SortOrder
|
@@ -36031,6 +36346,8 @@ export namespace Prisma {
|
|
36031
36346
|
creatorAddress?: SortOrder
|
36032
36347
|
manualOverrides?: SortOrder
|
36033
36348
|
createdAt?: SortOrder
|
36349
|
+
rootCampaignId?: SortOrder
|
36350
|
+
parentCampaignId?: SortOrder
|
36034
36351
|
}
|
36035
36352
|
|
36036
36353
|
export type CampaignAvgOrderByAggregateInput = {
|
@@ -36057,6 +36374,8 @@ export namespace Prisma {
|
|
36057
36374
|
description?: SortOrder
|
36058
36375
|
creatorAddress?: SortOrder
|
36059
36376
|
createdAt?: SortOrder
|
36377
|
+
rootCampaignId?: SortOrder
|
36378
|
+
parentCampaignId?: SortOrder
|
36060
36379
|
}
|
36061
36380
|
|
36062
36381
|
export type CampaignMinOrderByAggregateInput = {
|
@@ -36075,6 +36394,8 @@ export namespace Prisma {
|
|
36075
36394
|
description?: SortOrder
|
36076
36395
|
creatorAddress?: SortOrder
|
36077
36396
|
createdAt?: SortOrder
|
36397
|
+
rootCampaignId?: SortOrder
|
36398
|
+
parentCampaignId?: SortOrder
|
36078
36399
|
}
|
36079
36400
|
|
36080
36401
|
export type CampaignSumOrderByAggregateInput = {
|
@@ -36433,12 +36754,6 @@ export namespace Prisma {
|
|
36433
36754
|
none?: ExplorerWhereInput
|
36434
36755
|
}
|
36435
36756
|
|
36436
|
-
export type CampaignListRelationFilter = {
|
36437
|
-
every?: CampaignWhereInput
|
36438
|
-
some?: CampaignWhereInput
|
36439
|
-
none?: CampaignWhereInput
|
36440
|
-
}
|
36441
|
-
|
36442
36757
|
export type TokenListRelationFilter = {
|
36443
36758
|
every?: TokenWhereInput
|
36444
36759
|
some?: TokenWhereInput
|
@@ -36473,10 +36788,6 @@ export namespace Prisma {
|
|
36473
36788
|
_count?: SortOrder
|
36474
36789
|
}
|
36475
36790
|
|
36476
|
-
export type CampaignOrderByRelationAggregateInput = {
|
36477
|
-
_count?: SortOrder
|
36478
|
-
}
|
36479
|
-
|
36480
36791
|
export type TokenOrderByRelationAggregateInput = {
|
36481
36792
|
_count?: SortOrder
|
36482
36793
|
}
|
@@ -37360,6 +37671,7 @@ export namespace Prisma {
|
|
37360
37671
|
pending?: SortOrder
|
37361
37672
|
rewardId?: SortOrder
|
37362
37673
|
campaignId?: SortOrder
|
37674
|
+
subCampaignId?: SortOrder
|
37363
37675
|
}
|
37364
37676
|
|
37365
37677
|
export type RewardBreakdownMaxOrderByAggregateInput = {
|
@@ -37371,6 +37683,7 @@ export namespace Prisma {
|
|
37371
37683
|
pending?: SortOrder
|
37372
37684
|
rewardId?: SortOrder
|
37373
37685
|
campaignId?: SortOrder
|
37686
|
+
subCampaignId?: SortOrder
|
37374
37687
|
}
|
37375
37688
|
|
37376
37689
|
export type RewardBreakdownMinOrderByAggregateInput = {
|
@@ -37382,6 +37695,7 @@ export namespace Prisma {
|
|
37382
37695
|
pending?: SortOrder
|
37383
37696
|
rewardId?: SortOrder
|
37384
37697
|
campaignId?: SortOrder
|
37698
|
+
subCampaignId?: SortOrder
|
37385
37699
|
}
|
37386
37700
|
|
37387
37701
|
export type MerklRootOrderByRelevanceInput = {
|
@@ -37764,6 +38078,39 @@ export namespace Prisma {
|
|
37764
38078
|
connect?: UserComputedValueWhereUniqueInput | UserComputedValueWhereUniqueInput[]
|
37765
38079
|
}
|
37766
38080
|
|
38081
|
+
export type CampaignCreateNestedOneWithoutSubCampaignsInput = {
|
38082
|
+
create?: XOR<CampaignCreateWithoutSubCampaignsInput, CampaignUncheckedCreateWithoutSubCampaignsInput>
|
38083
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutSubCampaignsInput
|
38084
|
+
connect?: CampaignWhereUniqueInput
|
38085
|
+
}
|
38086
|
+
|
38087
|
+
export type CampaignCreateNestedManyWithoutRootCampaignInput = {
|
38088
|
+
create?: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput> | CampaignCreateWithoutRootCampaignInput[] | CampaignUncheckedCreateWithoutRootCampaignInput[]
|
38089
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRootCampaignInput | CampaignCreateOrConnectWithoutRootCampaignInput[]
|
38090
|
+
createMany?: CampaignCreateManyRootCampaignInputEnvelope
|
38091
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38092
|
+
}
|
38093
|
+
|
38094
|
+
export type CampaignCreateNestedOneWithoutChildCampaignsInput = {
|
38095
|
+
create?: XOR<CampaignCreateWithoutChildCampaignsInput, CampaignUncheckedCreateWithoutChildCampaignsInput>
|
38096
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutChildCampaignsInput
|
38097
|
+
connect?: CampaignWhereUniqueInput
|
38098
|
+
}
|
38099
|
+
|
38100
|
+
export type CampaignCreateNestedManyWithoutParentCampaignInput = {
|
38101
|
+
create?: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput> | CampaignCreateWithoutParentCampaignInput[] | CampaignUncheckedCreateWithoutParentCampaignInput[]
|
38102
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutParentCampaignInput | CampaignCreateOrConnectWithoutParentCampaignInput[]
|
38103
|
+
createMany?: CampaignCreateManyParentCampaignInputEnvelope
|
38104
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38105
|
+
}
|
38106
|
+
|
38107
|
+
export type RewardBreakdownCreateNestedManyWithoutSubCampaignInput = {
|
38108
|
+
create?: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput> | RewardBreakdownCreateWithoutSubCampaignInput[] | RewardBreakdownUncheckedCreateWithoutSubCampaignInput[]
|
38109
|
+
connectOrCreate?: RewardBreakdownCreateOrConnectWithoutSubCampaignInput | RewardBreakdownCreateOrConnectWithoutSubCampaignInput[]
|
38110
|
+
createMany?: RewardBreakdownCreateManySubCampaignInputEnvelope
|
38111
|
+
connect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38112
|
+
}
|
38113
|
+
|
37767
38114
|
export type RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput = {
|
37768
38115
|
create?: XOR<RewardBreakdownCreateWithoutCampaignInput, RewardBreakdownUncheckedCreateWithoutCampaignInput> | RewardBreakdownCreateWithoutCampaignInput[] | RewardBreakdownUncheckedCreateWithoutCampaignInput[]
|
37769
38116
|
connectOrCreate?: RewardBreakdownCreateOrConnectWithoutCampaignInput | RewardBreakdownCreateOrConnectWithoutCampaignInput[]
|
@@ -37799,6 +38146,27 @@ export namespace Prisma {
|
|
37799
38146
|
connect?: UserComputedValueWhereUniqueInput | UserComputedValueWhereUniqueInput[]
|
37800
38147
|
}
|
37801
38148
|
|
38149
|
+
export type CampaignUncheckedCreateNestedManyWithoutRootCampaignInput = {
|
38150
|
+
create?: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput> | CampaignCreateWithoutRootCampaignInput[] | CampaignUncheckedCreateWithoutRootCampaignInput[]
|
38151
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRootCampaignInput | CampaignCreateOrConnectWithoutRootCampaignInput[]
|
38152
|
+
createMany?: CampaignCreateManyRootCampaignInputEnvelope
|
38153
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38154
|
+
}
|
38155
|
+
|
38156
|
+
export type CampaignUncheckedCreateNestedManyWithoutParentCampaignInput = {
|
38157
|
+
create?: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput> | CampaignCreateWithoutParentCampaignInput[] | CampaignUncheckedCreateWithoutParentCampaignInput[]
|
38158
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutParentCampaignInput | CampaignCreateOrConnectWithoutParentCampaignInput[]
|
38159
|
+
createMany?: CampaignCreateManyParentCampaignInputEnvelope
|
38160
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38161
|
+
}
|
38162
|
+
|
38163
|
+
export type RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput = {
|
38164
|
+
create?: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput> | RewardBreakdownCreateWithoutSubCampaignInput[] | RewardBreakdownUncheckedCreateWithoutSubCampaignInput[]
|
38165
|
+
connectOrCreate?: RewardBreakdownCreateOrConnectWithoutSubCampaignInput | RewardBreakdownCreateOrConnectWithoutSubCampaignInput[]
|
38166
|
+
createMany?: RewardBreakdownCreateManySubCampaignInputEnvelope
|
38167
|
+
connect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38168
|
+
}
|
38169
|
+
|
37802
38170
|
export type StringFieldUpdateOperationsInput = {
|
37803
38171
|
set?: string
|
37804
38172
|
}
|
@@ -37946,6 +38314,68 @@ export namespace Prisma {
|
|
37946
38314
|
deleteMany?: UserComputedValueScalarWhereInput | UserComputedValueScalarWhereInput[]
|
37947
38315
|
}
|
37948
38316
|
|
38317
|
+
export type CampaignUpdateOneWithoutSubCampaignsNestedInput = {
|
38318
|
+
create?: XOR<CampaignCreateWithoutSubCampaignsInput, CampaignUncheckedCreateWithoutSubCampaignsInput>
|
38319
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutSubCampaignsInput
|
38320
|
+
upsert?: CampaignUpsertWithoutSubCampaignsInput
|
38321
|
+
disconnect?: CampaignWhereInput | boolean
|
38322
|
+
delete?: CampaignWhereInput | boolean
|
38323
|
+
connect?: CampaignWhereUniqueInput
|
38324
|
+
update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutSubCampaignsInput, CampaignUpdateWithoutSubCampaignsInput>, CampaignUncheckedUpdateWithoutSubCampaignsInput>
|
38325
|
+
}
|
38326
|
+
|
38327
|
+
export type CampaignUpdateManyWithoutRootCampaignNestedInput = {
|
38328
|
+
create?: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput> | CampaignCreateWithoutRootCampaignInput[] | CampaignUncheckedCreateWithoutRootCampaignInput[]
|
38329
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRootCampaignInput | CampaignCreateOrConnectWithoutRootCampaignInput[]
|
38330
|
+
upsert?: CampaignUpsertWithWhereUniqueWithoutRootCampaignInput | CampaignUpsertWithWhereUniqueWithoutRootCampaignInput[]
|
38331
|
+
createMany?: CampaignCreateManyRootCampaignInputEnvelope
|
38332
|
+
set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38333
|
+
disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38334
|
+
delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38335
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38336
|
+
update?: CampaignUpdateWithWhereUniqueWithoutRootCampaignInput | CampaignUpdateWithWhereUniqueWithoutRootCampaignInput[]
|
38337
|
+
updateMany?: CampaignUpdateManyWithWhereWithoutRootCampaignInput | CampaignUpdateManyWithWhereWithoutRootCampaignInput[]
|
38338
|
+
deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
38339
|
+
}
|
38340
|
+
|
38341
|
+
export type CampaignUpdateOneWithoutChildCampaignsNestedInput = {
|
38342
|
+
create?: XOR<CampaignCreateWithoutChildCampaignsInput, CampaignUncheckedCreateWithoutChildCampaignsInput>
|
38343
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutChildCampaignsInput
|
38344
|
+
upsert?: CampaignUpsertWithoutChildCampaignsInput
|
38345
|
+
disconnect?: CampaignWhereInput | boolean
|
38346
|
+
delete?: CampaignWhereInput | boolean
|
38347
|
+
connect?: CampaignWhereUniqueInput
|
38348
|
+
update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutChildCampaignsInput, CampaignUpdateWithoutChildCampaignsInput>, CampaignUncheckedUpdateWithoutChildCampaignsInput>
|
38349
|
+
}
|
38350
|
+
|
38351
|
+
export type CampaignUpdateManyWithoutParentCampaignNestedInput = {
|
38352
|
+
create?: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput> | CampaignCreateWithoutParentCampaignInput[] | CampaignUncheckedCreateWithoutParentCampaignInput[]
|
38353
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutParentCampaignInput | CampaignCreateOrConnectWithoutParentCampaignInput[]
|
38354
|
+
upsert?: CampaignUpsertWithWhereUniqueWithoutParentCampaignInput | CampaignUpsertWithWhereUniqueWithoutParentCampaignInput[]
|
38355
|
+
createMany?: CampaignCreateManyParentCampaignInputEnvelope
|
38356
|
+
set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38357
|
+
disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38358
|
+
delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38359
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38360
|
+
update?: CampaignUpdateWithWhereUniqueWithoutParentCampaignInput | CampaignUpdateWithWhereUniqueWithoutParentCampaignInput[]
|
38361
|
+
updateMany?: CampaignUpdateManyWithWhereWithoutParentCampaignInput | CampaignUpdateManyWithWhereWithoutParentCampaignInput[]
|
38362
|
+
deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
38363
|
+
}
|
38364
|
+
|
38365
|
+
export type RewardBreakdownUpdateManyWithoutSubCampaignNestedInput = {
|
38366
|
+
create?: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput> | RewardBreakdownCreateWithoutSubCampaignInput[] | RewardBreakdownUncheckedCreateWithoutSubCampaignInput[]
|
38367
|
+
connectOrCreate?: RewardBreakdownCreateOrConnectWithoutSubCampaignInput | RewardBreakdownCreateOrConnectWithoutSubCampaignInput[]
|
38368
|
+
upsert?: RewardBreakdownUpsertWithWhereUniqueWithoutSubCampaignInput | RewardBreakdownUpsertWithWhereUniqueWithoutSubCampaignInput[]
|
38369
|
+
createMany?: RewardBreakdownCreateManySubCampaignInputEnvelope
|
38370
|
+
set?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38371
|
+
disconnect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38372
|
+
delete?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38373
|
+
connect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38374
|
+
update?: RewardBreakdownUpdateWithWhereUniqueWithoutSubCampaignInput | RewardBreakdownUpdateWithWhereUniqueWithoutSubCampaignInput[]
|
38375
|
+
updateMany?: RewardBreakdownUpdateManyWithWhereWithoutSubCampaignInput | RewardBreakdownUpdateManyWithWhereWithoutSubCampaignInput[]
|
38376
|
+
deleteMany?: RewardBreakdownScalarWhereInput | RewardBreakdownScalarWhereInput[]
|
38377
|
+
}
|
38378
|
+
|
37949
38379
|
export type IntFieldUpdateOperationsInput = {
|
37950
38380
|
set?: number
|
37951
38381
|
increment?: number
|
@@ -38024,6 +38454,48 @@ export namespace Prisma {
|
|
38024
38454
|
deleteMany?: UserComputedValueScalarWhereInput | UserComputedValueScalarWhereInput[]
|
38025
38455
|
}
|
38026
38456
|
|
38457
|
+
export type CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput = {
|
38458
|
+
create?: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput> | CampaignCreateWithoutRootCampaignInput[] | CampaignUncheckedCreateWithoutRootCampaignInput[]
|
38459
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRootCampaignInput | CampaignCreateOrConnectWithoutRootCampaignInput[]
|
38460
|
+
upsert?: CampaignUpsertWithWhereUniqueWithoutRootCampaignInput | CampaignUpsertWithWhereUniqueWithoutRootCampaignInput[]
|
38461
|
+
createMany?: CampaignCreateManyRootCampaignInputEnvelope
|
38462
|
+
set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38463
|
+
disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38464
|
+
delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38465
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38466
|
+
update?: CampaignUpdateWithWhereUniqueWithoutRootCampaignInput | CampaignUpdateWithWhereUniqueWithoutRootCampaignInput[]
|
38467
|
+
updateMany?: CampaignUpdateManyWithWhereWithoutRootCampaignInput | CampaignUpdateManyWithWhereWithoutRootCampaignInput[]
|
38468
|
+
deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
38469
|
+
}
|
38470
|
+
|
38471
|
+
export type CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput = {
|
38472
|
+
create?: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput> | CampaignCreateWithoutParentCampaignInput[] | CampaignUncheckedCreateWithoutParentCampaignInput[]
|
38473
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutParentCampaignInput | CampaignCreateOrConnectWithoutParentCampaignInput[]
|
38474
|
+
upsert?: CampaignUpsertWithWhereUniqueWithoutParentCampaignInput | CampaignUpsertWithWhereUniqueWithoutParentCampaignInput[]
|
38475
|
+
createMany?: CampaignCreateManyParentCampaignInputEnvelope
|
38476
|
+
set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38477
|
+
disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38478
|
+
delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38479
|
+
connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
|
38480
|
+
update?: CampaignUpdateWithWhereUniqueWithoutParentCampaignInput | CampaignUpdateWithWhereUniqueWithoutParentCampaignInput[]
|
38481
|
+
updateMany?: CampaignUpdateManyWithWhereWithoutParentCampaignInput | CampaignUpdateManyWithWhereWithoutParentCampaignInput[]
|
38482
|
+
deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
38483
|
+
}
|
38484
|
+
|
38485
|
+
export type RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput = {
|
38486
|
+
create?: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput> | RewardBreakdownCreateWithoutSubCampaignInput[] | RewardBreakdownUncheckedCreateWithoutSubCampaignInput[]
|
38487
|
+
connectOrCreate?: RewardBreakdownCreateOrConnectWithoutSubCampaignInput | RewardBreakdownCreateOrConnectWithoutSubCampaignInput[]
|
38488
|
+
upsert?: RewardBreakdownUpsertWithWhereUniqueWithoutSubCampaignInput | RewardBreakdownUpsertWithWhereUniqueWithoutSubCampaignInput[]
|
38489
|
+
createMany?: RewardBreakdownCreateManySubCampaignInputEnvelope
|
38490
|
+
set?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38491
|
+
disconnect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38492
|
+
delete?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38493
|
+
connect?: RewardBreakdownWhereUniqueInput | RewardBreakdownWhereUniqueInput[]
|
38494
|
+
update?: RewardBreakdownUpdateWithWhereUniqueWithoutSubCampaignInput | RewardBreakdownUpdateWithWhereUniqueWithoutSubCampaignInput[]
|
38495
|
+
updateMany?: RewardBreakdownUpdateManyWithWhereWithoutSubCampaignInput | RewardBreakdownUpdateManyWithWhereWithoutSubCampaignInput[]
|
38496
|
+
deleteMany?: RewardBreakdownScalarWhereInput | RewardBreakdownScalarWhereInput[]
|
38497
|
+
}
|
38498
|
+
|
38027
38499
|
export type CampaignCreateNestedOneWithoutCampaignStatusInput = {
|
38028
38500
|
create?: XOR<CampaignCreateWithoutCampaignStatusInput, CampaignUncheckedCreateWithoutCampaignStatusInput>
|
38029
38501
|
connectOrCreate?: CampaignCreateOrConnectWithoutCampaignStatusInput
|
@@ -39698,6 +40170,12 @@ export namespace Prisma {
|
|
39698
40170
|
connect?: CampaignWhereUniqueInput
|
39699
40171
|
}
|
39700
40172
|
|
40173
|
+
export type CampaignCreateNestedOneWithoutRewardBreakdownSubCampaignInput = {
|
40174
|
+
create?: XOR<CampaignCreateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedCreateWithoutRewardBreakdownSubCampaignInput>
|
40175
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRewardBreakdownSubCampaignInput
|
40176
|
+
connect?: CampaignWhereUniqueInput
|
40177
|
+
}
|
40178
|
+
|
39701
40179
|
export type ProtocolUpdateOneWithoutRewardBreakdownNestedInput = {
|
39702
40180
|
create?: XOR<ProtocolCreateWithoutRewardBreakdownInput, ProtocolUncheckedCreateWithoutRewardBreakdownInput>
|
39703
40181
|
connectOrCreate?: ProtocolCreateOrConnectWithoutRewardBreakdownInput
|
@@ -39724,6 +40202,16 @@ export namespace Prisma {
|
|
39724
40202
|
update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutRewardBreakdownInput, CampaignUpdateWithoutRewardBreakdownInput>, CampaignUncheckedUpdateWithoutRewardBreakdownInput>
|
39725
40203
|
}
|
39726
40204
|
|
40205
|
+
export type CampaignUpdateOneWithoutRewardBreakdownSubCampaignNestedInput = {
|
40206
|
+
create?: XOR<CampaignCreateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedCreateWithoutRewardBreakdownSubCampaignInput>
|
40207
|
+
connectOrCreate?: CampaignCreateOrConnectWithoutRewardBreakdownSubCampaignInput
|
40208
|
+
upsert?: CampaignUpsertWithoutRewardBreakdownSubCampaignInput
|
40209
|
+
disconnect?: CampaignWhereInput | boolean
|
40210
|
+
delete?: CampaignWhereInput | boolean
|
40211
|
+
connect?: CampaignWhereUniqueInput
|
40212
|
+
update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutRewardBreakdownSubCampaignInput, CampaignUpdateWithoutRewardBreakdownSubCampaignInput>, CampaignUncheckedUpdateWithoutRewardBreakdownSubCampaignInput>
|
40213
|
+
}
|
40214
|
+
|
39727
40215
|
export type ChainCreateNestedOneWithoutMerklRootInput = {
|
39728
40216
|
create?: XOR<ChainCreateWithoutMerklRootInput, ChainUncheckedCreateWithoutMerklRootInput>
|
39729
40217
|
connectOrCreate?: ChainCreateOrConnectWithoutMerklRootInput
|
@@ -40495,6 +40983,7 @@ export namespace Prisma {
|
|
40495
40983
|
pending: string
|
40496
40984
|
Protocol?: ProtocolCreateNestedOneWithoutRewardBreakdownInput
|
40497
40985
|
Reward: RewardCreateNestedOneWithoutBreakdownInput
|
40986
|
+
SubCampaign?: CampaignCreateNestedOneWithoutRewardBreakdownSubCampaignInput
|
40498
40987
|
}
|
40499
40988
|
|
40500
40989
|
export type RewardBreakdownUncheckedCreateWithoutCampaignInput = {
|
@@ -40505,6 +40994,7 @@ export namespace Prisma {
|
|
40505
40994
|
claimed: string
|
40506
40995
|
pending: string
|
40507
40996
|
rewardId: string
|
40997
|
+
subCampaignId?: string | null
|
40508
40998
|
}
|
40509
40999
|
|
40510
41000
|
export type RewardBreakdownCreateOrConnectWithoutCampaignInput = {
|
@@ -40634,6 +41124,300 @@ export namespace Prisma {
|
|
40634
41124
|
skipDuplicates?: boolean
|
40635
41125
|
}
|
40636
41126
|
|
41127
|
+
export type CampaignCreateWithoutSubCampaignsInput = {
|
41128
|
+
id: string
|
41129
|
+
campaignId: string
|
41130
|
+
type: string
|
41131
|
+
distributionType?: $Enums.DistributionType
|
41132
|
+
subType?: number | null
|
41133
|
+
amount: string
|
41134
|
+
startTimestamp: bigint | number
|
41135
|
+
endTimestamp: bigint | number
|
41136
|
+
params: JsonNullValueInput | InputJsonValue
|
41137
|
+
description?: string | null
|
41138
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41139
|
+
createdAt?: Date | string
|
41140
|
+
ComputeChain: ChainCreateNestedOneWithoutCampaignsInput
|
41141
|
+
DistributionChain: ChainCreateNestedOneWithoutDistributionInput
|
41142
|
+
RewardToken: TokenCreateNestedOneWithoutCampaignsInput
|
41143
|
+
Opportunity: OpportunityCreateNestedOneWithoutCampaignsInput
|
41144
|
+
RewardBreakdown?: RewardBreakdownCreateNestedManyWithoutCampaignInput
|
41145
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownCreateNestedManyWithoutCampaignInput
|
41146
|
+
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41147
|
+
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41148
|
+
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41149
|
+
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
41150
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
41151
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
41152
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
41153
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41154
|
+
}
|
41155
|
+
|
41156
|
+
export type CampaignUncheckedCreateWithoutSubCampaignsInput = {
|
41157
|
+
id: string
|
41158
|
+
computeChainId: number
|
41159
|
+
distributionChainId: number
|
41160
|
+
campaignId: string
|
41161
|
+
type: string
|
41162
|
+
distributionType?: $Enums.DistributionType
|
41163
|
+
subType?: number | null
|
41164
|
+
rewardTokenId: string
|
41165
|
+
amount: string
|
41166
|
+
opportunityId: string
|
41167
|
+
startTimestamp: bigint | number
|
41168
|
+
endTimestamp: bigint | number
|
41169
|
+
params: JsonNullValueInput | InputJsonValue
|
41170
|
+
description?: string | null
|
41171
|
+
creatorAddress: string
|
41172
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41173
|
+
createdAt?: Date | string
|
41174
|
+
rootCampaignId?: string | null
|
41175
|
+
parentCampaignId?: string | null
|
41176
|
+
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41177
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41178
|
+
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41179
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41180
|
+
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41181
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
41182
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41183
|
+
}
|
41184
|
+
|
41185
|
+
export type CampaignCreateOrConnectWithoutSubCampaignsInput = {
|
41186
|
+
where: CampaignWhereUniqueInput
|
41187
|
+
create: XOR<CampaignCreateWithoutSubCampaignsInput, CampaignUncheckedCreateWithoutSubCampaignsInput>
|
41188
|
+
}
|
41189
|
+
|
41190
|
+
export type CampaignCreateWithoutRootCampaignInput = {
|
41191
|
+
id: string
|
41192
|
+
campaignId: string
|
41193
|
+
type: string
|
41194
|
+
distributionType?: $Enums.DistributionType
|
41195
|
+
subType?: number | null
|
41196
|
+
amount: string
|
41197
|
+
startTimestamp: bigint | number
|
41198
|
+
endTimestamp: bigint | number
|
41199
|
+
params: JsonNullValueInput | InputJsonValue
|
41200
|
+
description?: string | null
|
41201
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41202
|
+
createdAt?: Date | string
|
41203
|
+
ComputeChain: ChainCreateNestedOneWithoutCampaignsInput
|
41204
|
+
DistributionChain: ChainCreateNestedOneWithoutDistributionInput
|
41205
|
+
RewardToken: TokenCreateNestedOneWithoutCampaignsInput
|
41206
|
+
Opportunity: OpportunityCreateNestedOneWithoutCampaignsInput
|
41207
|
+
RewardBreakdown?: RewardBreakdownCreateNestedManyWithoutCampaignInput
|
41208
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownCreateNestedManyWithoutCampaignInput
|
41209
|
+
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41210
|
+
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41211
|
+
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41212
|
+
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
41213
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
41214
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
41215
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
41216
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41217
|
+
}
|
41218
|
+
|
41219
|
+
export type CampaignUncheckedCreateWithoutRootCampaignInput = {
|
41220
|
+
id: string
|
41221
|
+
computeChainId: number
|
41222
|
+
distributionChainId: number
|
41223
|
+
campaignId: string
|
41224
|
+
type: string
|
41225
|
+
distributionType?: $Enums.DistributionType
|
41226
|
+
subType?: number | null
|
41227
|
+
rewardTokenId: string
|
41228
|
+
amount: string
|
41229
|
+
opportunityId: string
|
41230
|
+
startTimestamp: bigint | number
|
41231
|
+
endTimestamp: bigint | number
|
41232
|
+
params: JsonNullValueInput | InputJsonValue
|
41233
|
+
description?: string | null
|
41234
|
+
creatorAddress: string
|
41235
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41236
|
+
createdAt?: Date | string
|
41237
|
+
parentCampaignId?: string | null
|
41238
|
+
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41239
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41240
|
+
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41241
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41242
|
+
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41243
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
41244
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
41245
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41246
|
+
}
|
41247
|
+
|
41248
|
+
export type CampaignCreateOrConnectWithoutRootCampaignInput = {
|
41249
|
+
where: CampaignWhereUniqueInput
|
41250
|
+
create: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput>
|
41251
|
+
}
|
41252
|
+
|
41253
|
+
export type CampaignCreateManyRootCampaignInputEnvelope = {
|
41254
|
+
data: CampaignCreateManyRootCampaignInput | CampaignCreateManyRootCampaignInput[]
|
41255
|
+
skipDuplicates?: boolean
|
41256
|
+
}
|
41257
|
+
|
41258
|
+
export type CampaignCreateWithoutChildCampaignsInput = {
|
41259
|
+
id: string
|
41260
|
+
campaignId: string
|
41261
|
+
type: string
|
41262
|
+
distributionType?: $Enums.DistributionType
|
41263
|
+
subType?: number | null
|
41264
|
+
amount: string
|
41265
|
+
startTimestamp: bigint | number
|
41266
|
+
endTimestamp: bigint | number
|
41267
|
+
params: JsonNullValueInput | InputJsonValue
|
41268
|
+
description?: string | null
|
41269
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41270
|
+
createdAt?: Date | string
|
41271
|
+
ComputeChain: ChainCreateNestedOneWithoutCampaignsInput
|
41272
|
+
DistributionChain: ChainCreateNestedOneWithoutDistributionInput
|
41273
|
+
RewardToken: TokenCreateNestedOneWithoutCampaignsInput
|
41274
|
+
Opportunity: OpportunityCreateNestedOneWithoutCampaignsInput
|
41275
|
+
RewardBreakdown?: RewardBreakdownCreateNestedManyWithoutCampaignInput
|
41276
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownCreateNestedManyWithoutCampaignInput
|
41277
|
+
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41278
|
+
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41279
|
+
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41280
|
+
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
41281
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
41282
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
41283
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
41284
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41285
|
+
}
|
41286
|
+
|
41287
|
+
export type CampaignUncheckedCreateWithoutChildCampaignsInput = {
|
41288
|
+
id: string
|
41289
|
+
computeChainId: number
|
41290
|
+
distributionChainId: number
|
41291
|
+
campaignId: string
|
41292
|
+
type: string
|
41293
|
+
distributionType?: $Enums.DistributionType
|
41294
|
+
subType?: number | null
|
41295
|
+
rewardTokenId: string
|
41296
|
+
amount: string
|
41297
|
+
opportunityId: string
|
41298
|
+
startTimestamp: bigint | number
|
41299
|
+
endTimestamp: bigint | number
|
41300
|
+
params: JsonNullValueInput | InputJsonValue
|
41301
|
+
description?: string | null
|
41302
|
+
creatorAddress: string
|
41303
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41304
|
+
createdAt?: Date | string
|
41305
|
+
rootCampaignId?: string | null
|
41306
|
+
parentCampaignId?: string | null
|
41307
|
+
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41308
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41309
|
+
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41310
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41311
|
+
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41312
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
41313
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41314
|
+
}
|
41315
|
+
|
41316
|
+
export type CampaignCreateOrConnectWithoutChildCampaignsInput = {
|
41317
|
+
where: CampaignWhereUniqueInput
|
41318
|
+
create: XOR<CampaignCreateWithoutChildCampaignsInput, CampaignUncheckedCreateWithoutChildCampaignsInput>
|
41319
|
+
}
|
41320
|
+
|
41321
|
+
export type CampaignCreateWithoutParentCampaignInput = {
|
41322
|
+
id: string
|
41323
|
+
campaignId: string
|
41324
|
+
type: string
|
41325
|
+
distributionType?: $Enums.DistributionType
|
41326
|
+
subType?: number | null
|
41327
|
+
amount: string
|
41328
|
+
startTimestamp: bigint | number
|
41329
|
+
endTimestamp: bigint | number
|
41330
|
+
params: JsonNullValueInput | InputJsonValue
|
41331
|
+
description?: string | null
|
41332
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41333
|
+
createdAt?: Date | string
|
41334
|
+
ComputeChain: ChainCreateNestedOneWithoutCampaignsInput
|
41335
|
+
DistributionChain: ChainCreateNestedOneWithoutDistributionInput
|
41336
|
+
RewardToken: TokenCreateNestedOneWithoutCampaignsInput
|
41337
|
+
Opportunity: OpportunityCreateNestedOneWithoutCampaignsInput
|
41338
|
+
RewardBreakdown?: RewardBreakdownCreateNestedManyWithoutCampaignInput
|
41339
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownCreateNestedManyWithoutCampaignInput
|
41340
|
+
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41341
|
+
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41342
|
+
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41343
|
+
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
41344
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
41345
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
41346
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
41347
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41348
|
+
}
|
41349
|
+
|
41350
|
+
export type CampaignUncheckedCreateWithoutParentCampaignInput = {
|
41351
|
+
id: string
|
41352
|
+
computeChainId: number
|
41353
|
+
distributionChainId: number
|
41354
|
+
campaignId: string
|
41355
|
+
type: string
|
41356
|
+
distributionType?: $Enums.DistributionType
|
41357
|
+
subType?: number | null
|
41358
|
+
rewardTokenId: string
|
41359
|
+
amount: string
|
41360
|
+
opportunityId: string
|
41361
|
+
startTimestamp: bigint | number
|
41362
|
+
endTimestamp: bigint | number
|
41363
|
+
params: JsonNullValueInput | InputJsonValue
|
41364
|
+
description?: string | null
|
41365
|
+
creatorAddress: string
|
41366
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41367
|
+
createdAt?: Date | string
|
41368
|
+
rootCampaignId?: string | null
|
41369
|
+
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41370
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41371
|
+
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41372
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41373
|
+
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41374
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
41375
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
41376
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41377
|
+
}
|
41378
|
+
|
41379
|
+
export type CampaignCreateOrConnectWithoutParentCampaignInput = {
|
41380
|
+
where: CampaignWhereUniqueInput
|
41381
|
+
create: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput>
|
41382
|
+
}
|
41383
|
+
|
41384
|
+
export type CampaignCreateManyParentCampaignInputEnvelope = {
|
41385
|
+
data: CampaignCreateManyParentCampaignInput | CampaignCreateManyParentCampaignInput[]
|
41386
|
+
skipDuplicates?: boolean
|
41387
|
+
}
|
41388
|
+
|
41389
|
+
export type RewardBreakdownCreateWithoutSubCampaignInput = {
|
41390
|
+
id?: string
|
41391
|
+
reason: string
|
41392
|
+
amount: string
|
41393
|
+
claimed: string
|
41394
|
+
pending: string
|
41395
|
+
Protocol?: ProtocolCreateNestedOneWithoutRewardBreakdownInput
|
41396
|
+
Reward: RewardCreateNestedOneWithoutBreakdownInput
|
41397
|
+
Campaign: CampaignCreateNestedOneWithoutRewardBreakdownInput
|
41398
|
+
}
|
41399
|
+
|
41400
|
+
export type RewardBreakdownUncheckedCreateWithoutSubCampaignInput = {
|
41401
|
+
id?: string
|
41402
|
+
protocolId?: string | null
|
41403
|
+
reason: string
|
41404
|
+
amount: string
|
41405
|
+
claimed: string
|
41406
|
+
pending: string
|
41407
|
+
rewardId: string
|
41408
|
+
campaignId: string
|
41409
|
+
}
|
41410
|
+
|
41411
|
+
export type RewardBreakdownCreateOrConnectWithoutSubCampaignInput = {
|
41412
|
+
where: RewardBreakdownWhereUniqueInput
|
41413
|
+
create: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput>
|
41414
|
+
}
|
41415
|
+
|
41416
|
+
export type RewardBreakdownCreateManySubCampaignInputEnvelope = {
|
41417
|
+
data: RewardBreakdownCreateManySubCampaignInput | RewardBreakdownCreateManySubCampaignInput[]
|
41418
|
+
skipDuplicates?: boolean
|
41419
|
+
}
|
41420
|
+
|
40637
41421
|
export type ChainUpsertWithoutCampaignsInput = {
|
40638
41422
|
update: XOR<ChainUpdateWithoutCampaignsInput, ChainUncheckedUpdateWithoutCampaignsInput>
|
40639
41423
|
create: XOR<ChainCreateWithoutCampaignsInput, ChainUncheckedCreateWithoutCampaignsInput>
|
@@ -40852,6 +41636,7 @@ export namespace Prisma {
|
|
40852
41636
|
pending?: StringFilter<"RewardBreakdown"> | string
|
40853
41637
|
rewardId?: StringFilter<"RewardBreakdown"> | string
|
40854
41638
|
campaignId?: StringFilter<"RewardBreakdown"> | string
|
41639
|
+
subCampaignId?: StringNullableFilter<"RewardBreakdown"> | string | null
|
40855
41640
|
}
|
40856
41641
|
|
40857
41642
|
export type DailyRewardsBreakdownUpsertWithWhereUniqueWithoutCampaignInput = {
|
@@ -40990,6 +41775,217 @@ export namespace Prisma {
|
|
40990
41775
|
boost?: FloatNullableFilter<"UserComputedValue"> | number | null
|
40991
41776
|
}
|
40992
41777
|
|
41778
|
+
export type CampaignUpsertWithoutSubCampaignsInput = {
|
41779
|
+
update: XOR<CampaignUpdateWithoutSubCampaignsInput, CampaignUncheckedUpdateWithoutSubCampaignsInput>
|
41780
|
+
create: XOR<CampaignCreateWithoutSubCampaignsInput, CampaignUncheckedCreateWithoutSubCampaignsInput>
|
41781
|
+
where?: CampaignWhereInput
|
41782
|
+
}
|
41783
|
+
|
41784
|
+
export type CampaignUpdateToOneWithWhereWithoutSubCampaignsInput = {
|
41785
|
+
where?: CampaignWhereInput
|
41786
|
+
data: XOR<CampaignUpdateWithoutSubCampaignsInput, CampaignUncheckedUpdateWithoutSubCampaignsInput>
|
41787
|
+
}
|
41788
|
+
|
41789
|
+
export type CampaignUpdateWithoutSubCampaignsInput = {
|
41790
|
+
id?: StringFieldUpdateOperationsInput | string
|
41791
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
41792
|
+
type?: StringFieldUpdateOperationsInput | string
|
41793
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
41794
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
41795
|
+
amount?: StringFieldUpdateOperationsInput | string
|
41796
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41797
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41798
|
+
params?: JsonNullValueInput | InputJsonValue
|
41799
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
41800
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41801
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
41802
|
+
ComputeChain?: ChainUpdateOneRequiredWithoutCampaignsNestedInput
|
41803
|
+
DistributionChain?: ChainUpdateOneRequiredWithoutDistributionNestedInput
|
41804
|
+
RewardToken?: TokenUpdateOneRequiredWithoutCampaignsNestedInput
|
41805
|
+
Opportunity?: OpportunityUpdateOneRequiredWithoutCampaignsNestedInput
|
41806
|
+
RewardBreakdown?: RewardBreakdownUpdateManyWithoutCampaignNestedInput
|
41807
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUpdateManyWithoutCampaignNestedInput
|
41808
|
+
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
41809
|
+
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
41810
|
+
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
41811
|
+
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
41812
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
41813
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
41814
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
41815
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
41816
|
+
}
|
41817
|
+
|
41818
|
+
export type CampaignUncheckedUpdateWithoutSubCampaignsInput = {
|
41819
|
+
id?: StringFieldUpdateOperationsInput | string
|
41820
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
41821
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
41822
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
41823
|
+
type?: StringFieldUpdateOperationsInput | string
|
41824
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
41825
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
41826
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
41827
|
+
amount?: StringFieldUpdateOperationsInput | string
|
41828
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
41829
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41830
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41831
|
+
params?: JsonNullValueInput | InputJsonValue
|
41832
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
41833
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
41834
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41835
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
41836
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41837
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41838
|
+
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41839
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41840
|
+
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
41841
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
41842
|
+
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
41843
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
41844
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
41845
|
+
}
|
41846
|
+
|
41847
|
+
export type CampaignUpsertWithWhereUniqueWithoutRootCampaignInput = {
|
41848
|
+
where: CampaignWhereUniqueInput
|
41849
|
+
update: XOR<CampaignUpdateWithoutRootCampaignInput, CampaignUncheckedUpdateWithoutRootCampaignInput>
|
41850
|
+
create: XOR<CampaignCreateWithoutRootCampaignInput, CampaignUncheckedCreateWithoutRootCampaignInput>
|
41851
|
+
}
|
41852
|
+
|
41853
|
+
export type CampaignUpdateWithWhereUniqueWithoutRootCampaignInput = {
|
41854
|
+
where: CampaignWhereUniqueInput
|
41855
|
+
data: XOR<CampaignUpdateWithoutRootCampaignInput, CampaignUncheckedUpdateWithoutRootCampaignInput>
|
41856
|
+
}
|
41857
|
+
|
41858
|
+
export type CampaignUpdateManyWithWhereWithoutRootCampaignInput = {
|
41859
|
+
where: CampaignScalarWhereInput
|
41860
|
+
data: XOR<CampaignUpdateManyMutationInput, CampaignUncheckedUpdateManyWithoutRootCampaignInput>
|
41861
|
+
}
|
41862
|
+
|
41863
|
+
export type CampaignScalarWhereInput = {
|
41864
|
+
AND?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
41865
|
+
OR?: CampaignScalarWhereInput[]
|
41866
|
+
NOT?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
41867
|
+
id?: StringFilter<"Campaign"> | string
|
41868
|
+
computeChainId?: IntFilter<"Campaign"> | number
|
41869
|
+
distributionChainId?: IntFilter<"Campaign"> | number
|
41870
|
+
campaignId?: StringFilter<"Campaign"> | string
|
41871
|
+
type?: StringFilter<"Campaign"> | string
|
41872
|
+
distributionType?: EnumDistributionTypeFilter<"Campaign"> | $Enums.DistributionType
|
41873
|
+
subType?: IntNullableFilter<"Campaign"> | number | null
|
41874
|
+
rewardTokenId?: StringFilter<"Campaign"> | string
|
41875
|
+
amount?: StringFilter<"Campaign"> | string
|
41876
|
+
opportunityId?: StringFilter<"Campaign"> | string
|
41877
|
+
startTimestamp?: BigIntFilter<"Campaign"> | bigint | number
|
41878
|
+
endTimestamp?: BigIntFilter<"Campaign"> | bigint | number
|
41879
|
+
params?: JsonFilter<"Campaign">
|
41880
|
+
description?: StringNullableFilter<"Campaign"> | string | null
|
41881
|
+
creatorAddress?: StringFilter<"Campaign"> | string
|
41882
|
+
manualOverrides?: EnumCampaignManualOverrideNullableListFilter<"Campaign">
|
41883
|
+
createdAt?: DateTimeFilter<"Campaign"> | Date | string
|
41884
|
+
rootCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
41885
|
+
parentCampaignId?: StringNullableFilter<"Campaign"> | string | null
|
41886
|
+
}
|
41887
|
+
|
41888
|
+
export type CampaignUpsertWithoutChildCampaignsInput = {
|
41889
|
+
update: XOR<CampaignUpdateWithoutChildCampaignsInput, CampaignUncheckedUpdateWithoutChildCampaignsInput>
|
41890
|
+
create: XOR<CampaignCreateWithoutChildCampaignsInput, CampaignUncheckedCreateWithoutChildCampaignsInput>
|
41891
|
+
where?: CampaignWhereInput
|
41892
|
+
}
|
41893
|
+
|
41894
|
+
export type CampaignUpdateToOneWithWhereWithoutChildCampaignsInput = {
|
41895
|
+
where?: CampaignWhereInput
|
41896
|
+
data: XOR<CampaignUpdateWithoutChildCampaignsInput, CampaignUncheckedUpdateWithoutChildCampaignsInput>
|
41897
|
+
}
|
41898
|
+
|
41899
|
+
export type CampaignUpdateWithoutChildCampaignsInput = {
|
41900
|
+
id?: StringFieldUpdateOperationsInput | string
|
41901
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
41902
|
+
type?: StringFieldUpdateOperationsInput | string
|
41903
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
41904
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
41905
|
+
amount?: StringFieldUpdateOperationsInput | string
|
41906
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41907
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41908
|
+
params?: JsonNullValueInput | InputJsonValue
|
41909
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
41910
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41911
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
41912
|
+
ComputeChain?: ChainUpdateOneRequiredWithoutCampaignsNestedInput
|
41913
|
+
DistributionChain?: ChainUpdateOneRequiredWithoutDistributionNestedInput
|
41914
|
+
RewardToken?: TokenUpdateOneRequiredWithoutCampaignsNestedInput
|
41915
|
+
Opportunity?: OpportunityUpdateOneRequiredWithoutCampaignsNestedInput
|
41916
|
+
RewardBreakdown?: RewardBreakdownUpdateManyWithoutCampaignNestedInput
|
41917
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUpdateManyWithoutCampaignNestedInput
|
41918
|
+
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
41919
|
+
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
41920
|
+
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
41921
|
+
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
41922
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
41923
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
41924
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
41925
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
41926
|
+
}
|
41927
|
+
|
41928
|
+
export type CampaignUncheckedUpdateWithoutChildCampaignsInput = {
|
41929
|
+
id?: StringFieldUpdateOperationsInput | string
|
41930
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
41931
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
41932
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
41933
|
+
type?: StringFieldUpdateOperationsInput | string
|
41934
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
41935
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
41936
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
41937
|
+
amount?: StringFieldUpdateOperationsInput | string
|
41938
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
41939
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41940
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
41941
|
+
params?: JsonNullValueInput | InputJsonValue
|
41942
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
41943
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
41944
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41945
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
41946
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41947
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41948
|
+
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41949
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41950
|
+
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
41951
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
41952
|
+
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
41953
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
41954
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
41955
|
+
}
|
41956
|
+
|
41957
|
+
export type CampaignUpsertWithWhereUniqueWithoutParentCampaignInput = {
|
41958
|
+
where: CampaignWhereUniqueInput
|
41959
|
+
update: XOR<CampaignUpdateWithoutParentCampaignInput, CampaignUncheckedUpdateWithoutParentCampaignInput>
|
41960
|
+
create: XOR<CampaignCreateWithoutParentCampaignInput, CampaignUncheckedCreateWithoutParentCampaignInput>
|
41961
|
+
}
|
41962
|
+
|
41963
|
+
export type CampaignUpdateWithWhereUniqueWithoutParentCampaignInput = {
|
41964
|
+
where: CampaignWhereUniqueInput
|
41965
|
+
data: XOR<CampaignUpdateWithoutParentCampaignInput, CampaignUncheckedUpdateWithoutParentCampaignInput>
|
41966
|
+
}
|
41967
|
+
|
41968
|
+
export type CampaignUpdateManyWithWhereWithoutParentCampaignInput = {
|
41969
|
+
where: CampaignScalarWhereInput
|
41970
|
+
data: XOR<CampaignUpdateManyMutationInput, CampaignUncheckedUpdateManyWithoutParentCampaignInput>
|
41971
|
+
}
|
41972
|
+
|
41973
|
+
export type RewardBreakdownUpsertWithWhereUniqueWithoutSubCampaignInput = {
|
41974
|
+
where: RewardBreakdownWhereUniqueInput
|
41975
|
+
update: XOR<RewardBreakdownUpdateWithoutSubCampaignInput, RewardBreakdownUncheckedUpdateWithoutSubCampaignInput>
|
41976
|
+
create: XOR<RewardBreakdownCreateWithoutSubCampaignInput, RewardBreakdownUncheckedCreateWithoutSubCampaignInput>
|
41977
|
+
}
|
41978
|
+
|
41979
|
+
export type RewardBreakdownUpdateWithWhereUniqueWithoutSubCampaignInput = {
|
41980
|
+
where: RewardBreakdownWhereUniqueInput
|
41981
|
+
data: XOR<RewardBreakdownUpdateWithoutSubCampaignInput, RewardBreakdownUncheckedUpdateWithoutSubCampaignInput>
|
41982
|
+
}
|
41983
|
+
|
41984
|
+
export type RewardBreakdownUpdateManyWithWhereWithoutSubCampaignInput = {
|
41985
|
+
where: RewardBreakdownScalarWhereInput
|
41986
|
+
data: XOR<RewardBreakdownUpdateManyMutationInput, RewardBreakdownUncheckedUpdateManyWithoutSubCampaignInput>
|
41987
|
+
}
|
41988
|
+
|
40993
41989
|
export type CampaignCreateWithoutCampaignStatusInput = {
|
40994
41990
|
id: string
|
40995
41991
|
campaignId: string
|
@@ -41012,6 +42008,11 @@ export namespace Prisma {
|
|
41012
42008
|
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41013
42009
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41014
42010
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
42011
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
42012
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
42013
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
42014
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
42015
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41015
42016
|
}
|
41016
42017
|
|
41017
42018
|
export type CampaignUncheckedCreateWithoutCampaignStatusInput = {
|
@@ -41032,10 +42033,15 @@ export namespace Prisma {
|
|
41032
42033
|
creatorAddress: string
|
41033
42034
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41034
42035
|
createdAt?: Date | string
|
42036
|
+
rootCampaignId?: string | null
|
42037
|
+
parentCampaignId?: string | null
|
41035
42038
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41036
42039
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41037
42040
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41038
42041
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42042
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
42043
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
42044
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41039
42045
|
}
|
41040
42046
|
|
41041
42047
|
export type CampaignCreateOrConnectWithoutCampaignStatusInput = {
|
@@ -41076,6 +42082,11 @@ export namespace Prisma {
|
|
41076
42082
|
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
41077
42083
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
41078
42084
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
42085
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
42086
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
42087
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
42088
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
42089
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
41079
42090
|
}
|
41080
42091
|
|
41081
42092
|
export type CampaignUncheckedUpdateWithoutCampaignStatusInput = {
|
@@ -41096,10 +42107,15 @@ export namespace Prisma {
|
|
41096
42107
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
41097
42108
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41098
42109
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
42110
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
42111
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41099
42112
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41100
42113
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41101
42114
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
41102
42115
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
42116
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
42117
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
42118
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
41103
42119
|
}
|
41104
42120
|
|
41105
42121
|
export type CampaignCreateWithoutCampaignEngineValuesInput = {
|
@@ -41124,6 +42140,11 @@ export namespace Prisma {
|
|
41124
42140
|
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41125
42141
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41126
42142
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
42143
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
42144
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
42145
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
42146
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
42147
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41127
42148
|
}
|
41128
42149
|
|
41129
42150
|
export type CampaignUncheckedCreateWithoutCampaignEngineValuesInput = {
|
@@ -41144,10 +42165,15 @@ export namespace Prisma {
|
|
41144
42165
|
creatorAddress: string
|
41145
42166
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41146
42167
|
createdAt?: Date | string
|
42168
|
+
rootCampaignId?: string | null
|
42169
|
+
parentCampaignId?: string | null
|
41147
42170
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41148
42171
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41149
42172
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41150
42173
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42174
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
42175
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
42176
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41151
42177
|
}
|
41152
42178
|
|
41153
42179
|
export type CampaignCreateOrConnectWithoutCampaignEngineValuesInput = {
|
@@ -41188,6 +42214,11 @@ export namespace Prisma {
|
|
41188
42214
|
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
41189
42215
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
41190
42216
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
42217
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
42218
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
42219
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
42220
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
42221
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
41191
42222
|
}
|
41192
42223
|
|
41193
42224
|
export type CampaignUncheckedUpdateWithoutCampaignEngineValuesInput = {
|
@@ -41208,10 +42239,15 @@ export namespace Prisma {
|
|
41208
42239
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
41209
42240
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41210
42241
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
42242
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
42243
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41211
42244
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41212
42245
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41213
42246
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
41214
42247
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
42248
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
42249
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
42250
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
41215
42251
|
}
|
41216
42252
|
|
41217
42253
|
export type CampaignCreateWithoutUserComputedValueInput = {
|
@@ -41236,6 +42272,11 @@ export namespace Prisma {
|
|
41236
42272
|
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
41237
42273
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41238
42274
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
42275
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
42276
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
42277
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
42278
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
42279
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41239
42280
|
}
|
41240
42281
|
|
41241
42282
|
export type CampaignUncheckedCreateWithoutUserComputedValueInput = {
|
@@ -41256,10 +42297,15 @@ export namespace Prisma {
|
|
41256
42297
|
creatorAddress: string
|
41257
42298
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41258
42299
|
createdAt?: Date | string
|
42300
|
+
rootCampaignId?: string | null
|
42301
|
+
parentCampaignId?: string | null
|
41259
42302
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41260
42303
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41261
42304
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41262
42305
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42306
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
42307
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
42308
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41263
42309
|
}
|
41264
42310
|
|
41265
42311
|
export type CampaignCreateOrConnectWithoutUserComputedValueInput = {
|
@@ -41323,6 +42369,11 @@ export namespace Prisma {
|
|
41323
42369
|
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
41324
42370
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
41325
42371
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
42372
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
42373
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
42374
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
42375
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
42376
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
41326
42377
|
}
|
41327
42378
|
|
41328
42379
|
export type CampaignUncheckedUpdateWithoutUserComputedValueInput = {
|
@@ -41343,10 +42394,15 @@ export namespace Prisma {
|
|
41343
42394
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
41344
42395
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41345
42396
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
42397
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
42398
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
41346
42399
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41347
42400
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
41348
42401
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
41349
42402
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
42403
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
42404
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
42405
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
41350
42406
|
}
|
41351
42407
|
|
41352
42408
|
export type UserUpsertWithoutUserComputedValueInput = {
|
@@ -41422,6 +42478,11 @@ export namespace Prisma {
|
|
41422
42478
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41423
42479
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41424
42480
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
42481
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
42482
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
42483
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
42484
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
42485
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41425
42486
|
}
|
41426
42487
|
|
41427
42488
|
export type CampaignUncheckedCreateWithoutComputeChainInput = {
|
@@ -41441,11 +42502,16 @@ export namespace Prisma {
|
|
41441
42502
|
creatorAddress: string
|
41442
42503
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41443
42504
|
createdAt?: Date | string
|
42505
|
+
rootCampaignId?: string | null
|
42506
|
+
parentCampaignId?: string | null
|
41444
42507
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41445
42508
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41446
42509
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41447
42510
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41448
42511
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42512
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
42513
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
42514
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41449
42515
|
}
|
41450
42516
|
|
41451
42517
|
export type CampaignCreateOrConnectWithoutComputeChainInput = {
|
@@ -41480,6 +42546,11 @@ export namespace Prisma {
|
|
41480
42546
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
41481
42547
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
41482
42548
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
42549
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
42550
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
42551
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
42552
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
42553
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
41483
42554
|
}
|
41484
42555
|
|
41485
42556
|
export type CampaignUncheckedCreateWithoutDistributionChainInput = {
|
@@ -41499,11 +42570,16 @@ export namespace Prisma {
|
|
41499
42570
|
creatorAddress: string
|
41500
42571
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
41501
42572
|
createdAt?: Date | string
|
42573
|
+
rootCampaignId?: string | null
|
42574
|
+
parentCampaignId?: string | null
|
41502
42575
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41503
42576
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
41504
42577
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
41505
42578
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
41506
42579
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42580
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
42581
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
42582
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
41507
42583
|
}
|
41508
42584
|
|
41509
42585
|
export type CampaignCreateOrConnectWithoutDistributionChainInput = {
|
@@ -41756,29 +42832,6 @@ export namespace Prisma {
|
|
41756
42832
|
data: XOR<CampaignUpdateManyMutationInput, CampaignUncheckedUpdateManyWithoutComputeChainInput>
|
41757
42833
|
}
|
41758
42834
|
|
41759
|
-
export type CampaignScalarWhereInput = {
|
41760
|
-
AND?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
41761
|
-
OR?: CampaignScalarWhereInput[]
|
41762
|
-
NOT?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
|
41763
|
-
id?: StringFilter<"Campaign"> | string
|
41764
|
-
computeChainId?: IntFilter<"Campaign"> | number
|
41765
|
-
distributionChainId?: IntFilter<"Campaign"> | number
|
41766
|
-
campaignId?: StringFilter<"Campaign"> | string
|
41767
|
-
type?: StringFilter<"Campaign"> | string
|
41768
|
-
distributionType?: EnumDistributionTypeFilter<"Campaign"> | $Enums.DistributionType
|
41769
|
-
subType?: IntNullableFilter<"Campaign"> | number | null
|
41770
|
-
rewardTokenId?: StringFilter<"Campaign"> | string
|
41771
|
-
amount?: StringFilter<"Campaign"> | string
|
41772
|
-
opportunityId?: StringFilter<"Campaign"> | string
|
41773
|
-
startTimestamp?: BigIntFilter<"Campaign"> | bigint | number
|
41774
|
-
endTimestamp?: BigIntFilter<"Campaign"> | bigint | number
|
41775
|
-
params?: JsonFilter<"Campaign">
|
41776
|
-
description?: StringNullableFilter<"Campaign"> | string | null
|
41777
|
-
creatorAddress?: StringFilter<"Campaign"> | string
|
41778
|
-
manualOverrides?: EnumCampaignManualOverrideNullableListFilter<"Campaign">
|
41779
|
-
createdAt?: DateTimeFilter<"Campaign"> | Date | string
|
41780
|
-
}
|
41781
|
-
|
41782
42835
|
export type CampaignUpsertWithWhereUniqueWithoutDistributionChainInput = {
|
41783
42836
|
where: CampaignWhereUniqueInput
|
41784
42837
|
update: XOR<CampaignUpdateWithoutDistributionChainInput, CampaignUncheckedUpdateWithoutDistributionChainInput>
|
@@ -42125,6 +43178,11 @@ export namespace Prisma {
|
|
42125
43178
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
42126
43179
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
42127
43180
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
43181
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
43182
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
43183
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
43184
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
43185
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
42128
43186
|
}
|
42129
43187
|
|
42130
43188
|
export type CampaignUncheckedCreateWithoutOpportunityInput = {
|
@@ -42144,11 +43202,16 @@ export namespace Prisma {
|
|
42144
43202
|
creatorAddress: string
|
42145
43203
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
42146
43204
|
createdAt?: Date | string
|
43205
|
+
rootCampaignId?: string | null
|
43206
|
+
parentCampaignId?: string | null
|
42147
43207
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
42148
43208
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
42149
43209
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
42150
43210
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42151
43211
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
43212
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
43213
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
43214
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
42152
43215
|
}
|
42153
43216
|
|
42154
43217
|
export type CampaignCreateOrConnectWithoutOpportunityInput = {
|
@@ -42622,6 +43685,7 @@ export namespace Prisma {
|
|
42622
43685
|
pending: string
|
42623
43686
|
Reward: RewardCreateNestedOneWithoutBreakdownInput
|
42624
43687
|
Campaign: CampaignCreateNestedOneWithoutRewardBreakdownInput
|
43688
|
+
SubCampaign?: CampaignCreateNestedOneWithoutRewardBreakdownSubCampaignInput
|
42625
43689
|
}
|
42626
43690
|
|
42627
43691
|
export type RewardBreakdownUncheckedCreateWithoutProtocolInput = {
|
@@ -42632,6 +43696,7 @@ export namespace Prisma {
|
|
42632
43696
|
pending: string
|
42633
43697
|
rewardId: string
|
42634
43698
|
campaignId: string
|
43699
|
+
subCampaignId?: string | null
|
42635
43700
|
}
|
42636
43701
|
|
42637
43702
|
export type RewardBreakdownCreateOrConnectWithoutProtocolInput = {
|
@@ -42802,6 +43867,11 @@ export namespace Prisma {
|
|
42802
43867
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
42803
43868
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
42804
43869
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
43870
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
43871
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
43872
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
43873
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
43874
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
42805
43875
|
}
|
42806
43876
|
|
42807
43877
|
export type CampaignUncheckedCreateWithoutRewardTokenInput = {
|
@@ -42821,11 +43891,16 @@ export namespace Prisma {
|
|
42821
43891
|
creatorAddress: string
|
42822
43892
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
42823
43893
|
createdAt?: Date | string
|
43894
|
+
rootCampaignId?: string | null
|
43895
|
+
parentCampaignId?: string | null
|
42824
43896
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
42825
43897
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
42826
43898
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
42827
43899
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
42828
43900
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
43901
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
43902
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
43903
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
42829
43904
|
}
|
42830
43905
|
|
42831
43906
|
export type CampaignCreateOrConnectWithoutRewardTokenInput = {
|
@@ -43679,6 +44754,11 @@ export namespace Prisma {
|
|
43679
44754
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
43680
44755
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
43681
44756
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
44757
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
44758
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
44759
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
44760
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
44761
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
43682
44762
|
}
|
43683
44763
|
|
43684
44764
|
export type CampaignUncheckedCreateWithoutDailyRewardsBreakdownInput = {
|
@@ -43699,10 +44779,15 @@ export namespace Prisma {
|
|
43699
44779
|
creatorAddress: string
|
43700
44780
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
43701
44781
|
createdAt?: Date | string
|
44782
|
+
rootCampaignId?: string | null
|
44783
|
+
parentCampaignId?: string | null
|
43702
44784
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
43703
44785
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
43704
44786
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
43705
44787
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
44788
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
44789
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
44790
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
43706
44791
|
}
|
43707
44792
|
|
43708
44793
|
export type CampaignCreateOrConnectWithoutDailyRewardsBreakdownInput = {
|
@@ -43762,6 +44847,11 @@ export namespace Prisma {
|
|
43762
44847
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
43763
44848
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
43764
44849
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
44850
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
44851
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
44852
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
44853
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
44854
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
43765
44855
|
}
|
43766
44856
|
|
43767
44857
|
export type CampaignUncheckedUpdateWithoutDailyRewardsBreakdownInput = {
|
@@ -43782,10 +44872,15 @@ export namespace Prisma {
|
|
43782
44872
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
43783
44873
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
43784
44874
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
44875
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
44876
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
43785
44877
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
43786
44878
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
43787
44879
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
43788
44880
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
44881
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
44882
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
44883
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
43789
44884
|
}
|
43790
44885
|
|
43791
44886
|
export type DailyRewardsRecordUpsertWithoutDailyRewardsBreakdownInput = {
|
@@ -43893,6 +44988,11 @@ export namespace Prisma {
|
|
43893
44988
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
43894
44989
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
43895
44990
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
44991
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
44992
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
44993
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
44994
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
44995
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
43896
44996
|
}
|
43897
44997
|
|
43898
44998
|
export type CampaignUncheckedCreateWithoutCreatorInput = {
|
@@ -43912,11 +45012,16 @@ export namespace Prisma {
|
|
43912
45012
|
description?: string | null
|
43913
45013
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
43914
45014
|
createdAt?: Date | string
|
45015
|
+
rootCampaignId?: string | null
|
45016
|
+
parentCampaignId?: string | null
|
43915
45017
|
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
43916
45018
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
43917
45019
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
43918
45020
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
43919
45021
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
45022
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
45023
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
45024
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
43920
45025
|
}
|
43921
45026
|
|
43922
45027
|
export type CampaignCreateOrConnectWithoutCreatorInput = {
|
@@ -44207,6 +45312,7 @@ export namespace Prisma {
|
|
44207
45312
|
pending: string
|
44208
45313
|
Protocol?: ProtocolCreateNestedOneWithoutRewardBreakdownInput
|
44209
45314
|
Campaign: CampaignCreateNestedOneWithoutRewardBreakdownInput
|
45315
|
+
SubCampaign?: CampaignCreateNestedOneWithoutRewardBreakdownSubCampaignInput
|
44210
45316
|
}
|
44211
45317
|
|
44212
45318
|
export type RewardBreakdownUncheckedCreateWithoutRewardInput = {
|
@@ -44217,6 +45323,7 @@ export namespace Prisma {
|
|
44217
45323
|
claimed: string
|
44218
45324
|
pending: string
|
44219
45325
|
campaignId: string
|
45326
|
+
subCampaignId?: string | null
|
44220
45327
|
}
|
44221
45328
|
|
44222
45329
|
export type RewardBreakdownCreateOrConnectWithoutRewardInput = {
|
@@ -44428,6 +45535,11 @@ export namespace Prisma {
|
|
44428
45535
|
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
44429
45536
|
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
44430
45537
|
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
45538
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
45539
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
45540
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
45541
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
45542
|
+
RewardBreakdownSubCampaign?: RewardBreakdownCreateNestedManyWithoutSubCampaignInput
|
44431
45543
|
}
|
44432
45544
|
|
44433
45545
|
export type CampaignUncheckedCreateWithoutRewardBreakdownInput = {
|
@@ -44448,10 +45560,15 @@ export namespace Prisma {
|
|
44448
45560
|
creatorAddress: string
|
44449
45561
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
44450
45562
|
createdAt?: Date | string
|
45563
|
+
rootCampaignId?: string | null
|
45564
|
+
parentCampaignId?: string | null
|
44451
45565
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
44452
45566
|
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
44453
45567
|
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
44454
45568
|
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
45569
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
45570
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
45571
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedCreateNestedManyWithoutSubCampaignInput
|
44455
45572
|
}
|
44456
45573
|
|
44457
45574
|
export type CampaignCreateOrConnectWithoutRewardBreakdownInput = {
|
@@ -44459,6 +45576,69 @@ export namespace Prisma {
|
|
44459
45576
|
create: XOR<CampaignCreateWithoutRewardBreakdownInput, CampaignUncheckedCreateWithoutRewardBreakdownInput>
|
44460
45577
|
}
|
44461
45578
|
|
45579
|
+
export type CampaignCreateWithoutRewardBreakdownSubCampaignInput = {
|
45580
|
+
id: string
|
45581
|
+
campaignId: string
|
45582
|
+
type: string
|
45583
|
+
distributionType?: $Enums.DistributionType
|
45584
|
+
subType?: number | null
|
45585
|
+
amount: string
|
45586
|
+
startTimestamp: bigint | number
|
45587
|
+
endTimestamp: bigint | number
|
45588
|
+
params: JsonNullValueInput | InputJsonValue
|
45589
|
+
description?: string | null
|
45590
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45591
|
+
createdAt?: Date | string
|
45592
|
+
ComputeChain: ChainCreateNestedOneWithoutCampaignsInput
|
45593
|
+
DistributionChain: ChainCreateNestedOneWithoutDistributionInput
|
45594
|
+
RewardToken: TokenCreateNestedOneWithoutCampaignsInput
|
45595
|
+
Opportunity: OpportunityCreateNestedOneWithoutCampaignsInput
|
45596
|
+
RewardBreakdown?: RewardBreakdownCreateNestedManyWithoutCampaignInput
|
45597
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownCreateNestedManyWithoutCampaignInput
|
45598
|
+
Creator: UserCreateNestedOneWithoutCampaignsCreatedInput
|
45599
|
+
CampaignStatus?: CampaignStatusCreateNestedManyWithoutCampaignInput
|
45600
|
+
CampaignEngineValues?: CampaignComputedValueCreateNestedManyWithoutCampaignInput
|
45601
|
+
UserComputedValue?: UserComputedValueCreateNestedManyWithoutCampaignInput
|
45602
|
+
rootCampaign?: CampaignCreateNestedOneWithoutSubCampaignsInput
|
45603
|
+
subCampaigns?: CampaignCreateNestedManyWithoutRootCampaignInput
|
45604
|
+
parentCampaign?: CampaignCreateNestedOneWithoutChildCampaignsInput
|
45605
|
+
childCampaigns?: CampaignCreateNestedManyWithoutParentCampaignInput
|
45606
|
+
}
|
45607
|
+
|
45608
|
+
export type CampaignUncheckedCreateWithoutRewardBreakdownSubCampaignInput = {
|
45609
|
+
id: string
|
45610
|
+
computeChainId: number
|
45611
|
+
distributionChainId: number
|
45612
|
+
campaignId: string
|
45613
|
+
type: string
|
45614
|
+
distributionType?: $Enums.DistributionType
|
45615
|
+
subType?: number | null
|
45616
|
+
rewardTokenId: string
|
45617
|
+
amount: string
|
45618
|
+
opportunityId: string
|
45619
|
+
startTimestamp: bigint | number
|
45620
|
+
endTimestamp: bigint | number
|
45621
|
+
params: JsonNullValueInput | InputJsonValue
|
45622
|
+
description?: string | null
|
45623
|
+
creatorAddress: string
|
45624
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45625
|
+
createdAt?: Date | string
|
45626
|
+
rootCampaignId?: string | null
|
45627
|
+
parentCampaignId?: string | null
|
45628
|
+
RewardBreakdown?: RewardBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
45629
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedCreateNestedManyWithoutCampaignInput
|
45630
|
+
CampaignStatus?: CampaignStatusUncheckedCreateNestedManyWithoutCampaignInput
|
45631
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
45632
|
+
UserComputedValue?: UserComputedValueUncheckedCreateNestedManyWithoutCampaignInput
|
45633
|
+
subCampaigns?: CampaignUncheckedCreateNestedManyWithoutRootCampaignInput
|
45634
|
+
childCampaigns?: CampaignUncheckedCreateNestedManyWithoutParentCampaignInput
|
45635
|
+
}
|
45636
|
+
|
45637
|
+
export type CampaignCreateOrConnectWithoutRewardBreakdownSubCampaignInput = {
|
45638
|
+
where: CampaignWhereUniqueInput
|
45639
|
+
create: XOR<CampaignCreateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedCreateWithoutRewardBreakdownSubCampaignInput>
|
45640
|
+
}
|
45641
|
+
|
44462
45642
|
export type ProtocolUpsertWithoutRewardBreakdownInput = {
|
44463
45643
|
update: XOR<ProtocolUpdateWithoutRewardBreakdownInput, ProtocolUncheckedUpdateWithoutRewardBreakdownInput>
|
44464
45644
|
create: XOR<ProtocolCreateWithoutRewardBreakdownInput, ProtocolUncheckedCreateWithoutRewardBreakdownInput>
|
@@ -44558,6 +45738,11 @@ export namespace Prisma {
|
|
44558
45738
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
44559
45739
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
44560
45740
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
45741
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
45742
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
45743
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
45744
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
45745
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
44561
45746
|
}
|
44562
45747
|
|
44563
45748
|
export type CampaignUncheckedUpdateWithoutRewardBreakdownInput = {
|
@@ -44578,10 +45763,84 @@ export namespace Prisma {
|
|
44578
45763
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
44579
45764
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
44580
45765
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
45766
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45767
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
44581
45768
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
44582
45769
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
44583
45770
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
44584
45771
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45772
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
45773
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
45774
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
45775
|
+
}
|
45776
|
+
|
45777
|
+
export type CampaignUpsertWithoutRewardBreakdownSubCampaignInput = {
|
45778
|
+
update: XOR<CampaignUpdateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedUpdateWithoutRewardBreakdownSubCampaignInput>
|
45779
|
+
create: XOR<CampaignCreateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedCreateWithoutRewardBreakdownSubCampaignInput>
|
45780
|
+
where?: CampaignWhereInput
|
45781
|
+
}
|
45782
|
+
|
45783
|
+
export type CampaignUpdateToOneWithWhereWithoutRewardBreakdownSubCampaignInput = {
|
45784
|
+
where?: CampaignWhereInput
|
45785
|
+
data: XOR<CampaignUpdateWithoutRewardBreakdownSubCampaignInput, CampaignUncheckedUpdateWithoutRewardBreakdownSubCampaignInput>
|
45786
|
+
}
|
45787
|
+
|
45788
|
+
export type CampaignUpdateWithoutRewardBreakdownSubCampaignInput = {
|
45789
|
+
id?: StringFieldUpdateOperationsInput | string
|
45790
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
45791
|
+
type?: StringFieldUpdateOperationsInput | string
|
45792
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
45793
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
45794
|
+
amount?: StringFieldUpdateOperationsInput | string
|
45795
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
45796
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
45797
|
+
params?: JsonNullValueInput | InputJsonValue
|
45798
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
45799
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45800
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
45801
|
+
ComputeChain?: ChainUpdateOneRequiredWithoutCampaignsNestedInput
|
45802
|
+
DistributionChain?: ChainUpdateOneRequiredWithoutDistributionNestedInput
|
45803
|
+
RewardToken?: TokenUpdateOneRequiredWithoutCampaignsNestedInput
|
45804
|
+
Opportunity?: OpportunityUpdateOneRequiredWithoutCampaignsNestedInput
|
45805
|
+
RewardBreakdown?: RewardBreakdownUpdateManyWithoutCampaignNestedInput
|
45806
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUpdateManyWithoutCampaignNestedInput
|
45807
|
+
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
45808
|
+
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
45809
|
+
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
45810
|
+
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
45811
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
45812
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
45813
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
45814
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
45815
|
+
}
|
45816
|
+
|
45817
|
+
export type CampaignUncheckedUpdateWithoutRewardBreakdownSubCampaignInput = {
|
45818
|
+
id?: StringFieldUpdateOperationsInput | string
|
45819
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
45820
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
45821
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
45822
|
+
type?: StringFieldUpdateOperationsInput | string
|
45823
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
45824
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
45825
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
45826
|
+
amount?: StringFieldUpdateOperationsInput | string
|
45827
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
45828
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
45829
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
45830
|
+
params?: JsonNullValueInput | InputJsonValue
|
45831
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
45832
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45833
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45834
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
45835
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45836
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45837
|
+
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45838
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45839
|
+
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
45840
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45841
|
+
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45842
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
45843
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
44585
45844
|
}
|
44586
45845
|
|
44587
45846
|
export type ChainCreateWithoutMerklRootInput = {
|
@@ -45096,6 +46355,7 @@ export namespace Prisma {
|
|
45096
46355
|
claimed: string
|
45097
46356
|
pending: string
|
45098
46357
|
rewardId: string
|
46358
|
+
subCampaignId?: string | null
|
45099
46359
|
}
|
45100
46360
|
|
45101
46361
|
export type DailyRewardsBreakdownCreateManyCampaignInput = {
|
@@ -45125,6 +46385,59 @@ export namespace Prisma {
|
|
45125
46385
|
boost?: number | null
|
45126
46386
|
}
|
45127
46387
|
|
46388
|
+
export type CampaignCreateManyRootCampaignInput = {
|
46389
|
+
id: string
|
46390
|
+
computeChainId: number
|
46391
|
+
distributionChainId: number
|
46392
|
+
campaignId: string
|
46393
|
+
type: string
|
46394
|
+
distributionType?: $Enums.DistributionType
|
46395
|
+
subType?: number | null
|
46396
|
+
rewardTokenId: string
|
46397
|
+
amount: string
|
46398
|
+
opportunityId: string
|
46399
|
+
startTimestamp: bigint | number
|
46400
|
+
endTimestamp: bigint | number
|
46401
|
+
params: JsonNullValueInput | InputJsonValue
|
46402
|
+
description?: string | null
|
46403
|
+
creatorAddress: string
|
46404
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46405
|
+
createdAt?: Date | string
|
46406
|
+
parentCampaignId?: string | null
|
46407
|
+
}
|
46408
|
+
|
46409
|
+
export type CampaignCreateManyParentCampaignInput = {
|
46410
|
+
id: string
|
46411
|
+
computeChainId: number
|
46412
|
+
distributionChainId: number
|
46413
|
+
campaignId: string
|
46414
|
+
type: string
|
46415
|
+
distributionType?: $Enums.DistributionType
|
46416
|
+
subType?: number | null
|
46417
|
+
rewardTokenId: string
|
46418
|
+
amount: string
|
46419
|
+
opportunityId: string
|
46420
|
+
startTimestamp: bigint | number
|
46421
|
+
endTimestamp: bigint | number
|
46422
|
+
params: JsonNullValueInput | InputJsonValue
|
46423
|
+
description?: string | null
|
46424
|
+
creatorAddress: string
|
46425
|
+
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46426
|
+
createdAt?: Date | string
|
46427
|
+
rootCampaignId?: string | null
|
46428
|
+
}
|
46429
|
+
|
46430
|
+
export type RewardBreakdownCreateManySubCampaignInput = {
|
46431
|
+
id?: string
|
46432
|
+
protocolId?: string | null
|
46433
|
+
reason: string
|
46434
|
+
amount: string
|
46435
|
+
claimed: string
|
46436
|
+
pending: string
|
46437
|
+
rewardId: string
|
46438
|
+
campaignId: string
|
46439
|
+
}
|
46440
|
+
|
45128
46441
|
export type RewardBreakdownUpdateWithoutCampaignInput = {
|
45129
46442
|
id?: StringFieldUpdateOperationsInput | string
|
45130
46443
|
reason?: StringFieldUpdateOperationsInput | string
|
@@ -45133,6 +46446,7 @@ export namespace Prisma {
|
|
45133
46446
|
pending?: StringFieldUpdateOperationsInput | string
|
45134
46447
|
Protocol?: ProtocolUpdateOneWithoutRewardBreakdownNestedInput
|
45135
46448
|
Reward?: RewardUpdateOneRequiredWithoutBreakdownNestedInput
|
46449
|
+
SubCampaign?: CampaignUpdateOneWithoutRewardBreakdownSubCampaignNestedInput
|
45136
46450
|
}
|
45137
46451
|
|
45138
46452
|
export type RewardBreakdownUncheckedUpdateWithoutCampaignInput = {
|
@@ -45143,6 +46457,7 @@ export namespace Prisma {
|
|
45143
46457
|
claimed?: StringFieldUpdateOperationsInput | string
|
45144
46458
|
pending?: StringFieldUpdateOperationsInput | string
|
45145
46459
|
rewardId?: StringFieldUpdateOperationsInput | string
|
46460
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45146
46461
|
}
|
45147
46462
|
|
45148
46463
|
export type RewardBreakdownUncheckedUpdateManyWithoutCampaignInput = {
|
@@ -45153,6 +46468,7 @@ export namespace Prisma {
|
|
45153
46468
|
claimed?: StringFieldUpdateOperationsInput | string
|
45154
46469
|
pending?: StringFieldUpdateOperationsInput | string
|
45155
46470
|
rewardId?: StringFieldUpdateOperationsInput | string
|
46471
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45156
46472
|
}
|
45157
46473
|
|
45158
46474
|
export type DailyRewardsBreakdownUpdateWithoutCampaignInput = {
|
@@ -45236,6 +46552,197 @@ export namespace Prisma {
|
|
45236
46552
|
boost?: NullableFloatFieldUpdateOperationsInput | number | null
|
45237
46553
|
}
|
45238
46554
|
|
46555
|
+
export type CampaignUpdateWithoutRootCampaignInput = {
|
46556
|
+
id?: StringFieldUpdateOperationsInput | string
|
46557
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46558
|
+
type?: StringFieldUpdateOperationsInput | string
|
46559
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46560
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46561
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46562
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46563
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46564
|
+
params?: JsonNullValueInput | InputJsonValue
|
46565
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46566
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46567
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46568
|
+
ComputeChain?: ChainUpdateOneRequiredWithoutCampaignsNestedInput
|
46569
|
+
DistributionChain?: ChainUpdateOneRequiredWithoutDistributionNestedInput
|
46570
|
+
RewardToken?: TokenUpdateOneRequiredWithoutCampaignsNestedInput
|
46571
|
+
Opportunity?: OpportunityUpdateOneRequiredWithoutCampaignsNestedInput
|
46572
|
+
RewardBreakdown?: RewardBreakdownUpdateManyWithoutCampaignNestedInput
|
46573
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUpdateManyWithoutCampaignNestedInput
|
46574
|
+
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
46575
|
+
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
46576
|
+
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
46577
|
+
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
46578
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
46579
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
46580
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
46581
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
46582
|
+
}
|
46583
|
+
|
46584
|
+
export type CampaignUncheckedUpdateWithoutRootCampaignInput = {
|
46585
|
+
id?: StringFieldUpdateOperationsInput | string
|
46586
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
46587
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
46588
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46589
|
+
type?: StringFieldUpdateOperationsInput | string
|
46590
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46591
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46592
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
46593
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46594
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
46595
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46596
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46597
|
+
params?: JsonNullValueInput | InputJsonValue
|
46598
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46599
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46600
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46601
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46602
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46603
|
+
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46604
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46605
|
+
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
46606
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46607
|
+
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46608
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
46609
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
46610
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
46611
|
+
}
|
46612
|
+
|
46613
|
+
export type CampaignUncheckedUpdateManyWithoutRootCampaignInput = {
|
46614
|
+
id?: StringFieldUpdateOperationsInput | string
|
46615
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
46616
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
46617
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46618
|
+
type?: StringFieldUpdateOperationsInput | string
|
46619
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46620
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46621
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
46622
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46623
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
46624
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46625
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46626
|
+
params?: JsonNullValueInput | InputJsonValue
|
46627
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46628
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46629
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46630
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46631
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46632
|
+
}
|
46633
|
+
|
46634
|
+
export type CampaignUpdateWithoutParentCampaignInput = {
|
46635
|
+
id?: StringFieldUpdateOperationsInput | string
|
46636
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46637
|
+
type?: StringFieldUpdateOperationsInput | string
|
46638
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46639
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46640
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46641
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46642
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46643
|
+
params?: JsonNullValueInput | InputJsonValue
|
46644
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46645
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46646
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46647
|
+
ComputeChain?: ChainUpdateOneRequiredWithoutCampaignsNestedInput
|
46648
|
+
DistributionChain?: ChainUpdateOneRequiredWithoutDistributionNestedInput
|
46649
|
+
RewardToken?: TokenUpdateOneRequiredWithoutCampaignsNestedInput
|
46650
|
+
Opportunity?: OpportunityUpdateOneRequiredWithoutCampaignsNestedInput
|
46651
|
+
RewardBreakdown?: RewardBreakdownUpdateManyWithoutCampaignNestedInput
|
46652
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUpdateManyWithoutCampaignNestedInput
|
46653
|
+
Creator?: UserUpdateOneRequiredWithoutCampaignsCreatedNestedInput
|
46654
|
+
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
46655
|
+
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
46656
|
+
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
46657
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
46658
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
46659
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
46660
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
46661
|
+
}
|
46662
|
+
|
46663
|
+
export type CampaignUncheckedUpdateWithoutParentCampaignInput = {
|
46664
|
+
id?: StringFieldUpdateOperationsInput | string
|
46665
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
46666
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
46667
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46668
|
+
type?: StringFieldUpdateOperationsInput | string
|
46669
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46670
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46671
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
46672
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46673
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
46674
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46675
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46676
|
+
params?: JsonNullValueInput | InputJsonValue
|
46677
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46678
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46679
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46680
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46681
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46682
|
+
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46683
|
+
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46684
|
+
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
46685
|
+
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46686
|
+
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46687
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
46688
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
46689
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
46690
|
+
}
|
46691
|
+
|
46692
|
+
export type CampaignUncheckedUpdateManyWithoutParentCampaignInput = {
|
46693
|
+
id?: StringFieldUpdateOperationsInput | string
|
46694
|
+
computeChainId?: IntFieldUpdateOperationsInput | number
|
46695
|
+
distributionChainId?: IntFieldUpdateOperationsInput | number
|
46696
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46697
|
+
type?: StringFieldUpdateOperationsInput | string
|
46698
|
+
distributionType?: EnumDistributionTypeFieldUpdateOperationsInput | $Enums.DistributionType
|
46699
|
+
subType?: NullableIntFieldUpdateOperationsInput | number | null
|
46700
|
+
rewardTokenId?: StringFieldUpdateOperationsInput | string
|
46701
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46702
|
+
opportunityId?: StringFieldUpdateOperationsInput | string
|
46703
|
+
startTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46704
|
+
endTimestamp?: BigIntFieldUpdateOperationsInput | bigint | number
|
46705
|
+
params?: JsonNullValueInput | InputJsonValue
|
46706
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46707
|
+
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46708
|
+
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46709
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46710
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46711
|
+
}
|
46712
|
+
|
46713
|
+
export type RewardBreakdownUpdateWithoutSubCampaignInput = {
|
46714
|
+
id?: StringFieldUpdateOperationsInput | string
|
46715
|
+
reason?: StringFieldUpdateOperationsInput | string
|
46716
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46717
|
+
claimed?: StringFieldUpdateOperationsInput | string
|
46718
|
+
pending?: StringFieldUpdateOperationsInput | string
|
46719
|
+
Protocol?: ProtocolUpdateOneWithoutRewardBreakdownNestedInput
|
46720
|
+
Reward?: RewardUpdateOneRequiredWithoutBreakdownNestedInput
|
46721
|
+
Campaign?: CampaignUpdateOneRequiredWithoutRewardBreakdownNestedInput
|
46722
|
+
}
|
46723
|
+
|
46724
|
+
export type RewardBreakdownUncheckedUpdateWithoutSubCampaignInput = {
|
46725
|
+
id?: StringFieldUpdateOperationsInput | string
|
46726
|
+
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
46727
|
+
reason?: StringFieldUpdateOperationsInput | string
|
46728
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46729
|
+
claimed?: StringFieldUpdateOperationsInput | string
|
46730
|
+
pending?: StringFieldUpdateOperationsInput | string
|
46731
|
+
rewardId?: StringFieldUpdateOperationsInput | string
|
46732
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46733
|
+
}
|
46734
|
+
|
46735
|
+
export type RewardBreakdownUncheckedUpdateManyWithoutSubCampaignInput = {
|
46736
|
+
id?: StringFieldUpdateOperationsInput | string
|
46737
|
+
protocolId?: NullableStringFieldUpdateOperationsInput | string | null
|
46738
|
+
reason?: StringFieldUpdateOperationsInput | string
|
46739
|
+
amount?: StringFieldUpdateOperationsInput | string
|
46740
|
+
claimed?: StringFieldUpdateOperationsInput | string
|
46741
|
+
pending?: StringFieldUpdateOperationsInput | string
|
46742
|
+
rewardId?: StringFieldUpdateOperationsInput | string
|
46743
|
+
campaignId?: StringFieldUpdateOperationsInput | string
|
46744
|
+
}
|
46745
|
+
|
45239
46746
|
export type ExplorerCreateManyChainInput = {
|
45240
46747
|
id: string
|
45241
46748
|
type: $Enums.ExplorerType
|
@@ -45259,6 +46766,8 @@ export namespace Prisma {
|
|
45259
46766
|
creatorAddress: string
|
45260
46767
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45261
46768
|
createdAt?: Date | string
|
46769
|
+
rootCampaignId?: string | null
|
46770
|
+
parentCampaignId?: string | null
|
45262
46771
|
}
|
45263
46772
|
|
45264
46773
|
export type CampaignCreateManyDistributionChainInput = {
|
@@ -45278,6 +46787,8 @@ export namespace Prisma {
|
|
45278
46787
|
creatorAddress: string
|
45279
46788
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45280
46789
|
createdAt?: Date | string
|
46790
|
+
rootCampaignId?: string | null
|
46791
|
+
parentCampaignId?: string | null
|
45281
46792
|
}
|
45282
46793
|
|
45283
46794
|
export type TokenCreateManyChainInput = {
|
@@ -45382,6 +46893,11 @@ export namespace Prisma {
|
|
45382
46893
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
45383
46894
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
45384
46895
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
46896
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
46897
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
46898
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
46899
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
46900
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
45385
46901
|
}
|
45386
46902
|
|
45387
46903
|
export type CampaignUncheckedUpdateWithoutComputeChainInput = {
|
@@ -45401,11 +46917,16 @@ export namespace Prisma {
|
|
45401
46917
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45402
46918
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45403
46919
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46920
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46921
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45404
46922
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45405
46923
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45406
46924
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
45407
46925
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45408
46926
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46927
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
46928
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
46929
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
45409
46930
|
}
|
45410
46931
|
|
45411
46932
|
export type CampaignUncheckedUpdateManyWithoutComputeChainInput = {
|
@@ -45425,6 +46946,8 @@ export namespace Prisma {
|
|
45425
46946
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45426
46947
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45427
46948
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46949
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46950
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45428
46951
|
}
|
45429
46952
|
|
45430
46953
|
export type CampaignUpdateWithoutDistributionChainInput = {
|
@@ -45449,6 +46972,11 @@ export namespace Prisma {
|
|
45449
46972
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
45450
46973
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
45451
46974
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
46975
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
46976
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
46977
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
46978
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
46979
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
45452
46980
|
}
|
45453
46981
|
|
45454
46982
|
export type CampaignUncheckedUpdateWithoutDistributionChainInput = {
|
@@ -45468,11 +46996,16 @@ export namespace Prisma {
|
|
45468
46996
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45469
46997
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45470
46998
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
46999
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47000
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45471
47001
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45472
47002
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45473
47003
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
45474
47004
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45475
47005
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
47006
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
47007
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
47008
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
45476
47009
|
}
|
45477
47010
|
|
45478
47011
|
export type CampaignUncheckedUpdateManyWithoutDistributionChainInput = {
|
@@ -45492,6 +47025,8 @@ export namespace Prisma {
|
|
45492
47025
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45493
47026
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45494
47027
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
47028
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47029
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45495
47030
|
}
|
45496
47031
|
|
45497
47032
|
export type TokenUpdateWithoutChainInput = {
|
@@ -45721,6 +47256,8 @@ export namespace Prisma {
|
|
45721
47256
|
creatorAddress: string
|
45722
47257
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45723
47258
|
createdAt?: Date | string
|
47259
|
+
rootCampaignId?: string | null
|
47260
|
+
parentCampaignId?: string | null
|
45724
47261
|
}
|
45725
47262
|
|
45726
47263
|
export type TVLRecordCreateManyOpportunityInput = {
|
@@ -45822,6 +47359,11 @@ export namespace Prisma {
|
|
45822
47359
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
45823
47360
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
45824
47361
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
47362
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
47363
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
47364
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
47365
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
47366
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
45825
47367
|
}
|
45826
47368
|
|
45827
47369
|
export type CampaignUncheckedUpdateWithoutOpportunityInput = {
|
@@ -45841,11 +47383,16 @@ export namespace Prisma {
|
|
45841
47383
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45842
47384
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45843
47385
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
47386
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47387
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45844
47388
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45845
47389
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
45846
47390
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
45847
47391
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
45848
47392
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
47393
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
47394
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
47395
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
45849
47396
|
}
|
45850
47397
|
|
45851
47398
|
export type CampaignUncheckedUpdateManyWithoutOpportunityInput = {
|
@@ -45865,6 +47412,8 @@ export namespace Prisma {
|
|
45865
47412
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
45866
47413
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
45867
47414
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
47415
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47416
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
45868
47417
|
}
|
45869
47418
|
|
45870
47419
|
export type ProtocolUpdateWithoutOpportunitiesInput = {
|
@@ -45986,6 +47535,7 @@ export namespace Prisma {
|
|
45986
47535
|
pending: string
|
45987
47536
|
rewardId: string
|
45988
47537
|
campaignId: string
|
47538
|
+
subCampaignId?: string | null
|
45989
47539
|
}
|
45990
47540
|
|
45991
47541
|
export type OpportunityUpdateWithoutMainProtocolInput = {
|
@@ -46141,6 +47691,7 @@ export namespace Prisma {
|
|
46141
47691
|
pending?: StringFieldUpdateOperationsInput | string
|
46142
47692
|
Reward?: RewardUpdateOneRequiredWithoutBreakdownNestedInput
|
46143
47693
|
Campaign?: CampaignUpdateOneRequiredWithoutRewardBreakdownNestedInput
|
47694
|
+
SubCampaign?: CampaignUpdateOneWithoutRewardBreakdownSubCampaignNestedInput
|
46144
47695
|
}
|
46145
47696
|
|
46146
47697
|
export type RewardBreakdownUncheckedUpdateWithoutProtocolInput = {
|
@@ -46151,6 +47702,7 @@ export namespace Prisma {
|
|
46151
47702
|
pending?: StringFieldUpdateOperationsInput | string
|
46152
47703
|
rewardId?: StringFieldUpdateOperationsInput | string
|
46153
47704
|
campaignId?: StringFieldUpdateOperationsInput | string
|
47705
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46154
47706
|
}
|
46155
47707
|
|
46156
47708
|
export type RewardBreakdownUncheckedUpdateManyWithoutProtocolInput = {
|
@@ -46161,6 +47713,7 @@ export namespace Prisma {
|
|
46161
47713
|
pending?: StringFieldUpdateOperationsInput | string
|
46162
47714
|
rewardId?: StringFieldUpdateOperationsInput | string
|
46163
47715
|
campaignId?: StringFieldUpdateOperationsInput | string
|
47716
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46164
47717
|
}
|
46165
47718
|
|
46166
47719
|
export type CampaignCreateManyRewardTokenInput = {
|
@@ -46180,6 +47733,8 @@ export namespace Prisma {
|
|
46180
47733
|
creatorAddress: string
|
46181
47734
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46182
47735
|
createdAt?: Date | string
|
47736
|
+
rootCampaignId?: string | null
|
47737
|
+
parentCampaignId?: string | null
|
46183
47738
|
}
|
46184
47739
|
|
46185
47740
|
export type RewardCreateManyRewardTokenInput = {
|
@@ -46311,6 +47866,11 @@ export namespace Prisma {
|
|
46311
47866
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
46312
47867
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
46313
47868
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
47869
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
47870
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
47871
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
47872
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
47873
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
46314
47874
|
}
|
46315
47875
|
|
46316
47876
|
export type CampaignUncheckedUpdateWithoutRewardTokenInput = {
|
@@ -46330,11 +47890,16 @@ export namespace Prisma {
|
|
46330
47890
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46331
47891
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46332
47892
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
47893
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47894
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46333
47895
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46334
47896
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46335
47897
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
46336
47898
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46337
47899
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
47900
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
47901
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
47902
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
46338
47903
|
}
|
46339
47904
|
|
46340
47905
|
export type CampaignUncheckedUpdateManyWithoutRewardTokenInput = {
|
@@ -46354,6 +47919,8 @@ export namespace Prisma {
|
|
46354
47919
|
creatorAddress?: StringFieldUpdateOperationsInput | string
|
46355
47920
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46356
47921
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
47922
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
47923
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46357
47924
|
}
|
46358
47925
|
|
46359
47926
|
export type RewardUpdateWithoutRewardTokenInput = {
|
@@ -46575,6 +48142,8 @@ export namespace Prisma {
|
|
46575
48142
|
description?: string | null
|
46576
48143
|
manualOverrides?: CampaignCreatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46577
48144
|
createdAt?: Date | string
|
48145
|
+
rootCampaignId?: string | null
|
48146
|
+
parentCampaignId?: string | null
|
46578
48147
|
}
|
46579
48148
|
|
46580
48149
|
export type UserComputedValueCreateManyUserInput = {
|
@@ -46662,6 +48231,11 @@ export namespace Prisma {
|
|
46662
48231
|
CampaignStatus?: CampaignStatusUpdateManyWithoutCampaignNestedInput
|
46663
48232
|
CampaignEngineValues?: CampaignComputedValueUpdateManyWithoutCampaignNestedInput
|
46664
48233
|
UserComputedValue?: UserComputedValueUpdateManyWithoutCampaignNestedInput
|
48234
|
+
rootCampaign?: CampaignUpdateOneWithoutSubCampaignsNestedInput
|
48235
|
+
subCampaigns?: CampaignUpdateManyWithoutRootCampaignNestedInput
|
48236
|
+
parentCampaign?: CampaignUpdateOneWithoutChildCampaignsNestedInput
|
48237
|
+
childCampaigns?: CampaignUpdateManyWithoutParentCampaignNestedInput
|
48238
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUpdateManyWithoutSubCampaignNestedInput
|
46665
48239
|
}
|
46666
48240
|
|
46667
48241
|
export type CampaignUncheckedUpdateWithoutCreatorInput = {
|
@@ -46681,11 +48255,16 @@ export namespace Prisma {
|
|
46681
48255
|
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46682
48256
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46683
48257
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
48258
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
48259
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46684
48260
|
RewardBreakdown?: RewardBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46685
48261
|
DailyRewardsBreakdown?: DailyRewardsBreakdownUncheckedUpdateManyWithoutCampaignNestedInput
|
46686
48262
|
CampaignStatus?: CampaignStatusUncheckedUpdateManyWithoutCampaignNestedInput
|
46687
48263
|
CampaignEngineValues?: CampaignComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
46688
48264
|
UserComputedValue?: UserComputedValueUncheckedUpdateManyWithoutCampaignNestedInput
|
48265
|
+
subCampaigns?: CampaignUncheckedUpdateManyWithoutRootCampaignNestedInput
|
48266
|
+
childCampaigns?: CampaignUncheckedUpdateManyWithoutParentCampaignNestedInput
|
48267
|
+
RewardBreakdownSubCampaign?: RewardBreakdownUncheckedUpdateManyWithoutSubCampaignNestedInput
|
46689
48268
|
}
|
46690
48269
|
|
46691
48270
|
export type CampaignUncheckedUpdateManyWithoutCreatorInput = {
|
@@ -46705,6 +48284,8 @@ export namespace Prisma {
|
|
46705
48284
|
description?: NullableStringFieldUpdateOperationsInput | string | null
|
46706
48285
|
manualOverrides?: CampaignUpdatemanualOverridesInput | $Enums.CampaignManualOverride[]
|
46707
48286
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
48287
|
+
rootCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
48288
|
+
parentCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46708
48289
|
}
|
46709
48290
|
|
46710
48291
|
export type UserComputedValueUpdateWithoutUserInput = {
|
@@ -46764,6 +48345,7 @@ export namespace Prisma {
|
|
46764
48345
|
claimed: string
|
46765
48346
|
pending: string
|
46766
48347
|
campaignId: string
|
48348
|
+
subCampaignId?: string | null
|
46767
48349
|
}
|
46768
48350
|
|
46769
48351
|
export type RewardBreakdownUpdateWithoutRewardInput = {
|
@@ -46774,6 +48356,7 @@ export namespace Prisma {
|
|
46774
48356
|
pending?: StringFieldUpdateOperationsInput | string
|
46775
48357
|
Protocol?: ProtocolUpdateOneWithoutRewardBreakdownNestedInput
|
46776
48358
|
Campaign?: CampaignUpdateOneRequiredWithoutRewardBreakdownNestedInput
|
48359
|
+
SubCampaign?: CampaignUpdateOneWithoutRewardBreakdownSubCampaignNestedInput
|
46777
48360
|
}
|
46778
48361
|
|
46779
48362
|
export type RewardBreakdownUncheckedUpdateWithoutRewardInput = {
|
@@ -46784,6 +48367,7 @@ export namespace Prisma {
|
|
46784
48367
|
claimed?: StringFieldUpdateOperationsInput | string
|
46785
48368
|
pending?: StringFieldUpdateOperationsInput | string
|
46786
48369
|
campaignId?: StringFieldUpdateOperationsInput | string
|
48370
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46787
48371
|
}
|
46788
48372
|
|
46789
48373
|
export type RewardBreakdownUncheckedUpdateManyWithoutRewardInput = {
|
@@ -46794,6 +48378,7 @@ export namespace Prisma {
|
|
46794
48378
|
claimed?: StringFieldUpdateOperationsInput | string
|
46795
48379
|
pending?: StringFieldUpdateOperationsInput | string
|
46796
48380
|
campaignId?: StringFieldUpdateOperationsInput | string
|
48381
|
+
subCampaignId?: NullableStringFieldUpdateOperationsInput | string | null
|
46797
48382
|
}
|
46798
48383
|
|
46799
48384
|
export type RewardCreateManyMerklRootInput = {
|