expo-backend-types 0.54.0 → 0.55.0-EXPO-366-EB-Schema-codigo-referido.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/src/event/dto/get-all-statistics.dto.d.ts +5 -0
  2. package/dist/src/i18n/es.d.ts +6 -0
  3. package/dist/src/i18n/es.js +6 -0
  4. package/dist/src/i18n/es.js.map +1 -1
  5. package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -0
  6. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -0
  7. package/dist/src/mi-expo/dto/login.dto.d.ts +10 -0
  8. package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -0
  9. package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -0
  10. package/dist/src/production/dto/get-all-production.dto.d.ts +14 -0
  11. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +14 -0
  12. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +10 -0
  13. package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
  14. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -0
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -0
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -0
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -0
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -0
  19. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -0
  20. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -0
  21. package/dist/src/profile/dto/find-referral-code-exists.dto.d.ts +18 -0
  22. package/dist/src/profile/dto/find-referral-code-exists.dto.js +15 -0
  23. package/dist/src/profile/dto/find-referral-code-usage.dto.d.ts +18 -0
  24. package/dist/src/profile/dto/find-referral-code-usage.dto.js +15 -0
  25. package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -0
  27. package/dist/src/profile/dto/profile.dto.d.ts +3 -0
  28. package/dist/src/profile/dto/update-profile.dto.d.ts +6 -0
  29. package/dist/src/schema/profile.schema.d.ts +3 -0
  30. package/dist/src/schema/profile.schema.js +1 -0
  31. package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -0
  32. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -0
  33. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +6 -0
  34. package/dist/src/ticket/dto/create-many-ticket.dto.js +2 -0
  35. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -0
  36. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -0
  37. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -0
  38. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +7 -0
  39. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +6 -0
  40. package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +6 -0
  41. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +6 -0
  42. package/dist/src/ticket-group/dto/ticket-group.dto.js +1 -0
  43. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +12 -0
  44. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +1 -0
  45. package/dist/types/prisma-schema/edge.js +5 -3
  46. package/dist/types/prisma-schema/index-browser.js +2 -0
  47. package/dist/types/prisma-schema/index.d.ts +556 -25
  48. package/dist/types/prisma-schema/index.js +5 -3
  49. package/dist/types/prisma-schema/package.json +1 -1
  50. package/dist/types/prisma-schema/schema.prisma +8 -0
  51. package/dist/types/prisma-schema/wasm.js +2 -0
  52. package/dist/types/schema.d.ts +106 -0
  53. package/package.json +2 -1
@@ -2501,6 +2501,7 @@ export namespace Prisma {
2501
2501
  productionsAdministrated: number
2502
2502
  productionsParticipated: number
2503
2503
  productionRequestsSent: number
2504
+ referralCodeUsed: number
2504
2505
  }
2505
2506
 
2506
2507
  export type ProfileCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2512,6 +2513,7 @@ export namespace Prisma {
2512
2513
  productionsAdministrated?: boolean | ProfileCountOutputTypeCountProductionsAdministratedArgs
2513
2514
  productionsParticipated?: boolean | ProfileCountOutputTypeCountProductionsParticipatedArgs
2514
2515
  productionRequestsSent?: boolean | ProfileCountOutputTypeCountProductionRequestsSentArgs
2516
+ referralCodeUsed?: boolean | ProfileCountOutputTypeCountReferralCodeUsedArgs
2515
2517
  }
2516
2518
 
2517
2519
  // Custom InputTypes
@@ -2581,6 +2583,13 @@ export namespace Prisma {
2581
2583
  where?: ProductionAffiliationRequestWhereInput
2582
2584
  }
2583
2585
 
2586
+ /**
2587
+ * ProfileCountOutputType without action
2588
+ */
2589
+ export type ProfileCountOutputTypeCountReferralCodeUsedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2590
+ where?: TicketGroupWhereInput
2591
+ }
2592
+
2584
2593
 
2585
2594
  /**
2586
2595
  * Count Type LocationCountOutputType
@@ -4151,6 +4160,7 @@ export namespace Prisma {
4151
4160
  residenceLocationId: string | null
4152
4161
  isInTrash: boolean | null
4153
4162
  movedToTrashDate: Date | null
4163
+ referralCode: string | null
4154
4164
  created_at: Date | null
4155
4165
  updated_at: Date | null
4156
4166
  }
@@ -4177,6 +4187,7 @@ export namespace Prisma {
4177
4187
  residenceLocationId: string | null
4178
4188
  isInTrash: boolean | null
4179
4189
  movedToTrashDate: Date | null
4190
+ referralCode: string | null
4180
4191
  created_at: Date | null
4181
4192
  updated_at: Date | null
4182
4193
  }
@@ -4204,6 +4215,7 @@ export namespace Prisma {
4204
4215
  residenceLocationId: number
4205
4216
  isInTrash: number
4206
4217
  movedToTrashDate: number
4218
+ referralCode: number
4207
4219
  created_at: number
4208
4220
  updated_at: number
4209
4221
  _all: number
@@ -4240,6 +4252,7 @@ export namespace Prisma {
4240
4252
  residenceLocationId?: true
4241
4253
  isInTrash?: true
4242
4254
  movedToTrashDate?: true
4255
+ referralCode?: true
4243
4256
  created_at?: true
4244
4257
  updated_at?: true
4245
4258
  }
@@ -4266,6 +4279,7 @@ export namespace Prisma {
4266
4279
  residenceLocationId?: true
4267
4280
  isInTrash?: true
4268
4281
  movedToTrashDate?: true
4282
+ referralCode?: true
4269
4283
  created_at?: true
4270
4284
  updated_at?: true
4271
4285
  }
@@ -4293,6 +4307,7 @@ export namespace Prisma {
4293
4307
  residenceLocationId?: true
4294
4308
  isInTrash?: true
4295
4309
  movedToTrashDate?: true
4310
+ referralCode?: true
4296
4311
  created_at?: true
4297
4312
  updated_at?: true
4298
4313
  _all?: true
@@ -4407,6 +4422,7 @@ export namespace Prisma {
4407
4422
  residenceLocationId: string | null
4408
4423
  isInTrash: boolean
4409
4424
  movedToTrashDate: Date | null
4425
+ referralCode: string
4410
4426
  created_at: Date
4411
4427
  updated_at: Date
4412
4428
  _count: ProfileCountAggregateOutputType | null
@@ -4453,6 +4469,7 @@ export namespace Prisma {
4453
4469
  residenceLocationId?: boolean
4454
4470
  isInTrash?: boolean
4455
4471
  movedToTrashDate?: boolean
4472
+ referralCode?: boolean
4456
4473
  created_at?: boolean
4457
4474
  updated_at?: boolean
4458
4475
  otp?: boolean | Profile$otpArgs<ExtArgs>
@@ -4465,6 +4482,7 @@ export namespace Prisma {
4465
4482
  productionsAdministrated?: boolean | Profile$productionsAdministratedArgs<ExtArgs>
4466
4483
  productionsParticipated?: boolean | Profile$productionsParticipatedArgs<ExtArgs>
4467
4484
  productionRequestsSent?: boolean | Profile$productionRequestsSentArgs<ExtArgs>
4485
+ referralCodeUsed?: boolean | Profile$referralCodeUsedArgs<ExtArgs>
4468
4486
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4469
4487
  }, ExtArgs["result"]["profile"]>
4470
4488
 
@@ -4491,6 +4509,7 @@ export namespace Prisma {
4491
4509
  residenceLocationId?: boolean
4492
4510
  isInTrash?: boolean
4493
4511
  movedToTrashDate?: boolean
4512
+ referralCode?: boolean
4494
4513
  created_at?: boolean
4495
4514
  updated_at?: boolean
4496
4515
  birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
@@ -4520,6 +4539,7 @@ export namespace Prisma {
4520
4539
  residenceLocationId?: boolean
4521
4540
  isInTrash?: boolean
4522
4541
  movedToTrashDate?: boolean
4542
+ referralCode?: boolean
4523
4543
  created_at?: boolean
4524
4544
  updated_at?: boolean
4525
4545
  birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
@@ -4549,11 +4569,12 @@ export namespace Prisma {
4549
4569
  residenceLocationId?: boolean
4550
4570
  isInTrash?: boolean
4551
4571
  movedToTrashDate?: boolean
4572
+ referralCode?: boolean
4552
4573
  created_at?: boolean
4553
4574
  updated_at?: boolean
4554
4575
  }
4555
4576
 
4556
- export type ProfileOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "shortId" | "role" | "firstTimeMiExpo" | "username" | "password" | "phoneNumber" | "isPhoneVerified" | "secondaryPhoneNumber" | "fullName" | "firstName" | "gender" | "birthDate" | "profilePictureUrl" | "instagram" | "mail" | "dni" | "alternativeNames" | "birthLocationId" | "residenceLocationId" | "isInTrash" | "movedToTrashDate" | "created_at" | "updated_at", ExtArgs["result"]["profile"]>
4577
+ export type ProfileOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "shortId" | "role" | "firstTimeMiExpo" | "username" | "password" | "phoneNumber" | "isPhoneVerified" | "secondaryPhoneNumber" | "fullName" | "firstName" | "gender" | "birthDate" | "profilePictureUrl" | "instagram" | "mail" | "dni" | "alternativeNames" | "birthLocationId" | "residenceLocationId" | "isInTrash" | "movedToTrashDate" | "referralCode" | "created_at" | "updated_at", ExtArgs["result"]["profile"]>
4557
4578
  export type ProfileInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4558
4579
  otp?: boolean | Profile$otpArgs<ExtArgs>
4559
4580
  comments?: boolean | Profile$commentsArgs<ExtArgs>
@@ -4565,6 +4586,7 @@ export namespace Prisma {
4565
4586
  productionsAdministrated?: boolean | Profile$productionsAdministratedArgs<ExtArgs>
4566
4587
  productionsParticipated?: boolean | Profile$productionsParticipatedArgs<ExtArgs>
4567
4588
  productionRequestsSent?: boolean | Profile$productionRequestsSentArgs<ExtArgs>
4589
+ referralCodeUsed?: boolean | Profile$referralCodeUsedArgs<ExtArgs>
4568
4590
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4569
4591
  }
4570
4592
  export type ProfileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -4589,6 +4611,7 @@ export namespace Prisma {
4589
4611
  productionsAdministrated: Prisma.$ProductionPayload<ExtArgs>[]
4590
4612
  productionsParticipated: Prisma.$ProductionPayload<ExtArgs>[]
4591
4613
  productionRequestsSent: Prisma.$ProductionAffiliationRequestPayload<ExtArgs>[]
4614
+ referralCodeUsed: Prisma.$TicketGroupPayload<ExtArgs>[]
4592
4615
  }
4593
4616
  scalars: $Extensions.GetPayloadResult<{
4594
4617
  id: string
@@ -4613,6 +4636,7 @@ export namespace Prisma {
4613
4636
  residenceLocationId: string | null
4614
4637
  isInTrash: boolean
4615
4638
  movedToTrashDate: Date | null
4639
+ referralCode: string
4616
4640
  created_at: Date
4617
4641
  updated_at: Date
4618
4642
  }, ExtArgs["result"]["profile"]>
@@ -5019,6 +5043,7 @@ export namespace Prisma {
5019
5043
  productionsAdministrated<T extends Profile$productionsAdministratedArgs<ExtArgs> = {}>(args?: Subset<T, Profile$productionsAdministratedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductionPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5020
5044
  productionsParticipated<T extends Profile$productionsParticipatedArgs<ExtArgs> = {}>(args?: Subset<T, Profile$productionsParticipatedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductionPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5021
5045
  productionRequestsSent<T extends Profile$productionRequestsSentArgs<ExtArgs> = {}>(args?: Subset<T, Profile$productionRequestsSentArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductionAffiliationRequestPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5046
+ referralCodeUsed<T extends Profile$referralCodeUsedArgs<ExtArgs> = {}>(args?: Subset<T, Profile$referralCodeUsedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5022
5047
  /**
5023
5048
  * Attaches callbacks for the resolution and/or rejection of the Promise.
5024
5049
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -5070,6 +5095,7 @@ export namespace Prisma {
5070
5095
  readonly residenceLocationId: FieldRef<"Profile", 'String'>
5071
5096
  readonly isInTrash: FieldRef<"Profile", 'Boolean'>
5072
5097
  readonly movedToTrashDate: FieldRef<"Profile", 'DateTime'>
5098
+ readonly referralCode: FieldRef<"Profile", 'String'>
5073
5099
  readonly created_at: FieldRef<"Profile", 'DateTime'>
5074
5100
  readonly updated_at: FieldRef<"Profile", 'DateTime'>
5075
5101
  }
@@ -5697,6 +5723,30 @@ export namespace Prisma {
5697
5723
  distinct?: ProductionAffiliationRequestScalarFieldEnum | ProductionAffiliationRequestScalarFieldEnum[]
5698
5724
  }
5699
5725
 
5726
+ /**
5727
+ * Profile.referralCodeUsed
5728
+ */
5729
+ export type Profile$referralCodeUsedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5730
+ /**
5731
+ * Select specific fields to fetch from the TicketGroup
5732
+ */
5733
+ select?: TicketGroupSelect<ExtArgs> | null
5734
+ /**
5735
+ * Omit specific fields from the TicketGroup
5736
+ */
5737
+ omit?: TicketGroupOmit<ExtArgs> | null
5738
+ /**
5739
+ * Choose, which related nodes to fetch as well
5740
+ */
5741
+ include?: TicketGroupInclude<ExtArgs> | null
5742
+ where?: TicketGroupWhereInput
5743
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
5744
+ cursor?: TicketGroupWhereUniqueInput
5745
+ take?: number
5746
+ skip?: number
5747
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
5748
+ }
5749
+
5700
5750
  /**
5701
5751
  * Profile without action
5702
5752
  */
@@ -17343,6 +17393,7 @@ export namespace Prisma {
17343
17393
  status: $Enums.TicketGroupStatus | null
17344
17394
  amountTickets: number | null
17345
17395
  eventId: string | null
17396
+ referralCode: string | null
17346
17397
  created_at: Date | null
17347
17398
  updated_at: Date | null
17348
17399
  }
@@ -17352,6 +17403,7 @@ export namespace Prisma {
17352
17403
  status: $Enums.TicketGroupStatus | null
17353
17404
  amountTickets: number | null
17354
17405
  eventId: string | null
17406
+ referralCode: string | null
17355
17407
  created_at: Date | null
17356
17408
  updated_at: Date | null
17357
17409
  }
@@ -17361,6 +17413,7 @@ export namespace Prisma {
17361
17413
  status: number
17362
17414
  amountTickets: number
17363
17415
  eventId: number
17416
+ referralCode: number
17364
17417
  created_at: number
17365
17418
  updated_at: number
17366
17419
  _all: number
@@ -17380,6 +17433,7 @@ export namespace Prisma {
17380
17433
  status?: true
17381
17434
  amountTickets?: true
17382
17435
  eventId?: true
17436
+ referralCode?: true
17383
17437
  created_at?: true
17384
17438
  updated_at?: true
17385
17439
  }
@@ -17389,6 +17443,7 @@ export namespace Prisma {
17389
17443
  status?: true
17390
17444
  amountTickets?: true
17391
17445
  eventId?: true
17446
+ referralCode?: true
17392
17447
  created_at?: true
17393
17448
  updated_at?: true
17394
17449
  }
@@ -17398,6 +17453,7 @@ export namespace Prisma {
17398
17453
  status?: true
17399
17454
  amountTickets?: true
17400
17455
  eventId?: true
17456
+ referralCode?: true
17401
17457
  created_at?: true
17402
17458
  updated_at?: true
17403
17459
  _all?: true
@@ -17494,6 +17550,7 @@ export namespace Prisma {
17494
17550
  status: $Enums.TicketGroupStatus
17495
17551
  amountTickets: number
17496
17552
  eventId: string
17553
+ referralCode: string | null
17497
17554
  created_at: Date
17498
17555
  updated_at: Date
17499
17556
  _count: TicketGroupCountAggregateOutputType | null
@@ -17522,10 +17579,12 @@ export namespace Prisma {
17522
17579
  status?: boolean
17523
17580
  amountTickets?: boolean
17524
17581
  eventId?: boolean
17582
+ referralCode?: boolean
17525
17583
  created_at?: boolean
17526
17584
  updated_at?: boolean
17527
17585
  event?: boolean | EventDefaultArgs<ExtArgs>
17528
17586
  tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
17587
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17529
17588
  _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
17530
17589
  }, ExtArgs["result"]["ticketGroup"]>
17531
17590
 
@@ -17534,9 +17593,11 @@ export namespace Prisma {
17534
17593
  status?: boolean
17535
17594
  amountTickets?: boolean
17536
17595
  eventId?: boolean
17596
+ referralCode?: boolean
17537
17597
  created_at?: boolean
17538
17598
  updated_at?: boolean
17539
17599
  event?: boolean | EventDefaultArgs<ExtArgs>
17600
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17540
17601
  }, ExtArgs["result"]["ticketGroup"]>
17541
17602
 
17542
17603
  export type TicketGroupSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -17544,9 +17605,11 @@ export namespace Prisma {
17544
17605
  status?: boolean
17545
17606
  amountTickets?: boolean
17546
17607
  eventId?: boolean
17608
+ referralCode?: boolean
17547
17609
  created_at?: boolean
17548
17610
  updated_at?: boolean
17549
17611
  event?: boolean | EventDefaultArgs<ExtArgs>
17612
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17550
17613
  }, ExtArgs["result"]["ticketGroup"]>
17551
17614
 
17552
17615
  export type TicketGroupSelectScalar = {
@@ -17554,21 +17617,25 @@ export namespace Prisma {
17554
17617
  status?: boolean
17555
17618
  amountTickets?: boolean
17556
17619
  eventId?: boolean
17620
+ referralCode?: boolean
17557
17621
  created_at?: boolean
17558
17622
  updated_at?: boolean
17559
17623
  }
17560
17624
 
17561
- export type TicketGroupOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "status" | "amountTickets" | "eventId" | "created_at" | "updated_at", ExtArgs["result"]["ticketGroup"]>
17625
+ export type TicketGroupOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "status" | "amountTickets" | "eventId" | "referralCode" | "created_at" | "updated_at", ExtArgs["result"]["ticketGroup"]>
17562
17626
  export type TicketGroupInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17563
17627
  event?: boolean | EventDefaultArgs<ExtArgs>
17564
17628
  tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
17629
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17565
17630
  _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
17566
17631
  }
17567
17632
  export type TicketGroupIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17568
17633
  event?: boolean | EventDefaultArgs<ExtArgs>
17634
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17569
17635
  }
17570
17636
  export type TicketGroupIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17571
17637
  event?: boolean | EventDefaultArgs<ExtArgs>
17638
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17572
17639
  }
17573
17640
 
17574
17641
  export type $TicketGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -17576,12 +17643,14 @@ export namespace Prisma {
17576
17643
  objects: {
17577
17644
  event: Prisma.$EventPayload<ExtArgs>
17578
17645
  tickets: Prisma.$TicketPayload<ExtArgs>[]
17646
+ referralCodeProfile: Prisma.$ProfilePayload<ExtArgs> | null
17579
17647
  }
17580
17648
  scalars: $Extensions.GetPayloadResult<{
17581
17649
  id: string
17582
17650
  status: $Enums.TicketGroupStatus
17583
17651
  amountTickets: number
17584
17652
  eventId: string
17653
+ referralCode: string | null
17585
17654
  created_at: Date
17586
17655
  updated_at: Date
17587
17656
  }, ExtArgs["result"]["ticketGroup"]>
@@ -17980,6 +18049,7 @@ export namespace Prisma {
17980
18049
  readonly [Symbol.toStringTag]: "PrismaPromise"
17981
18050
  event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
17982
18051
  tickets<T extends TicketGroup$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
18052
+ referralCodeProfile<T extends TicketGroup$referralCodeProfileArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$referralCodeProfileArgs<ExtArgs>>): Prisma__ProfileClient<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
17983
18053
  /**
17984
18054
  * Attaches callbacks for the resolution and/or rejection of the Promise.
17985
18055
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -18013,6 +18083,7 @@ export namespace Prisma {
18013
18083
  readonly status: FieldRef<"TicketGroup", 'TicketGroupStatus'>
18014
18084
  readonly amountTickets: FieldRef<"TicketGroup", 'Int'>
18015
18085
  readonly eventId: FieldRef<"TicketGroup", 'String'>
18086
+ readonly referralCode: FieldRef<"TicketGroup", 'String'>
18016
18087
  readonly created_at: FieldRef<"TicketGroup", 'DateTime'>
18017
18088
  readonly updated_at: FieldRef<"TicketGroup", 'DateTime'>
18018
18089
  }
@@ -18434,6 +18505,25 @@ export namespace Prisma {
18434
18505
  distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
18435
18506
  }
18436
18507
 
18508
+ /**
18509
+ * TicketGroup.referralCodeProfile
18510
+ */
18511
+ export type TicketGroup$referralCodeProfileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18512
+ /**
18513
+ * Select specific fields to fetch from the Profile
18514
+ */
18515
+ select?: ProfileSelect<ExtArgs> | null
18516
+ /**
18517
+ * Omit specific fields from the Profile
18518
+ */
18519
+ omit?: ProfileOmit<ExtArgs> | null
18520
+ /**
18521
+ * Choose, which related nodes to fetch as well
18522
+ */
18523
+ include?: ProfileInclude<ExtArgs> | null
18524
+ where?: ProfileWhereInput
18525
+ }
18526
+
18437
18527
  /**
18438
18528
  * TicketGroup without action
18439
18529
  */
@@ -22850,6 +22940,7 @@ export namespace Prisma {
22850
22940
  residenceLocationId: 'residenceLocationId',
22851
22941
  isInTrash: 'isInTrash',
22852
22942
  movedToTrashDate: 'movedToTrashDate',
22943
+ referralCode: 'referralCode',
22853
22944
  created_at: 'created_at',
22854
22945
  updated_at: 'updated_at'
22855
22946
  };
@@ -23004,6 +23095,7 @@ export namespace Prisma {
23004
23095
  status: 'status',
23005
23096
  amountTickets: 'amountTickets',
23006
23097
  eventId: 'eventId',
23098
+ referralCode: 'referralCode',
23007
23099
  created_at: 'created_at',
23008
23100
  updated_at: 'updated_at'
23009
23101
  };
@@ -23399,6 +23491,7 @@ export namespace Prisma {
23399
23491
  residenceLocationId?: StringNullableFilter<"Profile"> | string | null
23400
23492
  isInTrash?: BoolFilter<"Profile"> | boolean
23401
23493
  movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
23494
+ referralCode?: StringFilter<"Profile"> | string
23402
23495
  created_at?: DateTimeFilter<"Profile"> | Date | string
23403
23496
  updated_at?: DateTimeFilter<"Profile"> | Date | string
23404
23497
  otp?: OtpListRelationFilter
@@ -23411,6 +23504,7 @@ export namespace Prisma {
23411
23504
  productionsAdministrated?: ProductionListRelationFilter
23412
23505
  productionsParticipated?: ProductionListRelationFilter
23413
23506
  productionRequestsSent?: ProductionAffiliationRequestListRelationFilter
23507
+ referralCodeUsed?: TicketGroupListRelationFilter
23414
23508
  }
23415
23509
 
23416
23510
  export type ProfileOrderByWithRelationInput = {
@@ -23436,6 +23530,7 @@ export namespace Prisma {
23436
23530
  residenceLocationId?: SortOrderInput | SortOrder
23437
23531
  isInTrash?: SortOrder
23438
23532
  movedToTrashDate?: SortOrderInput | SortOrder
23533
+ referralCode?: SortOrder
23439
23534
  created_at?: SortOrder
23440
23535
  updated_at?: SortOrder
23441
23536
  otp?: OtpOrderByRelationAggregateInput
@@ -23448,6 +23543,7 @@ export namespace Prisma {
23448
23543
  productionsAdministrated?: ProductionOrderByRelationAggregateInput
23449
23544
  productionsParticipated?: ProductionOrderByRelationAggregateInput
23450
23545
  productionRequestsSent?: ProductionAffiliationRequestOrderByRelationAggregateInput
23546
+ referralCodeUsed?: TicketGroupOrderByRelationAggregateInput
23451
23547
  }
23452
23548
 
23453
23549
  export type ProfileWhereUniqueInput = Prisma.AtLeast<{
@@ -23455,6 +23551,7 @@ export namespace Prisma {
23455
23551
  username?: string
23456
23552
  phoneNumber?: string
23457
23553
  secondaryPhoneNumber?: string
23554
+ referralCode?: string
23458
23555
  AND?: ProfileWhereInput | ProfileWhereInput[]
23459
23556
  OR?: ProfileWhereInput[]
23460
23557
  NOT?: ProfileWhereInput | ProfileWhereInput[]
@@ -23488,7 +23585,8 @@ export namespace Prisma {
23488
23585
  productionsAdministrated?: ProductionListRelationFilter
23489
23586
  productionsParticipated?: ProductionListRelationFilter
23490
23587
  productionRequestsSent?: ProductionAffiliationRequestListRelationFilter
23491
- }, "id" | "username" | "phoneNumber" | "secondaryPhoneNumber">
23588
+ referralCodeUsed?: TicketGroupListRelationFilter
23589
+ }, "id" | "username" | "phoneNumber" | "secondaryPhoneNumber" | "referralCode">
23492
23590
 
23493
23591
  export type ProfileOrderByWithAggregationInput = {
23494
23592
  id?: SortOrder
@@ -23513,6 +23611,7 @@ export namespace Prisma {
23513
23611
  residenceLocationId?: SortOrderInput | SortOrder
23514
23612
  isInTrash?: SortOrder
23515
23613
  movedToTrashDate?: SortOrderInput | SortOrder
23614
+ referralCode?: SortOrder
23516
23615
  created_at?: SortOrder
23517
23616
  updated_at?: SortOrder
23518
23617
  _count?: ProfileCountOrderByAggregateInput
@@ -23548,6 +23647,7 @@ export namespace Prisma {
23548
23647
  residenceLocationId?: StringNullableWithAggregatesFilter<"Profile"> | string | null
23549
23648
  isInTrash?: BoolWithAggregatesFilter<"Profile"> | boolean
23550
23649
  movedToTrashDate?: DateTimeNullableWithAggregatesFilter<"Profile"> | Date | string | null
23650
+ referralCode?: StringWithAggregatesFilter<"Profile"> | string
23551
23651
  created_at?: DateTimeWithAggregatesFilter<"Profile"> | Date | string
23552
23652
  updated_at?: DateTimeWithAggregatesFilter<"Profile"> | Date | string
23553
23653
  }
@@ -24338,10 +24438,12 @@ export namespace Prisma {
24338
24438
  status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
24339
24439
  amountTickets?: IntFilter<"TicketGroup"> | number
24340
24440
  eventId?: StringFilter<"TicketGroup"> | string
24441
+ referralCode?: StringNullableFilter<"TicketGroup"> | string | null
24341
24442
  created_at?: DateTimeFilter<"TicketGroup"> | Date | string
24342
24443
  updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
24343
24444
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
24344
24445
  tickets?: TicketListRelationFilter
24446
+ referralCodeProfile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
24345
24447
  }
24346
24448
 
24347
24449
  export type TicketGroupOrderByWithRelationInput = {
@@ -24349,10 +24451,12 @@ export namespace Prisma {
24349
24451
  status?: SortOrder
24350
24452
  amountTickets?: SortOrder
24351
24453
  eventId?: SortOrder
24454
+ referralCode?: SortOrderInput | SortOrder
24352
24455
  created_at?: SortOrder
24353
24456
  updated_at?: SortOrder
24354
24457
  event?: EventOrderByWithRelationInput
24355
24458
  tickets?: TicketOrderByRelationAggregateInput
24459
+ referralCodeProfile?: ProfileOrderByWithRelationInput
24356
24460
  }
24357
24461
 
24358
24462
  export type TicketGroupWhereUniqueInput = Prisma.AtLeast<{
@@ -24363,10 +24467,12 @@ export namespace Prisma {
24363
24467
  status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
24364
24468
  amountTickets?: IntFilter<"TicketGroup"> | number
24365
24469
  eventId?: StringFilter<"TicketGroup"> | string
24470
+ referralCode?: StringNullableFilter<"TicketGroup"> | string | null
24366
24471
  created_at?: DateTimeFilter<"TicketGroup"> | Date | string
24367
24472
  updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
24368
24473
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
24369
24474
  tickets?: TicketListRelationFilter
24475
+ referralCodeProfile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
24370
24476
  }, "id">
24371
24477
 
24372
24478
  export type TicketGroupOrderByWithAggregationInput = {
@@ -24374,6 +24480,7 @@ export namespace Prisma {
24374
24480
  status?: SortOrder
24375
24481
  amountTickets?: SortOrder
24376
24482
  eventId?: SortOrder
24483
+ referralCode?: SortOrderInput | SortOrder
24377
24484
  created_at?: SortOrder
24378
24485
  updated_at?: SortOrder
24379
24486
  _count?: TicketGroupCountOrderByAggregateInput
@@ -24391,6 +24498,7 @@ export namespace Prisma {
24391
24498
  status?: EnumTicketGroupStatusWithAggregatesFilter<"TicketGroup"> | $Enums.TicketGroupStatus
24392
24499
  amountTickets?: IntWithAggregatesFilter<"TicketGroup"> | number
24393
24500
  eventId?: StringWithAggregatesFilter<"TicketGroup"> | string
24501
+ referralCode?: StringNullableWithAggregatesFilter<"TicketGroup"> | string | null
24394
24502
  created_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
24395
24503
  updated_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
24396
24504
  }
@@ -24750,6 +24858,7 @@ export namespace Prisma {
24750
24858
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
24751
24859
  isInTrash?: boolean
24752
24860
  movedToTrashDate?: Date | string | null
24861
+ referralCode?: string
24753
24862
  created_at?: Date | string
24754
24863
  updated_at?: Date | string
24755
24864
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -24762,6 +24871,7 @@ export namespace Prisma {
24762
24871
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
24763
24872
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
24764
24873
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
24874
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
24765
24875
  }
24766
24876
 
24767
24877
  export type ProfileUncheckedCreateInput = {
@@ -24787,6 +24897,7 @@ export namespace Prisma {
24787
24897
  residenceLocationId?: string | null
24788
24898
  isInTrash?: boolean
24789
24899
  movedToTrashDate?: Date | string | null
24900
+ referralCode?: string
24790
24901
  created_at?: Date | string
24791
24902
  updated_at?: Date | string
24792
24903
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -24797,6 +24908,7 @@ export namespace Prisma {
24797
24908
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
24798
24909
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
24799
24910
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
24911
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
24800
24912
  }
24801
24913
 
24802
24914
  export type ProfileUpdateInput = {
@@ -24820,6 +24932,7 @@ export namespace Prisma {
24820
24932
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
24821
24933
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
24822
24934
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24935
+ referralCode?: StringFieldUpdateOperationsInput | string
24823
24936
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
24824
24937
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
24825
24938
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -24832,6 +24945,7 @@ export namespace Prisma {
24832
24945
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
24833
24946
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
24834
24947
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
24948
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
24835
24949
  }
24836
24950
 
24837
24951
  export type ProfileUncheckedUpdateInput = {
@@ -24857,6 +24971,7 @@ export namespace Prisma {
24857
24971
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
24858
24972
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
24859
24973
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24974
+ referralCode?: StringFieldUpdateOperationsInput | string
24860
24975
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
24861
24976
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
24862
24977
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -24867,6 +24982,7 @@ export namespace Prisma {
24867
24982
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
24868
24983
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
24869
24984
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
24985
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
24870
24986
  }
24871
24987
 
24872
24988
  export type ProfileCreateManyInput = {
@@ -24892,6 +25008,7 @@ export namespace Prisma {
24892
25008
  residenceLocationId?: string | null
24893
25009
  isInTrash?: boolean
24894
25010
  movedToTrashDate?: Date | string | null
25011
+ referralCode?: string
24895
25012
  created_at?: Date | string
24896
25013
  updated_at?: Date | string
24897
25014
  }
@@ -24917,6 +25034,7 @@ export namespace Prisma {
24917
25034
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
24918
25035
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
24919
25036
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25037
+ referralCode?: StringFieldUpdateOperationsInput | string
24920
25038
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
24921
25039
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
24922
25040
  }
@@ -24944,6 +25062,7 @@ export namespace Prisma {
24944
25062
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
24945
25063
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
24946
25064
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25065
+ referralCode?: StringFieldUpdateOperationsInput | string
24947
25066
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
24948
25067
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
24949
25068
  }
@@ -25799,6 +25918,7 @@ export namespace Prisma {
25799
25918
  updated_at?: Date | string
25800
25919
  event: EventCreateNestedOneWithoutTicketGroupsInput
25801
25920
  tickets?: TicketCreateNestedManyWithoutTicketGroupInput
25921
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
25802
25922
  }
25803
25923
 
25804
25924
  export type TicketGroupUncheckedCreateInput = {
@@ -25806,6 +25926,7 @@ export namespace Prisma {
25806
25926
  status: $Enums.TicketGroupStatus
25807
25927
  amountTickets?: number
25808
25928
  eventId: string
25929
+ referralCode?: string | null
25809
25930
  created_at?: Date | string
25810
25931
  updated_at?: Date | string
25811
25932
  tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
@@ -25819,6 +25940,7 @@ export namespace Prisma {
25819
25940
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25820
25941
  event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
25821
25942
  tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
25943
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
25822
25944
  }
25823
25945
 
25824
25946
  export type TicketGroupUncheckedUpdateInput = {
@@ -25826,6 +25948,7 @@ export namespace Prisma {
25826
25948
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
25827
25949
  amountTickets?: IntFieldUpdateOperationsInput | number
25828
25950
  eventId?: StringFieldUpdateOperationsInput | string
25951
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25829
25952
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25830
25953
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25831
25954
  tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
@@ -25836,6 +25959,7 @@ export namespace Prisma {
25836
25959
  status: $Enums.TicketGroupStatus
25837
25960
  amountTickets?: number
25838
25961
  eventId: string
25962
+ referralCode?: string | null
25839
25963
  created_at?: Date | string
25840
25964
  updated_at?: Date | string
25841
25965
  }
@@ -25853,6 +25977,7 @@ export namespace Prisma {
25853
25977
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
25854
25978
  amountTickets?: IntFieldUpdateOperationsInput | number
25855
25979
  eventId?: StringFieldUpdateOperationsInput | string
25980
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25856
25981
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25857
25982
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25858
25983
  }
@@ -26322,6 +26447,12 @@ export namespace Prisma {
26322
26447
  none?: ProductionAffiliationRequestWhereInput
26323
26448
  }
26324
26449
 
26450
+ export type TicketGroupListRelationFilter = {
26451
+ every?: TicketGroupWhereInput
26452
+ some?: TicketGroupWhereInput
26453
+ none?: TicketGroupWhereInput
26454
+ }
26455
+
26325
26456
  export type SortOrderInput = {
26326
26457
  sort: SortOrder
26327
26458
  nulls?: NullsOrder
@@ -26347,6 +26478,10 @@ export namespace Prisma {
26347
26478
  _count?: SortOrder
26348
26479
  }
26349
26480
 
26481
+ export type TicketGroupOrderByRelationAggregateInput = {
26482
+ _count?: SortOrder
26483
+ }
26484
+
26350
26485
  export type ProfileCountOrderByAggregateInput = {
26351
26486
  id?: SortOrder
26352
26487
  shortId?: SortOrder
@@ -26370,6 +26505,7 @@ export namespace Prisma {
26370
26505
  residenceLocationId?: SortOrder
26371
26506
  isInTrash?: SortOrder
26372
26507
  movedToTrashDate?: SortOrder
26508
+ referralCode?: SortOrder
26373
26509
  created_at?: SortOrder
26374
26510
  updated_at?: SortOrder
26375
26511
  }
@@ -26400,6 +26536,7 @@ export namespace Prisma {
26400
26536
  residenceLocationId?: SortOrder
26401
26537
  isInTrash?: SortOrder
26402
26538
  movedToTrashDate?: SortOrder
26539
+ referralCode?: SortOrder
26403
26540
  created_at?: SortOrder
26404
26541
  updated_at?: SortOrder
26405
26542
  }
@@ -26426,6 +26563,7 @@ export namespace Prisma {
26426
26563
  residenceLocationId?: SortOrder
26427
26564
  isInTrash?: SortOrder
26428
26565
  movedToTrashDate?: SortOrder
26566
+ referralCode?: SortOrder
26429
26567
  created_at?: SortOrder
26430
26568
  updated_at?: SortOrder
26431
26569
  }
@@ -26759,22 +26897,12 @@ export namespace Prisma {
26759
26897
  isNot?: TagWhereInput
26760
26898
  }
26761
26899
 
26762
- export type TicketGroupListRelationFilter = {
26763
- every?: TicketGroupWhereInput
26764
- some?: TicketGroupWhereInput
26765
- none?: TicketGroupWhereInput
26766
- }
26767
-
26768
26900
  export type EventTicketListRelationFilter = {
26769
26901
  every?: EventTicketWhereInput
26770
26902
  some?: EventTicketWhereInput
26771
26903
  none?: EventTicketWhereInput
26772
26904
  }
26773
26905
 
26774
- export type TicketGroupOrderByRelationAggregateInput = {
26775
- _count?: SortOrder
26776
- }
26777
-
26778
26906
  export type EventTicketOrderByRelationAggregateInput = {
26779
26907
  _count?: SortOrder
26780
26908
  }
@@ -27105,6 +27233,7 @@ export namespace Prisma {
27105
27233
  status?: SortOrder
27106
27234
  amountTickets?: SortOrder
27107
27235
  eventId?: SortOrder
27236
+ referralCode?: SortOrder
27108
27237
  created_at?: SortOrder
27109
27238
  updated_at?: SortOrder
27110
27239
  }
@@ -27118,6 +27247,7 @@ export namespace Prisma {
27118
27247
  status?: SortOrder
27119
27248
  amountTickets?: SortOrder
27120
27249
  eventId?: SortOrder
27250
+ referralCode?: SortOrder
27121
27251
  created_at?: SortOrder
27122
27252
  updated_at?: SortOrder
27123
27253
  }
@@ -27127,6 +27257,7 @@ export namespace Prisma {
27127
27257
  status?: SortOrder
27128
27258
  amountTickets?: SortOrder
27129
27259
  eventId?: SortOrder
27260
+ referralCode?: SortOrder
27130
27261
  created_at?: SortOrder
27131
27262
  updated_at?: SortOrder
27132
27263
  }
@@ -27595,6 +27726,13 @@ export namespace Prisma {
27595
27726
  connect?: ProductionAffiliationRequestWhereUniqueInput | ProductionAffiliationRequestWhereUniqueInput[]
27596
27727
  }
27597
27728
 
27729
+ export type TicketGroupCreateNestedManyWithoutReferralCodeProfileInput = {
27730
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27731
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27732
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27733
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27734
+ }
27735
+
27598
27736
  export type OtpUncheckedCreateNestedManyWithoutOwnerInput = {
27599
27737
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
27600
27738
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -27649,6 +27787,13 @@ export namespace Prisma {
27649
27787
  connect?: ProductionAffiliationRequestWhereUniqueInput | ProductionAffiliationRequestWhereUniqueInput[]
27650
27788
  }
27651
27789
 
27790
+ export type TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput = {
27791
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27792
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27793
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27794
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27795
+ }
27796
+
27652
27797
  export type IntFieldUpdateOperationsInput = {
27653
27798
  set?: number
27654
27799
  increment?: number
@@ -27800,6 +27945,20 @@ export namespace Prisma {
27800
27945
  deleteMany?: ProductionAffiliationRequestScalarWhereInput | ProductionAffiliationRequestScalarWhereInput[]
27801
27946
  }
27802
27947
 
27948
+ export type TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput = {
27949
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27950
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27951
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput[]
27952
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27953
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27954
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27955
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27956
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27957
+ update?: TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput[]
27958
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput | TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput[]
27959
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27960
+ }
27961
+
27803
27962
  export type OtpUncheckedUpdateManyWithoutOwnerNestedInput = {
27804
27963
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
27805
27964
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -27910,6 +28069,20 @@ export namespace Prisma {
27910
28069
  deleteMany?: ProductionAffiliationRequestScalarWhereInput | ProductionAffiliationRequestScalarWhereInput[]
27911
28070
  }
27912
28071
 
28072
+ export type TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput = {
28073
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
28074
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
28075
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput[]
28076
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
28077
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28078
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28079
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28080
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28081
+ update?: TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput[]
28082
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput | TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput[]
28083
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
28084
+ }
28085
+
27913
28086
  export type ProfileCreateNestedOneWithoutOtpInput = {
27914
28087
  create?: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
27915
28088
  connectOrCreate?: ProfileCreateOrConnectWithoutOtpInput
@@ -28847,6 +29020,12 @@ export namespace Prisma {
28847
29020
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
28848
29021
  }
28849
29022
 
29023
+ export type ProfileCreateNestedOneWithoutReferralCodeUsedInput = {
29024
+ create?: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
29025
+ connectOrCreate?: ProfileCreateOrConnectWithoutReferralCodeUsedInput
29026
+ connect?: ProfileWhereUniqueInput
29027
+ }
29028
+
28850
29029
  export type TicketUncheckedCreateNestedManyWithoutTicketGroupInput = {
28851
29030
  create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
28852
29031
  connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
@@ -28880,6 +29059,16 @@ export namespace Prisma {
28880
29059
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
28881
29060
  }
28882
29061
 
29062
+ export type ProfileUpdateOneWithoutReferralCodeUsedNestedInput = {
29063
+ create?: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
29064
+ connectOrCreate?: ProfileCreateOrConnectWithoutReferralCodeUsedInput
29065
+ upsert?: ProfileUpsertWithoutReferralCodeUsedInput
29066
+ disconnect?: ProfileWhereInput | boolean
29067
+ delete?: ProfileWhereInput | boolean
29068
+ connect?: ProfileWhereUniqueInput
29069
+ update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutReferralCodeUsedInput, ProfileUpdateWithoutReferralCodeUsedInput>, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
29070
+ }
29071
+
28883
29072
  export type TicketUncheckedUpdateManyWithoutTicketGroupNestedInput = {
28884
29073
  create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
28885
29074
  connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
@@ -30016,6 +30205,36 @@ export namespace Prisma {
30016
30205
  skipDuplicates?: boolean
30017
30206
  }
30018
30207
 
30208
+ export type TicketGroupCreateWithoutReferralCodeProfileInput = {
30209
+ id?: string
30210
+ status: $Enums.TicketGroupStatus
30211
+ amountTickets?: number
30212
+ created_at?: Date | string
30213
+ updated_at?: Date | string
30214
+ event: EventCreateNestedOneWithoutTicketGroupsInput
30215
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
30216
+ }
30217
+
30218
+ export type TicketGroupUncheckedCreateWithoutReferralCodeProfileInput = {
30219
+ id?: string
30220
+ status: $Enums.TicketGroupStatus
30221
+ amountTickets?: number
30222
+ eventId: string
30223
+ created_at?: Date | string
30224
+ updated_at?: Date | string
30225
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
30226
+ }
30227
+
30228
+ export type TicketGroupCreateOrConnectWithoutReferralCodeProfileInput = {
30229
+ where: TicketGroupWhereUniqueInput
30230
+ create: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput>
30231
+ }
30232
+
30233
+ export type TicketGroupCreateManyReferralCodeProfileInputEnvelope = {
30234
+ data: TicketGroupCreateManyReferralCodeProfileInput | TicketGroupCreateManyReferralCodeProfileInput[]
30235
+ skipDuplicates?: boolean
30236
+ }
30237
+
30019
30238
  export type OtpUpsertWithWhereUniqueWithoutOwnerInput = {
30020
30239
  where: OtpWhereUniqueInput
30021
30240
  update: XOR<OtpUpdateWithoutOwnerInput, OtpUncheckedUpdateWithoutOwnerInput>
@@ -30282,6 +30501,35 @@ export namespace Prisma {
30282
30501
  updated_at?: DateTimeFilter<"ProductionAffiliationRequest"> | Date | string
30283
30502
  }
30284
30503
 
30504
+ export type TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput = {
30505
+ where: TicketGroupWhereUniqueInput
30506
+ update: XOR<TicketGroupUpdateWithoutReferralCodeProfileInput, TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput>
30507
+ create: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput>
30508
+ }
30509
+
30510
+ export type TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput = {
30511
+ where: TicketGroupWhereUniqueInput
30512
+ data: XOR<TicketGroupUpdateWithoutReferralCodeProfileInput, TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput>
30513
+ }
30514
+
30515
+ export type TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput = {
30516
+ where: TicketGroupScalarWhereInput
30517
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileInput>
30518
+ }
30519
+
30520
+ export type TicketGroupScalarWhereInput = {
30521
+ AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
30522
+ OR?: TicketGroupScalarWhereInput[]
30523
+ NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
30524
+ id?: StringFilter<"TicketGroup"> | string
30525
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
30526
+ amountTickets?: IntFilter<"TicketGroup"> | number
30527
+ eventId?: StringFilter<"TicketGroup"> | string
30528
+ referralCode?: StringNullableFilter<"TicketGroup"> | string | null
30529
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
30530
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
30531
+ }
30532
+
30285
30533
  export type ProfileCreateWithoutOtpInput = {
30286
30534
  id?: string
30287
30535
  shortId: number
@@ -30303,6 +30551,7 @@ export namespace Prisma {
30303
30551
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
30304
30552
  isInTrash?: boolean
30305
30553
  movedToTrashDate?: Date | string | null
30554
+ referralCode?: string
30306
30555
  created_at?: Date | string
30307
30556
  updated_at?: Date | string
30308
30557
  comments?: CommentCreateNestedManyWithoutProfileInput
@@ -30314,6 +30563,7 @@ export namespace Prisma {
30314
30563
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30315
30564
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30316
30565
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30566
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30317
30567
  }
30318
30568
 
30319
30569
  export type ProfileUncheckedCreateWithoutOtpInput = {
@@ -30339,6 +30589,7 @@ export namespace Prisma {
30339
30589
  residenceLocationId?: string | null
30340
30590
  isInTrash?: boolean
30341
30591
  movedToTrashDate?: Date | string | null
30592
+ referralCode?: string
30342
30593
  created_at?: Date | string
30343
30594
  updated_at?: Date | string
30344
30595
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
@@ -30348,6 +30599,7 @@ export namespace Prisma {
30348
30599
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30349
30600
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30350
30601
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30602
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30351
30603
  }
30352
30604
 
30353
30605
  export type ProfileCreateOrConnectWithoutOtpInput = {
@@ -30387,6 +30639,7 @@ export namespace Prisma {
30387
30639
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
30388
30640
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
30389
30641
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30642
+ referralCode?: StringFieldUpdateOperationsInput | string
30390
30643
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30391
30644
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30392
30645
  comments?: CommentUpdateManyWithoutProfileNestedInput
@@ -30398,6 +30651,7 @@ export namespace Prisma {
30398
30651
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
30399
30652
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
30400
30653
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
30654
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
30401
30655
  }
30402
30656
 
30403
30657
  export type ProfileUncheckedUpdateWithoutOtpInput = {
@@ -30423,6 +30677,7 @@ export namespace Prisma {
30423
30677
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
30424
30678
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
30425
30679
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30680
+ referralCode?: StringFieldUpdateOperationsInput | string
30426
30681
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30427
30682
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30428
30683
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
@@ -30432,6 +30687,7 @@ export namespace Prisma {
30432
30687
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
30433
30688
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
30434
30689
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
30690
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
30435
30691
  }
30436
30692
 
30437
30693
  export type ProfileCreateWithoutBirthLocationInput = {
@@ -30455,6 +30711,7 @@ export namespace Prisma {
30455
30711
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
30456
30712
  isInTrash?: boolean
30457
30713
  movedToTrashDate?: Date | string | null
30714
+ referralCode?: string
30458
30715
  created_at?: Date | string
30459
30716
  updated_at?: Date | string
30460
30717
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -30466,6 +30723,7 @@ export namespace Prisma {
30466
30723
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30467
30724
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30468
30725
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30726
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30469
30727
  }
30470
30728
 
30471
30729
  export type ProfileUncheckedCreateWithoutBirthLocationInput = {
@@ -30490,6 +30748,7 @@ export namespace Prisma {
30490
30748
  residenceLocationId?: string | null
30491
30749
  isInTrash?: boolean
30492
30750
  movedToTrashDate?: Date | string | null
30751
+ referralCode?: string
30493
30752
  created_at?: Date | string
30494
30753
  updated_at?: Date | string
30495
30754
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -30500,6 +30759,7 @@ export namespace Prisma {
30500
30759
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30501
30760
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30502
30761
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30762
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30503
30763
  }
30504
30764
 
30505
30765
  export type ProfileCreateOrConnectWithoutBirthLocationInput = {
@@ -30533,6 +30793,7 @@ export namespace Prisma {
30533
30793
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
30534
30794
  isInTrash?: boolean
30535
30795
  movedToTrashDate?: Date | string | null
30796
+ referralCode?: string
30536
30797
  created_at?: Date | string
30537
30798
  updated_at?: Date | string
30538
30799
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -30544,6 +30805,7 @@ export namespace Prisma {
30544
30805
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30545
30806
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30546
30807
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30808
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30547
30809
  }
30548
30810
 
30549
30811
  export type ProfileUncheckedCreateWithoutResidenceLocationInput = {
@@ -30568,6 +30830,7 @@ export namespace Prisma {
30568
30830
  birthLocationId?: string | null
30569
30831
  isInTrash?: boolean
30570
30832
  movedToTrashDate?: Date | string | null
30833
+ referralCode?: string
30571
30834
  created_at?: Date | string
30572
30835
  updated_at?: Date | string
30573
30836
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -30578,6 +30841,7 @@ export namespace Prisma {
30578
30841
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30579
30842
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30580
30843
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30844
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30581
30845
  }
30582
30846
 
30583
30847
  export type ProfileCreateOrConnectWithoutResidenceLocationInput = {
@@ -30632,6 +30896,7 @@ export namespace Prisma {
30632
30896
  residenceLocationId?: StringNullableFilter<"Profile"> | string | null
30633
30897
  isInTrash?: BoolFilter<"Profile"> | boolean
30634
30898
  movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
30899
+ referralCode?: StringFilter<"Profile"> | string
30635
30900
  created_at?: DateTimeFilter<"Profile"> | Date | string
30636
30901
  updated_at?: DateTimeFilter<"Profile"> | Date | string
30637
30902
  }
@@ -30706,6 +30971,7 @@ export namespace Prisma {
30706
30971
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
30707
30972
  isInTrash?: boolean
30708
30973
  movedToTrashDate?: Date | string | null
30974
+ referralCode?: string
30709
30975
  created_at?: Date | string
30710
30976
  updated_at?: Date | string
30711
30977
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -30717,6 +30983,7 @@ export namespace Prisma {
30717
30983
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30718
30984
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30719
30985
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30986
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30720
30987
  }
30721
30988
 
30722
30989
  export type ProfileUncheckedCreateWithoutCommentsInput = {
@@ -30742,6 +31009,7 @@ export namespace Prisma {
30742
31009
  residenceLocationId?: string | null
30743
31010
  isInTrash?: boolean
30744
31011
  movedToTrashDate?: Date | string | null
31012
+ referralCode?: string
30745
31013
  created_at?: Date | string
30746
31014
  updated_at?: Date | string
30747
31015
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -30751,6 +31019,7 @@ export namespace Prisma {
30751
31019
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30752
31020
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30753
31021
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
31022
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30754
31023
  }
30755
31024
 
30756
31025
  export type ProfileCreateOrConnectWithoutCommentsInput = {
@@ -30862,6 +31131,7 @@ export namespace Prisma {
30862
31131
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
30863
31132
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
30864
31133
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
31134
+ referralCode?: StringFieldUpdateOperationsInput | string
30865
31135
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30866
31136
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30867
31137
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -30873,6 +31143,7 @@ export namespace Prisma {
30873
31143
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
30874
31144
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
30875
31145
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
31146
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
30876
31147
  }
30877
31148
 
30878
31149
  export type ProfileUncheckedUpdateWithoutCommentsInput = {
@@ -30898,6 +31169,7 @@ export namespace Prisma {
30898
31169
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
30899
31170
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
30900
31171
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
31172
+ referralCode?: StringFieldUpdateOperationsInput | string
30901
31173
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30902
31174
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30903
31175
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -30907,6 +31179,7 @@ export namespace Prisma {
30907
31179
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
30908
31180
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
30909
31181
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
31182
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
30910
31183
  }
30911
31184
 
30912
31185
  export type AccountUpsertWithoutSolvableCommentsInput = {
@@ -31135,6 +31408,7 @@ export namespace Prisma {
31135
31408
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
31136
31409
  isInTrash?: boolean
31137
31410
  movedToTrashDate?: Date | string | null
31411
+ referralCode?: string
31138
31412
  created_at?: Date | string
31139
31413
  updated_at?: Date | string
31140
31414
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -31146,6 +31420,7 @@ export namespace Prisma {
31146
31420
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
31147
31421
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
31148
31422
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
31423
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
31149
31424
  }
31150
31425
 
31151
31426
  export type ProfileUncheckedCreateWithoutTagsInput = {
@@ -31171,6 +31446,7 @@ export namespace Prisma {
31171
31446
  residenceLocationId?: string | null
31172
31447
  isInTrash?: boolean
31173
31448
  movedToTrashDate?: Date | string | null
31449
+ referralCode?: string
31174
31450
  created_at?: Date | string
31175
31451
  updated_at?: Date | string
31176
31452
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -31180,6 +31456,7 @@ export namespace Prisma {
31180
31456
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
31181
31457
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
31182
31458
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
31459
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
31183
31460
  }
31184
31461
 
31185
31462
  export type ProfileCreateOrConnectWithoutTagsInput = {
@@ -31846,12 +32123,14 @@ export namespace Prisma {
31846
32123
  created_at?: Date | string
31847
32124
  updated_at?: Date | string
31848
32125
  tickets?: TicketCreateNestedManyWithoutTicketGroupInput
32126
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
31849
32127
  }
31850
32128
 
31851
32129
  export type TicketGroupUncheckedCreateWithoutEventInput = {
31852
32130
  id?: string
31853
32131
  status: $Enums.TicketGroupStatus
31854
32132
  amountTickets?: number
32133
+ referralCode?: string | null
31855
32134
  created_at?: Date | string
31856
32135
  updated_at?: Date | string
31857
32136
  tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
@@ -32252,18 +32531,6 @@ export namespace Prisma {
32252
32531
  data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutEventInput>
32253
32532
  }
32254
32533
 
32255
- export type TicketGroupScalarWhereInput = {
32256
- AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
32257
- OR?: TicketGroupScalarWhereInput[]
32258
- NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
32259
- id?: StringFilter<"TicketGroup"> | string
32260
- status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
32261
- amountTickets?: IntFilter<"TicketGroup"> | number
32262
- eventId?: StringFilter<"TicketGroup"> | string
32263
- created_at?: DateTimeFilter<"TicketGroup"> | Date | string
32264
- updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
32265
- }
32266
-
32267
32534
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
32268
32535
  where: EventWhereUniqueInput
32269
32536
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -32454,6 +32721,7 @@ export namespace Prisma {
32454
32721
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
32455
32722
  isInTrash?: boolean
32456
32723
  movedToTrashDate?: Date | string | null
32724
+ referralCode?: string
32457
32725
  created_at?: Date | string
32458
32726
  updated_at?: Date | string
32459
32727
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -32465,6 +32733,7 @@ export namespace Prisma {
32465
32733
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
32466
32734
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
32467
32735
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
32736
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
32468
32737
  }
32469
32738
 
32470
32739
  export type ProfileUncheckedCreateWithoutMessagesInput = {
@@ -32490,6 +32759,7 @@ export namespace Prisma {
32490
32759
  residenceLocationId?: string | null
32491
32760
  isInTrash?: boolean
32492
32761
  movedToTrashDate?: Date | string | null
32762
+ referralCode?: string
32493
32763
  created_at?: Date | string
32494
32764
  updated_at?: Date | string
32495
32765
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -32499,6 +32769,7 @@ export namespace Prisma {
32499
32769
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
32500
32770
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
32501
32771
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
32772
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
32502
32773
  }
32503
32774
 
32504
32775
  export type ProfileCreateOrConnectWithoutMessagesInput = {
@@ -32538,6 +32809,7 @@ export namespace Prisma {
32538
32809
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
32539
32810
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
32540
32811
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
32812
+ referralCode?: StringFieldUpdateOperationsInput | string
32541
32813
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32542
32814
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32543
32815
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -32549,6 +32821,7 @@ export namespace Prisma {
32549
32821
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
32550
32822
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
32551
32823
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
32824
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
32552
32825
  }
32553
32826
 
32554
32827
  export type ProfileUncheckedUpdateWithoutMessagesInput = {
@@ -32574,6 +32847,7 @@ export namespace Prisma {
32574
32847
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
32575
32848
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
32576
32849
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
32850
+ referralCode?: StringFieldUpdateOperationsInput | string
32577
32851
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32578
32852
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32579
32853
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -32583,6 +32857,7 @@ export namespace Prisma {
32583
32857
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
32584
32858
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
32585
32859
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
32860
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
32586
32861
  }
32587
32862
 
32588
32863
  export type EventCreateWithoutTicketsInput = {
@@ -32661,6 +32936,7 @@ export namespace Prisma {
32661
32936
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
32662
32937
  isInTrash?: boolean
32663
32938
  movedToTrashDate?: Date | string | null
32939
+ referralCode?: string
32664
32940
  created_at?: Date | string
32665
32941
  updated_at?: Date | string
32666
32942
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -32672,6 +32948,7 @@ export namespace Prisma {
32672
32948
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
32673
32949
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
32674
32950
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
32951
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
32675
32952
  }
32676
32953
 
32677
32954
  export type ProfileUncheckedCreateWithoutTicketsInput = {
@@ -32697,6 +32974,7 @@ export namespace Prisma {
32697
32974
  residenceLocationId?: string | null
32698
32975
  isInTrash?: boolean
32699
32976
  movedToTrashDate?: Date | string | null
32977
+ referralCode?: string
32700
32978
  created_at?: Date | string
32701
32979
  updated_at?: Date | string
32702
32980
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -32706,6 +32984,7 @@ export namespace Prisma {
32706
32984
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
32707
32985
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
32708
32986
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
32987
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
32709
32988
  }
32710
32989
 
32711
32990
  export type ProfileCreateOrConnectWithoutTicketsInput = {
@@ -32720,6 +32999,7 @@ export namespace Prisma {
32720
32999
  created_at?: Date | string
32721
33000
  updated_at?: Date | string
32722
33001
  event: EventCreateNestedOneWithoutTicketGroupsInput
33002
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
32723
33003
  }
32724
33004
 
32725
33005
  export type TicketGroupUncheckedCreateWithoutTicketsInput = {
@@ -32727,6 +33007,7 @@ export namespace Prisma {
32727
33007
  status: $Enums.TicketGroupStatus
32728
33008
  amountTickets?: number
32729
33009
  eventId: string
33010
+ referralCode?: string | null
32730
33011
  created_at?: Date | string
32731
33012
  updated_at?: Date | string
32732
33013
  }
@@ -32829,6 +33110,7 @@ export namespace Prisma {
32829
33110
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
32830
33111
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
32831
33112
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33113
+ referralCode?: StringFieldUpdateOperationsInput | string
32832
33114
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32833
33115
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32834
33116
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -32840,6 +33122,7 @@ export namespace Prisma {
32840
33122
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
32841
33123
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
32842
33124
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33125
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
32843
33126
  }
32844
33127
 
32845
33128
  export type ProfileUncheckedUpdateWithoutTicketsInput = {
@@ -32865,6 +33148,7 @@ export namespace Prisma {
32865
33148
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
32866
33149
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
32867
33150
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33151
+ referralCode?: StringFieldUpdateOperationsInput | string
32868
33152
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32869
33153
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32870
33154
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -32874,6 +33158,7 @@ export namespace Prisma {
32874
33158
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
32875
33159
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
32876
33160
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33161
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
32877
33162
  }
32878
33163
 
32879
33164
  export type TicketGroupUpsertWithoutTicketsInput = {
@@ -32894,6 +33179,7 @@ export namespace Prisma {
32894
33179
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32895
33180
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32896
33181
  event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
33182
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
32897
33183
  }
32898
33184
 
32899
33185
  export type TicketGroupUncheckedUpdateWithoutTicketsInput = {
@@ -32901,6 +33187,7 @@ export namespace Prisma {
32901
33187
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
32902
33188
  amountTickets?: IntFieldUpdateOperationsInput | number
32903
33189
  eventId?: StringFieldUpdateOperationsInput | string
33190
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
32904
33191
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32905
33192
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32906
33193
  }
@@ -33000,6 +33287,83 @@ export namespace Prisma {
33000
33287
  skipDuplicates?: boolean
33001
33288
  }
33002
33289
 
33290
+ export type ProfileCreateWithoutReferralCodeUsedInput = {
33291
+ id?: string
33292
+ shortId: number
33293
+ role?: $Enums.Role
33294
+ firstTimeMiExpo?: boolean
33295
+ username?: string | null
33296
+ password?: string | null
33297
+ phoneNumber: string
33298
+ isPhoneVerified?: boolean
33299
+ secondaryPhoneNumber?: string | null
33300
+ fullName: string
33301
+ firstName?: string | null
33302
+ gender?: string | null
33303
+ birthDate?: Date | string | null
33304
+ profilePictureUrl?: string | null
33305
+ instagram?: string | null
33306
+ mail?: string | null
33307
+ dni?: string | null
33308
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33309
+ isInTrash?: boolean
33310
+ movedToTrashDate?: Date | string | null
33311
+ referralCode?: string
33312
+ created_at?: Date | string
33313
+ updated_at?: Date | string
33314
+ otp?: OtpCreateNestedManyWithoutOwnerInput
33315
+ comments?: CommentCreateNestedManyWithoutProfileInput
33316
+ messages?: MessageCreateNestedManyWithoutProfileInput
33317
+ tags?: TagCreateNestedManyWithoutProfilesInput
33318
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
33319
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
33320
+ tickets?: TicketCreateNestedManyWithoutProfileInput
33321
+ productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33322
+ productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
33323
+ productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33324
+ }
33325
+
33326
+ export type ProfileUncheckedCreateWithoutReferralCodeUsedInput = {
33327
+ id?: string
33328
+ shortId: number
33329
+ role?: $Enums.Role
33330
+ firstTimeMiExpo?: boolean
33331
+ username?: string | null
33332
+ password?: string | null
33333
+ phoneNumber: string
33334
+ isPhoneVerified?: boolean
33335
+ secondaryPhoneNumber?: string | null
33336
+ fullName: string
33337
+ firstName?: string | null
33338
+ gender?: string | null
33339
+ birthDate?: Date | string | null
33340
+ profilePictureUrl?: string | null
33341
+ instagram?: string | null
33342
+ mail?: string | null
33343
+ dni?: string | null
33344
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33345
+ birthLocationId?: string | null
33346
+ residenceLocationId?: string | null
33347
+ isInTrash?: boolean
33348
+ movedToTrashDate?: Date | string | null
33349
+ referralCode?: string
33350
+ created_at?: Date | string
33351
+ updated_at?: Date | string
33352
+ otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
33353
+ comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
33354
+ messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
33355
+ tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
33356
+ tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33357
+ productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33358
+ productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
33359
+ productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33360
+ }
33361
+
33362
+ export type ProfileCreateOrConnectWithoutReferralCodeUsedInput = {
33363
+ where: ProfileWhereUniqueInput
33364
+ create: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
33365
+ }
33366
+
33003
33367
  export type EventUpsertWithoutTicketGroupsInput = {
33004
33368
  update: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
33005
33369
  create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
@@ -33077,6 +33441,89 @@ export namespace Prisma {
33077
33441
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutTicketGroupInput>
33078
33442
  }
33079
33443
 
33444
+ export type ProfileUpsertWithoutReferralCodeUsedInput = {
33445
+ update: XOR<ProfileUpdateWithoutReferralCodeUsedInput, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
33446
+ create: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
33447
+ where?: ProfileWhereInput
33448
+ }
33449
+
33450
+ export type ProfileUpdateToOneWithWhereWithoutReferralCodeUsedInput = {
33451
+ where?: ProfileWhereInput
33452
+ data: XOR<ProfileUpdateWithoutReferralCodeUsedInput, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
33453
+ }
33454
+
33455
+ export type ProfileUpdateWithoutReferralCodeUsedInput = {
33456
+ id?: StringFieldUpdateOperationsInput | string
33457
+ shortId?: IntFieldUpdateOperationsInput | number
33458
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
33459
+ firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
33460
+ username?: NullableStringFieldUpdateOperationsInput | string | null
33461
+ password?: NullableStringFieldUpdateOperationsInput | string | null
33462
+ phoneNumber?: StringFieldUpdateOperationsInput | string
33463
+ isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
33464
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
33465
+ fullName?: StringFieldUpdateOperationsInput | string
33466
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
33467
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
33468
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33469
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
33470
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
33471
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
33472
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
33473
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
33474
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
33475
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33476
+ referralCode?: StringFieldUpdateOperationsInput | string
33477
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33478
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33479
+ otp?: OtpUpdateManyWithoutOwnerNestedInput
33480
+ comments?: CommentUpdateManyWithoutProfileNestedInput
33481
+ messages?: MessageUpdateManyWithoutProfileNestedInput
33482
+ tags?: TagUpdateManyWithoutProfilesNestedInput
33483
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
33484
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
33485
+ tickets?: TicketUpdateManyWithoutProfileNestedInput
33486
+ productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
33487
+ productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
33488
+ productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33489
+ }
33490
+
33491
+ export type ProfileUncheckedUpdateWithoutReferralCodeUsedInput = {
33492
+ id?: StringFieldUpdateOperationsInput | string
33493
+ shortId?: IntFieldUpdateOperationsInput | number
33494
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
33495
+ firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
33496
+ username?: NullableStringFieldUpdateOperationsInput | string | null
33497
+ password?: NullableStringFieldUpdateOperationsInput | string | null
33498
+ phoneNumber?: StringFieldUpdateOperationsInput | string
33499
+ isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
33500
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
33501
+ fullName?: StringFieldUpdateOperationsInput | string
33502
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
33503
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
33504
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33505
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
33506
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
33507
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
33508
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
33509
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
33510
+ birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33511
+ residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33512
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
33513
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33514
+ referralCode?: StringFieldUpdateOperationsInput | string
33515
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33516
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33517
+ otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
33518
+ comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
33519
+ messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
33520
+ tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
33521
+ tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33522
+ productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
33523
+ productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
33524
+ productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33525
+ }
33526
+
33080
33527
  export type EventCreateWithoutEventTicketsInput = {
33081
33528
  id?: string
33082
33529
  name: string
@@ -33214,6 +33661,7 @@ export namespace Prisma {
33214
33661
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33215
33662
  isInTrash?: boolean
33216
33663
  movedToTrashDate?: Date | string | null
33664
+ referralCode?: string
33217
33665
  created_at?: Date | string
33218
33666
  updated_at?: Date | string
33219
33667
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -33225,6 +33673,7 @@ export namespace Prisma {
33225
33673
  tickets?: TicketCreateNestedManyWithoutProfileInput
33226
33674
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
33227
33675
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33676
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33228
33677
  }
33229
33678
 
33230
33679
  export type ProfileUncheckedCreateWithoutProductionsAdministratedInput = {
@@ -33250,6 +33699,7 @@ export namespace Prisma {
33250
33699
  residenceLocationId?: string | null
33251
33700
  isInTrash?: boolean
33252
33701
  movedToTrashDate?: Date | string | null
33702
+ referralCode?: string
33253
33703
  created_at?: Date | string
33254
33704
  updated_at?: Date | string
33255
33705
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -33259,6 +33709,7 @@ export namespace Prisma {
33259
33709
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33260
33710
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
33261
33711
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33712
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33262
33713
  }
33263
33714
 
33264
33715
  export type ProfileCreateOrConnectWithoutProductionsAdministratedInput = {
@@ -33287,6 +33738,7 @@ export namespace Prisma {
33287
33738
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33288
33739
  isInTrash?: boolean
33289
33740
  movedToTrashDate?: Date | string | null
33741
+ referralCode?: string
33290
33742
  created_at?: Date | string
33291
33743
  updated_at?: Date | string
33292
33744
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -33298,6 +33750,7 @@ export namespace Prisma {
33298
33750
  tickets?: TicketCreateNestedManyWithoutProfileInput
33299
33751
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33300
33752
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33753
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33301
33754
  }
33302
33755
 
33303
33756
  export type ProfileUncheckedCreateWithoutProductionsParticipatedInput = {
@@ -33323,6 +33776,7 @@ export namespace Prisma {
33323
33776
  residenceLocationId?: string | null
33324
33777
  isInTrash?: boolean
33325
33778
  movedToTrashDate?: Date | string | null
33779
+ referralCode?: string
33326
33780
  created_at?: Date | string
33327
33781
  updated_at?: Date | string
33328
33782
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -33332,6 +33786,7 @@ export namespace Prisma {
33332
33786
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33333
33787
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33334
33788
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33789
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33335
33790
  }
33336
33791
 
33337
33792
  export type ProfileCreateOrConnectWithoutProductionsParticipatedInput = {
@@ -33454,6 +33909,7 @@ export namespace Prisma {
33454
33909
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
33455
33910
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
33456
33911
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33912
+ referralCode?: StringFieldUpdateOperationsInput | string
33457
33913
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33458
33914
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33459
33915
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -33465,6 +33921,7 @@ export namespace Prisma {
33465
33921
  tickets?: TicketUpdateManyWithoutProfileNestedInput
33466
33922
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
33467
33923
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33924
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
33468
33925
  }
33469
33926
 
33470
33927
  export type ProfileUncheckedUpdateWithoutProductionsAdministratedInput = {
@@ -33490,6 +33947,7 @@ export namespace Prisma {
33490
33947
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33491
33948
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
33492
33949
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33950
+ referralCode?: StringFieldUpdateOperationsInput | string
33493
33951
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33494
33952
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33495
33953
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -33499,6 +33957,7 @@ export namespace Prisma {
33499
33957
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33500
33958
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
33501
33959
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33960
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
33502
33961
  }
33503
33962
 
33504
33963
  export type ProfileUpsertWithWhereUniqueWithoutProductionsParticipatedInput = {
@@ -33595,6 +34054,7 @@ export namespace Prisma {
33595
34054
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33596
34055
  isInTrash?: boolean
33597
34056
  movedToTrashDate?: Date | string | null
34057
+ referralCode?: string
33598
34058
  created_at?: Date | string
33599
34059
  updated_at?: Date | string
33600
34060
  otp?: OtpCreateNestedManyWithoutOwnerInput
@@ -33606,6 +34066,7 @@ export namespace Prisma {
33606
34066
  tickets?: TicketCreateNestedManyWithoutProfileInput
33607
34067
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33608
34068
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
34069
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33609
34070
  }
33610
34071
 
33611
34072
  export type ProfileUncheckedCreateWithoutProductionRequestsSentInput = {
@@ -33631,6 +34092,7 @@ export namespace Prisma {
33631
34092
  residenceLocationId?: string | null
33632
34093
  isInTrash?: boolean
33633
34094
  movedToTrashDate?: Date | string | null
34095
+ referralCode?: string
33634
34096
  created_at?: Date | string
33635
34097
  updated_at?: Date | string
33636
34098
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
@@ -33640,6 +34102,7 @@ export namespace Prisma {
33640
34102
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33641
34103
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33642
34104
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
34105
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33643
34106
  }
33644
34107
 
33645
34108
  export type ProfileCreateOrConnectWithoutProductionRequestsSentInput = {
@@ -33710,6 +34173,7 @@ export namespace Prisma {
33710
34173
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
33711
34174
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
33712
34175
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34176
+ referralCode?: StringFieldUpdateOperationsInput | string
33713
34177
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33714
34178
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33715
34179
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -33721,6 +34185,7 @@ export namespace Prisma {
33721
34185
  tickets?: TicketUpdateManyWithoutProfileNestedInput
33722
34186
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
33723
34187
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34188
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
33724
34189
  }
33725
34190
 
33726
34191
  export type ProfileUncheckedUpdateWithoutProductionRequestsSentInput = {
@@ -33746,6 +34211,7 @@ export namespace Prisma {
33746
34211
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33747
34212
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
33748
34213
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34214
+ referralCode?: StringFieldUpdateOperationsInput | string
33749
34215
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33750
34216
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33751
34217
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -33755,6 +34221,7 @@ export namespace Prisma {
33755
34221
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33756
34222
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
33757
34223
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34224
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
33758
34225
  }
33759
34226
 
33760
34227
  export type CommentCreateManyAccountInput = {
@@ -33991,6 +34458,15 @@ export namespace Prisma {
33991
34458
  updated_at?: Date | string
33992
34459
  }
33993
34460
 
34461
+ export type TicketGroupCreateManyReferralCodeProfileInput = {
34462
+ id?: string
34463
+ status: $Enums.TicketGroupStatus
34464
+ amountTickets?: number
34465
+ eventId: string
34466
+ created_at?: Date | string
34467
+ updated_at?: Date | string
34468
+ }
34469
+
33994
34470
  export type OtpUpdateWithoutOwnerInput = {
33995
34471
  id?: StringFieldUpdateOperationsInput | string
33996
34472
  code?: StringFieldUpdateOperationsInput | string
@@ -34244,6 +34720,35 @@ export namespace Prisma {
34244
34720
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34245
34721
  }
34246
34722
 
34723
+ export type TicketGroupUpdateWithoutReferralCodeProfileInput = {
34724
+ id?: StringFieldUpdateOperationsInput | string
34725
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34726
+ amountTickets?: IntFieldUpdateOperationsInput | number
34727
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34728
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34729
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
34730
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
34731
+ }
34732
+
34733
+ export type TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput = {
34734
+ id?: StringFieldUpdateOperationsInput | string
34735
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34736
+ amountTickets?: IntFieldUpdateOperationsInput | number
34737
+ eventId?: StringFieldUpdateOperationsInput | string
34738
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34739
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34740
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
34741
+ }
34742
+
34743
+ export type TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileInput = {
34744
+ id?: StringFieldUpdateOperationsInput | string
34745
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34746
+ amountTickets?: IntFieldUpdateOperationsInput | number
34747
+ eventId?: StringFieldUpdateOperationsInput | string
34748
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34749
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34750
+ }
34751
+
34247
34752
  export type ProfileCreateManyBirthLocationInput = {
34248
34753
  id?: string
34249
34754
  shortId: number
@@ -34266,6 +34771,7 @@ export namespace Prisma {
34266
34771
  residenceLocationId?: string | null
34267
34772
  isInTrash?: boolean
34268
34773
  movedToTrashDate?: Date | string | null
34774
+ referralCode?: string
34269
34775
  created_at?: Date | string
34270
34776
  updated_at?: Date | string
34271
34777
  }
@@ -34292,6 +34798,7 @@ export namespace Prisma {
34292
34798
  birthLocationId?: string | null
34293
34799
  isInTrash?: boolean
34294
34800
  movedToTrashDate?: Date | string | null
34801
+ referralCode?: string
34295
34802
  created_at?: Date | string
34296
34803
  updated_at?: Date | string
34297
34804
  }
@@ -34317,6 +34824,7 @@ export namespace Prisma {
34317
34824
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
34318
34825
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34319
34826
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34827
+ referralCode?: StringFieldUpdateOperationsInput | string
34320
34828
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34321
34829
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34322
34830
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -34328,6 +34836,7 @@ export namespace Prisma {
34328
34836
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34329
34837
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34330
34838
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
34839
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34331
34840
  }
34332
34841
 
34333
34842
  export type ProfileUncheckedUpdateWithoutBirthLocationInput = {
@@ -34352,6 +34861,7 @@ export namespace Prisma {
34352
34861
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34353
34862
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34354
34863
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34864
+ referralCode?: StringFieldUpdateOperationsInput | string
34355
34865
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34356
34866
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34357
34867
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -34362,6 +34872,7 @@ export namespace Prisma {
34362
34872
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34363
34873
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34364
34874
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
34875
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34365
34876
  }
34366
34877
 
34367
34878
  export type ProfileUncheckedUpdateManyWithoutBirthLocationInput = {
@@ -34386,6 +34897,7 @@ export namespace Prisma {
34386
34897
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34387
34898
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34388
34899
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34900
+ referralCode?: StringFieldUpdateOperationsInput | string
34389
34901
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34390
34902
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34391
34903
  }
@@ -34411,6 +34923,7 @@ export namespace Prisma {
34411
34923
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
34412
34924
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34413
34925
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34926
+ referralCode?: StringFieldUpdateOperationsInput | string
34414
34927
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34415
34928
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34416
34929
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -34422,6 +34935,7 @@ export namespace Prisma {
34422
34935
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34423
34936
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34424
34937
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
34938
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34425
34939
  }
34426
34940
 
34427
34941
  export type ProfileUncheckedUpdateWithoutResidenceLocationInput = {
@@ -34446,6 +34960,7 @@ export namespace Prisma {
34446
34960
  birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34447
34961
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34448
34962
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34963
+ referralCode?: StringFieldUpdateOperationsInput | string
34449
34964
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34450
34965
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34451
34966
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -34456,6 +34971,7 @@ export namespace Prisma {
34456
34971
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34457
34972
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34458
34973
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
34974
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34459
34975
  }
34460
34976
 
34461
34977
  export type ProfileUncheckedUpdateManyWithoutResidenceLocationInput = {
@@ -34480,6 +34996,7 @@ export namespace Prisma {
34480
34996
  birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34481
34997
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34482
34998
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34999
+ referralCode?: StringFieldUpdateOperationsInput | string
34483
35000
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34484
35001
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34485
35002
  }
@@ -34544,6 +35061,7 @@ export namespace Prisma {
34544
35061
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
34545
35062
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34546
35063
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35064
+ referralCode?: StringFieldUpdateOperationsInput | string
34547
35065
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34548
35066
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34549
35067
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -34555,6 +35073,7 @@ export namespace Prisma {
34555
35073
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34556
35074
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34557
35075
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
35076
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34558
35077
  }
34559
35078
 
34560
35079
  export type ProfileUncheckedUpdateWithoutTagsInput = {
@@ -34580,6 +35099,7 @@ export namespace Prisma {
34580
35099
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34581
35100
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34582
35101
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35102
+ referralCode?: StringFieldUpdateOperationsInput | string
34583
35103
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34584
35104
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34585
35105
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -34589,6 +35109,7 @@ export namespace Prisma {
34589
35109
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34590
35110
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34591
35111
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
35112
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34592
35113
  }
34593
35114
 
34594
35115
  export type ProfileUncheckedUpdateManyWithoutTagsInput = {
@@ -34614,6 +35135,7 @@ export namespace Prisma {
34614
35135
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
34615
35136
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
34616
35137
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35138
+ referralCode?: StringFieldUpdateOperationsInput | string
34617
35139
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34618
35140
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34619
35141
  }
@@ -34860,6 +35382,7 @@ export namespace Prisma {
34860
35382
  id?: string
34861
35383
  status: $Enums.TicketGroupStatus
34862
35384
  amountTickets?: number
35385
+ referralCode?: string | null
34863
35386
  created_at?: Date | string
34864
35387
  updated_at?: Date | string
34865
35388
  }
@@ -34943,12 +35466,14 @@ export namespace Prisma {
34943
35466
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34944
35467
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34945
35468
  tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
35469
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
34946
35470
  }
34947
35471
 
34948
35472
  export type TicketGroupUncheckedUpdateWithoutEventInput = {
34949
35473
  id?: StringFieldUpdateOperationsInput | string
34950
35474
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34951
35475
  amountTickets?: IntFieldUpdateOperationsInput | number
35476
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
34952
35477
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34953
35478
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34954
35479
  tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
@@ -34958,6 +35483,7 @@ export namespace Prisma {
34958
35483
  id?: StringFieldUpdateOperationsInput | string
34959
35484
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34960
35485
  amountTickets?: IntFieldUpdateOperationsInput | number
35486
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
34961
35487
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34962
35488
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34963
35489
  }
@@ -35339,6 +35865,7 @@ export namespace Prisma {
35339
35865
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
35340
35866
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
35341
35867
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35868
+ referralCode?: StringFieldUpdateOperationsInput | string
35342
35869
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35343
35870
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35344
35871
  otp?: OtpUpdateManyWithoutOwnerNestedInput
@@ -35350,6 +35877,7 @@ export namespace Prisma {
35350
35877
  tickets?: TicketUpdateManyWithoutProfileNestedInput
35351
35878
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
35352
35879
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
35880
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
35353
35881
  }
35354
35882
 
35355
35883
  export type ProfileUncheckedUpdateWithoutProductionsParticipatedInput = {
@@ -35375,6 +35903,7 @@ export namespace Prisma {
35375
35903
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
35376
35904
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
35377
35905
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35906
+ referralCode?: StringFieldUpdateOperationsInput | string
35378
35907
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35379
35908
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35380
35909
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
@@ -35384,6 +35913,7 @@ export namespace Prisma {
35384
35913
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
35385
35914
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
35386
35915
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
35916
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
35387
35917
  }
35388
35918
 
35389
35919
  export type ProfileUncheckedUpdateManyWithoutProductionsParticipatedInput = {
@@ -35409,6 +35939,7 @@ export namespace Prisma {
35409
35939
  residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
35410
35940
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
35411
35941
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35942
+ referralCode?: StringFieldUpdateOperationsInput | string
35412
35943
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35413
35944
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35414
35945
  }