expo-backend-types 0.3.0-EXPO-245.10 → 0.3.0-EXPO-212.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,11 @@ export type Account = $Result.DefaultSelection<Prisma.$AccountPayload>
23
23
  *
24
24
  */
25
25
  export type Profile = $Result.DefaultSelection<Prisma.$ProfilePayload>
26
+ /**
27
+ * Model Location
28
+ *
29
+ */
30
+ export type Location = $Result.DefaultSelection<Prisma.$LocationPayload>
26
31
  /**
27
32
  * Model Comment
28
33
  *
@@ -276,6 +281,16 @@ export class PrismaClient<
276
281
  */
277
282
  get profile(): Prisma.ProfileDelegate<ExtArgs>;
278
283
 
284
+ /**
285
+ * `prisma.location`: Exposes CRUD operations for the **Location** model.
286
+ * Example usage:
287
+ * ```ts
288
+ * // Fetch zero or more Locations
289
+ * const locations = await prisma.location.findMany()
290
+ * ```
291
+ */
292
+ get location(): Prisma.LocationDelegate<ExtArgs>;
293
+
279
294
  /**
280
295
  * `prisma.comment`: Exposes CRUD operations for the **Comment** model.
281
296
  * Example usage:
@@ -834,6 +849,7 @@ export namespace Prisma {
834
849
  export const ModelName: {
835
850
  Account: 'Account',
836
851
  Profile: 'Profile',
852
+ Location: 'Location',
837
853
  Comment: 'Comment',
838
854
  Tag: 'Tag',
839
855
  TagGroup: 'TagGroup',
@@ -858,7 +874,7 @@ export namespace Prisma {
858
874
 
859
875
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
860
876
  meta: {
861
- modelProps: 'account' | 'profile' | 'comment' | 'tag' | 'tagGroup' | 'event' | 'eventFolder' | 'message' | 'cannedResponse' | 'enums'
877
+ modelProps: 'account' | 'profile' | 'location' | 'comment' | 'tag' | 'tagGroup' | 'event' | 'eventFolder' | 'message' | 'cannedResponse' | 'enums'
862
878
  txIsolationLevel: Prisma.TransactionIsolationLevel
863
879
  },
864
880
  model: {
@@ -1002,6 +1018,76 @@ export namespace Prisma {
1002
1018
  }
1003
1019
  }
1004
1020
  }
1021
+ Location: {
1022
+ payload: Prisma.$LocationPayload<ExtArgs>
1023
+ fields: Prisma.LocationFieldRefs
1024
+ operations: {
1025
+ findUnique: {
1026
+ args: Prisma.LocationFindUniqueArgs<ExtArgs>,
1027
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload> | null
1028
+ }
1029
+ findUniqueOrThrow: {
1030
+ args: Prisma.LocationFindUniqueOrThrowArgs<ExtArgs>,
1031
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1032
+ }
1033
+ findFirst: {
1034
+ args: Prisma.LocationFindFirstArgs<ExtArgs>,
1035
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload> | null
1036
+ }
1037
+ findFirstOrThrow: {
1038
+ args: Prisma.LocationFindFirstOrThrowArgs<ExtArgs>,
1039
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1040
+ }
1041
+ findMany: {
1042
+ args: Prisma.LocationFindManyArgs<ExtArgs>,
1043
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>[]
1044
+ }
1045
+ create: {
1046
+ args: Prisma.LocationCreateArgs<ExtArgs>,
1047
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1048
+ }
1049
+ createMany: {
1050
+ args: Prisma.LocationCreateManyArgs<ExtArgs>,
1051
+ result: Prisma.BatchPayload
1052
+ }
1053
+ createManyAndReturn: {
1054
+ args: Prisma.LocationCreateManyAndReturnArgs<ExtArgs>,
1055
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>[]
1056
+ }
1057
+ delete: {
1058
+ args: Prisma.LocationDeleteArgs<ExtArgs>,
1059
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1060
+ }
1061
+ update: {
1062
+ args: Prisma.LocationUpdateArgs<ExtArgs>,
1063
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1064
+ }
1065
+ deleteMany: {
1066
+ args: Prisma.LocationDeleteManyArgs<ExtArgs>,
1067
+ result: Prisma.BatchPayload
1068
+ }
1069
+ updateMany: {
1070
+ args: Prisma.LocationUpdateManyArgs<ExtArgs>,
1071
+ result: Prisma.BatchPayload
1072
+ }
1073
+ upsert: {
1074
+ args: Prisma.LocationUpsertArgs<ExtArgs>,
1075
+ result: $Utils.PayloadToResult<Prisma.$LocationPayload>
1076
+ }
1077
+ aggregate: {
1078
+ args: Prisma.LocationAggregateArgs<ExtArgs>,
1079
+ result: $Utils.Optional<AggregateLocation>
1080
+ }
1081
+ groupBy: {
1082
+ args: Prisma.LocationGroupByArgs<ExtArgs>,
1083
+ result: $Utils.Optional<LocationGroupByOutputType>[]
1084
+ }
1085
+ count: {
1086
+ args: Prisma.LocationCountArgs<ExtArgs>,
1087
+ result: $Utils.Optional<LocationCountAggregateOutputType> | number
1088
+ }
1089
+ }
1090
+ }
1005
1091
  Comment: {
1006
1092
  payload: Prisma.$CommentPayload<ExtArgs>
1007
1093
  fields: Prisma.CommentFieldRefs
@@ -1824,6 +1910,46 @@ export namespace Prisma {
1824
1910
  }
1825
1911
 
1826
1912
 
1913
+ /**
1914
+ * Count Type LocationCountOutputType
1915
+ */
1916
+
1917
+ export type LocationCountOutputType = {
1918
+ birthProfiles: number
1919
+ residenceProfiles: number
1920
+ }
1921
+
1922
+ export type LocationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1923
+ birthProfiles?: boolean | LocationCountOutputTypeCountBirthProfilesArgs
1924
+ residenceProfiles?: boolean | LocationCountOutputTypeCountResidenceProfilesArgs
1925
+ }
1926
+
1927
+ // Custom InputTypes
1928
+ /**
1929
+ * LocationCountOutputType without action
1930
+ */
1931
+ export type LocationCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1932
+ /**
1933
+ * Select specific fields to fetch from the LocationCountOutputType
1934
+ */
1935
+ select?: LocationCountOutputTypeSelect<ExtArgs> | null
1936
+ }
1937
+
1938
+ /**
1939
+ * LocationCountOutputType without action
1940
+ */
1941
+ export type LocationCountOutputTypeCountBirthProfilesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1942
+ where?: ProfileWhereInput
1943
+ }
1944
+
1945
+ /**
1946
+ * LocationCountOutputType without action
1947
+ */
1948
+ export type LocationCountOutputTypeCountResidenceProfilesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1949
+ where?: ProfileWhereInput
1950
+ }
1951
+
1952
+
1827
1953
  /**
1828
1954
  * Count Type TagCountOutputType
1829
1955
  */
@@ -3060,10 +3186,18 @@ export namespace Prisma {
3060
3186
 
3061
3187
  export type ProfileAvgAggregateOutputType = {
3062
3188
  shortId: number | null
3189
+ birthLongitude: number | null
3190
+ birthLatitude: number | null
3191
+ residenceLongitude: number | null
3192
+ residenceLatitude: number | null
3063
3193
  }
3064
3194
 
3065
3195
  export type ProfileSumAggregateOutputType = {
3066
3196
  shortId: number | null
3197
+ birthLongitude: number | null
3198
+ birthLatitude: number | null
3199
+ residenceLongitude: number | null
3200
+ residenceLatitude: number | null
3067
3201
  }
3068
3202
 
3069
3203
  export type ProfileMinAggregateOutputType = {
@@ -3079,6 +3213,10 @@ export namespace Prisma {
3079
3213
  instagram: string | null
3080
3214
  mail: string | null
3081
3215
  dni: string | null
3216
+ birthLongitude: number | null
3217
+ birthLatitude: number | null
3218
+ residenceLongitude: number | null
3219
+ residenceLatitude: number | null
3082
3220
  isInTrash: boolean | null
3083
3221
  movedToTrashDate: Date | null
3084
3222
  created_at: Date | null
@@ -3098,6 +3236,10 @@ export namespace Prisma {
3098
3236
  instagram: string | null
3099
3237
  mail: string | null
3100
3238
  dni: string | null
3239
+ birthLongitude: number | null
3240
+ birthLatitude: number | null
3241
+ residenceLongitude: number | null
3242
+ residenceLatitude: number | null
3101
3243
  isInTrash: boolean | null
3102
3244
  movedToTrashDate: Date | null
3103
3245
  created_at: Date | null
@@ -3118,6 +3260,10 @@ export namespace Prisma {
3118
3260
  mail: number
3119
3261
  dni: number
3120
3262
  alternativeNames: number
3263
+ birthLongitude: number
3264
+ birthLatitude: number
3265
+ residenceLongitude: number
3266
+ residenceLatitude: number
3121
3267
  isInTrash: number
3122
3268
  movedToTrashDate: number
3123
3269
  created_at: number
@@ -3128,10 +3274,18 @@ export namespace Prisma {
3128
3274
 
3129
3275
  export type ProfileAvgAggregateInputType = {
3130
3276
  shortId?: true
3277
+ birthLongitude?: true
3278
+ birthLatitude?: true
3279
+ residenceLongitude?: true
3280
+ residenceLatitude?: true
3131
3281
  }
3132
3282
 
3133
3283
  export type ProfileSumAggregateInputType = {
3134
3284
  shortId?: true
3285
+ birthLongitude?: true
3286
+ birthLatitude?: true
3287
+ residenceLongitude?: true
3288
+ residenceLatitude?: true
3135
3289
  }
3136
3290
 
3137
3291
  export type ProfileMinAggregateInputType = {
@@ -3147,6 +3301,10 @@ export namespace Prisma {
3147
3301
  instagram?: true
3148
3302
  mail?: true
3149
3303
  dni?: true
3304
+ birthLongitude?: true
3305
+ birthLatitude?: true
3306
+ residenceLongitude?: true
3307
+ residenceLatitude?: true
3150
3308
  isInTrash?: true
3151
3309
  movedToTrashDate?: true
3152
3310
  created_at?: true
@@ -3166,6 +3324,10 @@ export namespace Prisma {
3166
3324
  instagram?: true
3167
3325
  mail?: true
3168
3326
  dni?: true
3327
+ birthLongitude?: true
3328
+ birthLatitude?: true
3329
+ residenceLongitude?: true
3330
+ residenceLatitude?: true
3169
3331
  isInTrash?: true
3170
3332
  movedToTrashDate?: true
3171
3333
  created_at?: true
@@ -3186,6 +3348,10 @@ export namespace Prisma {
3186
3348
  mail?: true
3187
3349
  dni?: true
3188
3350
  alternativeNames?: true
3351
+ birthLongitude?: true
3352
+ birthLatitude?: true
3353
+ residenceLongitude?: true
3354
+ residenceLatitude?: true
3189
3355
  isInTrash?: true
3190
3356
  movedToTrashDate?: true
3191
3357
  created_at?: true
@@ -3293,6 +3459,10 @@ export namespace Prisma {
3293
3459
  mail: string | null
3294
3460
  dni: string | null
3295
3461
  alternativeNames: string[]
3462
+ birthLongitude: number | null
3463
+ birthLatitude: number | null
3464
+ residenceLongitude: number | null
3465
+ residenceLatitude: number | null
3296
3466
  isInTrash: boolean
3297
3467
  movedToTrashDate: Date | null
3298
3468
  created_at: Date
@@ -3332,6 +3502,10 @@ export namespace Prisma {
3332
3502
  mail?: boolean
3333
3503
  dni?: boolean
3334
3504
  alternativeNames?: boolean
3505
+ birthLongitude?: boolean
3506
+ birthLatitude?: boolean
3507
+ residenceLongitude?: boolean
3508
+ residenceLatitude?: boolean
3335
3509
  isInTrash?: boolean
3336
3510
  movedToTrashDate?: boolean
3337
3511
  created_at?: boolean
@@ -3339,6 +3513,8 @@ export namespace Prisma {
3339
3513
  comments?: boolean | Profile$commentsArgs<ExtArgs>
3340
3514
  messages?: boolean | Profile$messagesArgs<ExtArgs>
3341
3515
  tags?: boolean | Profile$tagsArgs<ExtArgs>
3516
+ birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
3517
+ residenceLocation?: boolean | Profile$residenceLocationArgs<ExtArgs>
3342
3518
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
3343
3519
  }, ExtArgs["result"]["profile"]>
3344
3520
 
@@ -3356,6 +3532,10 @@ export namespace Prisma {
3356
3532
  mail?: boolean
3357
3533
  dni?: boolean
3358
3534
  alternativeNames?: boolean
3535
+ birthLongitude?: boolean
3536
+ birthLatitude?: boolean
3537
+ residenceLongitude?: boolean
3538
+ residenceLatitude?: boolean
3359
3539
  isInTrash?: boolean
3360
3540
  movedToTrashDate?: boolean
3361
3541
  created_at?: boolean
@@ -3367,6 +3547,8 @@ export namespace Prisma {
3367
3547
  comments?: boolean | Profile$commentsArgs<ExtArgs>
3368
3548
  messages?: boolean | Profile$messagesArgs<ExtArgs>
3369
3549
  tags?: boolean | Profile$tagsArgs<ExtArgs>
3550
+ birthLocation?: boolean | Profile$birthLocationArgs<ExtArgs>
3551
+ residenceLocation?: boolean | Profile$residenceLocationArgs<ExtArgs>
3370
3552
  _count?: boolean | ProfileCountOutputTypeDefaultArgs<ExtArgs>
3371
3553
  }
3372
3554
 
@@ -3377,6 +3559,8 @@ export namespace Prisma {
3377
3559
  comments: Prisma.$CommentPayload<ExtArgs>[]
3378
3560
  messages: Prisma.$MessagePayload<ExtArgs>[]
3379
3561
  tags: Prisma.$TagPayload<ExtArgs>[]
3562
+ birthLocation: Prisma.$LocationPayload<ExtArgs> | null
3563
+ residenceLocation: Prisma.$LocationPayload<ExtArgs> | null
3380
3564
  }
3381
3565
  scalars: $Extensions.GetPayloadResult<{
3382
3566
  id: string
@@ -3392,6 +3576,10 @@ export namespace Prisma {
3392
3576
  mail: string | null
3393
3577
  dni: string | null
3394
3578
  alternativeNames: string[]
3579
+ birthLongitude: number | null
3580
+ birthLatitude: number | null
3581
+ residenceLongitude: number | null
3582
+ residenceLatitude: number | null
3395
3583
  isInTrash: boolean
3396
3584
  movedToTrashDate: Date | null
3397
3585
  created_at: Date
@@ -3793,6 +3981,10 @@ export namespace Prisma {
3793
3981
 
3794
3982
  tags<T extends Profile$tagsArgs<ExtArgs> = {}>(args?: Subset<T, Profile$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, 'findMany'> | Null>;
3795
3983
 
3984
+ birthLocation<T extends Profile$birthLocationArgs<ExtArgs> = {}>(args?: Subset<T, Profile$birthLocationArgs<ExtArgs>>): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
3985
+
3986
+ residenceLocation<T extends Profile$residenceLocationArgs<ExtArgs> = {}>(args?: Subset<T, Profile$residenceLocationArgs<ExtArgs>>): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
3987
+
3796
3988
  /**
3797
3989
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3798
3990
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -3834,6 +4026,10 @@ export namespace Prisma {
3834
4026
  readonly mail: FieldRef<"Profile", 'String'>
3835
4027
  readonly dni: FieldRef<"Profile", 'String'>
3836
4028
  readonly alternativeNames: FieldRef<"Profile", 'String[]'>
4029
+ readonly birthLongitude: FieldRef<"Profile", 'Float'>
4030
+ readonly birthLatitude: FieldRef<"Profile", 'Float'>
4031
+ readonly residenceLongitude: FieldRef<"Profile", 'Float'>
4032
+ readonly residenceLatitude: FieldRef<"Profile", 'Float'>
3837
4033
  readonly isInTrash: FieldRef<"Profile", 'Boolean'>
3838
4034
  readonly movedToTrashDate: FieldRef<"Profile", 'DateTime'>
3839
4035
  readonly created_at: FieldRef<"Profile", 'DateTime'>
@@ -4215,6 +4411,36 @@ export namespace Prisma {
4215
4411
  distinct?: TagScalarFieldEnum | TagScalarFieldEnum[]
4216
4412
  }
4217
4413
 
4414
+ /**
4415
+ * Profile.birthLocation
4416
+ */
4417
+ export type Profile$birthLocationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4418
+ /**
4419
+ * Select specific fields to fetch from the Location
4420
+ */
4421
+ select?: LocationSelect<ExtArgs> | null
4422
+ /**
4423
+ * Choose, which related nodes to fetch as well
4424
+ */
4425
+ include?: LocationInclude<ExtArgs> | null
4426
+ where?: LocationWhereInput
4427
+ }
4428
+
4429
+ /**
4430
+ * Profile.residenceLocation
4431
+ */
4432
+ export type Profile$residenceLocationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4433
+ /**
4434
+ * Select specific fields to fetch from the Location
4435
+ */
4436
+ select?: LocationSelect<ExtArgs> | null
4437
+ /**
4438
+ * Choose, which related nodes to fetch as well
4439
+ */
4440
+ include?: LocationInclude<ExtArgs> | null
4441
+ where?: LocationWhereInput
4442
+ }
4443
+
4218
4444
  /**
4219
4445
  * Profile without action
4220
4446
  */
@@ -4231,262 +4457,1319 @@ export namespace Prisma {
4231
4457
 
4232
4458
 
4233
4459
  /**
4234
- * Model Comment
4460
+ * Model Location
4235
4461
  */
4236
4462
 
4237
- export type AggregateComment = {
4238
- _count: CommentCountAggregateOutputType | null
4239
- _min: CommentMinAggregateOutputType | null
4240
- _max: CommentMaxAggregateOutputType | null
4463
+ export type AggregateLocation = {
4464
+ _count: LocationCountAggregateOutputType | null
4465
+ _avg: LocationAvgAggregateOutputType | null
4466
+ _sum: LocationSumAggregateOutputType | null
4467
+ _min: LocationMinAggregateOutputType | null
4468
+ _max: LocationMaxAggregateOutputType | null
4241
4469
  }
4242
4470
 
4243
- export type CommentMinAggregateOutputType = {
4244
- id: string | null
4245
- content: string | null
4246
- createdBy: string | null
4247
- profileId: string | null
4248
- isSolvable: boolean | null
4249
- isSolved: boolean | null
4250
- solvedAt: Date | null
4251
- solvedById: string | null
4471
+ export type LocationAvgAggregateOutputType = {
4472
+ latitude: number | null
4473
+ longitude: number | null
4474
+ }
4475
+
4476
+ export type LocationSumAggregateOutputType = {
4477
+ latitude: number | null
4478
+ longitude: number | null
4479
+ }
4480
+
4481
+ export type LocationMinAggregateOutputType = {
4482
+ latitude: number | null
4483
+ longitude: number | null
4484
+ country: string | null
4485
+ province: string | null
4486
+ city: string | null
4252
4487
  created_at: Date | null
4253
4488
  updated_at: Date | null
4254
4489
  }
4255
4490
 
4256
- export type CommentMaxAggregateOutputType = {
4257
- id: string | null
4258
- content: string | null
4259
- createdBy: string | null
4260
- profileId: string | null
4261
- isSolvable: boolean | null
4262
- isSolved: boolean | null
4263
- solvedAt: Date | null
4264
- solvedById: string | null
4491
+ export type LocationMaxAggregateOutputType = {
4492
+ latitude: number | null
4493
+ longitude: number | null
4494
+ country: string | null
4495
+ province: string | null
4496
+ city: string | null
4265
4497
  created_at: Date | null
4266
4498
  updated_at: Date | null
4267
4499
  }
4268
4500
 
4269
- export type CommentCountAggregateOutputType = {
4270
- id: number
4271
- content: number
4272
- createdBy: number
4273
- profileId: number
4274
- isSolvable: number
4275
- isSolved: number
4276
- solvedAt: number
4277
- solvedById: number
4501
+ export type LocationCountAggregateOutputType = {
4502
+ latitude: number
4503
+ longitude: number
4504
+ country: number
4505
+ province: number
4506
+ city: number
4278
4507
  created_at: number
4279
4508
  updated_at: number
4280
4509
  _all: number
4281
4510
  }
4282
4511
 
4283
4512
 
4284
- export type CommentMinAggregateInputType = {
4285
- id?: true
4286
- content?: true
4287
- createdBy?: true
4288
- profileId?: true
4289
- isSolvable?: true
4290
- isSolved?: true
4291
- solvedAt?: true
4292
- solvedById?: true
4513
+ export type LocationAvgAggregateInputType = {
4514
+ latitude?: true
4515
+ longitude?: true
4516
+ }
4517
+
4518
+ export type LocationSumAggregateInputType = {
4519
+ latitude?: true
4520
+ longitude?: true
4521
+ }
4522
+
4523
+ export type LocationMinAggregateInputType = {
4524
+ latitude?: true
4525
+ longitude?: true
4526
+ country?: true
4527
+ province?: true
4528
+ city?: true
4293
4529
  created_at?: true
4294
4530
  updated_at?: true
4295
4531
  }
4296
4532
 
4297
- export type CommentMaxAggregateInputType = {
4298
- id?: true
4299
- content?: true
4300
- createdBy?: true
4301
- profileId?: true
4302
- isSolvable?: true
4303
- isSolved?: true
4304
- solvedAt?: true
4305
- solvedById?: true
4533
+ export type LocationMaxAggregateInputType = {
4534
+ latitude?: true
4535
+ longitude?: true
4536
+ country?: true
4537
+ province?: true
4538
+ city?: true
4306
4539
  created_at?: true
4307
4540
  updated_at?: true
4308
4541
  }
4309
4542
 
4310
- export type CommentCountAggregateInputType = {
4311
- id?: true
4312
- content?: true
4313
- createdBy?: true
4314
- profileId?: true
4315
- isSolvable?: true
4316
- isSolved?: true
4317
- solvedAt?: true
4318
- solvedById?: true
4543
+ export type LocationCountAggregateInputType = {
4544
+ latitude?: true
4545
+ longitude?: true
4546
+ country?: true
4547
+ province?: true
4548
+ city?: true
4319
4549
  created_at?: true
4320
4550
  updated_at?: true
4321
4551
  _all?: true
4322
4552
  }
4323
4553
 
4324
- export type CommentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4554
+ export type LocationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4325
4555
  /**
4326
- * Filter which Comment to aggregate.
4556
+ * Filter which Location to aggregate.
4327
4557
  */
4328
- where?: CommentWhereInput
4558
+ where?: LocationWhereInput
4329
4559
  /**
4330
4560
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
4331
4561
  *
4332
- * Determine the order of Comments to fetch.
4562
+ * Determine the order of Locations to fetch.
4333
4563
  */
4334
- orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
4564
+ orderBy?: LocationOrderByWithRelationInput | LocationOrderByWithRelationInput[]
4335
4565
  /**
4336
4566
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
4337
4567
  *
4338
4568
  * Sets the start position
4339
4569
  */
4340
- cursor?: CommentWhereUniqueInput
4570
+ cursor?: LocationWhereUniqueInput
4341
4571
  /**
4342
4572
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4343
4573
  *
4344
- * Take `±n` Comments from the position of the cursor.
4574
+ * Take `±n` Locations from the position of the cursor.
4345
4575
  */
4346
4576
  take?: number
4347
4577
  /**
4348
4578
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4349
4579
  *
4350
- * Skip the first `n` Comments.
4580
+ * Skip the first `n` Locations.
4351
4581
  */
4352
4582
  skip?: number
4353
4583
  /**
4354
4584
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4355
4585
  *
4356
- * Count returned Comments
4586
+ * Count returned Locations
4357
4587
  **/
4358
- _count?: true | CommentCountAggregateInputType
4588
+ _count?: true | LocationCountAggregateInputType
4589
+ /**
4590
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4591
+ *
4592
+ * Select which fields to average
4593
+ **/
4594
+ _avg?: LocationAvgAggregateInputType
4595
+ /**
4596
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4597
+ *
4598
+ * Select which fields to sum
4599
+ **/
4600
+ _sum?: LocationSumAggregateInputType
4359
4601
  /**
4360
4602
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4361
4603
  *
4362
4604
  * Select which fields to find the minimum value
4363
4605
  **/
4364
- _min?: CommentMinAggregateInputType
4606
+ _min?: LocationMinAggregateInputType
4365
4607
  /**
4366
4608
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4367
4609
  *
4368
4610
  * Select which fields to find the maximum value
4369
4611
  **/
4370
- _max?: CommentMaxAggregateInputType
4612
+ _max?: LocationMaxAggregateInputType
4371
4613
  }
4372
4614
 
4373
- export type GetCommentAggregateType<T extends CommentAggregateArgs> = {
4374
- [P in keyof T & keyof AggregateComment]: P extends '_count' | 'count'
4615
+ export type GetLocationAggregateType<T extends LocationAggregateArgs> = {
4616
+ [P in keyof T & keyof AggregateLocation]: P extends '_count' | 'count'
4375
4617
  ? T[P] extends true
4376
4618
  ? number
4377
- : GetScalarType<T[P], AggregateComment[P]>
4378
- : GetScalarType<T[P], AggregateComment[P]>
4619
+ : GetScalarType<T[P], AggregateLocation[P]>
4620
+ : GetScalarType<T[P], AggregateLocation[P]>
4379
4621
  }
4380
4622
 
4381
4623
 
4382
4624
 
4383
4625
 
4384
- export type CommentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4385
- where?: CommentWhereInput
4386
- orderBy?: CommentOrderByWithAggregationInput | CommentOrderByWithAggregationInput[]
4387
- by: CommentScalarFieldEnum[] | CommentScalarFieldEnum
4388
- having?: CommentScalarWhereWithAggregatesInput
4626
+ export type LocationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4627
+ where?: LocationWhereInput
4628
+ orderBy?: LocationOrderByWithAggregationInput | LocationOrderByWithAggregationInput[]
4629
+ by: LocationScalarFieldEnum[] | LocationScalarFieldEnum
4630
+ having?: LocationScalarWhereWithAggregatesInput
4389
4631
  take?: number
4390
4632
  skip?: number
4391
- _count?: CommentCountAggregateInputType | true
4392
- _min?: CommentMinAggregateInputType
4393
- _max?: CommentMaxAggregateInputType
4394
- }
4395
-
4396
- export type CommentGroupByOutputType = {
4397
- id: string
4398
- content: string
4399
- createdBy: string
4400
- profileId: string
4401
- isSolvable: boolean
4402
- isSolved: boolean
4403
- solvedAt: Date | null
4404
- solvedById: string | null
4633
+ _count?: LocationCountAggregateInputType | true
4634
+ _avg?: LocationAvgAggregateInputType
4635
+ _sum?: LocationSumAggregateInputType
4636
+ _min?: LocationMinAggregateInputType
4637
+ _max?: LocationMaxAggregateInputType
4638
+ }
4639
+
4640
+ export type LocationGroupByOutputType = {
4641
+ latitude: number
4642
+ longitude: number
4643
+ country: string
4644
+ province: string
4645
+ city: string
4405
4646
  created_at: Date
4406
4647
  updated_at: Date
4407
- _count: CommentCountAggregateOutputType | null
4408
- _min: CommentMinAggregateOutputType | null
4409
- _max: CommentMaxAggregateOutputType | null
4648
+ _count: LocationCountAggregateOutputType | null
4649
+ _avg: LocationAvgAggregateOutputType | null
4650
+ _sum: LocationSumAggregateOutputType | null
4651
+ _min: LocationMinAggregateOutputType | null
4652
+ _max: LocationMaxAggregateOutputType | null
4410
4653
  }
4411
4654
 
4412
- type GetCommentGroupByPayload<T extends CommentGroupByArgs> = Prisma.PrismaPromise<
4655
+ type GetLocationGroupByPayload<T extends LocationGroupByArgs> = Prisma.PrismaPromise<
4413
4656
  Array<
4414
- PickEnumerable<CommentGroupByOutputType, T['by']> &
4657
+ PickEnumerable<LocationGroupByOutputType, T['by']> &
4415
4658
  {
4416
- [P in ((keyof T) & (keyof CommentGroupByOutputType))]: P extends '_count'
4659
+ [P in ((keyof T) & (keyof LocationGroupByOutputType))]: P extends '_count'
4417
4660
  ? T[P] extends boolean
4418
4661
  ? number
4419
- : GetScalarType<T[P], CommentGroupByOutputType[P]>
4420
- : GetScalarType<T[P], CommentGroupByOutputType[P]>
4662
+ : GetScalarType<T[P], LocationGroupByOutputType[P]>
4663
+ : GetScalarType<T[P], LocationGroupByOutputType[P]>
4421
4664
  }
4422
4665
  >
4423
4666
  >
4424
4667
 
4425
4668
 
4426
- export type CommentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
4427
- id?: boolean
4428
- content?: boolean
4429
- createdBy?: boolean
4430
- profileId?: boolean
4431
- isSolvable?: boolean
4432
- isSolved?: boolean
4433
- solvedAt?: boolean
4434
- solvedById?: boolean
4669
+ export type LocationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
4670
+ latitude?: boolean
4671
+ longitude?: boolean
4672
+ country?: boolean
4673
+ province?: boolean
4674
+ city?: boolean
4435
4675
  created_at?: boolean
4436
4676
  updated_at?: boolean
4437
- account?: boolean | AccountDefaultArgs<ExtArgs>
4438
- profile?: boolean | ProfileDefaultArgs<ExtArgs>
4439
- solvedBy?: boolean | Comment$solvedByArgs<ExtArgs>
4440
- }, ExtArgs["result"]["comment"]>
4441
-
4442
- export type CommentSelectScalar = {
4443
- id?: boolean
4444
- content?: boolean
4445
- createdBy?: boolean
4446
- profileId?: boolean
4447
- isSolvable?: boolean
4448
- isSolved?: boolean
4449
- solvedAt?: boolean
4450
- solvedById?: boolean
4677
+ birthProfiles?: boolean | Location$birthProfilesArgs<ExtArgs>
4678
+ residenceProfiles?: boolean | Location$residenceProfilesArgs<ExtArgs>
4679
+ _count?: boolean | LocationCountOutputTypeDefaultArgs<ExtArgs>
4680
+ }, ExtArgs["result"]["location"]>
4681
+
4682
+ export type LocationSelectScalar = {
4683
+ latitude?: boolean
4684
+ longitude?: boolean
4685
+ country?: boolean
4686
+ province?: boolean
4687
+ city?: boolean
4451
4688
  created_at?: boolean
4452
4689
  updated_at?: boolean
4453
4690
  }
4454
4691
 
4455
4692
 
4456
- export type CommentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4457
- account?: boolean | AccountDefaultArgs<ExtArgs>
4458
- profile?: boolean | ProfileDefaultArgs<ExtArgs>
4459
- solvedBy?: boolean | Comment$solvedByArgs<ExtArgs>
4693
+ export type LocationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4694
+ birthProfiles?: boolean | Location$birthProfilesArgs<ExtArgs>
4695
+ residenceProfiles?: boolean | Location$residenceProfilesArgs<ExtArgs>
4696
+ _count?: boolean | LocationCountOutputTypeDefaultArgs<ExtArgs>
4460
4697
  }
4461
4698
 
4462
4699
 
4463
- export type $CommentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4464
- name: "Comment"
4700
+ export type $LocationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4701
+ name: "Location"
4465
4702
  objects: {
4466
- account: Prisma.$AccountPayload<ExtArgs>
4467
- profile: Prisma.$ProfilePayload<ExtArgs>
4468
- solvedBy: Prisma.$AccountPayload<ExtArgs> | null
4703
+ birthProfiles: Prisma.$ProfilePayload<ExtArgs>[]
4704
+ residenceProfiles: Prisma.$ProfilePayload<ExtArgs>[]
4469
4705
  }
4470
4706
  scalars: $Extensions.GetPayloadResult<{
4471
- id: string
4472
- content: string
4473
- createdBy: string
4474
- profileId: string
4475
- isSolvable: boolean
4476
- isSolved: boolean
4477
- solvedAt: Date | null
4478
- solvedById: string | null
4707
+ latitude: number
4708
+ longitude: number
4709
+ country: string
4710
+ province: string
4711
+ city: string
4479
4712
  created_at: Date
4480
4713
  updated_at: Date
4481
- }, ExtArgs["result"]["comment"]>
4714
+ }, ExtArgs["result"]["location"]>
4482
4715
  composites: {}
4483
4716
  }
4484
4717
 
4485
4718
 
4486
- type CommentGetPayload<S extends boolean | null | undefined | CommentDefaultArgs> = $Result.GetResult<Prisma.$CommentPayload, S>
4719
+ type LocationGetPayload<S extends boolean | null | undefined | LocationDefaultArgs> = $Result.GetResult<Prisma.$LocationPayload, S>
4487
4720
 
4488
- type CommentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
4489
- Omit<CommentFindManyArgs, 'select' | 'include' | 'distinct'> & {
4721
+ type LocationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
4722
+ Omit<LocationFindManyArgs, 'select' | 'include' | 'distinct'> & {
4723
+ select?: LocationCountAggregateInputType | true
4724
+ }
4725
+
4726
+ export interface LocationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
4727
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Location'], meta: { name: 'Location' } }
4728
+ /**
4729
+ * Find zero or one Location that matches the filter.
4730
+ * @param {LocationFindUniqueArgs} args - Arguments to find a Location
4731
+ * @example
4732
+ * // Get one Location
4733
+ * const location = await prisma.location.findUnique({
4734
+ * where: {
4735
+ * // ... provide filter here
4736
+ * }
4737
+ * })
4738
+ **/
4739
+ findUnique<T extends LocationFindUniqueArgs<ExtArgs>>(
4740
+ args: SelectSubset<T, LocationFindUniqueArgs<ExtArgs>>
4741
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
4742
+
4743
+ /**
4744
+ * Find one Location that matches the filter or throw an error with `error.code='P2025'`
4745
+ * if no matches were found.
4746
+ * @param {LocationFindUniqueOrThrowArgs} args - Arguments to find a Location
4747
+ * @example
4748
+ * // Get one Location
4749
+ * const location = await prisma.location.findUniqueOrThrow({
4750
+ * where: {
4751
+ * // ... provide filter here
4752
+ * }
4753
+ * })
4754
+ **/
4755
+ findUniqueOrThrow<T extends LocationFindUniqueOrThrowArgs<ExtArgs>>(
4756
+ args?: SelectSubset<T, LocationFindUniqueOrThrowArgs<ExtArgs>>
4757
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
4758
+
4759
+ /**
4760
+ * Find the first Location that matches the filter.
4761
+ * Note, that providing `undefined` is treated as the value not being there.
4762
+ * Read more here: https://pris.ly/d/null-undefined
4763
+ * @param {LocationFindFirstArgs} args - Arguments to find a Location
4764
+ * @example
4765
+ * // Get one Location
4766
+ * const location = await prisma.location.findFirst({
4767
+ * where: {
4768
+ * // ... provide filter here
4769
+ * }
4770
+ * })
4771
+ **/
4772
+ findFirst<T extends LocationFindFirstArgs<ExtArgs>>(
4773
+ args?: SelectSubset<T, LocationFindFirstArgs<ExtArgs>>
4774
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
4775
+
4776
+ /**
4777
+ * Find the first Location that matches the filter or
4778
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
4779
+ * Note, that providing `undefined` is treated as the value not being there.
4780
+ * Read more here: https://pris.ly/d/null-undefined
4781
+ * @param {LocationFindFirstOrThrowArgs} args - Arguments to find a Location
4782
+ * @example
4783
+ * // Get one Location
4784
+ * const location = await prisma.location.findFirstOrThrow({
4785
+ * where: {
4786
+ * // ... provide filter here
4787
+ * }
4788
+ * })
4789
+ **/
4790
+ findFirstOrThrow<T extends LocationFindFirstOrThrowArgs<ExtArgs>>(
4791
+ args?: SelectSubset<T, LocationFindFirstOrThrowArgs<ExtArgs>>
4792
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
4793
+
4794
+ /**
4795
+ * Find zero or more Locations that matches the filter.
4796
+ * Note, that providing `undefined` is treated as the value not being there.
4797
+ * Read more here: https://pris.ly/d/null-undefined
4798
+ * @param {LocationFindManyArgs} args - Arguments to filter and select certain fields only.
4799
+ * @example
4800
+ * // Get all Locations
4801
+ * const locations = await prisma.location.findMany()
4802
+ *
4803
+ * // Get first 10 Locations
4804
+ * const locations = await prisma.location.findMany({ take: 10 })
4805
+ *
4806
+ * // Only select the `latitude`
4807
+ * const locationWithLatitudeOnly = await prisma.location.findMany({ select: { latitude: true } })
4808
+ *
4809
+ **/
4810
+ findMany<T extends LocationFindManyArgs<ExtArgs>>(
4811
+ args?: SelectSubset<T, LocationFindManyArgs<ExtArgs>>
4812
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'findMany'>>
4813
+
4814
+ /**
4815
+ * Create a Location.
4816
+ * @param {LocationCreateArgs} args - Arguments to create a Location.
4817
+ * @example
4818
+ * // Create one Location
4819
+ * const Location = await prisma.location.create({
4820
+ * data: {
4821
+ * // ... data to create a Location
4822
+ * }
4823
+ * })
4824
+ *
4825
+ **/
4826
+ create<T extends LocationCreateArgs<ExtArgs>>(
4827
+ args: SelectSubset<T, LocationCreateArgs<ExtArgs>>
4828
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
4829
+
4830
+ /**
4831
+ * Create many Locations.
4832
+ * @param {LocationCreateManyArgs} args - Arguments to create many Locations.
4833
+ * @example
4834
+ * // Create many Locations
4835
+ * const location = await prisma.location.createMany({
4836
+ * data: [
4837
+ * // ... provide data here
4838
+ * ]
4839
+ * })
4840
+ *
4841
+ **/
4842
+ createMany<T extends LocationCreateManyArgs<ExtArgs>>(
4843
+ args?: SelectSubset<T, LocationCreateManyArgs<ExtArgs>>
4844
+ ): Prisma.PrismaPromise<BatchPayload>
4845
+
4846
+ /**
4847
+ * Create many Locations and returns the data saved in the database.
4848
+ * @param {LocationCreateManyAndReturnArgs} args - Arguments to create many Locations.
4849
+ * @example
4850
+ * // Create many Locations
4851
+ * const location = await prisma.location.createManyAndReturn({
4852
+ * data: [
4853
+ * // ... provide data here
4854
+ * ]
4855
+ * })
4856
+ *
4857
+ * // Create many Locations and only return the `latitude`
4858
+ * const locationWithLatitudeOnly = await prisma.location.createManyAndReturn({
4859
+ * select: { latitude: true },
4860
+ * data: [
4861
+ * // ... provide data here
4862
+ * ]
4863
+ * })
4864
+ * Note, that providing `undefined` is treated as the value not being there.
4865
+ * Read more here: https://pris.ly/d/null-undefined
4866
+ *
4867
+ **/
4868
+ createManyAndReturn<T extends LocationCreateManyAndReturnArgs<ExtArgs>>(
4869
+ args?: SelectSubset<T, LocationCreateManyAndReturnArgs<ExtArgs>>
4870
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'createManyAndReturn'>>
4871
+
4872
+ /**
4873
+ * Delete a Location.
4874
+ * @param {LocationDeleteArgs} args - Arguments to delete one Location.
4875
+ * @example
4876
+ * // Delete one Location
4877
+ * const Location = await prisma.location.delete({
4878
+ * where: {
4879
+ * // ... filter to delete one Location
4880
+ * }
4881
+ * })
4882
+ *
4883
+ **/
4884
+ delete<T extends LocationDeleteArgs<ExtArgs>>(
4885
+ args: SelectSubset<T, LocationDeleteArgs<ExtArgs>>
4886
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
4887
+
4888
+ /**
4889
+ * Update one Location.
4890
+ * @param {LocationUpdateArgs} args - Arguments to update one Location.
4891
+ * @example
4892
+ * // Update one Location
4893
+ * const location = await prisma.location.update({
4894
+ * where: {
4895
+ * // ... provide filter here
4896
+ * },
4897
+ * data: {
4898
+ * // ... provide data here
4899
+ * }
4900
+ * })
4901
+ *
4902
+ **/
4903
+ update<T extends LocationUpdateArgs<ExtArgs>>(
4904
+ args: SelectSubset<T, LocationUpdateArgs<ExtArgs>>
4905
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
4906
+
4907
+ /**
4908
+ * Delete zero or more Locations.
4909
+ * @param {LocationDeleteManyArgs} args - Arguments to filter Locations to delete.
4910
+ * @example
4911
+ * // Delete a few Locations
4912
+ * const { count } = await prisma.location.deleteMany({
4913
+ * where: {
4914
+ * // ... provide filter here
4915
+ * }
4916
+ * })
4917
+ *
4918
+ **/
4919
+ deleteMany<T extends LocationDeleteManyArgs<ExtArgs>>(
4920
+ args?: SelectSubset<T, LocationDeleteManyArgs<ExtArgs>>
4921
+ ): Prisma.PrismaPromise<BatchPayload>
4922
+
4923
+ /**
4924
+ * Update zero or more Locations.
4925
+ * Note, that providing `undefined` is treated as the value not being there.
4926
+ * Read more here: https://pris.ly/d/null-undefined
4927
+ * @param {LocationUpdateManyArgs} args - Arguments to update one or more rows.
4928
+ * @example
4929
+ * // Update many Locations
4930
+ * const location = await prisma.location.updateMany({
4931
+ * where: {
4932
+ * // ... provide filter here
4933
+ * },
4934
+ * data: {
4935
+ * // ... provide data here
4936
+ * }
4937
+ * })
4938
+ *
4939
+ **/
4940
+ updateMany<T extends LocationUpdateManyArgs<ExtArgs>>(
4941
+ args: SelectSubset<T, LocationUpdateManyArgs<ExtArgs>>
4942
+ ): Prisma.PrismaPromise<BatchPayload>
4943
+
4944
+ /**
4945
+ * Create or update one Location.
4946
+ * @param {LocationUpsertArgs} args - Arguments to update or create a Location.
4947
+ * @example
4948
+ * // Update or create a Location
4949
+ * const location = await prisma.location.upsert({
4950
+ * create: {
4951
+ * // ... data to create a Location
4952
+ * },
4953
+ * update: {
4954
+ * // ... in case it already exists, update
4955
+ * },
4956
+ * where: {
4957
+ * // ... the filter for the Location we want to update
4958
+ * }
4959
+ * })
4960
+ **/
4961
+ upsert<T extends LocationUpsertArgs<ExtArgs>>(
4962
+ args: SelectSubset<T, LocationUpsertArgs<ExtArgs>>
4963
+ ): Prisma__LocationClient<$Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
4964
+
4965
+ /**
4966
+ * Count the number of Locations.
4967
+ * Note, that providing `undefined` is treated as the value not being there.
4968
+ * Read more here: https://pris.ly/d/null-undefined
4969
+ * @param {LocationCountArgs} args - Arguments to filter Locations to count.
4970
+ * @example
4971
+ * // Count the number of Locations
4972
+ * const count = await prisma.location.count({
4973
+ * where: {
4974
+ * // ... the filter for the Locations we want to count
4975
+ * }
4976
+ * })
4977
+ **/
4978
+ count<T extends LocationCountArgs>(
4979
+ args?: Subset<T, LocationCountArgs>,
4980
+ ): Prisma.PrismaPromise<
4981
+ T extends $Utils.Record<'select', any>
4982
+ ? T['select'] extends true
4983
+ ? number
4984
+ : GetScalarType<T['select'], LocationCountAggregateOutputType>
4985
+ : number
4986
+ >
4987
+
4988
+ /**
4989
+ * Allows you to perform aggregations operations on a Location.
4990
+ * Note, that providing `undefined` is treated as the value not being there.
4991
+ * Read more here: https://pris.ly/d/null-undefined
4992
+ * @param {LocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
4993
+ * @example
4994
+ * // Ordered by age ascending
4995
+ * // Where email contains prisma.io
4996
+ * // Limited to the 10 users
4997
+ * const aggregations = await prisma.user.aggregate({
4998
+ * _avg: {
4999
+ * age: true,
5000
+ * },
5001
+ * where: {
5002
+ * email: {
5003
+ * contains: "prisma.io",
5004
+ * },
5005
+ * },
5006
+ * orderBy: {
5007
+ * age: "asc",
5008
+ * },
5009
+ * take: 10,
5010
+ * })
5011
+ **/
5012
+ aggregate<T extends LocationAggregateArgs>(args: Subset<T, LocationAggregateArgs>): Prisma.PrismaPromise<GetLocationAggregateType<T>>
5013
+
5014
+ /**
5015
+ * Group by Location.
5016
+ * Note, that providing `undefined` is treated as the value not being there.
5017
+ * Read more here: https://pris.ly/d/null-undefined
5018
+ * @param {LocationGroupByArgs} args - Group by arguments.
5019
+ * @example
5020
+ * // Group by city, order by createdAt, get count
5021
+ * const result = await prisma.user.groupBy({
5022
+ * by: ['city', 'createdAt'],
5023
+ * orderBy: {
5024
+ * createdAt: true
5025
+ * },
5026
+ * _count: {
5027
+ * _all: true
5028
+ * },
5029
+ * })
5030
+ *
5031
+ **/
5032
+ groupBy<
5033
+ T extends LocationGroupByArgs,
5034
+ HasSelectOrTake extends Or<
5035
+ Extends<'skip', Keys<T>>,
5036
+ Extends<'take', Keys<T>>
5037
+ >,
5038
+ OrderByArg extends True extends HasSelectOrTake
5039
+ ? { orderBy: LocationGroupByArgs['orderBy'] }
5040
+ : { orderBy?: LocationGroupByArgs['orderBy'] },
5041
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
5042
+ ByFields extends MaybeTupleToUnion<T['by']>,
5043
+ ByValid extends Has<ByFields, OrderFields>,
5044
+ HavingFields extends GetHavingFields<T['having']>,
5045
+ HavingValid extends Has<ByFields, HavingFields>,
5046
+ ByEmpty extends T['by'] extends never[] ? True : False,
5047
+ InputErrors extends ByEmpty extends True
5048
+ ? `Error: "by" must not be empty.`
5049
+ : HavingValid extends False
5050
+ ? {
5051
+ [P in HavingFields]: P extends ByFields
5052
+ ? never
5053
+ : P extends string
5054
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
5055
+ : [
5056
+ Error,
5057
+ 'Field ',
5058
+ P,
5059
+ ` in "having" needs to be provided in "by"`,
5060
+ ]
5061
+ }[HavingFields]
5062
+ : 'take' extends Keys<T>
5063
+ ? 'orderBy' extends Keys<T>
5064
+ ? ByValid extends True
5065
+ ? {}
5066
+ : {
5067
+ [P in OrderFields]: P extends ByFields
5068
+ ? never
5069
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
5070
+ }[OrderFields]
5071
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
5072
+ : 'skip' extends Keys<T>
5073
+ ? 'orderBy' extends Keys<T>
5074
+ ? ByValid extends True
5075
+ ? {}
5076
+ : {
5077
+ [P in OrderFields]: P extends ByFields
5078
+ ? never
5079
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
5080
+ }[OrderFields]
5081
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
5082
+ : ByValid extends True
5083
+ ? {}
5084
+ : {
5085
+ [P in OrderFields]: P extends ByFields
5086
+ ? never
5087
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
5088
+ }[OrderFields]
5089
+ >(args: SubsetIntersection<T, LocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
5090
+ /**
5091
+ * Fields of the Location model
5092
+ */
5093
+ readonly fields: LocationFieldRefs;
5094
+ }
5095
+
5096
+ /**
5097
+ * The delegate class that acts as a "Promise-like" for Location.
5098
+ * Why is this prefixed with `Prisma__`?
5099
+ * Because we want to prevent naming conflicts as mentioned in
5100
+ * https://github.com/prisma/prisma-client-js/issues/707
5101
+ */
5102
+ export interface Prisma__LocationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
5103
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
5104
+
5105
+ birthProfiles<T extends Location$birthProfilesArgs<ExtArgs> = {}>(args?: Subset<T, Location$birthProfilesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, 'findMany'> | Null>;
5106
+
5107
+ residenceProfiles<T extends Location$residenceProfilesArgs<ExtArgs> = {}>(args?: Subset<T, Location$residenceProfilesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, 'findMany'> | Null>;
5108
+
5109
+ /**
5110
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
5111
+ * @param onfulfilled The callback to execute when the Promise is resolved.
5112
+ * @param onrejected The callback to execute when the Promise is rejected.
5113
+ * @returns A Promise for the completion of which ever callback is executed.
5114
+ */
5115
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
5116
+ /**
5117
+ * Attaches a callback for only the rejection of the Promise.
5118
+ * @param onrejected The callback to execute when the Promise is rejected.
5119
+ * @returns A Promise for the completion of the callback.
5120
+ */
5121
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
5122
+ /**
5123
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
5124
+ * resolved value cannot be modified from the callback.
5125
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
5126
+ * @returns A Promise for the completion of the callback.
5127
+ */
5128
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
5129
+ }
5130
+
5131
+
5132
+
5133
+ /**
5134
+ * Fields of the Location model
5135
+ */
5136
+ interface LocationFieldRefs {
5137
+ readonly latitude: FieldRef<"Location", 'Float'>
5138
+ readonly longitude: FieldRef<"Location", 'Float'>
5139
+ readonly country: FieldRef<"Location", 'String'>
5140
+ readonly province: FieldRef<"Location", 'String'>
5141
+ readonly city: FieldRef<"Location", 'String'>
5142
+ readonly created_at: FieldRef<"Location", 'DateTime'>
5143
+ readonly updated_at: FieldRef<"Location", 'DateTime'>
5144
+ }
5145
+
5146
+
5147
+ // Custom InputTypes
5148
+ /**
5149
+ * Location findUnique
5150
+ */
5151
+ export type LocationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5152
+ /**
5153
+ * Select specific fields to fetch from the Location
5154
+ */
5155
+ select?: LocationSelect<ExtArgs> | null
5156
+ /**
5157
+ * Choose, which related nodes to fetch as well
5158
+ */
5159
+ include?: LocationInclude<ExtArgs> | null
5160
+ /**
5161
+ * Filter, which Location to fetch.
5162
+ */
5163
+ where: LocationWhereUniqueInput
5164
+ }
5165
+
5166
+ /**
5167
+ * Location findUniqueOrThrow
5168
+ */
5169
+ export type LocationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5170
+ /**
5171
+ * Select specific fields to fetch from the Location
5172
+ */
5173
+ select?: LocationSelect<ExtArgs> | null
5174
+ /**
5175
+ * Choose, which related nodes to fetch as well
5176
+ */
5177
+ include?: LocationInclude<ExtArgs> | null
5178
+ /**
5179
+ * Filter, which Location to fetch.
5180
+ */
5181
+ where: LocationWhereUniqueInput
5182
+ }
5183
+
5184
+ /**
5185
+ * Location findFirst
5186
+ */
5187
+ export type LocationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5188
+ /**
5189
+ * Select specific fields to fetch from the Location
5190
+ */
5191
+ select?: LocationSelect<ExtArgs> | null
5192
+ /**
5193
+ * Choose, which related nodes to fetch as well
5194
+ */
5195
+ include?: LocationInclude<ExtArgs> | null
5196
+ /**
5197
+ * Filter, which Location to fetch.
5198
+ */
5199
+ where?: LocationWhereInput
5200
+ /**
5201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
5202
+ *
5203
+ * Determine the order of Locations to fetch.
5204
+ */
5205
+ orderBy?: LocationOrderByWithRelationInput | LocationOrderByWithRelationInput[]
5206
+ /**
5207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
5208
+ *
5209
+ * Sets the position for searching for Locations.
5210
+ */
5211
+ cursor?: LocationWhereUniqueInput
5212
+ /**
5213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5214
+ *
5215
+ * Take `±n` Locations from the position of the cursor.
5216
+ */
5217
+ take?: number
5218
+ /**
5219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5220
+ *
5221
+ * Skip the first `n` Locations.
5222
+ */
5223
+ skip?: number
5224
+ /**
5225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
5226
+ *
5227
+ * Filter by unique combinations of Locations.
5228
+ */
5229
+ distinct?: LocationScalarFieldEnum | LocationScalarFieldEnum[]
5230
+ }
5231
+
5232
+ /**
5233
+ * Location findFirstOrThrow
5234
+ */
5235
+ export type LocationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5236
+ /**
5237
+ * Select specific fields to fetch from the Location
5238
+ */
5239
+ select?: LocationSelect<ExtArgs> | null
5240
+ /**
5241
+ * Choose, which related nodes to fetch as well
5242
+ */
5243
+ include?: LocationInclude<ExtArgs> | null
5244
+ /**
5245
+ * Filter, which Location to fetch.
5246
+ */
5247
+ where?: LocationWhereInput
5248
+ /**
5249
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
5250
+ *
5251
+ * Determine the order of Locations to fetch.
5252
+ */
5253
+ orderBy?: LocationOrderByWithRelationInput | LocationOrderByWithRelationInput[]
5254
+ /**
5255
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
5256
+ *
5257
+ * Sets the position for searching for Locations.
5258
+ */
5259
+ cursor?: LocationWhereUniqueInput
5260
+ /**
5261
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5262
+ *
5263
+ * Take `±n` Locations from the position of the cursor.
5264
+ */
5265
+ take?: number
5266
+ /**
5267
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5268
+ *
5269
+ * Skip the first `n` Locations.
5270
+ */
5271
+ skip?: number
5272
+ /**
5273
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
5274
+ *
5275
+ * Filter by unique combinations of Locations.
5276
+ */
5277
+ distinct?: LocationScalarFieldEnum | LocationScalarFieldEnum[]
5278
+ }
5279
+
5280
+ /**
5281
+ * Location findMany
5282
+ */
5283
+ export type LocationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5284
+ /**
5285
+ * Select specific fields to fetch from the Location
5286
+ */
5287
+ select?: LocationSelect<ExtArgs> | null
5288
+ /**
5289
+ * Choose, which related nodes to fetch as well
5290
+ */
5291
+ include?: LocationInclude<ExtArgs> | null
5292
+ /**
5293
+ * Filter, which Locations to fetch.
5294
+ */
5295
+ where?: LocationWhereInput
5296
+ /**
5297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
5298
+ *
5299
+ * Determine the order of Locations to fetch.
5300
+ */
5301
+ orderBy?: LocationOrderByWithRelationInput | LocationOrderByWithRelationInput[]
5302
+ /**
5303
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
5304
+ *
5305
+ * Sets the position for listing Locations.
5306
+ */
5307
+ cursor?: LocationWhereUniqueInput
5308
+ /**
5309
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5310
+ *
5311
+ * Take `±n` Locations from the position of the cursor.
5312
+ */
5313
+ take?: number
5314
+ /**
5315
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5316
+ *
5317
+ * Skip the first `n` Locations.
5318
+ */
5319
+ skip?: number
5320
+ distinct?: LocationScalarFieldEnum | LocationScalarFieldEnum[]
5321
+ }
5322
+
5323
+ /**
5324
+ * Location create
5325
+ */
5326
+ export type LocationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5327
+ /**
5328
+ * Select specific fields to fetch from the Location
5329
+ */
5330
+ select?: LocationSelect<ExtArgs> | null
5331
+ /**
5332
+ * Choose, which related nodes to fetch as well
5333
+ */
5334
+ include?: LocationInclude<ExtArgs> | null
5335
+ /**
5336
+ * The data needed to create a Location.
5337
+ */
5338
+ data: XOR<LocationCreateInput, LocationUncheckedCreateInput>
5339
+ }
5340
+
5341
+ /**
5342
+ * Location createMany
5343
+ */
5344
+ export type LocationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5345
+ /**
5346
+ * The data used to create many Locations.
5347
+ */
5348
+ data: LocationCreateManyInput | LocationCreateManyInput[]
5349
+ skipDuplicates?: boolean
5350
+ }
5351
+
5352
+ /**
5353
+ * Location createManyAndReturn
5354
+ */
5355
+ export type LocationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5356
+ /**
5357
+ * Select specific fields to fetch from the Location
5358
+ */
5359
+ select?: LocationSelect<ExtArgs> | null
5360
+ /**
5361
+ * Choose, which related nodes to fetch as well
5362
+ */
5363
+ include?: LocationInclude<ExtArgs> | null
5364
+ /**
5365
+ * The data used to create many Locations.
5366
+ */
5367
+ data: LocationCreateManyInput | LocationCreateManyInput[]
5368
+ skipDuplicates?: boolean
5369
+ }
5370
+
5371
+ /**
5372
+ * Location update
5373
+ */
5374
+ export type LocationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5375
+ /**
5376
+ * Select specific fields to fetch from the Location
5377
+ */
5378
+ select?: LocationSelect<ExtArgs> | null
5379
+ /**
5380
+ * Choose, which related nodes to fetch as well
5381
+ */
5382
+ include?: LocationInclude<ExtArgs> | null
5383
+ /**
5384
+ * The data needed to update a Location.
5385
+ */
5386
+ data: XOR<LocationUpdateInput, LocationUncheckedUpdateInput>
5387
+ /**
5388
+ * Choose, which Location to update.
5389
+ */
5390
+ where: LocationWhereUniqueInput
5391
+ }
5392
+
5393
+ /**
5394
+ * Location updateMany
5395
+ */
5396
+ export type LocationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5397
+ /**
5398
+ * The data used to update Locations.
5399
+ */
5400
+ data: XOR<LocationUpdateManyMutationInput, LocationUncheckedUpdateManyInput>
5401
+ /**
5402
+ * Filter which Locations to update
5403
+ */
5404
+ where?: LocationWhereInput
5405
+ }
5406
+
5407
+ /**
5408
+ * Location upsert
5409
+ */
5410
+ export type LocationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5411
+ /**
5412
+ * Select specific fields to fetch from the Location
5413
+ */
5414
+ select?: LocationSelect<ExtArgs> | null
5415
+ /**
5416
+ * Choose, which related nodes to fetch as well
5417
+ */
5418
+ include?: LocationInclude<ExtArgs> | null
5419
+ /**
5420
+ * The filter to search for the Location to update in case it exists.
5421
+ */
5422
+ where: LocationWhereUniqueInput
5423
+ /**
5424
+ * In case the Location found by the `where` argument doesn't exist, create a new Location with this data.
5425
+ */
5426
+ create: XOR<LocationCreateInput, LocationUncheckedCreateInput>
5427
+ /**
5428
+ * In case the Location was found with the provided `where` argument, update it with this data.
5429
+ */
5430
+ update: XOR<LocationUpdateInput, LocationUncheckedUpdateInput>
5431
+ }
5432
+
5433
+ /**
5434
+ * Location delete
5435
+ */
5436
+ export type LocationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5437
+ /**
5438
+ * Select specific fields to fetch from the Location
5439
+ */
5440
+ select?: LocationSelect<ExtArgs> | null
5441
+ /**
5442
+ * Choose, which related nodes to fetch as well
5443
+ */
5444
+ include?: LocationInclude<ExtArgs> | null
5445
+ /**
5446
+ * Filter which Location to delete.
5447
+ */
5448
+ where: LocationWhereUniqueInput
5449
+ }
5450
+
5451
+ /**
5452
+ * Location deleteMany
5453
+ */
5454
+ export type LocationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5455
+ /**
5456
+ * Filter which Locations to delete
5457
+ */
5458
+ where?: LocationWhereInput
5459
+ }
5460
+
5461
+ /**
5462
+ * Location.birthProfiles
5463
+ */
5464
+ export type Location$birthProfilesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5465
+ /**
5466
+ * Select specific fields to fetch from the Profile
5467
+ */
5468
+ select?: ProfileSelect<ExtArgs> | null
5469
+ /**
5470
+ * Choose, which related nodes to fetch as well
5471
+ */
5472
+ include?: ProfileInclude<ExtArgs> | null
5473
+ where?: ProfileWhereInput
5474
+ orderBy?: ProfileOrderByWithRelationInput | ProfileOrderByWithRelationInput[]
5475
+ cursor?: ProfileWhereUniqueInput
5476
+ take?: number
5477
+ skip?: number
5478
+ distinct?: ProfileScalarFieldEnum | ProfileScalarFieldEnum[]
5479
+ }
5480
+
5481
+ /**
5482
+ * Location.residenceProfiles
5483
+ */
5484
+ export type Location$residenceProfilesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5485
+ /**
5486
+ * Select specific fields to fetch from the Profile
5487
+ */
5488
+ select?: ProfileSelect<ExtArgs> | null
5489
+ /**
5490
+ * Choose, which related nodes to fetch as well
5491
+ */
5492
+ include?: ProfileInclude<ExtArgs> | null
5493
+ where?: ProfileWhereInput
5494
+ orderBy?: ProfileOrderByWithRelationInput | ProfileOrderByWithRelationInput[]
5495
+ cursor?: ProfileWhereUniqueInput
5496
+ take?: number
5497
+ skip?: number
5498
+ distinct?: ProfileScalarFieldEnum | ProfileScalarFieldEnum[]
5499
+ }
5500
+
5501
+ /**
5502
+ * Location without action
5503
+ */
5504
+ export type LocationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5505
+ /**
5506
+ * Select specific fields to fetch from the Location
5507
+ */
5508
+ select?: LocationSelect<ExtArgs> | null
5509
+ /**
5510
+ * Choose, which related nodes to fetch as well
5511
+ */
5512
+ include?: LocationInclude<ExtArgs> | null
5513
+ }
5514
+
5515
+
5516
+ /**
5517
+ * Model Comment
5518
+ */
5519
+
5520
+ export type AggregateComment = {
5521
+ _count: CommentCountAggregateOutputType | null
5522
+ _min: CommentMinAggregateOutputType | null
5523
+ _max: CommentMaxAggregateOutputType | null
5524
+ }
5525
+
5526
+ export type CommentMinAggregateOutputType = {
5527
+ id: string | null
5528
+ content: string | null
5529
+ createdBy: string | null
5530
+ profileId: string | null
5531
+ isSolvable: boolean | null
5532
+ isSolved: boolean | null
5533
+ solvedAt: Date | null
5534
+ solvedById: string | null
5535
+ created_at: Date | null
5536
+ updated_at: Date | null
5537
+ }
5538
+
5539
+ export type CommentMaxAggregateOutputType = {
5540
+ id: string | null
5541
+ content: string | null
5542
+ createdBy: string | null
5543
+ profileId: string | null
5544
+ isSolvable: boolean | null
5545
+ isSolved: boolean | null
5546
+ solvedAt: Date | null
5547
+ solvedById: string | null
5548
+ created_at: Date | null
5549
+ updated_at: Date | null
5550
+ }
5551
+
5552
+ export type CommentCountAggregateOutputType = {
5553
+ id: number
5554
+ content: number
5555
+ createdBy: number
5556
+ profileId: number
5557
+ isSolvable: number
5558
+ isSolved: number
5559
+ solvedAt: number
5560
+ solvedById: number
5561
+ created_at: number
5562
+ updated_at: number
5563
+ _all: number
5564
+ }
5565
+
5566
+
5567
+ export type CommentMinAggregateInputType = {
5568
+ id?: true
5569
+ content?: true
5570
+ createdBy?: true
5571
+ profileId?: true
5572
+ isSolvable?: true
5573
+ isSolved?: true
5574
+ solvedAt?: true
5575
+ solvedById?: true
5576
+ created_at?: true
5577
+ updated_at?: true
5578
+ }
5579
+
5580
+ export type CommentMaxAggregateInputType = {
5581
+ id?: true
5582
+ content?: true
5583
+ createdBy?: true
5584
+ profileId?: true
5585
+ isSolvable?: true
5586
+ isSolved?: true
5587
+ solvedAt?: true
5588
+ solvedById?: true
5589
+ created_at?: true
5590
+ updated_at?: true
5591
+ }
5592
+
5593
+ export type CommentCountAggregateInputType = {
5594
+ id?: true
5595
+ content?: true
5596
+ createdBy?: true
5597
+ profileId?: true
5598
+ isSolvable?: true
5599
+ isSolved?: true
5600
+ solvedAt?: true
5601
+ solvedById?: true
5602
+ created_at?: true
5603
+ updated_at?: true
5604
+ _all?: true
5605
+ }
5606
+
5607
+ export type CommentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5608
+ /**
5609
+ * Filter which Comment to aggregate.
5610
+ */
5611
+ where?: CommentWhereInput
5612
+ /**
5613
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
5614
+ *
5615
+ * Determine the order of Comments to fetch.
5616
+ */
5617
+ orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[]
5618
+ /**
5619
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
5620
+ *
5621
+ * Sets the start position
5622
+ */
5623
+ cursor?: CommentWhereUniqueInput
5624
+ /**
5625
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5626
+ *
5627
+ * Take `±n` Comments from the position of the cursor.
5628
+ */
5629
+ take?: number
5630
+ /**
5631
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
5632
+ *
5633
+ * Skip the first `n` Comments.
5634
+ */
5635
+ skip?: number
5636
+ /**
5637
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5638
+ *
5639
+ * Count returned Comments
5640
+ **/
5641
+ _count?: true | CommentCountAggregateInputType
5642
+ /**
5643
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5644
+ *
5645
+ * Select which fields to find the minimum value
5646
+ **/
5647
+ _min?: CommentMinAggregateInputType
5648
+ /**
5649
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5650
+ *
5651
+ * Select which fields to find the maximum value
5652
+ **/
5653
+ _max?: CommentMaxAggregateInputType
5654
+ }
5655
+
5656
+ export type GetCommentAggregateType<T extends CommentAggregateArgs> = {
5657
+ [P in keyof T & keyof AggregateComment]: P extends '_count' | 'count'
5658
+ ? T[P] extends true
5659
+ ? number
5660
+ : GetScalarType<T[P], AggregateComment[P]>
5661
+ : GetScalarType<T[P], AggregateComment[P]>
5662
+ }
5663
+
5664
+
5665
+
5666
+
5667
+ export type CommentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5668
+ where?: CommentWhereInput
5669
+ orderBy?: CommentOrderByWithAggregationInput | CommentOrderByWithAggregationInput[]
5670
+ by: CommentScalarFieldEnum[] | CommentScalarFieldEnum
5671
+ having?: CommentScalarWhereWithAggregatesInput
5672
+ take?: number
5673
+ skip?: number
5674
+ _count?: CommentCountAggregateInputType | true
5675
+ _min?: CommentMinAggregateInputType
5676
+ _max?: CommentMaxAggregateInputType
5677
+ }
5678
+
5679
+ export type CommentGroupByOutputType = {
5680
+ id: string
5681
+ content: string
5682
+ createdBy: string
5683
+ profileId: string
5684
+ isSolvable: boolean
5685
+ isSolved: boolean
5686
+ solvedAt: Date | null
5687
+ solvedById: string | null
5688
+ created_at: Date
5689
+ updated_at: Date
5690
+ _count: CommentCountAggregateOutputType | null
5691
+ _min: CommentMinAggregateOutputType | null
5692
+ _max: CommentMaxAggregateOutputType | null
5693
+ }
5694
+
5695
+ type GetCommentGroupByPayload<T extends CommentGroupByArgs> = Prisma.PrismaPromise<
5696
+ Array<
5697
+ PickEnumerable<CommentGroupByOutputType, T['by']> &
5698
+ {
5699
+ [P in ((keyof T) & (keyof CommentGroupByOutputType))]: P extends '_count'
5700
+ ? T[P] extends boolean
5701
+ ? number
5702
+ : GetScalarType<T[P], CommentGroupByOutputType[P]>
5703
+ : GetScalarType<T[P], CommentGroupByOutputType[P]>
5704
+ }
5705
+ >
5706
+ >
5707
+
5708
+
5709
+ export type CommentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
5710
+ id?: boolean
5711
+ content?: boolean
5712
+ createdBy?: boolean
5713
+ profileId?: boolean
5714
+ isSolvable?: boolean
5715
+ isSolved?: boolean
5716
+ solvedAt?: boolean
5717
+ solvedById?: boolean
5718
+ created_at?: boolean
5719
+ updated_at?: boolean
5720
+ account?: boolean | AccountDefaultArgs<ExtArgs>
5721
+ profile?: boolean | ProfileDefaultArgs<ExtArgs>
5722
+ solvedBy?: boolean | Comment$solvedByArgs<ExtArgs>
5723
+ }, ExtArgs["result"]["comment"]>
5724
+
5725
+ export type CommentSelectScalar = {
5726
+ id?: boolean
5727
+ content?: boolean
5728
+ createdBy?: boolean
5729
+ profileId?: boolean
5730
+ isSolvable?: boolean
5731
+ isSolved?: boolean
5732
+ solvedAt?: boolean
5733
+ solvedById?: boolean
5734
+ created_at?: boolean
5735
+ updated_at?: boolean
5736
+ }
5737
+
5738
+
5739
+ export type CommentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5740
+ account?: boolean | AccountDefaultArgs<ExtArgs>
5741
+ profile?: boolean | ProfileDefaultArgs<ExtArgs>
5742
+ solvedBy?: boolean | Comment$solvedByArgs<ExtArgs>
5743
+ }
5744
+
5745
+
5746
+ export type $CommentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5747
+ name: "Comment"
5748
+ objects: {
5749
+ account: Prisma.$AccountPayload<ExtArgs>
5750
+ profile: Prisma.$ProfilePayload<ExtArgs>
5751
+ solvedBy: Prisma.$AccountPayload<ExtArgs> | null
5752
+ }
5753
+ scalars: $Extensions.GetPayloadResult<{
5754
+ id: string
5755
+ content: string
5756
+ createdBy: string
5757
+ profileId: string
5758
+ isSolvable: boolean
5759
+ isSolved: boolean
5760
+ solvedAt: Date | null
5761
+ solvedById: string | null
5762
+ created_at: Date
5763
+ updated_at: Date
5764
+ }, ExtArgs["result"]["comment"]>
5765
+ composites: {}
5766
+ }
5767
+
5768
+
5769
+ type CommentGetPayload<S extends boolean | null | undefined | CommentDefaultArgs> = $Result.GetResult<Prisma.$CommentPayload, S>
5770
+
5771
+ type CommentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
5772
+ Omit<CommentFindManyArgs, 'select' | 'include' | 'distinct'> & {
4490
5773
  select?: CommentCountAggregateInputType | true
4491
5774
  }
4492
5775
 
@@ -12154,6 +13437,10 @@ export namespace Prisma {
12154
13437
  mail: 'mail',
12155
13438
  dni: 'dni',
12156
13439
  alternativeNames: 'alternativeNames',
13440
+ birthLongitude: 'birthLongitude',
13441
+ birthLatitude: 'birthLatitude',
13442
+ residenceLongitude: 'residenceLongitude',
13443
+ residenceLatitude: 'residenceLatitude',
12157
13444
  isInTrash: 'isInTrash',
12158
13445
  movedToTrashDate: 'movedToTrashDate',
12159
13446
  created_at: 'created_at',
@@ -12163,6 +13450,19 @@ export namespace Prisma {
12163
13450
  export type ProfileScalarFieldEnum = (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum]
12164
13451
 
12165
13452
 
13453
+ export const LocationScalarFieldEnum: {
13454
+ latitude: 'latitude',
13455
+ longitude: 'longitude',
13456
+ country: 'country',
13457
+ province: 'province',
13458
+ city: 'city',
13459
+ created_at: 'created_at',
13460
+ updated_at: 'updated_at'
13461
+ };
13462
+
13463
+ export type LocationScalarFieldEnum = (typeof LocationScalarFieldEnum)[keyof typeof LocationScalarFieldEnum]
13464
+
13465
+
12166
13466
  export const CommentScalarFieldEnum: {
12167
13467
  id: 'id',
12168
13468
  content: 'content',
@@ -12371,6 +13671,20 @@ export namespace Prisma {
12371
13671
 
12372
13672
 
12373
13673
 
13674
+ /**
13675
+ * Reference to a field of type 'Float'
13676
+ */
13677
+ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
13678
+
13679
+
13680
+
13681
+ /**
13682
+ * Reference to a field of type 'Float[]'
13683
+ */
13684
+ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
13685
+
13686
+
13687
+
12374
13688
  /**
12375
13689
  * Reference to a field of type 'TagType'
12376
13690
  */
@@ -12432,20 +13746,6 @@ export namespace Prisma {
12432
13746
  */
12433
13747
  export type ListEnumTemplateCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateCategory[]'>
12434
13748
 
12435
-
12436
-
12437
- /**
12438
- * Reference to a field of type 'Float'
12439
- */
12440
- export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
12441
-
12442
-
12443
-
12444
- /**
12445
- * Reference to a field of type 'Float[]'
12446
- */
12447
- export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
12448
-
12449
13749
  /**
12450
13750
  * Deep Input Types
12451
13751
  */
@@ -12547,6 +13847,10 @@ export namespace Prisma {
12547
13847
  mail?: StringNullableFilter<"Profile"> | string | null
12548
13848
  dni?: StringNullableFilter<"Profile"> | string | null
12549
13849
  alternativeNames?: StringNullableListFilter<"Profile">
13850
+ birthLongitude?: FloatNullableFilter<"Profile"> | number | null
13851
+ birthLatitude?: FloatNullableFilter<"Profile"> | number | null
13852
+ residenceLongitude?: FloatNullableFilter<"Profile"> | number | null
13853
+ residenceLatitude?: FloatNullableFilter<"Profile"> | number | null
12550
13854
  isInTrash?: BoolFilter<"Profile"> | boolean
12551
13855
  movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
12552
13856
  created_at?: DateTimeFilter<"Profile"> | Date | string
@@ -12554,6 +13858,8 @@ export namespace Prisma {
12554
13858
  comments?: CommentListRelationFilter
12555
13859
  messages?: MessageListRelationFilter
12556
13860
  tags?: TagListRelationFilter
13861
+ birthLocation?: XOR<LocationNullableRelationFilter, LocationWhereInput> | null
13862
+ residenceLocation?: XOR<LocationNullableRelationFilter, LocationWhereInput> | null
12557
13863
  }
12558
13864
 
12559
13865
  export type ProfileOrderByWithRelationInput = {
@@ -12570,6 +13876,10 @@ export namespace Prisma {
12570
13876
  mail?: SortOrderInput | SortOrder
12571
13877
  dni?: SortOrderInput | SortOrder
12572
13878
  alternativeNames?: SortOrder
13879
+ birthLongitude?: SortOrderInput | SortOrder
13880
+ birthLatitude?: SortOrderInput | SortOrder
13881
+ residenceLongitude?: SortOrderInput | SortOrder
13882
+ residenceLatitude?: SortOrderInput | SortOrder
12573
13883
  isInTrash?: SortOrder
12574
13884
  movedToTrashDate?: SortOrderInput | SortOrder
12575
13885
  created_at?: SortOrder
@@ -12577,6 +13887,8 @@ export namespace Prisma {
12577
13887
  comments?: CommentOrderByRelationAggregateInput
12578
13888
  messages?: MessageOrderByRelationAggregateInput
12579
13889
  tags?: TagOrderByRelationAggregateInput
13890
+ birthLocation?: LocationOrderByWithRelationInput
13891
+ residenceLocation?: LocationOrderByWithRelationInput
12580
13892
  }
12581
13893
 
12582
13894
  export type ProfileWhereUniqueInput = Prisma.AtLeast<{
@@ -12596,6 +13908,10 @@ export namespace Prisma {
12596
13908
  mail?: StringNullableFilter<"Profile"> | string | null
12597
13909
  dni?: StringNullableFilter<"Profile"> | string | null
12598
13910
  alternativeNames?: StringNullableListFilter<"Profile">
13911
+ birthLongitude?: FloatNullableFilter<"Profile"> | number | null
13912
+ birthLatitude?: FloatNullableFilter<"Profile"> | number | null
13913
+ residenceLongitude?: FloatNullableFilter<"Profile"> | number | null
13914
+ residenceLatitude?: FloatNullableFilter<"Profile"> | number | null
12599
13915
  isInTrash?: BoolFilter<"Profile"> | boolean
12600
13916
  movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
12601
13917
  created_at?: DateTimeFilter<"Profile"> | Date | string
@@ -12603,6 +13919,8 @@ export namespace Prisma {
12603
13919
  comments?: CommentListRelationFilter
12604
13920
  messages?: MessageListRelationFilter
12605
13921
  tags?: TagListRelationFilter
13922
+ birthLocation?: XOR<LocationNullableRelationFilter, LocationWhereInput> | null
13923
+ residenceLocation?: XOR<LocationNullableRelationFilter, LocationWhereInput> | null
12606
13924
  }, "id" | "phoneNumber" | "secondaryPhoneNumber">
12607
13925
 
12608
13926
  export type ProfileOrderByWithAggregationInput = {
@@ -12619,6 +13937,10 @@ export namespace Prisma {
12619
13937
  mail?: SortOrderInput | SortOrder
12620
13938
  dni?: SortOrderInput | SortOrder
12621
13939
  alternativeNames?: SortOrder
13940
+ birthLongitude?: SortOrderInput | SortOrder
13941
+ birthLatitude?: SortOrderInput | SortOrder
13942
+ residenceLongitude?: SortOrderInput | SortOrder
13943
+ residenceLatitude?: SortOrderInput | SortOrder
12622
13944
  isInTrash?: SortOrder
12623
13945
  movedToTrashDate?: SortOrderInput | SortOrder
12624
13946
  created_at?: SortOrder
@@ -12647,12 +13969,87 @@ export namespace Prisma {
12647
13969
  mail?: StringNullableWithAggregatesFilter<"Profile"> | string | null
12648
13970
  dni?: StringNullableWithAggregatesFilter<"Profile"> | string | null
12649
13971
  alternativeNames?: StringNullableListFilter<"Profile">
13972
+ birthLongitude?: FloatNullableWithAggregatesFilter<"Profile"> | number | null
13973
+ birthLatitude?: FloatNullableWithAggregatesFilter<"Profile"> | number | null
13974
+ residenceLongitude?: FloatNullableWithAggregatesFilter<"Profile"> | number | null
13975
+ residenceLatitude?: FloatNullableWithAggregatesFilter<"Profile"> | number | null
12650
13976
  isInTrash?: BoolWithAggregatesFilter<"Profile"> | boolean
12651
13977
  movedToTrashDate?: DateTimeNullableWithAggregatesFilter<"Profile"> | Date | string | null
12652
13978
  created_at?: DateTimeWithAggregatesFilter<"Profile"> | Date | string
12653
13979
  updated_at?: DateTimeWithAggregatesFilter<"Profile"> | Date | string
12654
13980
  }
12655
13981
 
13982
+ export type LocationWhereInput = {
13983
+ AND?: LocationWhereInput | LocationWhereInput[]
13984
+ OR?: LocationWhereInput[]
13985
+ NOT?: LocationWhereInput | LocationWhereInput[]
13986
+ latitude?: FloatFilter<"Location"> | number
13987
+ longitude?: FloatFilter<"Location"> | number
13988
+ country?: StringFilter<"Location"> | string
13989
+ province?: StringFilter<"Location"> | string
13990
+ city?: StringFilter<"Location"> | string
13991
+ created_at?: DateTimeFilter<"Location"> | Date | string
13992
+ updated_at?: DateTimeFilter<"Location"> | Date | string
13993
+ birthProfiles?: ProfileListRelationFilter
13994
+ residenceProfiles?: ProfileListRelationFilter
13995
+ }
13996
+
13997
+ export type LocationOrderByWithRelationInput = {
13998
+ latitude?: SortOrder
13999
+ longitude?: SortOrder
14000
+ country?: SortOrder
14001
+ province?: SortOrder
14002
+ city?: SortOrder
14003
+ created_at?: SortOrder
14004
+ updated_at?: SortOrder
14005
+ birthProfiles?: ProfileOrderByRelationAggregateInput
14006
+ residenceProfiles?: ProfileOrderByRelationAggregateInput
14007
+ }
14008
+
14009
+ export type LocationWhereUniqueInput = Prisma.AtLeast<{
14010
+ latitude_longitude?: LocationLatitudeLongitudeCompoundUniqueInput
14011
+ AND?: LocationWhereInput | LocationWhereInput[]
14012
+ OR?: LocationWhereInput[]
14013
+ NOT?: LocationWhereInput | LocationWhereInput[]
14014
+ latitude?: FloatFilter<"Location"> | number
14015
+ longitude?: FloatFilter<"Location"> | number
14016
+ country?: StringFilter<"Location"> | string
14017
+ province?: StringFilter<"Location"> | string
14018
+ city?: StringFilter<"Location"> | string
14019
+ created_at?: DateTimeFilter<"Location"> | Date | string
14020
+ updated_at?: DateTimeFilter<"Location"> | Date | string
14021
+ birthProfiles?: ProfileListRelationFilter
14022
+ residenceProfiles?: ProfileListRelationFilter
14023
+ }, "latitude_longitude">
14024
+
14025
+ export type LocationOrderByWithAggregationInput = {
14026
+ latitude?: SortOrder
14027
+ longitude?: SortOrder
14028
+ country?: SortOrder
14029
+ province?: SortOrder
14030
+ city?: SortOrder
14031
+ created_at?: SortOrder
14032
+ updated_at?: SortOrder
14033
+ _count?: LocationCountOrderByAggregateInput
14034
+ _avg?: LocationAvgOrderByAggregateInput
14035
+ _max?: LocationMaxOrderByAggregateInput
14036
+ _min?: LocationMinOrderByAggregateInput
14037
+ _sum?: LocationSumOrderByAggregateInput
14038
+ }
14039
+
14040
+ export type LocationScalarWhereWithAggregatesInput = {
14041
+ AND?: LocationScalarWhereWithAggregatesInput | LocationScalarWhereWithAggregatesInput[]
14042
+ OR?: LocationScalarWhereWithAggregatesInput[]
14043
+ NOT?: LocationScalarWhereWithAggregatesInput | LocationScalarWhereWithAggregatesInput[]
14044
+ latitude?: FloatWithAggregatesFilter<"Location"> | number
14045
+ longitude?: FloatWithAggregatesFilter<"Location"> | number
14046
+ country?: StringWithAggregatesFilter<"Location"> | string
14047
+ province?: StringWithAggregatesFilter<"Location"> | string
14048
+ city?: StringWithAggregatesFilter<"Location"> | string
14049
+ created_at?: DateTimeWithAggregatesFilter<"Location"> | Date | string
14050
+ updated_at?: DateTimeWithAggregatesFilter<"Location"> | Date | string
14051
+ }
14052
+
12656
14053
  export type CommentWhereInput = {
12657
14054
  AND?: CommentWhereInput | CommentWhereInput[]
12658
14055
  OR?: CommentWhereInput[]
@@ -13294,6 +14691,8 @@ export namespace Prisma {
13294
14691
  comments?: CommentCreateNestedManyWithoutProfileInput
13295
14692
  messages?: MessageCreateNestedManyWithoutProfileInput
13296
14693
  tags?: TagCreateNestedManyWithoutProfilesInput
14694
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
14695
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
13297
14696
  }
13298
14697
 
13299
14698
  export type ProfileUncheckedCreateInput = {
@@ -13310,6 +14709,10 @@ export namespace Prisma {
13310
14709
  mail?: string | null
13311
14710
  dni?: string | null
13312
14711
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
14712
+ birthLongitude?: number | null
14713
+ birthLatitude?: number | null
14714
+ residenceLongitude?: number | null
14715
+ residenceLatitude?: number | null
13313
14716
  isInTrash?: boolean
13314
14717
  movedToTrashDate?: Date | string | null
13315
14718
  created_at?: Date | string
@@ -13340,6 +14743,8 @@ export namespace Prisma {
13340
14743
  comments?: CommentUpdateManyWithoutProfileNestedInput
13341
14744
  messages?: MessageUpdateManyWithoutProfileNestedInput
13342
14745
  tags?: TagUpdateManyWithoutProfilesNestedInput
14746
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
14747
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
13343
14748
  }
13344
14749
 
13345
14750
  export type ProfileUncheckedUpdateInput = {
@@ -13356,6 +14761,10 @@ export namespace Prisma {
13356
14761
  mail?: NullableStringFieldUpdateOperationsInput | string | null
13357
14762
  dni?: NullableStringFieldUpdateOperationsInput | string | null
13358
14763
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
14764
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
14765
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
14766
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
14767
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
13359
14768
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
13360
14769
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
13361
14770
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -13379,6 +14788,10 @@ export namespace Prisma {
13379
14788
  mail?: string | null
13380
14789
  dni?: string | null
13381
14790
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
14791
+ birthLongitude?: number | null
14792
+ birthLatitude?: number | null
14793
+ residenceLongitude?: number | null
14794
+ residenceLatitude?: number | null
13382
14795
  isInTrash?: boolean
13383
14796
  movedToTrashDate?: Date | string | null
13384
14797
  created_at?: Date | string
@@ -13419,12 +14832,94 @@ export namespace Prisma {
13419
14832
  mail?: NullableStringFieldUpdateOperationsInput | string | null
13420
14833
  dni?: NullableStringFieldUpdateOperationsInput | string | null
13421
14834
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
14835
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
14836
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
14837
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
14838
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
13422
14839
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
13423
14840
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
13424
14841
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
13425
14842
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
13426
14843
  }
13427
14844
 
14845
+ export type LocationCreateInput = {
14846
+ latitude: number
14847
+ longitude: number
14848
+ country: string
14849
+ province: string
14850
+ city: string
14851
+ created_at?: Date | string
14852
+ updated_at?: Date | string
14853
+ birthProfiles?: ProfileCreateNestedManyWithoutBirthLocationInput
14854
+ residenceProfiles?: ProfileCreateNestedManyWithoutResidenceLocationInput
14855
+ }
14856
+
14857
+ export type LocationUncheckedCreateInput = {
14858
+ latitude: number
14859
+ longitude: number
14860
+ country: string
14861
+ province: string
14862
+ city: string
14863
+ created_at?: Date | string
14864
+ updated_at?: Date | string
14865
+ birthProfiles?: ProfileUncheckedCreateNestedManyWithoutBirthLocationInput
14866
+ residenceProfiles?: ProfileUncheckedCreateNestedManyWithoutResidenceLocationInput
14867
+ }
14868
+
14869
+ export type LocationUpdateInput = {
14870
+ latitude?: FloatFieldUpdateOperationsInput | number
14871
+ longitude?: FloatFieldUpdateOperationsInput | number
14872
+ country?: StringFieldUpdateOperationsInput | string
14873
+ province?: StringFieldUpdateOperationsInput | string
14874
+ city?: StringFieldUpdateOperationsInput | string
14875
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
14876
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
14877
+ birthProfiles?: ProfileUpdateManyWithoutBirthLocationNestedInput
14878
+ residenceProfiles?: ProfileUpdateManyWithoutResidenceLocationNestedInput
14879
+ }
14880
+
14881
+ export type LocationUncheckedUpdateInput = {
14882
+ latitude?: FloatFieldUpdateOperationsInput | number
14883
+ longitude?: FloatFieldUpdateOperationsInput | number
14884
+ country?: StringFieldUpdateOperationsInput | string
14885
+ province?: StringFieldUpdateOperationsInput | string
14886
+ city?: StringFieldUpdateOperationsInput | string
14887
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
14888
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
14889
+ birthProfiles?: ProfileUncheckedUpdateManyWithoutBirthLocationNestedInput
14890
+ residenceProfiles?: ProfileUncheckedUpdateManyWithoutResidenceLocationNestedInput
14891
+ }
14892
+
14893
+ export type LocationCreateManyInput = {
14894
+ latitude: number
14895
+ longitude: number
14896
+ country: string
14897
+ province: string
14898
+ city: string
14899
+ created_at?: Date | string
14900
+ updated_at?: Date | string
14901
+ }
14902
+
14903
+ export type LocationUpdateManyMutationInput = {
14904
+ latitude?: FloatFieldUpdateOperationsInput | number
14905
+ longitude?: FloatFieldUpdateOperationsInput | number
14906
+ country?: StringFieldUpdateOperationsInput | string
14907
+ province?: StringFieldUpdateOperationsInput | string
14908
+ city?: StringFieldUpdateOperationsInput | string
14909
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
14910
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
14911
+ }
14912
+
14913
+ export type LocationUncheckedUpdateManyInput = {
14914
+ latitude?: FloatFieldUpdateOperationsInput | number
14915
+ longitude?: FloatFieldUpdateOperationsInput | number
14916
+ country?: StringFieldUpdateOperationsInput | string
14917
+ province?: StringFieldUpdateOperationsInput | string
14918
+ city?: StringFieldUpdateOperationsInput | string
14919
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
14920
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
14921
+ }
14922
+
13428
14923
  export type CommentCreateInput = {
13429
14924
  id?: string
13430
14925
  content: string
@@ -14164,12 +15659,28 @@ export namespace Prisma {
14164
15659
  not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
14165
15660
  }
14166
15661
 
15662
+ export type FloatNullableFilter<$PrismaModel = never> = {
15663
+ equals?: number | FloatFieldRefInput<$PrismaModel> | null
15664
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
15665
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
15666
+ lt?: number | FloatFieldRefInput<$PrismaModel>
15667
+ lte?: number | FloatFieldRefInput<$PrismaModel>
15668
+ gt?: number | FloatFieldRefInput<$PrismaModel>
15669
+ gte?: number | FloatFieldRefInput<$PrismaModel>
15670
+ not?: NestedFloatNullableFilter<$PrismaModel> | number | null
15671
+ }
15672
+
14167
15673
  export type MessageListRelationFilter = {
14168
15674
  every?: MessageWhereInput
14169
15675
  some?: MessageWhereInput
14170
15676
  none?: MessageWhereInput
14171
15677
  }
14172
15678
 
15679
+ export type LocationNullableRelationFilter = {
15680
+ is?: LocationWhereInput | null
15681
+ isNot?: LocationWhereInput | null
15682
+ }
15683
+
14173
15684
  export type SortOrderInput = {
14174
15685
  sort: SortOrder
14175
15686
  nulls?: NullsOrder
@@ -14193,6 +15704,10 @@ export namespace Prisma {
14193
15704
  mail?: SortOrder
14194
15705
  dni?: SortOrder
14195
15706
  alternativeNames?: SortOrder
15707
+ birthLongitude?: SortOrder
15708
+ birthLatitude?: SortOrder
15709
+ residenceLongitude?: SortOrder
15710
+ residenceLatitude?: SortOrder
14196
15711
  isInTrash?: SortOrder
14197
15712
  movedToTrashDate?: SortOrder
14198
15713
  created_at?: SortOrder
@@ -14201,6 +15716,10 @@ export namespace Prisma {
14201
15716
 
14202
15717
  export type ProfileAvgOrderByAggregateInput = {
14203
15718
  shortId?: SortOrder
15719
+ birthLongitude?: SortOrder
15720
+ birthLatitude?: SortOrder
15721
+ residenceLongitude?: SortOrder
15722
+ residenceLatitude?: SortOrder
14204
15723
  }
14205
15724
 
14206
15725
  export type ProfileMaxOrderByAggregateInput = {
@@ -14216,6 +15735,10 @@ export namespace Prisma {
14216
15735
  instagram?: SortOrder
14217
15736
  mail?: SortOrder
14218
15737
  dni?: SortOrder
15738
+ birthLongitude?: SortOrder
15739
+ birthLatitude?: SortOrder
15740
+ residenceLongitude?: SortOrder
15741
+ residenceLatitude?: SortOrder
14219
15742
  isInTrash?: SortOrder
14220
15743
  movedToTrashDate?: SortOrder
14221
15744
  created_at?: SortOrder
@@ -14235,6 +15758,10 @@ export namespace Prisma {
14235
15758
  instagram?: SortOrder
14236
15759
  mail?: SortOrder
14237
15760
  dni?: SortOrder
15761
+ birthLongitude?: SortOrder
15762
+ birthLatitude?: SortOrder
15763
+ residenceLongitude?: SortOrder
15764
+ residenceLatitude?: SortOrder
14238
15765
  isInTrash?: SortOrder
14239
15766
  movedToTrashDate?: SortOrder
14240
15767
  created_at?: SortOrder
@@ -14243,6 +15770,10 @@ export namespace Prisma {
14243
15770
 
14244
15771
  export type ProfileSumOrderByAggregateInput = {
14245
15772
  shortId?: SortOrder
15773
+ birthLongitude?: SortOrder
15774
+ birthLatitude?: SortOrder
15775
+ residenceLongitude?: SortOrder
15776
+ residenceLatitude?: SortOrder
14246
15777
  }
14247
15778
 
14248
15779
  export type IntWithAggregatesFilter<$PrismaModel = never> = {
@@ -14293,6 +15824,104 @@ export namespace Prisma {
14293
15824
  _max?: NestedDateTimeNullableFilter<$PrismaModel>
14294
15825
  }
14295
15826
 
15827
+ export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
15828
+ equals?: number | FloatFieldRefInput<$PrismaModel> | null
15829
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
15830
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
15831
+ lt?: number | FloatFieldRefInput<$PrismaModel>
15832
+ lte?: number | FloatFieldRefInput<$PrismaModel>
15833
+ gt?: number | FloatFieldRefInput<$PrismaModel>
15834
+ gte?: number | FloatFieldRefInput<$PrismaModel>
15835
+ not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
15836
+ _count?: NestedIntNullableFilter<$PrismaModel>
15837
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
15838
+ _sum?: NestedFloatNullableFilter<$PrismaModel>
15839
+ _min?: NestedFloatNullableFilter<$PrismaModel>
15840
+ _max?: NestedFloatNullableFilter<$PrismaModel>
15841
+ }
15842
+
15843
+ export type FloatFilter<$PrismaModel = never> = {
15844
+ equals?: number | FloatFieldRefInput<$PrismaModel>
15845
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel>
15846
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
15847
+ lt?: number | FloatFieldRefInput<$PrismaModel>
15848
+ lte?: number | FloatFieldRefInput<$PrismaModel>
15849
+ gt?: number | FloatFieldRefInput<$PrismaModel>
15850
+ gte?: number | FloatFieldRefInput<$PrismaModel>
15851
+ not?: NestedFloatFilter<$PrismaModel> | number
15852
+ }
15853
+
15854
+ export type ProfileListRelationFilter = {
15855
+ every?: ProfileWhereInput
15856
+ some?: ProfileWhereInput
15857
+ none?: ProfileWhereInput
15858
+ }
15859
+
15860
+ export type ProfileOrderByRelationAggregateInput = {
15861
+ _count?: SortOrder
15862
+ }
15863
+
15864
+ export type LocationLatitudeLongitudeCompoundUniqueInput = {
15865
+ latitude: number
15866
+ longitude: number
15867
+ }
15868
+
15869
+ export type LocationCountOrderByAggregateInput = {
15870
+ latitude?: SortOrder
15871
+ longitude?: SortOrder
15872
+ country?: SortOrder
15873
+ province?: SortOrder
15874
+ city?: SortOrder
15875
+ created_at?: SortOrder
15876
+ updated_at?: SortOrder
15877
+ }
15878
+
15879
+ export type LocationAvgOrderByAggregateInput = {
15880
+ latitude?: SortOrder
15881
+ longitude?: SortOrder
15882
+ }
15883
+
15884
+ export type LocationMaxOrderByAggregateInput = {
15885
+ latitude?: SortOrder
15886
+ longitude?: SortOrder
15887
+ country?: SortOrder
15888
+ province?: SortOrder
15889
+ city?: SortOrder
15890
+ created_at?: SortOrder
15891
+ updated_at?: SortOrder
15892
+ }
15893
+
15894
+ export type LocationMinOrderByAggregateInput = {
15895
+ latitude?: SortOrder
15896
+ longitude?: SortOrder
15897
+ country?: SortOrder
15898
+ province?: SortOrder
15899
+ city?: SortOrder
15900
+ created_at?: SortOrder
15901
+ updated_at?: SortOrder
15902
+ }
15903
+
15904
+ export type LocationSumOrderByAggregateInput = {
15905
+ latitude?: SortOrder
15906
+ longitude?: SortOrder
15907
+ }
15908
+
15909
+ export type FloatWithAggregatesFilter<$PrismaModel = never> = {
15910
+ equals?: number | FloatFieldRefInput<$PrismaModel>
15911
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel>
15912
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
15913
+ lt?: number | FloatFieldRefInput<$PrismaModel>
15914
+ lte?: number | FloatFieldRefInput<$PrismaModel>
15915
+ gt?: number | FloatFieldRefInput<$PrismaModel>
15916
+ gte?: number | FloatFieldRefInput<$PrismaModel>
15917
+ not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number
15918
+ _count?: NestedIntFilter<$PrismaModel>
15919
+ _avg?: NestedFloatFilter<$PrismaModel>
15920
+ _sum?: NestedFloatFilter<$PrismaModel>
15921
+ _min?: NestedFloatFilter<$PrismaModel>
15922
+ _max?: NestedFloatFilter<$PrismaModel>
15923
+ }
15924
+
14296
15925
  export type AccountRelationFilter = {
14297
15926
  is?: AccountWhereInput
14298
15927
  isNot?: AccountWhereInput
@@ -14370,20 +15999,10 @@ export namespace Prisma {
14370
15999
  none?: AccountWhereInput
14371
16000
  }
14372
16001
 
14373
- export type ProfileListRelationFilter = {
14374
- every?: ProfileWhereInput
14375
- some?: ProfileWhereInput
14376
- none?: ProfileWhereInput
14377
- }
14378
-
14379
16002
  export type AccountOrderByRelationAggregateInput = {
14380
16003
  _count?: SortOrder
14381
16004
  }
14382
16005
 
14383
- export type ProfileOrderByRelationAggregateInput = {
14384
- _count?: SortOrder
14385
- }
14386
-
14387
16006
  export type TagCountOrderByAggregateInput = {
14388
16007
  id?: SortOrder
14389
16008
  name?: SortOrder
@@ -14908,6 +16527,18 @@ export namespace Prisma {
14908
16527
  connect?: TagWhereUniqueInput | TagWhereUniqueInput[]
14909
16528
  }
14910
16529
 
16530
+ export type LocationCreateNestedOneWithoutBirthProfilesInput = {
16531
+ create?: XOR<LocationCreateWithoutBirthProfilesInput, LocationUncheckedCreateWithoutBirthProfilesInput>
16532
+ connectOrCreate?: LocationCreateOrConnectWithoutBirthProfilesInput
16533
+ connect?: LocationWhereUniqueInput
16534
+ }
16535
+
16536
+ export type LocationCreateNestedOneWithoutResidenceProfilesInput = {
16537
+ create?: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
16538
+ connectOrCreate?: LocationCreateOrConnectWithoutResidenceProfilesInput
16539
+ connect?: LocationWhereUniqueInput
16540
+ }
16541
+
14911
16542
  export type CommentUncheckedCreateNestedManyWithoutProfileInput = {
14912
16543
  create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
14913
16544
  connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
@@ -14990,6 +16621,34 @@ export namespace Prisma {
14990
16621
  deleteMany?: TagScalarWhereInput | TagScalarWhereInput[]
14991
16622
  }
14992
16623
 
16624
+ export type LocationUpdateOneWithoutBirthProfilesNestedInput = {
16625
+ create?: XOR<LocationCreateWithoutBirthProfilesInput, LocationUncheckedCreateWithoutBirthProfilesInput>
16626
+ connectOrCreate?: LocationCreateOrConnectWithoutBirthProfilesInput
16627
+ upsert?: LocationUpsertWithoutBirthProfilesInput
16628
+ disconnect?: LocationWhereInput | boolean
16629
+ delete?: LocationWhereInput | boolean
16630
+ connect?: LocationWhereUniqueInput
16631
+ update?: XOR<XOR<LocationUpdateToOneWithWhereWithoutBirthProfilesInput, LocationUpdateWithoutBirthProfilesInput>, LocationUncheckedUpdateWithoutBirthProfilesInput>
16632
+ }
16633
+
16634
+ export type LocationUpdateOneWithoutResidenceProfilesNestedInput = {
16635
+ create?: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
16636
+ connectOrCreate?: LocationCreateOrConnectWithoutResidenceProfilesInput
16637
+ upsert?: LocationUpsertWithoutResidenceProfilesInput
16638
+ disconnect?: LocationWhereInput | boolean
16639
+ delete?: LocationWhereInput | boolean
16640
+ connect?: LocationWhereUniqueInput
16641
+ update?: XOR<XOR<LocationUpdateToOneWithWhereWithoutResidenceProfilesInput, LocationUpdateWithoutResidenceProfilesInput>, LocationUncheckedUpdateWithoutResidenceProfilesInput>
16642
+ }
16643
+
16644
+ export type NullableFloatFieldUpdateOperationsInput = {
16645
+ set?: number | null
16646
+ increment?: number
16647
+ decrement?: number
16648
+ multiply?: number
16649
+ divide?: number
16650
+ }
16651
+
14993
16652
  export type CommentUncheckedUpdateManyWithoutProfileNestedInput = {
14994
16653
  create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
14995
16654
  connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
@@ -15004,31 +16663,123 @@ export namespace Prisma {
15004
16663
  deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[]
15005
16664
  }
15006
16665
 
15007
- export type MessageUncheckedUpdateManyWithoutProfileNestedInput = {
15008
- create?: XOR<MessageCreateWithoutProfileInput, MessageUncheckedCreateWithoutProfileInput> | MessageCreateWithoutProfileInput[] | MessageUncheckedCreateWithoutProfileInput[]
15009
- connectOrCreate?: MessageCreateOrConnectWithoutProfileInput | MessageCreateOrConnectWithoutProfileInput[]
15010
- upsert?: MessageUpsertWithWhereUniqueWithoutProfileInput | MessageUpsertWithWhereUniqueWithoutProfileInput[]
15011
- createMany?: MessageCreateManyProfileInputEnvelope
15012
- set?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
15013
- disconnect?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
15014
- delete?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
15015
- connect?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
15016
- update?: MessageUpdateWithWhereUniqueWithoutProfileInput | MessageUpdateWithWhereUniqueWithoutProfileInput[]
15017
- updateMany?: MessageUpdateManyWithWhereWithoutProfileInput | MessageUpdateManyWithWhereWithoutProfileInput[]
15018
- deleteMany?: MessageScalarWhereInput | MessageScalarWhereInput[]
16666
+ export type MessageUncheckedUpdateManyWithoutProfileNestedInput = {
16667
+ create?: XOR<MessageCreateWithoutProfileInput, MessageUncheckedCreateWithoutProfileInput> | MessageCreateWithoutProfileInput[] | MessageUncheckedCreateWithoutProfileInput[]
16668
+ connectOrCreate?: MessageCreateOrConnectWithoutProfileInput | MessageCreateOrConnectWithoutProfileInput[]
16669
+ upsert?: MessageUpsertWithWhereUniqueWithoutProfileInput | MessageUpsertWithWhereUniqueWithoutProfileInput[]
16670
+ createMany?: MessageCreateManyProfileInputEnvelope
16671
+ set?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
16672
+ disconnect?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
16673
+ delete?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
16674
+ connect?: MessageWhereUniqueInput | MessageWhereUniqueInput[]
16675
+ update?: MessageUpdateWithWhereUniqueWithoutProfileInput | MessageUpdateWithWhereUniqueWithoutProfileInput[]
16676
+ updateMany?: MessageUpdateManyWithWhereWithoutProfileInput | MessageUpdateManyWithWhereWithoutProfileInput[]
16677
+ deleteMany?: MessageScalarWhereInput | MessageScalarWhereInput[]
16678
+ }
16679
+
16680
+ export type TagUncheckedUpdateManyWithoutProfilesNestedInput = {
16681
+ create?: XOR<TagCreateWithoutProfilesInput, TagUncheckedCreateWithoutProfilesInput> | TagCreateWithoutProfilesInput[] | TagUncheckedCreateWithoutProfilesInput[]
16682
+ connectOrCreate?: TagCreateOrConnectWithoutProfilesInput | TagCreateOrConnectWithoutProfilesInput[]
16683
+ upsert?: TagUpsertWithWhereUniqueWithoutProfilesInput | TagUpsertWithWhereUniqueWithoutProfilesInput[]
16684
+ set?: TagWhereUniqueInput | TagWhereUniqueInput[]
16685
+ disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[]
16686
+ delete?: TagWhereUniqueInput | TagWhereUniqueInput[]
16687
+ connect?: TagWhereUniqueInput | TagWhereUniqueInput[]
16688
+ update?: TagUpdateWithWhereUniqueWithoutProfilesInput | TagUpdateWithWhereUniqueWithoutProfilesInput[]
16689
+ updateMany?: TagUpdateManyWithWhereWithoutProfilesInput | TagUpdateManyWithWhereWithoutProfilesInput[]
16690
+ deleteMany?: TagScalarWhereInput | TagScalarWhereInput[]
16691
+ }
16692
+
16693
+ export type ProfileCreateNestedManyWithoutBirthLocationInput = {
16694
+ create?: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput> | ProfileCreateWithoutBirthLocationInput[] | ProfileUncheckedCreateWithoutBirthLocationInput[]
16695
+ connectOrCreate?: ProfileCreateOrConnectWithoutBirthLocationInput | ProfileCreateOrConnectWithoutBirthLocationInput[]
16696
+ createMany?: ProfileCreateManyBirthLocationInputEnvelope
16697
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16698
+ }
16699
+
16700
+ export type ProfileCreateNestedManyWithoutResidenceLocationInput = {
16701
+ create?: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput> | ProfileCreateWithoutResidenceLocationInput[] | ProfileUncheckedCreateWithoutResidenceLocationInput[]
16702
+ connectOrCreate?: ProfileCreateOrConnectWithoutResidenceLocationInput | ProfileCreateOrConnectWithoutResidenceLocationInput[]
16703
+ createMany?: ProfileCreateManyResidenceLocationInputEnvelope
16704
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16705
+ }
16706
+
16707
+ export type ProfileUncheckedCreateNestedManyWithoutBirthLocationInput = {
16708
+ create?: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput> | ProfileCreateWithoutBirthLocationInput[] | ProfileUncheckedCreateWithoutBirthLocationInput[]
16709
+ connectOrCreate?: ProfileCreateOrConnectWithoutBirthLocationInput | ProfileCreateOrConnectWithoutBirthLocationInput[]
16710
+ createMany?: ProfileCreateManyBirthLocationInputEnvelope
16711
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16712
+ }
16713
+
16714
+ export type ProfileUncheckedCreateNestedManyWithoutResidenceLocationInput = {
16715
+ create?: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput> | ProfileCreateWithoutResidenceLocationInput[] | ProfileUncheckedCreateWithoutResidenceLocationInput[]
16716
+ connectOrCreate?: ProfileCreateOrConnectWithoutResidenceLocationInput | ProfileCreateOrConnectWithoutResidenceLocationInput[]
16717
+ createMany?: ProfileCreateManyResidenceLocationInputEnvelope
16718
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16719
+ }
16720
+
16721
+ export type FloatFieldUpdateOperationsInput = {
16722
+ set?: number
16723
+ increment?: number
16724
+ decrement?: number
16725
+ multiply?: number
16726
+ divide?: number
16727
+ }
16728
+
16729
+ export type ProfileUpdateManyWithoutBirthLocationNestedInput = {
16730
+ create?: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput> | ProfileCreateWithoutBirthLocationInput[] | ProfileUncheckedCreateWithoutBirthLocationInput[]
16731
+ connectOrCreate?: ProfileCreateOrConnectWithoutBirthLocationInput | ProfileCreateOrConnectWithoutBirthLocationInput[]
16732
+ upsert?: ProfileUpsertWithWhereUniqueWithoutBirthLocationInput | ProfileUpsertWithWhereUniqueWithoutBirthLocationInput[]
16733
+ createMany?: ProfileCreateManyBirthLocationInputEnvelope
16734
+ set?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16735
+ disconnect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16736
+ delete?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16737
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16738
+ update?: ProfileUpdateWithWhereUniqueWithoutBirthLocationInput | ProfileUpdateWithWhereUniqueWithoutBirthLocationInput[]
16739
+ updateMany?: ProfileUpdateManyWithWhereWithoutBirthLocationInput | ProfileUpdateManyWithWhereWithoutBirthLocationInput[]
16740
+ deleteMany?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
16741
+ }
16742
+
16743
+ export type ProfileUpdateManyWithoutResidenceLocationNestedInput = {
16744
+ create?: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput> | ProfileCreateWithoutResidenceLocationInput[] | ProfileUncheckedCreateWithoutResidenceLocationInput[]
16745
+ connectOrCreate?: ProfileCreateOrConnectWithoutResidenceLocationInput | ProfileCreateOrConnectWithoutResidenceLocationInput[]
16746
+ upsert?: ProfileUpsertWithWhereUniqueWithoutResidenceLocationInput | ProfileUpsertWithWhereUniqueWithoutResidenceLocationInput[]
16747
+ createMany?: ProfileCreateManyResidenceLocationInputEnvelope
16748
+ set?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16749
+ disconnect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16750
+ delete?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16751
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16752
+ update?: ProfileUpdateWithWhereUniqueWithoutResidenceLocationInput | ProfileUpdateWithWhereUniqueWithoutResidenceLocationInput[]
16753
+ updateMany?: ProfileUpdateManyWithWhereWithoutResidenceLocationInput | ProfileUpdateManyWithWhereWithoutResidenceLocationInput[]
16754
+ deleteMany?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
15019
16755
  }
15020
16756
 
15021
- export type TagUncheckedUpdateManyWithoutProfilesNestedInput = {
15022
- create?: XOR<TagCreateWithoutProfilesInput, TagUncheckedCreateWithoutProfilesInput> | TagCreateWithoutProfilesInput[] | TagUncheckedCreateWithoutProfilesInput[]
15023
- connectOrCreate?: TagCreateOrConnectWithoutProfilesInput | TagCreateOrConnectWithoutProfilesInput[]
15024
- upsert?: TagUpsertWithWhereUniqueWithoutProfilesInput | TagUpsertWithWhereUniqueWithoutProfilesInput[]
15025
- set?: TagWhereUniqueInput | TagWhereUniqueInput[]
15026
- disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[]
15027
- delete?: TagWhereUniqueInput | TagWhereUniqueInput[]
15028
- connect?: TagWhereUniqueInput | TagWhereUniqueInput[]
15029
- update?: TagUpdateWithWhereUniqueWithoutProfilesInput | TagUpdateWithWhereUniqueWithoutProfilesInput[]
15030
- updateMany?: TagUpdateManyWithWhereWithoutProfilesInput | TagUpdateManyWithWhereWithoutProfilesInput[]
15031
- deleteMany?: TagScalarWhereInput | TagScalarWhereInput[]
16757
+ export type ProfileUncheckedUpdateManyWithoutBirthLocationNestedInput = {
16758
+ create?: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput> | ProfileCreateWithoutBirthLocationInput[] | ProfileUncheckedCreateWithoutBirthLocationInput[]
16759
+ connectOrCreate?: ProfileCreateOrConnectWithoutBirthLocationInput | ProfileCreateOrConnectWithoutBirthLocationInput[]
16760
+ upsert?: ProfileUpsertWithWhereUniqueWithoutBirthLocationInput | ProfileUpsertWithWhereUniqueWithoutBirthLocationInput[]
16761
+ createMany?: ProfileCreateManyBirthLocationInputEnvelope
16762
+ set?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16763
+ disconnect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16764
+ delete?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16765
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16766
+ update?: ProfileUpdateWithWhereUniqueWithoutBirthLocationInput | ProfileUpdateWithWhereUniqueWithoutBirthLocationInput[]
16767
+ updateMany?: ProfileUpdateManyWithWhereWithoutBirthLocationInput | ProfileUpdateManyWithWhereWithoutBirthLocationInput[]
16768
+ deleteMany?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
16769
+ }
16770
+
16771
+ export type ProfileUncheckedUpdateManyWithoutResidenceLocationNestedInput = {
16772
+ create?: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput> | ProfileCreateWithoutResidenceLocationInput[] | ProfileUncheckedCreateWithoutResidenceLocationInput[]
16773
+ connectOrCreate?: ProfileCreateOrConnectWithoutResidenceLocationInput | ProfileCreateOrConnectWithoutResidenceLocationInput[]
16774
+ upsert?: ProfileUpsertWithWhereUniqueWithoutResidenceLocationInput | ProfileUpsertWithWhereUniqueWithoutResidenceLocationInput[]
16775
+ createMany?: ProfileCreateManyResidenceLocationInputEnvelope
16776
+ set?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16777
+ disconnect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16778
+ delete?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16779
+ connect?: ProfileWhereUniqueInput | ProfileWhereUniqueInput[]
16780
+ update?: ProfileUpdateWithWhereUniqueWithoutResidenceLocationInput | ProfileUpdateWithWhereUniqueWithoutResidenceLocationInput[]
16781
+ updateMany?: ProfileUpdateManyWithWhereWithoutResidenceLocationInput | ProfileUpdateManyWithWhereWithoutResidenceLocationInput[]
16782
+ deleteMany?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
15032
16783
  }
15033
16784
 
15034
16785
  export type AccountCreateNestedOneWithoutCommentsInput = {
@@ -15605,6 +17356,17 @@ export namespace Prisma {
15605
17356
  not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
15606
17357
  }
15607
17358
 
17359
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
17360
+ equals?: number | FloatFieldRefInput<$PrismaModel> | null
17361
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
17362
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
17363
+ lt?: number | FloatFieldRefInput<$PrismaModel>
17364
+ lte?: number | FloatFieldRefInput<$PrismaModel>
17365
+ gt?: number | FloatFieldRefInput<$PrismaModel>
17366
+ gte?: number | FloatFieldRefInput<$PrismaModel>
17367
+ not?: NestedFloatNullableFilter<$PrismaModel> | number | null
17368
+ }
17369
+
15608
17370
  export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
15609
17371
  equals?: number | IntFieldRefInput<$PrismaModel>
15610
17372
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -15674,6 +17436,38 @@ export namespace Prisma {
15674
17436
  _max?: NestedDateTimeNullableFilter<$PrismaModel>
15675
17437
  }
15676
17438
 
17439
+ export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
17440
+ equals?: number | FloatFieldRefInput<$PrismaModel> | null
17441
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
17442
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
17443
+ lt?: number | FloatFieldRefInput<$PrismaModel>
17444
+ lte?: number | FloatFieldRefInput<$PrismaModel>
17445
+ gt?: number | FloatFieldRefInput<$PrismaModel>
17446
+ gte?: number | FloatFieldRefInput<$PrismaModel>
17447
+ not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
17448
+ _count?: NestedIntNullableFilter<$PrismaModel>
17449
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
17450
+ _sum?: NestedFloatNullableFilter<$PrismaModel>
17451
+ _min?: NestedFloatNullableFilter<$PrismaModel>
17452
+ _max?: NestedFloatNullableFilter<$PrismaModel>
17453
+ }
17454
+
17455
+ export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = {
17456
+ equals?: number | FloatFieldRefInput<$PrismaModel>
17457
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel>
17458
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
17459
+ lt?: number | FloatFieldRefInput<$PrismaModel>
17460
+ lte?: number | FloatFieldRefInput<$PrismaModel>
17461
+ gt?: number | FloatFieldRefInput<$PrismaModel>
17462
+ gte?: number | FloatFieldRefInput<$PrismaModel>
17463
+ not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number
17464
+ _count?: NestedIntFilter<$PrismaModel>
17465
+ _avg?: NestedFloatFilter<$PrismaModel>
17466
+ _sum?: NestedFloatFilter<$PrismaModel>
17467
+ _min?: NestedFloatFilter<$PrismaModel>
17468
+ _max?: NestedFloatFilter<$PrismaModel>
17469
+ }
17470
+
15677
17471
  export type NestedEnumTagTypeFilter<$PrismaModel = never> = {
15678
17472
  equals?: $Enums.TagType | EnumTagTypeFieldRefInput<$PrismaModel>
15679
17473
  in?: $Enums.TagType[] | ListEnumTagTypeFieldRefInput<$PrismaModel>
@@ -16079,6 +17873,60 @@ export namespace Prisma {
16079
17873
  create: XOR<TagCreateWithoutProfilesInput, TagUncheckedCreateWithoutProfilesInput>
16080
17874
  }
16081
17875
 
17876
+ export type LocationCreateWithoutBirthProfilesInput = {
17877
+ latitude: number
17878
+ longitude: number
17879
+ country: string
17880
+ province: string
17881
+ city: string
17882
+ created_at?: Date | string
17883
+ updated_at?: Date | string
17884
+ residenceProfiles?: ProfileCreateNestedManyWithoutResidenceLocationInput
17885
+ }
17886
+
17887
+ export type LocationUncheckedCreateWithoutBirthProfilesInput = {
17888
+ latitude: number
17889
+ longitude: number
17890
+ country: string
17891
+ province: string
17892
+ city: string
17893
+ created_at?: Date | string
17894
+ updated_at?: Date | string
17895
+ residenceProfiles?: ProfileUncheckedCreateNestedManyWithoutResidenceLocationInput
17896
+ }
17897
+
17898
+ export type LocationCreateOrConnectWithoutBirthProfilesInput = {
17899
+ where: LocationWhereUniqueInput
17900
+ create: XOR<LocationCreateWithoutBirthProfilesInput, LocationUncheckedCreateWithoutBirthProfilesInput>
17901
+ }
17902
+
17903
+ export type LocationCreateWithoutResidenceProfilesInput = {
17904
+ latitude: number
17905
+ longitude: number
17906
+ country: string
17907
+ province: string
17908
+ city: string
17909
+ created_at?: Date | string
17910
+ updated_at?: Date | string
17911
+ birthProfiles?: ProfileCreateNestedManyWithoutBirthLocationInput
17912
+ }
17913
+
17914
+ export type LocationUncheckedCreateWithoutResidenceProfilesInput = {
17915
+ latitude: number
17916
+ longitude: number
17917
+ country: string
17918
+ province: string
17919
+ city: string
17920
+ created_at?: Date | string
17921
+ updated_at?: Date | string
17922
+ birthProfiles?: ProfileUncheckedCreateNestedManyWithoutBirthLocationInput
17923
+ }
17924
+
17925
+ export type LocationCreateOrConnectWithoutResidenceProfilesInput = {
17926
+ where: LocationWhereUniqueInput
17927
+ create: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
17928
+ }
17929
+
16082
17930
  export type CommentUpsertWithWhereUniqueWithoutProfileInput = {
16083
17931
  where: CommentWhereUniqueInput
16084
17932
  update: XOR<CommentUpdateWithoutProfileInput, CommentUncheckedUpdateWithoutProfileInput>
@@ -16090,54 +17938,297 @@ export namespace Prisma {
16090
17938
  data: XOR<CommentUpdateWithoutProfileInput, CommentUncheckedUpdateWithoutProfileInput>
16091
17939
  }
16092
17940
 
16093
- export type CommentUpdateManyWithWhereWithoutProfileInput = {
16094
- where: CommentScalarWhereInput
16095
- data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyWithoutProfileInput>
17941
+ export type CommentUpdateManyWithWhereWithoutProfileInput = {
17942
+ where: CommentScalarWhereInput
17943
+ data: XOR<CommentUpdateManyMutationInput, CommentUncheckedUpdateManyWithoutProfileInput>
17944
+ }
17945
+
17946
+ export type MessageUpsertWithWhereUniqueWithoutProfileInput = {
17947
+ where: MessageWhereUniqueInput
17948
+ update: XOR<MessageUpdateWithoutProfileInput, MessageUncheckedUpdateWithoutProfileInput>
17949
+ create: XOR<MessageCreateWithoutProfileInput, MessageUncheckedCreateWithoutProfileInput>
17950
+ }
17951
+
17952
+ export type MessageUpdateWithWhereUniqueWithoutProfileInput = {
17953
+ where: MessageWhereUniqueInput
17954
+ data: XOR<MessageUpdateWithoutProfileInput, MessageUncheckedUpdateWithoutProfileInput>
17955
+ }
17956
+
17957
+ export type MessageUpdateManyWithWhereWithoutProfileInput = {
17958
+ where: MessageScalarWhereInput
17959
+ data: XOR<MessageUpdateManyMutationInput, MessageUncheckedUpdateManyWithoutProfileInput>
17960
+ }
17961
+
17962
+ export type MessageScalarWhereInput = {
17963
+ AND?: MessageScalarWhereInput | MessageScalarWhereInput[]
17964
+ OR?: MessageScalarWhereInput[]
17965
+ NOT?: MessageScalarWhereInput | MessageScalarWhereInput[]
17966
+ id?: StringFilter<"Message"> | string
17967
+ wamId?: StringFilter<"Message"> | string
17968
+ message?: JsonFilter<"Message">
17969
+ profilePhoneNumber?: StringFilter<"Message"> | string
17970
+ state?: EnumMessageStateFilter<"Message"> | $Enums.MessageState
17971
+ created_at?: DateTimeFilter<"Message"> | Date | string
17972
+ updated_at?: DateTimeFilter<"Message"> | Date | string
17973
+ }
17974
+
17975
+ export type TagUpsertWithWhereUniqueWithoutProfilesInput = {
17976
+ where: TagWhereUniqueInput
17977
+ update: XOR<TagUpdateWithoutProfilesInput, TagUncheckedUpdateWithoutProfilesInput>
17978
+ create: XOR<TagCreateWithoutProfilesInput, TagUncheckedCreateWithoutProfilesInput>
17979
+ }
17980
+
17981
+ export type TagUpdateWithWhereUniqueWithoutProfilesInput = {
17982
+ where: TagWhereUniqueInput
17983
+ data: XOR<TagUpdateWithoutProfilesInput, TagUncheckedUpdateWithoutProfilesInput>
17984
+ }
17985
+
17986
+ export type TagUpdateManyWithWhereWithoutProfilesInput = {
17987
+ where: TagScalarWhereInput
17988
+ data: XOR<TagUpdateManyMutationInput, TagUncheckedUpdateManyWithoutProfilesInput>
17989
+ }
17990
+
17991
+ export type LocationUpsertWithoutBirthProfilesInput = {
17992
+ update: XOR<LocationUpdateWithoutBirthProfilesInput, LocationUncheckedUpdateWithoutBirthProfilesInput>
17993
+ create: XOR<LocationCreateWithoutBirthProfilesInput, LocationUncheckedCreateWithoutBirthProfilesInput>
17994
+ where?: LocationWhereInput
17995
+ }
17996
+
17997
+ export type LocationUpdateToOneWithWhereWithoutBirthProfilesInput = {
17998
+ where?: LocationWhereInput
17999
+ data: XOR<LocationUpdateWithoutBirthProfilesInput, LocationUncheckedUpdateWithoutBirthProfilesInput>
18000
+ }
18001
+
18002
+ export type LocationUpdateWithoutBirthProfilesInput = {
18003
+ latitude?: FloatFieldUpdateOperationsInput | number
18004
+ longitude?: FloatFieldUpdateOperationsInput | number
18005
+ country?: StringFieldUpdateOperationsInput | string
18006
+ province?: StringFieldUpdateOperationsInput | string
18007
+ city?: StringFieldUpdateOperationsInput | string
18008
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
18009
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
18010
+ residenceProfiles?: ProfileUpdateManyWithoutResidenceLocationNestedInput
18011
+ }
18012
+
18013
+ export type LocationUncheckedUpdateWithoutBirthProfilesInput = {
18014
+ latitude?: FloatFieldUpdateOperationsInput | number
18015
+ longitude?: FloatFieldUpdateOperationsInput | number
18016
+ country?: StringFieldUpdateOperationsInput | string
18017
+ province?: StringFieldUpdateOperationsInput | string
18018
+ city?: StringFieldUpdateOperationsInput | string
18019
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
18020
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
18021
+ residenceProfiles?: ProfileUncheckedUpdateManyWithoutResidenceLocationNestedInput
18022
+ }
18023
+
18024
+ export type LocationUpsertWithoutResidenceProfilesInput = {
18025
+ update: XOR<LocationUpdateWithoutResidenceProfilesInput, LocationUncheckedUpdateWithoutResidenceProfilesInput>
18026
+ create: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
18027
+ where?: LocationWhereInput
18028
+ }
18029
+
18030
+ export type LocationUpdateToOneWithWhereWithoutResidenceProfilesInput = {
18031
+ where?: LocationWhereInput
18032
+ data: XOR<LocationUpdateWithoutResidenceProfilesInput, LocationUncheckedUpdateWithoutResidenceProfilesInput>
18033
+ }
18034
+
18035
+ export type LocationUpdateWithoutResidenceProfilesInput = {
18036
+ latitude?: FloatFieldUpdateOperationsInput | number
18037
+ longitude?: FloatFieldUpdateOperationsInput | number
18038
+ country?: StringFieldUpdateOperationsInput | string
18039
+ province?: StringFieldUpdateOperationsInput | string
18040
+ city?: StringFieldUpdateOperationsInput | string
18041
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
18042
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
18043
+ birthProfiles?: ProfileUpdateManyWithoutBirthLocationNestedInput
18044
+ }
18045
+
18046
+ export type LocationUncheckedUpdateWithoutResidenceProfilesInput = {
18047
+ latitude?: FloatFieldUpdateOperationsInput | number
18048
+ longitude?: FloatFieldUpdateOperationsInput | number
18049
+ country?: StringFieldUpdateOperationsInput | string
18050
+ province?: StringFieldUpdateOperationsInput | string
18051
+ city?: StringFieldUpdateOperationsInput | string
18052
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
18053
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
18054
+ birthProfiles?: ProfileUncheckedUpdateManyWithoutBirthLocationNestedInput
18055
+ }
18056
+
18057
+ export type ProfileCreateWithoutBirthLocationInput = {
18058
+ id?: string
18059
+ shortId: number
18060
+ phoneNumber: string
18061
+ secondaryPhoneNumber?: string | null
18062
+ fullName: string
18063
+ fistName?: string | null
18064
+ gender?: string | null
18065
+ birthDate?: Date | string | null
18066
+ profilePictureUrl?: string | null
18067
+ instagram?: string | null
18068
+ mail?: string | null
18069
+ dni?: string | null
18070
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18071
+ isInTrash?: boolean
18072
+ movedToTrashDate?: Date | string | null
18073
+ created_at?: Date | string
18074
+ updated_at?: Date | string
18075
+ comments?: CommentCreateNestedManyWithoutProfileInput
18076
+ messages?: MessageCreateNestedManyWithoutProfileInput
18077
+ tags?: TagCreateNestedManyWithoutProfilesInput
18078
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
18079
+ }
18080
+
18081
+ export type ProfileUncheckedCreateWithoutBirthLocationInput = {
18082
+ id?: string
18083
+ shortId: number
18084
+ phoneNumber: string
18085
+ secondaryPhoneNumber?: string | null
18086
+ fullName: string
18087
+ fistName?: string | null
18088
+ gender?: string | null
18089
+ birthDate?: Date | string | null
18090
+ profilePictureUrl?: string | null
18091
+ instagram?: string | null
18092
+ mail?: string | null
18093
+ dni?: string | null
18094
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18095
+ residenceLongitude?: number | null
18096
+ residenceLatitude?: number | null
18097
+ isInTrash?: boolean
18098
+ movedToTrashDate?: Date | string | null
18099
+ created_at?: Date | string
18100
+ updated_at?: Date | string
18101
+ comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
18102
+ messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
18103
+ tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
18104
+ }
18105
+
18106
+ export type ProfileCreateOrConnectWithoutBirthLocationInput = {
18107
+ where: ProfileWhereUniqueInput
18108
+ create: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput>
18109
+ }
18110
+
18111
+ export type ProfileCreateManyBirthLocationInputEnvelope = {
18112
+ data: ProfileCreateManyBirthLocationInput | ProfileCreateManyBirthLocationInput[]
18113
+ skipDuplicates?: boolean
18114
+ }
18115
+
18116
+ export type ProfileCreateWithoutResidenceLocationInput = {
18117
+ id?: string
18118
+ shortId: number
18119
+ phoneNumber: string
18120
+ secondaryPhoneNumber?: string | null
18121
+ fullName: string
18122
+ fistName?: string | null
18123
+ gender?: string | null
18124
+ birthDate?: Date | string | null
18125
+ profilePictureUrl?: string | null
18126
+ instagram?: string | null
18127
+ mail?: string | null
18128
+ dni?: string | null
18129
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18130
+ isInTrash?: boolean
18131
+ movedToTrashDate?: Date | string | null
18132
+ created_at?: Date | string
18133
+ updated_at?: Date | string
18134
+ comments?: CommentCreateNestedManyWithoutProfileInput
18135
+ messages?: MessageCreateNestedManyWithoutProfileInput
18136
+ tags?: TagCreateNestedManyWithoutProfilesInput
18137
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
18138
+ }
18139
+
18140
+ export type ProfileUncheckedCreateWithoutResidenceLocationInput = {
18141
+ id?: string
18142
+ shortId: number
18143
+ phoneNumber: string
18144
+ secondaryPhoneNumber?: string | null
18145
+ fullName: string
18146
+ fistName?: string | null
18147
+ gender?: string | null
18148
+ birthDate?: Date | string | null
18149
+ profilePictureUrl?: string | null
18150
+ instagram?: string | null
18151
+ mail?: string | null
18152
+ dni?: string | null
18153
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18154
+ birthLongitude?: number | null
18155
+ birthLatitude?: number | null
18156
+ isInTrash?: boolean
18157
+ movedToTrashDate?: Date | string | null
18158
+ created_at?: Date | string
18159
+ updated_at?: Date | string
18160
+ comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
18161
+ messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
18162
+ tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
18163
+ }
18164
+
18165
+ export type ProfileCreateOrConnectWithoutResidenceLocationInput = {
18166
+ where: ProfileWhereUniqueInput
18167
+ create: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput>
16096
18168
  }
16097
18169
 
16098
- export type MessageUpsertWithWhereUniqueWithoutProfileInput = {
16099
- where: MessageWhereUniqueInput
16100
- update: XOR<MessageUpdateWithoutProfileInput, MessageUncheckedUpdateWithoutProfileInput>
16101
- create: XOR<MessageCreateWithoutProfileInput, MessageUncheckedCreateWithoutProfileInput>
18170
+ export type ProfileCreateManyResidenceLocationInputEnvelope = {
18171
+ data: ProfileCreateManyResidenceLocationInput | ProfileCreateManyResidenceLocationInput[]
18172
+ skipDuplicates?: boolean
16102
18173
  }
16103
18174
 
16104
- export type MessageUpdateWithWhereUniqueWithoutProfileInput = {
16105
- where: MessageWhereUniqueInput
16106
- data: XOR<MessageUpdateWithoutProfileInput, MessageUncheckedUpdateWithoutProfileInput>
18175
+ export type ProfileUpsertWithWhereUniqueWithoutBirthLocationInput = {
18176
+ where: ProfileWhereUniqueInput
18177
+ update: XOR<ProfileUpdateWithoutBirthLocationInput, ProfileUncheckedUpdateWithoutBirthLocationInput>
18178
+ create: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput>
16107
18179
  }
16108
18180
 
16109
- export type MessageUpdateManyWithWhereWithoutProfileInput = {
16110
- where: MessageScalarWhereInput
16111
- data: XOR<MessageUpdateManyMutationInput, MessageUncheckedUpdateManyWithoutProfileInput>
18181
+ export type ProfileUpdateWithWhereUniqueWithoutBirthLocationInput = {
18182
+ where: ProfileWhereUniqueInput
18183
+ data: XOR<ProfileUpdateWithoutBirthLocationInput, ProfileUncheckedUpdateWithoutBirthLocationInput>
16112
18184
  }
16113
18185
 
16114
- export type MessageScalarWhereInput = {
16115
- AND?: MessageScalarWhereInput | MessageScalarWhereInput[]
16116
- OR?: MessageScalarWhereInput[]
16117
- NOT?: MessageScalarWhereInput | MessageScalarWhereInput[]
16118
- id?: StringFilter<"Message"> | string
16119
- wamId?: StringFilter<"Message"> | string
16120
- message?: JsonFilter<"Message">
16121
- profilePhoneNumber?: StringFilter<"Message"> | string
16122
- state?: EnumMessageStateFilter<"Message"> | $Enums.MessageState
16123
- created_at?: DateTimeFilter<"Message"> | Date | string
16124
- updated_at?: DateTimeFilter<"Message"> | Date | string
18186
+ export type ProfileUpdateManyWithWhereWithoutBirthLocationInput = {
18187
+ where: ProfileScalarWhereInput
18188
+ data: XOR<ProfileUpdateManyMutationInput, ProfileUncheckedUpdateManyWithoutBirthLocationInput>
16125
18189
  }
16126
18190
 
16127
- export type TagUpsertWithWhereUniqueWithoutProfilesInput = {
16128
- where: TagWhereUniqueInput
16129
- update: XOR<TagUpdateWithoutProfilesInput, TagUncheckedUpdateWithoutProfilesInput>
16130
- create: XOR<TagCreateWithoutProfilesInput, TagUncheckedCreateWithoutProfilesInput>
18191
+ export type ProfileScalarWhereInput = {
18192
+ AND?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
18193
+ OR?: ProfileScalarWhereInput[]
18194
+ NOT?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
18195
+ id?: StringFilter<"Profile"> | string
18196
+ shortId?: IntFilter<"Profile"> | number
18197
+ phoneNumber?: StringFilter<"Profile"> | string
18198
+ secondaryPhoneNumber?: StringNullableFilter<"Profile"> | string | null
18199
+ fullName?: StringFilter<"Profile"> | string
18200
+ fistName?: StringNullableFilter<"Profile"> | string | null
18201
+ gender?: StringNullableFilter<"Profile"> | string | null
18202
+ birthDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
18203
+ profilePictureUrl?: StringNullableFilter<"Profile"> | string | null
18204
+ instagram?: StringNullableFilter<"Profile"> | string | null
18205
+ mail?: StringNullableFilter<"Profile"> | string | null
18206
+ dni?: StringNullableFilter<"Profile"> | string | null
18207
+ alternativeNames?: StringNullableListFilter<"Profile">
18208
+ birthLongitude?: FloatNullableFilter<"Profile"> | number | null
18209
+ birthLatitude?: FloatNullableFilter<"Profile"> | number | null
18210
+ residenceLongitude?: FloatNullableFilter<"Profile"> | number | null
18211
+ residenceLatitude?: FloatNullableFilter<"Profile"> | number | null
18212
+ isInTrash?: BoolFilter<"Profile"> | boolean
18213
+ movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
18214
+ created_at?: DateTimeFilter<"Profile"> | Date | string
18215
+ updated_at?: DateTimeFilter<"Profile"> | Date | string
16131
18216
  }
16132
18217
 
16133
- export type TagUpdateWithWhereUniqueWithoutProfilesInput = {
16134
- where: TagWhereUniqueInput
16135
- data: XOR<TagUpdateWithoutProfilesInput, TagUncheckedUpdateWithoutProfilesInput>
18218
+ export type ProfileUpsertWithWhereUniqueWithoutResidenceLocationInput = {
18219
+ where: ProfileWhereUniqueInput
18220
+ update: XOR<ProfileUpdateWithoutResidenceLocationInput, ProfileUncheckedUpdateWithoutResidenceLocationInput>
18221
+ create: XOR<ProfileCreateWithoutResidenceLocationInput, ProfileUncheckedCreateWithoutResidenceLocationInput>
16136
18222
  }
16137
18223
 
16138
- export type TagUpdateManyWithWhereWithoutProfilesInput = {
16139
- where: TagScalarWhereInput
16140
- data: XOR<TagUpdateManyMutationInput, TagUncheckedUpdateManyWithoutProfilesInput>
18224
+ export type ProfileUpdateWithWhereUniqueWithoutResidenceLocationInput = {
18225
+ where: ProfileWhereUniqueInput
18226
+ data: XOR<ProfileUpdateWithoutResidenceLocationInput, ProfileUncheckedUpdateWithoutResidenceLocationInput>
18227
+ }
18228
+
18229
+ export type ProfileUpdateManyWithWhereWithoutResidenceLocationInput = {
18230
+ where: ProfileScalarWhereInput
18231
+ data: XOR<ProfileUpdateManyMutationInput, ProfileUncheckedUpdateManyWithoutResidenceLocationInput>
16141
18232
  }
16142
18233
 
16143
18234
  export type AccountCreateWithoutCommentsInput = {
@@ -16193,6 +18284,8 @@ export namespace Prisma {
16193
18284
  updated_at?: Date | string
16194
18285
  messages?: MessageCreateNestedManyWithoutProfileInput
16195
18286
  tags?: TagCreateNestedManyWithoutProfilesInput
18287
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
18288
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
16196
18289
  }
16197
18290
 
16198
18291
  export type ProfileUncheckedCreateWithoutCommentsInput = {
@@ -16209,6 +18302,10 @@ export namespace Prisma {
16209
18302
  mail?: string | null
16210
18303
  dni?: string | null
16211
18304
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18305
+ birthLongitude?: number | null
18306
+ birthLatitude?: number | null
18307
+ residenceLongitude?: number | null
18308
+ residenceLatitude?: number | null
16212
18309
  isInTrash?: boolean
16213
18310
  movedToTrashDate?: Date | string | null
16214
18311
  created_at?: Date | string
@@ -16325,6 +18422,8 @@ export namespace Prisma {
16325
18422
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16326
18423
  messages?: MessageUpdateManyWithoutProfileNestedInput
16327
18424
  tags?: TagUpdateManyWithoutProfilesNestedInput
18425
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
18426
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
16328
18427
  }
16329
18428
 
16330
18429
  export type ProfileUncheckedUpdateWithoutCommentsInput = {
@@ -16341,6 +18440,10 @@ export namespace Prisma {
16341
18440
  mail?: NullableStringFieldUpdateOperationsInput | string | null
16342
18441
  dni?: NullableStringFieldUpdateOperationsInput | string | null
16343
18442
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
18443
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
18444
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
18445
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
18446
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
16344
18447
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
16345
18448
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
16346
18449
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -16526,6 +18629,8 @@ export namespace Prisma {
16526
18629
  updated_at?: Date | string
16527
18630
  comments?: CommentCreateNestedManyWithoutProfileInput
16528
18631
  messages?: MessageCreateNestedManyWithoutProfileInput
18632
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
18633
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
16529
18634
  }
16530
18635
 
16531
18636
  export type ProfileUncheckedCreateWithoutTagsInput = {
@@ -16542,6 +18647,10 @@ export namespace Prisma {
16542
18647
  mail?: string | null
16543
18648
  dni?: string | null
16544
18649
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
18650
+ birthLongitude?: number | null
18651
+ birthLatitude?: number | null
18652
+ residenceLongitude?: number | null
18653
+ residenceLatitude?: number | null
16545
18654
  isInTrash?: boolean
16546
18655
  movedToTrashDate?: Date | string | null
16547
18656
  created_at?: Date | string
@@ -16737,29 +18846,6 @@ export namespace Prisma {
16737
18846
  data: XOR<ProfileUpdateManyMutationInput, ProfileUncheckedUpdateManyWithoutTagsInput>
16738
18847
  }
16739
18848
 
16740
- export type ProfileScalarWhereInput = {
16741
- AND?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
16742
- OR?: ProfileScalarWhereInput[]
16743
- NOT?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
16744
- id?: StringFilter<"Profile"> | string
16745
- shortId?: IntFilter<"Profile"> | number
16746
- phoneNumber?: StringFilter<"Profile"> | string
16747
- secondaryPhoneNumber?: StringNullableFilter<"Profile"> | string | null
16748
- fullName?: StringFilter<"Profile"> | string
16749
- fistName?: StringNullableFilter<"Profile"> | string | null
16750
- gender?: StringNullableFilter<"Profile"> | string | null
16751
- birthDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
16752
- profilePictureUrl?: StringNullableFilter<"Profile"> | string | null
16753
- instagram?: StringNullableFilter<"Profile"> | string | null
16754
- mail?: StringNullableFilter<"Profile"> | string | null
16755
- dni?: StringNullableFilter<"Profile"> | string | null
16756
- alternativeNames?: StringNullableListFilter<"Profile">
16757
- isInTrash?: BoolFilter<"Profile"> | boolean
16758
- movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
16759
- created_at?: DateTimeFilter<"Profile"> | Date | string
16760
- updated_at?: DateTimeFilter<"Profile"> | Date | string
16761
- }
16762
-
16763
18849
  export type AccountUpsertWithWhereUniqueWithoutGlobalFilterInput = {
16764
18850
  where: AccountWhereUniqueInput
16765
18851
  update: XOR<AccountUpdateWithoutGlobalFilterInput, AccountUncheckedUpdateWithoutGlobalFilterInput>
@@ -17220,6 +19306,8 @@ export namespace Prisma {
17220
19306
  updated_at?: Date | string
17221
19307
  comments?: CommentCreateNestedManyWithoutProfileInput
17222
19308
  tags?: TagCreateNestedManyWithoutProfilesInput
19309
+ birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
19310
+ residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
17223
19311
  }
17224
19312
 
17225
19313
  export type ProfileUncheckedCreateWithoutMessagesInput = {
@@ -17236,6 +19324,10 @@ export namespace Prisma {
17236
19324
  mail?: string | null
17237
19325
  dni?: string | null
17238
19326
  alternativeNames?: ProfileCreatealternativeNamesInput | string[]
19327
+ birthLongitude?: number | null
19328
+ birthLatitude?: number | null
19329
+ residenceLongitude?: number | null
19330
+ residenceLatitude?: number | null
17239
19331
  isInTrash?: boolean
17240
19332
  movedToTrashDate?: Date | string | null
17241
19333
  created_at?: Date | string
@@ -17280,6 +19372,8 @@ export namespace Prisma {
17280
19372
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
17281
19373
  comments?: CommentUpdateManyWithoutProfileNestedInput
17282
19374
  tags?: TagUpdateManyWithoutProfilesNestedInput
19375
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
19376
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
17283
19377
  }
17284
19378
 
17285
19379
  export type ProfileUncheckedUpdateWithoutMessagesInput = {
@@ -17296,6 +19390,10 @@ export namespace Prisma {
17296
19390
  mail?: NullableStringFieldUpdateOperationsInput | string | null
17297
19391
  dni?: NullableStringFieldUpdateOperationsInput | string | null
17298
19392
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19393
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19394
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19395
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19396
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
17299
19397
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
17300
19398
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
17301
19399
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -17589,6 +19687,192 @@ export namespace Prisma {
17589
19687
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
17590
19688
  }
17591
19689
 
19690
+ export type ProfileCreateManyBirthLocationInput = {
19691
+ id?: string
19692
+ shortId: number
19693
+ phoneNumber: string
19694
+ secondaryPhoneNumber?: string | null
19695
+ fullName: string
19696
+ fistName?: string | null
19697
+ gender?: string | null
19698
+ birthDate?: Date | string | null
19699
+ profilePictureUrl?: string | null
19700
+ instagram?: string | null
19701
+ mail?: string | null
19702
+ dni?: string | null
19703
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
19704
+ residenceLongitude?: number | null
19705
+ residenceLatitude?: number | null
19706
+ isInTrash?: boolean
19707
+ movedToTrashDate?: Date | string | null
19708
+ created_at?: Date | string
19709
+ updated_at?: Date | string
19710
+ }
19711
+
19712
+ export type ProfileCreateManyResidenceLocationInput = {
19713
+ id?: string
19714
+ shortId: number
19715
+ phoneNumber: string
19716
+ secondaryPhoneNumber?: string | null
19717
+ fullName: string
19718
+ fistName?: string | null
19719
+ gender?: string | null
19720
+ birthDate?: Date | string | null
19721
+ profilePictureUrl?: string | null
19722
+ instagram?: string | null
19723
+ mail?: string | null
19724
+ dni?: string | null
19725
+ alternativeNames?: ProfileCreatealternativeNamesInput | string[]
19726
+ birthLongitude?: number | null
19727
+ birthLatitude?: number | null
19728
+ isInTrash?: boolean
19729
+ movedToTrashDate?: Date | string | null
19730
+ created_at?: Date | string
19731
+ updated_at?: Date | string
19732
+ }
19733
+
19734
+ export type ProfileUpdateWithoutBirthLocationInput = {
19735
+ id?: StringFieldUpdateOperationsInput | string
19736
+ shortId?: IntFieldUpdateOperationsInput | number
19737
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19738
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19739
+ fullName?: StringFieldUpdateOperationsInput | string
19740
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19741
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19742
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19743
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19744
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19745
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19746
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19747
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19748
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19749
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19750
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19751
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19752
+ comments?: CommentUpdateManyWithoutProfileNestedInput
19753
+ messages?: MessageUpdateManyWithoutProfileNestedInput
19754
+ tags?: TagUpdateManyWithoutProfilesNestedInput
19755
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
19756
+ }
19757
+
19758
+ export type ProfileUncheckedUpdateWithoutBirthLocationInput = {
19759
+ id?: StringFieldUpdateOperationsInput | string
19760
+ shortId?: IntFieldUpdateOperationsInput | number
19761
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19762
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19763
+ fullName?: StringFieldUpdateOperationsInput | string
19764
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19765
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19766
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19767
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19768
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19769
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19770
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19771
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19772
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19773
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19774
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19775
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19776
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19777
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19778
+ comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
19779
+ messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
19780
+ tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
19781
+ }
19782
+
19783
+ export type ProfileUncheckedUpdateManyWithoutBirthLocationInput = {
19784
+ id?: StringFieldUpdateOperationsInput | string
19785
+ shortId?: IntFieldUpdateOperationsInput | number
19786
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19787
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19788
+ fullName?: StringFieldUpdateOperationsInput | string
19789
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19790
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19791
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19792
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19793
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19794
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19795
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19796
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19797
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19798
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19799
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19800
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19801
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19802
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19803
+ }
19804
+
19805
+ export type ProfileUpdateWithoutResidenceLocationInput = {
19806
+ id?: StringFieldUpdateOperationsInput | string
19807
+ shortId?: IntFieldUpdateOperationsInput | number
19808
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19809
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19810
+ fullName?: StringFieldUpdateOperationsInput | string
19811
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19812
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19813
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19814
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19815
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19816
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19817
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19818
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19819
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19820
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19821
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19822
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19823
+ comments?: CommentUpdateManyWithoutProfileNestedInput
19824
+ messages?: MessageUpdateManyWithoutProfileNestedInput
19825
+ tags?: TagUpdateManyWithoutProfilesNestedInput
19826
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
19827
+ }
19828
+
19829
+ export type ProfileUncheckedUpdateWithoutResidenceLocationInput = {
19830
+ id?: StringFieldUpdateOperationsInput | string
19831
+ shortId?: IntFieldUpdateOperationsInput | number
19832
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19833
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19834
+ fullName?: StringFieldUpdateOperationsInput | string
19835
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19836
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19837
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19838
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19839
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19840
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19841
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19842
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19843
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19844
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19845
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19846
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19847
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19848
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19849
+ comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
19850
+ messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
19851
+ tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
19852
+ }
19853
+
19854
+ export type ProfileUncheckedUpdateManyWithoutResidenceLocationInput = {
19855
+ id?: StringFieldUpdateOperationsInput | string
19856
+ shortId?: IntFieldUpdateOperationsInput | number
19857
+ phoneNumber?: StringFieldUpdateOperationsInput | string
19858
+ secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
19859
+ fullName?: StringFieldUpdateOperationsInput | string
19860
+ fistName?: NullableStringFieldUpdateOperationsInput | string | null
19861
+ gender?: NullableStringFieldUpdateOperationsInput | string | null
19862
+ birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19863
+ profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
19864
+ instagram?: NullableStringFieldUpdateOperationsInput | string | null
19865
+ mail?: NullableStringFieldUpdateOperationsInput | string | null
19866
+ dni?: NullableStringFieldUpdateOperationsInput | string | null
19867
+ alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19868
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19869
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19870
+ isInTrash?: BoolFieldUpdateOperationsInput | boolean
19871
+ movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
19872
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19873
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19874
+ }
19875
+
17592
19876
  export type AccountUpdateWithoutTagsInput = {
17593
19877
  id?: StringFieldUpdateOperationsInput | string
17594
19878
  username?: StringFieldUpdateOperationsInput | string
@@ -17648,6 +19932,8 @@ export namespace Prisma {
17648
19932
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
17649
19933
  comments?: CommentUpdateManyWithoutProfileNestedInput
17650
19934
  messages?: MessageUpdateManyWithoutProfileNestedInput
19935
+ birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
19936
+ residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
17651
19937
  }
17652
19938
 
17653
19939
  export type ProfileUncheckedUpdateWithoutTagsInput = {
@@ -17664,6 +19950,10 @@ export namespace Prisma {
17664
19950
  mail?: NullableStringFieldUpdateOperationsInput | string | null
17665
19951
  dni?: NullableStringFieldUpdateOperationsInput | string | null
17666
19952
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19953
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19954
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19955
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19956
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
17667
19957
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
17668
19958
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
17669
19959
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -17686,6 +19976,10 @@ export namespace Prisma {
17686
19976
  mail?: NullableStringFieldUpdateOperationsInput | string | null
17687
19977
  dni?: NullableStringFieldUpdateOperationsInput | string | null
17688
19978
  alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
19979
+ birthLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19980
+ birthLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
19981
+ residenceLongitude?: NullableFloatFieldUpdateOperationsInput | number | null
19982
+ residenceLatitude?: NullableFloatFieldUpdateOperationsInput | number | null
17689
19983
  isInTrash?: BoolFieldUpdateOperationsInput | boolean
17690
19984
  movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
17691
19985
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -17886,6 +20180,10 @@ export namespace Prisma {
17886
20180
  * @deprecated Use ProfileCountOutputTypeDefaultArgs instead
17887
20181
  */
17888
20182
  export type ProfileCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProfileCountOutputTypeDefaultArgs<ExtArgs>
20183
+ /**
20184
+ * @deprecated Use LocationCountOutputTypeDefaultArgs instead
20185
+ */
20186
+ export type LocationCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LocationCountOutputTypeDefaultArgs<ExtArgs>
17889
20187
  /**
17890
20188
  * @deprecated Use TagCountOutputTypeDefaultArgs instead
17891
20189
  */
@@ -17910,6 +20208,10 @@ export namespace Prisma {
17910
20208
  * @deprecated Use ProfileDefaultArgs instead
17911
20209
  */
17912
20210
  export type ProfileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProfileDefaultArgs<ExtArgs>
20211
+ /**
20212
+ * @deprecated Use LocationDefaultArgs instead
20213
+ */
20214
+ export type LocationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LocationDefaultArgs<ExtArgs>
17913
20215
  /**
17914
20216
  * @deprecated Use CommentDefaultArgs instead
17915
20217
  */