@merkl/api 0.21.2 → 0.21.3

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.
@@ -281,7 +281,8 @@ exports.Prisma.UserScalarFieldEnum = {
281
281
  exports.Prisma.CreatorScalarFieldEnum = {
282
282
  id: 'id',
283
283
  icon: 'icon',
284
- name: 'name'
284
+ name: 'name',
285
+ rebateFee: 'rebateFee'
285
286
  };
286
287
 
287
288
  exports.Prisma.RewardScalarFieldEnum = {
@@ -22876,46 +22876,70 @@ export namespace Prisma {
22876
22876
 
22877
22877
  export type AggregateCreator = {
22878
22878
  _count: CreatorCountAggregateOutputType | null
22879
+ _avg: CreatorAvgAggregateOutputType | null
22880
+ _sum: CreatorSumAggregateOutputType | null
22879
22881
  _min: CreatorMinAggregateOutputType | null
22880
22882
  _max: CreatorMaxAggregateOutputType | null
22881
22883
  }
22882
22884
 
22885
+ export type CreatorAvgAggregateOutputType = {
22886
+ rebateFee: number | null
22887
+ }
22888
+
22889
+ export type CreatorSumAggregateOutputType = {
22890
+ rebateFee: number | null
22891
+ }
22892
+
22883
22893
  export type CreatorMinAggregateOutputType = {
22884
22894
  id: string | null
22885
22895
  icon: string | null
22886
22896
  name: string | null
22897
+ rebateFee: number | null
22887
22898
  }
22888
22899
 
22889
22900
  export type CreatorMaxAggregateOutputType = {
22890
22901
  id: string | null
22891
22902
  icon: string | null
22892
22903
  name: string | null
22904
+ rebateFee: number | null
22893
22905
  }
22894
22906
 
22895
22907
  export type CreatorCountAggregateOutputType = {
22896
22908
  id: number
22897
22909
  icon: number
22898
22910
  name: number
22911
+ rebateFee: number
22899
22912
  _all: number
22900
22913
  }
22901
22914
 
22902
22915
 
22916
+ export type CreatorAvgAggregateInputType = {
22917
+ rebateFee?: true
22918
+ }
22919
+
22920
+ export type CreatorSumAggregateInputType = {
22921
+ rebateFee?: true
22922
+ }
22923
+
22903
22924
  export type CreatorMinAggregateInputType = {
22904
22925
  id?: true
22905
22926
  icon?: true
22906
22927
  name?: true
22928
+ rebateFee?: true
22907
22929
  }
22908
22930
 
22909
22931
  export type CreatorMaxAggregateInputType = {
22910
22932
  id?: true
22911
22933
  icon?: true
22912
22934
  name?: true
22935
+ rebateFee?: true
22913
22936
  }
22914
22937
 
22915
22938
  export type CreatorCountAggregateInputType = {
22916
22939
  id?: true
22917
22940
  icon?: true
22918
22941
  name?: true
22942
+ rebateFee?: true
22919
22943
  _all?: true
22920
22944
  }
22921
22945
 
@@ -22954,6 +22978,18 @@ export namespace Prisma {
22954
22978
  * Count returned Creators
22955
22979
  **/
22956
22980
  _count?: true | CreatorCountAggregateInputType
22981
+ /**
22982
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22983
+ *
22984
+ * Select which fields to average
22985
+ **/
22986
+ _avg?: CreatorAvgAggregateInputType
22987
+ /**
22988
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22989
+ *
22990
+ * Select which fields to sum
22991
+ **/
22992
+ _sum?: CreatorSumAggregateInputType
22957
22993
  /**
22958
22994
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22959
22995
  *
@@ -22987,6 +23023,8 @@ export namespace Prisma {
22987
23023
  take?: number
22988
23024
  skip?: number
22989
23025
  _count?: CreatorCountAggregateInputType | true
23026
+ _avg?: CreatorAvgAggregateInputType
23027
+ _sum?: CreatorSumAggregateInputType
22990
23028
  _min?: CreatorMinAggregateInputType
22991
23029
  _max?: CreatorMaxAggregateInputType
22992
23030
  }
@@ -22995,7 +23033,10 @@ export namespace Prisma {
22995
23033
  id: string
22996
23034
  icon: string | null
22997
23035
  name: string
23036
+ rebateFee: number
22998
23037
  _count: CreatorCountAggregateOutputType | null
23038
+ _avg: CreatorAvgAggregateOutputType | null
23039
+ _sum: CreatorSumAggregateOutputType | null
22999
23040
  _min: CreatorMinAggregateOutputType | null
23000
23041
  _max: CreatorMaxAggregateOutputType | null
23001
23042
  }
@@ -23018,6 +23059,7 @@ export namespace Prisma {
23018
23059
  id?: boolean
23019
23060
  icon?: boolean
23020
23061
  name?: boolean
23062
+ rebateFee?: boolean
23021
23063
  Users?: boolean | Creator$UsersArgs<ExtArgs>
23022
23064
  _count?: boolean | CreatorCountOutputTypeDefaultArgs<ExtArgs>
23023
23065
  }, ExtArgs["result"]["creator"]>
@@ -23026,21 +23068,24 @@ export namespace Prisma {
23026
23068
  id?: boolean
23027
23069
  icon?: boolean
23028
23070
  name?: boolean
23071
+ rebateFee?: boolean
23029
23072
  }, ExtArgs["result"]["creator"]>
23030
23073
 
23031
23074
  export type CreatorSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23032
23075
  id?: boolean
23033
23076
  icon?: boolean
23034
23077
  name?: boolean
23078
+ rebateFee?: boolean
23035
23079
  }, ExtArgs["result"]["creator"]>
23036
23080
 
23037
23081
  export type CreatorSelectScalar = {
23038
23082
  id?: boolean
23039
23083
  icon?: boolean
23040
23084
  name?: boolean
23085
+ rebateFee?: boolean
23041
23086
  }
23042
23087
 
23043
- export type CreatorOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "icon" | "name", ExtArgs["result"]["creator"]>
23088
+ export type CreatorOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "icon" | "name" | "rebateFee", ExtArgs["result"]["creator"]>
23044
23089
  export type CreatorInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23045
23090
  Users?: boolean | Creator$UsersArgs<ExtArgs>
23046
23091
  _count?: boolean | CreatorCountOutputTypeDefaultArgs<ExtArgs>
@@ -23057,6 +23102,7 @@ export namespace Prisma {
23057
23102
  id: string
23058
23103
  icon: string | null
23059
23104
  name: string
23105
+ rebateFee: number
23060
23106
  }, ExtArgs["result"]["creator"]>
23061
23107
  composites: {}
23062
23108
  }
@@ -23484,6 +23530,7 @@ export namespace Prisma {
23484
23530
  readonly id: FieldRef<"Creator", 'String'>
23485
23531
  readonly icon: FieldRef<"Creator", 'String'>
23486
23532
  readonly name: FieldRef<"Creator", 'String'>
23533
+ readonly rebateFee: FieldRef<"Creator", 'Int'>
23487
23534
  }
23488
23535
 
23489
23536
 
@@ -32000,7 +32047,8 @@ export namespace Prisma {
32000
32047
  export const CreatorScalarFieldEnum: {
32001
32048
  id: 'id',
32002
32049
  icon: 'icon',
32003
- name: 'name'
32050
+ name: 'name',
32051
+ rebateFee: 'rebateFee'
32004
32052
  };
32005
32053
 
32006
32054
  export type CreatorScalarFieldEnum = (typeof CreatorScalarFieldEnum)[keyof typeof CreatorScalarFieldEnum]
@@ -33841,6 +33889,7 @@ export namespace Prisma {
33841
33889
  id?: StringFilter<"Creator"> | string
33842
33890
  icon?: StringNullableFilter<"Creator"> | string | null
33843
33891
  name?: StringFilter<"Creator"> | string
33892
+ rebateFee?: IntFilter<"Creator"> | number
33844
33893
  Users?: UserListRelationFilter
33845
33894
  }
33846
33895
 
@@ -33848,6 +33897,7 @@ export namespace Prisma {
33848
33897
  id?: SortOrder
33849
33898
  icon?: SortOrderInput | SortOrder
33850
33899
  name?: SortOrder
33900
+ rebateFee?: SortOrder
33851
33901
  Users?: UserOrderByRelationAggregateInput
33852
33902
  _relevance?: CreatorOrderByRelevanceInput
33853
33903
  }
@@ -33859,6 +33909,7 @@ export namespace Prisma {
33859
33909
  NOT?: CreatorWhereInput | CreatorWhereInput[]
33860
33910
  icon?: StringNullableFilter<"Creator"> | string | null
33861
33911
  name?: StringFilter<"Creator"> | string
33912
+ rebateFee?: IntFilter<"Creator"> | number
33862
33913
  Users?: UserListRelationFilter
33863
33914
  }, "id">
33864
33915
 
@@ -33866,9 +33917,12 @@ export namespace Prisma {
33866
33917
  id?: SortOrder
33867
33918
  icon?: SortOrderInput | SortOrder
33868
33919
  name?: SortOrder
33920
+ rebateFee?: SortOrder
33869
33921
  _count?: CreatorCountOrderByAggregateInput
33922
+ _avg?: CreatorAvgOrderByAggregateInput
33870
33923
  _max?: CreatorMaxOrderByAggregateInput
33871
33924
  _min?: CreatorMinOrderByAggregateInput
33925
+ _sum?: CreatorSumOrderByAggregateInput
33872
33926
  }
33873
33927
 
33874
33928
  export type CreatorScalarWhereWithAggregatesInput = {
@@ -33878,6 +33932,7 @@ export namespace Prisma {
33878
33932
  id?: StringWithAggregatesFilter<"Creator"> | string
33879
33933
  icon?: StringNullableWithAggregatesFilter<"Creator"> | string | null
33880
33934
  name?: StringWithAggregatesFilter<"Creator"> | string
33935
+ rebateFee?: IntWithAggregatesFilter<"Creator"> | number
33881
33936
  }
33882
33937
 
33883
33938
  export type RewardWhereInput = {
@@ -35597,6 +35652,7 @@ export namespace Prisma {
35597
35652
  id: string
35598
35653
  icon?: string | null
35599
35654
  name: string
35655
+ rebateFee?: number
35600
35656
  Users?: UserCreateNestedManyWithoutCreatorInput
35601
35657
  }
35602
35658
 
@@ -35604,6 +35660,7 @@ export namespace Prisma {
35604
35660
  id: string
35605
35661
  icon?: string | null
35606
35662
  name: string
35663
+ rebateFee?: number
35607
35664
  Users?: UserUncheckedCreateNestedManyWithoutCreatorInput
35608
35665
  }
35609
35666
 
@@ -35611,6 +35668,7 @@ export namespace Prisma {
35611
35668
  id?: StringFieldUpdateOperationsInput | string
35612
35669
  icon?: NullableStringFieldUpdateOperationsInput | string | null
35613
35670
  name?: StringFieldUpdateOperationsInput | string
35671
+ rebateFee?: IntFieldUpdateOperationsInput | number
35614
35672
  Users?: UserUpdateManyWithoutCreatorNestedInput
35615
35673
  }
35616
35674
 
@@ -35618,6 +35676,7 @@ export namespace Prisma {
35618
35676
  id?: StringFieldUpdateOperationsInput | string
35619
35677
  icon?: NullableStringFieldUpdateOperationsInput | string | null
35620
35678
  name?: StringFieldUpdateOperationsInput | string
35679
+ rebateFee?: IntFieldUpdateOperationsInput | number
35621
35680
  Users?: UserUncheckedUpdateManyWithoutCreatorNestedInput
35622
35681
  }
35623
35682
 
@@ -35625,18 +35684,21 @@ export namespace Prisma {
35625
35684
  id: string
35626
35685
  icon?: string | null
35627
35686
  name: string
35687
+ rebateFee?: number
35628
35688
  }
35629
35689
 
35630
35690
  export type CreatorUpdateManyMutationInput = {
35631
35691
  id?: StringFieldUpdateOperationsInput | string
35632
35692
  icon?: NullableStringFieldUpdateOperationsInput | string | null
35633
35693
  name?: StringFieldUpdateOperationsInput | string
35694
+ rebateFee?: IntFieldUpdateOperationsInput | number
35634
35695
  }
35635
35696
 
35636
35697
  export type CreatorUncheckedUpdateManyInput = {
35637
35698
  id?: StringFieldUpdateOperationsInput | string
35638
35699
  icon?: NullableStringFieldUpdateOperationsInput | string | null
35639
35700
  name?: StringFieldUpdateOperationsInput | string
35701
+ rebateFee?: IntFieldUpdateOperationsInput | number
35640
35702
  }
35641
35703
 
35642
35704
  export type RewardCreateInput = {
@@ -37583,18 +37645,29 @@ export namespace Prisma {
37583
37645
  id?: SortOrder
37584
37646
  icon?: SortOrder
37585
37647
  name?: SortOrder
37648
+ rebateFee?: SortOrder
37649
+ }
37650
+
37651
+ export type CreatorAvgOrderByAggregateInput = {
37652
+ rebateFee?: SortOrder
37586
37653
  }
37587
37654
 
37588
37655
  export type CreatorMaxOrderByAggregateInput = {
37589
37656
  id?: SortOrder
37590
37657
  icon?: SortOrder
37591
37658
  name?: SortOrder
37659
+ rebateFee?: SortOrder
37592
37660
  }
37593
37661
 
37594
37662
  export type CreatorMinOrderByAggregateInput = {
37595
37663
  id?: SortOrder
37596
37664
  icon?: SortOrder
37597
37665
  name?: SortOrder
37666
+ rebateFee?: SortOrder
37667
+ }
37668
+
37669
+ export type CreatorSumOrderByAggregateInput = {
37670
+ rebateFee?: SortOrder
37598
37671
  }
37599
37672
 
37600
37673
  export type MerklRootScalarRelationFilter = {
@@ -45062,12 +45135,14 @@ export namespace Prisma {
45062
45135
  id: string
45063
45136
  icon?: string | null
45064
45137
  name: string
45138
+ rebateFee?: number
45065
45139
  }
45066
45140
 
45067
45141
  export type CreatorUncheckedCreateWithoutUsersInput = {
45068
45142
  id: string
45069
45143
  icon?: string | null
45070
45144
  name: string
45145
+ rebateFee?: number
45071
45146
  }
45072
45147
 
45073
45148
  export type CreatorCreateOrConnectWithoutUsersInput = {
@@ -45154,12 +45229,14 @@ export namespace Prisma {
45154
45229
  id?: StringFieldUpdateOperationsInput | string
45155
45230
  icon?: NullableStringFieldUpdateOperationsInput | string | null
45156
45231
  name?: StringFieldUpdateOperationsInput | string
45232
+ rebateFee?: IntFieldUpdateOperationsInput | number
45157
45233
  }
45158
45234
 
45159
45235
  export type CreatorUncheckedUpdateWithoutUsersInput = {
45160
45236
  id?: StringFieldUpdateOperationsInput | string
45161
45237
  icon?: NullableStringFieldUpdateOperationsInput | string | null
45162
45238
  name?: StringFieldUpdateOperationsInput | string
45239
+ rebateFee?: IntFieldUpdateOperationsInput | number
45163
45240
  }
45164
45241
 
45165
45242
  export type UserCreateWithoutCreatorInput = {