expo-backend-types 0.30.0-EXPO-308-auth.1 → 0.30.0-EXPO-308-auth.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.
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +17 -0
- package/dist/src/i18n/es.js +17 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/otp/dto/send-otp.dto.d.ts +34 -0
- package/dist/src/otp/dto/send-otp.dto.js +22 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +266 -0
- package/dist/src/otp/dto/verify-otp.dto.js +28 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +8 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +12 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +32 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +12 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +12 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +2 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
- package/dist/src/profile/dto/profile.dto.d.ts +6 -0
- package/dist/src/profile/dto/profile.dto.js +2 -0
- package/dist/src/profile/dto/update-profile.dto.d.ts +12 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
- package/dist/types/prisma-schema/edge.js +15 -3
- package/dist/types/prisma-schema/index-browser.js +12 -0
- package/dist/types/prisma-schema/index.d.ts +1649 -9
- package/dist/types/prisma-schema/index.js +15 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +19 -1
- package/dist/types/prisma-schema/wasm.js +12 -0
- package/dist/types/schema.d.ts +101 -0
- package/package.json +1 -1
@@ -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 Otp
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
export type Otp = $Result.DefaultSelection<Prisma.$OtpPayload>
|
26
31
|
/**
|
27
32
|
* Model Location
|
28
33
|
*
|
@@ -283,6 +288,16 @@ export class PrismaClient<
|
|
283
288
|
*/
|
284
289
|
get profile(): Prisma.ProfileDelegate<ExtArgs>;
|
285
290
|
|
291
|
+
/**
|
292
|
+
* `prisma.otp`: Exposes CRUD operations for the **Otp** model.
|
293
|
+
* Example usage:
|
294
|
+
* ```ts
|
295
|
+
* // Fetch zero or more Otps
|
296
|
+
* const otps = await prisma.otp.findMany()
|
297
|
+
* ```
|
298
|
+
*/
|
299
|
+
get otp(): Prisma.OtpDelegate<ExtArgs>;
|
300
|
+
|
286
301
|
/**
|
287
302
|
* `prisma.location`: Exposes CRUD operations for the **Location** model.
|
288
303
|
* Example usage:
|
@@ -815,6 +830,7 @@ export namespace Prisma {
|
|
815
830
|
export const ModelName: {
|
816
831
|
Account: 'Account',
|
817
832
|
Profile: 'Profile',
|
833
|
+
Otp: 'Otp',
|
818
834
|
Location: 'Location',
|
819
835
|
Comment: 'Comment',
|
820
836
|
Tag: 'Tag',
|
@@ -839,7 +855,7 @@ export namespace Prisma {
|
|
839
855
|
|
840
856
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
|
841
857
|
meta: {
|
842
|
-
modelProps: "account" | "profile" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "enums"
|
858
|
+
modelProps: "account" | "profile" | "otp" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "enums"
|
843
859
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
844
860
|
}
|
845
861
|
model: {
|
@@ -983,6 +999,76 @@ export namespace Prisma {
|
|
983
999
|
}
|
984
1000
|
}
|
985
1001
|
}
|
1002
|
+
Otp: {
|
1003
|
+
payload: Prisma.$OtpPayload<ExtArgs>
|
1004
|
+
fields: Prisma.OtpFieldRefs
|
1005
|
+
operations: {
|
1006
|
+
findUnique: {
|
1007
|
+
args: Prisma.OtpFindUniqueArgs<ExtArgs>
|
1008
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload> | null
|
1009
|
+
}
|
1010
|
+
findUniqueOrThrow: {
|
1011
|
+
args: Prisma.OtpFindUniqueOrThrowArgs<ExtArgs>
|
1012
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1013
|
+
}
|
1014
|
+
findFirst: {
|
1015
|
+
args: Prisma.OtpFindFirstArgs<ExtArgs>
|
1016
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload> | null
|
1017
|
+
}
|
1018
|
+
findFirstOrThrow: {
|
1019
|
+
args: Prisma.OtpFindFirstOrThrowArgs<ExtArgs>
|
1020
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1021
|
+
}
|
1022
|
+
findMany: {
|
1023
|
+
args: Prisma.OtpFindManyArgs<ExtArgs>
|
1024
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>[]
|
1025
|
+
}
|
1026
|
+
create: {
|
1027
|
+
args: Prisma.OtpCreateArgs<ExtArgs>
|
1028
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1029
|
+
}
|
1030
|
+
createMany: {
|
1031
|
+
args: Prisma.OtpCreateManyArgs<ExtArgs>
|
1032
|
+
result: BatchPayload
|
1033
|
+
}
|
1034
|
+
createManyAndReturn: {
|
1035
|
+
args: Prisma.OtpCreateManyAndReturnArgs<ExtArgs>
|
1036
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>[]
|
1037
|
+
}
|
1038
|
+
delete: {
|
1039
|
+
args: Prisma.OtpDeleteArgs<ExtArgs>
|
1040
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1041
|
+
}
|
1042
|
+
update: {
|
1043
|
+
args: Prisma.OtpUpdateArgs<ExtArgs>
|
1044
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1045
|
+
}
|
1046
|
+
deleteMany: {
|
1047
|
+
args: Prisma.OtpDeleteManyArgs<ExtArgs>
|
1048
|
+
result: BatchPayload
|
1049
|
+
}
|
1050
|
+
updateMany: {
|
1051
|
+
args: Prisma.OtpUpdateManyArgs<ExtArgs>
|
1052
|
+
result: BatchPayload
|
1053
|
+
}
|
1054
|
+
upsert: {
|
1055
|
+
args: Prisma.OtpUpsertArgs<ExtArgs>
|
1056
|
+
result: $Utils.PayloadToResult<Prisma.$OtpPayload>
|
1057
|
+
}
|
1058
|
+
aggregate: {
|
1059
|
+
args: Prisma.OtpAggregateArgs<ExtArgs>
|
1060
|
+
result: $Utils.Optional<AggregateOtp>
|
1061
|
+
}
|
1062
|
+
groupBy: {
|
1063
|
+
args: Prisma.OtpGroupByArgs<ExtArgs>
|
1064
|
+
result: $Utils.Optional<OtpGroupByOutputType>[]
|
1065
|
+
}
|
1066
|
+
count: {
|
1067
|
+
args: Prisma.OtpCountArgs<ExtArgs>
|
1068
|
+
result: $Utils.Optional<OtpCountAggregateOutputType> | number
|
1069
|
+
}
|
1070
|
+
}
|
1071
|
+
}
|
986
1072
|
Location: {
|
987
1073
|
payload: Prisma.$LocationPayload<ExtArgs>
|
988
1074
|
fields: Prisma.LocationFieldRefs
|
@@ -1832,12 +1918,14 @@ export namespace Prisma {
|
|
1832
1918
|
*/
|
1833
1919
|
|
1834
1920
|
export type ProfileCountOutputType = {
|
1921
|
+
otp: number
|
1835
1922
|
comments: number
|
1836
1923
|
messages: number
|
1837
1924
|
tags: number
|
1838
1925
|
}
|
1839
1926
|
|
1840
1927
|
export type ProfileCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
1928
|
+
otp?: boolean | ProfileCountOutputTypeCountOtpArgs
|
1841
1929
|
comments?: boolean | ProfileCountOutputTypeCountCommentsArgs
|
1842
1930
|
messages?: boolean | ProfileCountOutputTypeCountMessagesArgs
|
1843
1931
|
tags?: boolean | ProfileCountOutputTypeCountTagsArgs
|
@@ -1854,6 +1942,13 @@ export namespace Prisma {
|
|
1854
1942
|
select?: ProfileCountOutputTypeSelect<ExtArgs> | null
|
1855
1943
|
}
|
1856
1944
|
|
1945
|
+
/**
|
1946
|
+
* ProfileCountOutputType without action
|
1947
|
+
*/
|
1948
|
+
export type ProfileCountOutputTypeCountOtpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
1949
|
+
where?: OtpWhereInput
|
1950
|
+
}
|
1951
|
+
|
1857
1952
|
/**
|
1858
1953
|
* ProfileCountOutputType without action
|
1859
1954
|
*/
|
@@ -3137,7 +3232,9 @@ export namespace Prisma {
|
|
3137
3232
|
export type ProfileMinAggregateOutputType = {
|
3138
3233
|
id: string | null
|
3139
3234
|
shortId: number | null
|
3235
|
+
firstTimeMiExpo: boolean | null
|
3140
3236
|
phoneNumber: string | null
|
3237
|
+
isPhoneVerified: boolean | null
|
3141
3238
|
secondaryPhoneNumber: string | null
|
3142
3239
|
fullName: string | null
|
3143
3240
|
firstName: string | null
|
@@ -3158,7 +3255,9 @@ export namespace Prisma {
|
|
3158
3255
|
export type ProfileMaxAggregateOutputType = {
|
3159
3256
|
id: string | null
|
3160
3257
|
shortId: number | null
|
3258
|
+
firstTimeMiExpo: boolean | null
|
3161
3259
|
phoneNumber: string | null
|
3260
|
+
isPhoneVerified: boolean | null
|
3162
3261
|
secondaryPhoneNumber: string | null
|
3163
3262
|
fullName: string | null
|
3164
3263
|
firstName: string | null
|
@@ -3179,7 +3278,9 @@ export namespace Prisma {
|
|
3179
3278
|
export type ProfileCountAggregateOutputType = {
|
3180
3279
|
id: number
|
3181
3280
|
shortId: number
|
3281
|
+
firstTimeMiExpo: number
|
3182
3282
|
phoneNumber: number
|
3283
|
+
isPhoneVerified: number
|
3183
3284
|
secondaryPhoneNumber: number
|
3184
3285
|
fullName: number
|
3185
3286
|
firstName: number
|
@@ -3211,7 +3312,9 @@ export namespace Prisma {
|
|
3211
3312
|
export type ProfileMinAggregateInputType = {
|
3212
3313
|
id?: true
|
3213
3314
|
shortId?: true
|
3315
|
+
firstTimeMiExpo?: true
|
3214
3316
|
phoneNumber?: true
|
3317
|
+
isPhoneVerified?: true
|
3215
3318
|
secondaryPhoneNumber?: true
|
3216
3319
|
fullName?: true
|
3217
3320
|
firstName?: true
|
@@ -3232,7 +3335,9 @@ export namespace Prisma {
|
|
3232
3335
|
export type ProfileMaxAggregateInputType = {
|
3233
3336
|
id?: true
|
3234
3337
|
shortId?: true
|
3338
|
+
firstTimeMiExpo?: true
|
3235
3339
|
phoneNumber?: true
|
3340
|
+
isPhoneVerified?: true
|
3236
3341
|
secondaryPhoneNumber?: true
|
3237
3342
|
fullName?: true
|
3238
3343
|
firstName?: true
|
@@ -3253,7 +3358,9 @@ export namespace Prisma {
|
|
3253
3358
|
export type ProfileCountAggregateInputType = {
|
3254
3359
|
id?: true
|
3255
3360
|
shortId?: true
|
3361
|
+
firstTimeMiExpo?: true
|
3256
3362
|
phoneNumber?: true
|
3363
|
+
isPhoneVerified?: true
|
3257
3364
|
secondaryPhoneNumber?: true
|
3258
3365
|
fullName?: true
|
3259
3366
|
firstName?: true
|
@@ -3362,7 +3469,9 @@ export namespace Prisma {
|
|
3362
3469
|
export type ProfileGroupByOutputType = {
|
3363
3470
|
id: string
|
3364
3471
|
shortId: number
|
3472
|
+
firstTimeMiExpo: boolean
|
3365
3473
|
phoneNumber: string
|
3474
|
+
isPhoneVerified: boolean
|
3366
3475
|
secondaryPhoneNumber: string | null
|
3367
3476
|
fullName: string
|
3368
3477
|
firstName: string | null
|
@@ -3403,7 +3512,9 @@ export namespace Prisma {
|
|
3403
3512
|
export type ProfileSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
3404
3513
|
id?: boolean
|
3405
3514
|
shortId?: boolean
|
3515
|
+
firstTimeMiExpo?: boolean
|
3406
3516
|
phoneNumber?: boolean
|
3517
|
+
isPhoneVerified?: boolean
|
3407
3518
|
secondaryPhoneNumber?: boolean
|
3408
3519
|
fullName?: boolean
|
3409
3520
|
firstName?: boolean
|
@@ -3420,6 +3531,7 @@ export namespace Prisma {
|
|
3420
3531
|
movedToTrashDate?: boolean
|
3421
3532
|
created_at?: boolean
|
3422
3533
|
updated_at?: boolean
|
3534
|
+
otp?: boolean | Profile$otpArgs<ExtArgs>
|
3423
3535
|
comments?: boolean | Profile$commentsArgs<ExtArgs>
|
3424
3536
|
messages?: boolean | Profile$messagesArgs<ExtArgs>
|
3425
3537
|
tags?: boolean | Profile$tagsArgs<ExtArgs>
|
@@ -3431,7 +3543,9 @@ export namespace Prisma {
|
|
3431
3543
|
export type ProfileSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
3432
3544
|
id?: boolean
|
3433
3545
|
shortId?: boolean
|
3546
|
+
firstTimeMiExpo?: boolean
|
3434
3547
|
phoneNumber?: boolean
|
3548
|
+
isPhoneVerified?: boolean
|
3435
3549
|
secondaryPhoneNumber?: boolean
|
3436
3550
|
fullName?: boolean
|
3437
3551
|
firstName?: boolean
|
@@ -3455,7 +3569,9 @@ export namespace Prisma {
|
|
3455
3569
|
export type ProfileSelectScalar = {
|
3456
3570
|
id?: boolean
|
3457
3571
|
shortId?: boolean
|
3572
|
+
firstTimeMiExpo?: boolean
|
3458
3573
|
phoneNumber?: boolean
|
3574
|
+
isPhoneVerified?: boolean
|
3459
3575
|
secondaryPhoneNumber?: boolean
|
3460
3576
|
fullName?: boolean
|
3461
3577
|
firstName?: boolean
|
@@ -3475,6 +3591,7 @@ export namespace Prisma {
|
|
3475
3591
|
}
|
3476
3592
|
|
3477
3593
|
export type ProfileInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
3594
|
+
otp?: boolean | Profile$otpArgs<ExtArgs>
|
3478
3595
|
comments?: boolean | Profile$commentsArgs<ExtArgs>
|
3479
3596
|
messages?: boolean | Profile$messagesArgs<ExtArgs>
|
3480
3597
|
tags?: boolean | Profile$tagsArgs<ExtArgs>
|
@@ -3490,6 +3607,7 @@ export namespace Prisma {
|
|
3490
3607
|
export type $ProfilePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
3491
3608
|
name: "Profile"
|
3492
3609
|
objects: {
|
3610
|
+
otp: Prisma.$OtpPayload<ExtArgs>[]
|
3493
3611
|
comments: Prisma.$CommentPayload<ExtArgs>[]
|
3494
3612
|
messages: Prisma.$MessagePayload<ExtArgs>[]
|
3495
3613
|
tags: Prisma.$TagPayload<ExtArgs>[]
|
@@ -3499,7 +3617,9 @@ export namespace Prisma {
|
|
3499
3617
|
scalars: $Extensions.GetPayloadResult<{
|
3500
3618
|
id: string
|
3501
3619
|
shortId: number
|
3620
|
+
firstTimeMiExpo: boolean
|
3502
3621
|
phoneNumber: string
|
3622
|
+
isPhoneVerified: boolean
|
3503
3623
|
secondaryPhoneNumber: string | null
|
3504
3624
|
fullName: string
|
3505
3625
|
firstName: string | null
|
@@ -3880,6 +4000,7 @@ export namespace Prisma {
|
|
3880
4000
|
*/
|
3881
4001
|
export interface Prisma__ProfileClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
3882
4002
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
4003
|
+
otp<T extends Profile$otpArgs<ExtArgs> = {}>(args?: Subset<T, Profile$otpArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findMany"> | Null>
|
3883
4004
|
comments<T extends Profile$commentsArgs<ExtArgs> = {}>(args?: Subset<T, Profile$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany"> | Null>
|
3884
4005
|
messages<T extends Profile$messagesArgs<ExtArgs> = {}>(args?: Subset<T, Profile$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany"> | Null>
|
3885
4006
|
tags<T extends Profile$tagsArgs<ExtArgs> = {}>(args?: Subset<T, Profile$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findMany"> | Null>
|
@@ -3916,7 +4037,9 @@ export namespace Prisma {
|
|
3916
4037
|
interface ProfileFieldRefs {
|
3917
4038
|
readonly id: FieldRef<"Profile", 'String'>
|
3918
4039
|
readonly shortId: FieldRef<"Profile", 'Int'>
|
4040
|
+
readonly firstTimeMiExpo: FieldRef<"Profile", 'Boolean'>
|
3919
4041
|
readonly phoneNumber: FieldRef<"Profile", 'String'>
|
4042
|
+
readonly isPhoneVerified: FieldRef<"Profile", 'Boolean'>
|
3920
4043
|
readonly secondaryPhoneNumber: FieldRef<"Profile", 'String'>
|
3921
4044
|
readonly fullName: FieldRef<"Profile", 'String'>
|
3922
4045
|
readonly firstName: FieldRef<"Profile", 'String'>
|
@@ -4250,6 +4373,26 @@ export namespace Prisma {
|
|
4250
4373
|
where?: ProfileWhereInput
|
4251
4374
|
}
|
4252
4375
|
|
4376
|
+
/**
|
4377
|
+
* Profile.otp
|
4378
|
+
*/
|
4379
|
+
export type Profile$otpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4380
|
+
/**
|
4381
|
+
* Select specific fields to fetch from the Otp
|
4382
|
+
*/
|
4383
|
+
select?: OtpSelect<ExtArgs> | null
|
4384
|
+
/**
|
4385
|
+
* Choose, which related nodes to fetch as well
|
4386
|
+
*/
|
4387
|
+
include?: OtpInclude<ExtArgs> | null
|
4388
|
+
where?: OtpWhereInput
|
4389
|
+
orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
|
4390
|
+
cursor?: OtpWhereUniqueInput
|
4391
|
+
take?: number
|
4392
|
+
skip?: number
|
4393
|
+
distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
|
4394
|
+
}
|
4395
|
+
|
4253
4396
|
/**
|
4254
4397
|
* Profile.comments
|
4255
4398
|
*/
|
@@ -4345,13 +4488,958 @@ export namespace Prisma {
|
|
4345
4488
|
*/
|
4346
4489
|
export type ProfileDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4347
4490
|
/**
|
4348
|
-
* Select specific fields to fetch from the Profile
|
4491
|
+
* Select specific fields to fetch from the Profile
|
4492
|
+
*/
|
4493
|
+
select?: ProfileSelect<ExtArgs> | null
|
4494
|
+
/**
|
4495
|
+
* Choose, which related nodes to fetch as well
|
4496
|
+
*/
|
4497
|
+
include?: ProfileInclude<ExtArgs> | null
|
4498
|
+
}
|
4499
|
+
|
4500
|
+
|
4501
|
+
/**
|
4502
|
+
* Model Otp
|
4503
|
+
*/
|
4504
|
+
|
4505
|
+
export type AggregateOtp = {
|
4506
|
+
_count: OtpCountAggregateOutputType | null
|
4507
|
+
_min: OtpMinAggregateOutputType | null
|
4508
|
+
_max: OtpMaxAggregateOutputType | null
|
4509
|
+
}
|
4510
|
+
|
4511
|
+
export type OtpMinAggregateOutputType = {
|
4512
|
+
id: string | null
|
4513
|
+
code: string | null
|
4514
|
+
ownerPhoneNumber: string | null
|
4515
|
+
expiresAt: Date | null
|
4516
|
+
created_at: Date | null
|
4517
|
+
updated_at: Date | null
|
4518
|
+
}
|
4519
|
+
|
4520
|
+
export type OtpMaxAggregateOutputType = {
|
4521
|
+
id: string | null
|
4522
|
+
code: string | null
|
4523
|
+
ownerPhoneNumber: string | null
|
4524
|
+
expiresAt: Date | null
|
4525
|
+
created_at: Date | null
|
4526
|
+
updated_at: Date | null
|
4527
|
+
}
|
4528
|
+
|
4529
|
+
export type OtpCountAggregateOutputType = {
|
4530
|
+
id: number
|
4531
|
+
code: number
|
4532
|
+
ownerPhoneNumber: number
|
4533
|
+
expiresAt: number
|
4534
|
+
created_at: number
|
4535
|
+
updated_at: number
|
4536
|
+
_all: number
|
4537
|
+
}
|
4538
|
+
|
4539
|
+
|
4540
|
+
export type OtpMinAggregateInputType = {
|
4541
|
+
id?: true
|
4542
|
+
code?: true
|
4543
|
+
ownerPhoneNumber?: true
|
4544
|
+
expiresAt?: true
|
4545
|
+
created_at?: true
|
4546
|
+
updated_at?: true
|
4547
|
+
}
|
4548
|
+
|
4549
|
+
export type OtpMaxAggregateInputType = {
|
4550
|
+
id?: true
|
4551
|
+
code?: true
|
4552
|
+
ownerPhoneNumber?: true
|
4553
|
+
expiresAt?: true
|
4554
|
+
created_at?: true
|
4555
|
+
updated_at?: true
|
4556
|
+
}
|
4557
|
+
|
4558
|
+
export type OtpCountAggregateInputType = {
|
4559
|
+
id?: true
|
4560
|
+
code?: true
|
4561
|
+
ownerPhoneNumber?: true
|
4562
|
+
expiresAt?: true
|
4563
|
+
created_at?: true
|
4564
|
+
updated_at?: true
|
4565
|
+
_all?: true
|
4566
|
+
}
|
4567
|
+
|
4568
|
+
export type OtpAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4569
|
+
/**
|
4570
|
+
* Filter which Otp to aggregate.
|
4571
|
+
*/
|
4572
|
+
where?: OtpWhereInput
|
4573
|
+
/**
|
4574
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
4575
|
+
*
|
4576
|
+
* Determine the order of Otps to fetch.
|
4577
|
+
*/
|
4578
|
+
orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
|
4579
|
+
/**
|
4580
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
4581
|
+
*
|
4582
|
+
* Sets the start position
|
4583
|
+
*/
|
4584
|
+
cursor?: OtpWhereUniqueInput
|
4585
|
+
/**
|
4586
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
4587
|
+
*
|
4588
|
+
* Take `±n` Otps from the position of the cursor.
|
4589
|
+
*/
|
4590
|
+
take?: number
|
4591
|
+
/**
|
4592
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
4593
|
+
*
|
4594
|
+
* Skip the first `n` Otps.
|
4595
|
+
*/
|
4596
|
+
skip?: number
|
4597
|
+
/**
|
4598
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
4599
|
+
*
|
4600
|
+
* Count returned Otps
|
4601
|
+
**/
|
4602
|
+
_count?: true | OtpCountAggregateInputType
|
4603
|
+
/**
|
4604
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
4605
|
+
*
|
4606
|
+
* Select which fields to find the minimum value
|
4607
|
+
**/
|
4608
|
+
_min?: OtpMinAggregateInputType
|
4609
|
+
/**
|
4610
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
4611
|
+
*
|
4612
|
+
* Select which fields to find the maximum value
|
4613
|
+
**/
|
4614
|
+
_max?: OtpMaxAggregateInputType
|
4615
|
+
}
|
4616
|
+
|
4617
|
+
export type GetOtpAggregateType<T extends OtpAggregateArgs> = {
|
4618
|
+
[P in keyof T & keyof AggregateOtp]: P extends '_count' | 'count'
|
4619
|
+
? T[P] extends true
|
4620
|
+
? number
|
4621
|
+
: GetScalarType<T[P], AggregateOtp[P]>
|
4622
|
+
: GetScalarType<T[P], AggregateOtp[P]>
|
4623
|
+
}
|
4624
|
+
|
4625
|
+
|
4626
|
+
|
4627
|
+
|
4628
|
+
export type OtpGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4629
|
+
where?: OtpWhereInput
|
4630
|
+
orderBy?: OtpOrderByWithAggregationInput | OtpOrderByWithAggregationInput[]
|
4631
|
+
by: OtpScalarFieldEnum[] | OtpScalarFieldEnum
|
4632
|
+
having?: OtpScalarWhereWithAggregatesInput
|
4633
|
+
take?: number
|
4634
|
+
skip?: number
|
4635
|
+
_count?: OtpCountAggregateInputType | true
|
4636
|
+
_min?: OtpMinAggregateInputType
|
4637
|
+
_max?: OtpMaxAggregateInputType
|
4638
|
+
}
|
4639
|
+
|
4640
|
+
export type OtpGroupByOutputType = {
|
4641
|
+
id: string
|
4642
|
+
code: string
|
4643
|
+
ownerPhoneNumber: string
|
4644
|
+
expiresAt: Date
|
4645
|
+
created_at: Date
|
4646
|
+
updated_at: Date
|
4647
|
+
_count: OtpCountAggregateOutputType | null
|
4648
|
+
_min: OtpMinAggregateOutputType | null
|
4649
|
+
_max: OtpMaxAggregateOutputType | null
|
4650
|
+
}
|
4651
|
+
|
4652
|
+
type GetOtpGroupByPayload<T extends OtpGroupByArgs> = Prisma.PrismaPromise<
|
4653
|
+
Array<
|
4654
|
+
PickEnumerable<OtpGroupByOutputType, T['by']> &
|
4655
|
+
{
|
4656
|
+
[P in ((keyof T) & (keyof OtpGroupByOutputType))]: P extends '_count'
|
4657
|
+
? T[P] extends boolean
|
4658
|
+
? number
|
4659
|
+
: GetScalarType<T[P], OtpGroupByOutputType[P]>
|
4660
|
+
: GetScalarType<T[P], OtpGroupByOutputType[P]>
|
4661
|
+
}
|
4662
|
+
>
|
4663
|
+
>
|
4664
|
+
|
4665
|
+
|
4666
|
+
export type OtpSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
4667
|
+
id?: boolean
|
4668
|
+
code?: boolean
|
4669
|
+
ownerPhoneNumber?: boolean
|
4670
|
+
expiresAt?: boolean
|
4671
|
+
created_at?: boolean
|
4672
|
+
updated_at?: boolean
|
4673
|
+
owner?: boolean | ProfileDefaultArgs<ExtArgs>
|
4674
|
+
}, ExtArgs["result"]["otp"]>
|
4675
|
+
|
4676
|
+
export type OtpSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
4677
|
+
id?: boolean
|
4678
|
+
code?: boolean
|
4679
|
+
ownerPhoneNumber?: boolean
|
4680
|
+
expiresAt?: boolean
|
4681
|
+
created_at?: boolean
|
4682
|
+
updated_at?: boolean
|
4683
|
+
owner?: boolean | ProfileDefaultArgs<ExtArgs>
|
4684
|
+
}, ExtArgs["result"]["otp"]>
|
4685
|
+
|
4686
|
+
export type OtpSelectScalar = {
|
4687
|
+
id?: boolean
|
4688
|
+
code?: boolean
|
4689
|
+
ownerPhoneNumber?: boolean
|
4690
|
+
expiresAt?: boolean
|
4691
|
+
created_at?: boolean
|
4692
|
+
updated_at?: boolean
|
4693
|
+
}
|
4694
|
+
|
4695
|
+
export type OtpInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4696
|
+
owner?: boolean | ProfileDefaultArgs<ExtArgs>
|
4697
|
+
}
|
4698
|
+
export type OtpIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4699
|
+
owner?: boolean | ProfileDefaultArgs<ExtArgs>
|
4700
|
+
}
|
4701
|
+
|
4702
|
+
export type $OtpPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
4703
|
+
name: "Otp"
|
4704
|
+
objects: {
|
4705
|
+
owner: Prisma.$ProfilePayload<ExtArgs>
|
4706
|
+
}
|
4707
|
+
scalars: $Extensions.GetPayloadResult<{
|
4708
|
+
id: string
|
4709
|
+
code: string
|
4710
|
+
ownerPhoneNumber: string
|
4711
|
+
expiresAt: Date
|
4712
|
+
created_at: Date
|
4713
|
+
updated_at: Date
|
4714
|
+
}, ExtArgs["result"]["otp"]>
|
4715
|
+
composites: {}
|
4716
|
+
}
|
4717
|
+
|
4718
|
+
type OtpGetPayload<S extends boolean | null | undefined | OtpDefaultArgs> = $Result.GetResult<Prisma.$OtpPayload, S>
|
4719
|
+
|
4720
|
+
type OtpCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
4721
|
+
Omit<OtpFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
4722
|
+
select?: OtpCountAggregateInputType | true
|
4723
|
+
}
|
4724
|
+
|
4725
|
+
export interface OtpDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
4726
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Otp'], meta: { name: 'Otp' } }
|
4727
|
+
/**
|
4728
|
+
* Find zero or one Otp that matches the filter.
|
4729
|
+
* @param {OtpFindUniqueArgs} args - Arguments to find a Otp
|
4730
|
+
* @example
|
4731
|
+
* // Get one Otp
|
4732
|
+
* const otp = await prisma.otp.findUnique({
|
4733
|
+
* where: {
|
4734
|
+
* // ... provide filter here
|
4735
|
+
* }
|
4736
|
+
* })
|
4737
|
+
*/
|
4738
|
+
findUnique<T extends OtpFindUniqueArgs>(args: SelectSubset<T, OtpFindUniqueArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
4739
|
+
|
4740
|
+
/**
|
4741
|
+
* Find one Otp that matches the filter or throw an error with `error.code='P2025'`
|
4742
|
+
* if no matches were found.
|
4743
|
+
* @param {OtpFindUniqueOrThrowArgs} args - Arguments to find a Otp
|
4744
|
+
* @example
|
4745
|
+
* // Get one Otp
|
4746
|
+
* const otp = await prisma.otp.findUniqueOrThrow({
|
4747
|
+
* where: {
|
4748
|
+
* // ... provide filter here
|
4749
|
+
* }
|
4750
|
+
* })
|
4751
|
+
*/
|
4752
|
+
findUniqueOrThrow<T extends OtpFindUniqueOrThrowArgs>(args: SelectSubset<T, OtpFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
4753
|
+
|
4754
|
+
/**
|
4755
|
+
* Find the first Otp that matches the filter.
|
4756
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4757
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4758
|
+
* @param {OtpFindFirstArgs} args - Arguments to find a Otp
|
4759
|
+
* @example
|
4760
|
+
* // Get one Otp
|
4761
|
+
* const otp = await prisma.otp.findFirst({
|
4762
|
+
* where: {
|
4763
|
+
* // ... provide filter here
|
4764
|
+
* }
|
4765
|
+
* })
|
4766
|
+
*/
|
4767
|
+
findFirst<T extends OtpFindFirstArgs>(args?: SelectSubset<T, OtpFindFirstArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
4768
|
+
|
4769
|
+
/**
|
4770
|
+
* Find the first Otp that matches the filter or
|
4771
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
4772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4774
|
+
* @param {OtpFindFirstOrThrowArgs} args - Arguments to find a Otp
|
4775
|
+
* @example
|
4776
|
+
* // Get one Otp
|
4777
|
+
* const otp = await prisma.otp.findFirstOrThrow({
|
4778
|
+
* where: {
|
4779
|
+
* // ... provide filter here
|
4780
|
+
* }
|
4781
|
+
* })
|
4782
|
+
*/
|
4783
|
+
findFirstOrThrow<T extends OtpFindFirstOrThrowArgs>(args?: SelectSubset<T, OtpFindFirstOrThrowArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
4784
|
+
|
4785
|
+
/**
|
4786
|
+
* Find zero or more Otps that matches the filter.
|
4787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4789
|
+
* @param {OtpFindManyArgs} args - Arguments to filter and select certain fields only.
|
4790
|
+
* @example
|
4791
|
+
* // Get all Otps
|
4792
|
+
* const otps = await prisma.otp.findMany()
|
4793
|
+
*
|
4794
|
+
* // Get first 10 Otps
|
4795
|
+
* const otps = await prisma.otp.findMany({ take: 10 })
|
4796
|
+
*
|
4797
|
+
* // Only select the `id`
|
4798
|
+
* const otpWithIdOnly = await prisma.otp.findMany({ select: { id: true } })
|
4799
|
+
*
|
4800
|
+
*/
|
4801
|
+
findMany<T extends OtpFindManyArgs>(args?: SelectSubset<T, OtpFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findMany">>
|
4802
|
+
|
4803
|
+
/**
|
4804
|
+
* Create a Otp.
|
4805
|
+
* @param {OtpCreateArgs} args - Arguments to create a Otp.
|
4806
|
+
* @example
|
4807
|
+
* // Create one Otp
|
4808
|
+
* const Otp = await prisma.otp.create({
|
4809
|
+
* data: {
|
4810
|
+
* // ... data to create a Otp
|
4811
|
+
* }
|
4812
|
+
* })
|
4813
|
+
*
|
4814
|
+
*/
|
4815
|
+
create<T extends OtpCreateArgs>(args: SelectSubset<T, OtpCreateArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
4816
|
+
|
4817
|
+
/**
|
4818
|
+
* Create many Otps.
|
4819
|
+
* @param {OtpCreateManyArgs} args - Arguments to create many Otps.
|
4820
|
+
* @example
|
4821
|
+
* // Create many Otps
|
4822
|
+
* const otp = await prisma.otp.createMany({
|
4823
|
+
* data: [
|
4824
|
+
* // ... provide data here
|
4825
|
+
* ]
|
4826
|
+
* })
|
4827
|
+
*
|
4828
|
+
*/
|
4829
|
+
createMany<T extends OtpCreateManyArgs>(args?: SelectSubset<T, OtpCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
4830
|
+
|
4831
|
+
/**
|
4832
|
+
* Create many Otps and returns the data saved in the database.
|
4833
|
+
* @param {OtpCreateManyAndReturnArgs} args - Arguments to create many Otps.
|
4834
|
+
* @example
|
4835
|
+
* // Create many Otps
|
4836
|
+
* const otp = await prisma.otp.createManyAndReturn({
|
4837
|
+
* data: [
|
4838
|
+
* // ... provide data here
|
4839
|
+
* ]
|
4840
|
+
* })
|
4841
|
+
*
|
4842
|
+
* // Create many Otps and only return the `id`
|
4843
|
+
* const otpWithIdOnly = await prisma.otp.createManyAndReturn({
|
4844
|
+
* select: { id: true },
|
4845
|
+
* data: [
|
4846
|
+
* // ... provide data here
|
4847
|
+
* ]
|
4848
|
+
* })
|
4849
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4850
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4851
|
+
*
|
4852
|
+
*/
|
4853
|
+
createManyAndReturn<T extends OtpCreateManyAndReturnArgs>(args?: SelectSubset<T, OtpCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "createManyAndReturn">>
|
4854
|
+
|
4855
|
+
/**
|
4856
|
+
* Delete a Otp.
|
4857
|
+
* @param {OtpDeleteArgs} args - Arguments to delete one Otp.
|
4858
|
+
* @example
|
4859
|
+
* // Delete one Otp
|
4860
|
+
* const Otp = await prisma.otp.delete({
|
4861
|
+
* where: {
|
4862
|
+
* // ... filter to delete one Otp
|
4863
|
+
* }
|
4864
|
+
* })
|
4865
|
+
*
|
4866
|
+
*/
|
4867
|
+
delete<T extends OtpDeleteArgs>(args: SelectSubset<T, OtpDeleteArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
4868
|
+
|
4869
|
+
/**
|
4870
|
+
* Update one Otp.
|
4871
|
+
* @param {OtpUpdateArgs} args - Arguments to update one Otp.
|
4872
|
+
* @example
|
4873
|
+
* // Update one Otp
|
4874
|
+
* const otp = await prisma.otp.update({
|
4875
|
+
* where: {
|
4876
|
+
* // ... provide filter here
|
4877
|
+
* },
|
4878
|
+
* data: {
|
4879
|
+
* // ... provide data here
|
4880
|
+
* }
|
4881
|
+
* })
|
4882
|
+
*
|
4883
|
+
*/
|
4884
|
+
update<T extends OtpUpdateArgs>(args: SelectSubset<T, OtpUpdateArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
4885
|
+
|
4886
|
+
/**
|
4887
|
+
* Delete zero or more Otps.
|
4888
|
+
* @param {OtpDeleteManyArgs} args - Arguments to filter Otps to delete.
|
4889
|
+
* @example
|
4890
|
+
* // Delete a few Otps
|
4891
|
+
* const { count } = await prisma.otp.deleteMany({
|
4892
|
+
* where: {
|
4893
|
+
* // ... provide filter here
|
4894
|
+
* }
|
4895
|
+
* })
|
4896
|
+
*
|
4897
|
+
*/
|
4898
|
+
deleteMany<T extends OtpDeleteManyArgs>(args?: SelectSubset<T, OtpDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
4899
|
+
|
4900
|
+
/**
|
4901
|
+
* Update zero or more Otps.
|
4902
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4903
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4904
|
+
* @param {OtpUpdateManyArgs} args - Arguments to update one or more rows.
|
4905
|
+
* @example
|
4906
|
+
* // Update many Otps
|
4907
|
+
* const otp = await prisma.otp.updateMany({
|
4908
|
+
* where: {
|
4909
|
+
* // ... provide filter here
|
4910
|
+
* },
|
4911
|
+
* data: {
|
4912
|
+
* // ... provide data here
|
4913
|
+
* }
|
4914
|
+
* })
|
4915
|
+
*
|
4916
|
+
*/
|
4917
|
+
updateMany<T extends OtpUpdateManyArgs>(args: SelectSubset<T, OtpUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
4918
|
+
|
4919
|
+
/**
|
4920
|
+
* Create or update one Otp.
|
4921
|
+
* @param {OtpUpsertArgs} args - Arguments to update or create a Otp.
|
4922
|
+
* @example
|
4923
|
+
* // Update or create a Otp
|
4924
|
+
* const otp = await prisma.otp.upsert({
|
4925
|
+
* create: {
|
4926
|
+
* // ... data to create a Otp
|
4927
|
+
* },
|
4928
|
+
* update: {
|
4929
|
+
* // ... in case it already exists, update
|
4930
|
+
* },
|
4931
|
+
* where: {
|
4932
|
+
* // ... the filter for the Otp we want to update
|
4933
|
+
* }
|
4934
|
+
* })
|
4935
|
+
*/
|
4936
|
+
upsert<T extends OtpUpsertArgs>(args: SelectSubset<T, OtpUpsertArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
4937
|
+
|
4938
|
+
|
4939
|
+
/**
|
4940
|
+
* Count the number of Otps.
|
4941
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4942
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4943
|
+
* @param {OtpCountArgs} args - Arguments to filter Otps to count.
|
4944
|
+
* @example
|
4945
|
+
* // Count the number of Otps
|
4946
|
+
* const count = await prisma.otp.count({
|
4947
|
+
* where: {
|
4948
|
+
* // ... the filter for the Otps we want to count
|
4949
|
+
* }
|
4950
|
+
* })
|
4951
|
+
**/
|
4952
|
+
count<T extends OtpCountArgs>(
|
4953
|
+
args?: Subset<T, OtpCountArgs>,
|
4954
|
+
): Prisma.PrismaPromise<
|
4955
|
+
T extends $Utils.Record<'select', any>
|
4956
|
+
? T['select'] extends true
|
4957
|
+
? number
|
4958
|
+
: GetScalarType<T['select'], OtpCountAggregateOutputType>
|
4959
|
+
: number
|
4960
|
+
>
|
4961
|
+
|
4962
|
+
/**
|
4963
|
+
* Allows you to perform aggregations operations on a Otp.
|
4964
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
4965
|
+
* Read more here: https://pris.ly/d/null-undefined
|
4966
|
+
* @param {OtpAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
4967
|
+
* @example
|
4968
|
+
* // Ordered by age ascending
|
4969
|
+
* // Where email contains prisma.io
|
4970
|
+
* // Limited to the 10 users
|
4971
|
+
* const aggregations = await prisma.user.aggregate({
|
4972
|
+
* _avg: {
|
4973
|
+
* age: true,
|
4974
|
+
* },
|
4975
|
+
* where: {
|
4976
|
+
* email: {
|
4977
|
+
* contains: "prisma.io",
|
4978
|
+
* },
|
4979
|
+
* },
|
4980
|
+
* orderBy: {
|
4981
|
+
* age: "asc",
|
4982
|
+
* },
|
4983
|
+
* take: 10,
|
4984
|
+
* })
|
4985
|
+
**/
|
4986
|
+
aggregate<T extends OtpAggregateArgs>(args: Subset<T, OtpAggregateArgs>): Prisma.PrismaPromise<GetOtpAggregateType<T>>
|
4987
|
+
|
4988
|
+
/**
|
4989
|
+
* Group by Otp.
|
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 {OtpGroupByArgs} args - Group by arguments.
|
4993
|
+
* @example
|
4994
|
+
* // Group by city, order by createdAt, get count
|
4995
|
+
* const result = await prisma.user.groupBy({
|
4996
|
+
* by: ['city', 'createdAt'],
|
4997
|
+
* orderBy: {
|
4998
|
+
* createdAt: true
|
4999
|
+
* },
|
5000
|
+
* _count: {
|
5001
|
+
* _all: true
|
5002
|
+
* },
|
5003
|
+
* })
|
5004
|
+
*
|
5005
|
+
**/
|
5006
|
+
groupBy<
|
5007
|
+
T extends OtpGroupByArgs,
|
5008
|
+
HasSelectOrTake extends Or<
|
5009
|
+
Extends<'skip', Keys<T>>,
|
5010
|
+
Extends<'take', Keys<T>>
|
5011
|
+
>,
|
5012
|
+
OrderByArg extends True extends HasSelectOrTake
|
5013
|
+
? { orderBy: OtpGroupByArgs['orderBy'] }
|
5014
|
+
: { orderBy?: OtpGroupByArgs['orderBy'] },
|
5015
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
5016
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
5017
|
+
ByValid extends Has<ByFields, OrderFields>,
|
5018
|
+
HavingFields extends GetHavingFields<T['having']>,
|
5019
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
5020
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
5021
|
+
InputErrors extends ByEmpty extends True
|
5022
|
+
? `Error: "by" must not be empty.`
|
5023
|
+
: HavingValid extends False
|
5024
|
+
? {
|
5025
|
+
[P in HavingFields]: P extends ByFields
|
5026
|
+
? never
|
5027
|
+
: P extends string
|
5028
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
5029
|
+
: [
|
5030
|
+
Error,
|
5031
|
+
'Field ',
|
5032
|
+
P,
|
5033
|
+
` in "having" needs to be provided in "by"`,
|
5034
|
+
]
|
5035
|
+
}[HavingFields]
|
5036
|
+
: 'take' extends Keys<T>
|
5037
|
+
? 'orderBy' extends Keys<T>
|
5038
|
+
? ByValid extends True
|
5039
|
+
? {}
|
5040
|
+
: {
|
5041
|
+
[P in OrderFields]: P extends ByFields
|
5042
|
+
? never
|
5043
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
5044
|
+
}[OrderFields]
|
5045
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
5046
|
+
: 'skip' extends Keys<T>
|
5047
|
+
? 'orderBy' extends Keys<T>
|
5048
|
+
? ByValid extends True
|
5049
|
+
? {}
|
5050
|
+
: {
|
5051
|
+
[P in OrderFields]: P extends ByFields
|
5052
|
+
? never
|
5053
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
5054
|
+
}[OrderFields]
|
5055
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
5056
|
+
: ByValid extends True
|
5057
|
+
? {}
|
5058
|
+
: {
|
5059
|
+
[P in OrderFields]: P extends ByFields
|
5060
|
+
? never
|
5061
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
5062
|
+
}[OrderFields]
|
5063
|
+
>(args: SubsetIntersection<T, OtpGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOtpGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
5064
|
+
/**
|
5065
|
+
* Fields of the Otp model
|
5066
|
+
*/
|
5067
|
+
readonly fields: OtpFieldRefs;
|
5068
|
+
}
|
5069
|
+
|
5070
|
+
/**
|
5071
|
+
* The delegate class that acts as a "Promise-like" for Otp.
|
5072
|
+
* Why is this prefixed with `Prisma__`?
|
5073
|
+
* Because we want to prevent naming conflicts as mentioned in
|
5074
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
5075
|
+
*/
|
5076
|
+
export interface Prisma__OtpClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
5077
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
5078
|
+
owner<T extends ProfileDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ProfileDefaultArgs<ExtArgs>>): Prisma__ProfileClient<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
5079
|
+
/**
|
5080
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
5081
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
5082
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
5083
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
5084
|
+
*/
|
5085
|
+
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>
|
5086
|
+
/**
|
5087
|
+
* Attaches a callback for only the rejection of the Promise.
|
5088
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
5089
|
+
* @returns A Promise for the completion of the callback.
|
5090
|
+
*/
|
5091
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
5092
|
+
/**
|
5093
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
5094
|
+
* resolved value cannot be modified from the callback.
|
5095
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
5096
|
+
* @returns A Promise for the completion of the callback.
|
5097
|
+
*/
|
5098
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
5099
|
+
}
|
5100
|
+
|
5101
|
+
|
5102
|
+
|
5103
|
+
|
5104
|
+
/**
|
5105
|
+
* Fields of the Otp model
|
5106
|
+
*/
|
5107
|
+
interface OtpFieldRefs {
|
5108
|
+
readonly id: FieldRef<"Otp", 'String'>
|
5109
|
+
readonly code: FieldRef<"Otp", 'String'>
|
5110
|
+
readonly ownerPhoneNumber: FieldRef<"Otp", 'String'>
|
5111
|
+
readonly expiresAt: FieldRef<"Otp", 'DateTime'>
|
5112
|
+
readonly created_at: FieldRef<"Otp", 'DateTime'>
|
5113
|
+
readonly updated_at: FieldRef<"Otp", 'DateTime'>
|
5114
|
+
}
|
5115
|
+
|
5116
|
+
|
5117
|
+
// Custom InputTypes
|
5118
|
+
/**
|
5119
|
+
* Otp findUnique
|
5120
|
+
*/
|
5121
|
+
export type OtpFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5122
|
+
/**
|
5123
|
+
* Select specific fields to fetch from the Otp
|
5124
|
+
*/
|
5125
|
+
select?: OtpSelect<ExtArgs> | null
|
5126
|
+
/**
|
5127
|
+
* Choose, which related nodes to fetch as well
|
5128
|
+
*/
|
5129
|
+
include?: OtpInclude<ExtArgs> | null
|
5130
|
+
/**
|
5131
|
+
* Filter, which Otp to fetch.
|
5132
|
+
*/
|
5133
|
+
where: OtpWhereUniqueInput
|
5134
|
+
}
|
5135
|
+
|
5136
|
+
/**
|
5137
|
+
* Otp findUniqueOrThrow
|
5138
|
+
*/
|
5139
|
+
export type OtpFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5140
|
+
/**
|
5141
|
+
* Select specific fields to fetch from the Otp
|
5142
|
+
*/
|
5143
|
+
select?: OtpSelect<ExtArgs> | null
|
5144
|
+
/**
|
5145
|
+
* Choose, which related nodes to fetch as well
|
5146
|
+
*/
|
5147
|
+
include?: OtpInclude<ExtArgs> | null
|
5148
|
+
/**
|
5149
|
+
* Filter, which Otp to fetch.
|
5150
|
+
*/
|
5151
|
+
where: OtpWhereUniqueInput
|
5152
|
+
}
|
5153
|
+
|
5154
|
+
/**
|
5155
|
+
* Otp findFirst
|
5156
|
+
*/
|
5157
|
+
export type OtpFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5158
|
+
/**
|
5159
|
+
* Select specific fields to fetch from the Otp
|
5160
|
+
*/
|
5161
|
+
select?: OtpSelect<ExtArgs> | null
|
5162
|
+
/**
|
5163
|
+
* Choose, which related nodes to fetch as well
|
5164
|
+
*/
|
5165
|
+
include?: OtpInclude<ExtArgs> | null
|
5166
|
+
/**
|
5167
|
+
* Filter, which Otp to fetch.
|
5168
|
+
*/
|
5169
|
+
where?: OtpWhereInput
|
5170
|
+
/**
|
5171
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
5172
|
+
*
|
5173
|
+
* Determine the order of Otps to fetch.
|
5174
|
+
*/
|
5175
|
+
orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
|
5176
|
+
/**
|
5177
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
5178
|
+
*
|
5179
|
+
* Sets the position for searching for Otps.
|
5180
|
+
*/
|
5181
|
+
cursor?: OtpWhereUniqueInput
|
5182
|
+
/**
|
5183
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5184
|
+
*
|
5185
|
+
* Take `±n` Otps from the position of the cursor.
|
5186
|
+
*/
|
5187
|
+
take?: number
|
5188
|
+
/**
|
5189
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5190
|
+
*
|
5191
|
+
* Skip the first `n` Otps.
|
5192
|
+
*/
|
5193
|
+
skip?: number
|
5194
|
+
/**
|
5195
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
5196
|
+
*
|
5197
|
+
* Filter by unique combinations of Otps.
|
5198
|
+
*/
|
5199
|
+
distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
|
5200
|
+
}
|
5201
|
+
|
5202
|
+
/**
|
5203
|
+
* Otp findFirstOrThrow
|
5204
|
+
*/
|
5205
|
+
export type OtpFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5206
|
+
/**
|
5207
|
+
* Select specific fields to fetch from the Otp
|
5208
|
+
*/
|
5209
|
+
select?: OtpSelect<ExtArgs> | null
|
5210
|
+
/**
|
5211
|
+
* Choose, which related nodes to fetch as well
|
5212
|
+
*/
|
5213
|
+
include?: OtpInclude<ExtArgs> | null
|
5214
|
+
/**
|
5215
|
+
* Filter, which Otp to fetch.
|
5216
|
+
*/
|
5217
|
+
where?: OtpWhereInput
|
5218
|
+
/**
|
5219
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
5220
|
+
*
|
5221
|
+
* Determine the order of Otps to fetch.
|
5222
|
+
*/
|
5223
|
+
orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
|
5224
|
+
/**
|
5225
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
5226
|
+
*
|
5227
|
+
* Sets the position for searching for Otps.
|
5228
|
+
*/
|
5229
|
+
cursor?: OtpWhereUniqueInput
|
5230
|
+
/**
|
5231
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5232
|
+
*
|
5233
|
+
* Take `±n` Otps from the position of the cursor.
|
5234
|
+
*/
|
5235
|
+
take?: number
|
5236
|
+
/**
|
5237
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5238
|
+
*
|
5239
|
+
* Skip the first `n` Otps.
|
5240
|
+
*/
|
5241
|
+
skip?: number
|
5242
|
+
/**
|
5243
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
5244
|
+
*
|
5245
|
+
* Filter by unique combinations of Otps.
|
5246
|
+
*/
|
5247
|
+
distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
|
5248
|
+
}
|
5249
|
+
|
5250
|
+
/**
|
5251
|
+
* Otp findMany
|
5252
|
+
*/
|
5253
|
+
export type OtpFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5254
|
+
/**
|
5255
|
+
* Select specific fields to fetch from the Otp
|
5256
|
+
*/
|
5257
|
+
select?: OtpSelect<ExtArgs> | null
|
5258
|
+
/**
|
5259
|
+
* Choose, which related nodes to fetch as well
|
5260
|
+
*/
|
5261
|
+
include?: OtpInclude<ExtArgs> | null
|
5262
|
+
/**
|
5263
|
+
* Filter, which Otps to fetch.
|
5264
|
+
*/
|
5265
|
+
where?: OtpWhereInput
|
5266
|
+
/**
|
5267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
5268
|
+
*
|
5269
|
+
* Determine the order of Otps to fetch.
|
5270
|
+
*/
|
5271
|
+
orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
|
5272
|
+
/**
|
5273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
5274
|
+
*
|
5275
|
+
* Sets the position for listing Otps.
|
5276
|
+
*/
|
5277
|
+
cursor?: OtpWhereUniqueInput
|
5278
|
+
/**
|
5279
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5280
|
+
*
|
5281
|
+
* Take `±n` Otps from the position of the cursor.
|
5282
|
+
*/
|
5283
|
+
take?: number
|
5284
|
+
/**
|
5285
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
5286
|
+
*
|
5287
|
+
* Skip the first `n` Otps.
|
5288
|
+
*/
|
5289
|
+
skip?: number
|
5290
|
+
distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
|
5291
|
+
}
|
5292
|
+
|
5293
|
+
/**
|
5294
|
+
* Otp create
|
5295
|
+
*/
|
5296
|
+
export type OtpCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5297
|
+
/**
|
5298
|
+
* Select specific fields to fetch from the Otp
|
5299
|
+
*/
|
5300
|
+
select?: OtpSelect<ExtArgs> | null
|
5301
|
+
/**
|
5302
|
+
* Choose, which related nodes to fetch as well
|
5303
|
+
*/
|
5304
|
+
include?: OtpInclude<ExtArgs> | null
|
5305
|
+
/**
|
5306
|
+
* The data needed to create a Otp.
|
5307
|
+
*/
|
5308
|
+
data: XOR<OtpCreateInput, OtpUncheckedCreateInput>
|
5309
|
+
}
|
5310
|
+
|
5311
|
+
/**
|
5312
|
+
* Otp createMany
|
5313
|
+
*/
|
5314
|
+
export type OtpCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5315
|
+
/**
|
5316
|
+
* The data used to create many Otps.
|
5317
|
+
*/
|
5318
|
+
data: OtpCreateManyInput | OtpCreateManyInput[]
|
5319
|
+
skipDuplicates?: boolean
|
5320
|
+
}
|
5321
|
+
|
5322
|
+
/**
|
5323
|
+
* Otp createManyAndReturn
|
5324
|
+
*/
|
5325
|
+
export type OtpCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5326
|
+
/**
|
5327
|
+
* Select specific fields to fetch from the Otp
|
5328
|
+
*/
|
5329
|
+
select?: OtpSelectCreateManyAndReturn<ExtArgs> | null
|
5330
|
+
/**
|
5331
|
+
* The data used to create many Otps.
|
5332
|
+
*/
|
5333
|
+
data: OtpCreateManyInput | OtpCreateManyInput[]
|
5334
|
+
skipDuplicates?: boolean
|
5335
|
+
/**
|
5336
|
+
* Choose, which related nodes to fetch as well
|
5337
|
+
*/
|
5338
|
+
include?: OtpIncludeCreateManyAndReturn<ExtArgs> | null
|
5339
|
+
}
|
5340
|
+
|
5341
|
+
/**
|
5342
|
+
* Otp update
|
5343
|
+
*/
|
5344
|
+
export type OtpUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5345
|
+
/**
|
5346
|
+
* Select specific fields to fetch from the Otp
|
5347
|
+
*/
|
5348
|
+
select?: OtpSelect<ExtArgs> | null
|
5349
|
+
/**
|
5350
|
+
* Choose, which related nodes to fetch as well
|
5351
|
+
*/
|
5352
|
+
include?: OtpInclude<ExtArgs> | null
|
5353
|
+
/**
|
5354
|
+
* The data needed to update a Otp.
|
5355
|
+
*/
|
5356
|
+
data: XOR<OtpUpdateInput, OtpUncheckedUpdateInput>
|
5357
|
+
/**
|
5358
|
+
* Choose, which Otp to update.
|
5359
|
+
*/
|
5360
|
+
where: OtpWhereUniqueInput
|
5361
|
+
}
|
5362
|
+
|
5363
|
+
/**
|
5364
|
+
* Otp updateMany
|
5365
|
+
*/
|
5366
|
+
export type OtpUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5367
|
+
/**
|
5368
|
+
* The data used to update Otps.
|
5369
|
+
*/
|
5370
|
+
data: XOR<OtpUpdateManyMutationInput, OtpUncheckedUpdateManyInput>
|
5371
|
+
/**
|
5372
|
+
* Filter which Otps to update
|
5373
|
+
*/
|
5374
|
+
where?: OtpWhereInput
|
5375
|
+
}
|
5376
|
+
|
5377
|
+
/**
|
5378
|
+
* Otp upsert
|
5379
|
+
*/
|
5380
|
+
export type OtpUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5381
|
+
/**
|
5382
|
+
* Select specific fields to fetch from the Otp
|
5383
|
+
*/
|
5384
|
+
select?: OtpSelect<ExtArgs> | null
|
5385
|
+
/**
|
5386
|
+
* Choose, which related nodes to fetch as well
|
5387
|
+
*/
|
5388
|
+
include?: OtpInclude<ExtArgs> | null
|
5389
|
+
/**
|
5390
|
+
* The filter to search for the Otp to update in case it exists.
|
5391
|
+
*/
|
5392
|
+
where: OtpWhereUniqueInput
|
5393
|
+
/**
|
5394
|
+
* In case the Otp found by the `where` argument doesn't exist, create a new Otp with this data.
|
5395
|
+
*/
|
5396
|
+
create: XOR<OtpCreateInput, OtpUncheckedCreateInput>
|
5397
|
+
/**
|
5398
|
+
* In case the Otp was found with the provided `where` argument, update it with this data.
|
5399
|
+
*/
|
5400
|
+
update: XOR<OtpUpdateInput, OtpUncheckedUpdateInput>
|
5401
|
+
}
|
5402
|
+
|
5403
|
+
/**
|
5404
|
+
* Otp delete
|
5405
|
+
*/
|
5406
|
+
export type OtpDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5407
|
+
/**
|
5408
|
+
* Select specific fields to fetch from the Otp
|
5409
|
+
*/
|
5410
|
+
select?: OtpSelect<ExtArgs> | null
|
5411
|
+
/**
|
5412
|
+
* Choose, which related nodes to fetch as well
|
5413
|
+
*/
|
5414
|
+
include?: OtpInclude<ExtArgs> | null
|
5415
|
+
/**
|
5416
|
+
* Filter which Otp to delete.
|
5417
|
+
*/
|
5418
|
+
where: OtpWhereUniqueInput
|
5419
|
+
}
|
5420
|
+
|
5421
|
+
/**
|
5422
|
+
* Otp deleteMany
|
5423
|
+
*/
|
5424
|
+
export type OtpDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5425
|
+
/**
|
5426
|
+
* Filter which Otps to delete
|
5427
|
+
*/
|
5428
|
+
where?: OtpWhereInput
|
5429
|
+
}
|
5430
|
+
|
5431
|
+
/**
|
5432
|
+
* Otp without action
|
5433
|
+
*/
|
5434
|
+
export type OtpDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
5435
|
+
/**
|
5436
|
+
* Select specific fields to fetch from the Otp
|
4349
5437
|
*/
|
4350
|
-
select?:
|
5438
|
+
select?: OtpSelect<ExtArgs> | null
|
4351
5439
|
/**
|
4352
5440
|
* Choose, which related nodes to fetch as well
|
4353
5441
|
*/
|
4354
|
-
include?:
|
5442
|
+
include?: OtpInclude<ExtArgs> | null
|
4355
5443
|
}
|
4356
5444
|
|
4357
5445
|
|
@@ -13169,7 +14257,9 @@ export namespace Prisma {
|
|
13169
14257
|
export const ProfileScalarFieldEnum: {
|
13170
14258
|
id: 'id',
|
13171
14259
|
shortId: 'shortId',
|
14260
|
+
firstTimeMiExpo: 'firstTimeMiExpo',
|
13172
14261
|
phoneNumber: 'phoneNumber',
|
14262
|
+
isPhoneVerified: 'isPhoneVerified',
|
13173
14263
|
secondaryPhoneNumber: 'secondaryPhoneNumber',
|
13174
14264
|
fullName: 'fullName',
|
13175
14265
|
firstName: 'firstName',
|
@@ -13191,6 +14281,18 @@ export namespace Prisma {
|
|
13191
14281
|
export type ProfileScalarFieldEnum = (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum]
|
13192
14282
|
|
13193
14283
|
|
14284
|
+
export const OtpScalarFieldEnum: {
|
14285
|
+
id: 'id',
|
14286
|
+
code: 'code',
|
14287
|
+
ownerPhoneNumber: 'ownerPhoneNumber',
|
14288
|
+
expiresAt: 'expiresAt',
|
14289
|
+
created_at: 'created_at',
|
14290
|
+
updated_at: 'updated_at'
|
14291
|
+
};
|
14292
|
+
|
14293
|
+
export type OtpScalarFieldEnum = (typeof OtpScalarFieldEnum)[keyof typeof OtpScalarFieldEnum]
|
14294
|
+
|
14295
|
+
|
13194
14296
|
export const LocationScalarFieldEnum: {
|
13195
14297
|
id: 'id',
|
13196
14298
|
latitude: 'latitude',
|
@@ -13578,7 +14680,9 @@ export namespace Prisma {
|
|
13578
14680
|
NOT?: ProfileWhereInput | ProfileWhereInput[]
|
13579
14681
|
id?: StringFilter<"Profile"> | string
|
13580
14682
|
shortId?: IntFilter<"Profile"> | number
|
14683
|
+
firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
|
13581
14684
|
phoneNumber?: StringFilter<"Profile"> | string
|
14685
|
+
isPhoneVerified?: BoolFilter<"Profile"> | boolean
|
13582
14686
|
secondaryPhoneNumber?: StringNullableFilter<"Profile"> | string | null
|
13583
14687
|
fullName?: StringFilter<"Profile"> | string
|
13584
14688
|
firstName?: StringNullableFilter<"Profile"> | string | null
|
@@ -13595,6 +14699,7 @@ export namespace Prisma {
|
|
13595
14699
|
movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
|
13596
14700
|
created_at?: DateTimeFilter<"Profile"> | Date | string
|
13597
14701
|
updated_at?: DateTimeFilter<"Profile"> | Date | string
|
14702
|
+
otp?: OtpListRelationFilter
|
13598
14703
|
comments?: CommentListRelationFilter
|
13599
14704
|
messages?: MessageListRelationFilter
|
13600
14705
|
tags?: TagListRelationFilter
|
@@ -13605,7 +14710,9 @@ export namespace Prisma {
|
|
13605
14710
|
export type ProfileOrderByWithRelationInput = {
|
13606
14711
|
id?: SortOrder
|
13607
14712
|
shortId?: SortOrder
|
14713
|
+
firstTimeMiExpo?: SortOrder
|
13608
14714
|
phoneNumber?: SortOrder
|
14715
|
+
isPhoneVerified?: SortOrder
|
13609
14716
|
secondaryPhoneNumber?: SortOrderInput | SortOrder
|
13610
14717
|
fullName?: SortOrder
|
13611
14718
|
firstName?: SortOrderInput | SortOrder
|
@@ -13622,6 +14729,7 @@ export namespace Prisma {
|
|
13622
14729
|
movedToTrashDate?: SortOrderInput | SortOrder
|
13623
14730
|
created_at?: SortOrder
|
13624
14731
|
updated_at?: SortOrder
|
14732
|
+
otp?: OtpOrderByRelationAggregateInput
|
13625
14733
|
comments?: CommentOrderByRelationAggregateInput
|
13626
14734
|
messages?: MessageOrderByRelationAggregateInput
|
13627
14735
|
tags?: TagOrderByRelationAggregateInput
|
@@ -13637,6 +14745,8 @@ export namespace Prisma {
|
|
13637
14745
|
OR?: ProfileWhereInput[]
|
13638
14746
|
NOT?: ProfileWhereInput | ProfileWhereInput[]
|
13639
14747
|
shortId?: IntFilter<"Profile"> | number
|
14748
|
+
firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
|
14749
|
+
isPhoneVerified?: BoolFilter<"Profile"> | boolean
|
13640
14750
|
fullName?: StringFilter<"Profile"> | string
|
13641
14751
|
firstName?: StringNullableFilter<"Profile"> | string | null
|
13642
14752
|
gender?: StringNullableFilter<"Profile"> | string | null
|
@@ -13652,6 +14762,7 @@ export namespace Prisma {
|
|
13652
14762
|
movedToTrashDate?: DateTimeNullableFilter<"Profile"> | Date | string | null
|
13653
14763
|
created_at?: DateTimeFilter<"Profile"> | Date | string
|
13654
14764
|
updated_at?: DateTimeFilter<"Profile"> | Date | string
|
14765
|
+
otp?: OtpListRelationFilter
|
13655
14766
|
comments?: CommentListRelationFilter
|
13656
14767
|
messages?: MessageListRelationFilter
|
13657
14768
|
tags?: TagListRelationFilter
|
@@ -13662,7 +14773,9 @@ export namespace Prisma {
|
|
13662
14773
|
export type ProfileOrderByWithAggregationInput = {
|
13663
14774
|
id?: SortOrder
|
13664
14775
|
shortId?: SortOrder
|
14776
|
+
firstTimeMiExpo?: SortOrder
|
13665
14777
|
phoneNumber?: SortOrder
|
14778
|
+
isPhoneVerified?: SortOrder
|
13666
14779
|
secondaryPhoneNumber?: SortOrderInput | SortOrder
|
13667
14780
|
fullName?: SortOrder
|
13668
14781
|
firstName?: SortOrderInput | SortOrder
|
@@ -13692,7 +14805,9 @@ export namespace Prisma {
|
|
13692
14805
|
NOT?: ProfileScalarWhereWithAggregatesInput | ProfileScalarWhereWithAggregatesInput[]
|
13693
14806
|
id?: StringWithAggregatesFilter<"Profile"> | string
|
13694
14807
|
shortId?: IntWithAggregatesFilter<"Profile"> | number
|
14808
|
+
firstTimeMiExpo?: BoolWithAggregatesFilter<"Profile"> | boolean
|
13695
14809
|
phoneNumber?: StringWithAggregatesFilter<"Profile"> | string
|
14810
|
+
isPhoneVerified?: BoolWithAggregatesFilter<"Profile"> | boolean
|
13696
14811
|
secondaryPhoneNumber?: StringNullableWithAggregatesFilter<"Profile"> | string | null
|
13697
14812
|
fullName?: StringWithAggregatesFilter<"Profile"> | string
|
13698
14813
|
firstName?: StringNullableWithAggregatesFilter<"Profile"> | string | null
|
@@ -13711,6 +14826,66 @@ export namespace Prisma {
|
|
13711
14826
|
updated_at?: DateTimeWithAggregatesFilter<"Profile"> | Date | string
|
13712
14827
|
}
|
13713
14828
|
|
14829
|
+
export type OtpWhereInput = {
|
14830
|
+
AND?: OtpWhereInput | OtpWhereInput[]
|
14831
|
+
OR?: OtpWhereInput[]
|
14832
|
+
NOT?: OtpWhereInput | OtpWhereInput[]
|
14833
|
+
id?: StringFilter<"Otp"> | string
|
14834
|
+
code?: StringFilter<"Otp"> | string
|
14835
|
+
ownerPhoneNumber?: StringFilter<"Otp"> | string
|
14836
|
+
expiresAt?: DateTimeFilter<"Otp"> | Date | string
|
14837
|
+
created_at?: DateTimeFilter<"Otp"> | Date | string
|
14838
|
+
updated_at?: DateTimeFilter<"Otp"> | Date | string
|
14839
|
+
owner?: XOR<ProfileRelationFilter, ProfileWhereInput>
|
14840
|
+
}
|
14841
|
+
|
14842
|
+
export type OtpOrderByWithRelationInput = {
|
14843
|
+
id?: SortOrder
|
14844
|
+
code?: SortOrder
|
14845
|
+
ownerPhoneNumber?: SortOrder
|
14846
|
+
expiresAt?: SortOrder
|
14847
|
+
created_at?: SortOrder
|
14848
|
+
updated_at?: SortOrder
|
14849
|
+
owner?: ProfileOrderByWithRelationInput
|
14850
|
+
}
|
14851
|
+
|
14852
|
+
export type OtpWhereUniqueInput = Prisma.AtLeast<{
|
14853
|
+
id?: string
|
14854
|
+
AND?: OtpWhereInput | OtpWhereInput[]
|
14855
|
+
OR?: OtpWhereInput[]
|
14856
|
+
NOT?: OtpWhereInput | OtpWhereInput[]
|
14857
|
+
code?: StringFilter<"Otp"> | string
|
14858
|
+
ownerPhoneNumber?: StringFilter<"Otp"> | string
|
14859
|
+
expiresAt?: DateTimeFilter<"Otp"> | Date | string
|
14860
|
+
created_at?: DateTimeFilter<"Otp"> | Date | string
|
14861
|
+
updated_at?: DateTimeFilter<"Otp"> | Date | string
|
14862
|
+
owner?: XOR<ProfileRelationFilter, ProfileWhereInput>
|
14863
|
+
}, "id">
|
14864
|
+
|
14865
|
+
export type OtpOrderByWithAggregationInput = {
|
14866
|
+
id?: SortOrder
|
14867
|
+
code?: SortOrder
|
14868
|
+
ownerPhoneNumber?: SortOrder
|
14869
|
+
expiresAt?: SortOrder
|
14870
|
+
created_at?: SortOrder
|
14871
|
+
updated_at?: SortOrder
|
14872
|
+
_count?: OtpCountOrderByAggregateInput
|
14873
|
+
_max?: OtpMaxOrderByAggregateInput
|
14874
|
+
_min?: OtpMinOrderByAggregateInput
|
14875
|
+
}
|
14876
|
+
|
14877
|
+
export type OtpScalarWhereWithAggregatesInput = {
|
14878
|
+
AND?: OtpScalarWhereWithAggregatesInput | OtpScalarWhereWithAggregatesInput[]
|
14879
|
+
OR?: OtpScalarWhereWithAggregatesInput[]
|
14880
|
+
NOT?: OtpScalarWhereWithAggregatesInput | OtpScalarWhereWithAggregatesInput[]
|
14881
|
+
id?: StringWithAggregatesFilter<"Otp"> | string
|
14882
|
+
code?: StringWithAggregatesFilter<"Otp"> | string
|
14883
|
+
ownerPhoneNumber?: StringWithAggregatesFilter<"Otp"> | string
|
14884
|
+
expiresAt?: DateTimeWithAggregatesFilter<"Otp"> | Date | string
|
14885
|
+
created_at?: DateTimeWithAggregatesFilter<"Otp"> | Date | string
|
14886
|
+
updated_at?: DateTimeWithAggregatesFilter<"Otp"> | Date | string
|
14887
|
+
}
|
14888
|
+
|
13714
14889
|
export type LocationWhereInput = {
|
13715
14890
|
AND?: LocationWhereInput | LocationWhereInput[]
|
13716
14891
|
OR?: LocationWhereInput[]
|
@@ -14410,7 +15585,9 @@ export namespace Prisma {
|
|
14410
15585
|
export type ProfileCreateInput = {
|
14411
15586
|
id?: string
|
14412
15587
|
shortId: number
|
15588
|
+
firstTimeMiExpo?: boolean
|
14413
15589
|
phoneNumber: string
|
15590
|
+
isPhoneVerified?: boolean
|
14414
15591
|
secondaryPhoneNumber?: string | null
|
14415
15592
|
fullName: string
|
14416
15593
|
firstName?: string | null
|
@@ -14425,6 +15602,7 @@ export namespace Prisma {
|
|
14425
15602
|
movedToTrashDate?: Date | string | null
|
14426
15603
|
created_at?: Date | string
|
14427
15604
|
updated_at?: Date | string
|
15605
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
14428
15606
|
comments?: CommentCreateNestedManyWithoutProfileInput
|
14429
15607
|
messages?: MessageCreateNestedManyWithoutProfileInput
|
14430
15608
|
tags?: TagCreateNestedManyWithoutProfilesInput
|
@@ -14435,7 +15613,9 @@ export namespace Prisma {
|
|
14435
15613
|
export type ProfileUncheckedCreateInput = {
|
14436
15614
|
id?: string
|
14437
15615
|
shortId: number
|
15616
|
+
firstTimeMiExpo?: boolean
|
14438
15617
|
phoneNumber: string
|
15618
|
+
isPhoneVerified?: boolean
|
14439
15619
|
secondaryPhoneNumber?: string | null
|
14440
15620
|
fullName: string
|
14441
15621
|
firstName?: string | null
|
@@ -14452,6 +15632,7 @@ export namespace Prisma {
|
|
14452
15632
|
movedToTrashDate?: Date | string | null
|
14453
15633
|
created_at?: Date | string
|
14454
15634
|
updated_at?: Date | string
|
15635
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
14455
15636
|
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
14456
15637
|
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
14457
15638
|
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
@@ -14460,7 +15641,9 @@ export namespace Prisma {
|
|
14460
15641
|
export type ProfileUpdateInput = {
|
14461
15642
|
id?: StringFieldUpdateOperationsInput | string
|
14462
15643
|
shortId?: IntFieldUpdateOperationsInput | number
|
15644
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
14463
15645
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
15646
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
14464
15647
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
14465
15648
|
fullName?: StringFieldUpdateOperationsInput | string
|
14466
15649
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -14475,6 +15658,7 @@ export namespace Prisma {
|
|
14475
15658
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
14476
15659
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
14477
15660
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15661
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
14478
15662
|
comments?: CommentUpdateManyWithoutProfileNestedInput
|
14479
15663
|
messages?: MessageUpdateManyWithoutProfileNestedInput
|
14480
15664
|
tags?: TagUpdateManyWithoutProfilesNestedInput
|
@@ -14485,7 +15669,9 @@ export namespace Prisma {
|
|
14485
15669
|
export type ProfileUncheckedUpdateInput = {
|
14486
15670
|
id?: StringFieldUpdateOperationsInput | string
|
14487
15671
|
shortId?: IntFieldUpdateOperationsInput | number
|
15672
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
14488
15673
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
15674
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
14489
15675
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
14490
15676
|
fullName?: StringFieldUpdateOperationsInput | string
|
14491
15677
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -14502,6 +15688,7 @@ export namespace Prisma {
|
|
14502
15688
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
14503
15689
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
14504
15690
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15691
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
14505
15692
|
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
14506
15693
|
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
14507
15694
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
@@ -14510,7 +15697,9 @@ export namespace Prisma {
|
|
14510
15697
|
export type ProfileCreateManyInput = {
|
14511
15698
|
id?: string
|
14512
15699
|
shortId: number
|
15700
|
+
firstTimeMiExpo?: boolean
|
14513
15701
|
phoneNumber: string
|
15702
|
+
isPhoneVerified?: boolean
|
14514
15703
|
secondaryPhoneNumber?: string | null
|
14515
15704
|
fullName: string
|
14516
15705
|
firstName?: string | null
|
@@ -14532,7 +15721,9 @@ export namespace Prisma {
|
|
14532
15721
|
export type ProfileUpdateManyMutationInput = {
|
14533
15722
|
id?: StringFieldUpdateOperationsInput | string
|
14534
15723
|
shortId?: IntFieldUpdateOperationsInput | number
|
15724
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
14535
15725
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
15726
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
14536
15727
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
14537
15728
|
fullName?: StringFieldUpdateOperationsInput | string
|
14538
15729
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -14552,7 +15743,9 @@ export namespace Prisma {
|
|
14552
15743
|
export type ProfileUncheckedUpdateManyInput = {
|
14553
15744
|
id?: StringFieldUpdateOperationsInput | string
|
14554
15745
|
shortId?: IntFieldUpdateOperationsInput | number
|
15746
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
14555
15747
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
15748
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
14556
15749
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
14557
15750
|
fullName?: StringFieldUpdateOperationsInput | string
|
14558
15751
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -14571,6 +15764,68 @@ export namespace Prisma {
|
|
14571
15764
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
14572
15765
|
}
|
14573
15766
|
|
15767
|
+
export type OtpCreateInput = {
|
15768
|
+
id?: string
|
15769
|
+
code: string
|
15770
|
+
expiresAt: Date | string
|
15771
|
+
created_at?: Date | string
|
15772
|
+
updated_at?: Date | string
|
15773
|
+
owner: ProfileCreateNestedOneWithoutOtpInput
|
15774
|
+
}
|
15775
|
+
|
15776
|
+
export type OtpUncheckedCreateInput = {
|
15777
|
+
id?: string
|
15778
|
+
code: string
|
15779
|
+
ownerPhoneNumber: string
|
15780
|
+
expiresAt: Date | string
|
15781
|
+
created_at?: Date | string
|
15782
|
+
updated_at?: Date | string
|
15783
|
+
}
|
15784
|
+
|
15785
|
+
export type OtpUpdateInput = {
|
15786
|
+
id?: StringFieldUpdateOperationsInput | string
|
15787
|
+
code?: StringFieldUpdateOperationsInput | string
|
15788
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
15789
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15790
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15791
|
+
owner?: ProfileUpdateOneRequiredWithoutOtpNestedInput
|
15792
|
+
}
|
15793
|
+
|
15794
|
+
export type OtpUncheckedUpdateInput = {
|
15795
|
+
id?: StringFieldUpdateOperationsInput | string
|
15796
|
+
code?: StringFieldUpdateOperationsInput | string
|
15797
|
+
ownerPhoneNumber?: StringFieldUpdateOperationsInput | string
|
15798
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
15799
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15800
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15801
|
+
}
|
15802
|
+
|
15803
|
+
export type OtpCreateManyInput = {
|
15804
|
+
id?: string
|
15805
|
+
code: string
|
15806
|
+
ownerPhoneNumber: string
|
15807
|
+
expiresAt: Date | string
|
15808
|
+
created_at?: Date | string
|
15809
|
+
updated_at?: Date | string
|
15810
|
+
}
|
15811
|
+
|
15812
|
+
export type OtpUpdateManyMutationInput = {
|
15813
|
+
id?: StringFieldUpdateOperationsInput | string
|
15814
|
+
code?: StringFieldUpdateOperationsInput | string
|
15815
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
15816
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15817
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15818
|
+
}
|
15819
|
+
|
15820
|
+
export type OtpUncheckedUpdateManyInput = {
|
15821
|
+
id?: StringFieldUpdateOperationsInput | string
|
15822
|
+
code?: StringFieldUpdateOperationsInput | string
|
15823
|
+
ownerPhoneNumber?: StringFieldUpdateOperationsInput | string
|
15824
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
15825
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15826
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
15827
|
+
}
|
15828
|
+
|
14574
15829
|
export type LocationCreateInput = {
|
14575
15830
|
id?: string
|
14576
15831
|
latitude: number
|
@@ -15395,6 +16650,12 @@ export namespace Prisma {
|
|
15395
16650
|
not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
15396
16651
|
}
|
15397
16652
|
|
16653
|
+
export type OtpListRelationFilter = {
|
16654
|
+
every?: OtpWhereInput
|
16655
|
+
some?: OtpWhereInput
|
16656
|
+
none?: OtpWhereInput
|
16657
|
+
}
|
16658
|
+
|
15398
16659
|
export type MessageListRelationFilter = {
|
15399
16660
|
every?: MessageWhereInput
|
15400
16661
|
some?: MessageWhereInput
|
@@ -15411,6 +16672,10 @@ export namespace Prisma {
|
|
15411
16672
|
nulls?: NullsOrder
|
15412
16673
|
}
|
15413
16674
|
|
16675
|
+
export type OtpOrderByRelationAggregateInput = {
|
16676
|
+
_count?: SortOrder
|
16677
|
+
}
|
16678
|
+
|
15414
16679
|
export type MessageOrderByRelationAggregateInput = {
|
15415
16680
|
_count?: SortOrder
|
15416
16681
|
}
|
@@ -15418,7 +16683,9 @@ export namespace Prisma {
|
|
15418
16683
|
export type ProfileCountOrderByAggregateInput = {
|
15419
16684
|
id?: SortOrder
|
15420
16685
|
shortId?: SortOrder
|
16686
|
+
firstTimeMiExpo?: SortOrder
|
15421
16687
|
phoneNumber?: SortOrder
|
16688
|
+
isPhoneVerified?: SortOrder
|
15422
16689
|
secondaryPhoneNumber?: SortOrder
|
15423
16690
|
fullName?: SortOrder
|
15424
16691
|
firstName?: SortOrder
|
@@ -15444,7 +16711,9 @@ export namespace Prisma {
|
|
15444
16711
|
export type ProfileMaxOrderByAggregateInput = {
|
15445
16712
|
id?: SortOrder
|
15446
16713
|
shortId?: SortOrder
|
16714
|
+
firstTimeMiExpo?: SortOrder
|
15447
16715
|
phoneNumber?: SortOrder
|
16716
|
+
isPhoneVerified?: SortOrder
|
15448
16717
|
secondaryPhoneNumber?: SortOrder
|
15449
16718
|
fullName?: SortOrder
|
15450
16719
|
firstName?: SortOrder
|
@@ -15465,7 +16734,9 @@ export namespace Prisma {
|
|
15465
16734
|
export type ProfileMinOrderByAggregateInput = {
|
15466
16735
|
id?: SortOrder
|
15467
16736
|
shortId?: SortOrder
|
16737
|
+
firstTimeMiExpo?: SortOrder
|
15468
16738
|
phoneNumber?: SortOrder
|
16739
|
+
isPhoneVerified?: SortOrder
|
15469
16740
|
secondaryPhoneNumber?: SortOrder
|
15470
16741
|
fullName?: SortOrder
|
15471
16742
|
firstName?: SortOrder
|
@@ -15535,6 +16806,38 @@ export namespace Prisma {
|
|
15535
16806
|
_max?: NestedDateTimeNullableFilter<$PrismaModel>
|
15536
16807
|
}
|
15537
16808
|
|
16809
|
+
export type ProfileRelationFilter = {
|
16810
|
+
is?: ProfileWhereInput
|
16811
|
+
isNot?: ProfileWhereInput
|
16812
|
+
}
|
16813
|
+
|
16814
|
+
export type OtpCountOrderByAggregateInput = {
|
16815
|
+
id?: SortOrder
|
16816
|
+
code?: SortOrder
|
16817
|
+
ownerPhoneNumber?: SortOrder
|
16818
|
+
expiresAt?: SortOrder
|
16819
|
+
created_at?: SortOrder
|
16820
|
+
updated_at?: SortOrder
|
16821
|
+
}
|
16822
|
+
|
16823
|
+
export type OtpMaxOrderByAggregateInput = {
|
16824
|
+
id?: SortOrder
|
16825
|
+
code?: SortOrder
|
16826
|
+
ownerPhoneNumber?: SortOrder
|
16827
|
+
expiresAt?: SortOrder
|
16828
|
+
created_at?: SortOrder
|
16829
|
+
updated_at?: SortOrder
|
16830
|
+
}
|
16831
|
+
|
16832
|
+
export type OtpMinOrderByAggregateInput = {
|
16833
|
+
id?: SortOrder
|
16834
|
+
code?: SortOrder
|
16835
|
+
ownerPhoneNumber?: SortOrder
|
16836
|
+
expiresAt?: SortOrder
|
16837
|
+
created_at?: SortOrder
|
16838
|
+
updated_at?: SortOrder
|
16839
|
+
}
|
16840
|
+
|
15538
16841
|
export type FloatFilter<$PrismaModel = never> = {
|
15539
16842
|
equals?: number | FloatFieldRefInput<$PrismaModel>
|
15540
16843
|
in?: number[] | ListFloatFieldRefInput<$PrismaModel>
|
@@ -15625,11 +16928,6 @@ export namespace Prisma {
|
|
15625
16928
|
isNot?: AccountWhereInput
|
15626
16929
|
}
|
15627
16930
|
|
15628
|
-
export type ProfileRelationFilter = {
|
15629
|
-
is?: ProfileWhereInput
|
15630
|
-
isNot?: ProfileWhereInput
|
15631
|
-
}
|
15632
|
-
|
15633
16931
|
export type AccountNullableRelationFilter = {
|
15634
16932
|
is?: AccountWhereInput | null
|
15635
16933
|
isNot?: AccountWhereInput | null
|
@@ -16205,6 +17503,13 @@ export namespace Prisma {
|
|
16205
17503
|
set: string[]
|
16206
17504
|
}
|
16207
17505
|
|
17506
|
+
export type OtpCreateNestedManyWithoutOwnerInput = {
|
17507
|
+
create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
|
17508
|
+
connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
|
17509
|
+
createMany?: OtpCreateManyOwnerInputEnvelope
|
17510
|
+
connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17511
|
+
}
|
17512
|
+
|
16208
17513
|
export type CommentCreateNestedManyWithoutProfileInput = {
|
16209
17514
|
create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
|
16210
17515
|
connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
|
@@ -16237,6 +17542,13 @@ export namespace Prisma {
|
|
16237
17542
|
connect?: LocationWhereUniqueInput
|
16238
17543
|
}
|
16239
17544
|
|
17545
|
+
export type OtpUncheckedCreateNestedManyWithoutOwnerInput = {
|
17546
|
+
create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
|
17547
|
+
connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
|
17548
|
+
createMany?: OtpCreateManyOwnerInputEnvelope
|
17549
|
+
connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17550
|
+
}
|
17551
|
+
|
16240
17552
|
export type CommentUncheckedCreateNestedManyWithoutProfileInput = {
|
16241
17553
|
create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
|
16242
17554
|
connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
|
@@ -16278,6 +17590,20 @@ export namespace Prisma {
|
|
16278
17590
|
push?: string | string[]
|
16279
17591
|
}
|
16280
17592
|
|
17593
|
+
export type OtpUpdateManyWithoutOwnerNestedInput = {
|
17594
|
+
create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
|
17595
|
+
connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
|
17596
|
+
upsert?: OtpUpsertWithWhereUniqueWithoutOwnerInput | OtpUpsertWithWhereUniqueWithoutOwnerInput[]
|
17597
|
+
createMany?: OtpCreateManyOwnerInputEnvelope
|
17598
|
+
set?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17599
|
+
disconnect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17600
|
+
delete?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17601
|
+
connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17602
|
+
update?: OtpUpdateWithWhereUniqueWithoutOwnerInput | OtpUpdateWithWhereUniqueWithoutOwnerInput[]
|
17603
|
+
updateMany?: OtpUpdateManyWithWhereWithoutOwnerInput | OtpUpdateManyWithWhereWithoutOwnerInput[]
|
17604
|
+
deleteMany?: OtpScalarWhereInput | OtpScalarWhereInput[]
|
17605
|
+
}
|
17606
|
+
|
16281
17607
|
export type CommentUpdateManyWithoutProfileNestedInput = {
|
16282
17608
|
create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
|
16283
17609
|
connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
|
@@ -16339,6 +17665,20 @@ export namespace Prisma {
|
|
16339
17665
|
update?: XOR<XOR<LocationUpdateToOneWithWhereWithoutResidenceProfilesInput, LocationUpdateWithoutResidenceProfilesInput>, LocationUncheckedUpdateWithoutResidenceProfilesInput>
|
16340
17666
|
}
|
16341
17667
|
|
17668
|
+
export type OtpUncheckedUpdateManyWithoutOwnerNestedInput = {
|
17669
|
+
create?: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput> | OtpCreateWithoutOwnerInput[] | OtpUncheckedCreateWithoutOwnerInput[]
|
17670
|
+
connectOrCreate?: OtpCreateOrConnectWithoutOwnerInput | OtpCreateOrConnectWithoutOwnerInput[]
|
17671
|
+
upsert?: OtpUpsertWithWhereUniqueWithoutOwnerInput | OtpUpsertWithWhereUniqueWithoutOwnerInput[]
|
17672
|
+
createMany?: OtpCreateManyOwnerInputEnvelope
|
17673
|
+
set?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17674
|
+
disconnect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17675
|
+
delete?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17676
|
+
connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
|
17677
|
+
update?: OtpUpdateWithWhereUniqueWithoutOwnerInput | OtpUpdateWithWhereUniqueWithoutOwnerInput[]
|
17678
|
+
updateMany?: OtpUpdateManyWithWhereWithoutOwnerInput | OtpUpdateManyWithWhereWithoutOwnerInput[]
|
17679
|
+
deleteMany?: OtpScalarWhereInput | OtpScalarWhereInput[]
|
17680
|
+
}
|
17681
|
+
|
16342
17682
|
export type CommentUncheckedUpdateManyWithoutProfileNestedInput = {
|
16343
17683
|
create?: XOR<CommentCreateWithoutProfileInput, CommentUncheckedCreateWithoutProfileInput> | CommentCreateWithoutProfileInput[] | CommentUncheckedCreateWithoutProfileInput[]
|
16344
17684
|
connectOrCreate?: CommentCreateOrConnectWithoutProfileInput | CommentCreateOrConnectWithoutProfileInput[]
|
@@ -16380,6 +17720,20 @@ export namespace Prisma {
|
|
16380
17720
|
deleteMany?: TagScalarWhereInput | TagScalarWhereInput[]
|
16381
17721
|
}
|
16382
17722
|
|
17723
|
+
export type ProfileCreateNestedOneWithoutOtpInput = {
|
17724
|
+
create?: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
|
17725
|
+
connectOrCreate?: ProfileCreateOrConnectWithoutOtpInput
|
17726
|
+
connect?: ProfileWhereUniqueInput
|
17727
|
+
}
|
17728
|
+
|
17729
|
+
export type ProfileUpdateOneRequiredWithoutOtpNestedInput = {
|
17730
|
+
create?: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
|
17731
|
+
connectOrCreate?: ProfileCreateOrConnectWithoutOtpInput
|
17732
|
+
upsert?: ProfileUpsertWithoutOtpInput
|
17733
|
+
connect?: ProfileWhereUniqueInput
|
17734
|
+
update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutOtpInput, ProfileUpdateWithoutOtpInput>, ProfileUncheckedUpdateWithoutOtpInput>
|
17735
|
+
}
|
17736
|
+
|
16383
17737
|
export type ProfileCreateNestedManyWithoutBirthLocationInput = {
|
16384
17738
|
create?: XOR<ProfileCreateWithoutBirthLocationInput, ProfileUncheckedCreateWithoutBirthLocationInput> | ProfileCreateWithoutBirthLocationInput[] | ProfileUncheckedCreateWithoutBirthLocationInput[]
|
16385
17739
|
connectOrCreate?: ProfileCreateOrConnectWithoutBirthLocationInput | ProfileCreateOrConnectWithoutBirthLocationInput[]
|
@@ -17443,6 +18797,32 @@ export namespace Prisma {
|
|
17443
18797
|
data: XOR<TagUpdateManyMutationInput, TagUncheckedUpdateManyWithoutAccountsGlobalFilterInput>
|
17444
18798
|
}
|
17445
18799
|
|
18800
|
+
export type OtpCreateWithoutOwnerInput = {
|
18801
|
+
id?: string
|
18802
|
+
code: string
|
18803
|
+
expiresAt: Date | string
|
18804
|
+
created_at?: Date | string
|
18805
|
+
updated_at?: Date | string
|
18806
|
+
}
|
18807
|
+
|
18808
|
+
export type OtpUncheckedCreateWithoutOwnerInput = {
|
18809
|
+
id?: string
|
18810
|
+
code: string
|
18811
|
+
expiresAt: Date | string
|
18812
|
+
created_at?: Date | string
|
18813
|
+
updated_at?: Date | string
|
18814
|
+
}
|
18815
|
+
|
18816
|
+
export type OtpCreateOrConnectWithoutOwnerInput = {
|
18817
|
+
where: OtpWhereUniqueInput
|
18818
|
+
create: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput>
|
18819
|
+
}
|
18820
|
+
|
18821
|
+
export type OtpCreateManyOwnerInputEnvelope = {
|
18822
|
+
data: OtpCreateManyOwnerInput | OtpCreateManyOwnerInput[]
|
18823
|
+
skipDuplicates?: boolean
|
18824
|
+
}
|
18825
|
+
|
17446
18826
|
export type CommentCreateWithoutProfileInput = {
|
17447
18827
|
id?: string
|
17448
18828
|
content: string
|
@@ -17594,6 +18974,34 @@ export namespace Prisma {
|
|
17594
18974
|
create: XOR<LocationCreateWithoutResidenceProfilesInput, LocationUncheckedCreateWithoutResidenceProfilesInput>
|
17595
18975
|
}
|
17596
18976
|
|
18977
|
+
export type OtpUpsertWithWhereUniqueWithoutOwnerInput = {
|
18978
|
+
where: OtpWhereUniqueInput
|
18979
|
+
update: XOR<OtpUpdateWithoutOwnerInput, OtpUncheckedUpdateWithoutOwnerInput>
|
18980
|
+
create: XOR<OtpCreateWithoutOwnerInput, OtpUncheckedCreateWithoutOwnerInput>
|
18981
|
+
}
|
18982
|
+
|
18983
|
+
export type OtpUpdateWithWhereUniqueWithoutOwnerInput = {
|
18984
|
+
where: OtpWhereUniqueInput
|
18985
|
+
data: XOR<OtpUpdateWithoutOwnerInput, OtpUncheckedUpdateWithoutOwnerInput>
|
18986
|
+
}
|
18987
|
+
|
18988
|
+
export type OtpUpdateManyWithWhereWithoutOwnerInput = {
|
18989
|
+
where: OtpScalarWhereInput
|
18990
|
+
data: XOR<OtpUpdateManyMutationInput, OtpUncheckedUpdateManyWithoutOwnerInput>
|
18991
|
+
}
|
18992
|
+
|
18993
|
+
export type OtpScalarWhereInput = {
|
18994
|
+
AND?: OtpScalarWhereInput | OtpScalarWhereInput[]
|
18995
|
+
OR?: OtpScalarWhereInput[]
|
18996
|
+
NOT?: OtpScalarWhereInput | OtpScalarWhereInput[]
|
18997
|
+
id?: StringFilter<"Otp"> | string
|
18998
|
+
code?: StringFilter<"Otp"> | string
|
18999
|
+
ownerPhoneNumber?: StringFilter<"Otp"> | string
|
19000
|
+
expiresAt?: DateTimeFilter<"Otp"> | Date | string
|
19001
|
+
created_at?: DateTimeFilter<"Otp"> | Date | string
|
19002
|
+
updated_at?: DateTimeFilter<"Otp"> | Date | string
|
19003
|
+
}
|
19004
|
+
|
17597
19005
|
export type CommentUpsertWithWhereUniqueWithoutProfileInput = {
|
17598
19006
|
where: CommentWhereUniqueInput
|
17599
19007
|
update: XOR<CommentUpdateWithoutProfileInput, CommentUncheckedUpdateWithoutProfileInput>
|
@@ -17725,10 +19133,136 @@ export namespace Prisma {
|
|
17725
19133
|
birthProfiles?: ProfileUncheckedUpdateManyWithoutBirthLocationNestedInput
|
17726
19134
|
}
|
17727
19135
|
|
19136
|
+
export type ProfileCreateWithoutOtpInput = {
|
19137
|
+
id?: string
|
19138
|
+
shortId: number
|
19139
|
+
firstTimeMiExpo?: boolean
|
19140
|
+
phoneNumber: string
|
19141
|
+
isPhoneVerified?: boolean
|
19142
|
+
secondaryPhoneNumber?: string | null
|
19143
|
+
fullName: string
|
19144
|
+
firstName?: string | null
|
19145
|
+
gender?: string | null
|
19146
|
+
birthDate?: Date | string | null
|
19147
|
+
profilePictureUrl?: string | null
|
19148
|
+
instagram?: string | null
|
19149
|
+
mail?: string | null
|
19150
|
+
dni?: string | null
|
19151
|
+
alternativeNames?: ProfileCreatealternativeNamesInput | string[]
|
19152
|
+
isInTrash?: boolean
|
19153
|
+
movedToTrashDate?: Date | string | null
|
19154
|
+
created_at?: Date | string
|
19155
|
+
updated_at?: Date | string
|
19156
|
+
comments?: CommentCreateNestedManyWithoutProfileInput
|
19157
|
+
messages?: MessageCreateNestedManyWithoutProfileInput
|
19158
|
+
tags?: TagCreateNestedManyWithoutProfilesInput
|
19159
|
+
birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
|
19160
|
+
residenceLocation?: LocationCreateNestedOneWithoutResidenceProfilesInput
|
19161
|
+
}
|
19162
|
+
|
19163
|
+
export type ProfileUncheckedCreateWithoutOtpInput = {
|
19164
|
+
id?: string
|
19165
|
+
shortId: number
|
19166
|
+
firstTimeMiExpo?: boolean
|
19167
|
+
phoneNumber: string
|
19168
|
+
isPhoneVerified?: boolean
|
19169
|
+
secondaryPhoneNumber?: string | null
|
19170
|
+
fullName: string
|
19171
|
+
firstName?: string | null
|
19172
|
+
gender?: string | null
|
19173
|
+
birthDate?: Date | string | null
|
19174
|
+
profilePictureUrl?: string | null
|
19175
|
+
instagram?: string | null
|
19176
|
+
mail?: string | null
|
19177
|
+
dni?: string | null
|
19178
|
+
alternativeNames?: ProfileCreatealternativeNamesInput | string[]
|
19179
|
+
birthLocationId?: string | null
|
19180
|
+
residenceLocationId?: string | null
|
19181
|
+
isInTrash?: boolean
|
19182
|
+
movedToTrashDate?: Date | string | null
|
19183
|
+
created_at?: Date | string
|
19184
|
+
updated_at?: Date | string
|
19185
|
+
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
19186
|
+
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
19187
|
+
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
19188
|
+
}
|
19189
|
+
|
19190
|
+
export type ProfileCreateOrConnectWithoutOtpInput = {
|
19191
|
+
where: ProfileWhereUniqueInput
|
19192
|
+
create: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
|
19193
|
+
}
|
19194
|
+
|
19195
|
+
export type ProfileUpsertWithoutOtpInput = {
|
19196
|
+
update: XOR<ProfileUpdateWithoutOtpInput, ProfileUncheckedUpdateWithoutOtpInput>
|
19197
|
+
create: XOR<ProfileCreateWithoutOtpInput, ProfileUncheckedCreateWithoutOtpInput>
|
19198
|
+
where?: ProfileWhereInput
|
19199
|
+
}
|
19200
|
+
|
19201
|
+
export type ProfileUpdateToOneWithWhereWithoutOtpInput = {
|
19202
|
+
where?: ProfileWhereInput
|
19203
|
+
data: XOR<ProfileUpdateWithoutOtpInput, ProfileUncheckedUpdateWithoutOtpInput>
|
19204
|
+
}
|
19205
|
+
|
19206
|
+
export type ProfileUpdateWithoutOtpInput = {
|
19207
|
+
id?: StringFieldUpdateOperationsInput | string
|
19208
|
+
shortId?: IntFieldUpdateOperationsInput | number
|
19209
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19210
|
+
phoneNumber?: StringFieldUpdateOperationsInput | string
|
19211
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19212
|
+
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19213
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
19214
|
+
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
19215
|
+
gender?: NullableStringFieldUpdateOperationsInput | string | null
|
19216
|
+
birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19217
|
+
profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
19218
|
+
instagram?: NullableStringFieldUpdateOperationsInput | string | null
|
19219
|
+
mail?: NullableStringFieldUpdateOperationsInput | string | null
|
19220
|
+
dni?: NullableStringFieldUpdateOperationsInput | string | null
|
19221
|
+
alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
|
19222
|
+
isInTrash?: BoolFieldUpdateOperationsInput | boolean
|
19223
|
+
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19224
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19225
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19226
|
+
comments?: CommentUpdateManyWithoutProfileNestedInput
|
19227
|
+
messages?: MessageUpdateManyWithoutProfileNestedInput
|
19228
|
+
tags?: TagUpdateManyWithoutProfilesNestedInput
|
19229
|
+
birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
|
19230
|
+
residenceLocation?: LocationUpdateOneWithoutResidenceProfilesNestedInput
|
19231
|
+
}
|
19232
|
+
|
19233
|
+
export type ProfileUncheckedUpdateWithoutOtpInput = {
|
19234
|
+
id?: StringFieldUpdateOperationsInput | string
|
19235
|
+
shortId?: IntFieldUpdateOperationsInput | number
|
19236
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19237
|
+
phoneNumber?: StringFieldUpdateOperationsInput | string
|
19238
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19239
|
+
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19240
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
19241
|
+
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
19242
|
+
gender?: NullableStringFieldUpdateOperationsInput | string | null
|
19243
|
+
birthDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19244
|
+
profilePictureUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
19245
|
+
instagram?: NullableStringFieldUpdateOperationsInput | string | null
|
19246
|
+
mail?: NullableStringFieldUpdateOperationsInput | string | null
|
19247
|
+
dni?: NullableStringFieldUpdateOperationsInput | string | null
|
19248
|
+
alternativeNames?: ProfileUpdatealternativeNamesInput | string[]
|
19249
|
+
birthLocationId?: NullableStringFieldUpdateOperationsInput | string | null
|
19250
|
+
residenceLocationId?: NullableStringFieldUpdateOperationsInput | string | null
|
19251
|
+
isInTrash?: BoolFieldUpdateOperationsInput | boolean
|
19252
|
+
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19253
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19254
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19255
|
+
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
19256
|
+
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
19257
|
+
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
19258
|
+
}
|
19259
|
+
|
17728
19260
|
export type ProfileCreateWithoutBirthLocationInput = {
|
17729
19261
|
id?: string
|
17730
19262
|
shortId: number
|
19263
|
+
firstTimeMiExpo?: boolean
|
17731
19264
|
phoneNumber: string
|
19265
|
+
isPhoneVerified?: boolean
|
17732
19266
|
secondaryPhoneNumber?: string | null
|
17733
19267
|
fullName: string
|
17734
19268
|
firstName?: string | null
|
@@ -17743,6 +19277,7 @@ export namespace Prisma {
|
|
17743
19277
|
movedToTrashDate?: Date | string | null
|
17744
19278
|
created_at?: Date | string
|
17745
19279
|
updated_at?: Date | string
|
19280
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
17746
19281
|
comments?: CommentCreateNestedManyWithoutProfileInput
|
17747
19282
|
messages?: MessageCreateNestedManyWithoutProfileInput
|
17748
19283
|
tags?: TagCreateNestedManyWithoutProfilesInput
|
@@ -17752,7 +19287,9 @@ export namespace Prisma {
|
|
17752
19287
|
export type ProfileUncheckedCreateWithoutBirthLocationInput = {
|
17753
19288
|
id?: string
|
17754
19289
|
shortId: number
|
19290
|
+
firstTimeMiExpo?: boolean
|
17755
19291
|
phoneNumber: string
|
19292
|
+
isPhoneVerified?: boolean
|
17756
19293
|
secondaryPhoneNumber?: string | null
|
17757
19294
|
fullName: string
|
17758
19295
|
firstName?: string | null
|
@@ -17768,6 +19305,7 @@ export namespace Prisma {
|
|
17768
19305
|
movedToTrashDate?: Date | string | null
|
17769
19306
|
created_at?: Date | string
|
17770
19307
|
updated_at?: Date | string
|
19308
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
17771
19309
|
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
17772
19310
|
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
17773
19311
|
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
@@ -17786,7 +19324,9 @@ export namespace Prisma {
|
|
17786
19324
|
export type ProfileCreateWithoutResidenceLocationInput = {
|
17787
19325
|
id?: string
|
17788
19326
|
shortId: number
|
19327
|
+
firstTimeMiExpo?: boolean
|
17789
19328
|
phoneNumber: string
|
19329
|
+
isPhoneVerified?: boolean
|
17790
19330
|
secondaryPhoneNumber?: string | null
|
17791
19331
|
fullName: string
|
17792
19332
|
firstName?: string | null
|
@@ -17801,6 +19341,7 @@ export namespace Prisma {
|
|
17801
19341
|
movedToTrashDate?: Date | string | null
|
17802
19342
|
created_at?: Date | string
|
17803
19343
|
updated_at?: Date | string
|
19344
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
17804
19345
|
comments?: CommentCreateNestedManyWithoutProfileInput
|
17805
19346
|
messages?: MessageCreateNestedManyWithoutProfileInput
|
17806
19347
|
tags?: TagCreateNestedManyWithoutProfilesInput
|
@@ -17810,7 +19351,9 @@ export namespace Prisma {
|
|
17810
19351
|
export type ProfileUncheckedCreateWithoutResidenceLocationInput = {
|
17811
19352
|
id?: string
|
17812
19353
|
shortId: number
|
19354
|
+
firstTimeMiExpo?: boolean
|
17813
19355
|
phoneNumber: string
|
19356
|
+
isPhoneVerified?: boolean
|
17814
19357
|
secondaryPhoneNumber?: string | null
|
17815
19358
|
fullName: string
|
17816
19359
|
firstName?: string | null
|
@@ -17826,6 +19369,7 @@ export namespace Prisma {
|
|
17826
19369
|
movedToTrashDate?: Date | string | null
|
17827
19370
|
created_at?: Date | string
|
17828
19371
|
updated_at?: Date | string
|
19372
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
17829
19373
|
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
17830
19374
|
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
17831
19375
|
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
@@ -17863,7 +19407,9 @@ export namespace Prisma {
|
|
17863
19407
|
NOT?: ProfileScalarWhereInput | ProfileScalarWhereInput[]
|
17864
19408
|
id?: StringFilter<"Profile"> | string
|
17865
19409
|
shortId?: IntFilter<"Profile"> | number
|
19410
|
+
firstTimeMiExpo?: BoolFilter<"Profile"> | boolean
|
17866
19411
|
phoneNumber?: StringFilter<"Profile"> | string
|
19412
|
+
isPhoneVerified?: BoolFilter<"Profile"> | boolean
|
17867
19413
|
secondaryPhoneNumber?: StringNullableFilter<"Profile"> | string | null
|
17868
19414
|
fullName?: StringFilter<"Profile"> | string
|
17869
19415
|
firstName?: StringNullableFilter<"Profile"> | string | null
|
@@ -17934,7 +19480,9 @@ export namespace Prisma {
|
|
17934
19480
|
export type ProfileCreateWithoutCommentsInput = {
|
17935
19481
|
id?: string
|
17936
19482
|
shortId: number
|
19483
|
+
firstTimeMiExpo?: boolean
|
17937
19484
|
phoneNumber: string
|
19485
|
+
isPhoneVerified?: boolean
|
17938
19486
|
secondaryPhoneNumber?: string | null
|
17939
19487
|
fullName: string
|
17940
19488
|
firstName?: string | null
|
@@ -17949,6 +19497,7 @@ export namespace Prisma {
|
|
17949
19497
|
movedToTrashDate?: Date | string | null
|
17950
19498
|
created_at?: Date | string
|
17951
19499
|
updated_at?: Date | string
|
19500
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
17952
19501
|
messages?: MessageCreateNestedManyWithoutProfileInput
|
17953
19502
|
tags?: TagCreateNestedManyWithoutProfilesInput
|
17954
19503
|
birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
|
@@ -17958,7 +19507,9 @@ export namespace Prisma {
|
|
17958
19507
|
export type ProfileUncheckedCreateWithoutCommentsInput = {
|
17959
19508
|
id?: string
|
17960
19509
|
shortId: number
|
19510
|
+
firstTimeMiExpo?: boolean
|
17961
19511
|
phoneNumber: string
|
19512
|
+
isPhoneVerified?: boolean
|
17962
19513
|
secondaryPhoneNumber?: string | null
|
17963
19514
|
fullName: string
|
17964
19515
|
firstName?: string | null
|
@@ -17975,6 +19526,7 @@ export namespace Prisma {
|
|
17975
19526
|
movedToTrashDate?: Date | string | null
|
17976
19527
|
created_at?: Date | string
|
17977
19528
|
updated_at?: Date | string
|
19529
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
17978
19530
|
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
17979
19531
|
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
17980
19532
|
}
|
@@ -18070,7 +19622,9 @@ export namespace Prisma {
|
|
18070
19622
|
export type ProfileUpdateWithoutCommentsInput = {
|
18071
19623
|
id?: StringFieldUpdateOperationsInput | string
|
18072
19624
|
shortId?: IntFieldUpdateOperationsInput | number
|
19625
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
18073
19626
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
19627
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
18074
19628
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
18075
19629
|
fullName?: StringFieldUpdateOperationsInput | string
|
18076
19630
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -18085,6 +19639,7 @@ export namespace Prisma {
|
|
18085
19639
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
18086
19640
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
18087
19641
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19642
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
18088
19643
|
messages?: MessageUpdateManyWithoutProfileNestedInput
|
18089
19644
|
tags?: TagUpdateManyWithoutProfilesNestedInput
|
18090
19645
|
birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
|
@@ -18094,7 +19649,9 @@ export namespace Prisma {
|
|
18094
19649
|
export type ProfileUncheckedUpdateWithoutCommentsInput = {
|
18095
19650
|
id?: StringFieldUpdateOperationsInput | string
|
18096
19651
|
shortId?: IntFieldUpdateOperationsInput | number
|
19652
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
18097
19653
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
19654
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
18098
19655
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
18099
19656
|
fullName?: StringFieldUpdateOperationsInput | string
|
18100
19657
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -18111,6 +19668,7 @@ export namespace Prisma {
|
|
18111
19668
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
18112
19669
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
18113
19670
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19671
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
18114
19672
|
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
18115
19673
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
18116
19674
|
}
|
@@ -18275,7 +19833,9 @@ export namespace Prisma {
|
|
18275
19833
|
export type ProfileCreateWithoutTagsInput = {
|
18276
19834
|
id?: string
|
18277
19835
|
shortId: number
|
19836
|
+
firstTimeMiExpo?: boolean
|
18278
19837
|
phoneNumber: string
|
19838
|
+
isPhoneVerified?: boolean
|
18279
19839
|
secondaryPhoneNumber?: string | null
|
18280
19840
|
fullName: string
|
18281
19841
|
firstName?: string | null
|
@@ -18290,6 +19850,7 @@ export namespace Prisma {
|
|
18290
19850
|
movedToTrashDate?: Date | string | null
|
18291
19851
|
created_at?: Date | string
|
18292
19852
|
updated_at?: Date | string
|
19853
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
18293
19854
|
comments?: CommentCreateNestedManyWithoutProfileInput
|
18294
19855
|
messages?: MessageCreateNestedManyWithoutProfileInput
|
18295
19856
|
birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
|
@@ -18299,7 +19860,9 @@ export namespace Prisma {
|
|
18299
19860
|
export type ProfileUncheckedCreateWithoutTagsInput = {
|
18300
19861
|
id?: string
|
18301
19862
|
shortId: number
|
19863
|
+
firstTimeMiExpo?: boolean
|
18302
19864
|
phoneNumber: string
|
19865
|
+
isPhoneVerified?: boolean
|
18303
19866
|
secondaryPhoneNumber?: string | null
|
18304
19867
|
fullName: string
|
18305
19868
|
firstName?: string | null
|
@@ -18316,6 +19879,7 @@ export namespace Prisma {
|
|
18316
19879
|
movedToTrashDate?: Date | string | null
|
18317
19880
|
created_at?: Date | string
|
18318
19881
|
updated_at?: Date | string
|
19882
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
18319
19883
|
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
18320
19884
|
messages?: MessageUncheckedCreateNestedManyWithoutProfileInput
|
18321
19885
|
}
|
@@ -18950,7 +20514,9 @@ export namespace Prisma {
|
|
18950
20514
|
export type ProfileCreateWithoutMessagesInput = {
|
18951
20515
|
id?: string
|
18952
20516
|
shortId: number
|
20517
|
+
firstTimeMiExpo?: boolean
|
18953
20518
|
phoneNumber: string
|
20519
|
+
isPhoneVerified?: boolean
|
18954
20520
|
secondaryPhoneNumber?: string | null
|
18955
20521
|
fullName: string
|
18956
20522
|
firstName?: string | null
|
@@ -18965,6 +20531,7 @@ export namespace Prisma {
|
|
18965
20531
|
movedToTrashDate?: Date | string | null
|
18966
20532
|
created_at?: Date | string
|
18967
20533
|
updated_at?: Date | string
|
20534
|
+
otp?: OtpCreateNestedManyWithoutOwnerInput
|
18968
20535
|
comments?: CommentCreateNestedManyWithoutProfileInput
|
18969
20536
|
tags?: TagCreateNestedManyWithoutProfilesInput
|
18970
20537
|
birthLocation?: LocationCreateNestedOneWithoutBirthProfilesInput
|
@@ -18974,7 +20541,9 @@ export namespace Prisma {
|
|
18974
20541
|
export type ProfileUncheckedCreateWithoutMessagesInput = {
|
18975
20542
|
id?: string
|
18976
20543
|
shortId: number
|
20544
|
+
firstTimeMiExpo?: boolean
|
18977
20545
|
phoneNumber: string
|
20546
|
+
isPhoneVerified?: boolean
|
18978
20547
|
secondaryPhoneNumber?: string | null
|
18979
20548
|
fullName: string
|
18980
20549
|
firstName?: string | null
|
@@ -18991,6 +20560,7 @@ export namespace Prisma {
|
|
18991
20560
|
movedToTrashDate?: Date | string | null
|
18992
20561
|
created_at?: Date | string
|
18993
20562
|
updated_at?: Date | string
|
20563
|
+
otp?: OtpUncheckedCreateNestedManyWithoutOwnerInput
|
18994
20564
|
comments?: CommentUncheckedCreateNestedManyWithoutProfileInput
|
18995
20565
|
tags?: TagUncheckedCreateNestedManyWithoutProfilesInput
|
18996
20566
|
}
|
@@ -19014,7 +20584,9 @@ export namespace Prisma {
|
|
19014
20584
|
export type ProfileUpdateWithoutMessagesInput = {
|
19015
20585
|
id?: StringFieldUpdateOperationsInput | string
|
19016
20586
|
shortId?: IntFieldUpdateOperationsInput | number
|
20587
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19017
20588
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
20589
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19018
20590
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19019
20591
|
fullName?: StringFieldUpdateOperationsInput | string
|
19020
20592
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19029,6 +20601,7 @@ export namespace Prisma {
|
|
19029
20601
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19030
20602
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19031
20603
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20604
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
19032
20605
|
comments?: CommentUpdateManyWithoutProfileNestedInput
|
19033
20606
|
tags?: TagUpdateManyWithoutProfilesNestedInput
|
19034
20607
|
birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
|
@@ -19038,7 +20611,9 @@ export namespace Prisma {
|
|
19038
20611
|
export type ProfileUncheckedUpdateWithoutMessagesInput = {
|
19039
20612
|
id?: StringFieldUpdateOperationsInput | string
|
19040
20613
|
shortId?: IntFieldUpdateOperationsInput | number
|
20614
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19041
20615
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
20616
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19042
20617
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19043
20618
|
fullName?: StringFieldUpdateOperationsInput | string
|
19044
20619
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19055,6 +20630,7 @@ export namespace Prisma {
|
|
19055
20630
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19056
20631
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19057
20632
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20633
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
19058
20634
|
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
19059
20635
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
19060
20636
|
}
|
@@ -19225,6 +20801,14 @@ export namespace Prisma {
|
|
19225
20801
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19226
20802
|
}
|
19227
20803
|
|
20804
|
+
export type OtpCreateManyOwnerInput = {
|
20805
|
+
id?: string
|
20806
|
+
code: string
|
20807
|
+
expiresAt: Date | string
|
20808
|
+
created_at?: Date | string
|
20809
|
+
updated_at?: Date | string
|
20810
|
+
}
|
20811
|
+
|
19228
20812
|
export type CommentCreateManyProfileInput = {
|
19229
20813
|
id?: string
|
19230
20814
|
content: string
|
@@ -19246,6 +20830,30 @@ export namespace Prisma {
|
|
19246
20830
|
updated_at?: Date | string
|
19247
20831
|
}
|
19248
20832
|
|
20833
|
+
export type OtpUpdateWithoutOwnerInput = {
|
20834
|
+
id?: StringFieldUpdateOperationsInput | string
|
20835
|
+
code?: StringFieldUpdateOperationsInput | string
|
20836
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
20837
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20838
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20839
|
+
}
|
20840
|
+
|
20841
|
+
export type OtpUncheckedUpdateWithoutOwnerInput = {
|
20842
|
+
id?: StringFieldUpdateOperationsInput | string
|
20843
|
+
code?: StringFieldUpdateOperationsInput | string
|
20844
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
20845
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20846
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20847
|
+
}
|
20848
|
+
|
20849
|
+
export type OtpUncheckedUpdateManyWithoutOwnerInput = {
|
20850
|
+
id?: StringFieldUpdateOperationsInput | string
|
20851
|
+
code?: StringFieldUpdateOperationsInput | string
|
20852
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
20853
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20854
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20855
|
+
}
|
20856
|
+
|
19249
20857
|
export type CommentUpdateWithoutProfileInput = {
|
19250
20858
|
id?: StringFieldUpdateOperationsInput | string
|
19251
20859
|
content?: StringFieldUpdateOperationsInput | string
|
@@ -19347,7 +20955,9 @@ export namespace Prisma {
|
|
19347
20955
|
export type ProfileCreateManyBirthLocationInput = {
|
19348
20956
|
id?: string
|
19349
20957
|
shortId: number
|
20958
|
+
firstTimeMiExpo?: boolean
|
19350
20959
|
phoneNumber: string
|
20960
|
+
isPhoneVerified?: boolean
|
19351
20961
|
secondaryPhoneNumber?: string | null
|
19352
20962
|
fullName: string
|
19353
20963
|
firstName?: string | null
|
@@ -19368,7 +20978,9 @@ export namespace Prisma {
|
|
19368
20978
|
export type ProfileCreateManyResidenceLocationInput = {
|
19369
20979
|
id?: string
|
19370
20980
|
shortId: number
|
20981
|
+
firstTimeMiExpo?: boolean
|
19371
20982
|
phoneNumber: string
|
20983
|
+
isPhoneVerified?: boolean
|
19372
20984
|
secondaryPhoneNumber?: string | null
|
19373
20985
|
fullName: string
|
19374
20986
|
firstName?: string | null
|
@@ -19389,7 +21001,9 @@ export namespace Prisma {
|
|
19389
21001
|
export type ProfileUpdateWithoutBirthLocationInput = {
|
19390
21002
|
id?: StringFieldUpdateOperationsInput | string
|
19391
21003
|
shortId?: IntFieldUpdateOperationsInput | number
|
21004
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19392
21005
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21006
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19393
21007
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19394
21008
|
fullName?: StringFieldUpdateOperationsInput | string
|
19395
21009
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19404,6 +21018,7 @@ export namespace Prisma {
|
|
19404
21018
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19405
21019
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19406
21020
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21021
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
19407
21022
|
comments?: CommentUpdateManyWithoutProfileNestedInput
|
19408
21023
|
messages?: MessageUpdateManyWithoutProfileNestedInput
|
19409
21024
|
tags?: TagUpdateManyWithoutProfilesNestedInput
|
@@ -19413,7 +21028,9 @@ export namespace Prisma {
|
|
19413
21028
|
export type ProfileUncheckedUpdateWithoutBirthLocationInput = {
|
19414
21029
|
id?: StringFieldUpdateOperationsInput | string
|
19415
21030
|
shortId?: IntFieldUpdateOperationsInput | number
|
21031
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19416
21032
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21033
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19417
21034
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19418
21035
|
fullName?: StringFieldUpdateOperationsInput | string
|
19419
21036
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19429,6 +21046,7 @@ export namespace Prisma {
|
|
19429
21046
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19430
21047
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19431
21048
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21049
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
19432
21050
|
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
19433
21051
|
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
19434
21052
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
@@ -19437,7 +21055,9 @@ export namespace Prisma {
|
|
19437
21055
|
export type ProfileUncheckedUpdateManyWithoutBirthLocationInput = {
|
19438
21056
|
id?: StringFieldUpdateOperationsInput | string
|
19439
21057
|
shortId?: IntFieldUpdateOperationsInput | number
|
21058
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19440
21059
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21060
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19441
21061
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19442
21062
|
fullName?: StringFieldUpdateOperationsInput | string
|
19443
21063
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19458,7 +21078,9 @@ export namespace Prisma {
|
|
19458
21078
|
export type ProfileUpdateWithoutResidenceLocationInput = {
|
19459
21079
|
id?: StringFieldUpdateOperationsInput | string
|
19460
21080
|
shortId?: IntFieldUpdateOperationsInput | number
|
21081
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19461
21082
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21083
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19462
21084
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19463
21085
|
fullName?: StringFieldUpdateOperationsInput | string
|
19464
21086
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19473,6 +21095,7 @@ export namespace Prisma {
|
|
19473
21095
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19474
21096
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19475
21097
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21098
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
19476
21099
|
comments?: CommentUpdateManyWithoutProfileNestedInput
|
19477
21100
|
messages?: MessageUpdateManyWithoutProfileNestedInput
|
19478
21101
|
tags?: TagUpdateManyWithoutProfilesNestedInput
|
@@ -19482,7 +21105,9 @@ export namespace Prisma {
|
|
19482
21105
|
export type ProfileUncheckedUpdateWithoutResidenceLocationInput = {
|
19483
21106
|
id?: StringFieldUpdateOperationsInput | string
|
19484
21107
|
shortId?: IntFieldUpdateOperationsInput | number
|
21108
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19485
21109
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21110
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19486
21111
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19487
21112
|
fullName?: StringFieldUpdateOperationsInput | string
|
19488
21113
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19498,6 +21123,7 @@ export namespace Prisma {
|
|
19498
21123
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19499
21124
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19500
21125
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21126
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
19501
21127
|
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
19502
21128
|
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
19503
21129
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
@@ -19506,7 +21132,9 @@ export namespace Prisma {
|
|
19506
21132
|
export type ProfileUncheckedUpdateManyWithoutResidenceLocationInput = {
|
19507
21133
|
id?: StringFieldUpdateOperationsInput | string
|
19508
21134
|
shortId?: IntFieldUpdateOperationsInput | number
|
21135
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19509
21136
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21137
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19510
21138
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19511
21139
|
fullName?: StringFieldUpdateOperationsInput | string
|
19512
21140
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19566,7 +21194,9 @@ export namespace Prisma {
|
|
19566
21194
|
export type ProfileUpdateWithoutTagsInput = {
|
19567
21195
|
id?: StringFieldUpdateOperationsInput | string
|
19568
21196
|
shortId?: IntFieldUpdateOperationsInput | number
|
21197
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19569
21198
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21199
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19570
21200
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19571
21201
|
fullName?: StringFieldUpdateOperationsInput | string
|
19572
21202
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19581,6 +21211,7 @@ export namespace Prisma {
|
|
19581
21211
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19582
21212
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19583
21213
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21214
|
+
otp?: OtpUpdateManyWithoutOwnerNestedInput
|
19584
21215
|
comments?: CommentUpdateManyWithoutProfileNestedInput
|
19585
21216
|
messages?: MessageUpdateManyWithoutProfileNestedInput
|
19586
21217
|
birthLocation?: LocationUpdateOneWithoutBirthProfilesNestedInput
|
@@ -19590,7 +21221,9 @@ export namespace Prisma {
|
|
19590
21221
|
export type ProfileUncheckedUpdateWithoutTagsInput = {
|
19591
21222
|
id?: StringFieldUpdateOperationsInput | string
|
19592
21223
|
shortId?: IntFieldUpdateOperationsInput | number
|
21224
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19593
21225
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21226
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19594
21227
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19595
21228
|
fullName?: StringFieldUpdateOperationsInput | string
|
19596
21229
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19607,6 +21240,7 @@ export namespace Prisma {
|
|
19607
21240
|
movedToTrashDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
19608
21241
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
19609
21242
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21243
|
+
otp?: OtpUncheckedUpdateManyWithoutOwnerNestedInput
|
19610
21244
|
comments?: CommentUncheckedUpdateManyWithoutProfileNestedInput
|
19611
21245
|
messages?: MessageUncheckedUpdateManyWithoutProfileNestedInput
|
19612
21246
|
}
|
@@ -19614,7 +21248,9 @@ export namespace Prisma {
|
|
19614
21248
|
export type ProfileUncheckedUpdateManyWithoutTagsInput = {
|
19615
21249
|
id?: StringFieldUpdateOperationsInput | string
|
19616
21250
|
shortId?: IntFieldUpdateOperationsInput | number
|
21251
|
+
firstTimeMiExpo?: BoolFieldUpdateOperationsInput | boolean
|
19617
21252
|
phoneNumber?: StringFieldUpdateOperationsInput | string
|
21253
|
+
isPhoneVerified?: BoolFieldUpdateOperationsInput | boolean
|
19618
21254
|
secondaryPhoneNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
19619
21255
|
fullName?: StringFieldUpdateOperationsInput | string
|
19620
21256
|
firstName?: NullableStringFieldUpdateOperationsInput | string | null
|
@@ -19855,6 +21491,10 @@ export namespace Prisma {
|
|
19855
21491
|
* @deprecated Use ProfileDefaultArgs instead
|
19856
21492
|
*/
|
19857
21493
|
export type ProfileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProfileDefaultArgs<ExtArgs>
|
21494
|
+
/**
|
21495
|
+
* @deprecated Use OtpDefaultArgs instead
|
21496
|
+
*/
|
21497
|
+
export type OtpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OtpDefaultArgs<ExtArgs>
|
19858
21498
|
/**
|
19859
21499
|
* @deprecated Use LocationDefaultArgs instead
|
19860
21500
|
*/
|