expo-backend-types 0.34.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.2 → 0.34.0-EXPO-319-ver-eventos-disponibles.14

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