expo-backend-types 0.53.0-EXPO-366-EB-Schema-codigo-referido.9 → 0.53.0-EXPO-366-EB-Schema-codigo-referido.11

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 +10 -5
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -0
  3. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +5 -0
  4. package/dist/src/mi-expo/dto/get-me.dto.d.ts +5 -5
  5. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +9 -9
  6. package/dist/src/mi-expo/dto/login.dto.d.ts +9 -9
  7. package/dist/src/mi-expo/dto/update-me.dto.d.ts +5 -5
  8. package/dist/src/otp/dto/verify-otp.dto.d.ts +8 -8
  9. package/dist/src/production/dto/get-all-production.dto.d.ts +12 -12
  10. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +12 -12
  11. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +8 -8
  12. package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -4
  13. package/dist/src/profile/dto/find-all-profile.dto.d.ts +8 -8
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +12 -12
  15. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +5 -5
  16. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -4
  17. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +8 -8
  18. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +8 -8
  19. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +8 -8
  20. package/dist/src/profile/dto/profile.dto.d.ts +2 -2
  21. package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
  22. package/dist/src/schema/profile.schema.d.ts +2 -2
  23. package/dist/src/tag/dto/massive-allocation.dto.d.ts +8 -8
  24. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +8 -8
  25. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +9 -2
  26. package/dist/src/ticket/dto/create-ticket.dto.d.ts +9 -2
  27. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +6 -0
  28. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +10 -0
  29. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +22 -12
  30. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +22 -12
  31. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +22 -12
  32. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +10 -0
  33. package/dist/src/ticket/dto/find-ticket.dto.d.ts +6 -0
  34. package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.d.ts +5 -0
  35. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +6 -0
  36. package/dist/src/ticket/dto/ticket.dto.d.ts +6 -0
  37. package/dist/src/ticket/dto/ticket.dto.js +1 -0
  38. package/dist/src/ticket/dto/update-ticket.dto.d.ts +6 -0
  39. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +17 -7
  40. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +6 -6
  41. package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +6 -6
  42. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +6 -6
  43. package/dist/src/ticket-group/dto/ticket-group.dto.js +1 -1
  44. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +8 -8
  45. package/dist/types/prisma-schema/edge.js +4 -3
  46. package/dist/types/prisma-schema/index-browser.js +1 -0
  47. package/dist/types/prisma-schema/index.d.ts +496 -33
  48. package/dist/types/prisma-schema/index.js +4 -3
  49. package/dist/types/prisma-schema/package.json +1 -1
  50. package/dist/types/prisma-schema/schema.prisma +7 -1
  51. package/dist/types/prisma-schema/wasm.js +1 -0
  52. package/dist/types/schema.d.ts +17 -4
  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
@@ -4473,6 +4482,7 @@ export namespace Prisma {
4473
4482
  productionsAdministrated?: boolean | Profile$productionsAdministratedArgs<ExtArgs>
4474
4483
  productionsParticipated?: boolean | Profile$productionsParticipatedArgs<ExtArgs>
4475
4484
  productionRequestsSent?: boolean | Profile$productionRequestsSentArgs<ExtArgs>
4485
+ referralCodeUsed?: boolean | Profile$referralCodeUsedArgs<ExtArgs>
4476
4486
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4477
4487
  }, ExtArgs["result"]["profile"]>
4478
4488
 
@@ -4576,6 +4586,7 @@ export namespace Prisma {
4576
4586
  productionsAdministrated?: boolean | Profile$productionsAdministratedArgs<ExtArgs>
4577
4587
  productionsParticipated?: boolean | Profile$productionsParticipatedArgs<ExtArgs>
4578
4588
  productionRequestsSent?: boolean | Profile$productionRequestsSentArgs<ExtArgs>
4589
+ referralCodeUsed?: boolean | Profile$referralCodeUsedArgs<ExtArgs>
4579
4590
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4580
4591
  }
4581
4592
  export type ProfileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -4600,6 +4611,7 @@ export namespace Prisma {
4600
4611
  productionsAdministrated: Prisma.$ProductionPayload<ExtArgs>[]
4601
4612
  productionsParticipated: Prisma.$ProductionPayload<ExtArgs>[]
4602
4613
  productionRequestsSent: Prisma.$ProductionAffiliationRequestPayload<ExtArgs>[]
4614
+ referralCodeUsed: Prisma.$TicketGroupPayload<ExtArgs>[]
4603
4615
  }
4604
4616
  scalars: $Extensions.GetPayloadResult<{
4605
4617
  id: string
@@ -5031,6 +5043,7 @@ export namespace Prisma {
5031
5043
  productionsAdministrated<T extends Profile$productionsAdministratedArgs<ExtArgs> = {}>(args?: Subset<T, Profile$productionsAdministratedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductionPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5032
5044
  productionsParticipated<T extends Profile$productionsParticipatedArgs<ExtArgs> = {}>(args?: Subset<T, Profile$productionsParticipatedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductionPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
5033
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>
5034
5047
  /**
5035
5048
  * Attaches callbacks for the resolution and/or rejection of the Promise.
5036
5049
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -5710,6 +5723,30 @@ export namespace Prisma {
5710
5723
  distinct?: ProductionAffiliationRequestScalarFieldEnum | ProductionAffiliationRequestScalarFieldEnum[]
5711
5724
  }
5712
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
+
5713
5750
  /**
5714
5751
  * Profile without action
5715
5752
  */
@@ -16113,6 +16150,7 @@ export namespace Prisma {
16113
16150
  scannedAt: Date | null
16114
16151
  profileId: string | null
16115
16152
  ticketGroupId: string | null
16153
+ referralCode: string | null
16116
16154
  created_at: Date | null
16117
16155
  updated_at: Date | null
16118
16156
  }
@@ -16129,6 +16167,7 @@ export namespace Prisma {
16129
16167
  scannedAt: Date | null
16130
16168
  profileId: string | null
16131
16169
  ticketGroupId: string | null
16170
+ referralCode: string | null
16132
16171
  created_at: Date | null
16133
16172
  updated_at: Date | null
16134
16173
  }
@@ -16145,6 +16184,7 @@ export namespace Prisma {
16145
16184
  scannedAt: number
16146
16185
  profileId: number
16147
16186
  ticketGroupId: number
16187
+ referralCode: number
16148
16188
  created_at: number
16149
16189
  updated_at: number
16150
16190
  _all: number
@@ -16171,6 +16211,7 @@ export namespace Prisma {
16171
16211
  scannedAt?: true
16172
16212
  profileId?: true
16173
16213
  ticketGroupId?: true
16214
+ referralCode?: true
16174
16215
  created_at?: true
16175
16216
  updated_at?: true
16176
16217
  }
@@ -16187,6 +16228,7 @@ export namespace Prisma {
16187
16228
  scannedAt?: true
16188
16229
  profileId?: true
16189
16230
  ticketGroupId?: true
16231
+ referralCode?: true
16190
16232
  created_at?: true
16191
16233
  updated_at?: true
16192
16234
  }
@@ -16203,6 +16245,7 @@ export namespace Prisma {
16203
16245
  scannedAt?: true
16204
16246
  profileId?: true
16205
16247
  ticketGroupId?: true
16248
+ referralCode?: true
16206
16249
  created_at?: true
16207
16250
  updated_at?: true
16208
16251
  _all?: true
@@ -16306,6 +16349,7 @@ export namespace Prisma {
16306
16349
  scannedAt: Date | null
16307
16350
  profileId: string | null
16308
16351
  ticketGroupId: string | null
16352
+ referralCode: string | null
16309
16353
  created_at: Date
16310
16354
  updated_at: Date
16311
16355
  _count: TicketCountAggregateOutputType | null
@@ -16341,6 +16385,7 @@ export namespace Prisma {
16341
16385
  scannedAt?: boolean
16342
16386
  profileId?: boolean
16343
16387
  ticketGroupId?: boolean
16388
+ referralCode?: boolean
16344
16389
  created_at?: boolean
16345
16390
  updated_at?: boolean
16346
16391
  event?: boolean | EventDefaultArgs<ExtArgs>
@@ -16360,6 +16405,7 @@ export namespace Prisma {
16360
16405
  scannedAt?: boolean
16361
16406
  profileId?: boolean
16362
16407
  ticketGroupId?: boolean
16408
+ referralCode?: boolean
16363
16409
  created_at?: boolean
16364
16410
  updated_at?: boolean
16365
16411
  event?: boolean | EventDefaultArgs<ExtArgs>
@@ -16379,6 +16425,7 @@ export namespace Prisma {
16379
16425
  scannedAt?: boolean
16380
16426
  profileId?: boolean
16381
16427
  ticketGroupId?: boolean
16428
+ referralCode?: boolean
16382
16429
  created_at?: boolean
16383
16430
  updated_at?: boolean
16384
16431
  event?: boolean | EventDefaultArgs<ExtArgs>
@@ -16398,11 +16445,12 @@ export namespace Prisma {
16398
16445
  scannedAt?: boolean
16399
16446
  profileId?: boolean
16400
16447
  ticketGroupId?: boolean
16448
+ referralCode?: boolean
16401
16449
  created_at?: boolean
16402
16450
  updated_at?: boolean
16403
16451
  }
16404
16452
 
16405
- export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "fullName" | "mail" | "dni" | "seat" | "scanned" | "scannedAt" | "profileId" | "ticketGroupId" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
16453
+ export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "fullName" | "mail" | "dni" | "seat" | "scanned" | "scannedAt" | "profileId" | "ticketGroupId" | "referralCode" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
16406
16454
  export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16407
16455
  event?: boolean | EventDefaultArgs<ExtArgs>
16408
16456
  profile?: boolean | Ticket$profileArgs<ExtArgs>
@@ -16438,6 +16486,7 @@ export namespace Prisma {
16438
16486
  scannedAt: Date | null
16439
16487
  profileId: string | null
16440
16488
  ticketGroupId: string | null
16489
+ referralCode: string | null
16441
16490
  created_at: Date
16442
16491
  updated_at: Date
16443
16492
  }, ExtArgs["result"]["ticket"]>
@@ -16877,6 +16926,7 @@ export namespace Prisma {
16877
16926
  readonly scannedAt: FieldRef<"Ticket", 'DateTime'>
16878
16927
  readonly profileId: FieldRef<"Ticket", 'String'>
16879
16928
  readonly ticketGroupId: FieldRef<"Ticket", 'String'>
16929
+ readonly referralCode: FieldRef<"Ticket", 'String'>
16880
16930
  readonly created_at: FieldRef<"Ticket", 'DateTime'>
16881
16931
  readonly updated_at: FieldRef<"Ticket", 'DateTime'>
16882
16932
  }
@@ -17547,6 +17597,7 @@ export namespace Prisma {
17547
17597
  updated_at?: boolean
17548
17598
  event?: boolean | EventDefaultArgs<ExtArgs>
17549
17599
  tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
17600
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17550
17601
  _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
17551
17602
  }, ExtArgs["result"]["ticketGroup"]>
17552
17603
 
@@ -17559,6 +17610,7 @@ export namespace Prisma {
17559
17610
  created_at?: boolean
17560
17611
  updated_at?: boolean
17561
17612
  event?: boolean | EventDefaultArgs<ExtArgs>
17613
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17562
17614
  }, ExtArgs["result"]["ticketGroup"]>
17563
17615
 
17564
17616
  export type TicketGroupSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -17570,6 +17622,7 @@ export namespace Prisma {
17570
17622
  created_at?: boolean
17571
17623
  updated_at?: boolean
17572
17624
  event?: boolean | EventDefaultArgs<ExtArgs>
17625
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17573
17626
  }, ExtArgs["result"]["ticketGroup"]>
17574
17627
 
17575
17628
  export type TicketGroupSelectScalar = {
@@ -17586,13 +17639,16 @@ export namespace Prisma {
17586
17639
  export type TicketGroupInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17587
17640
  event?: boolean | EventDefaultArgs<ExtArgs>
17588
17641
  tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
17642
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17589
17643
  _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
17590
17644
  }
17591
17645
  export type TicketGroupIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17592
17646
  event?: boolean | EventDefaultArgs<ExtArgs>
17647
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17593
17648
  }
17594
17649
  export type TicketGroupIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17595
17650
  event?: boolean | EventDefaultArgs<ExtArgs>
17651
+ referralCodeProfile?: boolean | TicketGroup$referralCodeProfileArgs<ExtArgs>
17596
17652
  }
17597
17653
 
17598
17654
  export type $TicketGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -17600,6 +17656,7 @@ export namespace Prisma {
17600
17656
  objects: {
17601
17657
  event: Prisma.$EventPayload<ExtArgs>
17602
17658
  tickets: Prisma.$TicketPayload<ExtArgs>[]
17659
+ referralCodeProfile: Prisma.$ProfilePayload<ExtArgs> | null
17603
17660
  }
17604
17661
  scalars: $Extensions.GetPayloadResult<{
17605
17662
  id: string
@@ -18005,6 +18062,7 @@ export namespace Prisma {
18005
18062
  readonly [Symbol.toStringTag]: "PrismaPromise"
18006
18063
  event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
18007
18064
  tickets<T extends TicketGroup$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
18065
+ 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>
18008
18066
  /**
18009
18067
  * Attaches callbacks for the resolution and/or rejection of the Promise.
18010
18068
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -18460,6 +18518,25 @@ export namespace Prisma {
18460
18518
  distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
18461
18519
  }
18462
18520
 
18521
+ /**
18522
+ * TicketGroup.referralCodeProfile
18523
+ */
18524
+ export type TicketGroup$referralCodeProfileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18525
+ /**
18526
+ * Select specific fields to fetch from the Profile
18527
+ */
18528
+ select?: ProfileSelect<ExtArgs> | null
18529
+ /**
18530
+ * Omit specific fields from the Profile
18531
+ */
18532
+ omit?: ProfileOmit<ExtArgs> | null
18533
+ /**
18534
+ * Choose, which related nodes to fetch as well
18535
+ */
18536
+ include?: ProfileInclude<ExtArgs> | null
18537
+ where?: ProfileWhereInput
18538
+ }
18539
+
18463
18540
  /**
18464
18541
  * TicketGroup without action
18465
18542
  */
@@ -23019,6 +23096,7 @@ export namespace Prisma {
23019
23096
  scannedAt: 'scannedAt',
23020
23097
  profileId: 'profileId',
23021
23098
  ticketGroupId: 'ticketGroupId',
23099
+ referralCode: 'referralCode',
23022
23100
  created_at: 'created_at',
23023
23101
  updated_at: 'updated_at'
23024
23102
  };
@@ -23440,6 +23518,7 @@ export namespace Prisma {
23440
23518
  productionsAdministrated?: ProductionListRelationFilter
23441
23519
  productionsParticipated?: ProductionListRelationFilter
23442
23520
  productionRequestsSent?: ProductionAffiliationRequestListRelationFilter
23521
+ referralCodeUsed?: TicketGroupListRelationFilter
23443
23522
  }
23444
23523
 
23445
23524
  export type ProfileOrderByWithRelationInput = {
@@ -23478,6 +23557,7 @@ export namespace Prisma {
23478
23557
  productionsAdministrated?: ProductionOrderByRelationAggregateInput
23479
23558
  productionsParticipated?: ProductionOrderByRelationAggregateInput
23480
23559
  productionRequestsSent?: ProductionAffiliationRequestOrderByRelationAggregateInput
23560
+ referralCodeUsed?: TicketGroupOrderByRelationAggregateInput
23481
23561
  }
23482
23562
 
23483
23563
  export type ProfileWhereUniqueInput = Prisma.AtLeast<{
@@ -23485,6 +23565,7 @@ export namespace Prisma {
23485
23565
  username?: string
23486
23566
  phoneNumber?: string
23487
23567
  secondaryPhoneNumber?: string
23568
+ referralCode?: string
23488
23569
  AND?: ProfileWhereInput | ProfileWhereInput[]
23489
23570
  OR?: ProfileWhereInput[]
23490
23571
  NOT?: ProfileWhereInput | ProfileWhereInput[]
@@ -23506,7 +23587,6 @@ export namespace Prisma {
23506
23587
  residenceLocationId?: StringNullableFilter<"Profile"> | string | null
23507
23588
  isInTrash?: BoolFilter<"Profile"> | boolean
23508
23589
  movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
23509
- referralCode?: StringFilter<"Profile"> | string
23510
23590
  created_at?: DateTimeFilter<"Profile"> | Date | string
23511
23591
  updated_at?: DateTimeFilter<"Profile"> | Date | string
23512
23592
  otp?: OtpListRelationFilter
@@ -23519,7 +23599,8 @@ export namespace Prisma {
23519
23599
  productionsAdministrated?: ProductionListRelationFilter
23520
23600
  productionsParticipated?: ProductionListRelationFilter
23521
23601
  productionRequestsSent?: ProductionAffiliationRequestListRelationFilter
23522
- }, "id" | "username" | "phoneNumber" | "secondaryPhoneNumber">
23602
+ referralCodeUsed?: TicketGroupListRelationFilter
23603
+ }, "id" | "username" | "phoneNumber" | "secondaryPhoneNumber" | "referralCode">
23523
23604
 
23524
23605
  export type ProfileOrderByWithAggregationInput = {
23525
23606
  id?: SortOrder
@@ -24275,6 +24356,7 @@ export namespace Prisma {
24275
24356
  scannedAt?: DateTimeNullableFilter<"Ticket"> | Date | string | null
24276
24357
  profileId?: StringNullableFilter<"Ticket"> | string | null
24277
24358
  ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
24359
+ referralCode?: StringNullableFilter<"Ticket"> | string | null
24278
24360
  created_at?: DateTimeFilter<"Ticket"> | Date | string
24279
24361
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
24280
24362
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
@@ -24294,6 +24376,7 @@ export namespace Prisma {
24294
24376
  scannedAt?: SortOrderInput | SortOrder
24295
24377
  profileId?: SortOrderInput | SortOrder
24296
24378
  ticketGroupId?: SortOrderInput | SortOrder
24379
+ referralCode?: SortOrderInput | SortOrder
24297
24380
  created_at?: SortOrder
24298
24381
  updated_at?: SortOrder
24299
24382
  event?: EventOrderByWithRelationInput
@@ -24316,6 +24399,7 @@ export namespace Prisma {
24316
24399
  scannedAt?: DateTimeNullableFilter<"Ticket"> | Date | string | null
24317
24400
  profileId?: StringNullableFilter<"Ticket"> | string | null
24318
24401
  ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
24402
+ referralCode?: StringNullableFilter<"Ticket"> | string | null
24319
24403
  created_at?: DateTimeFilter<"Ticket"> | Date | string
24320
24404
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
24321
24405
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
@@ -24335,6 +24419,7 @@ export namespace Prisma {
24335
24419
  scannedAt?: SortOrderInput | SortOrder
24336
24420
  profileId?: SortOrderInput | SortOrder
24337
24421
  ticketGroupId?: SortOrderInput | SortOrder
24422
+ referralCode?: SortOrderInput | SortOrder
24338
24423
  created_at?: SortOrder
24339
24424
  updated_at?: SortOrder
24340
24425
  _count?: TicketCountOrderByAggregateInput
@@ -24359,6 +24444,7 @@ export namespace Prisma {
24359
24444
  scannedAt?: DateTimeNullableWithAggregatesFilter<"Ticket"> | Date | string | null
24360
24445
  profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
24361
24446
  ticketGroupId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
24447
+ referralCode?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
24362
24448
  created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
24363
24449
  updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
24364
24450
  }
@@ -24376,6 +24462,7 @@ export namespace Prisma {
24376
24462
  updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
24377
24463
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
24378
24464
  tickets?: TicketListRelationFilter
24465
+ referralCodeProfile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
24379
24466
  }
24380
24467
 
24381
24468
  export type TicketGroupOrderByWithRelationInput = {
@@ -24388,6 +24475,7 @@ export namespace Prisma {
24388
24475
  updated_at?: SortOrder
24389
24476
  event?: EventOrderByWithRelationInput
24390
24477
  tickets?: TicketOrderByRelationAggregateInput
24478
+ referralCodeProfile?: ProfileOrderByWithRelationInput
24391
24479
  }
24392
24480
 
24393
24481
  export type TicketGroupWhereUniqueInput = Prisma.AtLeast<{
@@ -24403,6 +24491,7 @@ export namespace Prisma {
24403
24491
  updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
24404
24492
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
24405
24493
  tickets?: TicketListRelationFilter
24494
+ referralCodeProfile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
24406
24495
  }, "id">
24407
24496
 
24408
24497
  export type TicketGroupOrderByWithAggregationInput = {
@@ -24801,6 +24890,7 @@ export namespace Prisma {
24801
24890
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
24802
24891
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
24803
24892
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
24893
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
24804
24894
  }
24805
24895
 
24806
24896
  export type ProfileUncheckedCreateInput = {
@@ -24837,6 +24927,7 @@ export namespace Prisma {
24837
24927
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
24838
24928
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
24839
24929
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
24930
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
24840
24931
  }
24841
24932
 
24842
24933
  export type ProfileUpdateInput = {
@@ -24873,6 +24964,7 @@ export namespace Prisma {
24873
24964
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
24874
24965
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
24875
24966
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
24967
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
24876
24968
  }
24877
24969
 
24878
24970
  export type ProfileUncheckedUpdateInput = {
@@ -24909,6 +25001,7 @@ export namespace Prisma {
24909
25001
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
24910
25002
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
24911
25003
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
25004
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
24912
25005
  }
24913
25006
 
24914
25007
  export type ProfileCreateManyInput = {
@@ -25736,6 +25829,7 @@ export namespace Prisma {
25736
25829
  seat?: number | null
25737
25830
  scanned?: boolean
25738
25831
  scannedAt?: Date | string | null
25832
+ referralCode?: string | null
25739
25833
  created_at?: Date | string
25740
25834
  updated_at?: Date | string
25741
25835
  event: EventCreateNestedOneWithoutTicketsInput
@@ -25755,6 +25849,7 @@ export namespace Prisma {
25755
25849
  scannedAt?: Date | string | null
25756
25850
  profileId?: string | null
25757
25851
  ticketGroupId?: string | null
25852
+ referralCode?: string | null
25758
25853
  created_at?: Date | string
25759
25854
  updated_at?: Date | string
25760
25855
  }
@@ -25768,6 +25863,7 @@ export namespace Prisma {
25768
25863
  seat?: NullableIntFieldUpdateOperationsInput | number | null
25769
25864
  scanned?: BoolFieldUpdateOperationsInput | boolean
25770
25865
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25866
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25771
25867
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25772
25868
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25773
25869
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
@@ -25787,6 +25883,7 @@ export namespace Prisma {
25787
25883
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25788
25884
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
25789
25885
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
25886
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25790
25887
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25791
25888
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25792
25889
  }
@@ -25803,6 +25900,7 @@ export namespace Prisma {
25803
25900
  scannedAt?: Date | string | null
25804
25901
  profileId?: string | null
25805
25902
  ticketGroupId?: string | null
25903
+ referralCode?: string | null
25806
25904
  created_at?: Date | string
25807
25905
  updated_at?: Date | string
25808
25906
  }
@@ -25816,6 +25914,7 @@ export namespace Prisma {
25816
25914
  seat?: NullableIntFieldUpdateOperationsInput | number | null
25817
25915
  scanned?: BoolFieldUpdateOperationsInput | boolean
25818
25916
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25917
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25819
25918
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25820
25919
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25821
25920
  }
@@ -25832,6 +25931,7 @@ export namespace Prisma {
25832
25931
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
25833
25932
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
25834
25933
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
25934
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25835
25935
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25836
25936
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25837
25937
  }
@@ -25840,11 +25940,11 @@ export namespace Prisma {
25840
25940
  id?: string
25841
25941
  status: $Enums.TicketGroupStatus
25842
25942
  amountTickets?: number
25843
- referralCode?: string | null
25844
25943
  created_at?: Date | string
25845
25944
  updated_at?: Date | string
25846
25945
  event: EventCreateNestedOneWithoutTicketGroupsInput
25847
25946
  tickets?: TicketCreateNestedManyWithoutTicketGroupInput
25947
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
25848
25948
  }
25849
25949
 
25850
25950
  export type TicketGroupUncheckedCreateInput = {
@@ -25862,11 +25962,11 @@ export namespace Prisma {
25862
25962
  id?: StringFieldUpdateOperationsInput | string
25863
25963
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
25864
25964
  amountTickets?: IntFieldUpdateOperationsInput | number
25865
- referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25866
25965
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25867
25966
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25868
25967
  event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
25869
25968
  tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
25969
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
25870
25970
  }
25871
25971
 
25872
25972
  export type TicketGroupUncheckedUpdateInput = {
@@ -25894,7 +25994,6 @@ export namespace Prisma {
25894
25994
  id?: StringFieldUpdateOperationsInput | string
25895
25995
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
25896
25996
  amountTickets?: IntFieldUpdateOperationsInput | number
25897
- referralCode?: NullableStringFieldUpdateOperationsInput | string | null
25898
25997
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25899
25998
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25900
25999
  }
@@ -26374,6 +26473,12 @@ export namespace Prisma {
26374
26473
  none?: ProductionAffiliationRequestWhereInput
26375
26474
  }
26376
26475
 
26476
+ export type TicketGroupListRelationFilter = {
26477
+ every?: TicketGroupWhereInput
26478
+ some?: TicketGroupWhereInput
26479
+ none?: TicketGroupWhereInput
26480
+ }
26481
+
26377
26482
  export type SortOrderInput = {
26378
26483
  sort: SortOrder
26379
26484
  nulls?: NullsOrder
@@ -26399,6 +26504,10 @@ export namespace Prisma {
26399
26504
  _count?: SortOrder
26400
26505
  }
26401
26506
 
26507
+ export type TicketGroupOrderByRelationAggregateInput = {
26508
+ _count?: SortOrder
26509
+ }
26510
+
26402
26511
  export type ProfileCountOrderByAggregateInput = {
26403
26512
  id?: SortOrder
26404
26513
  shortId?: SortOrder
@@ -26814,22 +26923,12 @@ export namespace Prisma {
26814
26923
  isNot?: TagWhereInput
26815
26924
  }
26816
26925
 
26817
- export type TicketGroupListRelationFilter = {
26818
- every?: TicketGroupWhereInput
26819
- some?: TicketGroupWhereInput
26820
- none?: TicketGroupWhereInput
26821
- }
26822
-
26823
26926
  export type EventTicketListRelationFilter = {
26824
26927
  every?: EventTicketWhereInput
26825
26928
  some?: EventTicketWhereInput
26826
26929
  none?: EventTicketWhereInput
26827
26930
  }
26828
26931
 
26829
- export type TicketGroupOrderByRelationAggregateInput = {
26830
- _count?: SortOrder
26831
- }
26832
-
26833
26932
  export type EventTicketOrderByRelationAggregateInput = {
26834
26933
  _count?: SortOrder
26835
26934
  }
@@ -27078,6 +27177,7 @@ export namespace Prisma {
27078
27177
  scannedAt?: SortOrder
27079
27178
  profileId?: SortOrder
27080
27179
  ticketGroupId?: SortOrder
27180
+ referralCode?: SortOrder
27081
27181
  created_at?: SortOrder
27082
27182
  updated_at?: SortOrder
27083
27183
  }
@@ -27098,6 +27198,7 @@ export namespace Prisma {
27098
27198
  scannedAt?: SortOrder
27099
27199
  profileId?: SortOrder
27100
27200
  ticketGroupId?: SortOrder
27201
+ referralCode?: SortOrder
27101
27202
  created_at?: SortOrder
27102
27203
  updated_at?: SortOrder
27103
27204
  }
@@ -27114,6 +27215,7 @@ export namespace Prisma {
27114
27215
  scannedAt?: SortOrder
27115
27216
  profileId?: SortOrder
27116
27217
  ticketGroupId?: SortOrder
27218
+ referralCode?: SortOrder
27117
27219
  created_at?: SortOrder
27118
27220
  updated_at?: SortOrder
27119
27221
  }
@@ -27653,6 +27755,13 @@ export namespace Prisma {
27653
27755
  connect?: ProductionAffiliationRequestWhereUniqueInput | ProductionAffiliationRequestWhereUniqueInput[]
27654
27756
  }
27655
27757
 
27758
+ export type TicketGroupCreateNestedManyWithoutReferralCodeProfileInput = {
27759
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27760
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27761
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27762
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27763
+ }
27764
+
27656
27765
  export type OtpUncheckedCreateNestedManyWithoutOwnerInput = {
27657
27766
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
27658
27767
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -27707,6 +27816,13 @@ export namespace Prisma {
27707
27816
  connect?: ProductionAffiliationRequestWhereUniqueInput | ProductionAffiliationRequestWhereUniqueInput[]
27708
27817
  }
27709
27818
 
27819
+ export type TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput = {
27820
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27821
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27822
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27823
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27824
+ }
27825
+
27710
27826
  export type IntFieldUpdateOperationsInput = {
27711
27827
  set?: number
27712
27828
  increment?: number
@@ -27858,6 +27974,20 @@ export namespace Prisma {
27858
27974
  deleteMany?: ProductionAffiliationRequestScalarWhereInput | ProductionAffiliationRequestScalarWhereInput[]
27859
27975
  }
27860
27976
 
27977
+ export type TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput = {
27978
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
27979
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
27980
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput[]
27981
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
27982
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27983
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27984
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27985
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
27986
+ update?: TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput[]
27987
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput | TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput[]
27988
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27989
+ }
27990
+
27861
27991
  export type OtpUncheckedUpdateManyWithoutOwnerNestedInput = {
27862
27992
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
27863
27993
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -27968,6 +28098,20 @@ export namespace Prisma {
27968
28098
  deleteMany?: ProductionAffiliationRequestScalarWhereInput | ProductionAffiliationRequestScalarWhereInput[]
27969
28099
  }
27970
28100
 
28101
+ export type TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput = {
28102
+ create?: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput> | TicketGroupCreateWithoutReferralCodeProfileInput[] | TicketGroupUncheckedCreateWithoutReferralCodeProfileInput[]
28103
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutReferralCodeProfileInput | TicketGroupCreateOrConnectWithoutReferralCodeProfileInput[]
28104
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput[]
28105
+ createMany?: TicketGroupCreateManyReferralCodeProfileInputEnvelope
28106
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28107
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28108
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28109
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
28110
+ update?: TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput | TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput[]
28111
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput | TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput[]
28112
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
28113
+ }
28114
+
27971
28115
  export type ProfileCreateNestedOneWithoutOtpInput = {
27972
28116
  create?: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
27973
28117
  connectOrCreate?: ProfileCreateOrConnectWithoutOtpInput
@@ -28905,6 +29049,12 @@ export namespace Prisma {
28905
29049
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
28906
29050
  }
28907
29051
 
29052
+ export type ProfileCreateNestedOneWithoutReferralCodeUsedInput = {
29053
+ create?: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
29054
+ connectOrCreate?: ProfileCreateOrConnectWithoutReferralCodeUsedInput
29055
+ connect?: ProfileWhereUniqueInput
29056
+ }
29057
+
28908
29058
  export type TicketUncheckedCreateNestedManyWithoutTicketGroupInput = {
28909
29059
  create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
28910
29060
  connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
@@ -28938,6 +29088,16 @@ export namespace Prisma {
28938
29088
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
28939
29089
  }
28940
29090
 
29091
+ export type ProfileUpdateOneWithoutReferralCodeUsedNestedInput = {
29092
+ create?: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
29093
+ connectOrCreate?: ProfileCreateOrConnectWithoutReferralCodeUsedInput
29094
+ upsert?: ProfileUpsertWithoutReferralCodeUsedInput
29095
+ disconnect?: ProfileWhereInput | boolean
29096
+ delete?: ProfileWhereInput | boolean
29097
+ connect?: ProfileWhereUniqueInput
29098
+ update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutReferralCodeUsedInput, ProfileUpdateWithoutReferralCodeUsedInput>, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
29099
+ }
29100
+
28941
29101
  export type TicketUncheckedUpdateManyWithoutTicketGroupNestedInput = {
28942
29102
  create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
28943
29103
  connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
@@ -29960,6 +30120,7 @@ export namespace Prisma {
29960
30120
  seat?: number | null
29961
30121
  scanned?: boolean
29962
30122
  scannedAt?: Date | string | null
30123
+ referralCode?: string | null
29963
30124
  created_at?: Date | string
29964
30125
  updated_at?: Date | string
29965
30126
  event: EventCreateNestedOneWithoutTicketsInput
@@ -29977,6 +30138,7 @@ export namespace Prisma {
29977
30138
  scanned?: boolean
29978
30139
  scannedAt?: Date | string | null
29979
30140
  ticketGroupId?: string | null
30141
+ referralCode?: string | null
29980
30142
  created_at?: Date | string
29981
30143
  updated_at?: Date | string
29982
30144
  }
@@ -30074,6 +30236,36 @@ export namespace Prisma {
30074
30236
  skipDuplicates?: boolean
30075
30237
  }
30076
30238
 
30239
+ export type TicketGroupCreateWithoutReferralCodeProfileInput = {
30240
+ id?: string
30241
+ status: $Enums.TicketGroupStatus
30242
+ amountTickets?: number
30243
+ created_at?: Date | string
30244
+ updated_at?: Date | string
30245
+ event: EventCreateNestedOneWithoutTicketGroupsInput
30246
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
30247
+ }
30248
+
30249
+ export type TicketGroupUncheckedCreateWithoutReferralCodeProfileInput = {
30250
+ id?: string
30251
+ status: $Enums.TicketGroupStatus
30252
+ amountTickets?: number
30253
+ eventId: string
30254
+ created_at?: Date | string
30255
+ updated_at?: Date | string
30256
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
30257
+ }
30258
+
30259
+ export type TicketGroupCreateOrConnectWithoutReferralCodeProfileInput = {
30260
+ where: TicketGroupWhereUniqueInput
30261
+ create: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput>
30262
+ }
30263
+
30264
+ export type TicketGroupCreateManyReferralCodeProfileInputEnvelope = {
30265
+ data: TicketGroupCreateManyReferralCodeProfileInput | TicketGroupCreateManyReferralCodeProfileInput[]
30266
+ skipDuplicates?: boolean
30267
+ }
30268
+
30077
30269
  export type OtpUpsertWithWhereUniqueWithoutOwnerInput = {
30078
30270
  where: OtpWhereUniqueInput
30079
30271
  update: XOR<OtpUpdateWithoutOwnerInput, OtpUncheckedUpdateWithoutOwnerInput>
@@ -30264,6 +30456,7 @@ export namespace Prisma {
30264
30456
  scannedAt?: DateTimeNullableFilter<"Ticket"> | Date | string | null
30265
30457
  profileId?: StringNullableFilter<"Ticket"> | string | null
30266
30458
  ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
30459
+ referralCode?: StringNullableFilter<"Ticket"> | string | null
30267
30460
  created_at?: DateTimeFilter<"Ticket"> | Date | string
30268
30461
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
30269
30462
  }
@@ -30340,6 +30533,35 @@ export namespace Prisma {
30340
30533
  updated_at?: DateTimeFilter<"ProductionAffiliationRequest"> | Date | string
30341
30534
  }
30342
30535
 
30536
+ export type TicketGroupUpsertWithWhereUniqueWithoutReferralCodeProfileInput = {
30537
+ where: TicketGroupWhereUniqueInput
30538
+ update: XOR<TicketGroupUpdateWithoutReferralCodeProfileInput, TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput>
30539
+ create: XOR<TicketGroupCreateWithoutReferralCodeProfileInput, TicketGroupUncheckedCreateWithoutReferralCodeProfileInput>
30540
+ }
30541
+
30542
+ export type TicketGroupUpdateWithWhereUniqueWithoutReferralCodeProfileInput = {
30543
+ where: TicketGroupWhereUniqueInput
30544
+ data: XOR<TicketGroupUpdateWithoutReferralCodeProfileInput, TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput>
30545
+ }
30546
+
30547
+ export type TicketGroupUpdateManyWithWhereWithoutReferralCodeProfileInput = {
30548
+ where: TicketGroupScalarWhereInput
30549
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileInput>
30550
+ }
30551
+
30552
+ export type TicketGroupScalarWhereInput = {
30553
+ AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
30554
+ OR?: TicketGroupScalarWhereInput[]
30555
+ NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
30556
+ id?: StringFilter<"TicketGroup"> | string
30557
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
30558
+ amountTickets?: IntFilter<"TicketGroup"> | number
30559
+ eventId?: StringFilter<"TicketGroup"> | string
30560
+ referralCode?: StringNullableFilter<"TicketGroup"> | string | null
30561
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
30562
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
30563
+ }
30564
+
30343
30565
  export type ProfileCreateWithoutOtpInput = {
30344
30566
  id?: string
30345
30567
  shortId: number
@@ -30373,6 +30595,7 @@ export namespace Prisma {
30373
30595
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30374
30596
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30375
30597
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30598
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30376
30599
  }
30377
30600
 
30378
30601
  export type ProfileUncheckedCreateWithoutOtpInput = {
@@ -30408,6 +30631,7 @@ export namespace Prisma {
30408
30631
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30409
30632
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30410
30633
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30634
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30411
30635
  }
30412
30636
 
30413
30637
  export type ProfileCreateOrConnectWithoutOtpInput = {
@@ -30459,6 +30683,7 @@ export namespace Prisma {
30459
30683
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
30460
30684
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
30461
30685
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
30686
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
30462
30687
  }
30463
30688
 
30464
30689
  export type ProfileUncheckedUpdateWithoutOtpInput = {
@@ -30494,6 +30719,7 @@ export namespace Prisma {
30494
30719
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
30495
30720
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
30496
30721
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
30722
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
30497
30723
  }
30498
30724
 
30499
30725
  export type ProfileCreateWithoutBirthLocationInput = {
@@ -30529,6 +30755,7 @@ export namespace Prisma {
30529
30755
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30530
30756
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30531
30757
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30758
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30532
30759
  }
30533
30760
 
30534
30761
  export type ProfileUncheckedCreateWithoutBirthLocationInput = {
@@ -30564,6 +30791,7 @@ export namespace Prisma {
30564
30791
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30565
30792
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30566
30793
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30794
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30567
30795
  }
30568
30796
 
30569
30797
  export type ProfileCreateOrConnectWithoutBirthLocationInput = {
@@ -30609,6 +30837,7 @@ export namespace Prisma {
30609
30837
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30610
30838
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30611
30839
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
30840
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30612
30841
  }
30613
30842
 
30614
30843
  export type ProfileUncheckedCreateWithoutResidenceLocationInput = {
@@ -30644,6 +30873,7 @@ export namespace Prisma {
30644
30873
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30645
30874
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30646
30875
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
30876
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30647
30877
  }
30648
30878
 
30649
30879
  export type ProfileCreateOrConnectWithoutResidenceLocationInput = {
@@ -30785,6 +31015,7 @@ export namespace Prisma {
30785
31015
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
30786
31016
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
30787
31017
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
31018
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
30788
31019
  }
30789
31020
 
30790
31021
  export type ProfileUncheckedCreateWithoutCommentsInput = {
@@ -30820,6 +31051,7 @@ export namespace Prisma {
30820
31051
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
30821
31052
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
30822
31053
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
31054
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
30823
31055
  }
30824
31056
 
30825
31057
  export type ProfileCreateOrConnectWithoutCommentsInput = {
@@ -30943,6 +31175,7 @@ export namespace Prisma {
30943
31175
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
30944
31176
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
30945
31177
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
31178
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
30946
31179
  }
30947
31180
 
30948
31181
  export type ProfileUncheckedUpdateWithoutCommentsInput = {
@@ -30978,6 +31211,7 @@ export namespace Prisma {
30978
31211
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
30979
31212
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
30980
31213
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
31214
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
30981
31215
  }
30982
31216
 
30983
31217
  export type AccountUpsertWithoutSolvableCommentsInput = {
@@ -31218,6 +31452,7 @@ export namespace Prisma {
31218
31452
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
31219
31453
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
31220
31454
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
31455
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
31221
31456
  }
31222
31457
 
31223
31458
  export type ProfileUncheckedCreateWithoutTagsInput = {
@@ -31253,6 +31488,7 @@ export namespace Prisma {
31253
31488
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
31254
31489
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
31255
31490
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
31491
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
31256
31492
  }
31257
31493
 
31258
31494
  export type ProfileCreateOrConnectWithoutTagsInput = {
@@ -31881,6 +32117,7 @@ export namespace Prisma {
31881
32117
  seat?: number | null
31882
32118
  scanned?: boolean
31883
32119
  scannedAt?: Date | string | null
32120
+ referralCode?: string | null
31884
32121
  created_at?: Date | string
31885
32122
  updated_at?: Date | string
31886
32123
  profile?: ProfileCreateNestedOneWithoutTicketsInput
@@ -31898,6 +32135,7 @@ export namespace Prisma {
31898
32135
  scannedAt?: Date | string | null
31899
32136
  profileId?: string | null
31900
32137
  ticketGroupId?: string | null
32138
+ referralCode?: string | null
31901
32139
  created_at?: Date | string
31902
32140
  updated_at?: Date | string
31903
32141
  }
@@ -31916,10 +32154,10 @@ export namespace Prisma {
31916
32154
  id?: string
31917
32155
  status: $Enums.TicketGroupStatus
31918
32156
  amountTickets?: number
31919
- referralCode?: string | null
31920
32157
  created_at?: Date | string
31921
32158
  updated_at?: Date | string
31922
32159
  tickets?: TicketCreateNestedManyWithoutTicketGroupInput
32160
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
31923
32161
  }
31924
32162
 
31925
32163
  export type TicketGroupUncheckedCreateWithoutEventInput = {
@@ -32327,19 +32565,6 @@ export namespace Prisma {
32327
32565
  data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutEventInput>
32328
32566
  }
32329
32567
 
32330
- export type TicketGroupScalarWhereInput = {
32331
- AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
32332
- OR?: TicketGroupScalarWhereInput[]
32333
- NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
32334
- id?: StringFilter<"TicketGroup"> | string
32335
- status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
32336
- amountTickets?: IntFilter<"TicketGroup"> | number
32337
- eventId?: StringFilter<"TicketGroup"> | string
32338
- referralCode?: StringNullableFilter<"TicketGroup"> | string | null
32339
- created_at?: DateTimeFilter<"TicketGroup"> | Date | string
32340
- updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
32341
- }
32342
-
32343
32568
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
32344
32569
  where: EventWhereUniqueInput
32345
32570
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -32542,6 +32767,7 @@ export namespace Prisma {
32542
32767
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
32543
32768
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
32544
32769
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
32770
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
32545
32771
  }
32546
32772
 
32547
32773
  export type ProfileUncheckedCreateWithoutMessagesInput = {
@@ -32577,6 +32803,7 @@ export namespace Prisma {
32577
32803
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
32578
32804
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
32579
32805
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
32806
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
32580
32807
  }
32581
32808
 
32582
32809
  export type ProfileCreateOrConnectWithoutMessagesInput = {
@@ -32628,6 +32855,7 @@ export namespace Prisma {
32628
32855
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
32629
32856
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
32630
32857
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
32858
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
32631
32859
  }
32632
32860
 
32633
32861
  export type ProfileUncheckedUpdateWithoutMessagesInput = {
@@ -32663,6 +32891,7 @@ export namespace Prisma {
32663
32891
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
32664
32892
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
32665
32893
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
32894
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
32666
32895
  }
32667
32896
 
32668
32897
  export type EventCreateWithoutTicketsInput = {
@@ -32753,6 +32982,7 @@ export namespace Prisma {
32753
32982
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
32754
32983
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
32755
32984
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
32985
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
32756
32986
  }
32757
32987
 
32758
32988
  export type ProfileUncheckedCreateWithoutTicketsInput = {
@@ -32788,6 +33018,7 @@ export namespace Prisma {
32788
33018
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
32789
33019
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
32790
33020
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33021
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
32791
33022
  }
32792
33023
 
32793
33024
  export type ProfileCreateOrConnectWithoutTicketsInput = {
@@ -32799,10 +33030,10 @@ export namespace Prisma {
32799
33030
  id?: string
32800
33031
  status: $Enums.TicketGroupStatus
32801
33032
  amountTickets?: number
32802
- referralCode?: string | null
32803
33033
  created_at?: Date | string
32804
33034
  updated_at?: Date | string
32805
33035
  event: EventCreateNestedOneWithoutTicketGroupsInput
33036
+ referralCodeProfile?: ProfileCreateNestedOneWithoutReferralCodeUsedInput
32806
33037
  }
32807
33038
 
32808
33039
  export type TicketGroupUncheckedCreateWithoutTicketsInput = {
@@ -32925,6 +33156,7 @@ export namespace Prisma {
32925
33156
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
32926
33157
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
32927
33158
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33159
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
32928
33160
  }
32929
33161
 
32930
33162
  export type ProfileUncheckedUpdateWithoutTicketsInput = {
@@ -32960,6 +33192,7 @@ export namespace Prisma {
32960
33192
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
32961
33193
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
32962
33194
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33195
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
32963
33196
  }
32964
33197
 
32965
33198
  export type TicketGroupUpsertWithoutTicketsInput = {
@@ -32977,10 +33210,10 @@ export namespace Prisma {
32977
33210
  id?: StringFieldUpdateOperationsInput | string
32978
33211
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
32979
33212
  amountTickets?: IntFieldUpdateOperationsInput | number
32980
- referralCode?: NullableStringFieldUpdateOperationsInput | string | null
32981
33213
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
32982
33214
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
32983
33215
  event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
33216
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
32984
33217
  }
32985
33218
 
32986
33219
  export type TicketGroupUncheckedUpdateWithoutTicketsInput = {
@@ -33057,6 +33290,7 @@ export namespace Prisma {
33057
33290
  seat?: number | null
33058
33291
  scanned?: boolean
33059
33292
  scannedAt?: Date | string | null
33293
+ referralCode?: string | null
33060
33294
  created_at?: Date | string
33061
33295
  updated_at?: Date | string
33062
33296
  event: EventCreateNestedOneWithoutTicketsInput
@@ -33074,6 +33308,7 @@ export namespace Prisma {
33074
33308
  scanned?: boolean
33075
33309
  scannedAt?: Date | string | null
33076
33310
  profileId?: string | null
33311
+ referralCode?: string | null
33077
33312
  created_at?: Date | string
33078
33313
  updated_at?: Date | string
33079
33314
  }
@@ -33088,6 +33323,83 @@ export namespace Prisma {
33088
33323
  skipDuplicates?: boolean
33089
33324
  }
33090
33325
 
33326
+ export type ProfileCreateWithoutReferralCodeUsedInput = {
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
+ isInTrash?: boolean
33346
+ movedToTrashDate?: Date | string | null
33347
+ referralCode?: string
33348
+ created_at?: Date | string
33349
+ updated_at?: Date | string
33350
+ otp?: OtpCreateNestedManyWithoutOwnerInput
33351
+ comments?: CommentCreateNestedManyWithoutProfileInput
33352
+ messages?: MessageCreateNestedManyWithoutProfileInput
33353
+ tags?: TagCreateNestedManyWithoutProfilesInput
33354
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
33355
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
33356
+ tickets?: TicketCreateNestedManyWithoutProfileInput
33357
+ productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33358
+ productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
33359
+ productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33360
+ }
33361
+
33362
+ export type ProfileUncheckedCreateWithoutReferralCodeUsedInput = {
33363
+ id?: string
33364
+ shortId: number
33365
+ role?: $Enums.Role
33366
+ firstTimeMiExpo?: boolean
33367
+ username?: string | null
33368
+ password?: string | null
33369
+ phoneNumber: string
33370
+ isPhoneVerified?: boolean
33371
+ secondaryPhoneNumber?: string | null
33372
+ fullName: string
33373
+ firstName?: string | null
33374
+ gender?: string | null
33375
+ birthDate?: Date | string | null
33376
+ profilePictureUrl?: string | null
33377
+ instagram?: string | null
33378
+ mail?: string | null
33379
+ dni?: string | null
33380
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
33381
+ birthLocationId?: string | null
33382
+ residenceLocationId?: string | null
33383
+ isInTrash?: boolean
33384
+ movedToTrashDate?: Date | string | null
33385
+ referralCode?: string
33386
+ created_at?: Date | string
33387
+ updated_at?: Date | string
33388
+ otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
33389
+ comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
33390
+ messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
33391
+ tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
33392
+ tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33393
+ productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33394
+ productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
33395
+ productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33396
+ }
33397
+
33398
+ export type ProfileCreateOrConnectWithoutReferralCodeUsedInput = {
33399
+ where: ProfileWhereUniqueInput
33400
+ create: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
33401
+ }
33402
+
33091
33403
  export type EventUpsertWithoutTicketGroupsInput = {
33092
33404
  update: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
33093
33405
  create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
@@ -33165,6 +33477,89 @@ export namespace Prisma {
33165
33477
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutTicketGroupInput>
33166
33478
  }
33167
33479
 
33480
+ export type ProfileUpsertWithoutReferralCodeUsedInput = {
33481
+ update: XOR<ProfileUpdateWithoutReferralCodeUsedInput, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
33482
+ create: XOR<ProfileCreateWithoutReferralCodeUsedInput, ProfileUncheckedCreateWithoutReferralCodeUsedInput>
33483
+ where?: ProfileWhereInput
33484
+ }
33485
+
33486
+ export type ProfileUpdateToOneWithWhereWithoutReferralCodeUsedInput = {
33487
+ where?: ProfileWhereInput
33488
+ data: XOR<ProfileUpdateWithoutReferralCodeUsedInput, ProfileUncheckedUpdateWithoutReferralCodeUsedInput>
33489
+ }
33490
+
33491
+ export type ProfileUpdateWithoutReferralCodeUsedInput = {
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
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
33511
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33512
+ referralCode?: StringFieldUpdateOperationsInput | string
33513
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33514
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33515
+ otp?: OtpUpdateManyWithoutOwnerNestedInput
33516
+ comments?: CommentUpdateManyWithoutProfileNestedInput
33517
+ messages?: MessageUpdateManyWithoutProfileNestedInput
33518
+ tags?: TagUpdateManyWithoutProfilesNestedInput
33519
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
33520
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
33521
+ tickets?: TicketUpdateManyWithoutProfileNestedInput
33522
+ productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
33523
+ productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
33524
+ productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33525
+ }
33526
+
33527
+ export type ProfileUncheckedUpdateWithoutReferralCodeUsedInput = {
33528
+ id?: StringFieldUpdateOperationsInput | string
33529
+ shortId?: IntFieldUpdateOperationsInput | number
33530
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
33531
+ firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
33532
+ username?: NullableStringFieldUpdateOperationsInput | string | null
33533
+ password?: NullableStringFieldUpdateOperationsInput | string | null
33534
+ phoneNumber?: StringFieldUpdateOperationsInput | string
33535
+ isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
33536
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
33537
+ fullName?: StringFieldUpdateOperationsInput | string
33538
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
33539
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
33540
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33541
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
33542
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
33543
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
33544
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
33545
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
33546
+ birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33547
+ residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
33548
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
33549
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33550
+ referralCode?: StringFieldUpdateOperationsInput | string
33551
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
33552
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
33553
+ otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
33554
+ comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
33555
+ messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
33556
+ tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
33557
+ tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33558
+ productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
33559
+ productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
33560
+ productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33561
+ }
33562
+
33168
33563
  export type EventCreateWithoutEventTicketsInput = {
33169
33564
  id?: string
33170
33565
  name: string
@@ -33314,6 +33709,7 @@ export namespace Prisma {
33314
33709
  tickets?: TicketCreateNestedManyWithoutProfileInput
33315
33710
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
33316
33711
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33712
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33317
33713
  }
33318
33714
 
33319
33715
  export type ProfileUncheckedCreateWithoutProductionsAdministratedInput = {
@@ -33349,6 +33745,7 @@ export namespace Prisma {
33349
33745
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33350
33746
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
33351
33747
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33748
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33352
33749
  }
33353
33750
 
33354
33751
  export type ProfileCreateOrConnectWithoutProductionsAdministratedInput = {
@@ -33389,6 +33786,7 @@ export namespace Prisma {
33389
33786
  tickets?: TicketCreateNestedManyWithoutProfileInput
33390
33787
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33391
33788
  productionRequestsSent?: ProductionAffiliationRequestCreateNestedManyWithoutProfileInput
33789
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33392
33790
  }
33393
33791
 
33394
33792
  export type ProfileUncheckedCreateWithoutProductionsParticipatedInput = {
@@ -33424,6 +33822,7 @@ export namespace Prisma {
33424
33822
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33425
33823
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33426
33824
  productionRequestsSent?: ProductionAffiliationRequestUncheckedCreateNestedManyWithoutProfileInput
33825
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33427
33826
  }
33428
33827
 
33429
33828
  export type ProfileCreateOrConnectWithoutProductionsParticipatedInput = {
@@ -33558,6 +33957,7 @@ export namespace Prisma {
33558
33957
  tickets?: TicketUpdateManyWithoutProfileNestedInput
33559
33958
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
33560
33959
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
33960
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
33561
33961
  }
33562
33962
 
33563
33963
  export type ProfileUncheckedUpdateWithoutProductionsAdministratedInput = {
@@ -33593,6 +33993,7 @@ export namespace Prisma {
33593
33993
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33594
33994
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
33595
33995
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
33996
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
33596
33997
  }
33597
33998
 
33598
33999
  export type ProfileUpsertWithWhereUniqueWithoutProductionsParticipatedInput = {
@@ -33701,6 +34102,7 @@ export namespace Prisma {
33701
34102
  tickets?: TicketCreateNestedManyWithoutProfileInput
33702
34103
  productionsAdministrated?: ProductionCreateNestedManyWithoutAdministratorInput
33703
34104
  productionsParticipated?: ProductionCreateNestedManyWithoutParticipantsInput
34105
+ referralCodeUsed?: TicketGroupCreateNestedManyWithoutReferralCodeProfileInput
33704
34106
  }
33705
34107
 
33706
34108
  export type ProfileUncheckedCreateWithoutProductionRequestsSentInput = {
@@ -33736,6 +34138,7 @@ export namespace Prisma {
33736
34138
  tickets?: TicketUncheckedCreateNestedManyWithoutProfileInput
33737
34139
  productionsAdministrated?: ProductionUncheckedCreateNestedManyWithoutAdministratorInput
33738
34140
  productionsParticipated?: ProductionUncheckedCreateNestedManyWithoutParticipantsInput
34141
+ referralCodeUsed?: TicketGroupUncheckedCreateNestedManyWithoutReferralCodeProfileInput
33739
34142
  }
33740
34143
 
33741
34144
  export type ProfileCreateOrConnectWithoutProductionRequestsSentInput = {
@@ -33818,6 +34221,7 @@ export namespace Prisma {
33818
34221
  tickets?: TicketUpdateManyWithoutProfileNestedInput
33819
34222
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
33820
34223
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34224
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
33821
34225
  }
33822
34226
 
33823
34227
  export type ProfileUncheckedUpdateWithoutProductionRequestsSentInput = {
@@ -33853,6 +34257,7 @@ export namespace Prisma {
33853
34257
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
33854
34258
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
33855
34259
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34260
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
33856
34261
  }
33857
34262
 
33858
34263
  export type CommentCreateManyAccountInput = {
@@ -34069,6 +34474,7 @@ export namespace Prisma {
34069
34474
  scanned?: boolean
34070
34475
  scannedAt?: Date | string | null
34071
34476
  ticketGroupId?: string | null
34477
+ referralCode?: string | null
34072
34478
  created_at?: Date | string
34073
34479
  updated_at?: Date | string
34074
34480
  }
@@ -34089,6 +34495,15 @@ export namespace Prisma {
34089
34495
  updated_at?: Date | string
34090
34496
  }
34091
34497
 
34498
+ export type TicketGroupCreateManyReferralCodeProfileInput = {
34499
+ id?: string
34500
+ status: $Enums.TicketGroupStatus
34501
+ amountTickets?: number
34502
+ eventId: string
34503
+ created_at?: Date | string
34504
+ updated_at?: Date | string
34505
+ }
34506
+
34092
34507
  export type OtpUpdateWithoutOwnerInput = {
34093
34508
  id?: StringFieldUpdateOperationsInput | string
34094
34509
  code?: StringFieldUpdateOperationsInput | string
@@ -34224,6 +34639,7 @@ export namespace Prisma {
34224
34639
  seat?: NullableIntFieldUpdateOperationsInput | number | null
34225
34640
  scanned?: BoolFieldUpdateOperationsInput | boolean
34226
34641
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34642
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
34227
34643
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34228
34644
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34229
34645
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
@@ -34241,6 +34657,7 @@ export namespace Prisma {
34241
34657
  scanned?: BoolFieldUpdateOperationsInput | boolean
34242
34658
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34243
34659
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
34660
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
34244
34661
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34245
34662
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34246
34663
  }
@@ -34256,6 +34673,7 @@ export namespace Prisma {
34256
34673
  scanned?: BoolFieldUpdateOperationsInput | boolean
34257
34674
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34258
34675
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
34676
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
34259
34677
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34260
34678
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34261
34679
  }
@@ -34342,6 +34760,35 @@ export namespace Prisma {
34342
34760
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34343
34761
  }
34344
34762
 
34763
+ export type TicketGroupUpdateWithoutReferralCodeProfileInput = {
34764
+ id?: StringFieldUpdateOperationsInput | string
34765
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34766
+ amountTickets?: IntFieldUpdateOperationsInput | number
34767
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34768
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34769
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
34770
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
34771
+ }
34772
+
34773
+ export type TicketGroupUncheckedUpdateWithoutReferralCodeProfileInput = {
34774
+ id?: StringFieldUpdateOperationsInput | string
34775
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34776
+ amountTickets?: IntFieldUpdateOperationsInput | number
34777
+ eventId?: StringFieldUpdateOperationsInput | string
34778
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34779
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34780
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
34781
+ }
34782
+
34783
+ export type TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileInput = {
34784
+ id?: StringFieldUpdateOperationsInput | string
34785
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
34786
+ amountTickets?: IntFieldUpdateOperationsInput | number
34787
+ eventId?: StringFieldUpdateOperationsInput | string
34788
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
34789
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
34790
+ }
34791
+
34345
34792
  export type ProfileCreateManyBirthLocationInput = {
34346
34793
  id?: string
34347
34794
  shortId: number
@@ -34429,6 +34876,7 @@ export namespace Prisma {
34429
34876
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34430
34877
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34431
34878
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
34879
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34432
34880
  }
34433
34881
 
34434
34882
  export type ProfileUncheckedUpdateWithoutBirthLocationInput = {
@@ -34464,6 +34912,7 @@ export namespace Prisma {
34464
34912
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34465
34913
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34466
34914
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
34915
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34467
34916
  }
34468
34917
 
34469
34918
  export type ProfileUncheckedUpdateManyWithoutBirthLocationInput = {
@@ -34526,6 +34975,7 @@ export namespace Prisma {
34526
34975
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34527
34976
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34528
34977
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
34978
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34529
34979
  }
34530
34980
 
34531
34981
  export type ProfileUncheckedUpdateWithoutResidenceLocationInput = {
@@ -34561,6 +35011,7 @@ export namespace Prisma {
34561
35011
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34562
35012
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34563
35013
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
35014
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34564
35015
  }
34565
35016
 
34566
35017
  export type ProfileUncheckedUpdateManyWithoutResidenceLocationInput = {
@@ -34662,6 +35113,7 @@ export namespace Prisma {
34662
35113
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
34663
35114
  productionsParticipated?: ProductionUpdateManyWithoutParticipantsNestedInput
34664
35115
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
35116
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
34665
35117
  }
34666
35118
 
34667
35119
  export type ProfileUncheckedUpdateWithoutTagsInput = {
@@ -34697,6 +35149,7 @@ export namespace Prisma {
34697
35149
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
34698
35150
  productionsParticipated?: ProductionUncheckedUpdateManyWithoutParticipantsNestedInput
34699
35151
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
35152
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
34700
35153
  }
34701
35154
 
34702
35155
  export type ProfileUncheckedUpdateManyWithoutTagsInput = {
@@ -34961,6 +35414,7 @@ export namespace Prisma {
34961
35414
  scannedAt?: Date | string | null
34962
35415
  profileId?: string | null
34963
35416
  ticketGroupId?: string | null
35417
+ referralCode?: string | null
34964
35418
  created_at?: Date | string
34965
35419
  updated_at?: Date | string
34966
35420
  }
@@ -35010,6 +35464,7 @@ export namespace Prisma {
35010
35464
  seat?: NullableIntFieldUpdateOperationsInput | number | null
35011
35465
  scanned?: BoolFieldUpdateOperationsInput | boolean
35012
35466
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35467
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35013
35468
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35014
35469
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35015
35470
  profile?: ProfileUpdateOneWithoutTicketsNestedInput
@@ -35027,6 +35482,7 @@ export namespace Prisma {
35027
35482
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35028
35483
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
35029
35484
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
35485
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35030
35486
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35031
35487
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35032
35488
  }
@@ -35042,6 +35498,7 @@ export namespace Prisma {
35042
35498
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35043
35499
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
35044
35500
  ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
35501
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35045
35502
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35046
35503
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35047
35504
  }
@@ -35050,10 +35507,10 @@ export namespace Prisma {
35050
35507
  id?: StringFieldUpdateOperationsInput | string
35051
35508
  status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
35052
35509
  amountTickets?: IntFieldUpdateOperationsInput | number
35053
- referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35054
35510
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35055
35511
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35056
35512
  tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
35513
+ referralCodeProfile?: ProfileUpdateOneWithoutReferralCodeUsedNestedInput
35057
35514
  }
35058
35515
 
35059
35516
  export type TicketGroupUncheckedUpdateWithoutEventInput = {
@@ -35373,6 +35830,7 @@ export namespace Prisma {
35373
35830
  scanned?: boolean
35374
35831
  scannedAt?: Date | string | null
35375
35832
  profileId?: string | null
35833
+ referralCode?: string | null
35376
35834
  created_at?: Date | string
35377
35835
  updated_at?: Date | string
35378
35836
  }
@@ -35386,6 +35844,7 @@ export namespace Prisma {
35386
35844
  seat?: NullableIntFieldUpdateOperationsInput | number | null
35387
35845
  scanned?: BoolFieldUpdateOperationsInput | boolean
35388
35846
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35847
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35389
35848
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35390
35849
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35391
35850
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
@@ -35403,6 +35862,7 @@ export namespace Prisma {
35403
35862
  scanned?: BoolFieldUpdateOperationsInput | boolean
35404
35863
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35405
35864
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
35865
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35406
35866
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35407
35867
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35408
35868
  }
@@ -35418,6 +35878,7 @@ export namespace Prisma {
35418
35878
  scanned?: BoolFieldUpdateOperationsInput | boolean
35419
35879
  scannedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35420
35880
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
35881
+ referralCode?: NullableStringFieldUpdateOperationsInput | string | null
35421
35882
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
35422
35883
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
35423
35884
  }
@@ -35464,6 +35925,7 @@ export namespace Prisma {
35464
35925
  tickets?: TicketUpdateManyWithoutProfileNestedInput
35465
35926
  productionsAdministrated?: ProductionUpdateManyWithoutAdministratorNestedInput
35466
35927
  productionRequestsSent?: ProductionAffiliationRequestUpdateManyWithoutProfileNestedInput
35928
+ referralCodeUsed?: TicketGroupUpdateManyWithoutReferralCodeProfileNestedInput
35467
35929
  }
35468
35930
 
35469
35931
  export type ProfileUncheckedUpdateWithoutProductionsParticipatedInput = {
@@ -35499,6 +35961,7 @@ export namespace Prisma {
35499
35961
  tickets?: TicketUncheckedUpdateManyWithoutProfileNestedInput
35500
35962
  productionsAdministrated?: ProductionUncheckedUpdateManyWithoutAdministratorNestedInput
35501
35963
  productionRequestsSent?: ProductionAffiliationRequestUncheckedUpdateManyWithoutProfileNestedInput
35964
+ referralCodeUsed?: TicketGroupUncheckedUpdateManyWithoutReferralCodeProfileNestedInput
35502
35965
  }
35503
35966
 
35504
35967
  export type ProfileUncheckedUpdateManyWithoutProductionsParticipatedInput = {