trucoshi 12.2.0 → 13.0.0

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.
@@ -48,6 +48,11 @@ export type CardSkin = $Result.DefaultSelection<Prisma.$CardSkinPayload>
48
48
  *
49
49
  */
50
50
  export type UserCardSkin = $Result.DefaultSelection<Prisma.$UserCardSkinPayload>
51
+ /**
52
+ * Model UserSkinRoll
53
+ *
54
+ */
55
+ export type UserSkinRoll = $Result.DefaultSelection<Prisma.$UserSkinRollPayload>
51
56
  /**
52
57
  * Model UserDeckCard
53
58
  *
@@ -301,6 +306,16 @@ export class PrismaClient<
301
306
  */
302
307
  get userCardSkin(): Prisma.UserCardSkinDelegate<ExtArgs, ClientOptions>;
303
308
 
309
+ /**
310
+ * `prisma.userSkinRoll`: Exposes CRUD operations for the **UserSkinRoll** model.
311
+ * Example usage:
312
+ * ```ts
313
+ * // Fetch zero or more UserSkinRolls
314
+ * const userSkinRolls = await prisma.userSkinRoll.findMany()
315
+ * ```
316
+ */
317
+ get userSkinRoll(): Prisma.UserSkinRollDelegate<ExtArgs, ClientOptions>;
318
+
304
319
  /**
305
320
  * `prisma.userDeckCard`: Exposes CRUD operations for the **UserDeckCard** model.
306
321
  * Example usage:
@@ -808,6 +823,7 @@ export namespace Prisma {
808
823
  MatchPlayer: 'MatchPlayer',
809
824
  CardSkin: 'CardSkin',
810
825
  UserCardSkin: 'UserCardSkin',
826
+ UserSkinRoll: 'UserSkinRoll',
811
827
  UserDeckCard: 'UserDeckCard',
812
828
  UserTreasureProgress: 'UserTreasureProgress',
813
829
  UserTreasureMatchCredit: 'UserTreasureMatchCredit',
@@ -832,7 +848,7 @@ export namespace Prisma {
832
848
  omit: GlobalOmitOptions
833
849
  }
834
850
  meta: {
835
- modelProps: "userStats" | "match" | "matchBet" | "matchHand" | "matchPlayer" | "cardSkin" | "userCardSkin" | "userDeckCard" | "userTreasureProgress" | "userTreasureMatchCredit" | "userTreasureChest" | "adminRewardCode" | "adminNoticeBanner"
851
+ modelProps: "userStats" | "match" | "matchBet" | "matchHand" | "matchPlayer" | "cardSkin" | "userCardSkin" | "userSkinRoll" | "userDeckCard" | "userTreasureProgress" | "userTreasureMatchCredit" | "userTreasureChest" | "adminRewardCode" | "adminNoticeBanner"
836
852
  txIsolationLevel: Prisma.TransactionIsolationLevel
837
853
  }
838
854
  model: {
@@ -1354,6 +1370,80 @@ export namespace Prisma {
1354
1370
  }
1355
1371
  }
1356
1372
  }
1373
+ UserSkinRoll: {
1374
+ payload: Prisma.$UserSkinRollPayload<ExtArgs>
1375
+ fields: Prisma.UserSkinRollFieldRefs
1376
+ operations: {
1377
+ findUnique: {
1378
+ args: Prisma.UserSkinRollFindUniqueArgs<ExtArgs>
1379
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload> | null
1380
+ }
1381
+ findUniqueOrThrow: {
1382
+ args: Prisma.UserSkinRollFindUniqueOrThrowArgs<ExtArgs>
1383
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1384
+ }
1385
+ findFirst: {
1386
+ args: Prisma.UserSkinRollFindFirstArgs<ExtArgs>
1387
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload> | null
1388
+ }
1389
+ findFirstOrThrow: {
1390
+ args: Prisma.UserSkinRollFindFirstOrThrowArgs<ExtArgs>
1391
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1392
+ }
1393
+ findMany: {
1394
+ args: Prisma.UserSkinRollFindManyArgs<ExtArgs>
1395
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>[]
1396
+ }
1397
+ create: {
1398
+ args: Prisma.UserSkinRollCreateArgs<ExtArgs>
1399
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1400
+ }
1401
+ createMany: {
1402
+ args: Prisma.UserSkinRollCreateManyArgs<ExtArgs>
1403
+ result: BatchPayload
1404
+ }
1405
+ createManyAndReturn: {
1406
+ args: Prisma.UserSkinRollCreateManyAndReturnArgs<ExtArgs>
1407
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>[]
1408
+ }
1409
+ delete: {
1410
+ args: Prisma.UserSkinRollDeleteArgs<ExtArgs>
1411
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1412
+ }
1413
+ update: {
1414
+ args: Prisma.UserSkinRollUpdateArgs<ExtArgs>
1415
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1416
+ }
1417
+ deleteMany: {
1418
+ args: Prisma.UserSkinRollDeleteManyArgs<ExtArgs>
1419
+ result: BatchPayload
1420
+ }
1421
+ updateMany: {
1422
+ args: Prisma.UserSkinRollUpdateManyArgs<ExtArgs>
1423
+ result: BatchPayload
1424
+ }
1425
+ updateManyAndReturn: {
1426
+ args: Prisma.UserSkinRollUpdateManyAndReturnArgs<ExtArgs>
1427
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>[]
1428
+ }
1429
+ upsert: {
1430
+ args: Prisma.UserSkinRollUpsertArgs<ExtArgs>
1431
+ result: $Utils.PayloadToResult<Prisma.$UserSkinRollPayload>
1432
+ }
1433
+ aggregate: {
1434
+ args: Prisma.UserSkinRollAggregateArgs<ExtArgs>
1435
+ result: $Utils.Optional<AggregateUserSkinRoll>
1436
+ }
1437
+ groupBy: {
1438
+ args: Prisma.UserSkinRollGroupByArgs<ExtArgs>
1439
+ result: $Utils.Optional<UserSkinRollGroupByOutputType>[]
1440
+ }
1441
+ count: {
1442
+ args: Prisma.UserSkinRollCountArgs<ExtArgs>
1443
+ result: $Utils.Optional<UserSkinRollCountAggregateOutputType> | number
1444
+ }
1445
+ }
1446
+ }
1357
1447
  UserDeckCard: {
1358
1448
  payload: Prisma.$UserDeckCardPayload<ExtArgs>
1359
1449
  fields: Prisma.UserDeckCardFieldRefs
@@ -1901,6 +1991,7 @@ export namespace Prisma {
1901
1991
  matchPlayer?: MatchPlayerOmit
1902
1992
  cardSkin?: CardSkinOmit
1903
1993
  userCardSkin?: UserCardSkinOmit
1994
+ userSkinRoll?: UserSkinRollOmit
1904
1995
  userDeckCard?: UserDeckCardOmit
1905
1996
  userTreasureProgress?: UserTreasureProgressOmit
1906
1997
  userTreasureMatchCredit?: UserTreasureMatchCreditOmit
@@ -2048,12 +2139,14 @@ export namespace Prisma {
2048
2139
  userSkins: number
2049
2140
  deckCards: number
2050
2141
  treasureChests: number
2142
+ skinRollRewards: number
2051
2143
  }
2052
2144
 
2053
2145
  export type CardSkinCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2054
2146
  userSkins?: boolean | CardSkinCountOutputTypeCountUserSkinsArgs
2055
2147
  deckCards?: boolean | CardSkinCountOutputTypeCountDeckCardsArgs
2056
2148
  treasureChests?: boolean | CardSkinCountOutputTypeCountTreasureChestsArgs
2149
+ skinRollRewards?: boolean | CardSkinCountOutputTypeCountSkinRollRewardsArgs
2057
2150
  }
2058
2151
 
2059
2152
  // Custom InputTypes
@@ -2088,6 +2181,13 @@ export namespace Prisma {
2088
2181
  where?: UserTreasureChestWhereInput
2089
2182
  }
2090
2183
 
2184
+ /**
2185
+ * CardSkinCountOutputType without action
2186
+ */
2187
+ export type CardSkinCountOutputTypeCountSkinRollRewardsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2188
+ where?: UserSkinRollWhereInput
2189
+ }
2190
+
2091
2191
 
2092
2192
  /**
2093
2193
  * Models
@@ -8273,6 +8373,7 @@ export namespace Prisma {
8273
8373
  userSkins?: boolean | CardSkin$userSkinsArgs<ExtArgs>
8274
8374
  deckCards?: boolean | CardSkin$deckCardsArgs<ExtArgs>
8275
8375
  treasureChests?: boolean | CardSkin$treasureChestsArgs<ExtArgs>
8376
+ skinRollRewards?: boolean | CardSkin$skinRollRewardsArgs<ExtArgs>
8276
8377
  _count?: boolean | CardSkinCountOutputTypeDefaultArgs<ExtArgs>
8277
8378
  }, ExtArgs["result"]["cardSkin"]>
8278
8379
 
@@ -8323,6 +8424,7 @@ export namespace Prisma {
8323
8424
  userSkins?: boolean | CardSkin$userSkinsArgs<ExtArgs>
8324
8425
  deckCards?: boolean | CardSkin$deckCardsArgs<ExtArgs>
8325
8426
  treasureChests?: boolean | CardSkin$treasureChestsArgs<ExtArgs>
8427
+ skinRollRewards?: boolean | CardSkin$skinRollRewardsArgs<ExtArgs>
8326
8428
  _count?: boolean | CardSkinCountOutputTypeDefaultArgs<ExtArgs>
8327
8429
  }
8328
8430
  export type CardSkinIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
@@ -8334,6 +8436,7 @@ export namespace Prisma {
8334
8436
  userSkins: Prisma.$UserCardSkinPayload<ExtArgs>[]
8335
8437
  deckCards: Prisma.$UserDeckCardPayload<ExtArgs>[]
8336
8438
  treasureChests: Prisma.$UserTreasureChestPayload<ExtArgs>[]
8439
+ skinRollRewards: Prisma.$UserSkinRollPayload<ExtArgs>[]
8337
8440
  }
8338
8441
  scalars: $Extensions.GetPayloadResult<{
8339
8442
  id: string
@@ -8744,6 +8847,7 @@ export namespace Prisma {
8744
8847
  userSkins<T extends CardSkin$userSkinsArgs<ExtArgs> = {}>(args?: Subset<T, CardSkin$userSkinsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserCardSkinPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8745
8848
  deckCards<T extends CardSkin$deckCardsArgs<ExtArgs> = {}>(args?: Subset<T, CardSkin$deckCardsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDeckCardPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8746
8849
  treasureChests<T extends CardSkin$treasureChestsArgs<ExtArgs> = {}>(args?: Subset<T, CardSkin$treasureChestsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserTreasureChestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8850
+ skinRollRewards<T extends CardSkin$skinRollRewardsArgs<ExtArgs> = {}>(args?: Subset<T, CardSkin$skinRollRewardsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8747
8851
  /**
8748
8852
  * Attaches callbacks for the resolution and/or rejection of the Promise.
8749
8853
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -9243,6 +9347,30 @@ export namespace Prisma {
9243
9347
  distinct?: UserTreasureChestScalarFieldEnum | UserTreasureChestScalarFieldEnum[]
9244
9348
  }
9245
9349
 
9350
+ /**
9351
+ * CardSkin.skinRollRewards
9352
+ */
9353
+ export type CardSkin$skinRollRewardsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9354
+ /**
9355
+ * Select specific fields to fetch from the UserSkinRoll
9356
+ */
9357
+ select?: UserSkinRollSelect<ExtArgs> | null
9358
+ /**
9359
+ * Omit specific fields from the UserSkinRoll
9360
+ */
9361
+ omit?: UserSkinRollOmit<ExtArgs> | null
9362
+ /**
9363
+ * Choose, which related nodes to fetch as well
9364
+ */
9365
+ include?: UserSkinRollInclude<ExtArgs> | null
9366
+ where?: UserSkinRollWhereInput
9367
+ orderBy?: UserSkinRollOrderByWithRelationInput | UserSkinRollOrderByWithRelationInput[]
9368
+ cursor?: UserSkinRollWhereUniqueInput
9369
+ take?: number
9370
+ skip?: number
9371
+ distinct?: UserSkinRollScalarFieldEnum | UserSkinRollScalarFieldEnum[]
9372
+ }
9373
+
9246
9374
  /**
9247
9375
  * CardSkin without action
9248
9376
  */
@@ -9277,11 +9405,13 @@ export namespace Prisma {
9277
9405
  export type UserCardSkinAvgAggregateOutputType = {
9278
9406
  id: number | null
9279
9407
  accountId: number | null
9408
+ quantity: number | null
9280
9409
  }
9281
9410
 
9282
9411
  export type UserCardSkinSumAggregateOutputType = {
9283
9412
  id: number | null
9284
9413
  accountId: number | null
9414
+ quantity: number | null
9285
9415
  }
9286
9416
 
9287
9417
  export type UserCardSkinMinAggregateOutputType = {
@@ -9290,6 +9420,7 @@ export namespace Prisma {
9290
9420
  cardSkinId: string | null
9291
9421
  unlockedAt: Date | null
9292
9422
  source: string | null
9423
+ quantity: number | null
9293
9424
  }
9294
9425
 
9295
9426
  export type UserCardSkinMaxAggregateOutputType = {
@@ -9298,6 +9429,7 @@ export namespace Prisma {
9298
9429
  cardSkinId: string | null
9299
9430
  unlockedAt: Date | null
9300
9431
  source: string | null
9432
+ quantity: number | null
9301
9433
  }
9302
9434
 
9303
9435
  export type UserCardSkinCountAggregateOutputType = {
@@ -9306,6 +9438,7 @@ export namespace Prisma {
9306
9438
  cardSkinId: number
9307
9439
  unlockedAt: number
9308
9440
  source: number
9441
+ quantity: number
9309
9442
  _all: number
9310
9443
  }
9311
9444
 
@@ -9313,11 +9446,13 @@ export namespace Prisma {
9313
9446
  export type UserCardSkinAvgAggregateInputType = {
9314
9447
  id?: true
9315
9448
  accountId?: true
9449
+ quantity?: true
9316
9450
  }
9317
9451
 
9318
9452
  export type UserCardSkinSumAggregateInputType = {
9319
9453
  id?: true
9320
9454
  accountId?: true
9455
+ quantity?: true
9321
9456
  }
9322
9457
 
9323
9458
  export type UserCardSkinMinAggregateInputType = {
@@ -9326,6 +9461,7 @@ export namespace Prisma {
9326
9461
  cardSkinId?: true
9327
9462
  unlockedAt?: true
9328
9463
  source?: true
9464
+ quantity?: true
9329
9465
  }
9330
9466
 
9331
9467
  export type UserCardSkinMaxAggregateInputType = {
@@ -9334,6 +9470,7 @@ export namespace Prisma {
9334
9470
  cardSkinId?: true
9335
9471
  unlockedAt?: true
9336
9472
  source?: true
9473
+ quantity?: true
9337
9474
  }
9338
9475
 
9339
9476
  export type UserCardSkinCountAggregateInputType = {
@@ -9342,6 +9479,7 @@ export namespace Prisma {
9342
9479
  cardSkinId?: true
9343
9480
  unlockedAt?: true
9344
9481
  source?: true
9482
+ quantity?: true
9345
9483
  _all?: true
9346
9484
  }
9347
9485
 
@@ -9437,6 +9575,7 @@ export namespace Prisma {
9437
9575
  cardSkinId: string
9438
9576
  unlockedAt: Date
9439
9577
  source: string | null
9578
+ quantity: number
9440
9579
  _count: UserCardSkinCountAggregateOutputType | null
9441
9580
  _avg: UserCardSkinAvgAggregateOutputType | null
9442
9581
  _sum: UserCardSkinSumAggregateOutputType | null
@@ -9464,6 +9603,7 @@ export namespace Prisma {
9464
9603
  cardSkinId?: boolean
9465
9604
  unlockedAt?: boolean
9466
9605
  source?: boolean
9606
+ quantity?: boolean
9467
9607
  cardSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
9468
9608
  }, ExtArgs["result"]["userCardSkin"]>
9469
9609
 
@@ -9473,6 +9613,7 @@ export namespace Prisma {
9473
9613
  cardSkinId?: boolean
9474
9614
  unlockedAt?: boolean
9475
9615
  source?: boolean
9616
+ quantity?: boolean
9476
9617
  cardSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
9477
9618
  }, ExtArgs["result"]["userCardSkin"]>
9478
9619
 
@@ -9482,6 +9623,7 @@ export namespace Prisma {
9482
9623
  cardSkinId?: boolean
9483
9624
  unlockedAt?: boolean
9484
9625
  source?: boolean
9626
+ quantity?: boolean
9485
9627
  cardSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
9486
9628
  }, ExtArgs["result"]["userCardSkin"]>
9487
9629
 
@@ -9491,9 +9633,10 @@ export namespace Prisma {
9491
9633
  cardSkinId?: boolean
9492
9634
  unlockedAt?: boolean
9493
9635
  source?: boolean
9636
+ quantity?: boolean
9494
9637
  }
9495
9638
 
9496
- export type UserCardSkinOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "accountId" | "cardSkinId" | "unlockedAt" | "source", ExtArgs["result"]["userCardSkin"]>
9639
+ export type UserCardSkinOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "accountId" | "cardSkinId" | "unlockedAt" | "source" | "quantity", ExtArgs["result"]["userCardSkin"]>
9497
9640
  export type UserCardSkinInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9498
9641
  cardSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
9499
9642
  }
@@ -9515,6 +9658,7 @@ export namespace Prisma {
9515
9658
  cardSkinId: string
9516
9659
  unlockedAt: Date
9517
9660
  source: string | null
9661
+ quantity: number
9518
9662
  }, ExtArgs["result"]["userCardSkin"]>
9519
9663
  composites: {}
9520
9664
  }
@@ -9944,6 +10088,7 @@ export namespace Prisma {
9944
10088
  readonly cardSkinId: FieldRef<"UserCardSkin", 'String'>
9945
10089
  readonly unlockedAt: FieldRef<"UserCardSkin", 'DateTime'>
9946
10090
  readonly source: FieldRef<"UserCardSkin", 'String'>
10091
+ readonly quantity: FieldRef<"UserCardSkin", 'Int'>
9947
10092
  }
9948
10093
 
9949
10094
 
@@ -10238,123 +10383,1241 @@ export namespace Prisma {
10238
10383
  */
10239
10384
  where?: UserCardSkinWhereInput
10240
10385
  /**
10241
- * Limit how many UserCardSkins to update.
10386
+ * Limit how many UserCardSkins to update.
10387
+ */
10388
+ limit?: number
10389
+ }
10390
+
10391
+ /**
10392
+ * UserCardSkin updateManyAndReturn
10393
+ */
10394
+ export type UserCardSkinUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10395
+ /**
10396
+ * Select specific fields to fetch from the UserCardSkin
10397
+ */
10398
+ select?: UserCardSkinSelectUpdateManyAndReturn<ExtArgs> | null
10399
+ /**
10400
+ * Omit specific fields from the UserCardSkin
10401
+ */
10402
+ omit?: UserCardSkinOmit<ExtArgs> | null
10403
+ /**
10404
+ * The data used to update UserCardSkins.
10405
+ */
10406
+ data: XOR<UserCardSkinUpdateManyMutationInput, UserCardSkinUncheckedUpdateManyInput>
10407
+ /**
10408
+ * Filter which UserCardSkins to update
10409
+ */
10410
+ where?: UserCardSkinWhereInput
10411
+ /**
10412
+ * Limit how many UserCardSkins to update.
10413
+ */
10414
+ limit?: number
10415
+ /**
10416
+ * Choose, which related nodes to fetch as well
10417
+ */
10418
+ include?: UserCardSkinIncludeUpdateManyAndReturn<ExtArgs> | null
10419
+ }
10420
+
10421
+ /**
10422
+ * UserCardSkin upsert
10423
+ */
10424
+ export type UserCardSkinUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10425
+ /**
10426
+ * Select specific fields to fetch from the UserCardSkin
10427
+ */
10428
+ select?: UserCardSkinSelect<ExtArgs> | null
10429
+ /**
10430
+ * Omit specific fields from the UserCardSkin
10431
+ */
10432
+ omit?: UserCardSkinOmit<ExtArgs> | null
10433
+ /**
10434
+ * Choose, which related nodes to fetch as well
10435
+ */
10436
+ include?: UserCardSkinInclude<ExtArgs> | null
10437
+ /**
10438
+ * The filter to search for the UserCardSkin to update in case it exists.
10439
+ */
10440
+ where: UserCardSkinWhereUniqueInput
10441
+ /**
10442
+ * In case the UserCardSkin found by the `where` argument doesn't exist, create a new UserCardSkin with this data.
10443
+ */
10444
+ create: XOR<UserCardSkinCreateInput, UserCardSkinUncheckedCreateInput>
10445
+ /**
10446
+ * In case the UserCardSkin was found with the provided `where` argument, update it with this data.
10447
+ */
10448
+ update: XOR<UserCardSkinUpdateInput, UserCardSkinUncheckedUpdateInput>
10449
+ }
10450
+
10451
+ /**
10452
+ * UserCardSkin delete
10453
+ */
10454
+ export type UserCardSkinDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10455
+ /**
10456
+ * Select specific fields to fetch from the UserCardSkin
10457
+ */
10458
+ select?: UserCardSkinSelect<ExtArgs> | null
10459
+ /**
10460
+ * Omit specific fields from the UserCardSkin
10461
+ */
10462
+ omit?: UserCardSkinOmit<ExtArgs> | null
10463
+ /**
10464
+ * Choose, which related nodes to fetch as well
10465
+ */
10466
+ include?: UserCardSkinInclude<ExtArgs> | null
10467
+ /**
10468
+ * Filter which UserCardSkin to delete.
10469
+ */
10470
+ where: UserCardSkinWhereUniqueInput
10471
+ }
10472
+
10473
+ /**
10474
+ * UserCardSkin deleteMany
10475
+ */
10476
+ export type UserCardSkinDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10477
+ /**
10478
+ * Filter which UserCardSkins to delete
10479
+ */
10480
+ where?: UserCardSkinWhereInput
10481
+ /**
10482
+ * Limit how many UserCardSkins to delete.
10483
+ */
10484
+ limit?: number
10485
+ }
10486
+
10487
+ /**
10488
+ * UserCardSkin without action
10489
+ */
10490
+ export type UserCardSkinDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10491
+ /**
10492
+ * Select specific fields to fetch from the UserCardSkin
10493
+ */
10494
+ select?: UserCardSkinSelect<ExtArgs> | null
10495
+ /**
10496
+ * Omit specific fields from the UserCardSkin
10497
+ */
10498
+ omit?: UserCardSkinOmit<ExtArgs> | null
10499
+ /**
10500
+ * Choose, which related nodes to fetch as well
10501
+ */
10502
+ include?: UserCardSkinInclude<ExtArgs> | null
10503
+ }
10504
+
10505
+
10506
+ /**
10507
+ * Model UserSkinRoll
10508
+ */
10509
+
10510
+ export type AggregateUserSkinRoll = {
10511
+ _count: UserSkinRollCountAggregateOutputType | null
10512
+ _avg: UserSkinRollAvgAggregateOutputType | null
10513
+ _sum: UserSkinRollSumAggregateOutputType | null
10514
+ _min: UserSkinRollMinAggregateOutputType | null
10515
+ _max: UserSkinRollMaxAggregateOutputType | null
10516
+ }
10517
+
10518
+ export type UserSkinRollAvgAggregateOutputType = {
10519
+ id: number | null
10520
+ accountId: number | null
10521
+ }
10522
+
10523
+ export type UserSkinRollSumAggregateOutputType = {
10524
+ id: number | null
10525
+ accountId: number | null
10526
+ }
10527
+
10528
+ export type UserSkinRollMinAggregateOutputType = {
10529
+ id: number | null
10530
+ accountId: number | null
10531
+ inputRarity: $Enums.CardSkinRarity | null
10532
+ outputRarity: $Enums.CardSkinRarity | null
10533
+ rewardedSkinId: string | null
10534
+ createdAt: Date | null
10535
+ }
10536
+
10537
+ export type UserSkinRollMaxAggregateOutputType = {
10538
+ id: number | null
10539
+ accountId: number | null
10540
+ inputRarity: $Enums.CardSkinRarity | null
10541
+ outputRarity: $Enums.CardSkinRarity | null
10542
+ rewardedSkinId: string | null
10543
+ createdAt: Date | null
10544
+ }
10545
+
10546
+ export type UserSkinRollCountAggregateOutputType = {
10547
+ id: number
10548
+ accountId: number
10549
+ inputRarity: number
10550
+ outputRarity: number
10551
+ consumedSkinIds: number
10552
+ rewardedSkinId: number
10553
+ createdAt: number
10554
+ _all: number
10555
+ }
10556
+
10557
+
10558
+ export type UserSkinRollAvgAggregateInputType = {
10559
+ id?: true
10560
+ accountId?: true
10561
+ }
10562
+
10563
+ export type UserSkinRollSumAggregateInputType = {
10564
+ id?: true
10565
+ accountId?: true
10566
+ }
10567
+
10568
+ export type UserSkinRollMinAggregateInputType = {
10569
+ id?: true
10570
+ accountId?: true
10571
+ inputRarity?: true
10572
+ outputRarity?: true
10573
+ rewardedSkinId?: true
10574
+ createdAt?: true
10575
+ }
10576
+
10577
+ export type UserSkinRollMaxAggregateInputType = {
10578
+ id?: true
10579
+ accountId?: true
10580
+ inputRarity?: true
10581
+ outputRarity?: true
10582
+ rewardedSkinId?: true
10583
+ createdAt?: true
10584
+ }
10585
+
10586
+ export type UserSkinRollCountAggregateInputType = {
10587
+ id?: true
10588
+ accountId?: true
10589
+ inputRarity?: true
10590
+ outputRarity?: true
10591
+ consumedSkinIds?: true
10592
+ rewardedSkinId?: true
10593
+ createdAt?: true
10594
+ _all?: true
10595
+ }
10596
+
10597
+ export type UserSkinRollAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10598
+ /**
10599
+ * Filter which UserSkinRoll to aggregate.
10600
+ */
10601
+ where?: UserSkinRollWhereInput
10602
+ /**
10603
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
10604
+ *
10605
+ * Determine the order of UserSkinRolls to fetch.
10606
+ */
10607
+ orderBy?: UserSkinRollOrderByWithRelationInput | UserSkinRollOrderByWithRelationInput[]
10608
+ /**
10609
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
10610
+ *
10611
+ * Sets the start position
10612
+ */
10613
+ cursor?: UserSkinRollWhereUniqueInput
10614
+ /**
10615
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
10616
+ *
10617
+ * Take `±n` UserSkinRolls from the position of the cursor.
10618
+ */
10619
+ take?: number
10620
+ /**
10621
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
10622
+ *
10623
+ * Skip the first `n` UserSkinRolls.
10624
+ */
10625
+ skip?: number
10626
+ /**
10627
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
10628
+ *
10629
+ * Count returned UserSkinRolls
10630
+ **/
10631
+ _count?: true | UserSkinRollCountAggregateInputType
10632
+ /**
10633
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
10634
+ *
10635
+ * Select which fields to average
10636
+ **/
10637
+ _avg?: UserSkinRollAvgAggregateInputType
10638
+ /**
10639
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
10640
+ *
10641
+ * Select which fields to sum
10642
+ **/
10643
+ _sum?: UserSkinRollSumAggregateInputType
10644
+ /**
10645
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
10646
+ *
10647
+ * Select which fields to find the minimum value
10648
+ **/
10649
+ _min?: UserSkinRollMinAggregateInputType
10650
+ /**
10651
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
10652
+ *
10653
+ * Select which fields to find the maximum value
10654
+ **/
10655
+ _max?: UserSkinRollMaxAggregateInputType
10656
+ }
10657
+
10658
+ export type GetUserSkinRollAggregateType<T extends UserSkinRollAggregateArgs> = {
10659
+ [P in keyof T & keyof AggregateUserSkinRoll]: P extends '_count' | 'count'
10660
+ ? T[P] extends true
10661
+ ? number
10662
+ : GetScalarType<T[P], AggregateUserSkinRoll[P]>
10663
+ : GetScalarType<T[P], AggregateUserSkinRoll[P]>
10664
+ }
10665
+
10666
+
10667
+
10668
+
10669
+ export type UserSkinRollGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10670
+ where?: UserSkinRollWhereInput
10671
+ orderBy?: UserSkinRollOrderByWithAggregationInput | UserSkinRollOrderByWithAggregationInput[]
10672
+ by: UserSkinRollScalarFieldEnum[] | UserSkinRollScalarFieldEnum
10673
+ having?: UserSkinRollScalarWhereWithAggregatesInput
10674
+ take?: number
10675
+ skip?: number
10676
+ _count?: UserSkinRollCountAggregateInputType | true
10677
+ _avg?: UserSkinRollAvgAggregateInputType
10678
+ _sum?: UserSkinRollSumAggregateInputType
10679
+ _min?: UserSkinRollMinAggregateInputType
10680
+ _max?: UserSkinRollMaxAggregateInputType
10681
+ }
10682
+
10683
+ export type UserSkinRollGroupByOutputType = {
10684
+ id: number
10685
+ accountId: number
10686
+ inputRarity: $Enums.CardSkinRarity
10687
+ outputRarity: $Enums.CardSkinRarity
10688
+ consumedSkinIds: JsonValue
10689
+ rewardedSkinId: string
10690
+ createdAt: Date
10691
+ _count: UserSkinRollCountAggregateOutputType | null
10692
+ _avg: UserSkinRollAvgAggregateOutputType | null
10693
+ _sum: UserSkinRollSumAggregateOutputType | null
10694
+ _min: UserSkinRollMinAggregateOutputType | null
10695
+ _max: UserSkinRollMaxAggregateOutputType | null
10696
+ }
10697
+
10698
+ type GetUserSkinRollGroupByPayload<T extends UserSkinRollGroupByArgs> = Prisma.PrismaPromise<
10699
+ Array<
10700
+ PickEnumerable<UserSkinRollGroupByOutputType, T['by']> &
10701
+ {
10702
+ [P in ((keyof T) & (keyof UserSkinRollGroupByOutputType))]: P extends '_count'
10703
+ ? T[P] extends boolean
10704
+ ? number
10705
+ : GetScalarType<T[P], UserSkinRollGroupByOutputType[P]>
10706
+ : GetScalarType<T[P], UserSkinRollGroupByOutputType[P]>
10707
+ }
10708
+ >
10709
+ >
10710
+
10711
+
10712
+ export type UserSkinRollSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10713
+ id?: boolean
10714
+ accountId?: boolean
10715
+ inputRarity?: boolean
10716
+ outputRarity?: boolean
10717
+ consumedSkinIds?: boolean
10718
+ rewardedSkinId?: boolean
10719
+ createdAt?: boolean
10720
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10721
+ }, ExtArgs["result"]["userSkinRoll"]>
10722
+
10723
+ export type UserSkinRollSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10724
+ id?: boolean
10725
+ accountId?: boolean
10726
+ inputRarity?: boolean
10727
+ outputRarity?: boolean
10728
+ consumedSkinIds?: boolean
10729
+ rewardedSkinId?: boolean
10730
+ createdAt?: boolean
10731
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10732
+ }, ExtArgs["result"]["userSkinRoll"]>
10733
+
10734
+ export type UserSkinRollSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10735
+ id?: boolean
10736
+ accountId?: boolean
10737
+ inputRarity?: boolean
10738
+ outputRarity?: boolean
10739
+ consumedSkinIds?: boolean
10740
+ rewardedSkinId?: boolean
10741
+ createdAt?: boolean
10742
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10743
+ }, ExtArgs["result"]["userSkinRoll"]>
10744
+
10745
+ export type UserSkinRollSelectScalar = {
10746
+ id?: boolean
10747
+ accountId?: boolean
10748
+ inputRarity?: boolean
10749
+ outputRarity?: boolean
10750
+ consumedSkinIds?: boolean
10751
+ rewardedSkinId?: boolean
10752
+ createdAt?: boolean
10753
+ }
10754
+
10755
+ export type UserSkinRollOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "accountId" | "inputRarity" | "outputRarity" | "consumedSkinIds" | "rewardedSkinId" | "createdAt", ExtArgs["result"]["userSkinRoll"]>
10756
+ export type UserSkinRollInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10757
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10758
+ }
10759
+ export type UserSkinRollIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10760
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10761
+ }
10762
+ export type UserSkinRollIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10763
+ rewardedSkin?: boolean | CardSkinDefaultArgs<ExtArgs>
10764
+ }
10765
+
10766
+ export type $UserSkinRollPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10767
+ name: "UserSkinRoll"
10768
+ objects: {
10769
+ rewardedSkin: Prisma.$CardSkinPayload<ExtArgs>
10770
+ }
10771
+ scalars: $Extensions.GetPayloadResult<{
10772
+ id: number
10773
+ accountId: number
10774
+ inputRarity: $Enums.CardSkinRarity
10775
+ outputRarity: $Enums.CardSkinRarity
10776
+ consumedSkinIds: Prisma.JsonValue
10777
+ rewardedSkinId: string
10778
+ createdAt: Date
10779
+ }, ExtArgs["result"]["userSkinRoll"]>
10780
+ composites: {}
10781
+ }
10782
+
10783
+ type UserSkinRollGetPayload<S extends boolean | null | undefined | UserSkinRollDefaultArgs> = $Result.GetResult<Prisma.$UserSkinRollPayload, S>
10784
+
10785
+ type UserSkinRollCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
10786
+ Omit<UserSkinRollFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
10787
+ select?: UserSkinRollCountAggregateInputType | true
10788
+ }
10789
+
10790
+ export interface UserSkinRollDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
10791
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserSkinRoll'], meta: { name: 'UserSkinRoll' } }
10792
+ /**
10793
+ * Find zero or one UserSkinRoll that matches the filter.
10794
+ * @param {UserSkinRollFindUniqueArgs} args - Arguments to find a UserSkinRoll
10795
+ * @example
10796
+ * // Get one UserSkinRoll
10797
+ * const userSkinRoll = await prisma.userSkinRoll.findUnique({
10798
+ * where: {
10799
+ * // ... provide filter here
10800
+ * }
10801
+ * })
10802
+ */
10803
+ findUnique<T extends UserSkinRollFindUniqueArgs>(args: SelectSubset<T, UserSkinRollFindUniqueArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
10804
+
10805
+ /**
10806
+ * Find one UserSkinRoll that matches the filter or throw an error with `error.code='P2025'`
10807
+ * if no matches were found.
10808
+ * @param {UserSkinRollFindUniqueOrThrowArgs} args - Arguments to find a UserSkinRoll
10809
+ * @example
10810
+ * // Get one UserSkinRoll
10811
+ * const userSkinRoll = await prisma.userSkinRoll.findUniqueOrThrow({
10812
+ * where: {
10813
+ * // ... provide filter here
10814
+ * }
10815
+ * })
10816
+ */
10817
+ findUniqueOrThrow<T extends UserSkinRollFindUniqueOrThrowArgs>(args: SelectSubset<T, UserSkinRollFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10818
+
10819
+ /**
10820
+ * Find the first UserSkinRoll that matches the filter.
10821
+ * Note, that providing `undefined` is treated as the value not being there.
10822
+ * Read more here: https://pris.ly/d/null-undefined
10823
+ * @param {UserSkinRollFindFirstArgs} args - Arguments to find a UserSkinRoll
10824
+ * @example
10825
+ * // Get one UserSkinRoll
10826
+ * const userSkinRoll = await prisma.userSkinRoll.findFirst({
10827
+ * where: {
10828
+ * // ... provide filter here
10829
+ * }
10830
+ * })
10831
+ */
10832
+ findFirst<T extends UserSkinRollFindFirstArgs>(args?: SelectSubset<T, UserSkinRollFindFirstArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
10833
+
10834
+ /**
10835
+ * Find the first UserSkinRoll that matches the filter or
10836
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
10837
+ * Note, that providing `undefined` is treated as the value not being there.
10838
+ * Read more here: https://pris.ly/d/null-undefined
10839
+ * @param {UserSkinRollFindFirstOrThrowArgs} args - Arguments to find a UserSkinRoll
10840
+ * @example
10841
+ * // Get one UserSkinRoll
10842
+ * const userSkinRoll = await prisma.userSkinRoll.findFirstOrThrow({
10843
+ * where: {
10844
+ * // ... provide filter here
10845
+ * }
10846
+ * })
10847
+ */
10848
+ findFirstOrThrow<T extends UserSkinRollFindFirstOrThrowArgs>(args?: SelectSubset<T, UserSkinRollFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10849
+
10850
+ /**
10851
+ * Find zero or more UserSkinRolls that matches the filter.
10852
+ * Note, that providing `undefined` is treated as the value not being there.
10853
+ * Read more here: https://pris.ly/d/null-undefined
10854
+ * @param {UserSkinRollFindManyArgs} args - Arguments to filter and select certain fields only.
10855
+ * @example
10856
+ * // Get all UserSkinRolls
10857
+ * const userSkinRolls = await prisma.userSkinRoll.findMany()
10858
+ *
10859
+ * // Get first 10 UserSkinRolls
10860
+ * const userSkinRolls = await prisma.userSkinRoll.findMany({ take: 10 })
10861
+ *
10862
+ * // Only select the `id`
10863
+ * const userSkinRollWithIdOnly = await prisma.userSkinRoll.findMany({ select: { id: true } })
10864
+ *
10865
+ */
10866
+ findMany<T extends UserSkinRollFindManyArgs>(args?: SelectSubset<T, UserSkinRollFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
10867
+
10868
+ /**
10869
+ * Create a UserSkinRoll.
10870
+ * @param {UserSkinRollCreateArgs} args - Arguments to create a UserSkinRoll.
10871
+ * @example
10872
+ * // Create one UserSkinRoll
10873
+ * const UserSkinRoll = await prisma.userSkinRoll.create({
10874
+ * data: {
10875
+ * // ... data to create a UserSkinRoll
10876
+ * }
10877
+ * })
10878
+ *
10879
+ */
10880
+ create<T extends UserSkinRollCreateArgs>(args: SelectSubset<T, UserSkinRollCreateArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10881
+
10882
+ /**
10883
+ * Create many UserSkinRolls.
10884
+ * @param {UserSkinRollCreateManyArgs} args - Arguments to create many UserSkinRolls.
10885
+ * @example
10886
+ * // Create many UserSkinRolls
10887
+ * const userSkinRoll = await prisma.userSkinRoll.createMany({
10888
+ * data: [
10889
+ * // ... provide data here
10890
+ * ]
10891
+ * })
10892
+ *
10893
+ */
10894
+ createMany<T extends UserSkinRollCreateManyArgs>(args?: SelectSubset<T, UserSkinRollCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
10895
+
10896
+ /**
10897
+ * Create many UserSkinRolls and returns the data saved in the database.
10898
+ * @param {UserSkinRollCreateManyAndReturnArgs} args - Arguments to create many UserSkinRolls.
10899
+ * @example
10900
+ * // Create many UserSkinRolls
10901
+ * const userSkinRoll = await prisma.userSkinRoll.createManyAndReturn({
10902
+ * data: [
10903
+ * // ... provide data here
10904
+ * ]
10905
+ * })
10906
+ *
10907
+ * // Create many UserSkinRolls and only return the `id`
10908
+ * const userSkinRollWithIdOnly = await prisma.userSkinRoll.createManyAndReturn({
10909
+ * select: { id: true },
10910
+ * data: [
10911
+ * // ... provide data here
10912
+ * ]
10913
+ * })
10914
+ * Note, that providing `undefined` is treated as the value not being there.
10915
+ * Read more here: https://pris.ly/d/null-undefined
10916
+ *
10917
+ */
10918
+ createManyAndReturn<T extends UserSkinRollCreateManyAndReturnArgs>(args?: SelectSubset<T, UserSkinRollCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
10919
+
10920
+ /**
10921
+ * Delete a UserSkinRoll.
10922
+ * @param {UserSkinRollDeleteArgs} args - Arguments to delete one UserSkinRoll.
10923
+ * @example
10924
+ * // Delete one UserSkinRoll
10925
+ * const UserSkinRoll = await prisma.userSkinRoll.delete({
10926
+ * where: {
10927
+ * // ... filter to delete one UserSkinRoll
10928
+ * }
10929
+ * })
10930
+ *
10931
+ */
10932
+ delete<T extends UserSkinRollDeleteArgs>(args: SelectSubset<T, UserSkinRollDeleteArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10933
+
10934
+ /**
10935
+ * Update one UserSkinRoll.
10936
+ * @param {UserSkinRollUpdateArgs} args - Arguments to update one UserSkinRoll.
10937
+ * @example
10938
+ * // Update one UserSkinRoll
10939
+ * const userSkinRoll = await prisma.userSkinRoll.update({
10940
+ * where: {
10941
+ * // ... provide filter here
10942
+ * },
10943
+ * data: {
10944
+ * // ... provide data here
10945
+ * }
10946
+ * })
10947
+ *
10948
+ */
10949
+ update<T extends UserSkinRollUpdateArgs>(args: SelectSubset<T, UserSkinRollUpdateArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10950
+
10951
+ /**
10952
+ * Delete zero or more UserSkinRolls.
10953
+ * @param {UserSkinRollDeleteManyArgs} args - Arguments to filter UserSkinRolls to delete.
10954
+ * @example
10955
+ * // Delete a few UserSkinRolls
10956
+ * const { count } = await prisma.userSkinRoll.deleteMany({
10957
+ * where: {
10958
+ * // ... provide filter here
10959
+ * }
10960
+ * })
10961
+ *
10962
+ */
10963
+ deleteMany<T extends UserSkinRollDeleteManyArgs>(args?: SelectSubset<T, UserSkinRollDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
10964
+
10965
+ /**
10966
+ * Update zero or more UserSkinRolls.
10967
+ * Note, that providing `undefined` is treated as the value not being there.
10968
+ * Read more here: https://pris.ly/d/null-undefined
10969
+ * @param {UserSkinRollUpdateManyArgs} args - Arguments to update one or more rows.
10970
+ * @example
10971
+ * // Update many UserSkinRolls
10972
+ * const userSkinRoll = await prisma.userSkinRoll.updateMany({
10973
+ * where: {
10974
+ * // ... provide filter here
10975
+ * },
10976
+ * data: {
10977
+ * // ... provide data here
10978
+ * }
10979
+ * })
10980
+ *
10981
+ */
10982
+ updateMany<T extends UserSkinRollUpdateManyArgs>(args: SelectSubset<T, UserSkinRollUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
10983
+
10984
+ /**
10985
+ * Update zero or more UserSkinRolls and returns the data updated in the database.
10986
+ * @param {UserSkinRollUpdateManyAndReturnArgs} args - Arguments to update many UserSkinRolls.
10987
+ * @example
10988
+ * // Update many UserSkinRolls
10989
+ * const userSkinRoll = await prisma.userSkinRoll.updateManyAndReturn({
10990
+ * where: {
10991
+ * // ... provide filter here
10992
+ * },
10993
+ * data: [
10994
+ * // ... provide data here
10995
+ * ]
10996
+ * })
10997
+ *
10998
+ * // Update zero or more UserSkinRolls and only return the `id`
10999
+ * const userSkinRollWithIdOnly = await prisma.userSkinRoll.updateManyAndReturn({
11000
+ * select: { id: true },
11001
+ * where: {
11002
+ * // ... provide filter here
11003
+ * },
11004
+ * data: [
11005
+ * // ... provide data here
11006
+ * ]
11007
+ * })
11008
+ * Note, that providing `undefined` is treated as the value not being there.
11009
+ * Read more here: https://pris.ly/d/null-undefined
11010
+ *
11011
+ */
11012
+ updateManyAndReturn<T extends UserSkinRollUpdateManyAndReturnArgs>(args: SelectSubset<T, UserSkinRollUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
11013
+
11014
+ /**
11015
+ * Create or update one UserSkinRoll.
11016
+ * @param {UserSkinRollUpsertArgs} args - Arguments to update or create a UserSkinRoll.
11017
+ * @example
11018
+ * // Update or create a UserSkinRoll
11019
+ * const userSkinRoll = await prisma.userSkinRoll.upsert({
11020
+ * create: {
11021
+ * // ... data to create a UserSkinRoll
11022
+ * },
11023
+ * update: {
11024
+ * // ... in case it already exists, update
11025
+ * },
11026
+ * where: {
11027
+ * // ... the filter for the UserSkinRoll we want to update
11028
+ * }
11029
+ * })
11030
+ */
11031
+ upsert<T extends UserSkinRollUpsertArgs>(args: SelectSubset<T, UserSkinRollUpsertArgs<ExtArgs>>): Prisma__UserSkinRollClient<$Result.GetResult<Prisma.$UserSkinRollPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
11032
+
11033
+
11034
+ /**
11035
+ * Count the number of UserSkinRolls.
11036
+ * Note, that providing `undefined` is treated as the value not being there.
11037
+ * Read more here: https://pris.ly/d/null-undefined
11038
+ * @param {UserSkinRollCountArgs} args - Arguments to filter UserSkinRolls to count.
11039
+ * @example
11040
+ * // Count the number of UserSkinRolls
11041
+ * const count = await prisma.userSkinRoll.count({
11042
+ * where: {
11043
+ * // ... the filter for the UserSkinRolls we want to count
11044
+ * }
11045
+ * })
11046
+ **/
11047
+ count<T extends UserSkinRollCountArgs>(
11048
+ args?: Subset<T, UserSkinRollCountArgs>,
11049
+ ): Prisma.PrismaPromise<
11050
+ T extends $Utils.Record<'select', any>
11051
+ ? T['select'] extends true
11052
+ ? number
11053
+ : GetScalarType<T['select'], UserSkinRollCountAggregateOutputType>
11054
+ : number
11055
+ >
11056
+
11057
+ /**
11058
+ * Allows you to perform aggregations operations on a UserSkinRoll.
11059
+ * Note, that providing `undefined` is treated as the value not being there.
11060
+ * Read more here: https://pris.ly/d/null-undefined
11061
+ * @param {UserSkinRollAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
11062
+ * @example
11063
+ * // Ordered by age ascending
11064
+ * // Where email contains prisma.io
11065
+ * // Limited to the 10 users
11066
+ * const aggregations = await prisma.user.aggregate({
11067
+ * _avg: {
11068
+ * age: true,
11069
+ * },
11070
+ * where: {
11071
+ * email: {
11072
+ * contains: "prisma.io",
11073
+ * },
11074
+ * },
11075
+ * orderBy: {
11076
+ * age: "asc",
11077
+ * },
11078
+ * take: 10,
11079
+ * })
11080
+ **/
11081
+ aggregate<T extends UserSkinRollAggregateArgs>(args: Subset<T, UserSkinRollAggregateArgs>): Prisma.PrismaPromise<GetUserSkinRollAggregateType<T>>
11082
+
11083
+ /**
11084
+ * Group by UserSkinRoll.
11085
+ * Note, that providing `undefined` is treated as the value not being there.
11086
+ * Read more here: https://pris.ly/d/null-undefined
11087
+ * @param {UserSkinRollGroupByArgs} args - Group by arguments.
11088
+ * @example
11089
+ * // Group by city, order by createdAt, get count
11090
+ * const result = await prisma.user.groupBy({
11091
+ * by: ['city', 'createdAt'],
11092
+ * orderBy: {
11093
+ * createdAt: true
11094
+ * },
11095
+ * _count: {
11096
+ * _all: true
11097
+ * },
11098
+ * })
11099
+ *
11100
+ **/
11101
+ groupBy<
11102
+ T extends UserSkinRollGroupByArgs,
11103
+ HasSelectOrTake extends Or<
11104
+ Extends<'skip', Keys<T>>,
11105
+ Extends<'take', Keys<T>>
11106
+ >,
11107
+ OrderByArg extends True extends HasSelectOrTake
11108
+ ? { orderBy: UserSkinRollGroupByArgs['orderBy'] }
11109
+ : { orderBy?: UserSkinRollGroupByArgs['orderBy'] },
11110
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
11111
+ ByFields extends MaybeTupleToUnion<T['by']>,
11112
+ ByValid extends Has<ByFields, OrderFields>,
11113
+ HavingFields extends GetHavingFields<T['having']>,
11114
+ HavingValid extends Has<ByFields, HavingFields>,
11115
+ ByEmpty extends T['by'] extends never[] ? True : False,
11116
+ InputErrors extends ByEmpty extends True
11117
+ ? `Error: "by" must not be empty.`
11118
+ : HavingValid extends False
11119
+ ? {
11120
+ [P in HavingFields]: P extends ByFields
11121
+ ? never
11122
+ : P extends string
11123
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
11124
+ : [
11125
+ Error,
11126
+ 'Field ',
11127
+ P,
11128
+ ` in "having" needs to be provided in "by"`,
11129
+ ]
11130
+ }[HavingFields]
11131
+ : 'take' extends Keys<T>
11132
+ ? 'orderBy' extends Keys<T>
11133
+ ? ByValid extends True
11134
+ ? {}
11135
+ : {
11136
+ [P in OrderFields]: P extends ByFields
11137
+ ? never
11138
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
11139
+ }[OrderFields]
11140
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
11141
+ : 'skip' extends Keys<T>
11142
+ ? 'orderBy' extends Keys<T>
11143
+ ? ByValid extends True
11144
+ ? {}
11145
+ : {
11146
+ [P in OrderFields]: P extends ByFields
11147
+ ? never
11148
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
11149
+ }[OrderFields]
11150
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
11151
+ : ByValid extends True
11152
+ ? {}
11153
+ : {
11154
+ [P in OrderFields]: P extends ByFields
11155
+ ? never
11156
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
11157
+ }[OrderFields]
11158
+ >(args: SubsetIntersection<T, UserSkinRollGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserSkinRollGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
11159
+ /**
11160
+ * Fields of the UserSkinRoll model
11161
+ */
11162
+ readonly fields: UserSkinRollFieldRefs;
11163
+ }
11164
+
11165
+ /**
11166
+ * The delegate class that acts as a "Promise-like" for UserSkinRoll.
11167
+ * Why is this prefixed with `Prisma__`?
11168
+ * Because we want to prevent naming conflicts as mentioned in
11169
+ * https://github.com/prisma/prisma-client-js/issues/707
11170
+ */
11171
+ export interface Prisma__UserSkinRollClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
11172
+ readonly [Symbol.toStringTag]: "PrismaPromise"
11173
+ rewardedSkin<T extends CardSkinDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CardSkinDefaultArgs<ExtArgs>>): Prisma__CardSkinClient<$Result.GetResult<Prisma.$CardSkinPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
11174
+ /**
11175
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
11176
+ * @param onfulfilled The callback to execute when the Promise is resolved.
11177
+ * @param onrejected The callback to execute when the Promise is rejected.
11178
+ * @returns A Promise for the completion of which ever callback is executed.
11179
+ */
11180
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
11181
+ /**
11182
+ * Attaches a callback for only the rejection of the Promise.
11183
+ * @param onrejected The callback to execute when the Promise is rejected.
11184
+ * @returns A Promise for the completion of the callback.
11185
+ */
11186
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
11187
+ /**
11188
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
11189
+ * resolved value cannot be modified from the callback.
11190
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
11191
+ * @returns A Promise for the completion of the callback.
11192
+ */
11193
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
11194
+ }
11195
+
11196
+
11197
+
11198
+
11199
+ /**
11200
+ * Fields of the UserSkinRoll model
11201
+ */
11202
+ interface UserSkinRollFieldRefs {
11203
+ readonly id: FieldRef<"UserSkinRoll", 'Int'>
11204
+ readonly accountId: FieldRef<"UserSkinRoll", 'Int'>
11205
+ readonly inputRarity: FieldRef<"UserSkinRoll", 'CardSkinRarity'>
11206
+ readonly outputRarity: FieldRef<"UserSkinRoll", 'CardSkinRarity'>
11207
+ readonly consumedSkinIds: FieldRef<"UserSkinRoll", 'Json'>
11208
+ readonly rewardedSkinId: FieldRef<"UserSkinRoll", 'String'>
11209
+ readonly createdAt: FieldRef<"UserSkinRoll", 'DateTime'>
11210
+ }
11211
+
11212
+
11213
+ // Custom InputTypes
11214
+ /**
11215
+ * UserSkinRoll findUnique
11216
+ */
11217
+ export type UserSkinRollFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11218
+ /**
11219
+ * Select specific fields to fetch from the UserSkinRoll
11220
+ */
11221
+ select?: UserSkinRollSelect<ExtArgs> | null
11222
+ /**
11223
+ * Omit specific fields from the UserSkinRoll
11224
+ */
11225
+ omit?: UserSkinRollOmit<ExtArgs> | null
11226
+ /**
11227
+ * Choose, which related nodes to fetch as well
11228
+ */
11229
+ include?: UserSkinRollInclude<ExtArgs> | null
11230
+ /**
11231
+ * Filter, which UserSkinRoll to fetch.
11232
+ */
11233
+ where: UserSkinRollWhereUniqueInput
11234
+ }
11235
+
11236
+ /**
11237
+ * UserSkinRoll findUniqueOrThrow
11238
+ */
11239
+ export type UserSkinRollFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11240
+ /**
11241
+ * Select specific fields to fetch from the UserSkinRoll
11242
+ */
11243
+ select?: UserSkinRollSelect<ExtArgs> | null
11244
+ /**
11245
+ * Omit specific fields from the UserSkinRoll
11246
+ */
11247
+ omit?: UserSkinRollOmit<ExtArgs> | null
11248
+ /**
11249
+ * Choose, which related nodes to fetch as well
11250
+ */
11251
+ include?: UserSkinRollInclude<ExtArgs> | null
11252
+ /**
11253
+ * Filter, which UserSkinRoll to fetch.
11254
+ */
11255
+ where: UserSkinRollWhereUniqueInput
11256
+ }
11257
+
11258
+ /**
11259
+ * UserSkinRoll findFirst
11260
+ */
11261
+ export type UserSkinRollFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11262
+ /**
11263
+ * Select specific fields to fetch from the UserSkinRoll
11264
+ */
11265
+ select?: UserSkinRollSelect<ExtArgs> | null
11266
+ /**
11267
+ * Omit specific fields from the UserSkinRoll
11268
+ */
11269
+ omit?: UserSkinRollOmit<ExtArgs> | null
11270
+ /**
11271
+ * Choose, which related nodes to fetch as well
11272
+ */
11273
+ include?: UserSkinRollInclude<ExtArgs> | null
11274
+ /**
11275
+ * Filter, which UserSkinRoll to fetch.
11276
+ */
11277
+ where?: UserSkinRollWhereInput
11278
+ /**
11279
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
11280
+ *
11281
+ * Determine the order of UserSkinRolls to fetch.
11282
+ */
11283
+ orderBy?: UserSkinRollOrderByWithRelationInput | UserSkinRollOrderByWithRelationInput[]
11284
+ /**
11285
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
11286
+ *
11287
+ * Sets the position for searching for UserSkinRolls.
11288
+ */
11289
+ cursor?: UserSkinRollWhereUniqueInput
11290
+ /**
11291
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11292
+ *
11293
+ * Take `±n` UserSkinRolls from the position of the cursor.
11294
+ */
11295
+ take?: number
11296
+ /**
11297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11298
+ *
11299
+ * Skip the first `n` UserSkinRolls.
11300
+ */
11301
+ skip?: number
11302
+ /**
11303
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
11304
+ *
11305
+ * Filter by unique combinations of UserSkinRolls.
11306
+ */
11307
+ distinct?: UserSkinRollScalarFieldEnum | UserSkinRollScalarFieldEnum[]
11308
+ }
11309
+
11310
+ /**
11311
+ * UserSkinRoll findFirstOrThrow
11312
+ */
11313
+ export type UserSkinRollFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11314
+ /**
11315
+ * Select specific fields to fetch from the UserSkinRoll
11316
+ */
11317
+ select?: UserSkinRollSelect<ExtArgs> | null
11318
+ /**
11319
+ * Omit specific fields from the UserSkinRoll
11320
+ */
11321
+ omit?: UserSkinRollOmit<ExtArgs> | null
11322
+ /**
11323
+ * Choose, which related nodes to fetch as well
11324
+ */
11325
+ include?: UserSkinRollInclude<ExtArgs> | null
11326
+ /**
11327
+ * Filter, which UserSkinRoll to fetch.
11328
+ */
11329
+ where?: UserSkinRollWhereInput
11330
+ /**
11331
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
11332
+ *
11333
+ * Determine the order of UserSkinRolls to fetch.
11334
+ */
11335
+ orderBy?: UserSkinRollOrderByWithRelationInput | UserSkinRollOrderByWithRelationInput[]
11336
+ /**
11337
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
11338
+ *
11339
+ * Sets the position for searching for UserSkinRolls.
11340
+ */
11341
+ cursor?: UserSkinRollWhereUniqueInput
11342
+ /**
11343
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11344
+ *
11345
+ * Take `±n` UserSkinRolls from the position of the cursor.
11346
+ */
11347
+ take?: number
11348
+ /**
11349
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11350
+ *
11351
+ * Skip the first `n` UserSkinRolls.
11352
+ */
11353
+ skip?: number
11354
+ /**
11355
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
11356
+ *
11357
+ * Filter by unique combinations of UserSkinRolls.
11358
+ */
11359
+ distinct?: UserSkinRollScalarFieldEnum | UserSkinRollScalarFieldEnum[]
11360
+ }
11361
+
11362
+ /**
11363
+ * UserSkinRoll findMany
11364
+ */
11365
+ export type UserSkinRollFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11366
+ /**
11367
+ * Select specific fields to fetch from the UserSkinRoll
11368
+ */
11369
+ select?: UserSkinRollSelect<ExtArgs> | null
11370
+ /**
11371
+ * Omit specific fields from the UserSkinRoll
11372
+ */
11373
+ omit?: UserSkinRollOmit<ExtArgs> | null
11374
+ /**
11375
+ * Choose, which related nodes to fetch as well
11376
+ */
11377
+ include?: UserSkinRollInclude<ExtArgs> | null
11378
+ /**
11379
+ * Filter, which UserSkinRolls to fetch.
11380
+ */
11381
+ where?: UserSkinRollWhereInput
11382
+ /**
11383
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
11384
+ *
11385
+ * Determine the order of UserSkinRolls to fetch.
11386
+ */
11387
+ orderBy?: UserSkinRollOrderByWithRelationInput | UserSkinRollOrderByWithRelationInput[]
11388
+ /**
11389
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
11390
+ *
11391
+ * Sets the position for listing UserSkinRolls.
11392
+ */
11393
+ cursor?: UserSkinRollWhereUniqueInput
11394
+ /**
11395
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11396
+ *
11397
+ * Take `±n` UserSkinRolls from the position of the cursor.
11398
+ */
11399
+ take?: number
11400
+ /**
11401
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11402
+ *
11403
+ * Skip the first `n` UserSkinRolls.
11404
+ */
11405
+ skip?: number
11406
+ distinct?: UserSkinRollScalarFieldEnum | UserSkinRollScalarFieldEnum[]
11407
+ }
11408
+
11409
+ /**
11410
+ * UserSkinRoll create
11411
+ */
11412
+ export type UserSkinRollCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11413
+ /**
11414
+ * Select specific fields to fetch from the UserSkinRoll
11415
+ */
11416
+ select?: UserSkinRollSelect<ExtArgs> | null
11417
+ /**
11418
+ * Omit specific fields from the UserSkinRoll
11419
+ */
11420
+ omit?: UserSkinRollOmit<ExtArgs> | null
11421
+ /**
11422
+ * Choose, which related nodes to fetch as well
11423
+ */
11424
+ include?: UserSkinRollInclude<ExtArgs> | null
11425
+ /**
11426
+ * The data needed to create a UserSkinRoll.
11427
+ */
11428
+ data: XOR<UserSkinRollCreateInput, UserSkinRollUncheckedCreateInput>
11429
+ }
11430
+
11431
+ /**
11432
+ * UserSkinRoll createMany
11433
+ */
11434
+ export type UserSkinRollCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11435
+ /**
11436
+ * The data used to create many UserSkinRolls.
11437
+ */
11438
+ data: UserSkinRollCreateManyInput | UserSkinRollCreateManyInput[]
11439
+ skipDuplicates?: boolean
11440
+ }
11441
+
11442
+ /**
11443
+ * UserSkinRoll createManyAndReturn
11444
+ */
11445
+ export type UserSkinRollCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11446
+ /**
11447
+ * Select specific fields to fetch from the UserSkinRoll
11448
+ */
11449
+ select?: UserSkinRollSelectCreateManyAndReturn<ExtArgs> | null
11450
+ /**
11451
+ * Omit specific fields from the UserSkinRoll
11452
+ */
11453
+ omit?: UserSkinRollOmit<ExtArgs> | null
11454
+ /**
11455
+ * The data used to create many UserSkinRolls.
11456
+ */
11457
+ data: UserSkinRollCreateManyInput | UserSkinRollCreateManyInput[]
11458
+ skipDuplicates?: boolean
11459
+ /**
11460
+ * Choose, which related nodes to fetch as well
11461
+ */
11462
+ include?: UserSkinRollIncludeCreateManyAndReturn<ExtArgs> | null
11463
+ }
11464
+
11465
+ /**
11466
+ * UserSkinRoll update
11467
+ */
11468
+ export type UserSkinRollUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11469
+ /**
11470
+ * Select specific fields to fetch from the UserSkinRoll
11471
+ */
11472
+ select?: UserSkinRollSelect<ExtArgs> | null
11473
+ /**
11474
+ * Omit specific fields from the UserSkinRoll
11475
+ */
11476
+ omit?: UserSkinRollOmit<ExtArgs> | null
11477
+ /**
11478
+ * Choose, which related nodes to fetch as well
11479
+ */
11480
+ include?: UserSkinRollInclude<ExtArgs> | null
11481
+ /**
11482
+ * The data needed to update a UserSkinRoll.
11483
+ */
11484
+ data: XOR<UserSkinRollUpdateInput, UserSkinRollUncheckedUpdateInput>
11485
+ /**
11486
+ * Choose, which UserSkinRoll to update.
11487
+ */
11488
+ where: UserSkinRollWhereUniqueInput
11489
+ }
11490
+
11491
+ /**
11492
+ * UserSkinRoll updateMany
11493
+ */
11494
+ export type UserSkinRollUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11495
+ /**
11496
+ * The data used to update UserSkinRolls.
11497
+ */
11498
+ data: XOR<UserSkinRollUpdateManyMutationInput, UserSkinRollUncheckedUpdateManyInput>
11499
+ /**
11500
+ * Filter which UserSkinRolls to update
11501
+ */
11502
+ where?: UserSkinRollWhereInput
11503
+ /**
11504
+ * Limit how many UserSkinRolls to update.
10242
11505
  */
10243
11506
  limit?: number
10244
11507
  }
10245
11508
 
10246
11509
  /**
10247
- * UserCardSkin updateManyAndReturn
11510
+ * UserSkinRoll updateManyAndReturn
10248
11511
  */
10249
- export type UserCardSkinUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11512
+ export type UserSkinRollUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10250
11513
  /**
10251
- * Select specific fields to fetch from the UserCardSkin
11514
+ * Select specific fields to fetch from the UserSkinRoll
10252
11515
  */
10253
- select?: UserCardSkinSelectUpdateManyAndReturn<ExtArgs> | null
11516
+ select?: UserSkinRollSelectUpdateManyAndReturn<ExtArgs> | null
10254
11517
  /**
10255
- * Omit specific fields from the UserCardSkin
11518
+ * Omit specific fields from the UserSkinRoll
10256
11519
  */
10257
- omit?: UserCardSkinOmit<ExtArgs> | null
11520
+ omit?: UserSkinRollOmit<ExtArgs> | null
10258
11521
  /**
10259
- * The data used to update UserCardSkins.
11522
+ * The data used to update UserSkinRolls.
10260
11523
  */
10261
- data: XOR<UserCardSkinUpdateManyMutationInput, UserCardSkinUncheckedUpdateManyInput>
11524
+ data: XOR<UserSkinRollUpdateManyMutationInput, UserSkinRollUncheckedUpdateManyInput>
10262
11525
  /**
10263
- * Filter which UserCardSkins to update
11526
+ * Filter which UserSkinRolls to update
10264
11527
  */
10265
- where?: UserCardSkinWhereInput
11528
+ where?: UserSkinRollWhereInput
10266
11529
  /**
10267
- * Limit how many UserCardSkins to update.
11530
+ * Limit how many UserSkinRolls to update.
10268
11531
  */
10269
11532
  limit?: number
10270
11533
  /**
10271
11534
  * Choose, which related nodes to fetch as well
10272
11535
  */
10273
- include?: UserCardSkinIncludeUpdateManyAndReturn<ExtArgs> | null
11536
+ include?: UserSkinRollIncludeUpdateManyAndReturn<ExtArgs> | null
10274
11537
  }
10275
11538
 
10276
11539
  /**
10277
- * UserCardSkin upsert
11540
+ * UserSkinRoll upsert
10278
11541
  */
10279
- export type UserCardSkinUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11542
+ export type UserSkinRollUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10280
11543
  /**
10281
- * Select specific fields to fetch from the UserCardSkin
11544
+ * Select specific fields to fetch from the UserSkinRoll
10282
11545
  */
10283
- select?: UserCardSkinSelect<ExtArgs> | null
11546
+ select?: UserSkinRollSelect<ExtArgs> | null
10284
11547
  /**
10285
- * Omit specific fields from the UserCardSkin
11548
+ * Omit specific fields from the UserSkinRoll
10286
11549
  */
10287
- omit?: UserCardSkinOmit<ExtArgs> | null
11550
+ omit?: UserSkinRollOmit<ExtArgs> | null
10288
11551
  /**
10289
11552
  * Choose, which related nodes to fetch as well
10290
11553
  */
10291
- include?: UserCardSkinInclude<ExtArgs> | null
11554
+ include?: UserSkinRollInclude<ExtArgs> | null
10292
11555
  /**
10293
- * The filter to search for the UserCardSkin to update in case it exists.
11556
+ * The filter to search for the UserSkinRoll to update in case it exists.
10294
11557
  */
10295
- where: UserCardSkinWhereUniqueInput
11558
+ where: UserSkinRollWhereUniqueInput
10296
11559
  /**
10297
- * In case the UserCardSkin found by the `where` argument doesn't exist, create a new UserCardSkin with this data.
11560
+ * In case the UserSkinRoll found by the `where` argument doesn't exist, create a new UserSkinRoll with this data.
10298
11561
  */
10299
- create: XOR<UserCardSkinCreateInput, UserCardSkinUncheckedCreateInput>
11562
+ create: XOR<UserSkinRollCreateInput, UserSkinRollUncheckedCreateInput>
10300
11563
  /**
10301
- * In case the UserCardSkin was found with the provided `where` argument, update it with this data.
11564
+ * In case the UserSkinRoll was found with the provided `where` argument, update it with this data.
10302
11565
  */
10303
- update: XOR<UserCardSkinUpdateInput, UserCardSkinUncheckedUpdateInput>
11566
+ update: XOR<UserSkinRollUpdateInput, UserSkinRollUncheckedUpdateInput>
10304
11567
  }
10305
11568
 
10306
11569
  /**
10307
- * UserCardSkin delete
11570
+ * UserSkinRoll delete
10308
11571
  */
10309
- export type UserCardSkinDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11572
+ export type UserSkinRollDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10310
11573
  /**
10311
- * Select specific fields to fetch from the UserCardSkin
11574
+ * Select specific fields to fetch from the UserSkinRoll
10312
11575
  */
10313
- select?: UserCardSkinSelect<ExtArgs> | null
11576
+ select?: UserSkinRollSelect<ExtArgs> | null
10314
11577
  /**
10315
- * Omit specific fields from the UserCardSkin
11578
+ * Omit specific fields from the UserSkinRoll
10316
11579
  */
10317
- omit?: UserCardSkinOmit<ExtArgs> | null
11580
+ omit?: UserSkinRollOmit<ExtArgs> | null
10318
11581
  /**
10319
11582
  * Choose, which related nodes to fetch as well
10320
11583
  */
10321
- include?: UserCardSkinInclude<ExtArgs> | null
11584
+ include?: UserSkinRollInclude<ExtArgs> | null
10322
11585
  /**
10323
- * Filter which UserCardSkin to delete.
11586
+ * Filter which UserSkinRoll to delete.
10324
11587
  */
10325
- where: UserCardSkinWhereUniqueInput
11588
+ where: UserSkinRollWhereUniqueInput
10326
11589
  }
10327
11590
 
10328
11591
  /**
10329
- * UserCardSkin deleteMany
11592
+ * UserSkinRoll deleteMany
10330
11593
  */
10331
- export type UserCardSkinDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11594
+ export type UserSkinRollDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10332
11595
  /**
10333
- * Filter which UserCardSkins to delete
11596
+ * Filter which UserSkinRolls to delete
10334
11597
  */
10335
- where?: UserCardSkinWhereInput
11598
+ where?: UserSkinRollWhereInput
10336
11599
  /**
10337
- * Limit how many UserCardSkins to delete.
11600
+ * Limit how many UserSkinRolls to delete.
10338
11601
  */
10339
11602
  limit?: number
10340
11603
  }
10341
11604
 
10342
11605
  /**
10343
- * UserCardSkin without action
11606
+ * UserSkinRoll without action
10344
11607
  */
10345
- export type UserCardSkinDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11608
+ export type UserSkinRollDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10346
11609
  /**
10347
- * Select specific fields to fetch from the UserCardSkin
11610
+ * Select specific fields to fetch from the UserSkinRoll
10348
11611
  */
10349
- select?: UserCardSkinSelect<ExtArgs> | null
11612
+ select?: UserSkinRollSelect<ExtArgs> | null
10350
11613
  /**
10351
- * Omit specific fields from the UserCardSkin
11614
+ * Omit specific fields from the UserSkinRoll
10352
11615
  */
10353
- omit?: UserCardSkinOmit<ExtArgs> | null
11616
+ omit?: UserSkinRollOmit<ExtArgs> | null
10354
11617
  /**
10355
11618
  * Choose, which related nodes to fetch as well
10356
11619
  */
10357
- include?: UserCardSkinInclude<ExtArgs> | null
11620
+ include?: UserSkinRollInclude<ExtArgs> | null
10358
11621
  }
10359
11622
 
10360
11623
 
@@ -17183,12 +18446,26 @@ export namespace Prisma {
17183
18446
  accountId: 'accountId',
17184
18447
  cardSkinId: 'cardSkinId',
17185
18448
  unlockedAt: 'unlockedAt',
17186
- source: 'source'
18449
+ source: 'source',
18450
+ quantity: 'quantity'
17187
18451
  };
17188
18452
 
17189
18453
  export type UserCardSkinScalarFieldEnum = (typeof UserCardSkinScalarFieldEnum)[keyof typeof UserCardSkinScalarFieldEnum]
17190
18454
 
17191
18455
 
18456
+ export const UserSkinRollScalarFieldEnum: {
18457
+ id: 'id',
18458
+ accountId: 'accountId',
18459
+ inputRarity: 'inputRarity',
18460
+ outputRarity: 'outputRarity',
18461
+ consumedSkinIds: 'consumedSkinIds',
18462
+ rewardedSkinId: 'rewardedSkinId',
18463
+ createdAt: 'createdAt'
18464
+ };
18465
+
18466
+ export type UserSkinRollScalarFieldEnum = (typeof UserSkinRollScalarFieldEnum)[keyof typeof UserSkinRollScalarFieldEnum]
18467
+
18468
+
17192
18469
  export const UserDeckCardScalarFieldEnum: {
17193
18470
  id: 'id',
17194
18471
  accountId: 'accountId',
@@ -17876,6 +19153,7 @@ export namespace Prisma {
17876
19153
  userSkins?: UserCardSkinListRelationFilter
17877
19154
  deckCards?: UserDeckCardListRelationFilter
17878
19155
  treasureChests?: UserTreasureChestListRelationFilter
19156
+ skinRollRewards?: UserSkinRollListRelationFilter
17879
19157
  }
17880
19158
 
17881
19159
  export type CardSkinOrderByWithRelationInput = {
@@ -17893,6 +19171,7 @@ export namespace Prisma {
17893
19171
  userSkins?: UserCardSkinOrderByRelationAggregateInput
17894
19172
  deckCards?: UserDeckCardOrderByRelationAggregateInput
17895
19173
  treasureChests?: UserTreasureChestOrderByRelationAggregateInput
19174
+ skinRollRewards?: UserSkinRollOrderByRelationAggregateInput
17896
19175
  }
17897
19176
 
17898
19177
  export type CardSkinWhereUniqueInput = Prisma.AtLeast<{
@@ -17913,6 +19192,7 @@ export namespace Prisma {
17913
19192
  userSkins?: UserCardSkinListRelationFilter
17914
19193
  deckCards?: UserDeckCardListRelationFilter
17915
19194
  treasureChests?: UserTreasureChestListRelationFilter
19195
+ skinRollRewards?: UserSkinRollListRelationFilter
17916
19196
  }, "id">
17917
19197
 
17918
19198
  export type CardSkinOrderByWithAggregationInput = {
@@ -17958,6 +19238,7 @@ export namespace Prisma {
17958
19238
  cardSkinId?: StringFilter<"UserCardSkin"> | string
17959
19239
  unlockedAt?: DateTimeFilter<"UserCardSkin"> | Date | string
17960
19240
  source?: StringNullableFilter<"UserCardSkin"> | string | null
19241
+ quantity?: IntFilter<"UserCardSkin"> | number
17961
19242
  cardSkin?: XOR<CardSkinScalarRelationFilter, CardSkinWhereInput>
17962
19243
  }
17963
19244
 
@@ -17967,6 +19248,7 @@ export namespace Prisma {
17967
19248
  cardSkinId?: SortOrder
17968
19249
  unlockedAt?: SortOrder
17969
19250
  source?: SortOrderInput | SortOrder
19251
+ quantity?: SortOrder
17970
19252
  cardSkin?: CardSkinOrderByWithRelationInput
17971
19253
  }
17972
19254
 
@@ -17980,6 +19262,7 @@ export namespace Prisma {
17980
19262
  cardSkinId?: StringFilter<"UserCardSkin"> | string
17981
19263
  unlockedAt?: DateTimeFilter<"UserCardSkin"> | Date | string
17982
19264
  source?: StringNullableFilter<"UserCardSkin"> | string | null
19265
+ quantity?: IntFilter<"UserCardSkin"> | number
17983
19266
  cardSkin?: XOR<CardSkinScalarRelationFilter, CardSkinWhereInput>
17984
19267
  }, "id" | "accountId_cardSkinId">
17985
19268
 
@@ -17989,6 +19272,7 @@ export namespace Prisma {
17989
19272
  cardSkinId?: SortOrder
17990
19273
  unlockedAt?: SortOrder
17991
19274
  source?: SortOrderInput | SortOrder
19275
+ quantity?: SortOrder
17992
19276
  _count?: UserCardSkinCountOrderByAggregateInput
17993
19277
  _avg?: UserCardSkinAvgOrderByAggregateInput
17994
19278
  _max?: UserCardSkinMaxOrderByAggregateInput
@@ -18005,6 +19289,74 @@ export namespace Prisma {
18005
19289
  cardSkinId?: StringWithAggregatesFilter<"UserCardSkin"> | string
18006
19290
  unlockedAt?: DateTimeWithAggregatesFilter<"UserCardSkin"> | Date | string
18007
19291
  source?: StringNullableWithAggregatesFilter<"UserCardSkin"> | string | null
19292
+ quantity?: IntWithAggregatesFilter<"UserCardSkin"> | number
19293
+ }
19294
+
19295
+ export type UserSkinRollWhereInput = {
19296
+ AND?: UserSkinRollWhereInput | UserSkinRollWhereInput[]
19297
+ OR?: UserSkinRollWhereInput[]
19298
+ NOT?: UserSkinRollWhereInput | UserSkinRollWhereInput[]
19299
+ id?: IntFilter<"UserSkinRoll"> | number
19300
+ accountId?: IntFilter<"UserSkinRoll"> | number
19301
+ inputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19302
+ outputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19303
+ consumedSkinIds?: JsonFilter<"UserSkinRoll">
19304
+ rewardedSkinId?: StringFilter<"UserSkinRoll"> | string
19305
+ createdAt?: DateTimeFilter<"UserSkinRoll"> | Date | string
19306
+ rewardedSkin?: XOR<CardSkinScalarRelationFilter, CardSkinWhereInput>
19307
+ }
19308
+
19309
+ export type UserSkinRollOrderByWithRelationInput = {
19310
+ id?: SortOrder
19311
+ accountId?: SortOrder
19312
+ inputRarity?: SortOrder
19313
+ outputRarity?: SortOrder
19314
+ consumedSkinIds?: SortOrder
19315
+ rewardedSkinId?: SortOrder
19316
+ createdAt?: SortOrder
19317
+ rewardedSkin?: CardSkinOrderByWithRelationInput
19318
+ }
19319
+
19320
+ export type UserSkinRollWhereUniqueInput = Prisma.AtLeast<{
19321
+ id?: number
19322
+ AND?: UserSkinRollWhereInput | UserSkinRollWhereInput[]
19323
+ OR?: UserSkinRollWhereInput[]
19324
+ NOT?: UserSkinRollWhereInput | UserSkinRollWhereInput[]
19325
+ accountId?: IntFilter<"UserSkinRoll"> | number
19326
+ inputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19327
+ outputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19328
+ consumedSkinIds?: JsonFilter<"UserSkinRoll">
19329
+ rewardedSkinId?: StringFilter<"UserSkinRoll"> | string
19330
+ createdAt?: DateTimeFilter<"UserSkinRoll"> | Date | string
19331
+ rewardedSkin?: XOR<CardSkinScalarRelationFilter, CardSkinWhereInput>
19332
+ }, "id">
19333
+
19334
+ export type UserSkinRollOrderByWithAggregationInput = {
19335
+ id?: SortOrder
19336
+ accountId?: SortOrder
19337
+ inputRarity?: SortOrder
19338
+ outputRarity?: SortOrder
19339
+ consumedSkinIds?: SortOrder
19340
+ rewardedSkinId?: SortOrder
19341
+ createdAt?: SortOrder
19342
+ _count?: UserSkinRollCountOrderByAggregateInput
19343
+ _avg?: UserSkinRollAvgOrderByAggregateInput
19344
+ _max?: UserSkinRollMaxOrderByAggregateInput
19345
+ _min?: UserSkinRollMinOrderByAggregateInput
19346
+ _sum?: UserSkinRollSumOrderByAggregateInput
19347
+ }
19348
+
19349
+ export type UserSkinRollScalarWhereWithAggregatesInput = {
19350
+ AND?: UserSkinRollScalarWhereWithAggregatesInput | UserSkinRollScalarWhereWithAggregatesInput[]
19351
+ OR?: UserSkinRollScalarWhereWithAggregatesInput[]
19352
+ NOT?: UserSkinRollScalarWhereWithAggregatesInput | UserSkinRollScalarWhereWithAggregatesInput[]
19353
+ id?: IntWithAggregatesFilter<"UserSkinRoll"> | number
19354
+ accountId?: IntWithAggregatesFilter<"UserSkinRoll"> | number
19355
+ inputRarity?: EnumCardSkinRarityWithAggregatesFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19356
+ outputRarity?: EnumCardSkinRarityWithAggregatesFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
19357
+ consumedSkinIds?: JsonWithAggregatesFilter<"UserSkinRoll">
19358
+ rewardedSkinId?: StringWithAggregatesFilter<"UserSkinRoll"> | string
19359
+ createdAt?: DateTimeWithAggregatesFilter<"UserSkinRoll"> | Date | string
18008
19360
  }
18009
19361
 
18010
19362
  export type UserDeckCardWhereInput = {
@@ -18906,6 +20258,7 @@ export namespace Prisma {
18906
20258
  userSkins?: UserCardSkinCreateNestedManyWithoutCardSkinInput
18907
20259
  deckCards?: UserDeckCardCreateNestedManyWithoutCardSkinInput
18908
20260
  treasureChests?: UserTreasureChestCreateNestedManyWithoutCardSkinInput
20261
+ skinRollRewards?: UserSkinRollCreateNestedManyWithoutRewardedSkinInput
18909
20262
  }
18910
20263
 
18911
20264
  export type CardSkinUncheckedCreateInput = {
@@ -18923,6 +20276,7 @@ export namespace Prisma {
18923
20276
  userSkins?: UserCardSkinUncheckedCreateNestedManyWithoutCardSkinInput
18924
20277
  deckCards?: UserDeckCardUncheckedCreateNestedManyWithoutCardSkinInput
18925
20278
  treasureChests?: UserTreasureChestUncheckedCreateNestedManyWithoutCardSkinInput
20279
+ skinRollRewards?: UserSkinRollUncheckedCreateNestedManyWithoutRewardedSkinInput
18926
20280
  }
18927
20281
 
18928
20282
  export type CardSkinUpdateInput = {
@@ -18940,6 +20294,7 @@ export namespace Prisma {
18940
20294
  userSkins?: UserCardSkinUpdateManyWithoutCardSkinNestedInput
18941
20295
  deckCards?: UserDeckCardUpdateManyWithoutCardSkinNestedInput
18942
20296
  treasureChests?: UserTreasureChestUpdateManyWithoutCardSkinNestedInput
20297
+ skinRollRewards?: UserSkinRollUpdateManyWithoutRewardedSkinNestedInput
18943
20298
  }
18944
20299
 
18945
20300
  export type CardSkinUncheckedUpdateInput = {
@@ -18957,6 +20312,7 @@ export namespace Prisma {
18957
20312
  userSkins?: UserCardSkinUncheckedUpdateManyWithoutCardSkinNestedInput
18958
20313
  deckCards?: UserDeckCardUncheckedUpdateManyWithoutCardSkinNestedInput
18959
20314
  treasureChests?: UserTreasureChestUncheckedUpdateManyWithoutCardSkinNestedInput
20315
+ skinRollRewards?: UserSkinRollUncheckedUpdateManyWithoutRewardedSkinNestedInput
18960
20316
  }
18961
20317
 
18962
20318
  export type CardSkinCreateManyInput = {
@@ -19005,6 +20361,7 @@ export namespace Prisma {
19005
20361
  accountId: number
19006
20362
  unlockedAt?: Date | string
19007
20363
  source?: string | null
20364
+ quantity?: number
19008
20365
  cardSkin: CardSkinCreateNestedOneWithoutUserSkinsInput
19009
20366
  }
19010
20367
 
@@ -19014,12 +20371,14 @@ export namespace Prisma {
19014
20371
  cardSkinId: string
19015
20372
  unlockedAt?: Date | string
19016
20373
  source?: string | null
20374
+ quantity?: number
19017
20375
  }
19018
20376
 
19019
20377
  export type UserCardSkinUpdateInput = {
19020
20378
  accountId?: IntFieldUpdateOperationsInput | number
19021
20379
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
19022
20380
  source?: NullableStringFieldUpdateOperationsInput | string | null
20381
+ quantity?: IntFieldUpdateOperationsInput | number
19023
20382
  cardSkin?: CardSkinUpdateOneRequiredWithoutUserSkinsNestedInput
19024
20383
  }
19025
20384
 
@@ -19029,6 +20388,7 @@ export namespace Prisma {
19029
20388
  cardSkinId?: StringFieldUpdateOperationsInput | string
19030
20389
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
19031
20390
  source?: NullableStringFieldUpdateOperationsInput | string | null
20391
+ quantity?: IntFieldUpdateOperationsInput | number
19032
20392
  }
19033
20393
 
19034
20394
  export type UserCardSkinCreateManyInput = {
@@ -19037,12 +20397,14 @@ export namespace Prisma {
19037
20397
  cardSkinId: string
19038
20398
  unlockedAt?: Date | string
19039
20399
  source?: string | null
20400
+ quantity?: number
19040
20401
  }
19041
20402
 
19042
20403
  export type UserCardSkinUpdateManyMutationInput = {
19043
20404
  accountId?: IntFieldUpdateOperationsInput | number
19044
20405
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
19045
20406
  source?: NullableStringFieldUpdateOperationsInput | string | null
20407
+ quantity?: IntFieldUpdateOperationsInput | number
19046
20408
  }
19047
20409
 
19048
20410
  export type UserCardSkinUncheckedUpdateManyInput = {
@@ -19051,6 +20413,73 @@ export namespace Prisma {
19051
20413
  cardSkinId?: StringFieldUpdateOperationsInput | string
19052
20414
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
19053
20415
  source?: NullableStringFieldUpdateOperationsInput | string | null
20416
+ quantity?: IntFieldUpdateOperationsInput | number
20417
+ }
20418
+
20419
+ export type UserSkinRollCreateInput = {
20420
+ accountId: number
20421
+ inputRarity: $Enums.CardSkinRarity
20422
+ outputRarity: $Enums.CardSkinRarity
20423
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
20424
+ createdAt?: Date | string
20425
+ rewardedSkin: CardSkinCreateNestedOneWithoutSkinRollRewardsInput
20426
+ }
20427
+
20428
+ export type UserSkinRollUncheckedCreateInput = {
20429
+ id?: number
20430
+ accountId: number
20431
+ inputRarity: $Enums.CardSkinRarity
20432
+ outputRarity: $Enums.CardSkinRarity
20433
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
20434
+ rewardedSkinId: string
20435
+ createdAt?: Date | string
20436
+ }
20437
+
20438
+ export type UserSkinRollUpdateInput = {
20439
+ accountId?: IntFieldUpdateOperationsInput | number
20440
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20441
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20442
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
20443
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
20444
+ rewardedSkin?: CardSkinUpdateOneRequiredWithoutSkinRollRewardsNestedInput
20445
+ }
20446
+
20447
+ export type UserSkinRollUncheckedUpdateInput = {
20448
+ id?: IntFieldUpdateOperationsInput | number
20449
+ accountId?: IntFieldUpdateOperationsInput | number
20450
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20451
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20452
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
20453
+ rewardedSkinId?: StringFieldUpdateOperationsInput | string
20454
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
20455
+ }
20456
+
20457
+ export type UserSkinRollCreateManyInput = {
20458
+ id?: number
20459
+ accountId: number
20460
+ inputRarity: $Enums.CardSkinRarity
20461
+ outputRarity: $Enums.CardSkinRarity
20462
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
20463
+ rewardedSkinId: string
20464
+ createdAt?: Date | string
20465
+ }
20466
+
20467
+ export type UserSkinRollUpdateManyMutationInput = {
20468
+ accountId?: IntFieldUpdateOperationsInput | number
20469
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20470
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20471
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
20472
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
20473
+ }
20474
+
20475
+ export type UserSkinRollUncheckedUpdateManyInput = {
20476
+ id?: IntFieldUpdateOperationsInput | number
20477
+ accountId?: IntFieldUpdateOperationsInput | number
20478
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20479
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
20480
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
20481
+ rewardedSkinId?: StringFieldUpdateOperationsInput | string
20482
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
19054
20483
  }
19055
20484
 
19056
20485
  export type UserDeckCardCreateInput = {
@@ -20018,6 +21447,12 @@ export namespace Prisma {
20018
21447
  none?: UserDeckCardWhereInput
20019
21448
  }
20020
21449
 
21450
+ export type UserSkinRollListRelationFilter = {
21451
+ every?: UserSkinRollWhereInput
21452
+ some?: UserSkinRollWhereInput
21453
+ none?: UserSkinRollWhereInput
21454
+ }
21455
+
20021
21456
  export type UserCardSkinOrderByRelationAggregateInput = {
20022
21457
  _count?: SortOrder
20023
21458
  }
@@ -20026,6 +21461,10 @@ export namespace Prisma {
20026
21461
  _count?: SortOrder
20027
21462
  }
20028
21463
 
21464
+ export type UserSkinRollOrderByRelationAggregateInput = {
21465
+ _count?: SortOrder
21466
+ }
21467
+
20029
21468
  export type CardSkinCountOrderByAggregateInput = {
20030
21469
  id?: SortOrder
20031
21470
  release?: SortOrder
@@ -20112,11 +21551,13 @@ export namespace Prisma {
20112
21551
  cardSkinId?: SortOrder
20113
21552
  unlockedAt?: SortOrder
20114
21553
  source?: SortOrder
21554
+ quantity?: SortOrder
20115
21555
  }
20116
21556
 
20117
21557
  export type UserCardSkinAvgOrderByAggregateInput = {
20118
21558
  id?: SortOrder
20119
21559
  accountId?: SortOrder
21560
+ quantity?: SortOrder
20120
21561
  }
20121
21562
 
20122
21563
  export type UserCardSkinMaxOrderByAggregateInput = {
@@ -20125,6 +21566,7 @@ export namespace Prisma {
20125
21566
  cardSkinId?: SortOrder
20126
21567
  unlockedAt?: SortOrder
20127
21568
  source?: SortOrder
21569
+ quantity?: SortOrder
20128
21570
  }
20129
21571
 
20130
21572
  export type UserCardSkinMinOrderByAggregateInput = {
@@ -20133,11 +21575,51 @@ export namespace Prisma {
20133
21575
  cardSkinId?: SortOrder
20134
21576
  unlockedAt?: SortOrder
20135
21577
  source?: SortOrder
21578
+ quantity?: SortOrder
20136
21579
  }
20137
21580
 
20138
21581
  export type UserCardSkinSumOrderByAggregateInput = {
20139
21582
  id?: SortOrder
20140
21583
  accountId?: SortOrder
21584
+ quantity?: SortOrder
21585
+ }
21586
+
21587
+ export type UserSkinRollCountOrderByAggregateInput = {
21588
+ id?: SortOrder
21589
+ accountId?: SortOrder
21590
+ inputRarity?: SortOrder
21591
+ outputRarity?: SortOrder
21592
+ consumedSkinIds?: SortOrder
21593
+ rewardedSkinId?: SortOrder
21594
+ createdAt?: SortOrder
21595
+ }
21596
+
21597
+ export type UserSkinRollAvgOrderByAggregateInput = {
21598
+ id?: SortOrder
21599
+ accountId?: SortOrder
21600
+ }
21601
+
21602
+ export type UserSkinRollMaxOrderByAggregateInput = {
21603
+ id?: SortOrder
21604
+ accountId?: SortOrder
21605
+ inputRarity?: SortOrder
21606
+ outputRarity?: SortOrder
21607
+ rewardedSkinId?: SortOrder
21608
+ createdAt?: SortOrder
21609
+ }
21610
+
21611
+ export type UserSkinRollMinOrderByAggregateInput = {
21612
+ id?: SortOrder
21613
+ accountId?: SortOrder
21614
+ inputRarity?: SortOrder
21615
+ outputRarity?: SortOrder
21616
+ rewardedSkinId?: SortOrder
21617
+ createdAt?: SortOrder
21618
+ }
21619
+
21620
+ export type UserSkinRollSumOrderByAggregateInput = {
21621
+ id?: SortOrder
21622
+ accountId?: SortOrder
20141
21623
  }
20142
21624
 
20143
21625
  export type UserDeckCardAccountIdCardCompoundUniqueInput = {
@@ -20765,6 +22247,13 @@ export namespace Prisma {
20765
22247
  connect?: UserTreasureChestWhereUniqueInput | UserTreasureChestWhereUniqueInput[]
20766
22248
  }
20767
22249
 
22250
+ export type UserSkinRollCreateNestedManyWithoutRewardedSkinInput = {
22251
+ create?: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput> | UserSkinRollCreateWithoutRewardedSkinInput[] | UserSkinRollUncheckedCreateWithoutRewardedSkinInput[]
22252
+ connectOrCreate?: UserSkinRollCreateOrConnectWithoutRewardedSkinInput | UserSkinRollCreateOrConnectWithoutRewardedSkinInput[]
22253
+ createMany?: UserSkinRollCreateManyRewardedSkinInputEnvelope
22254
+ connect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22255
+ }
22256
+
20768
22257
  export type UserCardSkinUncheckedCreateNestedManyWithoutCardSkinInput = {
20769
22258
  create?: XOR<UserCardSkinCreateWithoutCardSkinInput, UserCardSkinUncheckedCreateWithoutCardSkinInput> | UserCardSkinCreateWithoutCardSkinInput[] | UserCardSkinUncheckedCreateWithoutCardSkinInput[]
20770
22259
  connectOrCreate?: UserCardSkinCreateOrConnectWithoutCardSkinInput | UserCardSkinCreateOrConnectWithoutCardSkinInput[]
@@ -20786,6 +22275,13 @@ export namespace Prisma {
20786
22275
  connect?: UserTreasureChestWhereUniqueInput | UserTreasureChestWhereUniqueInput[]
20787
22276
  }
20788
22277
 
22278
+ export type UserSkinRollUncheckedCreateNestedManyWithoutRewardedSkinInput = {
22279
+ create?: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput> | UserSkinRollCreateWithoutRewardedSkinInput[] | UserSkinRollUncheckedCreateWithoutRewardedSkinInput[]
22280
+ connectOrCreate?: UserSkinRollCreateOrConnectWithoutRewardedSkinInput | UserSkinRollCreateOrConnectWithoutRewardedSkinInput[]
22281
+ createMany?: UserSkinRollCreateManyRewardedSkinInputEnvelope
22282
+ connect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22283
+ }
22284
+
20789
22285
  export type NullableStringFieldUpdateOperationsInput = {
20790
22286
  set?: string | null
20791
22287
  }
@@ -20836,6 +22332,20 @@ export namespace Prisma {
20836
22332
  deleteMany?: UserTreasureChestScalarWhereInput | UserTreasureChestScalarWhereInput[]
20837
22333
  }
20838
22334
 
22335
+ export type UserSkinRollUpdateManyWithoutRewardedSkinNestedInput = {
22336
+ create?: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput> | UserSkinRollCreateWithoutRewardedSkinInput[] | UserSkinRollUncheckedCreateWithoutRewardedSkinInput[]
22337
+ connectOrCreate?: UserSkinRollCreateOrConnectWithoutRewardedSkinInput | UserSkinRollCreateOrConnectWithoutRewardedSkinInput[]
22338
+ upsert?: UserSkinRollUpsertWithWhereUniqueWithoutRewardedSkinInput | UserSkinRollUpsertWithWhereUniqueWithoutRewardedSkinInput[]
22339
+ createMany?: UserSkinRollCreateManyRewardedSkinInputEnvelope
22340
+ set?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22341
+ disconnect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22342
+ delete?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22343
+ connect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22344
+ update?: UserSkinRollUpdateWithWhereUniqueWithoutRewardedSkinInput | UserSkinRollUpdateWithWhereUniqueWithoutRewardedSkinInput[]
22345
+ updateMany?: UserSkinRollUpdateManyWithWhereWithoutRewardedSkinInput | UserSkinRollUpdateManyWithWhereWithoutRewardedSkinInput[]
22346
+ deleteMany?: UserSkinRollScalarWhereInput | UserSkinRollScalarWhereInput[]
22347
+ }
22348
+
20839
22349
  export type UserCardSkinUncheckedUpdateManyWithoutCardSkinNestedInput = {
20840
22350
  create?: XOR<UserCardSkinCreateWithoutCardSkinInput, UserCardSkinUncheckedCreateWithoutCardSkinInput> | UserCardSkinCreateWithoutCardSkinInput[] | UserCardSkinUncheckedCreateWithoutCardSkinInput[]
20841
22351
  connectOrCreate?: UserCardSkinCreateOrConnectWithoutCardSkinInput | UserCardSkinCreateOrConnectWithoutCardSkinInput[]
@@ -20878,6 +22388,20 @@ export namespace Prisma {
20878
22388
  deleteMany?: UserTreasureChestScalarWhereInput | UserTreasureChestScalarWhereInput[]
20879
22389
  }
20880
22390
 
22391
+ export type UserSkinRollUncheckedUpdateManyWithoutRewardedSkinNestedInput = {
22392
+ create?: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput> | UserSkinRollCreateWithoutRewardedSkinInput[] | UserSkinRollUncheckedCreateWithoutRewardedSkinInput[]
22393
+ connectOrCreate?: UserSkinRollCreateOrConnectWithoutRewardedSkinInput | UserSkinRollCreateOrConnectWithoutRewardedSkinInput[]
22394
+ upsert?: UserSkinRollUpsertWithWhereUniqueWithoutRewardedSkinInput | UserSkinRollUpsertWithWhereUniqueWithoutRewardedSkinInput[]
22395
+ createMany?: UserSkinRollCreateManyRewardedSkinInputEnvelope
22396
+ set?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22397
+ disconnect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22398
+ delete?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22399
+ connect?: UserSkinRollWhereUniqueInput | UserSkinRollWhereUniqueInput[]
22400
+ update?: UserSkinRollUpdateWithWhereUniqueWithoutRewardedSkinInput | UserSkinRollUpdateWithWhereUniqueWithoutRewardedSkinInput[]
22401
+ updateMany?: UserSkinRollUpdateManyWithWhereWithoutRewardedSkinInput | UserSkinRollUpdateManyWithWhereWithoutRewardedSkinInput[]
22402
+ deleteMany?: UserSkinRollScalarWhereInput | UserSkinRollScalarWhereInput[]
22403
+ }
22404
+
20881
22405
  export type CardSkinCreateNestedOneWithoutUserSkinsInput = {
20882
22406
  create?: XOR<CardSkinCreateWithoutUserSkinsInput, CardSkinUncheckedCreateWithoutUserSkinsInput>
20883
22407
  connectOrCreate?: CardSkinCreateOrConnectWithoutUserSkinsInput
@@ -20892,6 +22416,20 @@ export namespace Prisma {
20892
22416
  update?: XOR<XOR<CardSkinUpdateToOneWithWhereWithoutUserSkinsInput, CardSkinUpdateWithoutUserSkinsInput>, CardSkinUncheckedUpdateWithoutUserSkinsInput>
20893
22417
  }
20894
22418
 
22419
+ export type CardSkinCreateNestedOneWithoutSkinRollRewardsInput = {
22420
+ create?: XOR<CardSkinCreateWithoutSkinRollRewardsInput, CardSkinUncheckedCreateWithoutSkinRollRewardsInput>
22421
+ connectOrCreate?: CardSkinCreateOrConnectWithoutSkinRollRewardsInput
22422
+ connect?: CardSkinWhereUniqueInput
22423
+ }
22424
+
22425
+ export type CardSkinUpdateOneRequiredWithoutSkinRollRewardsNestedInput = {
22426
+ create?: XOR<CardSkinCreateWithoutSkinRollRewardsInput, CardSkinUncheckedCreateWithoutSkinRollRewardsInput>
22427
+ connectOrCreate?: CardSkinCreateOrConnectWithoutSkinRollRewardsInput
22428
+ upsert?: CardSkinUpsertWithoutSkinRollRewardsInput
22429
+ connect?: CardSkinWhereUniqueInput
22430
+ update?: XOR<XOR<CardSkinUpdateToOneWithWhereWithoutSkinRollRewardsInput, CardSkinUpdateWithoutSkinRollRewardsInput>, CardSkinUncheckedUpdateWithoutSkinRollRewardsInput>
22431
+ }
22432
+
20895
22433
  export type CardSkinCreateNestedOneWithoutDeckCardsInput = {
20896
22434
  create?: XOR<CardSkinCreateWithoutDeckCardsInput, CardSkinUncheckedCreateWithoutDeckCardsInput>
20897
22435
  connectOrCreate?: CardSkinCreateOrConnectWithoutDeckCardsInput
@@ -21849,6 +23387,7 @@ export namespace Prisma {
21849
23387
  accountId: number
21850
23388
  unlockedAt?: Date | string
21851
23389
  source?: string | null
23390
+ quantity?: number
21852
23391
  }
21853
23392
 
21854
23393
  export type UserCardSkinUncheckedCreateWithoutCardSkinInput = {
@@ -21856,6 +23395,7 @@ export namespace Prisma {
21856
23395
  accountId: number
21857
23396
  unlockedAt?: Date | string
21858
23397
  source?: string | null
23398
+ quantity?: number
21859
23399
  }
21860
23400
 
21861
23401
  export type UserCardSkinCreateOrConnectWithoutCardSkinInput = {
@@ -21922,6 +23462,33 @@ export namespace Prisma {
21922
23462
  skipDuplicates?: boolean
21923
23463
  }
21924
23464
 
23465
+ export type UserSkinRollCreateWithoutRewardedSkinInput = {
23466
+ accountId: number
23467
+ inputRarity: $Enums.CardSkinRarity
23468
+ outputRarity: $Enums.CardSkinRarity
23469
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
23470
+ createdAt?: Date | string
23471
+ }
23472
+
23473
+ export type UserSkinRollUncheckedCreateWithoutRewardedSkinInput = {
23474
+ id?: number
23475
+ accountId: number
23476
+ inputRarity: $Enums.CardSkinRarity
23477
+ outputRarity: $Enums.CardSkinRarity
23478
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
23479
+ createdAt?: Date | string
23480
+ }
23481
+
23482
+ export type UserSkinRollCreateOrConnectWithoutRewardedSkinInput = {
23483
+ where: UserSkinRollWhereUniqueInput
23484
+ create: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput>
23485
+ }
23486
+
23487
+ export type UserSkinRollCreateManyRewardedSkinInputEnvelope = {
23488
+ data: UserSkinRollCreateManyRewardedSkinInput | UserSkinRollCreateManyRewardedSkinInput[]
23489
+ skipDuplicates?: boolean
23490
+ }
23491
+
21925
23492
  export type UserCardSkinUpsertWithWhereUniqueWithoutCardSkinInput = {
21926
23493
  where: UserCardSkinWhereUniqueInput
21927
23494
  update: XOR<UserCardSkinUpdateWithoutCardSkinInput, UserCardSkinUncheckedUpdateWithoutCardSkinInput>
@@ -21947,6 +23514,7 @@ export namespace Prisma {
21947
23514
  cardSkinId?: StringFilter<"UserCardSkin"> | string
21948
23515
  unlockedAt?: DateTimeFilter<"UserCardSkin"> | Date | string
21949
23516
  source?: StringNullableFilter<"UserCardSkin"> | string | null
23517
+ quantity?: IntFilter<"UserCardSkin"> | number
21950
23518
  }
21951
23519
 
21952
23520
  export type UserDeckCardUpsertWithWhereUniqueWithoutCardSkinInput = {
@@ -21992,6 +23560,35 @@ export namespace Prisma {
21992
23560
  data: XOR<UserTreasureChestUpdateManyMutationInput, UserTreasureChestUncheckedUpdateManyWithoutCardSkinInput>
21993
23561
  }
21994
23562
 
23563
+ export type UserSkinRollUpsertWithWhereUniqueWithoutRewardedSkinInput = {
23564
+ where: UserSkinRollWhereUniqueInput
23565
+ update: XOR<UserSkinRollUpdateWithoutRewardedSkinInput, UserSkinRollUncheckedUpdateWithoutRewardedSkinInput>
23566
+ create: XOR<UserSkinRollCreateWithoutRewardedSkinInput, UserSkinRollUncheckedCreateWithoutRewardedSkinInput>
23567
+ }
23568
+
23569
+ export type UserSkinRollUpdateWithWhereUniqueWithoutRewardedSkinInput = {
23570
+ where: UserSkinRollWhereUniqueInput
23571
+ data: XOR<UserSkinRollUpdateWithoutRewardedSkinInput, UserSkinRollUncheckedUpdateWithoutRewardedSkinInput>
23572
+ }
23573
+
23574
+ export type UserSkinRollUpdateManyWithWhereWithoutRewardedSkinInput = {
23575
+ where: UserSkinRollScalarWhereInput
23576
+ data: XOR<UserSkinRollUpdateManyMutationInput, UserSkinRollUncheckedUpdateManyWithoutRewardedSkinInput>
23577
+ }
23578
+
23579
+ export type UserSkinRollScalarWhereInput = {
23580
+ AND?: UserSkinRollScalarWhereInput | UserSkinRollScalarWhereInput[]
23581
+ OR?: UserSkinRollScalarWhereInput[]
23582
+ NOT?: UserSkinRollScalarWhereInput | UserSkinRollScalarWhereInput[]
23583
+ id?: IntFilter<"UserSkinRoll"> | number
23584
+ accountId?: IntFilter<"UserSkinRoll"> | number
23585
+ inputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
23586
+ outputRarity?: EnumCardSkinRarityFilter<"UserSkinRoll"> | $Enums.CardSkinRarity
23587
+ consumedSkinIds?: JsonFilter<"UserSkinRoll">
23588
+ rewardedSkinId?: StringFilter<"UserSkinRoll"> | string
23589
+ createdAt?: DateTimeFilter<"UserSkinRoll"> | Date | string
23590
+ }
23591
+
21995
23592
  export type CardSkinCreateWithoutUserSkinsInput = {
21996
23593
  id: string
21997
23594
  release: string
@@ -22006,6 +23603,7 @@ export namespace Prisma {
22006
23603
  updatedAt?: Date | string
22007
23604
  deckCards?: UserDeckCardCreateNestedManyWithoutCardSkinInput
22008
23605
  treasureChests?: UserTreasureChestCreateNestedManyWithoutCardSkinInput
23606
+ skinRollRewards?: UserSkinRollCreateNestedManyWithoutRewardedSkinInput
22009
23607
  }
22010
23608
 
22011
23609
  export type CardSkinUncheckedCreateWithoutUserSkinsInput = {
@@ -22022,6 +23620,7 @@ export namespace Prisma {
22022
23620
  updatedAt?: Date | string
22023
23621
  deckCards?: UserDeckCardUncheckedCreateNestedManyWithoutCardSkinInput
22024
23622
  treasureChests?: UserTreasureChestUncheckedCreateNestedManyWithoutCardSkinInput
23623
+ skinRollRewards?: UserSkinRollUncheckedCreateNestedManyWithoutRewardedSkinInput
22025
23624
  }
22026
23625
 
22027
23626
  export type CardSkinCreateOrConnectWithoutUserSkinsInput = {
@@ -22054,6 +23653,7 @@ export namespace Prisma {
22054
23653
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22055
23654
  deckCards?: UserDeckCardUpdateManyWithoutCardSkinNestedInput
22056
23655
  treasureChests?: UserTreasureChestUpdateManyWithoutCardSkinNestedInput
23656
+ skinRollRewards?: UserSkinRollUpdateManyWithoutRewardedSkinNestedInput
22057
23657
  }
22058
23658
 
22059
23659
  export type CardSkinUncheckedUpdateWithoutUserSkinsInput = {
@@ -22070,6 +23670,91 @@ export namespace Prisma {
22070
23670
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22071
23671
  deckCards?: UserDeckCardUncheckedUpdateManyWithoutCardSkinNestedInput
22072
23672
  treasureChests?: UserTreasureChestUncheckedUpdateManyWithoutCardSkinNestedInput
23673
+ skinRollRewards?: UserSkinRollUncheckedUpdateManyWithoutRewardedSkinNestedInput
23674
+ }
23675
+
23676
+ export type CardSkinCreateWithoutSkinRollRewardsInput = {
23677
+ id: string
23678
+ release: string
23679
+ card: string
23680
+ description?: string | null
23681
+ fileName: string
23682
+ assetPath: string
23683
+ rarity?: $Enums.CardSkinRarity
23684
+ enabled?: boolean
23685
+ unlockable?: boolean
23686
+ createdAt?: Date | string
23687
+ updatedAt?: Date | string
23688
+ userSkins?: UserCardSkinCreateNestedManyWithoutCardSkinInput
23689
+ deckCards?: UserDeckCardCreateNestedManyWithoutCardSkinInput
23690
+ treasureChests?: UserTreasureChestCreateNestedManyWithoutCardSkinInput
23691
+ }
23692
+
23693
+ export type CardSkinUncheckedCreateWithoutSkinRollRewardsInput = {
23694
+ id: string
23695
+ release: string
23696
+ card: string
23697
+ description?: string | null
23698
+ fileName: string
23699
+ assetPath: string
23700
+ rarity?: $Enums.CardSkinRarity
23701
+ enabled?: boolean
23702
+ unlockable?: boolean
23703
+ createdAt?: Date | string
23704
+ updatedAt?: Date | string
23705
+ userSkins?: UserCardSkinUncheckedCreateNestedManyWithoutCardSkinInput
23706
+ deckCards?: UserDeckCardUncheckedCreateNestedManyWithoutCardSkinInput
23707
+ treasureChests?: UserTreasureChestUncheckedCreateNestedManyWithoutCardSkinInput
23708
+ }
23709
+
23710
+ export type CardSkinCreateOrConnectWithoutSkinRollRewardsInput = {
23711
+ where: CardSkinWhereUniqueInput
23712
+ create: XOR<CardSkinCreateWithoutSkinRollRewardsInput, CardSkinUncheckedCreateWithoutSkinRollRewardsInput>
23713
+ }
23714
+
23715
+ export type CardSkinUpsertWithoutSkinRollRewardsInput = {
23716
+ update: XOR<CardSkinUpdateWithoutSkinRollRewardsInput, CardSkinUncheckedUpdateWithoutSkinRollRewardsInput>
23717
+ create: XOR<CardSkinCreateWithoutSkinRollRewardsInput, CardSkinUncheckedCreateWithoutSkinRollRewardsInput>
23718
+ where?: CardSkinWhereInput
23719
+ }
23720
+
23721
+ export type CardSkinUpdateToOneWithWhereWithoutSkinRollRewardsInput = {
23722
+ where?: CardSkinWhereInput
23723
+ data: XOR<CardSkinUpdateWithoutSkinRollRewardsInput, CardSkinUncheckedUpdateWithoutSkinRollRewardsInput>
23724
+ }
23725
+
23726
+ export type CardSkinUpdateWithoutSkinRollRewardsInput = {
23727
+ id?: StringFieldUpdateOperationsInput | string
23728
+ release?: StringFieldUpdateOperationsInput | string
23729
+ card?: StringFieldUpdateOperationsInput | string
23730
+ description?: NullableStringFieldUpdateOperationsInput | string | null
23731
+ fileName?: StringFieldUpdateOperationsInput | string
23732
+ assetPath?: StringFieldUpdateOperationsInput | string
23733
+ rarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
23734
+ enabled?: BoolFieldUpdateOperationsInput | boolean
23735
+ unlockable?: BoolFieldUpdateOperationsInput | boolean
23736
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23737
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
23738
+ userSkins?: UserCardSkinUpdateManyWithoutCardSkinNestedInput
23739
+ deckCards?: UserDeckCardUpdateManyWithoutCardSkinNestedInput
23740
+ treasureChests?: UserTreasureChestUpdateManyWithoutCardSkinNestedInput
23741
+ }
23742
+
23743
+ export type CardSkinUncheckedUpdateWithoutSkinRollRewardsInput = {
23744
+ id?: StringFieldUpdateOperationsInput | string
23745
+ release?: StringFieldUpdateOperationsInput | string
23746
+ card?: StringFieldUpdateOperationsInput | string
23747
+ description?: NullableStringFieldUpdateOperationsInput | string | null
23748
+ fileName?: StringFieldUpdateOperationsInput | string
23749
+ assetPath?: StringFieldUpdateOperationsInput | string
23750
+ rarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
23751
+ enabled?: BoolFieldUpdateOperationsInput | boolean
23752
+ unlockable?: BoolFieldUpdateOperationsInput | boolean
23753
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23754
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
23755
+ userSkins?: UserCardSkinUncheckedUpdateManyWithoutCardSkinNestedInput
23756
+ deckCards?: UserDeckCardUncheckedUpdateManyWithoutCardSkinNestedInput
23757
+ treasureChests?: UserTreasureChestUncheckedUpdateManyWithoutCardSkinNestedInput
22073
23758
  }
22074
23759
 
22075
23760
  export type CardSkinCreateWithoutDeckCardsInput = {
@@ -22086,6 +23771,7 @@ export namespace Prisma {
22086
23771
  updatedAt?: Date | string
22087
23772
  userSkins?: UserCardSkinCreateNestedManyWithoutCardSkinInput
22088
23773
  treasureChests?: UserTreasureChestCreateNestedManyWithoutCardSkinInput
23774
+ skinRollRewards?: UserSkinRollCreateNestedManyWithoutRewardedSkinInput
22089
23775
  }
22090
23776
 
22091
23777
  export type CardSkinUncheckedCreateWithoutDeckCardsInput = {
@@ -22102,6 +23788,7 @@ export namespace Prisma {
22102
23788
  updatedAt?: Date | string
22103
23789
  userSkins?: UserCardSkinUncheckedCreateNestedManyWithoutCardSkinInput
22104
23790
  treasureChests?: UserTreasureChestUncheckedCreateNestedManyWithoutCardSkinInput
23791
+ skinRollRewards?: UserSkinRollUncheckedCreateNestedManyWithoutRewardedSkinInput
22105
23792
  }
22106
23793
 
22107
23794
  export type CardSkinCreateOrConnectWithoutDeckCardsInput = {
@@ -22134,6 +23821,7 @@ export namespace Prisma {
22134
23821
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22135
23822
  userSkins?: UserCardSkinUpdateManyWithoutCardSkinNestedInput
22136
23823
  treasureChests?: UserTreasureChestUpdateManyWithoutCardSkinNestedInput
23824
+ skinRollRewards?: UserSkinRollUpdateManyWithoutRewardedSkinNestedInput
22137
23825
  }
22138
23826
 
22139
23827
  export type CardSkinUncheckedUpdateWithoutDeckCardsInput = {
@@ -22150,6 +23838,7 @@ export namespace Prisma {
22150
23838
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22151
23839
  userSkins?: UserCardSkinUncheckedUpdateManyWithoutCardSkinNestedInput
22152
23840
  treasureChests?: UserTreasureChestUncheckedUpdateManyWithoutCardSkinNestedInput
23841
+ skinRollRewards?: UserSkinRollUncheckedUpdateManyWithoutRewardedSkinNestedInput
22153
23842
  }
22154
23843
 
22155
23844
  export type MatchCreateWithoutTreasureCreditsInput = {
@@ -22286,6 +23975,7 @@ export namespace Prisma {
22286
23975
  updatedAt?: Date | string
22287
23976
  userSkins?: UserCardSkinCreateNestedManyWithoutCardSkinInput
22288
23977
  deckCards?: UserDeckCardCreateNestedManyWithoutCardSkinInput
23978
+ skinRollRewards?: UserSkinRollCreateNestedManyWithoutRewardedSkinInput
22289
23979
  }
22290
23980
 
22291
23981
  export type CardSkinUncheckedCreateWithoutTreasureChestsInput = {
@@ -22302,6 +23992,7 @@ export namespace Prisma {
22302
23992
  updatedAt?: Date | string
22303
23993
  userSkins?: UserCardSkinUncheckedCreateNestedManyWithoutCardSkinInput
22304
23994
  deckCards?: UserDeckCardUncheckedCreateNestedManyWithoutCardSkinInput
23995
+ skinRollRewards?: UserSkinRollUncheckedCreateNestedManyWithoutRewardedSkinInput
22305
23996
  }
22306
23997
 
22307
23998
  export type CardSkinCreateOrConnectWithoutTreasureChestsInput = {
@@ -22406,6 +24097,7 @@ export namespace Prisma {
22406
24097
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22407
24098
  userSkins?: UserCardSkinUpdateManyWithoutCardSkinNestedInput
22408
24099
  deckCards?: UserDeckCardUpdateManyWithoutCardSkinNestedInput
24100
+ skinRollRewards?: UserSkinRollUpdateManyWithoutRewardedSkinNestedInput
22409
24101
  }
22410
24102
 
22411
24103
  export type CardSkinUncheckedUpdateWithoutTreasureChestsInput = {
@@ -22422,6 +24114,7 @@ export namespace Prisma {
22422
24114
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22423
24115
  userSkins?: UserCardSkinUncheckedUpdateManyWithoutCardSkinNestedInput
22424
24116
  deckCards?: UserDeckCardUncheckedUpdateManyWithoutCardSkinNestedInput
24117
+ skinRollRewards?: UserSkinRollUncheckedUpdateManyWithoutRewardedSkinNestedInput
22425
24118
  }
22426
24119
 
22427
24120
  export type AdminRewardCodeUpsertWithoutTreasureChestInput = {
@@ -22711,6 +24404,7 @@ export namespace Prisma {
22711
24404
  accountId: number
22712
24405
  unlockedAt?: Date | string
22713
24406
  source?: string | null
24407
+ quantity?: number
22714
24408
  }
22715
24409
 
22716
24410
  export type UserDeckCardCreateManyCardSkinInput = {
@@ -22730,10 +24424,20 @@ export namespace Prisma {
22730
24424
  duplicate?: boolean
22731
24425
  }
22732
24426
 
24427
+ export type UserSkinRollCreateManyRewardedSkinInput = {
24428
+ id?: number
24429
+ accountId: number
24430
+ inputRarity: $Enums.CardSkinRarity
24431
+ outputRarity: $Enums.CardSkinRarity
24432
+ consumedSkinIds: JsonNullValueInput | InputJsonValue
24433
+ createdAt?: Date | string
24434
+ }
24435
+
22733
24436
  export type UserCardSkinUpdateWithoutCardSkinInput = {
22734
24437
  accountId?: IntFieldUpdateOperationsInput | number
22735
24438
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22736
24439
  source?: NullableStringFieldUpdateOperationsInput | string | null
24440
+ quantity?: IntFieldUpdateOperationsInput | number
22737
24441
  }
22738
24442
 
22739
24443
  export type UserCardSkinUncheckedUpdateWithoutCardSkinInput = {
@@ -22741,6 +24445,7 @@ export namespace Prisma {
22741
24445
  accountId?: IntFieldUpdateOperationsInput | number
22742
24446
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22743
24447
  source?: NullableStringFieldUpdateOperationsInput | string | null
24448
+ quantity?: IntFieldUpdateOperationsInput | number
22744
24449
  }
22745
24450
 
22746
24451
  export type UserCardSkinUncheckedUpdateManyWithoutCardSkinInput = {
@@ -22748,6 +24453,7 @@ export namespace Prisma {
22748
24453
  accountId?: IntFieldUpdateOperationsInput | number
22749
24454
  unlockedAt?: DateTimeFieldUpdateOperationsInput | Date | string
22750
24455
  source?: NullableStringFieldUpdateOperationsInput | string | null
24456
+ quantity?: IntFieldUpdateOperationsInput | number
22751
24457
  }
22752
24458
 
22753
24459
  export type UserDeckCardUpdateWithoutCardSkinInput = {
@@ -22801,6 +24507,32 @@ export namespace Prisma {
22801
24507
  duplicate?: BoolFieldUpdateOperationsInput | boolean
22802
24508
  }
22803
24509
 
24510
+ export type UserSkinRollUpdateWithoutRewardedSkinInput = {
24511
+ accountId?: IntFieldUpdateOperationsInput | number
24512
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24513
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24514
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
24515
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24516
+ }
24517
+
24518
+ export type UserSkinRollUncheckedUpdateWithoutRewardedSkinInput = {
24519
+ id?: IntFieldUpdateOperationsInput | number
24520
+ accountId?: IntFieldUpdateOperationsInput | number
24521
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24522
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24523
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
24524
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24525
+ }
24526
+
24527
+ export type UserSkinRollUncheckedUpdateManyWithoutRewardedSkinInput = {
24528
+ id?: IntFieldUpdateOperationsInput | number
24529
+ accountId?: IntFieldUpdateOperationsInput | number
24530
+ inputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24531
+ outputRarity?: EnumCardSkinRarityFieldUpdateOperationsInput | $Enums.CardSkinRarity
24532
+ consumedSkinIds?: JsonNullValueInput | InputJsonValue
24533
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24534
+ }
24535
+
22804
24536
 
22805
24537
 
22806
24538
  /**