@valentine-efagene/qshelter-common 2.0.5 → 2.0.6
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/generated/client/browser.d.ts +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +84 -3
- package/dist/generated/client/internal/prismaNamespace.js +15 -3
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +16 -2
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +15 -3
- package/dist/generated/client/models/Role.d.ts +68 -74
- package/dist/generated/client/models/User.d.ts +366 -265
- package/dist/generated/client/models/UserRole.d.ts +1080 -0
- package/dist/generated/client/models/UserRole.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +38 -26
|
@@ -14,51 +14,54 @@ export type UserMinAggregateOutputType = {
|
|
|
14
14
|
id: string | null;
|
|
15
15
|
email: string | null;
|
|
16
16
|
password: string | null;
|
|
17
|
+
phone: string | null;
|
|
17
18
|
firstName: string | null;
|
|
18
19
|
lastName: string | null;
|
|
19
20
|
isActive: boolean | null;
|
|
20
21
|
isVerified: boolean | null;
|
|
21
22
|
googleId: string | null;
|
|
22
23
|
tenantId: string | null;
|
|
23
|
-
roleId: string | null;
|
|
24
24
|
walletId: string | null;
|
|
25
25
|
createdAt: Date | null;
|
|
26
26
|
updatedAt: Date | null;
|
|
27
27
|
emailVerifiedAt: Date | null;
|
|
28
|
+
emailVerificationToken: string | null;
|
|
28
29
|
lastLoginAt: Date | null;
|
|
29
30
|
};
|
|
30
31
|
export type UserMaxAggregateOutputType = {
|
|
31
32
|
id: string | null;
|
|
32
33
|
email: string | null;
|
|
33
34
|
password: string | null;
|
|
35
|
+
phone: string | null;
|
|
34
36
|
firstName: string | null;
|
|
35
37
|
lastName: string | null;
|
|
36
38
|
isActive: boolean | null;
|
|
37
39
|
isVerified: boolean | null;
|
|
38
40
|
googleId: string | null;
|
|
39
41
|
tenantId: string | null;
|
|
40
|
-
roleId: string | null;
|
|
41
42
|
walletId: string | null;
|
|
42
43
|
createdAt: Date | null;
|
|
43
44
|
updatedAt: Date | null;
|
|
44
45
|
emailVerifiedAt: Date | null;
|
|
46
|
+
emailVerificationToken: string | null;
|
|
45
47
|
lastLoginAt: Date | null;
|
|
46
48
|
};
|
|
47
49
|
export type UserCountAggregateOutputType = {
|
|
48
50
|
id: number;
|
|
49
51
|
email: number;
|
|
50
52
|
password: number;
|
|
53
|
+
phone: number;
|
|
51
54
|
firstName: number;
|
|
52
55
|
lastName: number;
|
|
53
56
|
isActive: number;
|
|
54
57
|
isVerified: number;
|
|
55
58
|
googleId: number;
|
|
56
59
|
tenantId: number;
|
|
57
|
-
roleId: number;
|
|
58
60
|
walletId: number;
|
|
59
61
|
createdAt: number;
|
|
60
62
|
updatedAt: number;
|
|
61
63
|
emailVerifiedAt: number;
|
|
64
|
+
emailVerificationToken: number;
|
|
62
65
|
lastLoginAt: number;
|
|
63
66
|
_all: number;
|
|
64
67
|
};
|
|
@@ -66,51 +69,54 @@ export type UserMinAggregateInputType = {
|
|
|
66
69
|
id?: true;
|
|
67
70
|
email?: true;
|
|
68
71
|
password?: true;
|
|
72
|
+
phone?: true;
|
|
69
73
|
firstName?: true;
|
|
70
74
|
lastName?: true;
|
|
71
75
|
isActive?: true;
|
|
72
76
|
isVerified?: true;
|
|
73
77
|
googleId?: true;
|
|
74
78
|
tenantId?: true;
|
|
75
|
-
roleId?: true;
|
|
76
79
|
walletId?: true;
|
|
77
80
|
createdAt?: true;
|
|
78
81
|
updatedAt?: true;
|
|
79
82
|
emailVerifiedAt?: true;
|
|
83
|
+
emailVerificationToken?: true;
|
|
80
84
|
lastLoginAt?: true;
|
|
81
85
|
};
|
|
82
86
|
export type UserMaxAggregateInputType = {
|
|
83
87
|
id?: true;
|
|
84
88
|
email?: true;
|
|
85
89
|
password?: true;
|
|
90
|
+
phone?: true;
|
|
86
91
|
firstName?: true;
|
|
87
92
|
lastName?: true;
|
|
88
93
|
isActive?: true;
|
|
89
94
|
isVerified?: true;
|
|
90
95
|
googleId?: true;
|
|
91
96
|
tenantId?: true;
|
|
92
|
-
roleId?: true;
|
|
93
97
|
walletId?: true;
|
|
94
98
|
createdAt?: true;
|
|
95
99
|
updatedAt?: true;
|
|
96
100
|
emailVerifiedAt?: true;
|
|
101
|
+
emailVerificationToken?: true;
|
|
97
102
|
lastLoginAt?: true;
|
|
98
103
|
};
|
|
99
104
|
export type UserCountAggregateInputType = {
|
|
100
105
|
id?: true;
|
|
101
106
|
email?: true;
|
|
102
107
|
password?: true;
|
|
108
|
+
phone?: true;
|
|
103
109
|
firstName?: true;
|
|
104
110
|
lastName?: true;
|
|
105
111
|
isActive?: true;
|
|
106
112
|
isVerified?: true;
|
|
107
113
|
googleId?: true;
|
|
108
114
|
tenantId?: true;
|
|
109
|
-
roleId?: true;
|
|
110
115
|
walletId?: true;
|
|
111
116
|
createdAt?: true;
|
|
112
117
|
updatedAt?: true;
|
|
113
118
|
emailVerifiedAt?: true;
|
|
119
|
+
emailVerificationToken?: true;
|
|
114
120
|
lastLoginAt?: true;
|
|
115
121
|
_all?: true;
|
|
116
122
|
};
|
|
@@ -180,17 +186,18 @@ export type UserGroupByOutputType = {
|
|
|
180
186
|
id: string;
|
|
181
187
|
email: string;
|
|
182
188
|
password: string | null;
|
|
189
|
+
phone: string | null;
|
|
183
190
|
firstName: string | null;
|
|
184
191
|
lastName: string | null;
|
|
185
192
|
isActive: boolean;
|
|
186
193
|
isVerified: boolean;
|
|
187
194
|
googleId: string | null;
|
|
188
195
|
tenantId: string | null;
|
|
189
|
-
roleId: string | null;
|
|
190
196
|
walletId: string | null;
|
|
191
197
|
createdAt: Date;
|
|
192
198
|
updatedAt: Date;
|
|
193
199
|
emailVerifiedAt: Date | null;
|
|
200
|
+
emailVerificationToken: string | null;
|
|
194
201
|
lastLoginAt: Date | null;
|
|
195
202
|
_count: UserCountAggregateOutputType | null;
|
|
196
203
|
_min: UserMinAggregateOutputType | null;
|
|
@@ -206,20 +213,21 @@ export type UserWhereInput = {
|
|
|
206
213
|
id?: Prisma.StringFilter<"User"> | string;
|
|
207
214
|
email?: Prisma.StringFilter<"User"> | string;
|
|
208
215
|
password?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
216
|
+
phone?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
209
217
|
firstName?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
210
218
|
lastName?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
211
219
|
isActive?: Prisma.BoolFilter<"User"> | boolean;
|
|
212
220
|
isVerified?: Prisma.BoolFilter<"User"> | boolean;
|
|
213
221
|
googleId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
214
222
|
tenantId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
215
|
-
roleId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
216
223
|
walletId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
217
224
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
218
225
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
219
226
|
emailVerifiedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
227
|
+
emailVerificationToken?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
220
228
|
lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
221
229
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
222
|
-
|
|
230
|
+
userRoles?: Prisma.UserRoleListRelationFilter;
|
|
223
231
|
wallet?: Prisma.XOR<Prisma.WalletNullableScalarRelationFilter, Prisma.WalletWhereInput> | null;
|
|
224
232
|
refreshTokens?: Prisma.RefreshTokenListRelationFilter;
|
|
225
233
|
passwordResets?: Prisma.PasswordResetListRelationFilter;
|
|
@@ -238,20 +246,21 @@ export type UserOrderByWithRelationInput = {
|
|
|
238
246
|
id?: Prisma.SortOrder;
|
|
239
247
|
email?: Prisma.SortOrder;
|
|
240
248
|
password?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
241
250
|
firstName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
251
|
lastName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
243
252
|
isActive?: Prisma.SortOrder;
|
|
244
253
|
isVerified?: Prisma.SortOrder;
|
|
245
254
|
googleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
255
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
|
-
roleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
256
|
walletId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
257
|
createdAt?: Prisma.SortOrder;
|
|
250
258
|
updatedAt?: Prisma.SortOrder;
|
|
251
259
|
emailVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
|
+
emailVerificationToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
252
261
|
lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
262
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
254
|
-
|
|
263
|
+
userRoles?: Prisma.UserRoleOrderByRelationAggregateInput;
|
|
255
264
|
wallet?: Prisma.WalletOrderByWithRelationInput;
|
|
256
265
|
refreshTokens?: Prisma.RefreshTokenOrderByRelationAggregateInput;
|
|
257
266
|
passwordResets?: Prisma.PasswordResetOrderByRelationAggregateInput;
|
|
@@ -270,6 +279,7 @@ export type UserOrderByWithRelationInput = {
|
|
|
270
279
|
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
271
280
|
id?: string;
|
|
272
281
|
email?: string;
|
|
282
|
+
phone?: string;
|
|
273
283
|
googleId?: string;
|
|
274
284
|
walletId?: string;
|
|
275
285
|
AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[];
|
|
@@ -281,13 +291,13 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
|
281
291
|
isActive?: Prisma.BoolFilter<"User"> | boolean;
|
|
282
292
|
isVerified?: Prisma.BoolFilter<"User"> | boolean;
|
|
283
293
|
tenantId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
284
|
-
roleId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
285
294
|
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
286
295
|
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
287
296
|
emailVerifiedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
297
|
+
emailVerificationToken?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
288
298
|
lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
289
299
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
290
|
-
|
|
300
|
+
userRoles?: Prisma.UserRoleListRelationFilter;
|
|
291
301
|
wallet?: Prisma.XOR<Prisma.WalletNullableScalarRelationFilter, Prisma.WalletWhereInput> | null;
|
|
292
302
|
refreshTokens?: Prisma.RefreshTokenListRelationFilter;
|
|
293
303
|
passwordResets?: Prisma.PasswordResetListRelationFilter;
|
|
@@ -301,22 +311,23 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
|
301
311
|
contracts?: Prisma.ContractListRelationFilter;
|
|
302
312
|
soldContracts?: Prisma.ContractListRelationFilter;
|
|
303
313
|
payments?: Prisma.PaymentListRelationFilter;
|
|
304
|
-
}, "id" | "email" | "googleId" | "walletId">;
|
|
314
|
+
}, "id" | "email" | "phone" | "googleId" | "walletId">;
|
|
305
315
|
export type UserOrderByWithAggregationInput = {
|
|
306
316
|
id?: Prisma.SortOrder;
|
|
307
317
|
email?: Prisma.SortOrder;
|
|
308
318
|
password?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
309
320
|
firstName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
310
321
|
lastName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
311
322
|
isActive?: Prisma.SortOrder;
|
|
312
323
|
isVerified?: Prisma.SortOrder;
|
|
313
324
|
googleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
314
325
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
315
|
-
roleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
316
326
|
walletId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
317
327
|
createdAt?: Prisma.SortOrder;
|
|
318
328
|
updatedAt?: Prisma.SortOrder;
|
|
319
329
|
emailVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
330
|
+
emailVerificationToken?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
320
331
|
lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
321
332
|
_count?: Prisma.UserCountOrderByAggregateInput;
|
|
322
333
|
_max?: Prisma.UserMaxOrderByAggregateInput;
|
|
@@ -329,23 +340,25 @@ export type UserScalarWhereWithAggregatesInput = {
|
|
|
329
340
|
id?: Prisma.StringWithAggregatesFilter<"User"> | string;
|
|
330
341
|
email?: Prisma.StringWithAggregatesFilter<"User"> | string;
|
|
331
342
|
password?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
343
|
+
phone?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
332
344
|
firstName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
333
345
|
lastName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
334
346
|
isActive?: Prisma.BoolWithAggregatesFilter<"User"> | boolean;
|
|
335
347
|
isVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean;
|
|
336
348
|
googleId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
337
349
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
338
|
-
roleId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
339
350
|
walletId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
340
351
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
|
|
341
352
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
|
|
342
353
|
emailVerifiedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null;
|
|
354
|
+
emailVerificationToken?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
|
|
343
355
|
lastLoginAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null;
|
|
344
356
|
};
|
|
345
357
|
export type UserCreateInput = {
|
|
346
358
|
id?: string;
|
|
347
359
|
email: string;
|
|
348
360
|
password?: string | null;
|
|
361
|
+
phone?: string | null;
|
|
349
362
|
firstName?: string | null;
|
|
350
363
|
lastName?: string | null;
|
|
351
364
|
isActive?: boolean;
|
|
@@ -354,9 +367,10 @@ export type UserCreateInput = {
|
|
|
354
367
|
createdAt?: Date | string;
|
|
355
368
|
updatedAt?: Date | string;
|
|
356
369
|
emailVerifiedAt?: Date | string | null;
|
|
370
|
+
emailVerificationToken?: string | null;
|
|
357
371
|
lastLoginAt?: Date | string | null;
|
|
358
372
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
359
|
-
|
|
373
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
360
374
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
361
375
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
362
376
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -375,18 +389,20 @@ export type UserUncheckedCreateInput = {
|
|
|
375
389
|
id?: string;
|
|
376
390
|
email: string;
|
|
377
391
|
password?: string | null;
|
|
392
|
+
phone?: string | null;
|
|
378
393
|
firstName?: string | null;
|
|
379
394
|
lastName?: string | null;
|
|
380
395
|
isActive?: boolean;
|
|
381
396
|
isVerified?: boolean;
|
|
382
397
|
googleId?: string | null;
|
|
383
398
|
tenantId?: string | null;
|
|
384
|
-
roleId?: string | null;
|
|
385
399
|
walletId?: string | null;
|
|
386
400
|
createdAt?: Date | string;
|
|
387
401
|
updatedAt?: Date | string;
|
|
388
402
|
emailVerifiedAt?: Date | string | null;
|
|
403
|
+
emailVerificationToken?: string | null;
|
|
389
404
|
lastLoginAt?: Date | string | null;
|
|
405
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
390
406
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
391
407
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
392
408
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -404,6 +420,7 @@ export type UserUpdateInput = {
|
|
|
404
420
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
405
421
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
406
422
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
423
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
407
424
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
408
425
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
426
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -412,9 +429,10 @@ export type UserUpdateInput = {
|
|
|
412
429
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
413
430
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
414
431
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
432
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
415
433
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
416
434
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
417
|
-
|
|
435
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
418
436
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
419
437
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
420
438
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -433,18 +451,20 @@ export type UserUncheckedUpdateInput = {
|
|
|
433
451
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
434
452
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
453
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
454
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
436
455
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
437
456
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
438
457
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
439
458
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
440
459
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
441
460
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
442
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
443
461
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
444
462
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
445
463
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
446
464
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
465
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
447
466
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
467
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
448
468
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
449
469
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
450
470
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -462,23 +482,25 @@ export type UserCreateManyInput = {
|
|
|
462
482
|
id?: string;
|
|
463
483
|
email: string;
|
|
464
484
|
password?: string | null;
|
|
485
|
+
phone?: string | null;
|
|
465
486
|
firstName?: string | null;
|
|
466
487
|
lastName?: string | null;
|
|
467
488
|
isActive?: boolean;
|
|
468
489
|
isVerified?: boolean;
|
|
469
490
|
googleId?: string | null;
|
|
470
491
|
tenantId?: string | null;
|
|
471
|
-
roleId?: string | null;
|
|
472
492
|
walletId?: string | null;
|
|
473
493
|
createdAt?: Date | string;
|
|
474
494
|
updatedAt?: Date | string;
|
|
475
495
|
emailVerifiedAt?: Date | string | null;
|
|
496
|
+
emailVerificationToken?: string | null;
|
|
476
497
|
lastLoginAt?: Date | string | null;
|
|
477
498
|
};
|
|
478
499
|
export type UserUpdateManyMutationInput = {
|
|
479
500
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
501
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
502
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
482
504
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
483
505
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
506
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -487,23 +509,25 @@ export type UserUpdateManyMutationInput = {
|
|
|
487
509
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
510
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
489
511
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
512
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
490
513
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
491
514
|
};
|
|
492
515
|
export type UserUncheckedUpdateManyInput = {
|
|
493
516
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
494
517
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
495
518
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
519
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
496
520
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
497
521
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
498
522
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
499
523
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
500
524
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
525
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
502
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
526
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
504
527
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
528
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
506
529
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
530
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
531
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
508
532
|
};
|
|
509
533
|
export type UserOrderByRelevanceInput = {
|
|
@@ -515,53 +539,60 @@ export type UserCountOrderByAggregateInput = {
|
|
|
515
539
|
id?: Prisma.SortOrder;
|
|
516
540
|
email?: Prisma.SortOrder;
|
|
517
541
|
password?: Prisma.SortOrder;
|
|
542
|
+
phone?: Prisma.SortOrder;
|
|
518
543
|
firstName?: Prisma.SortOrder;
|
|
519
544
|
lastName?: Prisma.SortOrder;
|
|
520
545
|
isActive?: Prisma.SortOrder;
|
|
521
546
|
isVerified?: Prisma.SortOrder;
|
|
522
547
|
googleId?: Prisma.SortOrder;
|
|
523
548
|
tenantId?: Prisma.SortOrder;
|
|
524
|
-
roleId?: Prisma.SortOrder;
|
|
525
549
|
walletId?: Prisma.SortOrder;
|
|
526
550
|
createdAt?: Prisma.SortOrder;
|
|
527
551
|
updatedAt?: Prisma.SortOrder;
|
|
528
552
|
emailVerifiedAt?: Prisma.SortOrder;
|
|
553
|
+
emailVerificationToken?: Prisma.SortOrder;
|
|
529
554
|
lastLoginAt?: Prisma.SortOrder;
|
|
530
555
|
};
|
|
531
556
|
export type UserMaxOrderByAggregateInput = {
|
|
532
557
|
id?: Prisma.SortOrder;
|
|
533
558
|
email?: Prisma.SortOrder;
|
|
534
559
|
password?: Prisma.SortOrder;
|
|
560
|
+
phone?: Prisma.SortOrder;
|
|
535
561
|
firstName?: Prisma.SortOrder;
|
|
536
562
|
lastName?: Prisma.SortOrder;
|
|
537
563
|
isActive?: Prisma.SortOrder;
|
|
538
564
|
isVerified?: Prisma.SortOrder;
|
|
539
565
|
googleId?: Prisma.SortOrder;
|
|
540
566
|
tenantId?: Prisma.SortOrder;
|
|
541
|
-
roleId?: Prisma.SortOrder;
|
|
542
567
|
walletId?: Prisma.SortOrder;
|
|
543
568
|
createdAt?: Prisma.SortOrder;
|
|
544
569
|
updatedAt?: Prisma.SortOrder;
|
|
545
570
|
emailVerifiedAt?: Prisma.SortOrder;
|
|
571
|
+
emailVerificationToken?: Prisma.SortOrder;
|
|
546
572
|
lastLoginAt?: Prisma.SortOrder;
|
|
547
573
|
};
|
|
548
574
|
export type UserMinOrderByAggregateInput = {
|
|
549
575
|
id?: Prisma.SortOrder;
|
|
550
576
|
email?: Prisma.SortOrder;
|
|
551
577
|
password?: Prisma.SortOrder;
|
|
578
|
+
phone?: Prisma.SortOrder;
|
|
552
579
|
firstName?: Prisma.SortOrder;
|
|
553
580
|
lastName?: Prisma.SortOrder;
|
|
554
581
|
isActive?: Prisma.SortOrder;
|
|
555
582
|
isVerified?: Prisma.SortOrder;
|
|
556
583
|
googleId?: Prisma.SortOrder;
|
|
557
584
|
tenantId?: Prisma.SortOrder;
|
|
558
|
-
roleId?: Prisma.SortOrder;
|
|
559
585
|
walletId?: Prisma.SortOrder;
|
|
560
586
|
createdAt?: Prisma.SortOrder;
|
|
561
587
|
updatedAt?: Prisma.SortOrder;
|
|
562
588
|
emailVerifiedAt?: Prisma.SortOrder;
|
|
589
|
+
emailVerificationToken?: Prisma.SortOrder;
|
|
563
590
|
lastLoginAt?: Prisma.SortOrder;
|
|
564
591
|
};
|
|
592
|
+
export type UserScalarRelationFilter = {
|
|
593
|
+
is?: Prisma.UserWhereInput;
|
|
594
|
+
isNot?: Prisma.UserWhereInput;
|
|
595
|
+
};
|
|
565
596
|
export type UserListRelationFilter = {
|
|
566
597
|
every?: Prisma.UserWhereInput;
|
|
567
598
|
some?: Prisma.UserWhereInput;
|
|
@@ -570,10 +601,6 @@ export type UserListRelationFilter = {
|
|
|
570
601
|
export type UserOrderByRelationAggregateInput = {
|
|
571
602
|
_count?: Prisma.SortOrder;
|
|
572
603
|
};
|
|
573
|
-
export type UserScalarRelationFilter = {
|
|
574
|
-
is?: Prisma.UserWhereInput;
|
|
575
|
-
isNot?: Prisma.UserWhereInput;
|
|
576
|
-
};
|
|
577
604
|
export type UserNullableScalarRelationFilter = {
|
|
578
605
|
is?: Prisma.UserWhereInput | null;
|
|
579
606
|
isNot?: Prisma.UserWhereInput | null;
|
|
@@ -593,43 +620,17 @@ export type DateTimeFieldUpdateOperationsInput = {
|
|
|
593
620
|
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
594
621
|
set?: Date | string | null;
|
|
595
622
|
};
|
|
596
|
-
export type
|
|
597
|
-
create?: Prisma.XOR<Prisma.
|
|
598
|
-
connectOrCreate?: Prisma.
|
|
599
|
-
|
|
600
|
-
connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
601
|
-
};
|
|
602
|
-
export type UserUncheckedCreateNestedManyWithoutRoleInput = {
|
|
603
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutRoleInput, Prisma.UserUncheckedCreateWithoutRoleInput> | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[];
|
|
604
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[];
|
|
605
|
-
createMany?: Prisma.UserCreateManyRoleInputEnvelope;
|
|
606
|
-
connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
607
|
-
};
|
|
608
|
-
export type UserUpdateManyWithoutRoleNestedInput = {
|
|
609
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutRoleInput, Prisma.UserUncheckedCreateWithoutRoleInput> | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[];
|
|
610
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[];
|
|
611
|
-
upsert?: Prisma.UserUpsertWithWhereUniqueWithoutRoleInput | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput[];
|
|
612
|
-
createMany?: Prisma.UserCreateManyRoleInputEnvelope;
|
|
613
|
-
set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
614
|
-
disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
615
|
-
delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
616
|
-
connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
617
|
-
update?: Prisma.UserUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[];
|
|
618
|
-
updateMany?: Prisma.UserUpdateManyWithWhereWithoutRoleInput | Prisma.UserUpdateManyWithWhereWithoutRoleInput[];
|
|
619
|
-
deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
|
|
623
|
+
export type UserCreateNestedOneWithoutUserRolesInput = {
|
|
624
|
+
create?: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
|
|
625
|
+
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserRolesInput;
|
|
626
|
+
connect?: Prisma.UserWhereUniqueInput;
|
|
620
627
|
};
|
|
621
|
-
export type
|
|
622
|
-
create?: Prisma.XOR<Prisma.
|
|
623
|
-
connectOrCreate?: Prisma.
|
|
624
|
-
upsert?: Prisma.
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
628
|
-
delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
629
|
-
connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
|
|
630
|
-
update?: Prisma.UserUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[];
|
|
631
|
-
updateMany?: Prisma.UserUpdateManyWithWhereWithoutRoleInput | Prisma.UserUpdateManyWithWhereWithoutRoleInput[];
|
|
632
|
-
deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
|
|
628
|
+
export type UserUpdateOneRequiredWithoutUserRolesNestedInput = {
|
|
629
|
+
create?: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
|
|
630
|
+
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserRolesInput;
|
|
631
|
+
upsert?: Prisma.UserUpsertWithoutUserRolesInput;
|
|
632
|
+
connect?: Prisma.UserWhereUniqueInput;
|
|
633
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutUserRolesInput, Prisma.UserUpdateWithoutUserRolesInput>, Prisma.UserUncheckedUpdateWithoutUserRolesInput>;
|
|
633
634
|
};
|
|
634
635
|
export type UserCreateNestedManyWithoutTenantInput = {
|
|
635
636
|
create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
|
|
@@ -849,10 +850,11 @@ export type UserUpdateOneWithoutSoldContractsNestedInput = {
|
|
|
849
850
|
connect?: Prisma.UserWhereUniqueInput;
|
|
850
851
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSoldContractsInput, Prisma.UserUpdateWithoutSoldContractsInput>, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
|
|
851
852
|
};
|
|
852
|
-
export type
|
|
853
|
+
export type UserCreateWithoutUserRolesInput = {
|
|
853
854
|
id?: string;
|
|
854
855
|
email: string;
|
|
855
856
|
password?: string | null;
|
|
857
|
+
phone?: string | null;
|
|
856
858
|
firstName?: string | null;
|
|
857
859
|
lastName?: string | null;
|
|
858
860
|
isActive?: boolean;
|
|
@@ -861,6 +863,7 @@ export type UserCreateWithoutRoleInput = {
|
|
|
861
863
|
createdAt?: Date | string;
|
|
862
864
|
updatedAt?: Date | string;
|
|
863
865
|
emailVerifiedAt?: Date | string | null;
|
|
866
|
+
emailVerificationToken?: string | null;
|
|
864
867
|
lastLoginAt?: Date | string | null;
|
|
865
868
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
866
869
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
@@ -877,10 +880,11 @@ export type UserCreateWithoutRoleInput = {
|
|
|
877
880
|
soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
|
|
878
881
|
payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
|
|
879
882
|
};
|
|
880
|
-
export type
|
|
883
|
+
export type UserUncheckedCreateWithoutUserRolesInput = {
|
|
881
884
|
id?: string;
|
|
882
885
|
email: string;
|
|
883
886
|
password?: string | null;
|
|
887
|
+
phone?: string | null;
|
|
884
888
|
firstName?: string | null;
|
|
885
889
|
lastName?: string | null;
|
|
886
890
|
isActive?: boolean;
|
|
@@ -891,6 +895,7 @@ export type UserUncheckedCreateWithoutRoleInput = {
|
|
|
891
895
|
createdAt?: Date | string;
|
|
892
896
|
updatedAt?: Date | string;
|
|
893
897
|
emailVerifiedAt?: Date | string | null;
|
|
898
|
+
emailVerificationToken?: string | null;
|
|
894
899
|
lastLoginAt?: Date | string | null;
|
|
895
900
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
896
901
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -905,51 +910,84 @@ export type UserUncheckedCreateWithoutRoleInput = {
|
|
|
905
910
|
soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
|
|
906
911
|
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
|
|
907
912
|
};
|
|
908
|
-
export type
|
|
913
|
+
export type UserCreateOrConnectWithoutUserRolesInput = {
|
|
909
914
|
where: Prisma.UserWhereUniqueInput;
|
|
910
|
-
create: Prisma.XOR<Prisma.
|
|
915
|
+
create: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
|
|
911
916
|
};
|
|
912
|
-
export type
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
export type UserUpsertWithWhereUniqueWithoutRoleInput = {
|
|
917
|
-
where: Prisma.UserWhereUniqueInput;
|
|
918
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutRoleInput, Prisma.UserUncheckedUpdateWithoutRoleInput>;
|
|
919
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutRoleInput, Prisma.UserUncheckedCreateWithoutRoleInput>;
|
|
917
|
+
export type UserUpsertWithoutUserRolesInput = {
|
|
918
|
+
update: Prisma.XOR<Prisma.UserUpdateWithoutUserRolesInput, Prisma.UserUncheckedUpdateWithoutUserRolesInput>;
|
|
919
|
+
create: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
|
|
920
|
+
where?: Prisma.UserWhereInput;
|
|
920
921
|
};
|
|
921
|
-
export type
|
|
922
|
-
where
|
|
923
|
-
data: Prisma.XOR<Prisma.
|
|
922
|
+
export type UserUpdateToOneWithWhereWithoutUserRolesInput = {
|
|
923
|
+
where?: Prisma.UserWhereInput;
|
|
924
|
+
data: Prisma.XOR<Prisma.UserUpdateWithoutUserRolesInput, Prisma.UserUncheckedUpdateWithoutUserRolesInput>;
|
|
924
925
|
};
|
|
925
|
-
export type
|
|
926
|
-
|
|
927
|
-
|
|
926
|
+
export type UserUpdateWithoutUserRolesInput = {
|
|
927
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
928
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
929
|
+
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
930
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
931
|
+
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
932
|
+
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
933
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
934
|
+
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
935
|
+
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
936
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
937
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
939
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
940
|
+
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
941
|
+
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
942
|
+
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
943
|
+
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
944
|
+
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
945
|
+
suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
|
|
946
|
+
emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
|
|
947
|
+
deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
|
|
948
|
+
socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
|
|
949
|
+
properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
|
|
950
|
+
mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
|
|
951
|
+
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
|
|
952
|
+
contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
|
|
953
|
+
soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
|
|
954
|
+
payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
|
|
928
955
|
};
|
|
929
|
-
export type
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
956
|
+
export type UserUncheckedUpdateWithoutUserRolesInput = {
|
|
957
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
958
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
959
|
+
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
960
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
961
|
+
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
962
|
+
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
963
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
964
|
+
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
965
|
+
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
966
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
967
|
+
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
968
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
969
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
970
|
+
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
971
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
972
|
+
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
973
|
+
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
974
|
+
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
975
|
+
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
976
|
+
emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
|
|
977
|
+
deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
|
|
978
|
+
socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
|
|
979
|
+
properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
|
|
980
|
+
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
|
|
981
|
+
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
|
|
982
|
+
contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
|
|
983
|
+
soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
|
|
984
|
+
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
|
|
948
985
|
};
|
|
949
986
|
export type UserCreateWithoutTenantInput = {
|
|
950
987
|
id?: string;
|
|
951
988
|
email: string;
|
|
952
989
|
password?: string | null;
|
|
990
|
+
phone?: string | null;
|
|
953
991
|
firstName?: string | null;
|
|
954
992
|
lastName?: string | null;
|
|
955
993
|
isActive?: boolean;
|
|
@@ -958,8 +996,9 @@ export type UserCreateWithoutTenantInput = {
|
|
|
958
996
|
createdAt?: Date | string;
|
|
959
997
|
updatedAt?: Date | string;
|
|
960
998
|
emailVerifiedAt?: Date | string | null;
|
|
999
|
+
emailVerificationToken?: string | null;
|
|
961
1000
|
lastLoginAt?: Date | string | null;
|
|
962
|
-
|
|
1001
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
963
1002
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
964
1003
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
965
1004
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -978,17 +1017,19 @@ export type UserUncheckedCreateWithoutTenantInput = {
|
|
|
978
1017
|
id?: string;
|
|
979
1018
|
email: string;
|
|
980
1019
|
password?: string | null;
|
|
1020
|
+
phone?: string | null;
|
|
981
1021
|
firstName?: string | null;
|
|
982
1022
|
lastName?: string | null;
|
|
983
1023
|
isActive?: boolean;
|
|
984
1024
|
isVerified?: boolean;
|
|
985
1025
|
googleId?: string | null;
|
|
986
|
-
roleId?: string | null;
|
|
987
1026
|
walletId?: string | null;
|
|
988
1027
|
createdAt?: Date | string;
|
|
989
1028
|
updatedAt?: Date | string;
|
|
990
1029
|
emailVerifiedAt?: Date | string | null;
|
|
1030
|
+
emailVerificationToken?: string | null;
|
|
991
1031
|
lastLoginAt?: Date | string | null;
|
|
1032
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
992
1033
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
993
1034
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
994
1035
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1023,10 +1064,32 @@ export type UserUpdateManyWithWhereWithoutTenantInput = {
|
|
|
1023
1064
|
where: Prisma.UserScalarWhereInput;
|
|
1024
1065
|
data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyWithoutTenantInput>;
|
|
1025
1066
|
};
|
|
1067
|
+
export type UserScalarWhereInput = {
|
|
1068
|
+
AND?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
|
|
1069
|
+
OR?: Prisma.UserScalarWhereInput[];
|
|
1070
|
+
NOT?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
|
|
1071
|
+
id?: Prisma.StringFilter<"User"> | string;
|
|
1072
|
+
email?: Prisma.StringFilter<"User"> | string;
|
|
1073
|
+
password?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1074
|
+
phone?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1075
|
+
firstName?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1076
|
+
lastName?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1077
|
+
isActive?: Prisma.BoolFilter<"User"> | boolean;
|
|
1078
|
+
isVerified?: Prisma.BoolFilter<"User"> | boolean;
|
|
1079
|
+
googleId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1080
|
+
tenantId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1081
|
+
walletId?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1082
|
+
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
1083
|
+
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
|
|
1084
|
+
emailVerifiedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
1085
|
+
emailVerificationToken?: Prisma.StringNullableFilter<"User"> | string | null;
|
|
1086
|
+
lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
|
|
1087
|
+
};
|
|
1026
1088
|
export type UserCreateWithoutRefreshTokensInput = {
|
|
1027
1089
|
id?: string;
|
|
1028
1090
|
email: string;
|
|
1029
1091
|
password?: string | null;
|
|
1092
|
+
phone?: string | null;
|
|
1030
1093
|
firstName?: string | null;
|
|
1031
1094
|
lastName?: string | null;
|
|
1032
1095
|
isActive?: boolean;
|
|
@@ -1035,9 +1098,10 @@ export type UserCreateWithoutRefreshTokensInput = {
|
|
|
1035
1098
|
createdAt?: Date | string;
|
|
1036
1099
|
updatedAt?: Date | string;
|
|
1037
1100
|
emailVerifiedAt?: Date | string | null;
|
|
1101
|
+
emailVerificationToken?: string | null;
|
|
1038
1102
|
lastLoginAt?: Date | string | null;
|
|
1039
1103
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1040
|
-
|
|
1104
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1041
1105
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1042
1106
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
1043
1107
|
suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
|
|
@@ -1055,18 +1119,20 @@ export type UserUncheckedCreateWithoutRefreshTokensInput = {
|
|
|
1055
1119
|
id?: string;
|
|
1056
1120
|
email: string;
|
|
1057
1121
|
password?: string | null;
|
|
1122
|
+
phone?: string | null;
|
|
1058
1123
|
firstName?: string | null;
|
|
1059
1124
|
lastName?: string | null;
|
|
1060
1125
|
isActive?: boolean;
|
|
1061
1126
|
isVerified?: boolean;
|
|
1062
1127
|
googleId?: string | null;
|
|
1063
1128
|
tenantId?: string | null;
|
|
1064
|
-
roleId?: string | null;
|
|
1065
1129
|
walletId?: string | null;
|
|
1066
1130
|
createdAt?: Date | string;
|
|
1067
1131
|
updatedAt?: Date | string;
|
|
1068
1132
|
emailVerifiedAt?: Date | string | null;
|
|
1133
|
+
emailVerificationToken?: string | null;
|
|
1069
1134
|
lastLoginAt?: Date | string | null;
|
|
1135
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1070
1136
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1071
1137
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
1072
1138
|
emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1096,6 +1162,7 @@ export type UserUpdateWithoutRefreshTokensInput = {
|
|
|
1096
1162
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1097
1163
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1098
1164
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1165
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1099
1166
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1100
1167
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1101
1168
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1104,9 +1171,10 @@ export type UserUpdateWithoutRefreshTokensInput = {
|
|
|
1104
1171
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1105
1172
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1106
1173
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1174
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1107
1175
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1108
1176
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1109
|
-
|
|
1177
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1110
1178
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1111
1179
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
1112
1180
|
suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
|
|
@@ -1124,18 +1192,20 @@ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
|
|
|
1124
1192
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1125
1193
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1126
1194
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1195
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1127
1196
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1128
1197
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1129
1198
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1130
1199
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1131
1200
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1132
1201
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1133
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1134
1202
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1135
1203
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1136
1204
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1137
1205
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1206
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1138
1207
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1208
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1139
1209
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1140
1210
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1141
1211
|
emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1152,6 +1222,7 @@ export type UserCreateWithoutPasswordResetsInput = {
|
|
|
1152
1222
|
id?: string;
|
|
1153
1223
|
email: string;
|
|
1154
1224
|
password?: string | null;
|
|
1225
|
+
phone?: string | null;
|
|
1155
1226
|
firstName?: string | null;
|
|
1156
1227
|
lastName?: string | null;
|
|
1157
1228
|
isActive?: boolean;
|
|
@@ -1160,9 +1231,10 @@ export type UserCreateWithoutPasswordResetsInput = {
|
|
|
1160
1231
|
createdAt?: Date | string;
|
|
1161
1232
|
updatedAt?: Date | string;
|
|
1162
1233
|
emailVerifiedAt?: Date | string | null;
|
|
1234
|
+
emailVerificationToken?: string | null;
|
|
1163
1235
|
lastLoginAt?: Date | string | null;
|
|
1164
1236
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1165
|
-
|
|
1237
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1166
1238
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1167
1239
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1168
1240
|
suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
|
|
@@ -1180,18 +1252,20 @@ export type UserUncheckedCreateWithoutPasswordResetsInput = {
|
|
|
1180
1252
|
id?: string;
|
|
1181
1253
|
email: string;
|
|
1182
1254
|
password?: string | null;
|
|
1255
|
+
phone?: string | null;
|
|
1183
1256
|
firstName?: string | null;
|
|
1184
1257
|
lastName?: string | null;
|
|
1185
1258
|
isActive?: boolean;
|
|
1186
1259
|
isVerified?: boolean;
|
|
1187
1260
|
googleId?: string | null;
|
|
1188
1261
|
tenantId?: string | null;
|
|
1189
|
-
roleId?: string | null;
|
|
1190
1262
|
walletId?: string | null;
|
|
1191
1263
|
createdAt?: Date | string;
|
|
1192
1264
|
updatedAt?: Date | string;
|
|
1193
1265
|
emailVerifiedAt?: Date | string | null;
|
|
1266
|
+
emailVerificationToken?: string | null;
|
|
1194
1267
|
lastLoginAt?: Date | string | null;
|
|
1268
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1195
1269
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1196
1270
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
1197
1271
|
emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1221,6 +1295,7 @@ export type UserUpdateWithoutPasswordResetsInput = {
|
|
|
1221
1295
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1222
1296
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1223
1297
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1298
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1224
1299
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1225
1300
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1226
1301
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1229,9 +1304,10 @@ export type UserUpdateWithoutPasswordResetsInput = {
|
|
|
1229
1304
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1230
1305
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1231
1306
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1307
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1232
1308
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1233
1309
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1234
|
-
|
|
1310
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1235
1311
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1236
1312
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1237
1313
|
suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
|
|
@@ -1249,18 +1325,20 @@ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
|
|
|
1249
1325
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1250
1326
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1251
1327
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1328
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1252
1329
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1253
1330
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1254
1331
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1255
1332
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1256
1333
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1257
1334
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1258
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1259
1335
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1260
1336
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1261
1337
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1262
1338
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1339
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1263
1340
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1341
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1264
1342
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1265
1343
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1266
1344
|
emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1277,6 +1355,7 @@ export type UserCreateWithoutSuspensionsInput = {
|
|
|
1277
1355
|
id?: string;
|
|
1278
1356
|
email: string;
|
|
1279
1357
|
password?: string | null;
|
|
1358
|
+
phone?: string | null;
|
|
1280
1359
|
firstName?: string | null;
|
|
1281
1360
|
lastName?: string | null;
|
|
1282
1361
|
isActive?: boolean;
|
|
@@ -1285,9 +1364,10 @@ export type UserCreateWithoutSuspensionsInput = {
|
|
|
1285
1364
|
createdAt?: Date | string;
|
|
1286
1365
|
updatedAt?: Date | string;
|
|
1287
1366
|
emailVerifiedAt?: Date | string | null;
|
|
1367
|
+
emailVerificationToken?: string | null;
|
|
1288
1368
|
lastLoginAt?: Date | string | null;
|
|
1289
1369
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1290
|
-
|
|
1370
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1291
1371
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1292
1372
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1293
1373
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -1305,18 +1385,20 @@ export type UserUncheckedCreateWithoutSuspensionsInput = {
|
|
|
1305
1385
|
id?: string;
|
|
1306
1386
|
email: string;
|
|
1307
1387
|
password?: string | null;
|
|
1388
|
+
phone?: string | null;
|
|
1308
1389
|
firstName?: string | null;
|
|
1309
1390
|
lastName?: string | null;
|
|
1310
1391
|
isActive?: boolean;
|
|
1311
1392
|
isVerified?: boolean;
|
|
1312
1393
|
googleId?: string | null;
|
|
1313
1394
|
tenantId?: string | null;
|
|
1314
|
-
roleId?: string | null;
|
|
1315
1395
|
walletId?: string | null;
|
|
1316
1396
|
createdAt?: Date | string;
|
|
1317
1397
|
updatedAt?: Date | string;
|
|
1318
1398
|
emailVerifiedAt?: Date | string | null;
|
|
1399
|
+
emailVerificationToken?: string | null;
|
|
1319
1400
|
lastLoginAt?: Date | string | null;
|
|
1401
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1320
1402
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1321
1403
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1322
1404
|
emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1346,6 +1428,7 @@ export type UserUpdateWithoutSuspensionsInput = {
|
|
|
1346
1428
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1347
1429
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1348
1430
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1431
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1349
1432
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1350
1433
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1351
1434
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1354,9 +1437,10 @@ export type UserUpdateWithoutSuspensionsInput = {
|
|
|
1354
1437
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1355
1438
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1356
1439
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1440
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1357
1441
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1358
1442
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1359
|
-
|
|
1443
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1360
1444
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1361
1445
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1362
1446
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -1374,18 +1458,20 @@ export type UserUncheckedUpdateWithoutSuspensionsInput = {
|
|
|
1374
1458
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1375
1459
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1376
1460
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1461
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1377
1462
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1378
1463
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1379
1464
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1380
1465
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1381
1466
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1382
1467
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1383
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1384
1468
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1385
1469
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1386
1470
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1387
1471
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1472
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1388
1473
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1474
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1389
1475
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1390
1476
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1391
1477
|
emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1402,6 +1488,7 @@ export type UserCreateWithoutEmailPreferencesInput = {
|
|
|
1402
1488
|
id?: string;
|
|
1403
1489
|
email: string;
|
|
1404
1490
|
password?: string | null;
|
|
1491
|
+
phone?: string | null;
|
|
1405
1492
|
firstName?: string | null;
|
|
1406
1493
|
lastName?: string | null;
|
|
1407
1494
|
isActive?: boolean;
|
|
@@ -1410,9 +1497,10 @@ export type UserCreateWithoutEmailPreferencesInput = {
|
|
|
1410
1497
|
createdAt?: Date | string;
|
|
1411
1498
|
updatedAt?: Date | string;
|
|
1412
1499
|
emailVerifiedAt?: Date | string | null;
|
|
1500
|
+
emailVerificationToken?: string | null;
|
|
1413
1501
|
lastLoginAt?: Date | string | null;
|
|
1414
1502
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1415
|
-
|
|
1503
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1416
1504
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1417
1505
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1418
1506
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -1430,18 +1518,20 @@ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
|
|
|
1430
1518
|
id?: string;
|
|
1431
1519
|
email: string;
|
|
1432
1520
|
password?: string | null;
|
|
1521
|
+
phone?: string | null;
|
|
1433
1522
|
firstName?: string | null;
|
|
1434
1523
|
lastName?: string | null;
|
|
1435
1524
|
isActive?: boolean;
|
|
1436
1525
|
isVerified?: boolean;
|
|
1437
1526
|
googleId?: string | null;
|
|
1438
1527
|
tenantId?: string | null;
|
|
1439
|
-
roleId?: string | null;
|
|
1440
1528
|
walletId?: string | null;
|
|
1441
1529
|
createdAt?: Date | string;
|
|
1442
1530
|
updatedAt?: Date | string;
|
|
1443
1531
|
emailVerifiedAt?: Date | string | null;
|
|
1532
|
+
emailVerificationToken?: string | null;
|
|
1444
1533
|
lastLoginAt?: Date | string | null;
|
|
1534
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1445
1535
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1446
1536
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1447
1537
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1471,6 +1561,7 @@ export type UserUpdateWithoutEmailPreferencesInput = {
|
|
|
1471
1561
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1472
1562
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1473
1563
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1564
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1474
1565
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1475
1566
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1476
1567
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1479,9 +1570,10 @@ export type UserUpdateWithoutEmailPreferencesInput = {
|
|
|
1479
1570
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1480
1571
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1481
1572
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1573
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1482
1574
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1483
1575
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1484
|
-
|
|
1576
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1485
1577
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1486
1578
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1487
1579
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -1499,18 +1591,20 @@ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
|
|
|
1499
1591
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1500
1592
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1501
1593
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1594
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1502
1595
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1503
1596
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1504
1597
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1505
1598
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1506
1599
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1507
1600
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1508
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1509
1601
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1510
1602
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1511
1603
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1512
1604
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1605
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1513
1606
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1607
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1514
1608
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1515
1609
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1516
1610
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1527,6 +1621,7 @@ export type UserCreateWithoutDeviceEndpointsInput = {
|
|
|
1527
1621
|
id?: string;
|
|
1528
1622
|
email: string;
|
|
1529
1623
|
password?: string | null;
|
|
1624
|
+
phone?: string | null;
|
|
1530
1625
|
firstName?: string | null;
|
|
1531
1626
|
lastName?: string | null;
|
|
1532
1627
|
isActive?: boolean;
|
|
@@ -1535,9 +1630,10 @@ export type UserCreateWithoutDeviceEndpointsInput = {
|
|
|
1535
1630
|
createdAt?: Date | string;
|
|
1536
1631
|
updatedAt?: Date | string;
|
|
1537
1632
|
emailVerifiedAt?: Date | string | null;
|
|
1633
|
+
emailVerificationToken?: string | null;
|
|
1538
1634
|
lastLoginAt?: Date | string | null;
|
|
1539
1635
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1540
|
-
|
|
1636
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1541
1637
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1542
1638
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1543
1639
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -1555,18 +1651,20 @@ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
|
|
|
1555
1651
|
id?: string;
|
|
1556
1652
|
email: string;
|
|
1557
1653
|
password?: string | null;
|
|
1654
|
+
phone?: string | null;
|
|
1558
1655
|
firstName?: string | null;
|
|
1559
1656
|
lastName?: string | null;
|
|
1560
1657
|
isActive?: boolean;
|
|
1561
1658
|
isVerified?: boolean;
|
|
1562
1659
|
googleId?: string | null;
|
|
1563
1660
|
tenantId?: string | null;
|
|
1564
|
-
roleId?: string | null;
|
|
1565
1661
|
walletId?: string | null;
|
|
1566
1662
|
createdAt?: Date | string;
|
|
1567
1663
|
updatedAt?: Date | string;
|
|
1568
1664
|
emailVerifiedAt?: Date | string | null;
|
|
1665
|
+
emailVerificationToken?: string | null;
|
|
1569
1666
|
lastLoginAt?: Date | string | null;
|
|
1667
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1570
1668
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1571
1669
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1572
1670
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1596,6 +1694,7 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
|
|
|
1596
1694
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1597
1695
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1598
1696
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1697
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1599
1698
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1600
1699
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1601
1700
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1604,9 +1703,10 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
|
|
|
1604
1703
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1605
1704
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1606
1705
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1706
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1607
1707
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1608
1708
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1609
|
-
|
|
1709
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1610
1710
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1611
1711
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1612
1712
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -1624,18 +1724,20 @@ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
|
|
|
1624
1724
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1625
1725
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1626
1726
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1727
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1627
1728
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1628
1729
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1629
1730
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1630
1731
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1631
1732
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1632
1733
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1633
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1634
1734
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1635
1735
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1636
1736
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1637
1737
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1738
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1638
1739
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1740
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1639
1741
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1640
1742
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1641
1743
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1652,6 +1754,7 @@ export type UserCreateWithoutSocialsInput = {
|
|
|
1652
1754
|
id?: string;
|
|
1653
1755
|
email: string;
|
|
1654
1756
|
password?: string | null;
|
|
1757
|
+
phone?: string | null;
|
|
1655
1758
|
firstName?: string | null;
|
|
1656
1759
|
lastName?: string | null;
|
|
1657
1760
|
isActive?: boolean;
|
|
@@ -1660,9 +1763,10 @@ export type UserCreateWithoutSocialsInput = {
|
|
|
1660
1763
|
createdAt?: Date | string;
|
|
1661
1764
|
updatedAt?: Date | string;
|
|
1662
1765
|
emailVerifiedAt?: Date | string | null;
|
|
1766
|
+
emailVerificationToken?: string | null;
|
|
1663
1767
|
lastLoginAt?: Date | string | null;
|
|
1664
1768
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1665
|
-
|
|
1769
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1666
1770
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1667
1771
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1668
1772
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -1680,18 +1784,20 @@ export type UserUncheckedCreateWithoutSocialsInput = {
|
|
|
1680
1784
|
id?: string;
|
|
1681
1785
|
email: string;
|
|
1682
1786
|
password?: string | null;
|
|
1787
|
+
phone?: string | null;
|
|
1683
1788
|
firstName?: string | null;
|
|
1684
1789
|
lastName?: string | null;
|
|
1685
1790
|
isActive?: boolean;
|
|
1686
1791
|
isVerified?: boolean;
|
|
1687
1792
|
googleId?: string | null;
|
|
1688
1793
|
tenantId?: string | null;
|
|
1689
|
-
roleId?: string | null;
|
|
1690
1794
|
walletId?: string | null;
|
|
1691
1795
|
createdAt?: Date | string;
|
|
1692
1796
|
updatedAt?: Date | string;
|
|
1693
1797
|
emailVerifiedAt?: Date | string | null;
|
|
1798
|
+
emailVerificationToken?: string | null;
|
|
1694
1799
|
lastLoginAt?: Date | string | null;
|
|
1800
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1695
1801
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1696
1802
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1697
1803
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1721,6 +1827,7 @@ export type UserUpdateWithoutSocialsInput = {
|
|
|
1721
1827
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1722
1828
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1723
1829
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1830
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1724
1831
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1725
1832
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1726
1833
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1729,9 +1836,10 @@ export type UserUpdateWithoutSocialsInput = {
|
|
|
1729
1836
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1730
1837
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1731
1838
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1839
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1732
1840
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1733
1841
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1734
|
-
|
|
1842
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1735
1843
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1736
1844
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1737
1845
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -1749,18 +1857,20 @@ export type UserUncheckedUpdateWithoutSocialsInput = {
|
|
|
1749
1857
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1750
1858
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1751
1859
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1860
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1752
1861
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1753
1862
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1754
1863
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1755
1864
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1756
1865
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1757
1866
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1758
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1759
1867
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1760
1868
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1761
1869
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1762
1870
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1871
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1763
1872
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1873
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1764
1874
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1765
1875
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1766
1876
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1777,6 +1887,7 @@ export type UserCreateWithoutWalletInput = {
|
|
|
1777
1887
|
id?: string;
|
|
1778
1888
|
email: string;
|
|
1779
1889
|
password?: string | null;
|
|
1890
|
+
phone?: string | null;
|
|
1780
1891
|
firstName?: string | null;
|
|
1781
1892
|
lastName?: string | null;
|
|
1782
1893
|
isActive?: boolean;
|
|
@@ -1785,9 +1896,10 @@ export type UserCreateWithoutWalletInput = {
|
|
|
1785
1896
|
createdAt?: Date | string;
|
|
1786
1897
|
updatedAt?: Date | string;
|
|
1787
1898
|
emailVerifiedAt?: Date | string | null;
|
|
1899
|
+
emailVerificationToken?: string | null;
|
|
1788
1900
|
lastLoginAt?: Date | string | null;
|
|
1789
1901
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1790
|
-
|
|
1902
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1791
1903
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1792
1904
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
1793
1905
|
suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
|
|
@@ -1805,17 +1917,19 @@ export type UserUncheckedCreateWithoutWalletInput = {
|
|
|
1805
1917
|
id?: string;
|
|
1806
1918
|
email: string;
|
|
1807
1919
|
password?: string | null;
|
|
1920
|
+
phone?: string | null;
|
|
1808
1921
|
firstName?: string | null;
|
|
1809
1922
|
lastName?: string | null;
|
|
1810
1923
|
isActive?: boolean;
|
|
1811
1924
|
isVerified?: boolean;
|
|
1812
1925
|
googleId?: string | null;
|
|
1813
1926
|
tenantId?: string | null;
|
|
1814
|
-
roleId?: string | null;
|
|
1815
1927
|
createdAt?: Date | string;
|
|
1816
1928
|
updatedAt?: Date | string;
|
|
1817
1929
|
emailVerifiedAt?: Date | string | null;
|
|
1930
|
+
emailVerificationToken?: string | null;
|
|
1818
1931
|
lastLoginAt?: Date | string | null;
|
|
1932
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1819
1933
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1820
1934
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1821
1935
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1846,6 +1960,7 @@ export type UserUpdateWithoutWalletInput = {
|
|
|
1846
1960
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1847
1961
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1848
1962
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1963
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1849
1964
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1850
1965
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1851
1966
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1854,9 +1969,10 @@ export type UserUpdateWithoutWalletInput = {
|
|
|
1854
1969
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1855
1970
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1856
1971
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1972
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1857
1973
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1858
1974
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1859
|
-
|
|
1975
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1860
1976
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1861
1977
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
1862
1978
|
suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
|
|
@@ -1874,17 +1990,19 @@ export type UserUncheckedUpdateWithoutWalletInput = {
|
|
|
1874
1990
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1875
1991
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1876
1992
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1993
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1877
1994
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1878
1995
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1879
1996
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1880
1997
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1881
1998
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1882
1999
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1883
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1884
2000
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1885
2001
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1886
2002
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2003
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1887
2004
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2005
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
1888
2006
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
1889
2007
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
1890
2008
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -1902,6 +2020,7 @@ export type UserCreateWithoutPropertiesInput = {
|
|
|
1902
2020
|
id?: string;
|
|
1903
2021
|
email: string;
|
|
1904
2022
|
password?: string | null;
|
|
2023
|
+
phone?: string | null;
|
|
1905
2024
|
firstName?: string | null;
|
|
1906
2025
|
lastName?: string | null;
|
|
1907
2026
|
isActive?: boolean;
|
|
@@ -1910,9 +2029,10 @@ export type UserCreateWithoutPropertiesInput = {
|
|
|
1910
2029
|
createdAt?: Date | string;
|
|
1911
2030
|
updatedAt?: Date | string;
|
|
1912
2031
|
emailVerifiedAt?: Date | string | null;
|
|
2032
|
+
emailVerificationToken?: string | null;
|
|
1913
2033
|
lastLoginAt?: Date | string | null;
|
|
1914
2034
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
1915
|
-
|
|
2035
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
1916
2036
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
1917
2037
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
1918
2038
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -1930,18 +2050,20 @@ export type UserUncheckedCreateWithoutPropertiesInput = {
|
|
|
1930
2050
|
id?: string;
|
|
1931
2051
|
email: string;
|
|
1932
2052
|
password?: string | null;
|
|
2053
|
+
phone?: string | null;
|
|
1933
2054
|
firstName?: string | null;
|
|
1934
2055
|
lastName?: string | null;
|
|
1935
2056
|
isActive?: boolean;
|
|
1936
2057
|
isVerified?: boolean;
|
|
1937
2058
|
googleId?: string | null;
|
|
1938
2059
|
tenantId?: string | null;
|
|
1939
|
-
roleId?: string | null;
|
|
1940
2060
|
walletId?: string | null;
|
|
1941
2061
|
createdAt?: Date | string;
|
|
1942
2062
|
updatedAt?: Date | string;
|
|
1943
2063
|
emailVerifiedAt?: Date | string | null;
|
|
2064
|
+
emailVerificationToken?: string | null;
|
|
1944
2065
|
lastLoginAt?: Date | string | null;
|
|
2066
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
1945
2067
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
1946
2068
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
1947
2069
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -1971,6 +2093,7 @@ export type UserUpdateWithoutPropertiesInput = {
|
|
|
1971
2093
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1972
2094
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1973
2095
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2096
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1974
2097
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1975
2098
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1976
2099
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1979,9 +2102,10 @@ export type UserUpdateWithoutPropertiesInput = {
|
|
|
1979
2102
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1980
2103
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1981
2104
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2105
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1982
2106
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1983
2107
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
1984
|
-
|
|
2108
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
1985
2109
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
1986
2110
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
1987
2111
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -1999,18 +2123,20 @@ export type UserUncheckedUpdateWithoutPropertiesInput = {
|
|
|
1999
2123
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2000
2124
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2001
2125
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2126
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2002
2127
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2003
2128
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2004
2129
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2005
2130
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2006
2131
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2007
2132
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2008
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2009
2133
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2010
2134
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2011
2135
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2012
2136
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2137
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2013
2138
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2139
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2014
2140
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2015
2141
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2016
2142
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2027,6 +2153,7 @@ export type UserCreateWithoutMortgagesInput = {
|
|
|
2027
2153
|
id?: string;
|
|
2028
2154
|
email: string;
|
|
2029
2155
|
password?: string | null;
|
|
2156
|
+
phone?: string | null;
|
|
2030
2157
|
firstName?: string | null;
|
|
2031
2158
|
lastName?: string | null;
|
|
2032
2159
|
isActive?: boolean;
|
|
@@ -2035,9 +2162,10 @@ export type UserCreateWithoutMortgagesInput = {
|
|
|
2035
2162
|
createdAt?: Date | string;
|
|
2036
2163
|
updatedAt?: Date | string;
|
|
2037
2164
|
emailVerifiedAt?: Date | string | null;
|
|
2165
|
+
emailVerificationToken?: string | null;
|
|
2038
2166
|
lastLoginAt?: Date | string | null;
|
|
2039
2167
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
2040
|
-
|
|
2168
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
2041
2169
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
2042
2170
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
2043
2171
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -2055,18 +2183,20 @@ export type UserUncheckedCreateWithoutMortgagesInput = {
|
|
|
2055
2183
|
id?: string;
|
|
2056
2184
|
email: string;
|
|
2057
2185
|
password?: string | null;
|
|
2186
|
+
phone?: string | null;
|
|
2058
2187
|
firstName?: string | null;
|
|
2059
2188
|
lastName?: string | null;
|
|
2060
2189
|
isActive?: boolean;
|
|
2061
2190
|
isVerified?: boolean;
|
|
2062
2191
|
googleId?: string | null;
|
|
2063
2192
|
tenantId?: string | null;
|
|
2064
|
-
roleId?: string | null;
|
|
2065
2193
|
walletId?: string | null;
|
|
2066
2194
|
createdAt?: Date | string;
|
|
2067
2195
|
updatedAt?: Date | string;
|
|
2068
2196
|
emailVerifiedAt?: Date | string | null;
|
|
2197
|
+
emailVerificationToken?: string | null;
|
|
2069
2198
|
lastLoginAt?: Date | string | null;
|
|
2199
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
2070
2200
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
2071
2201
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
2072
2202
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -2096,6 +2226,7 @@ export type UserUpdateWithoutMortgagesInput = {
|
|
|
2096
2226
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2097
2227
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2098
2228
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2229
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2099
2230
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2100
2231
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2101
2232
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2104,9 +2235,10 @@ export type UserUpdateWithoutMortgagesInput = {
|
|
|
2104
2235
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2105
2236
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2106
2237
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2238
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2107
2239
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2108
2240
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2109
|
-
|
|
2241
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2110
2242
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2111
2243
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2112
2244
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2124,18 +2256,20 @@ export type UserUncheckedUpdateWithoutMortgagesInput = {
|
|
|
2124
2256
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2125
2257
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2126
2258
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2259
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2127
2260
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2128
2261
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2129
2262
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2130
2263
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2131
2264
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2132
2265
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2133
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2134
2266
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2135
2267
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2136
2268
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2137
2269
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2270
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2138
2271
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2272
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2139
2273
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2140
2274
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2141
2275
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2152,6 +2286,7 @@ export type UserCreateWithoutPaymentPlansInput = {
|
|
|
2152
2286
|
id?: string;
|
|
2153
2287
|
email: string;
|
|
2154
2288
|
password?: string | null;
|
|
2289
|
+
phone?: string | null;
|
|
2155
2290
|
firstName?: string | null;
|
|
2156
2291
|
lastName?: string | null;
|
|
2157
2292
|
isActive?: boolean;
|
|
@@ -2160,9 +2295,10 @@ export type UserCreateWithoutPaymentPlansInput = {
|
|
|
2160
2295
|
createdAt?: Date | string;
|
|
2161
2296
|
updatedAt?: Date | string;
|
|
2162
2297
|
emailVerifiedAt?: Date | string | null;
|
|
2298
|
+
emailVerificationToken?: string | null;
|
|
2163
2299
|
lastLoginAt?: Date | string | null;
|
|
2164
2300
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
2165
|
-
|
|
2301
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
2166
2302
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
2167
2303
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
2168
2304
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -2180,18 +2316,20 @@ export type UserUncheckedCreateWithoutPaymentPlansInput = {
|
|
|
2180
2316
|
id?: string;
|
|
2181
2317
|
email: string;
|
|
2182
2318
|
password?: string | null;
|
|
2319
|
+
phone?: string | null;
|
|
2183
2320
|
firstName?: string | null;
|
|
2184
2321
|
lastName?: string | null;
|
|
2185
2322
|
isActive?: boolean;
|
|
2186
2323
|
isVerified?: boolean;
|
|
2187
2324
|
googleId?: string | null;
|
|
2188
2325
|
tenantId?: string | null;
|
|
2189
|
-
roleId?: string | null;
|
|
2190
2326
|
walletId?: string | null;
|
|
2191
2327
|
createdAt?: Date | string;
|
|
2192
2328
|
updatedAt?: Date | string;
|
|
2193
2329
|
emailVerifiedAt?: Date | string | null;
|
|
2330
|
+
emailVerificationToken?: string | null;
|
|
2194
2331
|
lastLoginAt?: Date | string | null;
|
|
2332
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
2195
2333
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
2196
2334
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
2197
2335
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -2221,6 +2359,7 @@ export type UserUpdateWithoutPaymentPlansInput = {
|
|
|
2221
2359
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2222
2360
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2223
2361
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2362
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2224
2363
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2225
2364
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2226
2365
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2229,9 +2368,10 @@ export type UserUpdateWithoutPaymentPlansInput = {
|
|
|
2229
2368
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2230
2369
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2231
2370
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2371
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2232
2372
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2233
2373
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2234
|
-
|
|
2374
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2235
2375
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2236
2376
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2237
2377
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2249,18 +2389,20 @@ export type UserUncheckedUpdateWithoutPaymentPlansInput = {
|
|
|
2249
2389
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2250
2390
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2251
2391
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2392
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2252
2393
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2253
2394
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2254
2395
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2255
2396
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2256
2397
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2257
2398
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2258
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2259
2399
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2260
2400
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2261
2401
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2262
2402
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2403
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2263
2404
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2405
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2264
2406
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2265
2407
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2266
2408
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2277,6 +2419,7 @@ export type UserCreateWithoutPaymentsInput = {
|
|
|
2277
2419
|
id?: string;
|
|
2278
2420
|
email: string;
|
|
2279
2421
|
password?: string | null;
|
|
2422
|
+
phone?: string | null;
|
|
2280
2423
|
firstName?: string | null;
|
|
2281
2424
|
lastName?: string | null;
|
|
2282
2425
|
isActive?: boolean;
|
|
@@ -2285,9 +2428,10 @@ export type UserCreateWithoutPaymentsInput = {
|
|
|
2285
2428
|
createdAt?: Date | string;
|
|
2286
2429
|
updatedAt?: Date | string;
|
|
2287
2430
|
emailVerifiedAt?: Date | string | null;
|
|
2431
|
+
emailVerificationToken?: string | null;
|
|
2288
2432
|
lastLoginAt?: Date | string | null;
|
|
2289
2433
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
2290
|
-
|
|
2434
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
2291
2435
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
2292
2436
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
2293
2437
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -2305,18 +2449,20 @@ export type UserUncheckedCreateWithoutPaymentsInput = {
|
|
|
2305
2449
|
id?: string;
|
|
2306
2450
|
email: string;
|
|
2307
2451
|
password?: string | null;
|
|
2452
|
+
phone?: string | null;
|
|
2308
2453
|
firstName?: string | null;
|
|
2309
2454
|
lastName?: string | null;
|
|
2310
2455
|
isActive?: boolean;
|
|
2311
2456
|
isVerified?: boolean;
|
|
2312
2457
|
googleId?: string | null;
|
|
2313
2458
|
tenantId?: string | null;
|
|
2314
|
-
roleId?: string | null;
|
|
2315
2459
|
walletId?: string | null;
|
|
2316
2460
|
createdAt?: Date | string;
|
|
2317
2461
|
updatedAt?: Date | string;
|
|
2318
2462
|
emailVerifiedAt?: Date | string | null;
|
|
2463
|
+
emailVerificationToken?: string | null;
|
|
2319
2464
|
lastLoginAt?: Date | string | null;
|
|
2465
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
2320
2466
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
2321
2467
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
2322
2468
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -2346,6 +2492,7 @@ export type UserUpdateWithoutPaymentsInput = {
|
|
|
2346
2492
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2347
2493
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2348
2494
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2495
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2349
2496
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2350
2497
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2351
2498
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2354,9 +2501,10 @@ export type UserUpdateWithoutPaymentsInput = {
|
|
|
2354
2501
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2355
2502
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2356
2503
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2504
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2357
2505
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2358
2506
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2359
|
-
|
|
2507
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2360
2508
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2361
2509
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2362
2510
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2374,18 +2522,20 @@ export type UserUncheckedUpdateWithoutPaymentsInput = {
|
|
|
2374
2522
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2375
2523
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2376
2524
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2525
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2377
2526
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2378
2527
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2379
2528
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2380
2529
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2381
2530
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2382
2531
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2383
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2384
2532
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2385
2533
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2386
2534
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2387
2535
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2536
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2388
2537
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2538
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2389
2539
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2390
2540
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2391
2541
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2402,6 +2552,7 @@ export type UserCreateWithoutContractsInput = {
|
|
|
2402
2552
|
id?: string;
|
|
2403
2553
|
email: string;
|
|
2404
2554
|
password?: string | null;
|
|
2555
|
+
phone?: string | null;
|
|
2405
2556
|
firstName?: string | null;
|
|
2406
2557
|
lastName?: string | null;
|
|
2407
2558
|
isActive?: boolean;
|
|
@@ -2410,9 +2561,10 @@ export type UserCreateWithoutContractsInput = {
|
|
|
2410
2561
|
createdAt?: Date | string;
|
|
2411
2562
|
updatedAt?: Date | string;
|
|
2412
2563
|
emailVerifiedAt?: Date | string | null;
|
|
2564
|
+
emailVerificationToken?: string | null;
|
|
2413
2565
|
lastLoginAt?: Date | string | null;
|
|
2414
2566
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
2415
|
-
|
|
2567
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
2416
2568
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
2417
2569
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
2418
2570
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -2430,18 +2582,20 @@ export type UserUncheckedCreateWithoutContractsInput = {
|
|
|
2430
2582
|
id?: string;
|
|
2431
2583
|
email: string;
|
|
2432
2584
|
password?: string | null;
|
|
2585
|
+
phone?: string | null;
|
|
2433
2586
|
firstName?: string | null;
|
|
2434
2587
|
lastName?: string | null;
|
|
2435
2588
|
isActive?: boolean;
|
|
2436
2589
|
isVerified?: boolean;
|
|
2437
2590
|
googleId?: string | null;
|
|
2438
2591
|
tenantId?: string | null;
|
|
2439
|
-
roleId?: string | null;
|
|
2440
2592
|
walletId?: string | null;
|
|
2441
2593
|
createdAt?: Date | string;
|
|
2442
2594
|
updatedAt?: Date | string;
|
|
2443
2595
|
emailVerifiedAt?: Date | string | null;
|
|
2596
|
+
emailVerificationToken?: string | null;
|
|
2444
2597
|
lastLoginAt?: Date | string | null;
|
|
2598
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
2445
2599
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
2446
2600
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
2447
2601
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -2462,6 +2616,7 @@ export type UserCreateWithoutSoldContractsInput = {
|
|
|
2462
2616
|
id?: string;
|
|
2463
2617
|
email: string;
|
|
2464
2618
|
password?: string | null;
|
|
2619
|
+
phone?: string | null;
|
|
2465
2620
|
firstName?: string | null;
|
|
2466
2621
|
lastName?: string | null;
|
|
2467
2622
|
isActive?: boolean;
|
|
@@ -2470,9 +2625,10 @@ export type UserCreateWithoutSoldContractsInput = {
|
|
|
2470
2625
|
createdAt?: Date | string;
|
|
2471
2626
|
updatedAt?: Date | string;
|
|
2472
2627
|
emailVerifiedAt?: Date | string | null;
|
|
2628
|
+
emailVerificationToken?: string | null;
|
|
2473
2629
|
lastLoginAt?: Date | string | null;
|
|
2474
2630
|
tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
|
|
2475
|
-
|
|
2631
|
+
userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
|
|
2476
2632
|
wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
|
|
2477
2633
|
refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
|
|
2478
2634
|
passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
|
|
@@ -2490,18 +2646,20 @@ export type UserUncheckedCreateWithoutSoldContractsInput = {
|
|
|
2490
2646
|
id?: string;
|
|
2491
2647
|
email: string;
|
|
2492
2648
|
password?: string | null;
|
|
2649
|
+
phone?: string | null;
|
|
2493
2650
|
firstName?: string | null;
|
|
2494
2651
|
lastName?: string | null;
|
|
2495
2652
|
isActive?: boolean;
|
|
2496
2653
|
isVerified?: boolean;
|
|
2497
2654
|
googleId?: string | null;
|
|
2498
2655
|
tenantId?: string | null;
|
|
2499
|
-
roleId?: string | null;
|
|
2500
2656
|
walletId?: string | null;
|
|
2501
2657
|
createdAt?: Date | string;
|
|
2502
2658
|
updatedAt?: Date | string;
|
|
2503
2659
|
emailVerifiedAt?: Date | string | null;
|
|
2660
|
+
emailVerificationToken?: string | null;
|
|
2504
2661
|
lastLoginAt?: Date | string | null;
|
|
2662
|
+
userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
|
|
2505
2663
|
refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
2506
2664
|
passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
|
|
2507
2665
|
suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
|
|
@@ -2531,6 +2689,7 @@ export type UserUpdateWithoutContractsInput = {
|
|
|
2531
2689
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2532
2690
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2533
2691
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2692
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2534
2693
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2535
2694
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2536
2695
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2539,9 +2698,10 @@ export type UserUpdateWithoutContractsInput = {
|
|
|
2539
2698
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2540
2699
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2541
2700
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2701
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2542
2702
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2543
2703
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2544
|
-
|
|
2704
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2545
2705
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2546
2706
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2547
2707
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2559,18 +2719,20 @@ export type UserUncheckedUpdateWithoutContractsInput = {
|
|
|
2559
2719
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2560
2720
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2561
2721
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2722
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2562
2723
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2563
2724
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2564
2725
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2565
2726
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2566
2727
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2567
2728
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2568
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2569
2729
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2570
2730
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2571
2731
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2572
2732
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2733
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2573
2734
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2735
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2574
2736
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2575
2737
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2576
2738
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2596,6 +2758,7 @@ export type UserUpdateWithoutSoldContractsInput = {
|
|
|
2596
2758
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2597
2759
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2598
2760
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2761
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2599
2762
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2600
2763
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2601
2764
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2604,9 +2767,10 @@ export type UserUpdateWithoutSoldContractsInput = {
|
|
|
2604
2767
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2605
2768
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2606
2769
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2770
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2607
2771
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2608
2772
|
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2609
|
-
|
|
2773
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2610
2774
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2611
2775
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2612
2776
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2624,18 +2788,20 @@ export type UserUncheckedUpdateWithoutSoldContractsInput = {
|
|
|
2624
2788
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2625
2789
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2626
2790
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2791
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2627
2792
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2628
2793
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2629
2794
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2630
2795
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2631
2796
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2632
2797
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2633
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2634
2798
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2635
2799
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2636
2800
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2637
2801
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2802
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2638
2803
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2804
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2639
2805
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2640
2806
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2641
2807
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2648,114 +2814,28 @@ export type UserUncheckedUpdateWithoutSoldContractsInput = {
|
|
|
2648
2814
|
contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
|
|
2649
2815
|
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
|
|
2650
2816
|
};
|
|
2651
|
-
export type UserCreateManyRoleInput = {
|
|
2652
|
-
id?: string;
|
|
2653
|
-
email: string;
|
|
2654
|
-
password?: string | null;
|
|
2655
|
-
firstName?: string | null;
|
|
2656
|
-
lastName?: string | null;
|
|
2657
|
-
isActive?: boolean;
|
|
2658
|
-
isVerified?: boolean;
|
|
2659
|
-
googleId?: string | null;
|
|
2660
|
-
tenantId?: string | null;
|
|
2661
|
-
walletId?: string | null;
|
|
2662
|
-
createdAt?: Date | string;
|
|
2663
|
-
updatedAt?: Date | string;
|
|
2664
|
-
emailVerifiedAt?: Date | string | null;
|
|
2665
|
-
lastLoginAt?: Date | string | null;
|
|
2666
|
-
};
|
|
2667
|
-
export type UserUpdateWithoutRoleInput = {
|
|
2668
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2669
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2670
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2671
|
-
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2672
|
-
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2673
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2674
|
-
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2675
|
-
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2676
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2677
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2678
|
-
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2679
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2680
|
-
tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
|
|
2681
|
-
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2682
|
-
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2683
|
-
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
2684
|
-
suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
|
|
2685
|
-
emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
|
|
2686
|
-
deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
|
|
2687
|
-
socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
|
|
2688
|
-
properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
|
|
2689
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
|
|
2690
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
|
|
2691
|
-
contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
|
|
2692
|
-
soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
|
|
2693
|
-
payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
|
|
2694
|
-
};
|
|
2695
|
-
export type UserUncheckedUpdateWithoutRoleInput = {
|
|
2696
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2697
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2698
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2699
|
-
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2700
|
-
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2701
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2702
|
-
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2703
|
-
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2704
|
-
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2705
|
-
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2706
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2707
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2708
|
-
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2709
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2710
|
-
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2711
|
-
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2712
|
-
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2713
|
-
emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
|
|
2714
|
-
deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
|
|
2715
|
-
socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
|
|
2716
|
-
properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2717
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
|
|
2718
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
|
|
2719
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
|
|
2720
|
-
soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
|
|
2721
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
|
|
2722
|
-
};
|
|
2723
|
-
export type UserUncheckedUpdateManyWithoutRoleInput = {
|
|
2724
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2725
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2726
|
-
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2727
|
-
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2728
|
-
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2729
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2730
|
-
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2731
|
-
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2732
|
-
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2733
|
-
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2734
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2735
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2736
|
-
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2737
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2738
|
-
};
|
|
2739
2817
|
export type UserCreateManyTenantInput = {
|
|
2740
2818
|
id?: string;
|
|
2741
2819
|
email: string;
|
|
2742
2820
|
password?: string | null;
|
|
2821
|
+
phone?: string | null;
|
|
2743
2822
|
firstName?: string | null;
|
|
2744
2823
|
lastName?: string | null;
|
|
2745
2824
|
isActive?: boolean;
|
|
2746
2825
|
isVerified?: boolean;
|
|
2747
2826
|
googleId?: string | null;
|
|
2748
|
-
roleId?: string | null;
|
|
2749
2827
|
walletId?: string | null;
|
|
2750
2828
|
createdAt?: Date | string;
|
|
2751
2829
|
updatedAt?: Date | string;
|
|
2752
2830
|
emailVerifiedAt?: Date | string | null;
|
|
2831
|
+
emailVerificationToken?: string | null;
|
|
2753
2832
|
lastLoginAt?: Date | string | null;
|
|
2754
2833
|
};
|
|
2755
2834
|
export type UserUpdateWithoutTenantInput = {
|
|
2756
2835
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2757
2836
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2758
2837
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2838
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2759
2839
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2760
2840
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2761
2841
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -2764,8 +2844,9 @@ export type UserUpdateWithoutTenantInput = {
|
|
|
2764
2844
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2765
2845
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2766
2846
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2847
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2767
2848
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2768
|
-
|
|
2849
|
+
userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
|
|
2769
2850
|
wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
|
|
2770
2851
|
refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
|
|
2771
2852
|
passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
|
|
@@ -2784,17 +2865,19 @@ export type UserUncheckedUpdateWithoutTenantInput = {
|
|
|
2784
2865
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2785
2866
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2786
2867
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2868
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2787
2869
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2788
2870
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2789
2871
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2790
2872
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2791
2873
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2792
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2793
2874
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2794
2875
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2795
2876
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2796
2877
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2878
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2797
2879
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2880
|
+
userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
|
|
2798
2881
|
refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
2799
2882
|
passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
|
|
2800
2883
|
suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
|
|
@@ -2812,22 +2895,24 @@ export type UserUncheckedUpdateManyWithoutTenantInput = {
|
|
|
2812
2895
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2813
2896
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2814
2897
|
password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2898
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2815
2899
|
firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2816
2900
|
lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2817
2901
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2818
2902
|
isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2819
2903
|
googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2820
|
-
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2821
2904
|
walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2822
2905
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2823
2906
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2824
2907
|
emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2908
|
+
emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2825
2909
|
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2826
2910
|
};
|
|
2827
2911
|
/**
|
|
2828
2912
|
* Count Type UserCountOutputType
|
|
2829
2913
|
*/
|
|
2830
2914
|
export type UserCountOutputType = {
|
|
2915
|
+
userRoles: number;
|
|
2831
2916
|
refreshTokens: number;
|
|
2832
2917
|
passwordResets: number;
|
|
2833
2918
|
suspensions: number;
|
|
@@ -2842,6 +2927,7 @@ export type UserCountOutputType = {
|
|
|
2842
2927
|
payments: number;
|
|
2843
2928
|
};
|
|
2844
2929
|
export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2930
|
+
userRoles?: boolean | UserCountOutputTypeCountUserRolesArgs;
|
|
2845
2931
|
refreshTokens?: boolean | UserCountOutputTypeCountRefreshTokensArgs;
|
|
2846
2932
|
passwordResets?: boolean | UserCountOutputTypeCountPasswordResetsArgs;
|
|
2847
2933
|
suspensions?: boolean | UserCountOutputTypeCountSuspensionsArgs;
|
|
@@ -2864,6 +2950,12 @@ export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
2864
2950
|
*/
|
|
2865
2951
|
select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null;
|
|
2866
2952
|
};
|
|
2953
|
+
/**
|
|
2954
|
+
* UserCountOutputType without action
|
|
2955
|
+
*/
|
|
2956
|
+
export type UserCountOutputTypeCountUserRolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2957
|
+
where?: Prisma.UserRoleWhereInput;
|
|
2958
|
+
};
|
|
2867
2959
|
/**
|
|
2868
2960
|
* UserCountOutputType without action
|
|
2869
2961
|
*/
|
|
@@ -2940,20 +3032,21 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
|
|
2940
3032
|
id?: boolean;
|
|
2941
3033
|
email?: boolean;
|
|
2942
3034
|
password?: boolean;
|
|
3035
|
+
phone?: boolean;
|
|
2943
3036
|
firstName?: boolean;
|
|
2944
3037
|
lastName?: boolean;
|
|
2945
3038
|
isActive?: boolean;
|
|
2946
3039
|
isVerified?: boolean;
|
|
2947
3040
|
googleId?: boolean;
|
|
2948
3041
|
tenantId?: boolean;
|
|
2949
|
-
roleId?: boolean;
|
|
2950
3042
|
walletId?: boolean;
|
|
2951
3043
|
createdAt?: boolean;
|
|
2952
3044
|
updatedAt?: boolean;
|
|
2953
3045
|
emailVerifiedAt?: boolean;
|
|
3046
|
+
emailVerificationToken?: boolean;
|
|
2954
3047
|
lastLoginAt?: boolean;
|
|
2955
3048
|
tenant?: boolean | Prisma.User$tenantArgs<ExtArgs>;
|
|
2956
|
-
|
|
3049
|
+
userRoles?: boolean | Prisma.User$userRolesArgs<ExtArgs>;
|
|
2957
3050
|
wallet?: boolean | Prisma.User$walletArgs<ExtArgs>;
|
|
2958
3051
|
refreshTokens?: boolean | Prisma.User$refreshTokensArgs<ExtArgs>;
|
|
2959
3052
|
passwordResets?: boolean | Prisma.User$passwordResetsArgs<ExtArgs>;
|
|
@@ -2973,23 +3066,24 @@ export type UserSelectScalar = {
|
|
|
2973
3066
|
id?: boolean;
|
|
2974
3067
|
email?: boolean;
|
|
2975
3068
|
password?: boolean;
|
|
3069
|
+
phone?: boolean;
|
|
2976
3070
|
firstName?: boolean;
|
|
2977
3071
|
lastName?: boolean;
|
|
2978
3072
|
isActive?: boolean;
|
|
2979
3073
|
isVerified?: boolean;
|
|
2980
3074
|
googleId?: boolean;
|
|
2981
3075
|
tenantId?: boolean;
|
|
2982
|
-
roleId?: boolean;
|
|
2983
3076
|
walletId?: boolean;
|
|
2984
3077
|
createdAt?: boolean;
|
|
2985
3078
|
updatedAt?: boolean;
|
|
2986
3079
|
emailVerifiedAt?: boolean;
|
|
3080
|
+
emailVerificationToken?: boolean;
|
|
2987
3081
|
lastLoginAt?: boolean;
|
|
2988
3082
|
};
|
|
2989
|
-
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "password" | "firstName" | "lastName" | "isActive" | "isVerified" | "googleId" | "tenantId" | "
|
|
3083
|
+
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "password" | "phone" | "firstName" | "lastName" | "isActive" | "isVerified" | "googleId" | "tenantId" | "walletId" | "createdAt" | "updatedAt" | "emailVerifiedAt" | "emailVerificationToken" | "lastLoginAt", ExtArgs["result"]["user"]>;
|
|
2990
3084
|
export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2991
3085
|
tenant?: boolean | Prisma.User$tenantArgs<ExtArgs>;
|
|
2992
|
-
|
|
3086
|
+
userRoles?: boolean | Prisma.User$userRolesArgs<ExtArgs>;
|
|
2993
3087
|
wallet?: boolean | Prisma.User$walletArgs<ExtArgs>;
|
|
2994
3088
|
refreshTokens?: boolean | Prisma.User$refreshTokensArgs<ExtArgs>;
|
|
2995
3089
|
passwordResets?: boolean | Prisma.User$passwordResetsArgs<ExtArgs>;
|
|
@@ -3009,7 +3103,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3009
3103
|
name: "User";
|
|
3010
3104
|
objects: {
|
|
3011
3105
|
tenant: Prisma.$TenantPayload<ExtArgs> | null;
|
|
3012
|
-
|
|
3106
|
+
userRoles: Prisma.$UserRolePayload<ExtArgs>[];
|
|
3013
3107
|
wallet: Prisma.$WalletPayload<ExtArgs> | null;
|
|
3014
3108
|
refreshTokens: Prisma.$RefreshTokenPayload<ExtArgs>[];
|
|
3015
3109
|
passwordResets: Prisma.$PasswordResetPayload<ExtArgs>[];
|
|
@@ -3028,17 +3122,18 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3028
3122
|
id: string;
|
|
3029
3123
|
email: string;
|
|
3030
3124
|
password: string | null;
|
|
3125
|
+
phone: string | null;
|
|
3031
3126
|
firstName: string | null;
|
|
3032
3127
|
lastName: string | null;
|
|
3033
3128
|
isActive: boolean;
|
|
3034
3129
|
isVerified: boolean;
|
|
3035
3130
|
googleId: string | null;
|
|
3036
3131
|
tenantId: string | null;
|
|
3037
|
-
roleId: string | null;
|
|
3038
3132
|
walletId: string | null;
|
|
3039
3133
|
createdAt: Date;
|
|
3040
3134
|
updatedAt: Date;
|
|
3041
3135
|
emailVerifiedAt: Date | null;
|
|
3136
|
+
emailVerificationToken: string | null;
|
|
3042
3137
|
lastLoginAt: Date | null;
|
|
3043
3138
|
}, ExtArgs["result"]["user"]>;
|
|
3044
3139
|
composites: {};
|
|
@@ -3318,7 +3413,7 @@ export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
3318
3413
|
export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
3319
3414
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
3320
3415
|
tenant<T extends Prisma.User$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
3321
|
-
|
|
3416
|
+
userRoles<T extends Prisma.User$userRolesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$userRolesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3322
3417
|
wallet<T extends Prisma.User$walletArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$walletArgs<ExtArgs>>): Prisma.Prisma__WalletClient<runtime.Types.Result.GetResult<Prisma.$WalletPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
3323
3418
|
refreshTokens<T extends Prisma.User$refreshTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$refreshTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RefreshTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3324
3419
|
passwordResets<T extends Prisma.User$passwordResetsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$passwordResetsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PasswordResetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -3360,17 +3455,18 @@ export interface UserFieldRefs {
|
|
|
3360
3455
|
readonly id: Prisma.FieldRef<"User", 'String'>;
|
|
3361
3456
|
readonly email: Prisma.FieldRef<"User", 'String'>;
|
|
3362
3457
|
readonly password: Prisma.FieldRef<"User", 'String'>;
|
|
3458
|
+
readonly phone: Prisma.FieldRef<"User", 'String'>;
|
|
3363
3459
|
readonly firstName: Prisma.FieldRef<"User", 'String'>;
|
|
3364
3460
|
readonly lastName: Prisma.FieldRef<"User", 'String'>;
|
|
3365
3461
|
readonly isActive: Prisma.FieldRef<"User", 'Boolean'>;
|
|
3366
3462
|
readonly isVerified: Prisma.FieldRef<"User", 'Boolean'>;
|
|
3367
3463
|
readonly googleId: Prisma.FieldRef<"User", 'String'>;
|
|
3368
3464
|
readonly tenantId: Prisma.FieldRef<"User", 'String'>;
|
|
3369
|
-
readonly roleId: Prisma.FieldRef<"User", 'String'>;
|
|
3370
3465
|
readonly walletId: Prisma.FieldRef<"User", 'String'>;
|
|
3371
3466
|
readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
3372
3467
|
readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
3373
3468
|
readonly emailVerifiedAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
3469
|
+
readonly emailVerificationToken: Prisma.FieldRef<"User", 'String'>;
|
|
3374
3470
|
readonly lastLoginAt: Prisma.FieldRef<"User", 'DateTime'>;
|
|
3375
3471
|
}
|
|
3376
3472
|
/**
|
|
@@ -3718,22 +3814,27 @@ export type User$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
3718
3814
|
where?: Prisma.TenantWhereInput;
|
|
3719
3815
|
};
|
|
3720
3816
|
/**
|
|
3721
|
-
* User.
|
|
3817
|
+
* User.userRoles
|
|
3722
3818
|
*/
|
|
3723
|
-
export type User$
|
|
3819
|
+
export type User$userRolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3724
3820
|
/**
|
|
3725
|
-
* Select specific fields to fetch from the
|
|
3821
|
+
* Select specific fields to fetch from the UserRole
|
|
3726
3822
|
*/
|
|
3727
|
-
select?: Prisma.
|
|
3823
|
+
select?: Prisma.UserRoleSelect<ExtArgs> | null;
|
|
3728
3824
|
/**
|
|
3729
|
-
* Omit specific fields from the
|
|
3825
|
+
* Omit specific fields from the UserRole
|
|
3730
3826
|
*/
|
|
3731
|
-
omit?: Prisma.
|
|
3827
|
+
omit?: Prisma.UserRoleOmit<ExtArgs> | null;
|
|
3732
3828
|
/**
|
|
3733
3829
|
* Choose, which related nodes to fetch as well
|
|
3734
3830
|
*/
|
|
3735
|
-
include?: Prisma.
|
|
3736
|
-
where?: Prisma.
|
|
3831
|
+
include?: Prisma.UserRoleInclude<ExtArgs> | null;
|
|
3832
|
+
where?: Prisma.UserRoleWhereInput;
|
|
3833
|
+
orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[];
|
|
3834
|
+
cursor?: Prisma.UserRoleWhereUniqueInput;
|
|
3835
|
+
take?: number;
|
|
3836
|
+
skip?: number;
|
|
3837
|
+
distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[];
|
|
3737
3838
|
};
|
|
3738
3839
|
/**
|
|
3739
3840
|
* User.wallet
|