expo-backend-types 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.1 → 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/event/dto/create-event.dto.d.ts +10 -10
  9. package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
  10. package/dist/src/event/dto/event-tickets.dto.js +5 -2
  11. package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
  12. package/dist/src/event/dto/get-all-event.dto.d.ts +616 -0
  13. package/dist/src/event/dto/get-all-event.dto.js +29 -8
  14. package/dist/src/event/dto/get-by-id-event.dto.d.ts +317 -10
  15. package/dist/src/event/dto/get-by-id-event.dto.js +4 -0
  16. package/dist/src/event/dto/update-event.dto.d.ts +26 -20
  17. package/dist/src/event/dto/update-event.dto.js +1 -0
  18. package/dist/src/i18n/es.d.ts +14 -0
  19. package/dist/src/i18n/es.js +14 -0
  20. package/dist/src/i18n/es.js.map +1 -1
  21. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +104 -0
  22. package/dist/src/mi-expo/dto/get-invitations.dto.js +24 -0
  23. package/dist/src/mi-expo/dto/get-me.dto.d.ts +18 -0
  24. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +22 -0
  25. package/dist/src/mi-expo/dto/login.dto.d.ts +23 -0
  26. package/dist/src/mi-expo/dto/update-me.dto.d.ts +18 -0
  27. package/dist/src/mi-expo/exports.d.ts +1 -0
  28. package/dist/src/mi-expo/exports.js +1 -0
  29. package/dist/src/otp/dto/verify-otp.dto.d.ts +22 -0
  30. package/dist/src/profile/dto/create-profile.dto.d.ts +28 -0
  31. package/dist/src/profile/dto/delete-profile.dto.d.ts +18 -0
  32. package/dist/src/profile/dto/find-all-profile.dto.d.ts +22 -0
  33. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +40 -0
  34. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +18 -0
  35. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +18 -0
  36. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +22 -0
  37. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +57 -1
  38. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -0
  39. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -0
  40. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +22 -0
  41. package/dist/src/profile/dto/profile.dto.d.ts +9 -0
  42. package/dist/src/profile/dto/update-profile.dto.d.ts +18 -0
  43. package/dist/src/schema/profile.schema.d.ts +9 -0
  44. package/dist/src/schema/profile.schema.js +2 -0
  45. package/dist/src/tag/dto/massive-allocation.dto.d.ts +22 -0
  46. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +22 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.d.ts +158 -4
  48. package/dist/src/ticket/dto/create-ticket.dto.js +10 -2
  49. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +372 -0
  50. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +2 -0
  51. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +372 -0
  52. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -0
  53. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +372 -0
  54. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +2 -0
  55. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +331 -0
  56. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +19 -0
  57. package/dist/src/ticket/exports.d.ts +1 -0
  58. package/dist/src/ticket/exports.js +1 -0
  59. package/dist/types/prisma-schema/edge.js +7 -4
  60. package/dist/types/prisma-schema/index-browser.js +4 -1
  61. package/dist/types/prisma-schema/index.d.ts +587 -48
  62. package/dist/types/prisma-schema/index.js +7 -4
  63. package/dist/types/prisma-schema/package.json +1 -1
  64. package/dist/types/prisma-schema/schema.prisma +9 -1
  65. package/dist/types/prisma-schema/wasm.js +4 -1
  66. package/dist/types/schema.d.ts +342 -10
  67. package/package.json +1 -1
@@ -92,7 +92,8 @@ export namespace $Enums {
92
92
  USER: 'USER',
93
93
  ADMIN: 'ADMIN',
94
94
  FORM: 'FORM',
95
- TICKETS: 'TICKETS'
95
+ TICKETS: 'TICKETS',
96
+ MI_EXPO: 'MI_EXPO'
96
97
  };
97
98
 
98
99
  export type Role = (typeof Role)[keyof typeof Role]
@@ -2209,6 +2210,7 @@ export namespace Prisma {
2209
2210
  comments: number
2210
2211
  messages: number
2211
2212
  tags: number
2213
+ Ticket: number
2212
2214
  }
2213
2215
 
2214
2216
  export type ProfileCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2216,6 +2218,7 @@ export namespace Prisma {
2216
2218
  comments?: boolean | ProfileCountOutputTypeCountCommentsArgs
2217
2219
  messages?: boolean | ProfileCountOutputTypeCountMessagesArgs
2218
2220
  tags?: boolean | ProfileCountOutputTypeCountTagsArgs
2221
+ Ticket?: boolean | ProfileCountOutputTypeCountTicketArgs
2219
2222
  }
2220
2223
 
2221
2224
  // Custom InputTypes
@@ -2257,6 +2260,13 @@ export namespace Prisma {
2257
2260
  where?: TagWhereInput
2258
2261
  }
2259
2262
 
2263
+ /**
2264
+ * ProfileCountOutputType without action
2265
+ */
2266
+ export type ProfileCountOutputTypeCountTicketArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2267
+ where?: TicketWhereInput
2268
+ }
2269
+
2260
2270
 
2261
2271
  /**
2262
2272
  * Count Type LocationCountOutputType
@@ -3692,6 +3702,7 @@ export namespace Prisma {
3692
3702
  export type ProfileMinAggregateOutputType = {
3693
3703
  id: string | null
3694
3704
  shortId: number | null
3705
+ role: $Enums.Role | null
3695
3706
  firstTimeMiExpo: boolean | null
3696
3707
  username: string | null
3697
3708
  password: string | null
@@ -3717,6 +3728,7 @@ export namespace Prisma {
3717
3728
  export type ProfileMaxAggregateOutputType = {
3718
3729
  id: string | null
3719
3730
  shortId: number | null
3731
+ role: $Enums.Role | null
3720
3732
  firstTimeMiExpo: boolean | null
3721
3733
  username: string | null
3722
3734
  password: string | null
@@ -3742,6 +3754,7 @@ export namespace Prisma {
3742
3754
  export type ProfileCountAggregateOutputType = {
3743
3755
  id: number
3744
3756
  shortId: number
3757
+ role: number
3745
3758
  firstTimeMiExpo: number
3746
3759
  username: number
3747
3760
  password: number
@@ -3778,6 +3791,7 @@ export namespace Prisma {
3778
3791
  export type ProfileMinAggregateInputType = {
3779
3792
  id?: true
3780
3793
  shortId?: true
3794
+ role?: true
3781
3795
  firstTimeMiExpo?: true
3782
3796
  username?: true
3783
3797
  password?: true
@@ -3803,6 +3817,7 @@ export namespace Prisma {
3803
3817
  export type ProfileMaxAggregateInputType = {
3804
3818
  id?: true
3805
3819
  shortId?: true
3820
+ role?: true
3806
3821
  firstTimeMiExpo?: true
3807
3822
  username?: true
3808
3823
  password?: true
@@ -3828,6 +3843,7 @@ export namespace Prisma {
3828
3843
  export type ProfileCountAggregateInputType = {
3829
3844
  id?: true
3830
3845
  shortId?: true
3846
+ role?: true
3831
3847
  firstTimeMiExpo?: true
3832
3848
  username?: true
3833
3849
  password?: true
@@ -3941,6 +3957,7 @@ export namespace Prisma {
3941
3957
  export type ProfileGroupByOutputType = {
3942
3958
  id: string
3943
3959
  shortId: number
3960
+ role: $Enums.Role
3944
3961
  firstTimeMiExpo: boolean
3945
3962
  username: string | null
3946
3963
  password: string | null
@@ -3986,6 +4003,7 @@ export namespace Prisma {
3986
4003
  export type ProfileSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3987
4004
  id?: boolean
3988
4005
  shortId?: boolean
4006
+ role?: boolean
3989
4007
  firstTimeMiExpo?: boolean
3990
4008
  username?: boolean
3991
4009
  password?: boolean
@@ -4013,12 +4031,14 @@ export namespace Prisma {
4013
4031
  tags?: boolean | Profile$tagsArgs<ExtArgs>
4014
4032
  birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
4015
4033
  residenceLocation?: boolean | Profile$residenceLocationArgs<ExtArgs>
4034
+ Ticket?: boolean | Profile$TicketArgs<ExtArgs>
4016
4035
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4017
4036
  }, ExtArgs["result"]["profile"]>
4018
4037
 
4019
4038
  export type ProfileSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
4020
4039
  id?: boolean
4021
4040
  shortId?: boolean
4041
+ role?: boolean
4022
4042
  firstTimeMiExpo?: boolean
4023
4043
  username?: boolean
4024
4044
  password?: boolean
@@ -4047,6 +4067,7 @@ export namespace Prisma {
4047
4067
  export type ProfileSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
4048
4068
  id?: boolean
4049
4069
  shortId?: boolean
4070
+ role?: boolean
4050
4071
  firstTimeMiExpo?: boolean
4051
4072
  username?: boolean
4052
4073
  password?: boolean
@@ -4075,6 +4096,7 @@ export namespace Prisma {
4075
4096
  export type ProfileSelectScalar = {
4076
4097
  id?: boolean
4077
4098
  shortId?: boolean
4099
+ role?: boolean
4078
4100
  firstTimeMiExpo?: boolean
4079
4101
  username?: boolean
4080
4102
  password?: boolean
@@ -4098,7 +4120,7 @@ export namespace Prisma {
4098
4120
  updated_at?: boolean
4099
4121
  }
4100
4122
 
4101
- export type ProfileOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "shortId" | "firstTimeMiExpo" | "username" | "password" | "phoneNumber" | "isPhoneVerified" | "secondaryPhoneNumber" | "fullName" | "firstName" | "gender" | "birthDate" | "profilePictureUrl" | "instagram" | "mail" | "dni" | "alternativeNames" | "birthLocationId" | "residenceLocationId" | "isInTrash" | "movedToTrashDate" | "created_at" | "updated_at", ExtArgs["result"]["profile"]>
4123
+ export type ProfileOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "shortId" | "role" | "firstTimeMiExpo" | "username" | "password" | "phoneNumber" | "isPhoneVerified" | "secondaryPhoneNumber" | "fullName" | "firstName" | "gender" | "birthDate" | "profilePictureUrl" | "instagram" | "mail" | "dni" | "alternativeNames" | "birthLocationId" | "residenceLocationId" | "isInTrash" | "movedToTrashDate" | "created_at" | "updated_at", ExtArgs["result"]["profile"]>
4102
4124
  export type ProfileInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4103
4125
  otp?: boolean | Profile$otpArgs<ExtArgs>
4104
4126
  comments?: boolean | Profile$commentsArgs<ExtArgs>
@@ -4106,6 +4128,7 @@ export namespace Prisma {
4106
4128
  tags?: boolean | Profile$tagsArgs<ExtArgs>
4107
4129
  birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
4108
4130
  residenceLocation?: boolean | Profile$residenceLocationArgs<ExtArgs>
4131
+ Ticket?: boolean | Profile$TicketArgs<ExtArgs>
4109
4132
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
4110
4133
  }
4111
4134
  export type ProfileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -4126,10 +4149,12 @@ export namespace Prisma {
4126
4149
  tags: Prisma.$TagPayload<ExtArgs>[]
4127
4150
  birthLocation: Prisma.$LocationPayload<ExtArgs> | null
4128
4151
  residenceLocation: Prisma.$LocationPayload<ExtArgs> | null
4152
+ Ticket: Prisma.$TicketPayload<ExtArgs>[]
4129
4153
  }
4130
4154
  scalars: $Extensions.GetPayloadResult<{
4131
4155
  id: string
4132
4156
  shortId: number
4157
+ role: $Enums.Role
4133
4158
  firstTimeMiExpo: boolean
4134
4159
  username: string | null
4135
4160
  password: string | null
@@ -4551,6 +4576,7 @@ export namespace Prisma {
4551
4576
  tags<T extends Profile$tagsArgs<ExtArgs> = {}>(args?: Subset<T, Profile$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
4552
4577
  birthLocation<T extends Profile$birthLocationArgs<ExtArgs> = {}>(args?: Subset<T, Profile$birthLocationArgs<ExtArgs>>): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
4553
4578
  residenceLocation<T extends Profile$residenceLocationArgs<ExtArgs> = {}>(args?: Subset<T, Profile$residenceLocationArgs<ExtArgs>>): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
4579
+ Ticket<T extends Profile$TicketArgs<ExtArgs> = {}>(args?: Subset<T, Profile$TicketArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
4554
4580
  /**
4555
4581
  * Attaches callbacks for the resolution and/or rejection of the Promise.
4556
4582
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4582,6 +4608,7 @@ export namespace Prisma {
4582
4608
  interface ProfileFieldRefs {
4583
4609
  readonly id: FieldRef<"Profile", 'String'>
4584
4610
  readonly shortId: FieldRef<"Profile", 'Int'>
4611
+ readonly role: FieldRef<"Profile", 'Role'>
4585
4612
  readonly firstTimeMiExpo: FieldRef<"Profile", 'Boolean'>
4586
4613
  readonly username: FieldRef<"Profile", 'String'>
4587
4614
  readonly password: FieldRef<"Profile", 'String'>
@@ -5132,6 +5159,30 @@ export namespace Prisma {
5132
5159
  where?: LocationWhereInput
5133
5160
  }
5134
5161
 
5162
+ /**
5163
+ * Profile.Ticket
5164
+ */
5165
+ export type Profile$TicketArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5166
+ /**
5167
+ * Select specific fields to fetch from the Ticket
5168
+ */
5169
+ select?: TicketSelect<ExtArgs> | null
5170
+ /**
5171
+ * Omit specific fields from the Ticket
5172
+ */
5173
+ omit?: TicketOmit<ExtArgs> | null
5174
+ /**
5175
+ * Choose, which related nodes to fetch as well
5176
+ */
5177
+ include?: TicketInclude<ExtArgs> | null
5178
+ where?: TicketWhereInput
5179
+ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
5180
+ cursor?: TicketWhereUniqueInput
5181
+ take?: number
5182
+ skip?: number
5183
+ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
5184
+ }
5185
+
5135
5186
  /**
5136
5187
  * Profile without action
5137
5188
  */
@@ -15369,6 +15420,7 @@ export namespace Prisma {
15369
15420
  status: $Enums.TicketStatus | null
15370
15421
  fullName: string | null
15371
15422
  mail: string | null
15423
+ profileId: string | null
15372
15424
  created_at: Date | null
15373
15425
  updated_at: Date | null
15374
15426
  }
@@ -15380,6 +15432,7 @@ export namespace Prisma {
15380
15432
  status: $Enums.TicketStatus | null
15381
15433
  fullName: string | null
15382
15434
  mail: string | null
15435
+ profileId: string | null
15383
15436
  created_at: Date | null
15384
15437
  updated_at: Date | null
15385
15438
  }
@@ -15391,6 +15444,7 @@ export namespace Prisma {
15391
15444
  status: number
15392
15445
  fullName: number
15393
15446
  mail: number
15447
+ profileId: number
15394
15448
  created_at: number
15395
15449
  updated_at: number
15396
15450
  _all: number
@@ -15404,6 +15458,7 @@ export namespace Prisma {
15404
15458
  status?: true
15405
15459
  fullName?: true
15406
15460
  mail?: true
15461
+ profileId?: true
15407
15462
  created_at?: true
15408
15463
  updated_at?: true
15409
15464
  }
@@ -15415,6 +15470,7 @@ export namespace Prisma {
15415
15470
  status?: true
15416
15471
  fullName?: true
15417
15472
  mail?: true
15473
+ profileId?: true
15418
15474
  created_at?: true
15419
15475
  updated_at?: true
15420
15476
  }
@@ -15426,6 +15482,7 @@ export namespace Prisma {
15426
15482
  status?: true
15427
15483
  fullName?: true
15428
15484
  mail?: true
15485
+ profileId?: true
15429
15486
  created_at?: true
15430
15487
  updated_at?: true
15431
15488
  _all?: true
@@ -15510,6 +15567,7 @@ export namespace Prisma {
15510
15567
  status: $Enums.TicketStatus
15511
15568
  fullName: string
15512
15569
  mail: string
15570
+ profileId: string | null
15513
15571
  created_at: Date
15514
15572
  updated_at: Date
15515
15573
  _count: TicketCountAggregateOutputType | null
@@ -15538,9 +15596,11 @@ export namespace Prisma {
15538
15596
  status?: boolean
15539
15597
  fullName?: boolean
15540
15598
  mail?: boolean
15599
+ profileId?: boolean
15541
15600
  created_at?: boolean
15542
15601
  updated_at?: boolean
15543
15602
  event?: boolean | EventDefaultArgs<ExtArgs>
15603
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15544
15604
  }, ExtArgs["result"]["ticket"]>
15545
15605
 
15546
15606
  export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -15550,9 +15610,11 @@ export namespace Prisma {
15550
15610
  status?: boolean
15551
15611
  fullName?: boolean
15552
15612
  mail?: boolean
15613
+ profileId?: boolean
15553
15614
  created_at?: boolean
15554
15615
  updated_at?: boolean
15555
15616
  event?: boolean | EventDefaultArgs<ExtArgs>
15617
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15556
15618
  }, ExtArgs["result"]["ticket"]>
15557
15619
 
15558
15620
  export type TicketSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -15562,9 +15624,11 @@ export namespace Prisma {
15562
15624
  status?: boolean
15563
15625
  fullName?: boolean
15564
15626
  mail?: boolean
15627
+ profileId?: boolean
15565
15628
  created_at?: boolean
15566
15629
  updated_at?: boolean
15567
15630
  event?: boolean | EventDefaultArgs<ExtArgs>
15631
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15568
15632
  }, ExtArgs["result"]["ticket"]>
15569
15633
 
15570
15634
  export type TicketSelectScalar = {
@@ -15574,25 +15638,30 @@ export namespace Prisma {
15574
15638
  status?: boolean
15575
15639
  fullName?: boolean
15576
15640
  mail?: boolean
15641
+ profileId?: boolean
15577
15642
  created_at?: boolean
15578
15643
  updated_at?: boolean
15579
15644
  }
15580
15645
 
15581
- export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "status" | "fullName" | "mail" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
15646
+ export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "status" | "fullName" | "mail" | "profileId" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
15582
15647
  export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15583
15648
  event?: boolean | EventDefaultArgs<ExtArgs>
15649
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15584
15650
  }
15585
15651
  export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15586
15652
  event?: boolean | EventDefaultArgs<ExtArgs>
15653
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15587
15654
  }
15588
15655
  export type TicketIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15589
15656
  event?: boolean | EventDefaultArgs<ExtArgs>
15657
+ profile?: boolean | Ticket$profileArgs<ExtArgs>
15590
15658
  }
15591
15659
 
15592
15660
  export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15593
15661
  name: "Ticket"
15594
15662
  objects: {
15595
15663
  event: Prisma.$EventPayload<ExtArgs>
15664
+ profile: Prisma.$ProfilePayload<ExtArgs> | null
15596
15665
  }
15597
15666
  scalars: $Extensions.GetPayloadResult<{
15598
15667
  id: string
@@ -15601,6 +15670,7 @@ export namespace Prisma {
15601
15670
  status: $Enums.TicketStatus
15602
15671
  fullName: string
15603
15672
  mail: string
15673
+ profileId: string | null
15604
15674
  created_at: Date
15605
15675
  updated_at: Date
15606
15676
  }, ExtArgs["result"]["ticket"]>
@@ -15998,6 +16068,7 @@ export namespace Prisma {
15998
16068
  export interface Prisma__TicketClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
15999
16069
  readonly [Symbol.toStringTag]: "PrismaPromise"
16000
16070
  event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
16071
+ profile<T extends Ticket$profileArgs<ExtArgs> = {}>(args?: Subset<T, Ticket$profileArgs<ExtArgs>>): Prisma__ProfileClient<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
16001
16072
  /**
16002
16073
  * Attaches callbacks for the resolution and/or rejection of the Promise.
16003
16074
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -16033,6 +16104,7 @@ export namespace Prisma {
16033
16104
  readonly status: FieldRef<"Ticket", 'TicketStatus'>
16034
16105
  readonly fullName: FieldRef<"Ticket", 'String'>
16035
16106
  readonly mail: FieldRef<"Ticket", 'String'>
16107
+ readonly profileId: FieldRef<"Ticket", 'String'>
16036
16108
  readonly created_at: FieldRef<"Ticket", 'DateTime'>
16037
16109
  readonly updated_at: FieldRef<"Ticket", 'DateTime'>
16038
16110
  }
@@ -16430,6 +16502,25 @@ export namespace Prisma {
16430
16502
  limit?: number
16431
16503
  }
16432
16504
 
16505
+ /**
16506
+ * Ticket.profile
16507
+ */
16508
+ export type Ticket$profileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16509
+ /**
16510
+ * Select specific fields to fetch from the Profile
16511
+ */
16512
+ select?: ProfileSelect<ExtArgs> | null
16513
+ /**
16514
+ * Omit specific fields from the Profile
16515
+ */
16516
+ omit?: ProfileOmit<ExtArgs> | null
16517
+ /**
16518
+ * Choose, which related nodes to fetch as well
16519
+ */
16520
+ include?: ProfileInclude<ExtArgs> | null
16521
+ where?: ProfileWhereInput
16522
+ }
16523
+
16433
16524
  /**
16434
16525
  * Ticket without action
16435
16526
  */
@@ -17602,7 +17693,7 @@ export namespace Prisma {
17602
17693
  export type EventTicketGroupByOutputType = {
17603
17694
  id: string
17604
17695
  eventId: string
17605
- amount: number
17696
+ amount: number | null
17606
17697
  type: $Enums.TicketType
17607
17698
  price: number | null
17608
17699
  created_at: Date
@@ -17690,7 +17781,7 @@ export namespace Prisma {
17690
17781
  scalars: $Extensions.GetPayloadResult<{
17691
17782
  id: string
17692
17783
  eventId: string
17693
- amount: number
17784
+ amount: number | null
17694
17785
  type: $Enums.TicketType
17695
17786
  price: number | null
17696
17787
  created_at: Date
@@ -18571,6 +18662,7 @@ export namespace Prisma {
18571
18662
  export const ProfileScalarFieldEnum: {
18572
18663
  id: 'id',
18573
18664
  shortId: 'shortId',
18665
+ role: 'role',
18574
18666
  firstTimeMiExpo: 'firstTimeMiExpo',
18575
18667
  username: 'username',
18576
18668
  password: 'password',
@@ -18724,6 +18816,7 @@ export namespace Prisma {
18724
18816
  status: 'status',
18725
18817
  fullName: 'fullName',
18726
18818
  mail: 'mail',
18819
+ profileId: 'profileId',
18727
18820
  created_at: 'created_at',
18728
18821
  updated_at: 'updated_at'
18729
18822
  };
@@ -19061,6 +19154,7 @@ export namespace Prisma {
19061
19154
  NOT?: ProfileWhereInput | ProfileWhereInput[]
19062
19155
  id?: StringFilter<"Profile"> | string
19063
19156
  shortId?: IntFilter<"Profile"> | number
19157
+ role?: EnumRoleFilter<"Profile"> | $Enums.Role
19064
19158
  firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
19065
19159
  username?: StringNullableFilter<"Profile"> | string | null
19066
19160
  password?: StringNullableFilter<"Profile"> | string | null
@@ -19088,11 +19182,13 @@ export namespace Prisma {
19088
19182
  tags?: TagListRelationFilter
19089
19183
  birthLocation?: XOR<LocationNullableScalarRelationFilter, LocationWhereInput> | null
19090
19184
  residenceLocation?: XOR<LocationNullableScalarRelationFilter, LocationWhereInput> | null
19185
+ Ticket?: TicketListRelationFilter
19091
19186
  }
19092
19187
 
19093
19188
  export type ProfileOrderByWithRelationInput = {
19094
19189
  id?: SortOrder
19095
19190
  shortId?: SortOrder
19191
+ role?: SortOrder
19096
19192
  firstTimeMiExpo?: SortOrder
19097
19193
  username?: SortOrderInput | SortOrder
19098
19194
  password?: SortOrderInput | SortOrder
@@ -19120,6 +19216,7 @@ export namespace Prisma {
19120
19216
  tags?: TagOrderByRelationAggregateInput
19121
19217
  birthLocation?: LocationOrderByWithRelationInput
19122
19218
  residenceLocation?: LocationOrderByWithRelationInput
19219
+ Ticket?: TicketOrderByRelationAggregateInput
19123
19220
  }
19124
19221
 
19125
19222
  export type ProfileWhereUniqueInput = Prisma.AtLeast<{
@@ -19131,6 +19228,7 @@ export namespace Prisma {
19131
19228
  OR?: ProfileWhereInput[]
19132
19229
  NOT?: ProfileWhereInput | ProfileWhereInput[]
19133
19230
  shortId?: IntFilter<"Profile"> | number
19231
+ role?: EnumRoleFilter<"Profile"> | $Enums.Role
19134
19232
  firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
19135
19233
  password?: StringNullableFilter<"Profile"> | string | null
19136
19234
  isPhoneVerified?: BoolFilter<"Profile"> | boolean
@@ -19155,11 +19253,13 @@ export namespace Prisma {
19155
19253
  tags?: TagListRelationFilter
19156
19254
  birthLocation?: XOR<LocationNullableScalarRelationFilter, LocationWhereInput> | null
19157
19255
  residenceLocation?: XOR<LocationNullableScalarRelationFilter, LocationWhereInput> | null
19256
+ Ticket?: TicketListRelationFilter
19158
19257
  }, "id" | "username" | "phoneNumber" | "secondaryPhoneNumber">
19159
19258
 
19160
19259
  export type ProfileOrderByWithAggregationInput = {
19161
19260
  id?: SortOrder
19162
19261
  shortId?: SortOrder
19262
+ role?: SortOrder
19163
19263
  firstTimeMiExpo?: SortOrder
19164
19264
  username?: SortOrderInput | SortOrder
19165
19265
  password?: SortOrderInput | SortOrder
@@ -19194,6 +19294,7 @@ export namespace Prisma {
19194
19294
  NOT?: ProfileScalarWhereWithAggregatesInput | ProfileScalarWhereWithAggregatesInput[]
19195
19295
  id?: StringWithAggregatesFilter<"Profile"> | string
19196
19296
  shortId?: IntWithAggregatesFilter<"Profile"> | number
19297
+ role?: EnumRoleWithAggregatesFilter<"Profile"> | $Enums.Role
19197
19298
  firstTimeMiExpo?: BoolWithAggregatesFilter<"Profile"> | boolean
19198
19299
  username?: StringNullableWithAggregatesFilter<"Profile"> | string | null
19199
19300
  password?: StringNullableWithAggregatesFilter<"Profile"> | string | null
@@ -19875,9 +19976,11 @@ export namespace Prisma {
19875
19976
  status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
19876
19977
  fullName?: StringFilter<"Ticket"> | string
19877
19978
  mail?: StringFilter<"Ticket"> | string
19979
+ profileId?: StringNullableFilter<"Ticket"> | string | null
19878
19980
  created_at?: DateTimeFilter<"Ticket"> | Date | string
19879
19981
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
19880
19982
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
19983
+ profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
19881
19984
  }
19882
19985
 
19883
19986
  export type TicketOrderByWithRelationInput = {
@@ -19887,9 +19990,11 @@ export namespace Prisma {
19887
19990
  status?: SortOrder
19888
19991
  fullName?: SortOrder
19889
19992
  mail?: SortOrder
19993
+ profileId?: SortOrderInput | SortOrder
19890
19994
  created_at?: SortOrder
19891
19995
  updated_at?: SortOrder
19892
19996
  event?: EventOrderByWithRelationInput
19997
+ profile?: ProfileOrderByWithRelationInput
19893
19998
  }
19894
19999
 
19895
20000
  export type TicketWhereUniqueInput = Prisma.AtLeast<{
@@ -19902,9 +20007,11 @@ export namespace Prisma {
19902
20007
  status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
19903
20008
  fullName?: StringFilter<"Ticket"> | string
19904
20009
  mail?: StringFilter<"Ticket"> | string
20010
+ profileId?: StringNullableFilter<"Ticket"> | string | null
19905
20011
  created_at?: DateTimeFilter<"Ticket"> | Date | string
19906
20012
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
19907
20013
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20014
+ profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
19908
20015
  }, "id">
19909
20016
 
19910
20017
  export type TicketOrderByWithAggregationInput = {
@@ -19914,6 +20021,7 @@ export namespace Prisma {
19914
20021
  status?: SortOrder
19915
20022
  fullName?: SortOrder
19916
20023
  mail?: SortOrder
20024
+ profileId?: SortOrderInput | SortOrder
19917
20025
  created_at?: SortOrder
19918
20026
  updated_at?: SortOrder
19919
20027
  _count?: TicketCountOrderByAggregateInput
@@ -19931,6 +20039,7 @@ export namespace Prisma {
19931
20039
  status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
19932
20040
  fullName?: StringWithAggregatesFilter<"Ticket"> | string
19933
20041
  mail?: StringWithAggregatesFilter<"Ticket"> | string
20042
+ profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
19934
20043
  created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
19935
20044
  updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
19936
20045
  }
@@ -19983,7 +20092,7 @@ export namespace Prisma {
19983
20092
  NOT?: EventTicketWhereInput | EventTicketWhereInput[]
19984
20093
  id?: StringFilter<"EventTicket"> | string
19985
20094
  eventId?: StringFilter<"EventTicket"> | string
19986
- amount?: IntFilter<"EventTicket"> | number
20095
+ amount?: IntNullableFilter<"EventTicket"> | number | null
19987
20096
  type?: EnumTicketTypeFilter<"EventTicket"> | $Enums.TicketType
19988
20097
  price?: FloatNullableFilter<"EventTicket"> | number | null
19989
20098
  created_at?: DateTimeFilter<"EventTicket"> | Date | string
@@ -19994,7 +20103,7 @@ export namespace Prisma {
19994
20103
  export type EventTicketOrderByWithRelationInput = {
19995
20104
  id?: SortOrder
19996
20105
  eventId?: SortOrder
19997
- amount?: SortOrder
20106
+ amount?: SortOrderInput | SortOrder
19998
20107
  type?: SortOrder
19999
20108
  price?: SortOrderInput | SortOrder
20000
20109
  created_at?: SortOrder
@@ -20008,7 +20117,7 @@ export namespace Prisma {
20008
20117
  OR?: EventTicketWhereInput[]
20009
20118
  NOT?: EventTicketWhereInput | EventTicketWhereInput[]
20010
20119
  eventId?: StringFilter<"EventTicket"> | string
20011
- amount?: IntFilter<"EventTicket"> | number
20120
+ amount?: IntNullableFilter<"EventTicket"> | number | null
20012
20121
  type?: EnumTicketTypeFilter<"EventTicket"> | $Enums.TicketType
20013
20122
  price?: FloatNullableFilter<"EventTicket"> | number | null
20014
20123
  created_at?: DateTimeFilter<"EventTicket"> | Date | string
@@ -20019,7 +20128,7 @@ export namespace Prisma {
20019
20128
  export type EventTicketOrderByWithAggregationInput = {
20020
20129
  id?: SortOrder
20021
20130
  eventId?: SortOrder
20022
- amount?: SortOrder
20131
+ amount?: SortOrderInput | SortOrder
20023
20132
  type?: SortOrder
20024
20133
  price?: SortOrderInput | SortOrder
20025
20134
  created_at?: SortOrder
@@ -20037,7 +20146,7 @@ export namespace Prisma {
20037
20146
  NOT?: EventTicketScalarWhereWithAggregatesInput | EventTicketScalarWhereWithAggregatesInput[]
20038
20147
  id?: StringWithAggregatesFilter<"EventTicket"> | string
20039
20148
  eventId?: StringWithAggregatesFilter<"EventTicket"> | string
20040
- amount?: IntWithAggregatesFilter<"EventTicket"> | number
20149
+ amount?: IntNullableWithAggregatesFilter<"EventTicket"> | number | null
20041
20150
  type?: EnumTicketTypeWithAggregatesFilter<"EventTicket"> | $Enums.TicketType
20042
20151
  price?: FloatNullableWithAggregatesFilter<"EventTicket"> | number | null
20043
20152
  created_at?: DateTimeWithAggregatesFilter<"EventTicket"> | Date | string
@@ -20140,6 +20249,7 @@ export namespace Prisma {
20140
20249
  export type ProfileCreateInput = {
20141
20250
  id?: string
20142
20251
  shortId: number
20252
+ role?: $Enums.Role
20143
20253
  firstTimeMiExpo?: boolean
20144
20254
  username?: string | null
20145
20255
  password?: string | null
@@ -20165,11 +20275,13 @@ export namespace Prisma {
20165
20275
  tags?: TagCreateNestedManyWithoutProfilesInput
20166
20276
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
20167
20277
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
20278
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
20168
20279
  }
20169
20280
 
20170
20281
  export type ProfileUncheckedCreateInput = {
20171
20282
  id?: string
20172
20283
  shortId: number
20284
+ role?: $Enums.Role
20173
20285
  firstTimeMiExpo?: boolean
20174
20286
  username?: string | null
20175
20287
  password?: string | null
@@ -20195,11 +20307,13 @@ export namespace Prisma {
20195
20307
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
20196
20308
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
20197
20309
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
20310
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
20198
20311
  }
20199
20312
 
20200
20313
  export type ProfileUpdateInput = {
20201
20314
  id?: StringFieldUpdateOperationsInput | string
20202
20315
  shortId?: IntFieldUpdateOperationsInput | number
20316
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
20203
20317
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
20204
20318
  username?: NullableStringFieldUpdateOperationsInput | string | null
20205
20319
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -20225,11 +20339,13 @@ export namespace Prisma {
20225
20339
  tags?: TagUpdateManyWithoutProfilesNestedInput
20226
20340
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
20227
20341
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
20342
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
20228
20343
  }
20229
20344
 
20230
20345
  export type ProfileUncheckedUpdateInput = {
20231
20346
  id?: StringFieldUpdateOperationsInput | string
20232
20347
  shortId?: IntFieldUpdateOperationsInput | number
20348
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
20233
20349
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
20234
20350
  username?: NullableStringFieldUpdateOperationsInput | string | null
20235
20351
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -20255,11 +20371,13 @@ export namespace Prisma {
20255
20371
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
20256
20372
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
20257
20373
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
20374
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
20258
20375
  }
20259
20376
 
20260
20377
  export type ProfileCreateManyInput = {
20261
20378
  id?: string
20262
20379
  shortId: number
20380
+ role?: $Enums.Role
20263
20381
  firstTimeMiExpo?: boolean
20264
20382
  username?: string | null
20265
20383
  password?: string | null
@@ -20286,6 +20404,7 @@ export namespace Prisma {
20286
20404
  export type ProfileUpdateManyMutationInput = {
20287
20405
  id?: StringFieldUpdateOperationsInput | string
20288
20406
  shortId?: IntFieldUpdateOperationsInput | number
20407
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
20289
20408
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
20290
20409
  username?: NullableStringFieldUpdateOperationsInput | string | null
20291
20410
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -20310,6 +20429,7 @@ export namespace Prisma {
20310
20429
  export type ProfileUncheckedUpdateManyInput = {
20311
20430
  id?: StringFieldUpdateOperationsInput | string
20312
20431
  shortId?: IntFieldUpdateOperationsInput | number
20432
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
20313
20433
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
20314
20434
  username?: NullableStringFieldUpdateOperationsInput | string | null
20315
20435
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -21039,6 +21159,7 @@ export namespace Prisma {
21039
21159
  created_at?: Date | string
21040
21160
  updated_at?: Date | string
21041
21161
  event: EventCreateNestedOneWithoutTicketsInput
21162
+ profile?: ProfileCreateNestedOneWithoutTicketInput
21042
21163
  }
21043
21164
 
21044
21165
  export type TicketUncheckedCreateInput = {
@@ -21048,6 +21169,7 @@ export namespace Prisma {
21048
21169
  status: $Enums.TicketStatus
21049
21170
  fullName: string
21050
21171
  mail: string
21172
+ profileId?: string | null
21051
21173
  created_at?: Date | string
21052
21174
  updated_at?: Date | string
21053
21175
  }
@@ -21061,6 +21183,7 @@ export namespace Prisma {
21061
21183
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21062
21184
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21063
21185
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
21186
+ profile?: ProfileUpdateOneWithoutTicketNestedInput
21064
21187
  }
21065
21188
 
21066
21189
  export type TicketUncheckedUpdateInput = {
@@ -21070,6 +21193,7 @@ export namespace Prisma {
21070
21193
  status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21071
21194
  fullName?: StringFieldUpdateOperationsInput | string
21072
21195
  mail?: StringFieldUpdateOperationsInput | string
21196
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
21073
21197
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21074
21198
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21075
21199
  }
@@ -21081,6 +21205,7 @@ export namespace Prisma {
21081
21205
  status: $Enums.TicketStatus
21082
21206
  fullName: string
21083
21207
  mail: string
21208
+ profileId?: string | null
21084
21209
  created_at?: Date | string
21085
21210
  updated_at?: Date | string
21086
21211
  }
@@ -21102,6 +21227,7 @@ export namespace Prisma {
21102
21227
  status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21103
21228
  fullName?: StringFieldUpdateOperationsInput | string
21104
21229
  mail?: StringFieldUpdateOperationsInput | string
21230
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
21105
21231
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21106
21232
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21107
21233
  }
@@ -21150,7 +21276,7 @@ export namespace Prisma {
21150
21276
 
21151
21277
  export type EventTicketCreateInput = {
21152
21278
  id?: string
21153
- amount: number
21279
+ amount?: number | null
21154
21280
  type: $Enums.TicketType
21155
21281
  price?: number | null
21156
21282
  created_at?: Date | string
@@ -21161,7 +21287,7 @@ export namespace Prisma {
21161
21287
  export type EventTicketUncheckedCreateInput = {
21162
21288
  id?: string
21163
21289
  eventId: string
21164
- amount: number
21290
+ amount?: number | null
21165
21291
  type: $Enums.TicketType
21166
21292
  price?: number | null
21167
21293
  created_at?: Date | string
@@ -21170,7 +21296,7 @@ export namespace Prisma {
21170
21296
 
21171
21297
  export type EventTicketUpdateInput = {
21172
21298
  id?: StringFieldUpdateOperationsInput | string
21173
- amount?: IntFieldUpdateOperationsInput | number
21299
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
21174
21300
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21175
21301
  price?: NullableFloatFieldUpdateOperationsInput | number | null
21176
21302
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -21181,7 +21307,7 @@ export namespace Prisma {
21181
21307
  export type EventTicketUncheckedUpdateInput = {
21182
21308
  id?: StringFieldUpdateOperationsInput | string
21183
21309
  eventId?: StringFieldUpdateOperationsInput | string
21184
- amount?: IntFieldUpdateOperationsInput | number
21310
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
21185
21311
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21186
21312
  price?: NullableFloatFieldUpdateOperationsInput | number | null
21187
21313
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -21191,7 +21317,7 @@ export namespace Prisma {
21191
21317
  export type EventTicketCreateManyInput = {
21192
21318
  id?: string
21193
21319
  eventId: string
21194
- amount: number
21320
+ amount?: number | null
21195
21321
  type: $Enums.TicketType
21196
21322
  price?: number | null
21197
21323
  created_at?: Date | string
@@ -21200,7 +21326,7 @@ export namespace Prisma {
21200
21326
 
21201
21327
  export type EventTicketUpdateManyMutationInput = {
21202
21328
  id?: StringFieldUpdateOperationsInput | string
21203
- amount?: IntFieldUpdateOperationsInput | number
21329
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
21204
21330
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21205
21331
  price?: NullableFloatFieldUpdateOperationsInput | number | null
21206
21332
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -21210,7 +21336,7 @@ export namespace Prisma {
21210
21336
  export type EventTicketUncheckedUpdateManyInput = {
21211
21337
  id?: StringFieldUpdateOperationsInput | string
21212
21338
  eventId?: StringFieldUpdateOperationsInput | string
21213
- amount?: IntFieldUpdateOperationsInput | number
21339
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
21214
21340
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21215
21341
  price?: NullableFloatFieldUpdateOperationsInput | number | null
21216
21342
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -21418,6 +21544,12 @@ export namespace Prisma {
21418
21544
  isNot?: LocationWhereInput | null
21419
21545
  }
21420
21546
 
21547
+ export type TicketListRelationFilter = {
21548
+ every?: TicketWhereInput
21549
+ some?: TicketWhereInput
21550
+ none?: TicketWhereInput
21551
+ }
21552
+
21421
21553
  export type SortOrderInput = {
21422
21554
  sort: SortOrder
21423
21555
  nulls?: NullsOrder
@@ -21431,9 +21563,14 @@ export namespace Prisma {
21431
21563
  _count?: SortOrder
21432
21564
  }
21433
21565
 
21566
+ export type TicketOrderByRelationAggregateInput = {
21567
+ _count?: SortOrder
21568
+ }
21569
+
21434
21570
  export type ProfileCountOrderByAggregateInput = {
21435
21571
  id?: SortOrder
21436
21572
  shortId?: SortOrder
21573
+ role?: SortOrder
21437
21574
  firstTimeMiExpo?: SortOrder
21438
21575
  username?: SortOrder
21439
21576
  password?: SortOrder
@@ -21464,6 +21601,7 @@ export namespace Prisma {
21464
21601
  export type ProfileMaxOrderByAggregateInput = {
21465
21602
  id?: SortOrder
21466
21603
  shortId?: SortOrder
21604
+ role?: SortOrder
21467
21605
  firstTimeMiExpo?: SortOrder
21468
21606
  username?: SortOrder
21469
21607
  password?: SortOrder
@@ -21489,6 +21627,7 @@ export namespace Prisma {
21489
21627
  export type ProfileMinOrderByAggregateInput = {
21490
21628
  id?: SortOrder
21491
21629
  shortId?: SortOrder
21630
+ role?: SortOrder
21492
21631
  firstTimeMiExpo?: SortOrder
21493
21632
  username?: SortOrder
21494
21633
  password?: SortOrder
@@ -21840,22 +21979,12 @@ export namespace Prisma {
21840
21979
  isNot?: TagWhereInput
21841
21980
  }
21842
21981
 
21843
- export type TicketListRelationFilter = {
21844
- every?: TicketWhereInput
21845
- some?: TicketWhereInput
21846
- none?: TicketWhereInput
21847
- }
21848
-
21849
21982
  export type EventTicketListRelationFilter = {
21850
21983
  every?: EventTicketWhereInput
21851
21984
  some?: EventTicketWhereInput
21852
21985
  none?: EventTicketWhereInput
21853
21986
  }
21854
21987
 
21855
- export type TicketOrderByRelationAggregateInput = {
21856
- _count?: SortOrder
21857
- }
21858
-
21859
21988
  export type EventTicketOrderByRelationAggregateInput = {
21860
21989
  _count?: SortOrder
21861
21990
  }
@@ -22069,6 +22198,11 @@ export namespace Prisma {
22069
22198
  isNot?: EventWhereInput
22070
22199
  }
22071
22200
 
22201
+ export type ProfileNullableScalarRelationFilter = {
22202
+ is?: ProfileWhereInput | null
22203
+ isNot?: ProfileWhereInput | null
22204
+ }
22205
+
22072
22206
  export type TicketCountOrderByAggregateInput = {
22073
22207
  id?: SortOrder
22074
22208
  eventId?: SortOrder
@@ -22076,6 +22210,7 @@ export namespace Prisma {
22076
22210
  status?: SortOrder
22077
22211
  fullName?: SortOrder
22078
22212
  mail?: SortOrder
22213
+ profileId?: SortOrder
22079
22214
  created_at?: SortOrder
22080
22215
  updated_at?: SortOrder
22081
22216
  }
@@ -22087,6 +22222,7 @@ export namespace Prisma {
22087
22222
  status?: SortOrder
22088
22223
  fullName?: SortOrder
22089
22224
  mail?: SortOrder
22225
+ profileId?: SortOrder
22090
22226
  created_at?: SortOrder
22091
22227
  updated_at?: SortOrder
22092
22228
  }
@@ -22098,6 +22234,7 @@ export namespace Prisma {
22098
22234
  status?: SortOrder
22099
22235
  fullName?: SortOrder
22100
22236
  mail?: SortOrder
22237
+ profileId?: SortOrder
22101
22238
  created_at?: SortOrder
22102
22239
  updated_at?: SortOrder
22103
22240
  }
@@ -22174,6 +22311,17 @@ export namespace Prisma {
22174
22311
  _max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
22175
22312
  }
22176
22313
 
22314
+ export type IntNullableFilter<$PrismaModel = never> = {
22315
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
22316
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22317
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22318
+ lt?: number | IntFieldRefInput<$PrismaModel>
22319
+ lte?: number | IntFieldRefInput<$PrismaModel>
22320
+ gt?: number | IntFieldRefInput<$PrismaModel>
22321
+ gte?: number | IntFieldRefInput<$PrismaModel>
22322
+ not?: NestedIntNullableFilter<$PrismaModel> | number | null
22323
+ }
22324
+
22177
22325
  export type FloatNullableFilter<$PrismaModel = never> = {
22178
22326
  equals?: number | FloatFieldRefInput<$PrismaModel> | null
22179
22327
  in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
@@ -22225,6 +22373,22 @@ export namespace Prisma {
22225
22373
  price?: SortOrder
22226
22374
  }
22227
22375
 
22376
+ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
22377
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
22378
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22379
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22380
+ lt?: number | IntFieldRefInput<$PrismaModel>
22381
+ lte?: number | IntFieldRefInput<$PrismaModel>
22382
+ gt?: number | IntFieldRefInput<$PrismaModel>
22383
+ gte?: number | IntFieldRefInput<$PrismaModel>
22384
+ not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
22385
+ _count?: NestedIntNullableFilter<$PrismaModel>
22386
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
22387
+ _sum?: NestedIntNullableFilter<$PrismaModel>
22388
+ _min?: NestedIntNullableFilter<$PrismaModel>
22389
+ _max?: NestedIntNullableFilter<$PrismaModel>
22390
+ }
22391
+
22228
22392
  export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
22229
22393
  equals?: number | FloatFieldRefInput<$PrismaModel> | null
22230
22394
  in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
@@ -22469,6 +22633,13 @@ export namespace Prisma {
22469
22633
  connect?: LocationWhereUniqueInput
22470
22634
  }
22471
22635
 
22636
+ export type TicketCreateNestedManyWithoutProfileInput = {
22637
+ create?: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput> | TicketCreateWithoutProfileInput[] | TicketUncheckedCreateWithoutProfileInput[]
22638
+ connectOrCreate?: TicketCreateOrConnectWithoutProfileInput | TicketCreateOrConnectWithoutProfileInput[]
22639
+ createMany?: TicketCreateManyProfileInputEnvelope
22640
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22641
+ }
22642
+
22472
22643
  export type OtpUncheckedCreateNestedManyWithoutOwnerInput = {
22473
22644
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
22474
22645
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -22496,6 +22667,13 @@ export namespace Prisma {
22496
22667
  connect?: TagWhereUniqueInput | TagWhereUniqueInput[]
22497
22668
  }
22498
22669
 
22670
+ export type TicketUncheckedCreateNestedManyWithoutProfileInput = {
22671
+ create?: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput> | TicketCreateWithoutProfileInput[] | TicketUncheckedCreateWithoutProfileInput[]
22672
+ connectOrCreate?: TicketCreateOrConnectWithoutProfileInput | TicketCreateOrConnectWithoutProfileInput[]
22673
+ createMany?: TicketCreateManyProfileInputEnvelope
22674
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22675
+ }
22676
+
22499
22677
  export type IntFieldUpdateOperationsInput = {
22500
22678
  set?: number
22501
22679
  increment?: number
@@ -22592,6 +22770,20 @@ export namespace Prisma {
22592
22770
  update?: XOR<XOR<LocationUpdateToOneWithWhereWithoutResidenceProfilesInput, LocationUpdateWithoutResidenceProfilesInput>, LocationUncheckedUpdateWithoutResidenceProfilesInput>
22593
22771
  }
22594
22772
 
22773
+ export type TicketUpdateManyWithoutProfileNestedInput = {
22774
+ create?: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput> | TicketCreateWithoutProfileInput[] | TicketUncheckedCreateWithoutProfileInput[]
22775
+ connectOrCreate?: TicketCreateOrConnectWithoutProfileInput | TicketCreateOrConnectWithoutProfileInput[]
22776
+ upsert?: TicketUpsertWithWhereUniqueWithoutProfileInput | TicketUpsertWithWhereUniqueWithoutProfileInput[]
22777
+ createMany?: TicketCreateManyProfileInputEnvelope
22778
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22779
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22780
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22781
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22782
+ update?: TicketUpdateWithWhereUniqueWithoutProfileInput | TicketUpdateWithWhereUniqueWithoutProfileInput[]
22783
+ updateMany?: TicketUpdateManyWithWhereWithoutProfileInput | TicketUpdateManyWithWhereWithoutProfileInput[]
22784
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
22785
+ }
22786
+
22595
22787
  export type OtpUncheckedUpdateManyWithoutOwnerNestedInput = {
22596
22788
  create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
22597
22789
  connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
@@ -22647,6 +22839,20 @@ export namespace Prisma {
22647
22839
  deleteMany?: TagScalarWhereInput | TagScalarWhereInput[]
22648
22840
  }
22649
22841
 
22842
+ export type TicketUncheckedUpdateManyWithoutProfileNestedInput = {
22843
+ create?: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput> | TicketCreateWithoutProfileInput[] | TicketUncheckedCreateWithoutProfileInput[]
22844
+ connectOrCreate?: TicketCreateOrConnectWithoutProfileInput | TicketCreateOrConnectWithoutProfileInput[]
22845
+ upsert?: TicketUpsertWithWhereUniqueWithoutProfileInput | TicketUpsertWithWhereUniqueWithoutProfileInput[]
22846
+ createMany?: TicketCreateManyProfileInputEnvelope
22847
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22848
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22849
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22850
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
22851
+ update?: TicketUpdateWithWhereUniqueWithoutProfileInput | TicketUpdateWithWhereUniqueWithoutProfileInput[]
22852
+ updateMany?: TicketUpdateManyWithWhereWithoutProfileInput | TicketUpdateManyWithWhereWithoutProfileInput[]
22853
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
22854
+ }
22855
+
22650
22856
  export type ProfileCreateNestedOneWithoutOtpInput = {
22651
22857
  create?: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
22652
22858
  connectOrCreate?: ProfileCreateOrConnectWithoutOtpInput
@@ -23363,6 +23569,12 @@ export namespace Prisma {
23363
23569
  connect?: EventWhereUniqueInput
23364
23570
  }
23365
23571
 
23572
+ export type ProfileCreateNestedOneWithoutTicketInput = {
23573
+ create?: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
23574
+ connectOrCreate?: ProfileCreateOrConnectWithoutTicketInput
23575
+ connect?: ProfileWhereUniqueInput
23576
+ }
23577
+
23366
23578
  export type EnumTicketTypeFieldUpdateOperationsInput = {
23367
23579
  set?: $Enums.TicketType
23368
23580
  }
@@ -23379,6 +23591,16 @@ export namespace Prisma {
23379
23591
  update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketsInput, EventUpdateWithoutTicketsInput>, EventUncheckedUpdateWithoutTicketsInput>
23380
23592
  }
23381
23593
 
23594
+ export type ProfileUpdateOneWithoutTicketNestedInput = {
23595
+ create?: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
23596
+ connectOrCreate?: ProfileCreateOrConnectWithoutTicketInput
23597
+ upsert?: ProfileUpsertWithoutTicketInput
23598
+ disconnect?: ProfileWhereInput | boolean
23599
+ delete?: ProfileWhereInput | boolean
23600
+ connect?: ProfileWhereUniqueInput
23601
+ update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutTicketInput, ProfileUpdateWithoutTicketInput>, ProfileUncheckedUpdateWithoutTicketInput>
23602
+ }
23603
+
23382
23604
  export type EnumTemplateStatusFieldUpdateOperationsInput = {
23383
23605
  set?: $Enums.TemplateStatus
23384
23606
  }
@@ -23393,6 +23615,14 @@ export namespace Prisma {
23393
23615
  connect?: EventWhereUniqueInput
23394
23616
  }
23395
23617
 
23618
+ export type NullableIntFieldUpdateOperationsInput = {
23619
+ set?: number | null
23620
+ increment?: number
23621
+ decrement?: number
23622
+ multiply?: number
23623
+ divide?: number
23624
+ }
23625
+
23396
23626
  export type NullableFloatFieldUpdateOperationsInput = {
23397
23627
  set?: number | null
23398
23628
  increment?: number
@@ -23752,6 +23982,22 @@ export namespace Prisma {
23752
23982
  not?: NestedFloatNullableFilter<$PrismaModel> | number | null
23753
23983
  }
23754
23984
 
23985
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
23986
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
23987
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23988
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23989
+ lt?: number | IntFieldRefInput<$PrismaModel>
23990
+ lte?: number | IntFieldRefInput<$PrismaModel>
23991
+ gt?: number | IntFieldRefInput<$PrismaModel>
23992
+ gte?: number | IntFieldRefInput<$PrismaModel>
23993
+ not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
23994
+ _count?: NestedIntNullableFilter<$PrismaModel>
23995
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
23996
+ _sum?: NestedIntNullableFilter<$PrismaModel>
23997
+ _min?: NestedIntNullableFilter<$PrismaModel>
23998
+ _max?: NestedIntNullableFilter<$PrismaModel>
23999
+ }
24000
+
23755
24001
  export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
23756
24002
  equals?: number | FloatFieldRefInput<$PrismaModel> | null
23757
24003
  in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
@@ -24173,6 +24419,38 @@ export namespace Prisma {
24173
24419
  create: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
24174
24420
  }
24175
24421
 
24422
+ export type TicketCreateWithoutProfileInput = {
24423
+ id?: string
24424
+ type: $Enums.TicketType
24425
+ status: $Enums.TicketStatus
24426
+ fullName: string
24427
+ mail: string
24428
+ created_at?: Date | string
24429
+ updated_at?: Date | string
24430
+ event: EventCreateNestedOneWithoutTicketsInput
24431
+ }
24432
+
24433
+ export type TicketUncheckedCreateWithoutProfileInput = {
24434
+ id?: string
24435
+ eventId: string
24436
+ type: $Enums.TicketType
24437
+ status: $Enums.TicketStatus
24438
+ fullName: string
24439
+ mail: string
24440
+ created_at?: Date | string
24441
+ updated_at?: Date | string
24442
+ }
24443
+
24444
+ export type TicketCreateOrConnectWithoutProfileInput = {
24445
+ where: TicketWhereUniqueInput
24446
+ create: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput>
24447
+ }
24448
+
24449
+ export type TicketCreateManyProfileInputEnvelope = {
24450
+ data: TicketCreateManyProfileInput | TicketCreateManyProfileInput[]
24451
+ skipDuplicates?: boolean
24452
+ }
24453
+
24176
24454
  export type OtpUpsertWithWhereUniqueWithoutOwnerInput = {
24177
24455
  where: OtpWhereUniqueInput
24178
24456
  update: XOR<OtpUpdateWithoutOwnerInput, OtpUncheckedUpdateWithoutOwnerInput>
@@ -24332,9 +24610,41 @@ export namespace Prisma {
24332
24610
  birthProfiles?: ProfileUncheckedUpdateManyWithoutBirthLocationNestedInput
24333
24611
  }
24334
24612
 
24613
+ export type TicketUpsertWithWhereUniqueWithoutProfileInput = {
24614
+ where: TicketWhereUniqueInput
24615
+ update: XOR<TicketUpdateWithoutProfileInput, TicketUncheckedUpdateWithoutProfileInput>
24616
+ create: XOR<TicketCreateWithoutProfileInput, TicketUncheckedCreateWithoutProfileInput>
24617
+ }
24618
+
24619
+ export type TicketUpdateWithWhereUniqueWithoutProfileInput = {
24620
+ where: TicketWhereUniqueInput
24621
+ data: XOR<TicketUpdateWithoutProfileInput, TicketUncheckedUpdateWithoutProfileInput>
24622
+ }
24623
+
24624
+ export type TicketUpdateManyWithWhereWithoutProfileInput = {
24625
+ where: TicketScalarWhereInput
24626
+ data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutProfileInput>
24627
+ }
24628
+
24629
+ export type TicketScalarWhereInput = {
24630
+ AND?: TicketScalarWhereInput | TicketScalarWhereInput[]
24631
+ OR?: TicketScalarWhereInput[]
24632
+ NOT?: TicketScalarWhereInput | TicketScalarWhereInput[]
24633
+ id?: StringFilter<"Ticket"> | string
24634
+ eventId?: StringFilter<"Ticket"> | string
24635
+ type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
24636
+ status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
24637
+ fullName?: StringFilter<"Ticket"> | string
24638
+ mail?: StringFilter<"Ticket"> | string
24639
+ profileId?: StringNullableFilter<"Ticket"> | string | null
24640
+ created_at?: DateTimeFilter<"Ticket"> | Date | string
24641
+ updated_at?: DateTimeFilter<"Ticket"> | Date | string
24642
+ }
24643
+
24335
24644
  export type ProfileCreateWithoutOtpInput = {
24336
24645
  id?: string
24337
24646
  shortId: number
24647
+ role?: $Enums.Role
24338
24648
  firstTimeMiExpo?: boolean
24339
24649
  username?: string | null
24340
24650
  password?: string | null
@@ -24359,11 +24669,13 @@ export namespace Prisma {
24359
24669
  tags?: TagCreateNestedManyWithoutProfilesInput
24360
24670
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
24361
24671
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
24672
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
24362
24673
  }
24363
24674
 
24364
24675
  export type ProfileUncheckedCreateWithoutOtpInput = {
24365
24676
  id?: string
24366
24677
  shortId: number
24678
+ role?: $Enums.Role
24367
24679
  firstTimeMiExpo?: boolean
24368
24680
  username?: string | null
24369
24681
  password?: string | null
@@ -24388,6 +24700,7 @@ export namespace Prisma {
24388
24700
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
24389
24701
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
24390
24702
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
24703
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
24391
24704
  }
24392
24705
 
24393
24706
  export type ProfileCreateOrConnectWithoutOtpInput = {
@@ -24409,6 +24722,7 @@ export namespace Prisma {
24409
24722
  export type ProfileUpdateWithoutOtpInput = {
24410
24723
  id?: StringFieldUpdateOperationsInput | string
24411
24724
  shortId?: IntFieldUpdateOperationsInput | number
24725
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
24412
24726
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
24413
24727
  username?: NullableStringFieldUpdateOperationsInput | string | null
24414
24728
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -24433,11 +24747,13 @@ export namespace Prisma {
24433
24747
  tags?: TagUpdateManyWithoutProfilesNestedInput
24434
24748
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
24435
24749
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
24750
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
24436
24751
  }
24437
24752
 
24438
24753
  export type ProfileUncheckedUpdateWithoutOtpInput = {
24439
24754
  id?: StringFieldUpdateOperationsInput | string
24440
24755
  shortId?: IntFieldUpdateOperationsInput | number
24756
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
24441
24757
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
24442
24758
  username?: NullableStringFieldUpdateOperationsInput | string | null
24443
24759
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -24462,11 +24778,13 @@ export namespace Prisma {
24462
24778
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
24463
24779
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
24464
24780
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
24781
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
24465
24782
  }
24466
24783
 
24467
24784
  export type ProfileCreateWithoutBirthLocationInput = {
24468
24785
  id?: string
24469
24786
  shortId: number
24787
+ role?: $Enums.Role
24470
24788
  firstTimeMiExpo?: boolean
24471
24789
  username?: string | null
24472
24790
  password?: string | null
@@ -24491,11 +24809,13 @@ export namespace Prisma {
24491
24809
  messages?: MessageCreateNestedManyWithoutProfileInput
24492
24810
  tags?: TagCreateNestedManyWithoutProfilesInput
24493
24811
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
24812
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
24494
24813
  }
24495
24814
 
24496
24815
  export type ProfileUncheckedCreateWithoutBirthLocationInput = {
24497
24816
  id?: string
24498
24817
  shortId: number
24818
+ role?: $Enums.Role
24499
24819
  firstTimeMiExpo?: boolean
24500
24820
  username?: string | null
24501
24821
  password?: string | null
@@ -24520,6 +24840,7 @@ export namespace Prisma {
24520
24840
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
24521
24841
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
24522
24842
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
24843
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
24523
24844
  }
24524
24845
 
24525
24846
  export type ProfileCreateOrConnectWithoutBirthLocationInput = {
@@ -24535,6 +24856,7 @@ export namespace Prisma {
24535
24856
  export type ProfileCreateWithoutResidenceLocationInput = {
24536
24857
  id?: string
24537
24858
  shortId: number
24859
+ role?: $Enums.Role
24538
24860
  firstTimeMiExpo?: boolean
24539
24861
  username?: string | null
24540
24862
  password?: string | null
@@ -24559,11 +24881,13 @@ export namespace Prisma {
24559
24881
  messages?: MessageCreateNestedManyWithoutProfileInput
24560
24882
  tags?: TagCreateNestedManyWithoutProfilesInput
24561
24883
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
24884
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
24562
24885
  }
24563
24886
 
24564
24887
  export type ProfileUncheckedCreateWithoutResidenceLocationInput = {
24565
24888
  id?: string
24566
24889
  shortId: number
24890
+ role?: $Enums.Role
24567
24891
  firstTimeMiExpo?: boolean
24568
24892
  username?: string | null
24569
24893
  password?: string | null
@@ -24588,6 +24912,7 @@ export namespace Prisma {
24588
24912
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
24589
24913
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
24590
24914
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
24915
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
24591
24916
  }
24592
24917
 
24593
24918
  export type ProfileCreateOrConnectWithoutResidenceLocationInput = {
@@ -24622,6 +24947,7 @@ export namespace Prisma {
24622
24947
  NOT?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
24623
24948
  id?: StringFilter<"Profile"> | string
24624
24949
  shortId?: IntFilter<"Profile"> | number
24950
+ role?: EnumRoleFilter<"Profile"> | $Enums.Role
24625
24951
  firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
24626
24952
  username?: StringNullableFilter<"Profile"> | string | null
24627
24953
  password?: StringNullableFilter<"Profile"> | string | null
@@ -24697,6 +25023,7 @@ export namespace Prisma {
24697
25023
  export type ProfileCreateWithoutCommentsInput = {
24698
25024
  id?: string
24699
25025
  shortId: number
25026
+ role?: $Enums.Role
24700
25027
  firstTimeMiExpo?: boolean
24701
25028
  username?: string | null
24702
25029
  password?: string | null
@@ -24721,11 +25048,13 @@ export namespace Prisma {
24721
25048
  tags?: TagCreateNestedManyWithoutProfilesInput
24722
25049
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
24723
25050
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
25051
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
24724
25052
  }
24725
25053
 
24726
25054
  export type ProfileUncheckedCreateWithoutCommentsInput = {
24727
25055
  id?: string
24728
25056
  shortId: number
25057
+ role?: $Enums.Role
24729
25058
  firstTimeMiExpo?: boolean
24730
25059
  username?: string | null
24731
25060
  password?: string | null
@@ -24750,6 +25079,7 @@ export namespace Prisma {
24750
25079
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
24751
25080
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
24752
25081
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
25082
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
24753
25083
  }
24754
25084
 
24755
25085
  export type ProfileCreateOrConnectWithoutCommentsInput = {
@@ -24843,6 +25173,7 @@ export namespace Prisma {
24843
25173
  export type ProfileUpdateWithoutCommentsInput = {
24844
25174
  id?: StringFieldUpdateOperationsInput | string
24845
25175
  shortId?: IntFieldUpdateOperationsInput | number
25176
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
24846
25177
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
24847
25178
  username?: NullableStringFieldUpdateOperationsInput | string | null
24848
25179
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -24867,11 +25198,13 @@ export namespace Prisma {
24867
25198
  tags?: TagUpdateManyWithoutProfilesNestedInput
24868
25199
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
24869
25200
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
25201
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
24870
25202
  }
24871
25203
 
24872
25204
  export type ProfileUncheckedUpdateWithoutCommentsInput = {
24873
25205
  id?: StringFieldUpdateOperationsInput | string
24874
25206
  shortId?: IntFieldUpdateOperationsInput | number
25207
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
24875
25208
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
24876
25209
  username?: NullableStringFieldUpdateOperationsInput | string | null
24877
25210
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -24896,6 +25229,7 @@ export namespace Prisma {
24896
25229
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
24897
25230
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
24898
25231
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
25232
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
24899
25233
  }
24900
25234
 
24901
25235
  export type AccountUpsertWithoutSolvableCommentsInput = {
@@ -25082,6 +25416,7 @@ export namespace Prisma {
25082
25416
  export type ProfileCreateWithoutTagsInput = {
25083
25417
  id?: string
25084
25418
  shortId: number
25419
+ role?: $Enums.Role
25085
25420
  firstTimeMiExpo?: boolean
25086
25421
  username?: string | null
25087
25422
  password?: string | null
@@ -25106,11 +25441,13 @@ export namespace Prisma {
25106
25441
  messages?: MessageCreateNestedManyWithoutProfileInput
25107
25442
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
25108
25443
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
25444
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
25109
25445
  }
25110
25446
 
25111
25447
  export type ProfileUncheckedCreateWithoutTagsInput = {
25112
25448
  id?: string
25113
25449
  shortId: number
25450
+ role?: $Enums.Role
25114
25451
  firstTimeMiExpo?: boolean
25115
25452
  username?: string | null
25116
25453
  password?: string | null
@@ -25135,6 +25472,7 @@ export namespace Prisma {
25135
25472
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
25136
25473
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
25137
25474
  messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
25475
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
25138
25476
  }
25139
25477
 
25140
25478
  export type ProfileCreateOrConnectWithoutTagsInput = {
@@ -25634,6 +25972,7 @@ export namespace Prisma {
25634
25972
  mail: string
25635
25973
  created_at?: Date | string
25636
25974
  updated_at?: Date | string
25975
+ profile?: ProfileCreateNestedOneWithoutTicketInput
25637
25976
  }
25638
25977
 
25639
25978
  export type TicketUncheckedCreateWithoutEventInput = {
@@ -25642,6 +25981,7 @@ export namespace Prisma {
25642
25981
  status: $Enums.TicketStatus
25643
25982
  fullName: string
25644
25983
  mail: string
25984
+ profileId?: string | null
25645
25985
  created_at?: Date | string
25646
25986
  updated_at?: Date | string
25647
25987
  }
@@ -25739,7 +26079,7 @@ export namespace Prisma {
25739
26079
 
25740
26080
  export type EventTicketCreateWithoutEventInput = {
25741
26081
  id?: string
25742
- amount: number
26082
+ amount?: number | null
25743
26083
  type: $Enums.TicketType
25744
26084
  price?: number | null
25745
26085
  created_at?: Date | string
@@ -25748,7 +26088,7 @@ export namespace Prisma {
25748
26088
 
25749
26089
  export type EventTicketUncheckedCreateWithoutEventInput = {
25750
26090
  id?: string
25751
- amount: number
26091
+ amount?: number | null
25752
26092
  type: $Enums.TicketType
25753
26093
  price?: number | null
25754
26094
  created_at?: Date | string
@@ -25935,20 +26275,6 @@ export namespace Prisma {
25935
26275
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
25936
26276
  }
25937
26277
 
25938
- export type TicketScalarWhereInput = {
25939
- AND?: TicketScalarWhereInput | TicketScalarWhereInput[]
25940
- OR?: TicketScalarWhereInput[]
25941
- NOT?: TicketScalarWhereInput | TicketScalarWhereInput[]
25942
- id?: StringFilter<"Ticket"> | string
25943
- eventId?: StringFilter<"Ticket"> | string
25944
- type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
25945
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
25946
- fullName?: StringFilter<"Ticket"> | string
25947
- mail?: StringFilter<"Ticket"> | string
25948
- created_at?: DateTimeFilter<"Ticket"> | Date | string
25949
- updated_at?: DateTimeFilter<"Ticket"> | Date | string
25950
- }
25951
-
25952
26278
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
25953
26279
  where: EventWhereUniqueInput
25954
26280
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -26003,7 +26329,7 @@ export namespace Prisma {
26003
26329
  NOT?: EventTicketScalarWhereInput | EventTicketScalarWhereInput[]
26004
26330
  id?: StringFilter<"EventTicket"> | string
26005
26331
  eventId?: StringFilter<"EventTicket"> | string
26006
- amount?: IntFilter<"EventTicket"> | number
26332
+ amount?: IntNullableFilter<"EventTicket"> | number | null
26007
26333
  type?: EnumTicketTypeFilter<"EventTicket"> | $Enums.TicketType
26008
26334
  price?: FloatNullableFilter<"EventTicket"> | number | null
26009
26335
  created_at?: DateTimeFilter<"EventTicket"> | Date | string
@@ -26077,6 +26403,7 @@ export namespace Prisma {
26077
26403
  export type ProfileCreateWithoutMessagesInput = {
26078
26404
  id?: string
26079
26405
  shortId: number
26406
+ role?: $Enums.Role
26080
26407
  firstTimeMiExpo?: boolean
26081
26408
  username?: string | null
26082
26409
  password?: string | null
@@ -26101,11 +26428,13 @@ export namespace Prisma {
26101
26428
  tags?: TagCreateNestedManyWithoutProfilesInput
26102
26429
  birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
26103
26430
  residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
26431
+ Ticket?: TicketCreateNestedManyWithoutProfileInput
26104
26432
  }
26105
26433
 
26106
26434
  export type ProfileUncheckedCreateWithoutMessagesInput = {
26107
26435
  id?: string
26108
26436
  shortId: number
26437
+ role?: $Enums.Role
26109
26438
  firstTimeMiExpo?: boolean
26110
26439
  username?: string | null
26111
26440
  password?: string | null
@@ -26130,6 +26459,7 @@ export namespace Prisma {
26130
26459
  otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
26131
26460
  comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
26132
26461
  tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
26462
+ Ticket?: TicketUncheckedCreateNestedManyWithoutProfileInput
26133
26463
  }
26134
26464
 
26135
26465
  export type ProfileCreateOrConnectWithoutMessagesInput = {
@@ -26151,6 +26481,7 @@ export namespace Prisma {
26151
26481
  export type ProfileUpdateWithoutMessagesInput = {
26152
26482
  id?: StringFieldUpdateOperationsInput | string
26153
26483
  shortId?: IntFieldUpdateOperationsInput | number
26484
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26154
26485
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26155
26486
  username?: NullableStringFieldUpdateOperationsInput | string | null
26156
26487
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26175,11 +26506,13 @@ export namespace Prisma {
26175
26506
  tags?: TagUpdateManyWithoutProfilesNestedInput
26176
26507
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
26177
26508
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
26509
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
26178
26510
  }
26179
26511
 
26180
26512
  export type ProfileUncheckedUpdateWithoutMessagesInput = {
26181
26513
  id?: StringFieldUpdateOperationsInput | string
26182
26514
  shortId?: IntFieldUpdateOperationsInput | number
26515
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26183
26516
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26184
26517
  username?: NullableStringFieldUpdateOperationsInput | string | null
26185
26518
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26204,6 +26537,7 @@ export namespace Prisma {
26204
26537
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
26205
26538
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
26206
26539
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
26540
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
26207
26541
  }
26208
26542
 
26209
26543
  export type EventCreateWithoutTicketsInput = {
@@ -26249,6 +26583,73 @@ export namespace Prisma {
26249
26583
  create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
26250
26584
  }
26251
26585
 
26586
+ export type ProfileCreateWithoutTicketInput = {
26587
+ id?: string
26588
+ shortId: number
26589
+ role?: $Enums.Role
26590
+ firstTimeMiExpo?: boolean
26591
+ username?: string | null
26592
+ password?: string | null
26593
+ phoneNumber: string
26594
+ isPhoneVerified?: boolean
26595
+ secondaryPhoneNumber?: string | null
26596
+ fullName: string
26597
+ firstName?: string | null
26598
+ gender?: string | null
26599
+ birthDate?: Date | string | null
26600
+ profilePictureUrl?: string | null
26601
+ instagram?: string | null
26602
+ mail?: string | null
26603
+ dni?: string | null
26604
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
26605
+ isInTrash?: boolean
26606
+ movedToTrashDate?: Date | string | null
26607
+ created_at?: Date | string
26608
+ updated_at?: Date | string
26609
+ otp?: OtpCreateNestedManyWithoutOwnerInput
26610
+ comments?: CommentCreateNestedManyWithoutProfileInput
26611
+ messages?: MessageCreateNestedManyWithoutProfileInput
26612
+ tags?: TagCreateNestedManyWithoutProfilesInput
26613
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
26614
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
26615
+ }
26616
+
26617
+ export type ProfileUncheckedCreateWithoutTicketInput = {
26618
+ id?: string
26619
+ shortId: number
26620
+ role?: $Enums.Role
26621
+ firstTimeMiExpo?: boolean
26622
+ username?: string | null
26623
+ password?: string | null
26624
+ phoneNumber: string
26625
+ isPhoneVerified?: boolean
26626
+ secondaryPhoneNumber?: string | null
26627
+ fullName: string
26628
+ firstName?: string | null
26629
+ gender?: string | null
26630
+ birthDate?: Date | string | null
26631
+ profilePictureUrl?: string | null
26632
+ instagram?: string | null
26633
+ mail?: string | null
26634
+ dni?: string | null
26635
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
26636
+ birthLocationId?: string | null
26637
+ residenceLocationId?: string | null
26638
+ isInTrash?: boolean
26639
+ movedToTrashDate?: Date | string | null
26640
+ created_at?: Date | string
26641
+ updated_at?: Date | string
26642
+ otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
26643
+ comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
26644
+ messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
26645
+ tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
26646
+ }
26647
+
26648
+ export type ProfileCreateOrConnectWithoutTicketInput = {
26649
+ where: ProfileWhereUniqueInput
26650
+ create: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
26651
+ }
26652
+
26252
26653
  export type EventUpsertWithoutTicketsInput = {
26253
26654
  update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
26254
26655
  create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
@@ -26298,6 +26699,79 @@ export namespace Prisma {
26298
26699
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
26299
26700
  }
26300
26701
 
26702
+ export type ProfileUpsertWithoutTicketInput = {
26703
+ update: XOR<ProfileUpdateWithoutTicketInput, ProfileUncheckedUpdateWithoutTicketInput>
26704
+ create: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
26705
+ where?: ProfileWhereInput
26706
+ }
26707
+
26708
+ export type ProfileUpdateToOneWithWhereWithoutTicketInput = {
26709
+ where?: ProfileWhereInput
26710
+ data: XOR<ProfileUpdateWithoutTicketInput, ProfileUncheckedUpdateWithoutTicketInput>
26711
+ }
26712
+
26713
+ export type ProfileUpdateWithoutTicketInput = {
26714
+ id?: StringFieldUpdateOperationsInput | string
26715
+ shortId?: IntFieldUpdateOperationsInput | number
26716
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26717
+ firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26718
+ username?: NullableStringFieldUpdateOperationsInput | string | null
26719
+ password?: NullableStringFieldUpdateOperationsInput | string | null
26720
+ phoneNumber?: StringFieldUpdateOperationsInput | string
26721
+ isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
26722
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
26723
+ fullName?: StringFieldUpdateOperationsInput | string
26724
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
26725
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
26726
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26727
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
26728
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
26729
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
26730
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
26731
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
26732
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
26733
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26734
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26735
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26736
+ otp?: OtpUpdateManyWithoutOwnerNestedInput
26737
+ comments?: CommentUpdateManyWithoutProfileNestedInput
26738
+ messages?: MessageUpdateManyWithoutProfileNestedInput
26739
+ tags?: TagUpdateManyWithoutProfilesNestedInput
26740
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
26741
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
26742
+ }
26743
+
26744
+ export type ProfileUncheckedUpdateWithoutTicketInput = {
26745
+ id?: StringFieldUpdateOperationsInput | string
26746
+ shortId?: IntFieldUpdateOperationsInput | number
26747
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26748
+ firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26749
+ username?: NullableStringFieldUpdateOperationsInput | string | null
26750
+ password?: NullableStringFieldUpdateOperationsInput | string | null
26751
+ phoneNumber?: StringFieldUpdateOperationsInput | string
26752
+ isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
26753
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
26754
+ fullName?: StringFieldUpdateOperationsInput | string
26755
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
26756
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
26757
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26758
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
26759
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
26760
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
26761
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
26762
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
26763
+ birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
26764
+ residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
26765
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
26766
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26767
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26768
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26769
+ otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
26770
+ comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
26771
+ messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
26772
+ tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
26773
+ }
26774
+
26301
26775
  export type EventCreateWithoutEventTicketsInput = {
26302
26776
  id?: string
26303
26777
  name: string
@@ -26589,6 +27063,17 @@ export namespace Prisma {
26589
27063
  updated_at?: Date | string
26590
27064
  }
26591
27065
 
27066
+ export type TicketCreateManyProfileInput = {
27067
+ id?: string
27068
+ eventId: string
27069
+ type: $Enums.TicketType
27070
+ status: $Enums.TicketStatus
27071
+ fullName: string
27072
+ mail: string
27073
+ created_at?: Date | string
27074
+ updated_at?: Date | string
27075
+ }
27076
+
26592
27077
  export type OtpUpdateWithoutOwnerInput = {
26593
27078
  id?: StringFieldUpdateOperationsInput | string
26594
27079
  code?: StringFieldUpdateOperationsInput | string
@@ -26713,9 +27198,43 @@ export namespace Prisma {
26713
27198
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26714
27199
  }
26715
27200
 
27201
+ export type TicketUpdateWithoutProfileInput = {
27202
+ id?: StringFieldUpdateOperationsInput | string
27203
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27204
+ status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27205
+ fullName?: StringFieldUpdateOperationsInput | string
27206
+ mail?: StringFieldUpdateOperationsInput | string
27207
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27208
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27209
+ event?: EventUpdateOneRequiredWithoutTicketsNestedInput
27210
+ }
27211
+
27212
+ export type TicketUncheckedUpdateWithoutProfileInput = {
27213
+ id?: StringFieldUpdateOperationsInput | string
27214
+ eventId?: StringFieldUpdateOperationsInput | string
27215
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27216
+ status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27217
+ fullName?: StringFieldUpdateOperationsInput | string
27218
+ mail?: StringFieldUpdateOperationsInput | string
27219
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27220
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27221
+ }
27222
+
27223
+ export type TicketUncheckedUpdateManyWithoutProfileInput = {
27224
+ id?: StringFieldUpdateOperationsInput | string
27225
+ eventId?: StringFieldUpdateOperationsInput | string
27226
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27227
+ status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27228
+ fullName?: StringFieldUpdateOperationsInput | string
27229
+ mail?: StringFieldUpdateOperationsInput | string
27230
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27231
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27232
+ }
27233
+
26716
27234
  export type ProfileCreateManyBirthLocationInput = {
26717
27235
  id?: string
26718
27236
  shortId: number
27237
+ role?: $Enums.Role
26719
27238
  firstTimeMiExpo?: boolean
26720
27239
  username?: string | null
26721
27240
  password?: string | null
@@ -26741,6 +27260,7 @@ export namespace Prisma {
26741
27260
  export type ProfileCreateManyResidenceLocationInput = {
26742
27261
  id?: string
26743
27262
  shortId: number
27263
+ role?: $Enums.Role
26744
27264
  firstTimeMiExpo?: boolean
26745
27265
  username?: string | null
26746
27266
  password?: string | null
@@ -26766,6 +27286,7 @@ export namespace Prisma {
26766
27286
  export type ProfileUpdateWithoutBirthLocationInput = {
26767
27287
  id?: StringFieldUpdateOperationsInput | string
26768
27288
  shortId?: IntFieldUpdateOperationsInput | number
27289
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26769
27290
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26770
27291
  username?: NullableStringFieldUpdateOperationsInput | string | null
26771
27292
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26790,11 +27311,13 @@ export namespace Prisma {
26790
27311
  messages?: MessageUpdateManyWithoutProfileNestedInput
26791
27312
  tags?: TagUpdateManyWithoutProfilesNestedInput
26792
27313
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
27314
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
26793
27315
  }
26794
27316
 
26795
27317
  export type ProfileUncheckedUpdateWithoutBirthLocationInput = {
26796
27318
  id?: StringFieldUpdateOperationsInput | string
26797
27319
  shortId?: IntFieldUpdateOperationsInput | number
27320
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26798
27321
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26799
27322
  username?: NullableStringFieldUpdateOperationsInput | string | null
26800
27323
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26819,11 +27342,13 @@ export namespace Prisma {
26819
27342
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
26820
27343
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
26821
27344
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
27345
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
26822
27346
  }
26823
27347
 
26824
27348
  export type ProfileUncheckedUpdateManyWithoutBirthLocationInput = {
26825
27349
  id?: StringFieldUpdateOperationsInput | string
26826
27350
  shortId?: IntFieldUpdateOperationsInput | number
27351
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26827
27352
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26828
27353
  username?: NullableStringFieldUpdateOperationsInput | string | null
26829
27354
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26849,6 +27374,7 @@ export namespace Prisma {
26849
27374
  export type ProfileUpdateWithoutResidenceLocationInput = {
26850
27375
  id?: StringFieldUpdateOperationsInput | string
26851
27376
  shortId?: IntFieldUpdateOperationsInput | number
27377
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26852
27378
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26853
27379
  username?: NullableStringFieldUpdateOperationsInput | string | null
26854
27380
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26873,11 +27399,13 @@ export namespace Prisma {
26873
27399
  messages?: MessageUpdateManyWithoutProfileNestedInput
26874
27400
  tags?: TagUpdateManyWithoutProfilesNestedInput
26875
27401
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
27402
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
26876
27403
  }
26877
27404
 
26878
27405
  export type ProfileUncheckedUpdateWithoutResidenceLocationInput = {
26879
27406
  id?: StringFieldUpdateOperationsInput | string
26880
27407
  shortId?: IntFieldUpdateOperationsInput | number
27408
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26881
27409
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26882
27410
  username?: NullableStringFieldUpdateOperationsInput | string | null
26883
27411
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26902,11 +27430,13 @@ export namespace Prisma {
26902
27430
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
26903
27431
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
26904
27432
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
27433
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
26905
27434
  }
26906
27435
 
26907
27436
  export type ProfileUncheckedUpdateManyWithoutResidenceLocationInput = {
26908
27437
  id?: StringFieldUpdateOperationsInput | string
26909
27438
  shortId?: IntFieldUpdateOperationsInput | number
27439
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26910
27440
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26911
27441
  username?: NullableStringFieldUpdateOperationsInput | string | null
26912
27442
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26971,6 +27501,7 @@ export namespace Prisma {
26971
27501
  export type ProfileUpdateWithoutTagsInput = {
26972
27502
  id?: StringFieldUpdateOperationsInput | string
26973
27503
  shortId?: IntFieldUpdateOperationsInput | number
27504
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
26974
27505
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
26975
27506
  username?: NullableStringFieldUpdateOperationsInput | string | null
26976
27507
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -26995,11 +27526,13 @@ export namespace Prisma {
26995
27526
  messages?: MessageUpdateManyWithoutProfileNestedInput
26996
27527
  birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
26997
27528
  residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
27529
+ Ticket?: TicketUpdateManyWithoutProfileNestedInput
26998
27530
  }
26999
27531
 
27000
27532
  export type ProfileUncheckedUpdateWithoutTagsInput = {
27001
27533
  id?: StringFieldUpdateOperationsInput | string
27002
27534
  shortId?: IntFieldUpdateOperationsInput | number
27535
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
27003
27536
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
27004
27537
  username?: NullableStringFieldUpdateOperationsInput | string | null
27005
27538
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -27024,11 +27557,13 @@ export namespace Prisma {
27024
27557
  otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
27025
27558
  comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
27026
27559
  messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
27560
+ Ticket?: TicketUncheckedUpdateManyWithoutProfileNestedInput
27027
27561
  }
27028
27562
 
27029
27563
  export type ProfileUncheckedUpdateManyWithoutTagsInput = {
27030
27564
  id?: StringFieldUpdateOperationsInput | string
27031
27565
  shortId?: IntFieldUpdateOperationsInput | number
27566
+ role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role
27032
27567
  firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
27033
27568
  username?: NullableStringFieldUpdateOperationsInput | string | null
27034
27569
  password?: NullableStringFieldUpdateOperationsInput | string | null
@@ -27195,6 +27730,7 @@ export namespace Prisma {
27195
27730
  status: $Enums.TicketStatus
27196
27731
  fullName: string
27197
27732
  mail: string
27733
+ profileId?: string | null
27198
27734
  created_at?: Date | string
27199
27735
  updated_at?: Date | string
27200
27736
  }
@@ -27216,7 +27752,7 @@ export namespace Prisma {
27216
27752
 
27217
27753
  export type EventTicketCreateManyEventInput = {
27218
27754
  id?: string
27219
- amount: number
27755
+ amount?: number | null
27220
27756
  type: $Enums.TicketType
27221
27757
  price?: number | null
27222
27758
  created_at?: Date | string
@@ -27231,6 +27767,7 @@ export namespace Prisma {
27231
27767
  mail?: StringFieldUpdateOperationsInput | string
27232
27768
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27233
27769
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27770
+ profile?: ProfileUpdateOneWithoutTicketNestedInput
27234
27771
  }
27235
27772
 
27236
27773
  export type TicketUncheckedUpdateWithoutEventInput = {
@@ -27239,6 +27776,7 @@ export namespace Prisma {
27239
27776
  status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27240
27777
  fullName?: StringFieldUpdateOperationsInput | string
27241
27778
  mail?: StringFieldUpdateOperationsInput | string
27779
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
27242
27780
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27243
27781
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27244
27782
  }
@@ -27249,6 +27787,7 @@ export namespace Prisma {
27249
27787
  status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27250
27788
  fullName?: StringFieldUpdateOperationsInput | string
27251
27789
  mail?: StringFieldUpdateOperationsInput | string
27790
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
27252
27791
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27253
27792
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27254
27793
  }
@@ -27345,7 +27884,7 @@ export namespace Prisma {
27345
27884
 
27346
27885
  export type EventTicketUpdateWithoutEventInput = {
27347
27886
  id?: StringFieldUpdateOperationsInput | string
27348
- amount?: IntFieldUpdateOperationsInput | number
27887
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
27349
27888
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27350
27889
  price?: NullableFloatFieldUpdateOperationsInput | number | null
27351
27890
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -27354,7 +27893,7 @@ export namespace Prisma {
27354
27893
 
27355
27894
  export type EventTicketUncheckedUpdateWithoutEventInput = {
27356
27895
  id?: StringFieldUpdateOperationsInput | string
27357
- amount?: IntFieldUpdateOperationsInput | number
27896
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
27358
27897
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27359
27898
  price?: NullableFloatFieldUpdateOperationsInput | number | null
27360
27899
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -27363,7 +27902,7 @@ export namespace Prisma {
27363
27902
 
27364
27903
  export type EventTicketUncheckedUpdateManyWithoutEventInput = {
27365
27904
  id?: StringFieldUpdateOperationsInput | string
27366
- amount?: IntFieldUpdateOperationsInput | number
27905
+ amount?: NullableIntFieldUpdateOperationsInput | number | null
27367
27906
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27368
27907
  price?: NullableFloatFieldUpdateOperationsInput | number | null
27369
27908
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string