@valentine-efagene/qshelter-common 2.0.4 → 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.
Files changed (94) hide show
  1. package/dist/generated/client/browser.d.ts +179 -0
  2. package/dist/generated/client/browser.js +17 -0
  3. package/dist/generated/client/client.d.ts +196 -0
  4. package/dist/generated/client/client.js +32 -0
  5. package/dist/generated/client/commonInputTypes.d.ts +403 -0
  6. package/dist/generated/client/commonInputTypes.js +10 -0
  7. package/dist/generated/client/enums.d.ts +1 -0
  8. package/dist/generated/client/enums.js +10 -0
  9. package/dist/generated/client/internal/class.d.ts +500 -0
  10. package/dist/generated/client/internal/class.js +40 -0
  11. package/dist/generated/client/internal/prismaNamespace.d.ts +3487 -0
  12. package/dist/generated/client/internal/prismaNamespace.js +724 -0
  13. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +753 -0
  14. package/dist/generated/client/internal/prismaNamespaceBrowser.js +695 -0
  15. package/dist/generated/client/models/Amenity.d.ts +1020 -0
  16. package/dist/generated/client/models/Amenity.js +1 -0
  17. package/dist/generated/client/models/Contract.d.ts +2099 -0
  18. package/dist/generated/client/models/Contract.js +1 -0
  19. package/dist/generated/client/models/ContractDocument.d.ts +1118 -0
  20. package/dist/generated/client/models/ContractDocument.js +1 -0
  21. package/dist/generated/client/models/DeviceEndpoint.d.ts +1118 -0
  22. package/dist/generated/client/models/DeviceEndpoint.js +1 -0
  23. package/dist/generated/client/models/EmailPreference.d.ts +1151 -0
  24. package/dist/generated/client/models/EmailPreference.js +1 -0
  25. package/dist/generated/client/models/Mortgage.d.ts +2777 -0
  26. package/dist/generated/client/models/Mortgage.js +1 -0
  27. package/dist/generated/client/models/MortgageDocument.d.ts +1118 -0
  28. package/dist/generated/client/models/MortgageDocument.js +1 -0
  29. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +1189 -0
  30. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +1 -0
  31. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +1189 -0
  32. package/dist/generated/client/models/MortgageDownpaymentPayment.js +1 -0
  33. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +1428 -0
  34. package/dist/generated/client/models/MortgageDownpaymentPlan.js +1 -0
  35. package/dist/generated/client/models/MortgageStep.d.ts +1222 -0
  36. package/dist/generated/client/models/MortgageStep.js +1 -0
  37. package/dist/generated/client/models/MortgageTransition.d.ts +1118 -0
  38. package/dist/generated/client/models/MortgageTransition.js +1 -0
  39. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +1052 -0
  40. package/dist/generated/client/models/MortgageTransitionEvent.js +1 -0
  41. package/dist/generated/client/models/MortgageType.d.ts +1052 -0
  42. package/dist/generated/client/models/MortgageType.js +1 -0
  43. package/dist/generated/client/models/PasswordReset.d.ts +1085 -0
  44. package/dist/generated/client/models/PasswordReset.js +1 -0
  45. package/dist/generated/client/models/Payment.d.ts +2026 -0
  46. package/dist/generated/client/models/Payment.js +1 -0
  47. package/dist/generated/client/models/PaymentInstallment.d.ts +1539 -0
  48. package/dist/generated/client/models/PaymentInstallment.js +1 -0
  49. package/dist/generated/client/models/PaymentPlan.d.ts +2148 -0
  50. package/dist/generated/client/models/PaymentPlan.js +1 -0
  51. package/dist/generated/client/models/PaymentSchedule.d.ts +1450 -0
  52. package/dist/generated/client/models/PaymentSchedule.js +1 -0
  53. package/dist/generated/client/models/Permission.d.ts +1115 -0
  54. package/dist/generated/client/models/Permission.js +1 -0
  55. package/dist/generated/client/models/Property.d.ts +3254 -0
  56. package/dist/generated/client/models/Property.js +1 -0
  57. package/dist/generated/client/models/PropertyAmenity.d.ts +1080 -0
  58. package/dist/generated/client/models/PropertyAmenity.js +1 -0
  59. package/dist/generated/client/models/PropertyDocument.d.ts +1118 -0
  60. package/dist/generated/client/models/PropertyDocument.js +1 -0
  61. package/dist/generated/client/models/PropertyMedia.d.ts +1331 -0
  62. package/dist/generated/client/models/PropertyMedia.js +1 -0
  63. package/dist/generated/client/models/RefreshToken.d.ts +1052 -0
  64. package/dist/generated/client/models/RefreshToken.js +1 -0
  65. package/dist/generated/client/models/Role.d.ts +1153 -0
  66. package/dist/generated/client/models/Role.js +1 -0
  67. package/dist/generated/client/models/RolePermission.d.ts +1080 -0
  68. package/dist/generated/client/models/RolePermission.js +1 -0
  69. package/dist/generated/client/models/Settings.d.ts +916 -0
  70. package/dist/generated/client/models/Settings.js +1 -0
  71. package/dist/generated/client/models/Social.d.ts +1090 -0
  72. package/dist/generated/client/models/Social.js +1 -0
  73. package/dist/generated/client/models/Tenant.d.ts +1082 -0
  74. package/dist/generated/client/models/Tenant.js +1 -0
  75. package/dist/generated/client/models/Transaction.d.ts +1222 -0
  76. package/dist/generated/client/models/Transaction.js +1 -0
  77. package/dist/generated/client/models/User.d.ts +4150 -0
  78. package/dist/generated/client/models/User.js +1 -0
  79. package/dist/generated/client/models/UserRole.d.ts +1080 -0
  80. package/dist/generated/client/models/UserRole.js +1 -0
  81. package/dist/generated/client/models/UserSuspension.d.ts +1085 -0
  82. package/dist/generated/client/models/UserSuspension.js +1 -0
  83. package/dist/generated/client/models/Wallet.d.ts +1191 -0
  84. package/dist/generated/client/models/Wallet.js +1 -0
  85. package/dist/generated/client/models/index.d.ts +34 -0
  86. package/dist/generated/client/models/index.js +34 -0
  87. package/dist/generated/client/models.d.ts +36 -0
  88. package/dist/generated/client/models.js +1 -0
  89. package/dist/index.d.ts +2 -0
  90. package/dist/index.js +2 -0
  91. package/package.json +2 -1
  92. package/prisma/schema.prisma +39 -27
  93. package/dist/types/prisma.d.ts +0 -2
  94. package/dist/types/prisma.js +0 -2
@@ -0,0 +1,4150 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model User
5
+ *
6
+ */
7
+ export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload>;
8
+ export type AggregateUser = {
9
+ _count: UserCountAggregateOutputType | null;
10
+ _min: UserMinAggregateOutputType | null;
11
+ _max: UserMaxAggregateOutputType | null;
12
+ };
13
+ export type UserMinAggregateOutputType = {
14
+ id: string | null;
15
+ email: string | null;
16
+ password: string | null;
17
+ phone: string | null;
18
+ firstName: string | null;
19
+ lastName: string | null;
20
+ isActive: boolean | null;
21
+ isVerified: boolean | null;
22
+ googleId: string | null;
23
+ tenantId: string | null;
24
+ walletId: string | null;
25
+ createdAt: Date | null;
26
+ updatedAt: Date | null;
27
+ emailVerifiedAt: Date | null;
28
+ emailVerificationToken: string | null;
29
+ lastLoginAt: Date | null;
30
+ };
31
+ export type UserMaxAggregateOutputType = {
32
+ id: string | null;
33
+ email: string | null;
34
+ password: string | null;
35
+ phone: string | null;
36
+ firstName: string | null;
37
+ lastName: string | null;
38
+ isActive: boolean | null;
39
+ isVerified: boolean | null;
40
+ googleId: string | null;
41
+ tenantId: string | null;
42
+ walletId: string | null;
43
+ createdAt: Date | null;
44
+ updatedAt: Date | null;
45
+ emailVerifiedAt: Date | null;
46
+ emailVerificationToken: string | null;
47
+ lastLoginAt: Date | null;
48
+ };
49
+ export type UserCountAggregateOutputType = {
50
+ id: number;
51
+ email: number;
52
+ password: number;
53
+ phone: number;
54
+ firstName: number;
55
+ lastName: number;
56
+ isActive: number;
57
+ isVerified: number;
58
+ googleId: number;
59
+ tenantId: number;
60
+ walletId: number;
61
+ createdAt: number;
62
+ updatedAt: number;
63
+ emailVerifiedAt: number;
64
+ emailVerificationToken: number;
65
+ lastLoginAt: number;
66
+ _all: number;
67
+ };
68
+ export type UserMinAggregateInputType = {
69
+ id?: true;
70
+ email?: true;
71
+ password?: true;
72
+ phone?: true;
73
+ firstName?: true;
74
+ lastName?: true;
75
+ isActive?: true;
76
+ isVerified?: true;
77
+ googleId?: true;
78
+ tenantId?: true;
79
+ walletId?: true;
80
+ createdAt?: true;
81
+ updatedAt?: true;
82
+ emailVerifiedAt?: true;
83
+ emailVerificationToken?: true;
84
+ lastLoginAt?: true;
85
+ };
86
+ export type UserMaxAggregateInputType = {
87
+ id?: true;
88
+ email?: true;
89
+ password?: true;
90
+ phone?: true;
91
+ firstName?: true;
92
+ lastName?: true;
93
+ isActive?: true;
94
+ isVerified?: true;
95
+ googleId?: true;
96
+ tenantId?: true;
97
+ walletId?: true;
98
+ createdAt?: true;
99
+ updatedAt?: true;
100
+ emailVerifiedAt?: true;
101
+ emailVerificationToken?: true;
102
+ lastLoginAt?: true;
103
+ };
104
+ export type UserCountAggregateInputType = {
105
+ id?: true;
106
+ email?: true;
107
+ password?: true;
108
+ phone?: true;
109
+ firstName?: true;
110
+ lastName?: true;
111
+ isActive?: true;
112
+ isVerified?: true;
113
+ googleId?: true;
114
+ tenantId?: true;
115
+ walletId?: true;
116
+ createdAt?: true;
117
+ updatedAt?: true;
118
+ emailVerifiedAt?: true;
119
+ emailVerificationToken?: true;
120
+ lastLoginAt?: true;
121
+ _all?: true;
122
+ };
123
+ export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
124
+ /**
125
+ * Filter which User to aggregate.
126
+ */
127
+ where?: Prisma.UserWhereInput;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
130
+ *
131
+ * Determine the order of Users to fetch.
132
+ */
133
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
136
+ *
137
+ * Sets the start position
138
+ */
139
+ cursor?: Prisma.UserWhereUniqueInput;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
142
+ *
143
+ * Take `±n` Users from the position of the cursor.
144
+ */
145
+ take?: number;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
148
+ *
149
+ * Skip the first `n` Users.
150
+ */
151
+ skip?: number;
152
+ /**
153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
+ *
155
+ * Count returned Users
156
+ **/
157
+ _count?: true | UserCountAggregateInputType;
158
+ /**
159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
160
+ *
161
+ * Select which fields to find the minimum value
162
+ **/
163
+ _min?: UserMinAggregateInputType;
164
+ /**
165
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
166
+ *
167
+ * Select which fields to find the maximum value
168
+ **/
169
+ _max?: UserMaxAggregateInputType;
170
+ };
171
+ export type GetUserAggregateType<T extends UserAggregateArgs> = {
172
+ [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateUser[P]> : Prisma.GetScalarType<T[P], AggregateUser[P]>;
173
+ };
174
+ export type UserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
175
+ where?: Prisma.UserWhereInput;
176
+ orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[];
177
+ by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum;
178
+ having?: Prisma.UserScalarWhereWithAggregatesInput;
179
+ take?: number;
180
+ skip?: number;
181
+ _count?: UserCountAggregateInputType | true;
182
+ _min?: UserMinAggregateInputType;
183
+ _max?: UserMaxAggregateInputType;
184
+ };
185
+ export type UserGroupByOutputType = {
186
+ id: string;
187
+ email: string;
188
+ password: string | null;
189
+ phone: string | null;
190
+ firstName: string | null;
191
+ lastName: string | null;
192
+ isActive: boolean;
193
+ isVerified: boolean;
194
+ googleId: string | null;
195
+ tenantId: string | null;
196
+ walletId: string | null;
197
+ createdAt: Date;
198
+ updatedAt: Date;
199
+ emailVerifiedAt: Date | null;
200
+ emailVerificationToken: string | null;
201
+ lastLoginAt: Date | null;
202
+ _count: UserCountAggregateOutputType | null;
203
+ _min: UserMinAggregateOutputType | null;
204
+ _max: UserMaxAggregateOutputType | null;
205
+ };
206
+ type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<UserGroupByOutputType, T['by']> & {
207
+ [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]> : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>;
208
+ }>>;
209
+ export type UserWhereInput = {
210
+ AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[];
211
+ OR?: Prisma.UserWhereInput[];
212
+ NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[];
213
+ id?: Prisma.StringFilter<"User"> | string;
214
+ email?: Prisma.StringFilter<"User"> | string;
215
+ password?: Prisma.StringNullableFilter<"User"> | string | null;
216
+ phone?: Prisma.StringNullableFilter<"User"> | string | null;
217
+ firstName?: Prisma.StringNullableFilter<"User"> | string | null;
218
+ lastName?: Prisma.StringNullableFilter<"User"> | string | null;
219
+ isActive?: Prisma.BoolFilter<"User"> | boolean;
220
+ isVerified?: Prisma.BoolFilter<"User"> | boolean;
221
+ googleId?: Prisma.StringNullableFilter<"User"> | string | null;
222
+ tenantId?: Prisma.StringNullableFilter<"User"> | string | null;
223
+ walletId?: Prisma.StringNullableFilter<"User"> | string | null;
224
+ createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
225
+ updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
226
+ emailVerifiedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
227
+ emailVerificationToken?: Prisma.StringNullableFilter<"User"> | string | null;
228
+ lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
229
+ tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
230
+ userRoles?: Prisma.UserRoleListRelationFilter;
231
+ wallet?: Prisma.XOR<Prisma.WalletNullableScalarRelationFilter, Prisma.WalletWhereInput> | null;
232
+ refreshTokens?: Prisma.RefreshTokenListRelationFilter;
233
+ passwordResets?: Prisma.PasswordResetListRelationFilter;
234
+ suspensions?: Prisma.UserSuspensionListRelationFilter;
235
+ emailPreferences?: Prisma.EmailPreferenceListRelationFilter;
236
+ deviceEndpoints?: Prisma.DeviceEndpointListRelationFilter;
237
+ socials?: Prisma.SocialListRelationFilter;
238
+ properties?: Prisma.PropertyListRelationFilter;
239
+ mortgages?: Prisma.MortgageListRelationFilter;
240
+ paymentPlans?: Prisma.PaymentPlanListRelationFilter;
241
+ contracts?: Prisma.ContractListRelationFilter;
242
+ soldContracts?: Prisma.ContractListRelationFilter;
243
+ payments?: Prisma.PaymentListRelationFilter;
244
+ };
245
+ export type UserOrderByWithRelationInput = {
246
+ id?: Prisma.SortOrder;
247
+ email?: Prisma.SortOrder;
248
+ password?: Prisma.SortOrderInput | Prisma.SortOrder;
249
+ phone?: Prisma.SortOrderInput | Prisma.SortOrder;
250
+ firstName?: Prisma.SortOrderInput | Prisma.SortOrder;
251
+ lastName?: Prisma.SortOrderInput | Prisma.SortOrder;
252
+ isActive?: Prisma.SortOrder;
253
+ isVerified?: Prisma.SortOrder;
254
+ googleId?: Prisma.SortOrderInput | Prisma.SortOrder;
255
+ tenantId?: Prisma.SortOrderInput | Prisma.SortOrder;
256
+ walletId?: Prisma.SortOrderInput | Prisma.SortOrder;
257
+ createdAt?: Prisma.SortOrder;
258
+ updatedAt?: Prisma.SortOrder;
259
+ emailVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
260
+ emailVerificationToken?: Prisma.SortOrderInput | Prisma.SortOrder;
261
+ lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder;
262
+ tenant?: Prisma.TenantOrderByWithRelationInput;
263
+ userRoles?: Prisma.UserRoleOrderByRelationAggregateInput;
264
+ wallet?: Prisma.WalletOrderByWithRelationInput;
265
+ refreshTokens?: Prisma.RefreshTokenOrderByRelationAggregateInput;
266
+ passwordResets?: Prisma.PasswordResetOrderByRelationAggregateInput;
267
+ suspensions?: Prisma.UserSuspensionOrderByRelationAggregateInput;
268
+ emailPreferences?: Prisma.EmailPreferenceOrderByRelationAggregateInput;
269
+ deviceEndpoints?: Prisma.DeviceEndpointOrderByRelationAggregateInput;
270
+ socials?: Prisma.SocialOrderByRelationAggregateInput;
271
+ properties?: Prisma.PropertyOrderByRelationAggregateInput;
272
+ mortgages?: Prisma.MortgageOrderByRelationAggregateInput;
273
+ paymentPlans?: Prisma.PaymentPlanOrderByRelationAggregateInput;
274
+ contracts?: Prisma.ContractOrderByRelationAggregateInput;
275
+ soldContracts?: Prisma.ContractOrderByRelationAggregateInput;
276
+ payments?: Prisma.PaymentOrderByRelationAggregateInput;
277
+ _relevance?: Prisma.UserOrderByRelevanceInput;
278
+ };
279
+ export type UserWhereUniqueInput = Prisma.AtLeast<{
280
+ id?: string;
281
+ email?: string;
282
+ phone?: string;
283
+ googleId?: string;
284
+ walletId?: string;
285
+ AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[];
286
+ OR?: Prisma.UserWhereInput[];
287
+ NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[];
288
+ password?: Prisma.StringNullableFilter<"User"> | string | null;
289
+ firstName?: Prisma.StringNullableFilter<"User"> | string | null;
290
+ lastName?: Prisma.StringNullableFilter<"User"> | string | null;
291
+ isActive?: Prisma.BoolFilter<"User"> | boolean;
292
+ isVerified?: Prisma.BoolFilter<"User"> | boolean;
293
+ tenantId?: Prisma.StringNullableFilter<"User"> | string | null;
294
+ createdAt?: Prisma.DateTimeFilter<"User"> | Date | string;
295
+ updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string;
296
+ emailVerifiedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
297
+ emailVerificationToken?: Prisma.StringNullableFilter<"User"> | string | null;
298
+ lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null;
299
+ tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
300
+ userRoles?: Prisma.UserRoleListRelationFilter;
301
+ wallet?: Prisma.XOR<Prisma.WalletNullableScalarRelationFilter, Prisma.WalletWhereInput> | null;
302
+ refreshTokens?: Prisma.RefreshTokenListRelationFilter;
303
+ passwordResets?: Prisma.PasswordResetListRelationFilter;
304
+ suspensions?: Prisma.UserSuspensionListRelationFilter;
305
+ emailPreferences?: Prisma.EmailPreferenceListRelationFilter;
306
+ deviceEndpoints?: Prisma.DeviceEndpointListRelationFilter;
307
+ socials?: Prisma.SocialListRelationFilter;
308
+ properties?: Prisma.PropertyListRelationFilter;
309
+ mortgages?: Prisma.MortgageListRelationFilter;
310
+ paymentPlans?: Prisma.PaymentPlanListRelationFilter;
311
+ contracts?: Prisma.ContractListRelationFilter;
312
+ soldContracts?: Prisma.ContractListRelationFilter;
313
+ payments?: Prisma.PaymentListRelationFilter;
314
+ }, "id" | "email" | "phone" | "googleId" | "walletId">;
315
+ export type UserOrderByWithAggregationInput = {
316
+ id?: Prisma.SortOrder;
317
+ email?: Prisma.SortOrder;
318
+ password?: Prisma.SortOrderInput | Prisma.SortOrder;
319
+ phone?: Prisma.SortOrderInput | Prisma.SortOrder;
320
+ firstName?: Prisma.SortOrderInput | Prisma.SortOrder;
321
+ lastName?: Prisma.SortOrderInput | Prisma.SortOrder;
322
+ isActive?: Prisma.SortOrder;
323
+ isVerified?: Prisma.SortOrder;
324
+ googleId?: Prisma.SortOrderInput | Prisma.SortOrder;
325
+ tenantId?: Prisma.SortOrderInput | Prisma.SortOrder;
326
+ walletId?: Prisma.SortOrderInput | Prisma.SortOrder;
327
+ createdAt?: Prisma.SortOrder;
328
+ updatedAt?: Prisma.SortOrder;
329
+ emailVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
330
+ emailVerificationToken?: Prisma.SortOrderInput | Prisma.SortOrder;
331
+ lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder;
332
+ _count?: Prisma.UserCountOrderByAggregateInput;
333
+ _max?: Prisma.UserMaxOrderByAggregateInput;
334
+ _min?: Prisma.UserMinOrderByAggregateInput;
335
+ };
336
+ export type UserScalarWhereWithAggregatesInput = {
337
+ AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[];
338
+ OR?: Prisma.UserScalarWhereWithAggregatesInput[];
339
+ NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[];
340
+ id?: Prisma.StringWithAggregatesFilter<"User"> | string;
341
+ email?: Prisma.StringWithAggregatesFilter<"User"> | string;
342
+ password?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
343
+ phone?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
344
+ firstName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
345
+ lastName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
346
+ isActive?: Prisma.BoolWithAggregatesFilter<"User"> | boolean;
347
+ isVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean;
348
+ googleId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
349
+ tenantId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
350
+ walletId?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
351
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
352
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string;
353
+ emailVerifiedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null;
354
+ emailVerificationToken?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null;
355
+ lastLoginAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null;
356
+ };
357
+ export type UserCreateInput = {
358
+ id?: string;
359
+ email: string;
360
+ password?: string | null;
361
+ phone?: string | null;
362
+ firstName?: string | null;
363
+ lastName?: string | null;
364
+ isActive?: boolean;
365
+ isVerified?: boolean;
366
+ googleId?: string | null;
367
+ createdAt?: Date | string;
368
+ updatedAt?: Date | string;
369
+ emailVerifiedAt?: Date | string | null;
370
+ emailVerificationToken?: string | null;
371
+ lastLoginAt?: Date | string | null;
372
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
373
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
374
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
375
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
376
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
377
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
378
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
379
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
380
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
381
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
382
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
383
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
384
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
385
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
386
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
387
+ };
388
+ export type UserUncheckedCreateInput = {
389
+ id?: string;
390
+ email: string;
391
+ password?: string | null;
392
+ phone?: string | null;
393
+ firstName?: string | null;
394
+ lastName?: string | null;
395
+ isActive?: boolean;
396
+ isVerified?: boolean;
397
+ googleId?: string | null;
398
+ tenantId?: string | null;
399
+ walletId?: string | null;
400
+ createdAt?: Date | string;
401
+ updatedAt?: Date | string;
402
+ emailVerifiedAt?: Date | string | null;
403
+ emailVerificationToken?: string | null;
404
+ lastLoginAt?: Date | string | null;
405
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
406
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
407
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
408
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
409
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
410
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
411
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
412
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
413
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
414
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
415
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
416
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
417
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
418
+ };
419
+ export type UserUpdateInput = {
420
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
421
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
422
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
423
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
424
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
425
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
426
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
427
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
428
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
429
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
430
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
431
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
432
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
433
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
434
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
435
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
436
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
437
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
438
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
439
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
440
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
441
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
442
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
443
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
444
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
445
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
446
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
447
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
448
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
449
+ };
450
+ export type UserUncheckedUpdateInput = {
451
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
452
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
453
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
454
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
455
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
456
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
457
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
458
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
459
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
460
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
461
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
462
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
463
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
464
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
465
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
466
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
467
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
468
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
469
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
470
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
471
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
472
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
473
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
474
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
475
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
476
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
477
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
478
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
479
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
480
+ };
481
+ export type UserCreateManyInput = {
482
+ id?: string;
483
+ email: string;
484
+ password?: string | null;
485
+ phone?: string | null;
486
+ firstName?: string | null;
487
+ lastName?: string | null;
488
+ isActive?: boolean;
489
+ isVerified?: boolean;
490
+ googleId?: string | null;
491
+ tenantId?: string | null;
492
+ walletId?: string | null;
493
+ createdAt?: Date | string;
494
+ updatedAt?: Date | string;
495
+ emailVerifiedAt?: Date | string | null;
496
+ emailVerificationToken?: string | null;
497
+ lastLoginAt?: Date | string | null;
498
+ };
499
+ export type UserUpdateManyMutationInput = {
500
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
501
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
502
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
503
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
505
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
506
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
507
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
508
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
509
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
510
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
511
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
512
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
513
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
514
+ };
515
+ export type UserUncheckedUpdateManyInput = {
516
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
517
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
519
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
520
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
521
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
522
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
523
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
524
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
525
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
526
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
527
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
528
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
529
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
530
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
531
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
532
+ };
533
+ export type UserOrderByRelevanceInput = {
534
+ fields: Prisma.UserOrderByRelevanceFieldEnum | Prisma.UserOrderByRelevanceFieldEnum[];
535
+ sort: Prisma.SortOrder;
536
+ search: string;
537
+ };
538
+ export type UserCountOrderByAggregateInput = {
539
+ id?: Prisma.SortOrder;
540
+ email?: Prisma.SortOrder;
541
+ password?: Prisma.SortOrder;
542
+ phone?: Prisma.SortOrder;
543
+ firstName?: Prisma.SortOrder;
544
+ lastName?: Prisma.SortOrder;
545
+ isActive?: Prisma.SortOrder;
546
+ isVerified?: Prisma.SortOrder;
547
+ googleId?: Prisma.SortOrder;
548
+ tenantId?: Prisma.SortOrder;
549
+ walletId?: Prisma.SortOrder;
550
+ createdAt?: Prisma.SortOrder;
551
+ updatedAt?: Prisma.SortOrder;
552
+ emailVerifiedAt?: Prisma.SortOrder;
553
+ emailVerificationToken?: Prisma.SortOrder;
554
+ lastLoginAt?: Prisma.SortOrder;
555
+ };
556
+ export type UserMaxOrderByAggregateInput = {
557
+ id?: Prisma.SortOrder;
558
+ email?: Prisma.SortOrder;
559
+ password?: Prisma.SortOrder;
560
+ phone?: Prisma.SortOrder;
561
+ firstName?: Prisma.SortOrder;
562
+ lastName?: Prisma.SortOrder;
563
+ isActive?: Prisma.SortOrder;
564
+ isVerified?: Prisma.SortOrder;
565
+ googleId?: Prisma.SortOrder;
566
+ tenantId?: Prisma.SortOrder;
567
+ walletId?: Prisma.SortOrder;
568
+ createdAt?: Prisma.SortOrder;
569
+ updatedAt?: Prisma.SortOrder;
570
+ emailVerifiedAt?: Prisma.SortOrder;
571
+ emailVerificationToken?: Prisma.SortOrder;
572
+ lastLoginAt?: Prisma.SortOrder;
573
+ };
574
+ export type UserMinOrderByAggregateInput = {
575
+ id?: Prisma.SortOrder;
576
+ email?: Prisma.SortOrder;
577
+ password?: Prisma.SortOrder;
578
+ phone?: Prisma.SortOrder;
579
+ firstName?: Prisma.SortOrder;
580
+ lastName?: Prisma.SortOrder;
581
+ isActive?: Prisma.SortOrder;
582
+ isVerified?: Prisma.SortOrder;
583
+ googleId?: Prisma.SortOrder;
584
+ tenantId?: Prisma.SortOrder;
585
+ walletId?: Prisma.SortOrder;
586
+ createdAt?: Prisma.SortOrder;
587
+ updatedAt?: Prisma.SortOrder;
588
+ emailVerifiedAt?: Prisma.SortOrder;
589
+ emailVerificationToken?: Prisma.SortOrder;
590
+ lastLoginAt?: Prisma.SortOrder;
591
+ };
592
+ export type UserScalarRelationFilter = {
593
+ is?: Prisma.UserWhereInput;
594
+ isNot?: Prisma.UserWhereInput;
595
+ };
596
+ export type UserListRelationFilter = {
597
+ every?: Prisma.UserWhereInput;
598
+ some?: Prisma.UserWhereInput;
599
+ none?: Prisma.UserWhereInput;
600
+ };
601
+ export type UserOrderByRelationAggregateInput = {
602
+ _count?: Prisma.SortOrder;
603
+ };
604
+ export type UserNullableScalarRelationFilter = {
605
+ is?: Prisma.UserWhereInput | null;
606
+ isNot?: Prisma.UserWhereInput | null;
607
+ };
608
+ export type StringFieldUpdateOperationsInput = {
609
+ set?: string;
610
+ };
611
+ export type NullableStringFieldUpdateOperationsInput = {
612
+ set?: string | null;
613
+ };
614
+ export type BoolFieldUpdateOperationsInput = {
615
+ set?: boolean;
616
+ };
617
+ export type DateTimeFieldUpdateOperationsInput = {
618
+ set?: Date | string;
619
+ };
620
+ export type NullableDateTimeFieldUpdateOperationsInput = {
621
+ set?: Date | string | null;
622
+ };
623
+ export type UserCreateNestedOneWithoutUserRolesInput = {
624
+ create?: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
625
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserRolesInput;
626
+ connect?: Prisma.UserWhereUniqueInput;
627
+ };
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>;
634
+ };
635
+ export type UserCreateNestedManyWithoutTenantInput = {
636
+ create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
637
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutTenantInput | Prisma.UserCreateOrConnectWithoutTenantInput[];
638
+ createMany?: Prisma.UserCreateManyTenantInputEnvelope;
639
+ connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
640
+ };
641
+ export type UserUncheckedCreateNestedManyWithoutTenantInput = {
642
+ create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
643
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutTenantInput | Prisma.UserCreateOrConnectWithoutTenantInput[];
644
+ createMany?: Prisma.UserCreateManyTenantInputEnvelope;
645
+ connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
646
+ };
647
+ export type UserUpdateManyWithoutTenantNestedInput = {
648
+ create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
649
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutTenantInput | Prisma.UserCreateOrConnectWithoutTenantInput[];
650
+ upsert?: Prisma.UserUpsertWithWhereUniqueWithoutTenantInput | Prisma.UserUpsertWithWhereUniqueWithoutTenantInput[];
651
+ createMany?: Prisma.UserCreateManyTenantInputEnvelope;
652
+ set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
653
+ disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
654
+ delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
655
+ connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
656
+ update?: Prisma.UserUpdateWithWhereUniqueWithoutTenantInput | Prisma.UserUpdateWithWhereUniqueWithoutTenantInput[];
657
+ updateMany?: Prisma.UserUpdateManyWithWhereWithoutTenantInput | Prisma.UserUpdateManyWithWhereWithoutTenantInput[];
658
+ deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
659
+ };
660
+ export type UserUncheckedUpdateManyWithoutTenantNestedInput = {
661
+ create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
662
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutTenantInput | Prisma.UserCreateOrConnectWithoutTenantInput[];
663
+ upsert?: Prisma.UserUpsertWithWhereUniqueWithoutTenantInput | Prisma.UserUpsertWithWhereUniqueWithoutTenantInput[];
664
+ createMany?: Prisma.UserCreateManyTenantInputEnvelope;
665
+ set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
666
+ disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
667
+ delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
668
+ connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[];
669
+ update?: Prisma.UserUpdateWithWhereUniqueWithoutTenantInput | Prisma.UserUpdateWithWhereUniqueWithoutTenantInput[];
670
+ updateMany?: Prisma.UserUpdateManyWithWhereWithoutTenantInput | Prisma.UserUpdateManyWithWhereWithoutTenantInput[];
671
+ deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[];
672
+ };
673
+ export type UserCreateNestedOneWithoutRefreshTokensInput = {
674
+ create?: Prisma.XOR<Prisma.UserCreateWithoutRefreshTokensInput, Prisma.UserUncheckedCreateWithoutRefreshTokensInput>;
675
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutRefreshTokensInput;
676
+ connect?: Prisma.UserWhereUniqueInput;
677
+ };
678
+ export type UserUpdateOneRequiredWithoutRefreshTokensNestedInput = {
679
+ create?: Prisma.XOR<Prisma.UserCreateWithoutRefreshTokensInput, Prisma.UserUncheckedCreateWithoutRefreshTokensInput>;
680
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutRefreshTokensInput;
681
+ upsert?: Prisma.UserUpsertWithoutRefreshTokensInput;
682
+ connect?: Prisma.UserWhereUniqueInput;
683
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutRefreshTokensInput, Prisma.UserUpdateWithoutRefreshTokensInput>, Prisma.UserUncheckedUpdateWithoutRefreshTokensInput>;
684
+ };
685
+ export type UserCreateNestedOneWithoutPasswordResetsInput = {
686
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPasswordResetsInput, Prisma.UserUncheckedCreateWithoutPasswordResetsInput>;
687
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPasswordResetsInput;
688
+ connect?: Prisma.UserWhereUniqueInput;
689
+ };
690
+ export type UserUpdateOneRequiredWithoutPasswordResetsNestedInput = {
691
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPasswordResetsInput, Prisma.UserUncheckedCreateWithoutPasswordResetsInput>;
692
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPasswordResetsInput;
693
+ upsert?: Prisma.UserUpsertWithoutPasswordResetsInput;
694
+ connect?: Prisma.UserWhereUniqueInput;
695
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutPasswordResetsInput, Prisma.UserUpdateWithoutPasswordResetsInput>, Prisma.UserUncheckedUpdateWithoutPasswordResetsInput>;
696
+ };
697
+ export type UserCreateNestedOneWithoutSuspensionsInput = {
698
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSuspensionsInput, Prisma.UserUncheckedCreateWithoutSuspensionsInput>;
699
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSuspensionsInput;
700
+ connect?: Prisma.UserWhereUniqueInput;
701
+ };
702
+ export type UserUpdateOneRequiredWithoutSuspensionsNestedInput = {
703
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSuspensionsInput, Prisma.UserUncheckedCreateWithoutSuspensionsInput>;
704
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSuspensionsInput;
705
+ upsert?: Prisma.UserUpsertWithoutSuspensionsInput;
706
+ connect?: Prisma.UserWhereUniqueInput;
707
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSuspensionsInput, Prisma.UserUpdateWithoutSuspensionsInput>, Prisma.UserUncheckedUpdateWithoutSuspensionsInput>;
708
+ };
709
+ export type UserCreateNestedOneWithoutEmailPreferencesInput = {
710
+ create?: Prisma.XOR<Prisma.UserCreateWithoutEmailPreferencesInput, Prisma.UserUncheckedCreateWithoutEmailPreferencesInput>;
711
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutEmailPreferencesInput;
712
+ connect?: Prisma.UserWhereUniqueInput;
713
+ };
714
+ export type UserUpdateOneRequiredWithoutEmailPreferencesNestedInput = {
715
+ create?: Prisma.XOR<Prisma.UserCreateWithoutEmailPreferencesInput, Prisma.UserUncheckedCreateWithoutEmailPreferencesInput>;
716
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutEmailPreferencesInput;
717
+ upsert?: Prisma.UserUpsertWithoutEmailPreferencesInput;
718
+ connect?: Prisma.UserWhereUniqueInput;
719
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutEmailPreferencesInput, Prisma.UserUpdateWithoutEmailPreferencesInput>, Prisma.UserUncheckedUpdateWithoutEmailPreferencesInput>;
720
+ };
721
+ export type UserCreateNestedOneWithoutDeviceEndpointsInput = {
722
+ create?: Prisma.XOR<Prisma.UserCreateWithoutDeviceEndpointsInput, Prisma.UserUncheckedCreateWithoutDeviceEndpointsInput>;
723
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutDeviceEndpointsInput;
724
+ connect?: Prisma.UserWhereUniqueInput;
725
+ };
726
+ export type UserUpdateOneRequiredWithoutDeviceEndpointsNestedInput = {
727
+ create?: Prisma.XOR<Prisma.UserCreateWithoutDeviceEndpointsInput, Prisma.UserUncheckedCreateWithoutDeviceEndpointsInput>;
728
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutDeviceEndpointsInput;
729
+ upsert?: Prisma.UserUpsertWithoutDeviceEndpointsInput;
730
+ connect?: Prisma.UserWhereUniqueInput;
731
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutDeviceEndpointsInput, Prisma.UserUpdateWithoutDeviceEndpointsInput>, Prisma.UserUncheckedUpdateWithoutDeviceEndpointsInput>;
732
+ };
733
+ export type UserCreateNestedOneWithoutSocialsInput = {
734
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSocialsInput, Prisma.UserUncheckedCreateWithoutSocialsInput>;
735
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSocialsInput;
736
+ connect?: Prisma.UserWhereUniqueInput;
737
+ };
738
+ export type UserUpdateOneRequiredWithoutSocialsNestedInput = {
739
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSocialsInput, Prisma.UserUncheckedCreateWithoutSocialsInput>;
740
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSocialsInput;
741
+ upsert?: Prisma.UserUpsertWithoutSocialsInput;
742
+ connect?: Prisma.UserWhereUniqueInput;
743
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSocialsInput, Prisma.UserUpdateWithoutSocialsInput>, Prisma.UserUncheckedUpdateWithoutSocialsInput>;
744
+ };
745
+ export type UserCreateNestedOneWithoutWalletInput = {
746
+ create?: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
747
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutWalletInput;
748
+ connect?: Prisma.UserWhereUniqueInput;
749
+ };
750
+ export type UserUncheckedCreateNestedOneWithoutWalletInput = {
751
+ create?: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
752
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutWalletInput;
753
+ connect?: Prisma.UserWhereUniqueInput;
754
+ };
755
+ export type UserUpdateOneWithoutWalletNestedInput = {
756
+ create?: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
757
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutWalletInput;
758
+ upsert?: Prisma.UserUpsertWithoutWalletInput;
759
+ disconnect?: Prisma.UserWhereInput | boolean;
760
+ delete?: Prisma.UserWhereInput | boolean;
761
+ connect?: Prisma.UserWhereUniqueInput;
762
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutWalletInput, Prisma.UserUpdateWithoutWalletInput>, Prisma.UserUncheckedUpdateWithoutWalletInput>;
763
+ };
764
+ export type UserUncheckedUpdateOneWithoutWalletNestedInput = {
765
+ create?: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
766
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutWalletInput;
767
+ upsert?: Prisma.UserUpsertWithoutWalletInput;
768
+ disconnect?: Prisma.UserWhereInput | boolean;
769
+ delete?: Prisma.UserWhereInput | boolean;
770
+ connect?: Prisma.UserWhereUniqueInput;
771
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutWalletInput, Prisma.UserUpdateWithoutWalletInput>, Prisma.UserUncheckedUpdateWithoutWalletInput>;
772
+ };
773
+ export type UserCreateNestedOneWithoutPropertiesInput = {
774
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPropertiesInput, Prisma.UserUncheckedCreateWithoutPropertiesInput>;
775
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPropertiesInput;
776
+ connect?: Prisma.UserWhereUniqueInput;
777
+ };
778
+ export type UserUpdateOneRequiredWithoutPropertiesNestedInput = {
779
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPropertiesInput, Prisma.UserUncheckedCreateWithoutPropertiesInput>;
780
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPropertiesInput;
781
+ upsert?: Prisma.UserUpsertWithoutPropertiesInput;
782
+ connect?: Prisma.UserWhereUniqueInput;
783
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutPropertiesInput, Prisma.UserUpdateWithoutPropertiesInput>, Prisma.UserUncheckedUpdateWithoutPropertiesInput>;
784
+ };
785
+ export type UserCreateNestedOneWithoutMortgagesInput = {
786
+ create?: Prisma.XOR<Prisma.UserCreateWithoutMortgagesInput, Prisma.UserUncheckedCreateWithoutMortgagesInput>;
787
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutMortgagesInput;
788
+ connect?: Prisma.UserWhereUniqueInput;
789
+ };
790
+ export type UserUpdateOneRequiredWithoutMortgagesNestedInput = {
791
+ create?: Prisma.XOR<Prisma.UserCreateWithoutMortgagesInput, Prisma.UserUncheckedCreateWithoutMortgagesInput>;
792
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutMortgagesInput;
793
+ upsert?: Prisma.UserUpsertWithoutMortgagesInput;
794
+ connect?: Prisma.UserWhereUniqueInput;
795
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutMortgagesInput, Prisma.UserUpdateWithoutMortgagesInput>, Prisma.UserUncheckedUpdateWithoutMortgagesInput>;
796
+ };
797
+ export type UserCreateNestedOneWithoutPaymentPlansInput = {
798
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPaymentPlansInput, Prisma.UserUncheckedCreateWithoutPaymentPlansInput>;
799
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPaymentPlansInput;
800
+ connect?: Prisma.UserWhereUniqueInput;
801
+ };
802
+ export type UserUpdateOneWithoutPaymentPlansNestedInput = {
803
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPaymentPlansInput, Prisma.UserUncheckedCreateWithoutPaymentPlansInput>;
804
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPaymentPlansInput;
805
+ upsert?: Prisma.UserUpsertWithoutPaymentPlansInput;
806
+ disconnect?: Prisma.UserWhereInput | boolean;
807
+ delete?: Prisma.UserWhereInput | boolean;
808
+ connect?: Prisma.UserWhereUniqueInput;
809
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutPaymentPlansInput, Prisma.UserUpdateWithoutPaymentPlansInput>, Prisma.UserUncheckedUpdateWithoutPaymentPlansInput>;
810
+ };
811
+ export type UserCreateNestedOneWithoutPaymentsInput = {
812
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPaymentsInput, Prisma.UserUncheckedCreateWithoutPaymentsInput>;
813
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPaymentsInput;
814
+ connect?: Prisma.UserWhereUniqueInput;
815
+ };
816
+ export type UserUpdateOneWithoutPaymentsNestedInput = {
817
+ create?: Prisma.XOR<Prisma.UserCreateWithoutPaymentsInput, Prisma.UserUncheckedCreateWithoutPaymentsInput>;
818
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutPaymentsInput;
819
+ upsert?: Prisma.UserUpsertWithoutPaymentsInput;
820
+ disconnect?: Prisma.UserWhereInput | boolean;
821
+ delete?: Prisma.UserWhereInput | boolean;
822
+ connect?: Prisma.UserWhereUniqueInput;
823
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutPaymentsInput, Prisma.UserUpdateWithoutPaymentsInput>, Prisma.UserUncheckedUpdateWithoutPaymentsInput>;
824
+ };
825
+ export type UserCreateNestedOneWithoutContractsInput = {
826
+ create?: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
827
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutContractsInput;
828
+ connect?: Prisma.UserWhereUniqueInput;
829
+ };
830
+ export type UserCreateNestedOneWithoutSoldContractsInput = {
831
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
832
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSoldContractsInput;
833
+ connect?: Prisma.UserWhereUniqueInput;
834
+ };
835
+ export type UserUpdateOneWithoutContractsNestedInput = {
836
+ create?: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
837
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutContractsInput;
838
+ upsert?: Prisma.UserUpsertWithoutContractsInput;
839
+ disconnect?: Prisma.UserWhereInput | boolean;
840
+ delete?: Prisma.UserWhereInput | boolean;
841
+ connect?: Prisma.UserWhereUniqueInput;
842
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutContractsInput, Prisma.UserUpdateWithoutContractsInput>, Prisma.UserUncheckedUpdateWithoutContractsInput>;
843
+ };
844
+ export type UserUpdateOneWithoutSoldContractsNestedInput = {
845
+ create?: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
846
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutSoldContractsInput;
847
+ upsert?: Prisma.UserUpsertWithoutSoldContractsInput;
848
+ disconnect?: Prisma.UserWhereInput | boolean;
849
+ delete?: Prisma.UserWhereInput | boolean;
850
+ connect?: Prisma.UserWhereUniqueInput;
851
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSoldContractsInput, Prisma.UserUpdateWithoutSoldContractsInput>, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
852
+ };
853
+ export type UserCreateWithoutUserRolesInput = {
854
+ id?: string;
855
+ email: string;
856
+ password?: string | null;
857
+ phone?: string | null;
858
+ firstName?: string | null;
859
+ lastName?: string | null;
860
+ isActive?: boolean;
861
+ isVerified?: boolean;
862
+ googleId?: string | null;
863
+ createdAt?: Date | string;
864
+ updatedAt?: Date | string;
865
+ emailVerifiedAt?: Date | string | null;
866
+ emailVerificationToken?: string | null;
867
+ lastLoginAt?: Date | string | null;
868
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
869
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
870
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
871
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
872
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
873
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
874
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
875
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
876
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
877
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
878
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
879
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
880
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
881
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
882
+ };
883
+ export type UserUncheckedCreateWithoutUserRolesInput = {
884
+ id?: string;
885
+ email: string;
886
+ password?: string | null;
887
+ phone?: string | null;
888
+ firstName?: string | null;
889
+ lastName?: string | null;
890
+ isActive?: boolean;
891
+ isVerified?: boolean;
892
+ googleId?: string | null;
893
+ tenantId?: string | null;
894
+ walletId?: string | null;
895
+ createdAt?: Date | string;
896
+ updatedAt?: Date | string;
897
+ emailVerifiedAt?: Date | string | null;
898
+ emailVerificationToken?: string | null;
899
+ lastLoginAt?: Date | string | null;
900
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
901
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
902
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
903
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
904
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
905
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
906
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
907
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
908
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
909
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
910
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
911
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
912
+ };
913
+ export type UserCreateOrConnectWithoutUserRolesInput = {
914
+ where: Prisma.UserWhereUniqueInput;
915
+ create: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
916
+ };
917
+ export type UserUpsertWithoutUserRolesInput = {
918
+ update: Prisma.XOR<Prisma.UserUpdateWithoutUserRolesInput, Prisma.UserUncheckedUpdateWithoutUserRolesInput>;
919
+ create: Prisma.XOR<Prisma.UserCreateWithoutUserRolesInput, Prisma.UserUncheckedCreateWithoutUserRolesInput>;
920
+ where?: Prisma.UserWhereInput;
921
+ };
922
+ export type UserUpdateToOneWithWhereWithoutUserRolesInput = {
923
+ where?: Prisma.UserWhereInput;
924
+ data: Prisma.XOR<Prisma.UserUpdateWithoutUserRolesInput, Prisma.UserUncheckedUpdateWithoutUserRolesInput>;
925
+ };
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;
955
+ };
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;
985
+ };
986
+ export type UserCreateWithoutTenantInput = {
987
+ id?: string;
988
+ email: string;
989
+ password?: string | null;
990
+ phone?: string | null;
991
+ firstName?: string | null;
992
+ lastName?: string | null;
993
+ isActive?: boolean;
994
+ isVerified?: boolean;
995
+ googleId?: string | null;
996
+ createdAt?: Date | string;
997
+ updatedAt?: Date | string;
998
+ emailVerifiedAt?: Date | string | null;
999
+ emailVerificationToken?: string | null;
1000
+ lastLoginAt?: Date | string | null;
1001
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1002
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1003
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1004
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1005
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1006
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1007
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1008
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1009
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1010
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1011
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1012
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1013
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1014
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1015
+ };
1016
+ export type UserUncheckedCreateWithoutTenantInput = {
1017
+ id?: string;
1018
+ email: string;
1019
+ password?: string | null;
1020
+ phone?: string | null;
1021
+ firstName?: string | null;
1022
+ lastName?: string | null;
1023
+ isActive?: boolean;
1024
+ isVerified?: boolean;
1025
+ googleId?: string | null;
1026
+ walletId?: string | null;
1027
+ createdAt?: Date | string;
1028
+ updatedAt?: Date | string;
1029
+ emailVerifiedAt?: Date | string | null;
1030
+ emailVerificationToken?: string | null;
1031
+ lastLoginAt?: Date | string | null;
1032
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1033
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1034
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1035
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1036
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1037
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1038
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1039
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1040
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1041
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1042
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1043
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1044
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1045
+ };
1046
+ export type UserCreateOrConnectWithoutTenantInput = {
1047
+ where: Prisma.UserWhereUniqueInput;
1048
+ create: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput>;
1049
+ };
1050
+ export type UserCreateManyTenantInputEnvelope = {
1051
+ data: Prisma.UserCreateManyTenantInput | Prisma.UserCreateManyTenantInput[];
1052
+ skipDuplicates?: boolean;
1053
+ };
1054
+ export type UserUpsertWithWhereUniqueWithoutTenantInput = {
1055
+ where: Prisma.UserWhereUniqueInput;
1056
+ update: Prisma.XOR<Prisma.UserUpdateWithoutTenantInput, Prisma.UserUncheckedUpdateWithoutTenantInput>;
1057
+ create: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput>;
1058
+ };
1059
+ export type UserUpdateWithWhereUniqueWithoutTenantInput = {
1060
+ where: Prisma.UserWhereUniqueInput;
1061
+ data: Prisma.XOR<Prisma.UserUpdateWithoutTenantInput, Prisma.UserUncheckedUpdateWithoutTenantInput>;
1062
+ };
1063
+ export type UserUpdateManyWithWhereWithoutTenantInput = {
1064
+ where: Prisma.UserScalarWhereInput;
1065
+ data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyWithoutTenantInput>;
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
+ };
1088
+ export type UserCreateWithoutRefreshTokensInput = {
1089
+ id?: string;
1090
+ email: string;
1091
+ password?: string | null;
1092
+ phone?: string | null;
1093
+ firstName?: string | null;
1094
+ lastName?: string | null;
1095
+ isActive?: boolean;
1096
+ isVerified?: boolean;
1097
+ googleId?: string | null;
1098
+ createdAt?: Date | string;
1099
+ updatedAt?: Date | string;
1100
+ emailVerifiedAt?: Date | string | null;
1101
+ emailVerificationToken?: string | null;
1102
+ lastLoginAt?: Date | string | null;
1103
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1104
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1105
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1106
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1107
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1108
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1109
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1110
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1111
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1112
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1113
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1114
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1115
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1116
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1117
+ };
1118
+ export type UserUncheckedCreateWithoutRefreshTokensInput = {
1119
+ id?: string;
1120
+ email: string;
1121
+ password?: string | null;
1122
+ phone?: string | null;
1123
+ firstName?: string | null;
1124
+ lastName?: string | null;
1125
+ isActive?: boolean;
1126
+ isVerified?: boolean;
1127
+ googleId?: string | null;
1128
+ tenantId?: string | null;
1129
+ walletId?: string | null;
1130
+ createdAt?: Date | string;
1131
+ updatedAt?: Date | string;
1132
+ emailVerifiedAt?: Date | string | null;
1133
+ emailVerificationToken?: string | null;
1134
+ lastLoginAt?: Date | string | null;
1135
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1136
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1137
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1138
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1139
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1140
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1141
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1142
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1143
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1144
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1145
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1146
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1147
+ };
1148
+ export type UserCreateOrConnectWithoutRefreshTokensInput = {
1149
+ where: Prisma.UserWhereUniqueInput;
1150
+ create: Prisma.XOR<Prisma.UserCreateWithoutRefreshTokensInput, Prisma.UserUncheckedCreateWithoutRefreshTokensInput>;
1151
+ };
1152
+ export type UserUpsertWithoutRefreshTokensInput = {
1153
+ update: Prisma.XOR<Prisma.UserUpdateWithoutRefreshTokensInput, Prisma.UserUncheckedUpdateWithoutRefreshTokensInput>;
1154
+ create: Prisma.XOR<Prisma.UserCreateWithoutRefreshTokensInput, Prisma.UserUncheckedCreateWithoutRefreshTokensInput>;
1155
+ where?: Prisma.UserWhereInput;
1156
+ };
1157
+ export type UserUpdateToOneWithWhereWithoutRefreshTokensInput = {
1158
+ where?: Prisma.UserWhereInput;
1159
+ data: Prisma.XOR<Prisma.UserUpdateWithoutRefreshTokensInput, Prisma.UserUncheckedUpdateWithoutRefreshTokensInput>;
1160
+ };
1161
+ export type UserUpdateWithoutRefreshTokensInput = {
1162
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1163
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1164
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1165
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1166
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1167
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1168
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1169
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1170
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1171
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1172
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1173
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1174
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1175
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1176
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1177
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1178
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1179
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1180
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1181
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1182
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1183
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1184
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1185
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1186
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1187
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1188
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1189
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1190
+ };
1191
+ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1192
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1193
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1194
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1195
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1196
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1197
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1198
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1199
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1200
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1201
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1202
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1203
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1204
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1205
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1206
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1207
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1208
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1209
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1210
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1211
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1212
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1213
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1214
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1215
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1216
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1217
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1218
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1219
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1220
+ };
1221
+ export type UserCreateWithoutPasswordResetsInput = {
1222
+ id?: string;
1223
+ email: string;
1224
+ password?: string | null;
1225
+ phone?: string | null;
1226
+ firstName?: string | null;
1227
+ lastName?: string | null;
1228
+ isActive?: boolean;
1229
+ isVerified?: boolean;
1230
+ googleId?: string | null;
1231
+ createdAt?: Date | string;
1232
+ updatedAt?: Date | string;
1233
+ emailVerifiedAt?: Date | string | null;
1234
+ emailVerificationToken?: string | null;
1235
+ lastLoginAt?: Date | string | null;
1236
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1237
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1238
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1239
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1240
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1241
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1242
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1243
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1244
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1245
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1246
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1247
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1248
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1249
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1250
+ };
1251
+ export type UserUncheckedCreateWithoutPasswordResetsInput = {
1252
+ id?: string;
1253
+ email: string;
1254
+ password?: string | null;
1255
+ phone?: string | null;
1256
+ firstName?: string | null;
1257
+ lastName?: string | null;
1258
+ isActive?: boolean;
1259
+ isVerified?: boolean;
1260
+ googleId?: string | null;
1261
+ tenantId?: string | null;
1262
+ walletId?: string | null;
1263
+ createdAt?: Date | string;
1264
+ updatedAt?: Date | string;
1265
+ emailVerifiedAt?: Date | string | null;
1266
+ emailVerificationToken?: string | null;
1267
+ lastLoginAt?: Date | string | null;
1268
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1269
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1270
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1271
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1272
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1273
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1274
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1275
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1276
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1277
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1278
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1279
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1280
+ };
1281
+ export type UserCreateOrConnectWithoutPasswordResetsInput = {
1282
+ where: Prisma.UserWhereUniqueInput;
1283
+ create: Prisma.XOR<Prisma.UserCreateWithoutPasswordResetsInput, Prisma.UserUncheckedCreateWithoutPasswordResetsInput>;
1284
+ };
1285
+ export type UserUpsertWithoutPasswordResetsInput = {
1286
+ update: Prisma.XOR<Prisma.UserUpdateWithoutPasswordResetsInput, Prisma.UserUncheckedUpdateWithoutPasswordResetsInput>;
1287
+ create: Prisma.XOR<Prisma.UserCreateWithoutPasswordResetsInput, Prisma.UserUncheckedCreateWithoutPasswordResetsInput>;
1288
+ where?: Prisma.UserWhereInput;
1289
+ };
1290
+ export type UserUpdateToOneWithWhereWithoutPasswordResetsInput = {
1291
+ where?: Prisma.UserWhereInput;
1292
+ data: Prisma.XOR<Prisma.UserUpdateWithoutPasswordResetsInput, Prisma.UserUncheckedUpdateWithoutPasswordResetsInput>;
1293
+ };
1294
+ export type UserUpdateWithoutPasswordResetsInput = {
1295
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1296
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1297
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1298
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1299
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1300
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1301
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1302
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1303
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1304
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1305
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1306
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1307
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1308
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1309
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1310
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1311
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1312
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1313
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1314
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1315
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1316
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1317
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1318
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1319
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1320
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1321
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1322
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1323
+ };
1324
+ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
1325
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1326
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1327
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1328
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1329
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1330
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1331
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1332
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1333
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1334
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1335
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1336
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1337
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1338
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1339
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1340
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1341
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1342
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1343
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1344
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1345
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1346
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1347
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1348
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1349
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1350
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1351
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1352
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1353
+ };
1354
+ export type UserCreateWithoutSuspensionsInput = {
1355
+ id?: string;
1356
+ email: string;
1357
+ password?: string | null;
1358
+ phone?: string | null;
1359
+ firstName?: string | null;
1360
+ lastName?: string | null;
1361
+ isActive?: boolean;
1362
+ isVerified?: boolean;
1363
+ googleId?: string | null;
1364
+ createdAt?: Date | string;
1365
+ updatedAt?: Date | string;
1366
+ emailVerifiedAt?: Date | string | null;
1367
+ emailVerificationToken?: string | null;
1368
+ lastLoginAt?: Date | string | null;
1369
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1370
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1371
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1372
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1373
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1374
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1375
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1376
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1377
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1378
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1379
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1380
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1381
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1382
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1383
+ };
1384
+ export type UserUncheckedCreateWithoutSuspensionsInput = {
1385
+ id?: string;
1386
+ email: string;
1387
+ password?: string | null;
1388
+ phone?: string | null;
1389
+ firstName?: string | null;
1390
+ lastName?: string | null;
1391
+ isActive?: boolean;
1392
+ isVerified?: boolean;
1393
+ googleId?: string | null;
1394
+ tenantId?: string | null;
1395
+ walletId?: string | null;
1396
+ createdAt?: Date | string;
1397
+ updatedAt?: Date | string;
1398
+ emailVerifiedAt?: Date | string | null;
1399
+ emailVerificationToken?: string | null;
1400
+ lastLoginAt?: Date | string | null;
1401
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1402
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1403
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1404
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1405
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1406
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1407
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1408
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1409
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1410
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1411
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1412
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1413
+ };
1414
+ export type UserCreateOrConnectWithoutSuspensionsInput = {
1415
+ where: Prisma.UserWhereUniqueInput;
1416
+ create: Prisma.XOR<Prisma.UserCreateWithoutSuspensionsInput, Prisma.UserUncheckedCreateWithoutSuspensionsInput>;
1417
+ };
1418
+ export type UserUpsertWithoutSuspensionsInput = {
1419
+ update: Prisma.XOR<Prisma.UserUpdateWithoutSuspensionsInput, Prisma.UserUncheckedUpdateWithoutSuspensionsInput>;
1420
+ create: Prisma.XOR<Prisma.UserCreateWithoutSuspensionsInput, Prisma.UserUncheckedCreateWithoutSuspensionsInput>;
1421
+ where?: Prisma.UserWhereInput;
1422
+ };
1423
+ export type UserUpdateToOneWithWhereWithoutSuspensionsInput = {
1424
+ where?: Prisma.UserWhereInput;
1425
+ data: Prisma.XOR<Prisma.UserUpdateWithoutSuspensionsInput, Prisma.UserUncheckedUpdateWithoutSuspensionsInput>;
1426
+ };
1427
+ export type UserUpdateWithoutSuspensionsInput = {
1428
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1429
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1430
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1431
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1432
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1433
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1434
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1435
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1436
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1437
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1438
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1439
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1440
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1441
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1442
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1443
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1444
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1445
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1446
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1447
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1448
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1449
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1450
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1451
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1452
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1453
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1454
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1455
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1456
+ };
1457
+ export type UserUncheckedUpdateWithoutSuspensionsInput = {
1458
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1459
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1460
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1461
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1462
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1463
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1464
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1465
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1466
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1467
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1468
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1469
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1470
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1471
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1472
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1473
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1474
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1475
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1476
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1477
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1478
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1479
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1480
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1481
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1482
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1483
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1484
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1485
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1486
+ };
1487
+ export type UserCreateWithoutEmailPreferencesInput = {
1488
+ id?: string;
1489
+ email: string;
1490
+ password?: string | null;
1491
+ phone?: string | null;
1492
+ firstName?: string | null;
1493
+ lastName?: string | null;
1494
+ isActive?: boolean;
1495
+ isVerified?: boolean;
1496
+ googleId?: string | null;
1497
+ createdAt?: Date | string;
1498
+ updatedAt?: Date | string;
1499
+ emailVerifiedAt?: Date | string | null;
1500
+ emailVerificationToken?: string | null;
1501
+ lastLoginAt?: Date | string | null;
1502
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1503
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1504
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1505
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1506
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1507
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1508
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1509
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1510
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1511
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1512
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1513
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1514
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1515
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1516
+ };
1517
+ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
1518
+ id?: string;
1519
+ email: string;
1520
+ password?: string | null;
1521
+ phone?: string | null;
1522
+ firstName?: string | null;
1523
+ lastName?: string | null;
1524
+ isActive?: boolean;
1525
+ isVerified?: boolean;
1526
+ googleId?: string | null;
1527
+ tenantId?: string | null;
1528
+ walletId?: string | null;
1529
+ createdAt?: Date | string;
1530
+ updatedAt?: Date | string;
1531
+ emailVerifiedAt?: Date | string | null;
1532
+ emailVerificationToken?: string | null;
1533
+ lastLoginAt?: Date | string | null;
1534
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1535
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1536
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1537
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1538
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1539
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1540
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1541
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1542
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1543
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1544
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1545
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1546
+ };
1547
+ export type UserCreateOrConnectWithoutEmailPreferencesInput = {
1548
+ where: Prisma.UserWhereUniqueInput;
1549
+ create: Prisma.XOR<Prisma.UserCreateWithoutEmailPreferencesInput, Prisma.UserUncheckedCreateWithoutEmailPreferencesInput>;
1550
+ };
1551
+ export type UserUpsertWithoutEmailPreferencesInput = {
1552
+ update: Prisma.XOR<Prisma.UserUpdateWithoutEmailPreferencesInput, Prisma.UserUncheckedUpdateWithoutEmailPreferencesInput>;
1553
+ create: Prisma.XOR<Prisma.UserCreateWithoutEmailPreferencesInput, Prisma.UserUncheckedCreateWithoutEmailPreferencesInput>;
1554
+ where?: Prisma.UserWhereInput;
1555
+ };
1556
+ export type UserUpdateToOneWithWhereWithoutEmailPreferencesInput = {
1557
+ where?: Prisma.UserWhereInput;
1558
+ data: Prisma.XOR<Prisma.UserUpdateWithoutEmailPreferencesInput, Prisma.UserUncheckedUpdateWithoutEmailPreferencesInput>;
1559
+ };
1560
+ export type UserUpdateWithoutEmailPreferencesInput = {
1561
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1562
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1563
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1564
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1565
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1566
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1567
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1568
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1569
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1570
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1571
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1572
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1573
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1574
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1575
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1576
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1577
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1578
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1579
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1580
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1581
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1582
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1583
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1584
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1585
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1586
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1587
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1588
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1589
+ };
1590
+ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
1591
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1592
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1593
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1594
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1595
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1596
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1597
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1598
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1599
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1600
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1601
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1602
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1603
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1604
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1605
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1606
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1607
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1608
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1609
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1610
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1611
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1612
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1613
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1614
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1615
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1616
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1617
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1618
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1619
+ };
1620
+ export type UserCreateWithoutDeviceEndpointsInput = {
1621
+ id?: string;
1622
+ email: string;
1623
+ password?: string | null;
1624
+ phone?: string | null;
1625
+ firstName?: string | null;
1626
+ lastName?: string | null;
1627
+ isActive?: boolean;
1628
+ isVerified?: boolean;
1629
+ googleId?: string | null;
1630
+ createdAt?: Date | string;
1631
+ updatedAt?: Date | string;
1632
+ emailVerifiedAt?: Date | string | null;
1633
+ emailVerificationToken?: string | null;
1634
+ lastLoginAt?: Date | string | null;
1635
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1636
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1637
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1638
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1639
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1640
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1641
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1642
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1643
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1644
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1645
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1646
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1647
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1648
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1649
+ };
1650
+ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
1651
+ id?: string;
1652
+ email: string;
1653
+ password?: string | null;
1654
+ phone?: string | null;
1655
+ firstName?: string | null;
1656
+ lastName?: string | null;
1657
+ isActive?: boolean;
1658
+ isVerified?: boolean;
1659
+ googleId?: string | null;
1660
+ tenantId?: string | null;
1661
+ walletId?: string | null;
1662
+ createdAt?: Date | string;
1663
+ updatedAt?: Date | string;
1664
+ emailVerifiedAt?: Date | string | null;
1665
+ emailVerificationToken?: string | null;
1666
+ lastLoginAt?: Date | string | null;
1667
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1668
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1669
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1670
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1671
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1672
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1673
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1674
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1675
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1676
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1677
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1678
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1679
+ };
1680
+ export type UserCreateOrConnectWithoutDeviceEndpointsInput = {
1681
+ where: Prisma.UserWhereUniqueInput;
1682
+ create: Prisma.XOR<Prisma.UserCreateWithoutDeviceEndpointsInput, Prisma.UserUncheckedCreateWithoutDeviceEndpointsInput>;
1683
+ };
1684
+ export type UserUpsertWithoutDeviceEndpointsInput = {
1685
+ update: Prisma.XOR<Prisma.UserUpdateWithoutDeviceEndpointsInput, Prisma.UserUncheckedUpdateWithoutDeviceEndpointsInput>;
1686
+ create: Prisma.XOR<Prisma.UserCreateWithoutDeviceEndpointsInput, Prisma.UserUncheckedCreateWithoutDeviceEndpointsInput>;
1687
+ where?: Prisma.UserWhereInput;
1688
+ };
1689
+ export type UserUpdateToOneWithWhereWithoutDeviceEndpointsInput = {
1690
+ where?: Prisma.UserWhereInput;
1691
+ data: Prisma.XOR<Prisma.UserUpdateWithoutDeviceEndpointsInput, Prisma.UserUncheckedUpdateWithoutDeviceEndpointsInput>;
1692
+ };
1693
+ export type UserUpdateWithoutDeviceEndpointsInput = {
1694
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1695
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1696
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1697
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1698
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1699
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1700
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1701
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1702
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1703
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1704
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1705
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1706
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1707
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1708
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1709
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1710
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1711
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1712
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1713
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1714
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1715
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1716
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1717
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1718
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1719
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1720
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1721
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1722
+ };
1723
+ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
1724
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1725
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1726
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1727
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1728
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1729
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1730
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1731
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1732
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1733
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1734
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1735
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1736
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1737
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1738
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1739
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1740
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1741
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1742
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1743
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1744
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1745
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1746
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1747
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1748
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1749
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1750
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1751
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1752
+ };
1753
+ export type UserCreateWithoutSocialsInput = {
1754
+ id?: string;
1755
+ email: string;
1756
+ password?: string | null;
1757
+ phone?: string | null;
1758
+ firstName?: string | null;
1759
+ lastName?: string | null;
1760
+ isActive?: boolean;
1761
+ isVerified?: boolean;
1762
+ googleId?: string | null;
1763
+ createdAt?: Date | string;
1764
+ updatedAt?: Date | string;
1765
+ emailVerifiedAt?: Date | string | null;
1766
+ emailVerificationToken?: string | null;
1767
+ lastLoginAt?: Date | string | null;
1768
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1769
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1770
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1771
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1772
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1773
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1774
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1775
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1776
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1777
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1778
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1779
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1780
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1781
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1782
+ };
1783
+ export type UserUncheckedCreateWithoutSocialsInput = {
1784
+ id?: string;
1785
+ email: string;
1786
+ password?: string | null;
1787
+ phone?: string | null;
1788
+ firstName?: string | null;
1789
+ lastName?: string | null;
1790
+ isActive?: boolean;
1791
+ isVerified?: boolean;
1792
+ googleId?: string | null;
1793
+ tenantId?: string | null;
1794
+ walletId?: string | null;
1795
+ createdAt?: Date | string;
1796
+ updatedAt?: Date | string;
1797
+ emailVerifiedAt?: Date | string | null;
1798
+ emailVerificationToken?: string | null;
1799
+ lastLoginAt?: Date | string | null;
1800
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1801
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1802
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1803
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1804
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1805
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1806
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1807
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1808
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1809
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1810
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1811
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1812
+ };
1813
+ export type UserCreateOrConnectWithoutSocialsInput = {
1814
+ where: Prisma.UserWhereUniqueInput;
1815
+ create: Prisma.XOR<Prisma.UserCreateWithoutSocialsInput, Prisma.UserUncheckedCreateWithoutSocialsInput>;
1816
+ };
1817
+ export type UserUpsertWithoutSocialsInput = {
1818
+ update: Prisma.XOR<Prisma.UserUpdateWithoutSocialsInput, Prisma.UserUncheckedUpdateWithoutSocialsInput>;
1819
+ create: Prisma.XOR<Prisma.UserCreateWithoutSocialsInput, Prisma.UserUncheckedCreateWithoutSocialsInput>;
1820
+ where?: Prisma.UserWhereInput;
1821
+ };
1822
+ export type UserUpdateToOneWithWhereWithoutSocialsInput = {
1823
+ where?: Prisma.UserWhereInput;
1824
+ data: Prisma.XOR<Prisma.UserUpdateWithoutSocialsInput, Prisma.UserUncheckedUpdateWithoutSocialsInput>;
1825
+ };
1826
+ export type UserUpdateWithoutSocialsInput = {
1827
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1828
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1829
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1830
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1831
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1832
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1833
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1834
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1835
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1836
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1837
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1838
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1839
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1840
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1841
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1842
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1843
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1844
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1845
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1846
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1847
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1848
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1849
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1850
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1851
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1852
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1853
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1854
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1855
+ };
1856
+ export type UserUncheckedUpdateWithoutSocialsInput = {
1857
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1858
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1859
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1860
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1861
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1862
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1863
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1864
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1865
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1866
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1867
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1868
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1869
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1870
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1871
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1872
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1873
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1874
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1875
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1876
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1877
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1878
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1879
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1880
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
1881
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
1882
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
1883
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
1884
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
1885
+ };
1886
+ export type UserCreateWithoutWalletInput = {
1887
+ id?: string;
1888
+ email: string;
1889
+ password?: string | null;
1890
+ phone?: string | null;
1891
+ firstName?: string | null;
1892
+ lastName?: string | null;
1893
+ isActive?: boolean;
1894
+ isVerified?: boolean;
1895
+ googleId?: string | null;
1896
+ createdAt?: Date | string;
1897
+ updatedAt?: Date | string;
1898
+ emailVerifiedAt?: Date | string | null;
1899
+ emailVerificationToken?: string | null;
1900
+ lastLoginAt?: Date | string | null;
1901
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1902
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1903
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1904
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1905
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1906
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1907
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1908
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1909
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1910
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
1911
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
1912
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
1913
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
1914
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
1915
+ };
1916
+ export type UserUncheckedCreateWithoutWalletInput = {
1917
+ id?: string;
1918
+ email: string;
1919
+ password?: string | null;
1920
+ phone?: string | null;
1921
+ firstName?: string | null;
1922
+ lastName?: string | null;
1923
+ isActive?: boolean;
1924
+ isVerified?: boolean;
1925
+ googleId?: string | null;
1926
+ tenantId?: string | null;
1927
+ createdAt?: Date | string;
1928
+ updatedAt?: Date | string;
1929
+ emailVerifiedAt?: Date | string | null;
1930
+ emailVerificationToken?: string | null;
1931
+ lastLoginAt?: Date | string | null;
1932
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1933
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1934
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1935
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1936
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1937
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1938
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1939
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1940
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
1941
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
1942
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
1943
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
1944
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
1945
+ };
1946
+ export type UserCreateOrConnectWithoutWalletInput = {
1947
+ where: Prisma.UserWhereUniqueInput;
1948
+ create: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
1949
+ };
1950
+ export type UserUpsertWithoutWalletInput = {
1951
+ update: Prisma.XOR<Prisma.UserUpdateWithoutWalletInput, Prisma.UserUncheckedUpdateWithoutWalletInput>;
1952
+ create: Prisma.XOR<Prisma.UserCreateWithoutWalletInput, Prisma.UserUncheckedCreateWithoutWalletInput>;
1953
+ where?: Prisma.UserWhereInput;
1954
+ };
1955
+ export type UserUpdateToOneWithWhereWithoutWalletInput = {
1956
+ where?: Prisma.UserWhereInput;
1957
+ data: Prisma.XOR<Prisma.UserUpdateWithoutWalletInput, Prisma.UserUncheckedUpdateWithoutWalletInput>;
1958
+ };
1959
+ export type UserUpdateWithoutWalletInput = {
1960
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1961
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1962
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1963
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1964
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1965
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1966
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1967
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1968
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1969
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1970
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1971
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1972
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1973
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1974
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1975
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1976
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1977
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1978
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1979
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1980
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1981
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1982
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1983
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
1984
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
1985
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
1986
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
1987
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
1988
+ };
1989
+ export type UserUncheckedUpdateWithoutWalletInput = {
1990
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1991
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1992
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1993
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1994
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1995
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1996
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1997
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1998
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1999
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2000
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2001
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2002
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2003
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2004
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2005
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2006
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2007
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2008
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2009
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2010
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2011
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2012
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2013
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2014
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2015
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2016
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2017
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2018
+ };
2019
+ export type UserCreateWithoutPropertiesInput = {
2020
+ id?: string;
2021
+ email: string;
2022
+ password?: string | null;
2023
+ phone?: string | null;
2024
+ firstName?: string | null;
2025
+ lastName?: string | null;
2026
+ isActive?: boolean;
2027
+ isVerified?: boolean;
2028
+ googleId?: string | null;
2029
+ createdAt?: Date | string;
2030
+ updatedAt?: Date | string;
2031
+ emailVerifiedAt?: Date | string | null;
2032
+ emailVerificationToken?: string | null;
2033
+ lastLoginAt?: Date | string | null;
2034
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2035
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2036
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2037
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2038
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2039
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2040
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2041
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2042
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2043
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
2044
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
2045
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2046
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2047
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
2048
+ };
2049
+ export type UserUncheckedCreateWithoutPropertiesInput = {
2050
+ id?: string;
2051
+ email: string;
2052
+ password?: string | null;
2053
+ phone?: string | null;
2054
+ firstName?: string | null;
2055
+ lastName?: string | null;
2056
+ isActive?: boolean;
2057
+ isVerified?: boolean;
2058
+ googleId?: string | null;
2059
+ tenantId?: string | null;
2060
+ walletId?: string | null;
2061
+ createdAt?: Date | string;
2062
+ updatedAt?: Date | string;
2063
+ emailVerifiedAt?: Date | string | null;
2064
+ emailVerificationToken?: string | null;
2065
+ lastLoginAt?: Date | string | null;
2066
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2067
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2068
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2069
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2070
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2071
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2072
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2073
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
2074
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
2075
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2076
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2077
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
2078
+ };
2079
+ export type UserCreateOrConnectWithoutPropertiesInput = {
2080
+ where: Prisma.UserWhereUniqueInput;
2081
+ create: Prisma.XOR<Prisma.UserCreateWithoutPropertiesInput, Prisma.UserUncheckedCreateWithoutPropertiesInput>;
2082
+ };
2083
+ export type UserUpsertWithoutPropertiesInput = {
2084
+ update: Prisma.XOR<Prisma.UserUpdateWithoutPropertiesInput, Prisma.UserUncheckedUpdateWithoutPropertiesInput>;
2085
+ create: Prisma.XOR<Prisma.UserCreateWithoutPropertiesInput, Prisma.UserUncheckedCreateWithoutPropertiesInput>;
2086
+ where?: Prisma.UserWhereInput;
2087
+ };
2088
+ export type UserUpdateToOneWithWhereWithoutPropertiesInput = {
2089
+ where?: Prisma.UserWhereInput;
2090
+ data: Prisma.XOR<Prisma.UserUpdateWithoutPropertiesInput, Prisma.UserUncheckedUpdateWithoutPropertiesInput>;
2091
+ };
2092
+ export type UserUpdateWithoutPropertiesInput = {
2093
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2094
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2095
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2096
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2097
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2098
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2099
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2100
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2101
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2102
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2103
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2104
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2105
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2106
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2107
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2108
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2109
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2110
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2111
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2112
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2113
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2114
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2115
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2116
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2117
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2118
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2119
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2120
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2121
+ };
2122
+ export type UserUncheckedUpdateWithoutPropertiesInput = {
2123
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2124
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2125
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2126
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2127
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2128
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2129
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2130
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2131
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2132
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2133
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2134
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2135
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2136
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2137
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2138
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2139
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2140
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2141
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2142
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2143
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2144
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2145
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2146
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2147
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2148
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2149
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2150
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2151
+ };
2152
+ export type UserCreateWithoutMortgagesInput = {
2153
+ id?: string;
2154
+ email: string;
2155
+ password?: string | null;
2156
+ phone?: string | null;
2157
+ firstName?: string | null;
2158
+ lastName?: string | null;
2159
+ isActive?: boolean;
2160
+ isVerified?: boolean;
2161
+ googleId?: string | null;
2162
+ createdAt?: Date | string;
2163
+ updatedAt?: Date | string;
2164
+ emailVerifiedAt?: Date | string | null;
2165
+ emailVerificationToken?: string | null;
2166
+ lastLoginAt?: Date | string | null;
2167
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2168
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2169
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2170
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2171
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2172
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2173
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2174
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2175
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2176
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
2177
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
2178
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2179
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2180
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
2181
+ };
2182
+ export type UserUncheckedCreateWithoutMortgagesInput = {
2183
+ id?: string;
2184
+ email: string;
2185
+ password?: string | null;
2186
+ phone?: string | null;
2187
+ firstName?: string | null;
2188
+ lastName?: string | null;
2189
+ isActive?: boolean;
2190
+ isVerified?: boolean;
2191
+ googleId?: string | null;
2192
+ tenantId?: string | null;
2193
+ walletId?: string | null;
2194
+ createdAt?: Date | string;
2195
+ updatedAt?: Date | string;
2196
+ emailVerifiedAt?: Date | string | null;
2197
+ emailVerificationToken?: string | null;
2198
+ lastLoginAt?: Date | string | null;
2199
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2200
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2201
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2202
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2203
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2204
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2205
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2206
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
2207
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
2208
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2209
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2210
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
2211
+ };
2212
+ export type UserCreateOrConnectWithoutMortgagesInput = {
2213
+ where: Prisma.UserWhereUniqueInput;
2214
+ create: Prisma.XOR<Prisma.UserCreateWithoutMortgagesInput, Prisma.UserUncheckedCreateWithoutMortgagesInput>;
2215
+ };
2216
+ export type UserUpsertWithoutMortgagesInput = {
2217
+ update: Prisma.XOR<Prisma.UserUpdateWithoutMortgagesInput, Prisma.UserUncheckedUpdateWithoutMortgagesInput>;
2218
+ create: Prisma.XOR<Prisma.UserCreateWithoutMortgagesInput, Prisma.UserUncheckedCreateWithoutMortgagesInput>;
2219
+ where?: Prisma.UserWhereInput;
2220
+ };
2221
+ export type UserUpdateToOneWithWhereWithoutMortgagesInput = {
2222
+ where?: Prisma.UserWhereInput;
2223
+ data: Prisma.XOR<Prisma.UserUpdateWithoutMortgagesInput, Prisma.UserUncheckedUpdateWithoutMortgagesInput>;
2224
+ };
2225
+ export type UserUpdateWithoutMortgagesInput = {
2226
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2227
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2228
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2229
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2230
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2231
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2232
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2233
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2234
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2235
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2236
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2237
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2238
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2239
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2240
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2241
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2242
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2243
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2244
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2245
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2246
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2247
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2248
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2249
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2250
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2251
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2252
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2253
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2254
+ };
2255
+ export type UserUncheckedUpdateWithoutMortgagesInput = {
2256
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2257
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2258
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2259
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2260
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2261
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2262
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2263
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2264
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2265
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2266
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2267
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2268
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2269
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2270
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2271
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2272
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2273
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2274
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2275
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2276
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2277
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2278
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2279
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2280
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2281
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2282
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2283
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2284
+ };
2285
+ export type UserCreateWithoutPaymentPlansInput = {
2286
+ id?: string;
2287
+ email: string;
2288
+ password?: string | null;
2289
+ phone?: string | null;
2290
+ firstName?: string | null;
2291
+ lastName?: string | null;
2292
+ isActive?: boolean;
2293
+ isVerified?: boolean;
2294
+ googleId?: string | null;
2295
+ createdAt?: Date | string;
2296
+ updatedAt?: Date | string;
2297
+ emailVerifiedAt?: Date | string | null;
2298
+ emailVerificationToken?: string | null;
2299
+ lastLoginAt?: Date | string | null;
2300
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2301
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2302
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2303
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2304
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2305
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2306
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2307
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2308
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2309
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
2310
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
2311
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2312
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2313
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
2314
+ };
2315
+ export type UserUncheckedCreateWithoutPaymentPlansInput = {
2316
+ id?: string;
2317
+ email: string;
2318
+ password?: string | null;
2319
+ phone?: string | null;
2320
+ firstName?: string | null;
2321
+ lastName?: string | null;
2322
+ isActive?: boolean;
2323
+ isVerified?: boolean;
2324
+ googleId?: string | null;
2325
+ tenantId?: string | null;
2326
+ walletId?: string | null;
2327
+ createdAt?: Date | string;
2328
+ updatedAt?: Date | string;
2329
+ emailVerifiedAt?: Date | string | null;
2330
+ emailVerificationToken?: string | null;
2331
+ lastLoginAt?: Date | string | null;
2332
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2333
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2334
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2335
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2336
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2337
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2338
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2339
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
2340
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
2341
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2342
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2343
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
2344
+ };
2345
+ export type UserCreateOrConnectWithoutPaymentPlansInput = {
2346
+ where: Prisma.UserWhereUniqueInput;
2347
+ create: Prisma.XOR<Prisma.UserCreateWithoutPaymentPlansInput, Prisma.UserUncheckedCreateWithoutPaymentPlansInput>;
2348
+ };
2349
+ export type UserUpsertWithoutPaymentPlansInput = {
2350
+ update: Prisma.XOR<Prisma.UserUpdateWithoutPaymentPlansInput, Prisma.UserUncheckedUpdateWithoutPaymentPlansInput>;
2351
+ create: Prisma.XOR<Prisma.UserCreateWithoutPaymentPlansInput, Prisma.UserUncheckedCreateWithoutPaymentPlansInput>;
2352
+ where?: Prisma.UserWhereInput;
2353
+ };
2354
+ export type UserUpdateToOneWithWhereWithoutPaymentPlansInput = {
2355
+ where?: Prisma.UserWhereInput;
2356
+ data: Prisma.XOR<Prisma.UserUpdateWithoutPaymentPlansInput, Prisma.UserUncheckedUpdateWithoutPaymentPlansInput>;
2357
+ };
2358
+ export type UserUpdateWithoutPaymentPlansInput = {
2359
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2360
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2361
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2362
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2363
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2364
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2365
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2366
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2367
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2368
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2369
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2370
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2371
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2372
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2373
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2374
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2375
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2376
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2377
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2378
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2379
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2380
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2381
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2382
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2383
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2384
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2385
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2386
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2387
+ };
2388
+ export type UserUncheckedUpdateWithoutPaymentPlansInput = {
2389
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2390
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2391
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2392
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2393
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2394
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2395
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2396
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2397
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2398
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2399
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2400
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2401
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2402
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2403
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2404
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2405
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2406
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2407
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2408
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2409
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2410
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2411
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2412
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2413
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2414
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2415
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2416
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2417
+ };
2418
+ export type UserCreateWithoutPaymentsInput = {
2419
+ id?: string;
2420
+ email: string;
2421
+ password?: string | null;
2422
+ phone?: string | null;
2423
+ firstName?: string | null;
2424
+ lastName?: string | null;
2425
+ isActive?: boolean;
2426
+ isVerified?: boolean;
2427
+ googleId?: string | null;
2428
+ createdAt?: Date | string;
2429
+ updatedAt?: Date | string;
2430
+ emailVerifiedAt?: Date | string | null;
2431
+ emailVerificationToken?: string | null;
2432
+ lastLoginAt?: Date | string | null;
2433
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2434
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2435
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2436
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2437
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2438
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2439
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2440
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2441
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2442
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
2443
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
2444
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
2445
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2446
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2447
+ };
2448
+ export type UserUncheckedCreateWithoutPaymentsInput = {
2449
+ id?: string;
2450
+ email: string;
2451
+ password?: string | null;
2452
+ phone?: string | null;
2453
+ firstName?: string | null;
2454
+ lastName?: string | null;
2455
+ isActive?: boolean;
2456
+ isVerified?: boolean;
2457
+ googleId?: string | null;
2458
+ tenantId?: string | null;
2459
+ walletId?: string | null;
2460
+ createdAt?: Date | string;
2461
+ updatedAt?: Date | string;
2462
+ emailVerifiedAt?: Date | string | null;
2463
+ emailVerificationToken?: string | null;
2464
+ lastLoginAt?: Date | string | null;
2465
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2466
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2467
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2468
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2469
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2470
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2471
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2472
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
2473
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
2474
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
2475
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2476
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2477
+ };
2478
+ export type UserCreateOrConnectWithoutPaymentsInput = {
2479
+ where: Prisma.UserWhereUniqueInput;
2480
+ create: Prisma.XOR<Prisma.UserCreateWithoutPaymentsInput, Prisma.UserUncheckedCreateWithoutPaymentsInput>;
2481
+ };
2482
+ export type UserUpsertWithoutPaymentsInput = {
2483
+ update: Prisma.XOR<Prisma.UserUpdateWithoutPaymentsInput, Prisma.UserUncheckedUpdateWithoutPaymentsInput>;
2484
+ create: Prisma.XOR<Prisma.UserCreateWithoutPaymentsInput, Prisma.UserUncheckedCreateWithoutPaymentsInput>;
2485
+ where?: Prisma.UserWhereInput;
2486
+ };
2487
+ export type UserUpdateToOneWithWhereWithoutPaymentsInput = {
2488
+ where?: Prisma.UserWhereInput;
2489
+ data: Prisma.XOR<Prisma.UserUpdateWithoutPaymentsInput, Prisma.UserUncheckedUpdateWithoutPaymentsInput>;
2490
+ };
2491
+ export type UserUpdateWithoutPaymentsInput = {
2492
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2493
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2494
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2495
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2496
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2497
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2498
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2499
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2500
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2501
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2502
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2503
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2504
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2505
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2506
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2507
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2508
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2509
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2510
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2511
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2512
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2513
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2514
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2515
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2516
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2517
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2518
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2519
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2520
+ };
2521
+ export type UserUncheckedUpdateWithoutPaymentsInput = {
2522
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2523
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2524
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2525
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2526
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2527
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2528
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2529
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2530
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2531
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2532
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2533
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2534
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2535
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2536
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2537
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2538
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2539
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2540
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2541
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2542
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2543
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2544
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2545
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2546
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2547
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2548
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2549
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2550
+ };
2551
+ export type UserCreateWithoutContractsInput = {
2552
+ id?: string;
2553
+ email: string;
2554
+ password?: string | null;
2555
+ phone?: string | null;
2556
+ firstName?: string | null;
2557
+ lastName?: string | null;
2558
+ isActive?: boolean;
2559
+ isVerified?: boolean;
2560
+ googleId?: string | null;
2561
+ createdAt?: Date | string;
2562
+ updatedAt?: Date | string;
2563
+ emailVerifiedAt?: Date | string | null;
2564
+ emailVerificationToken?: string | null;
2565
+ lastLoginAt?: Date | string | null;
2566
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2567
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2568
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2569
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2570
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2571
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2572
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2573
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2574
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2575
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
2576
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
2577
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
2578
+ soldContracts?: Prisma.ContractCreateNestedManyWithoutSellerInput;
2579
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
2580
+ };
2581
+ export type UserUncheckedCreateWithoutContractsInput = {
2582
+ id?: string;
2583
+ email: string;
2584
+ password?: string | null;
2585
+ phone?: string | null;
2586
+ firstName?: string | null;
2587
+ lastName?: string | null;
2588
+ isActive?: boolean;
2589
+ isVerified?: boolean;
2590
+ googleId?: string | null;
2591
+ tenantId?: string | null;
2592
+ walletId?: string | null;
2593
+ createdAt?: Date | string;
2594
+ updatedAt?: Date | string;
2595
+ emailVerifiedAt?: Date | string | null;
2596
+ emailVerificationToken?: string | null;
2597
+ lastLoginAt?: Date | string | null;
2598
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2599
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2600
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2601
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2602
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2603
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2604
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2605
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
2606
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
2607
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
2608
+ soldContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutSellerInput;
2609
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
2610
+ };
2611
+ export type UserCreateOrConnectWithoutContractsInput = {
2612
+ where: Prisma.UserWhereUniqueInput;
2613
+ create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
2614
+ };
2615
+ export type UserCreateWithoutSoldContractsInput = {
2616
+ id?: string;
2617
+ email: string;
2618
+ password?: string | null;
2619
+ phone?: string | null;
2620
+ firstName?: string | null;
2621
+ lastName?: string | null;
2622
+ isActive?: boolean;
2623
+ isVerified?: boolean;
2624
+ googleId?: string | null;
2625
+ createdAt?: Date | string;
2626
+ updatedAt?: Date | string;
2627
+ emailVerifiedAt?: Date | string | null;
2628
+ emailVerificationToken?: string | null;
2629
+ lastLoginAt?: Date | string | null;
2630
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
2631
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
2632
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
2633
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
2634
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
2635
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
2636
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
2637
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
2638
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
2639
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
2640
+ mortgages?: Prisma.MortgageCreateNestedManyWithoutBorrowerInput;
2641
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutBuyerInput;
2642
+ contracts?: Prisma.ContractCreateNestedManyWithoutBuyerInput;
2643
+ payments?: Prisma.PaymentCreateNestedManyWithoutPayerInput;
2644
+ };
2645
+ export type UserUncheckedCreateWithoutSoldContractsInput = {
2646
+ id?: string;
2647
+ email: string;
2648
+ password?: string | null;
2649
+ phone?: string | null;
2650
+ firstName?: string | null;
2651
+ lastName?: string | null;
2652
+ isActive?: boolean;
2653
+ isVerified?: boolean;
2654
+ googleId?: string | null;
2655
+ tenantId?: string | null;
2656
+ walletId?: string | null;
2657
+ createdAt?: Date | string;
2658
+ updatedAt?: Date | string;
2659
+ emailVerifiedAt?: Date | string | null;
2660
+ emailVerificationToken?: string | null;
2661
+ lastLoginAt?: Date | string | null;
2662
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
2663
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
2664
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
2665
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
2666
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
2667
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
2668
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
2669
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
2670
+ mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutBorrowerInput;
2671
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput;
2672
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutBuyerInput;
2673
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPayerInput;
2674
+ };
2675
+ export type UserCreateOrConnectWithoutSoldContractsInput = {
2676
+ where: Prisma.UserWhereUniqueInput;
2677
+ create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
2678
+ };
2679
+ export type UserUpsertWithoutContractsInput = {
2680
+ update: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
2681
+ create: Prisma.XOR<Prisma.UserCreateWithoutContractsInput, Prisma.UserUncheckedCreateWithoutContractsInput>;
2682
+ where?: Prisma.UserWhereInput;
2683
+ };
2684
+ export type UserUpdateToOneWithWhereWithoutContractsInput = {
2685
+ where?: Prisma.UserWhereInput;
2686
+ data: Prisma.XOR<Prisma.UserUpdateWithoutContractsInput, Prisma.UserUncheckedUpdateWithoutContractsInput>;
2687
+ };
2688
+ export type UserUpdateWithoutContractsInput = {
2689
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2690
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2691
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2692
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2693
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2694
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2695
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2696
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2697
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2698
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2699
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2700
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2701
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2702
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2703
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2704
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2705
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2706
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2707
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2708
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2709
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2710
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2711
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2712
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2713
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2714
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2715
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2716
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2717
+ };
2718
+ export type UserUncheckedUpdateWithoutContractsInput = {
2719
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2720
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2721
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2722
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2723
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2724
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2725
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2726
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2727
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2728
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2729
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2730
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2731
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2732
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2733
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2734
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2735
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2736
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2737
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2738
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2739
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2740
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2741
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2742
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2743
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2744
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2745
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2746
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2747
+ };
2748
+ export type UserUpsertWithoutSoldContractsInput = {
2749
+ update: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
2750
+ create: Prisma.XOR<Prisma.UserCreateWithoutSoldContractsInput, Prisma.UserUncheckedCreateWithoutSoldContractsInput>;
2751
+ where?: Prisma.UserWhereInput;
2752
+ };
2753
+ export type UserUpdateToOneWithWhereWithoutSoldContractsInput = {
2754
+ where?: Prisma.UserWhereInput;
2755
+ data: Prisma.XOR<Prisma.UserUpdateWithoutSoldContractsInput, Prisma.UserUncheckedUpdateWithoutSoldContractsInput>;
2756
+ };
2757
+ export type UserUpdateWithoutSoldContractsInput = {
2758
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2759
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2760
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2761
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2762
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2763
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2764
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2765
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2766
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2767
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2768
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2769
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2770
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2771
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2772
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
2773
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2774
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2775
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2776
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2777
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2778
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2779
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2780
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2781
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2782
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2783
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2784
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2785
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2786
+ };
2787
+ export type UserUncheckedUpdateWithoutSoldContractsInput = {
2788
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2789
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2790
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2791
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2792
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2793
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2794
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2795
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2796
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2797
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2798
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2799
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2800
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2801
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2802
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2803
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2804
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2805
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2806
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2807
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2808
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2809
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2810
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2811
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2812
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2813
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2814
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2815
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2816
+ };
2817
+ export type UserCreateManyTenantInput = {
2818
+ id?: string;
2819
+ email: string;
2820
+ password?: string | null;
2821
+ phone?: string | null;
2822
+ firstName?: string | null;
2823
+ lastName?: string | null;
2824
+ isActive?: boolean;
2825
+ isVerified?: boolean;
2826
+ googleId?: string | null;
2827
+ walletId?: string | null;
2828
+ createdAt?: Date | string;
2829
+ updatedAt?: Date | string;
2830
+ emailVerifiedAt?: Date | string | null;
2831
+ emailVerificationToken?: string | null;
2832
+ lastLoginAt?: Date | string | null;
2833
+ };
2834
+ export type UserUpdateWithoutTenantInput = {
2835
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2836
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2837
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2838
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2839
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2840
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2841
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2842
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2843
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2844
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2845
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2846
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2847
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2848
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2849
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
2850
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
2851
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
2852
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
2853
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
2854
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
2855
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
2856
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
2857
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
2858
+ mortgages?: Prisma.MortgageUpdateManyWithoutBorrowerNestedInput;
2859
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutBuyerNestedInput;
2860
+ contracts?: Prisma.ContractUpdateManyWithoutBuyerNestedInput;
2861
+ soldContracts?: Prisma.ContractUpdateManyWithoutSellerNestedInput;
2862
+ payments?: Prisma.PaymentUpdateManyWithoutPayerNestedInput;
2863
+ };
2864
+ export type UserUncheckedUpdateWithoutTenantInput = {
2865
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2866
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2867
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2868
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2869
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2870
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2871
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2872
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2873
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2874
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2875
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2876
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2877
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2878
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2879
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2880
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
2881
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
2882
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
2883
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
2884
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
2885
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
2886
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
2887
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
2888
+ mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutBorrowerNestedInput;
2889
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput;
2890
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutBuyerNestedInput;
2891
+ soldContracts?: Prisma.ContractUncheckedUpdateManyWithoutSellerNestedInput;
2892
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutPayerNestedInput;
2893
+ };
2894
+ export type UserUncheckedUpdateManyWithoutTenantInput = {
2895
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2896
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
2897
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2898
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2899
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2900
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2901
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2902
+ isVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2903
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2904
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2905
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2906
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2907
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2908
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2909
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2910
+ };
2911
+ /**
2912
+ * Count Type UserCountOutputType
2913
+ */
2914
+ export type UserCountOutputType = {
2915
+ userRoles: number;
2916
+ refreshTokens: number;
2917
+ passwordResets: number;
2918
+ suspensions: number;
2919
+ emailPreferences: number;
2920
+ deviceEndpoints: number;
2921
+ socials: number;
2922
+ properties: number;
2923
+ mortgages: number;
2924
+ paymentPlans: number;
2925
+ contracts: number;
2926
+ soldContracts: number;
2927
+ payments: number;
2928
+ };
2929
+ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2930
+ userRoles?: boolean | UserCountOutputTypeCountUserRolesArgs;
2931
+ refreshTokens?: boolean | UserCountOutputTypeCountRefreshTokensArgs;
2932
+ passwordResets?: boolean | UserCountOutputTypeCountPasswordResetsArgs;
2933
+ suspensions?: boolean | UserCountOutputTypeCountSuspensionsArgs;
2934
+ emailPreferences?: boolean | UserCountOutputTypeCountEmailPreferencesArgs;
2935
+ deviceEndpoints?: boolean | UserCountOutputTypeCountDeviceEndpointsArgs;
2936
+ socials?: boolean | UserCountOutputTypeCountSocialsArgs;
2937
+ properties?: boolean | UserCountOutputTypeCountPropertiesArgs;
2938
+ mortgages?: boolean | UserCountOutputTypeCountMortgagesArgs;
2939
+ paymentPlans?: boolean | UserCountOutputTypeCountPaymentPlansArgs;
2940
+ contracts?: boolean | UserCountOutputTypeCountContractsArgs;
2941
+ soldContracts?: boolean | UserCountOutputTypeCountSoldContractsArgs;
2942
+ payments?: boolean | UserCountOutputTypeCountPaymentsArgs;
2943
+ };
2944
+ /**
2945
+ * UserCountOutputType without action
2946
+ */
2947
+ export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2948
+ /**
2949
+ * Select specific fields to fetch from the UserCountOutputType
2950
+ */
2951
+ select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null;
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
+ };
2959
+ /**
2960
+ * UserCountOutputType without action
2961
+ */
2962
+ export type UserCountOutputTypeCountRefreshTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2963
+ where?: Prisma.RefreshTokenWhereInput;
2964
+ };
2965
+ /**
2966
+ * UserCountOutputType without action
2967
+ */
2968
+ export type UserCountOutputTypeCountPasswordResetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2969
+ where?: Prisma.PasswordResetWhereInput;
2970
+ };
2971
+ /**
2972
+ * UserCountOutputType without action
2973
+ */
2974
+ export type UserCountOutputTypeCountSuspensionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2975
+ where?: Prisma.UserSuspensionWhereInput;
2976
+ };
2977
+ /**
2978
+ * UserCountOutputType without action
2979
+ */
2980
+ export type UserCountOutputTypeCountEmailPreferencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2981
+ where?: Prisma.EmailPreferenceWhereInput;
2982
+ };
2983
+ /**
2984
+ * UserCountOutputType without action
2985
+ */
2986
+ export type UserCountOutputTypeCountDeviceEndpointsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2987
+ where?: Prisma.DeviceEndpointWhereInput;
2988
+ };
2989
+ /**
2990
+ * UserCountOutputType without action
2991
+ */
2992
+ export type UserCountOutputTypeCountSocialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2993
+ where?: Prisma.SocialWhereInput;
2994
+ };
2995
+ /**
2996
+ * UserCountOutputType without action
2997
+ */
2998
+ export type UserCountOutputTypeCountPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2999
+ where?: Prisma.PropertyWhereInput;
3000
+ };
3001
+ /**
3002
+ * UserCountOutputType without action
3003
+ */
3004
+ export type UserCountOutputTypeCountMortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3005
+ where?: Prisma.MortgageWhereInput;
3006
+ };
3007
+ /**
3008
+ * UserCountOutputType without action
3009
+ */
3010
+ export type UserCountOutputTypeCountPaymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3011
+ where?: Prisma.PaymentPlanWhereInput;
3012
+ };
3013
+ /**
3014
+ * UserCountOutputType without action
3015
+ */
3016
+ export type UserCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3017
+ where?: Prisma.ContractWhereInput;
3018
+ };
3019
+ /**
3020
+ * UserCountOutputType without action
3021
+ */
3022
+ export type UserCountOutputTypeCountSoldContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3023
+ where?: Prisma.ContractWhereInput;
3024
+ };
3025
+ /**
3026
+ * UserCountOutputType without action
3027
+ */
3028
+ export type UserCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3029
+ where?: Prisma.PaymentWhereInput;
3030
+ };
3031
+ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3032
+ id?: boolean;
3033
+ email?: boolean;
3034
+ password?: boolean;
3035
+ phone?: boolean;
3036
+ firstName?: boolean;
3037
+ lastName?: boolean;
3038
+ isActive?: boolean;
3039
+ isVerified?: boolean;
3040
+ googleId?: boolean;
3041
+ tenantId?: boolean;
3042
+ walletId?: boolean;
3043
+ createdAt?: boolean;
3044
+ updatedAt?: boolean;
3045
+ emailVerifiedAt?: boolean;
3046
+ emailVerificationToken?: boolean;
3047
+ lastLoginAt?: boolean;
3048
+ tenant?: boolean | Prisma.User$tenantArgs<ExtArgs>;
3049
+ userRoles?: boolean | Prisma.User$userRolesArgs<ExtArgs>;
3050
+ wallet?: boolean | Prisma.User$walletArgs<ExtArgs>;
3051
+ refreshTokens?: boolean | Prisma.User$refreshTokensArgs<ExtArgs>;
3052
+ passwordResets?: boolean | Prisma.User$passwordResetsArgs<ExtArgs>;
3053
+ suspensions?: boolean | Prisma.User$suspensionsArgs<ExtArgs>;
3054
+ emailPreferences?: boolean | Prisma.User$emailPreferencesArgs<ExtArgs>;
3055
+ deviceEndpoints?: boolean | Prisma.User$deviceEndpointsArgs<ExtArgs>;
3056
+ socials?: boolean | Prisma.User$socialsArgs<ExtArgs>;
3057
+ properties?: boolean | Prisma.User$propertiesArgs<ExtArgs>;
3058
+ mortgages?: boolean | Prisma.User$mortgagesArgs<ExtArgs>;
3059
+ paymentPlans?: boolean | Prisma.User$paymentPlansArgs<ExtArgs>;
3060
+ contracts?: boolean | Prisma.User$contractsArgs<ExtArgs>;
3061
+ soldContracts?: boolean | Prisma.User$soldContractsArgs<ExtArgs>;
3062
+ payments?: boolean | Prisma.User$paymentsArgs<ExtArgs>;
3063
+ _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
3064
+ }, ExtArgs["result"]["user"]>;
3065
+ export type UserSelectScalar = {
3066
+ id?: boolean;
3067
+ email?: boolean;
3068
+ password?: boolean;
3069
+ phone?: boolean;
3070
+ firstName?: boolean;
3071
+ lastName?: boolean;
3072
+ isActive?: boolean;
3073
+ isVerified?: boolean;
3074
+ googleId?: boolean;
3075
+ tenantId?: boolean;
3076
+ walletId?: boolean;
3077
+ createdAt?: boolean;
3078
+ updatedAt?: boolean;
3079
+ emailVerifiedAt?: boolean;
3080
+ emailVerificationToken?: boolean;
3081
+ lastLoginAt?: boolean;
3082
+ };
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"]>;
3084
+ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3085
+ tenant?: boolean | Prisma.User$tenantArgs<ExtArgs>;
3086
+ userRoles?: boolean | Prisma.User$userRolesArgs<ExtArgs>;
3087
+ wallet?: boolean | Prisma.User$walletArgs<ExtArgs>;
3088
+ refreshTokens?: boolean | Prisma.User$refreshTokensArgs<ExtArgs>;
3089
+ passwordResets?: boolean | Prisma.User$passwordResetsArgs<ExtArgs>;
3090
+ suspensions?: boolean | Prisma.User$suspensionsArgs<ExtArgs>;
3091
+ emailPreferences?: boolean | Prisma.User$emailPreferencesArgs<ExtArgs>;
3092
+ deviceEndpoints?: boolean | Prisma.User$deviceEndpointsArgs<ExtArgs>;
3093
+ socials?: boolean | Prisma.User$socialsArgs<ExtArgs>;
3094
+ properties?: boolean | Prisma.User$propertiesArgs<ExtArgs>;
3095
+ mortgages?: boolean | Prisma.User$mortgagesArgs<ExtArgs>;
3096
+ paymentPlans?: boolean | Prisma.User$paymentPlansArgs<ExtArgs>;
3097
+ contracts?: boolean | Prisma.User$contractsArgs<ExtArgs>;
3098
+ soldContracts?: boolean | Prisma.User$soldContractsArgs<ExtArgs>;
3099
+ payments?: boolean | Prisma.User$paymentsArgs<ExtArgs>;
3100
+ _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
3101
+ };
3102
+ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3103
+ name: "User";
3104
+ objects: {
3105
+ tenant: Prisma.$TenantPayload<ExtArgs> | null;
3106
+ userRoles: Prisma.$UserRolePayload<ExtArgs>[];
3107
+ wallet: Prisma.$WalletPayload<ExtArgs> | null;
3108
+ refreshTokens: Prisma.$RefreshTokenPayload<ExtArgs>[];
3109
+ passwordResets: Prisma.$PasswordResetPayload<ExtArgs>[];
3110
+ suspensions: Prisma.$UserSuspensionPayload<ExtArgs>[];
3111
+ emailPreferences: Prisma.$EmailPreferencePayload<ExtArgs>[];
3112
+ deviceEndpoints: Prisma.$DeviceEndpointPayload<ExtArgs>[];
3113
+ socials: Prisma.$SocialPayload<ExtArgs>[];
3114
+ properties: Prisma.$PropertyPayload<ExtArgs>[];
3115
+ mortgages: Prisma.$MortgagePayload<ExtArgs>[];
3116
+ paymentPlans: Prisma.$PaymentPlanPayload<ExtArgs>[];
3117
+ contracts: Prisma.$ContractPayload<ExtArgs>[];
3118
+ soldContracts: Prisma.$ContractPayload<ExtArgs>[];
3119
+ payments: Prisma.$PaymentPayload<ExtArgs>[];
3120
+ };
3121
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
3122
+ id: string;
3123
+ email: string;
3124
+ password: string | null;
3125
+ phone: string | null;
3126
+ firstName: string | null;
3127
+ lastName: string | null;
3128
+ isActive: boolean;
3129
+ isVerified: boolean;
3130
+ googleId: string | null;
3131
+ tenantId: string | null;
3132
+ walletId: string | null;
3133
+ createdAt: Date;
3134
+ updatedAt: Date;
3135
+ emailVerifiedAt: Date | null;
3136
+ emailVerificationToken: string | null;
3137
+ lastLoginAt: Date | null;
3138
+ }, ExtArgs["result"]["user"]>;
3139
+ composites: {};
3140
+ };
3141
+ export type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPayload, S>;
3142
+ export type UserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
3143
+ select?: UserCountAggregateInputType | true;
3144
+ };
3145
+ export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
3146
+ [K: symbol]: {
3147
+ types: Prisma.TypeMap<ExtArgs>['model']['User'];
3148
+ meta: {
3149
+ name: 'User';
3150
+ };
3151
+ };
3152
+ /**
3153
+ * Find zero or one User that matches the filter.
3154
+ * @param {UserFindUniqueArgs} args - Arguments to find a User
3155
+ * @example
3156
+ * // Get one User
3157
+ * const user = await prisma.user.findUnique({
3158
+ * where: {
3159
+ * // ... provide filter here
3160
+ * }
3161
+ * })
3162
+ */
3163
+ findUnique<T extends UserFindUniqueArgs>(args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3164
+ /**
3165
+ * Find one User that matches the filter or throw an error with `error.code='P2025'`
3166
+ * if no matches were found.
3167
+ * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
3168
+ * @example
3169
+ * // Get one User
3170
+ * const user = await prisma.user.findUniqueOrThrow({
3171
+ * where: {
3172
+ * // ... provide filter here
3173
+ * }
3174
+ * })
3175
+ */
3176
+ findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3177
+ /**
3178
+ * Find the first User that matches the filter.
3179
+ * Note, that providing `undefined` is treated as the value not being there.
3180
+ * Read more here: https://pris.ly/d/null-undefined
3181
+ * @param {UserFindFirstArgs} args - Arguments to find a User
3182
+ * @example
3183
+ * // Get one User
3184
+ * const user = await prisma.user.findFirst({
3185
+ * where: {
3186
+ * // ... provide filter here
3187
+ * }
3188
+ * })
3189
+ */
3190
+ findFirst<T extends UserFindFirstArgs>(args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3191
+ /**
3192
+ * Find the first User that matches the filter or
3193
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3194
+ * Note, that providing `undefined` is treated as the value not being there.
3195
+ * Read more here: https://pris.ly/d/null-undefined
3196
+ * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User
3197
+ * @example
3198
+ * // Get one User
3199
+ * const user = await prisma.user.findFirstOrThrow({
3200
+ * where: {
3201
+ * // ... provide filter here
3202
+ * }
3203
+ * })
3204
+ */
3205
+ findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3206
+ /**
3207
+ * Find zero or more Users that matches the filter.
3208
+ * Note, that providing `undefined` is treated as the value not being there.
3209
+ * Read more here: https://pris.ly/d/null-undefined
3210
+ * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only.
3211
+ * @example
3212
+ * // Get all Users
3213
+ * const users = await prisma.user.findMany()
3214
+ *
3215
+ * // Get first 10 Users
3216
+ * const users = await prisma.user.findMany({ take: 10 })
3217
+ *
3218
+ * // Only select the `id`
3219
+ * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } })
3220
+ *
3221
+ */
3222
+ findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
3223
+ /**
3224
+ * Create a User.
3225
+ * @param {UserCreateArgs} args - Arguments to create a User.
3226
+ * @example
3227
+ * // Create one User
3228
+ * const User = await prisma.user.create({
3229
+ * data: {
3230
+ * // ... data to create a User
3231
+ * }
3232
+ * })
3233
+ *
3234
+ */
3235
+ create<T extends UserCreateArgs>(args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3236
+ /**
3237
+ * Create many Users.
3238
+ * @param {UserCreateManyArgs} args - Arguments to create many Users.
3239
+ * @example
3240
+ * // Create many Users
3241
+ * const user = await prisma.user.createMany({
3242
+ * data: [
3243
+ * // ... provide data here
3244
+ * ]
3245
+ * })
3246
+ *
3247
+ */
3248
+ createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3249
+ /**
3250
+ * Delete a User.
3251
+ * @param {UserDeleteArgs} args - Arguments to delete one User.
3252
+ * @example
3253
+ * // Delete one User
3254
+ * const User = await prisma.user.delete({
3255
+ * where: {
3256
+ * // ... filter to delete one User
3257
+ * }
3258
+ * })
3259
+ *
3260
+ */
3261
+ delete<T extends UserDeleteArgs>(args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3262
+ /**
3263
+ * Update one User.
3264
+ * @param {UserUpdateArgs} args - Arguments to update one User.
3265
+ * @example
3266
+ * // Update one User
3267
+ * const user = await prisma.user.update({
3268
+ * where: {
3269
+ * // ... provide filter here
3270
+ * },
3271
+ * data: {
3272
+ * // ... provide data here
3273
+ * }
3274
+ * })
3275
+ *
3276
+ */
3277
+ update<T extends UserUpdateArgs>(args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3278
+ /**
3279
+ * Delete zero or more Users.
3280
+ * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
3281
+ * @example
3282
+ * // Delete a few Users
3283
+ * const { count } = await prisma.user.deleteMany({
3284
+ * where: {
3285
+ * // ... provide filter here
3286
+ * }
3287
+ * })
3288
+ *
3289
+ */
3290
+ deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3291
+ /**
3292
+ * Update zero or more Users.
3293
+ * Note, that providing `undefined` is treated as the value not being there.
3294
+ * Read more here: https://pris.ly/d/null-undefined
3295
+ * @param {UserUpdateManyArgs} args - Arguments to update one or more rows.
3296
+ * @example
3297
+ * // Update many Users
3298
+ * const user = await prisma.user.updateMany({
3299
+ * where: {
3300
+ * // ... provide filter here
3301
+ * },
3302
+ * data: {
3303
+ * // ... provide data here
3304
+ * }
3305
+ * })
3306
+ *
3307
+ */
3308
+ updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3309
+ /**
3310
+ * Create or update one User.
3311
+ * @param {UserUpsertArgs} args - Arguments to update or create a User.
3312
+ * @example
3313
+ * // Update or create a User
3314
+ * const user = await prisma.user.upsert({
3315
+ * create: {
3316
+ * // ... data to create a User
3317
+ * },
3318
+ * update: {
3319
+ * // ... in case it already exists, update
3320
+ * },
3321
+ * where: {
3322
+ * // ... the filter for the User we want to update
3323
+ * }
3324
+ * })
3325
+ */
3326
+ upsert<T extends UserUpsertArgs>(args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3327
+ /**
3328
+ * Count the number of Users.
3329
+ * Note, that providing `undefined` is treated as the value not being there.
3330
+ * Read more here: https://pris.ly/d/null-undefined
3331
+ * @param {UserCountArgs} args - Arguments to filter Users to count.
3332
+ * @example
3333
+ * // Count the number of Users
3334
+ * const count = await prisma.user.count({
3335
+ * where: {
3336
+ * // ... the filter for the Users we want to count
3337
+ * }
3338
+ * })
3339
+ **/
3340
+ count<T extends UserCountArgs>(args?: Prisma.Subset<T, UserCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], UserCountAggregateOutputType> : number>;
3341
+ /**
3342
+ * Allows you to perform aggregations operations on a User.
3343
+ * Note, that providing `undefined` is treated as the value not being there.
3344
+ * Read more here: https://pris.ly/d/null-undefined
3345
+ * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3346
+ * @example
3347
+ * // Ordered by age ascending
3348
+ * // Where email contains prisma.io
3349
+ * // Limited to the 10 users
3350
+ * const aggregations = await prisma.user.aggregate({
3351
+ * _avg: {
3352
+ * age: true,
3353
+ * },
3354
+ * where: {
3355
+ * email: {
3356
+ * contains: "prisma.io",
3357
+ * },
3358
+ * },
3359
+ * orderBy: {
3360
+ * age: "asc",
3361
+ * },
3362
+ * take: 10,
3363
+ * })
3364
+ **/
3365
+ aggregate<T extends UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>;
3366
+ /**
3367
+ * Group by User.
3368
+ * Note, that providing `undefined` is treated as the value not being there.
3369
+ * Read more here: https://pris.ly/d/null-undefined
3370
+ * @param {UserGroupByArgs} args - Group by arguments.
3371
+ * @example
3372
+ * // Group by city, order by createdAt, get count
3373
+ * const result = await prisma.user.groupBy({
3374
+ * by: ['city', 'createdAt'],
3375
+ * orderBy: {
3376
+ * createdAt: true
3377
+ * },
3378
+ * _count: {
3379
+ * _all: true
3380
+ * },
3381
+ * })
3382
+ *
3383
+ **/
3384
+ groupBy<T extends UserGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
3385
+ orderBy: UserGroupByArgs['orderBy'];
3386
+ } : {
3387
+ orderBy?: UserGroupByArgs['orderBy'];
3388
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
3389
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
3390
+ Error,
3391
+ 'Field ',
3392
+ P,
3393
+ ` in "having" needs to be provided in "by"`
3394
+ ];
3395
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
3396
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3397
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
3398
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3399
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
3400
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3401
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
3402
+ /**
3403
+ * Fields of the User model
3404
+ */
3405
+ readonly fields: UserFieldRefs;
3406
+ }
3407
+ /**
3408
+ * The delegate class that acts as a "Promise-like" for User.
3409
+ * Why is this prefixed with `Prisma__`?
3410
+ * Because we want to prevent naming conflicts as mentioned in
3411
+ * https://github.com/prisma/prisma-client-js/issues/707
3412
+ */
3413
+ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3414
+ readonly [Symbol.toStringTag]: "PrismaPromise";
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>;
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>;
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>;
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>;
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>;
3420
+ suspensions<T extends Prisma.User$suspensionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$suspensionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserSuspensionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3421
+ emailPreferences<T extends Prisma.User$emailPreferencesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$emailPreferencesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmailPreferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3422
+ deviceEndpoints<T extends Prisma.User$deviceEndpointsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$deviceEndpointsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeviceEndpointPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3423
+ socials<T extends Prisma.User$socialsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$socialsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SocialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3424
+ properties<T extends Prisma.User$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3425
+ mortgages<T extends Prisma.User$mortgagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$mortgagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3426
+ paymentPlans<T extends Prisma.User$paymentPlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$paymentPlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3427
+ contracts<T extends Prisma.User$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3428
+ soldContracts<T extends Prisma.User$soldContractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$soldContractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3429
+ payments<T extends Prisma.User$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3430
+ /**
3431
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
3432
+ * @param onfulfilled The callback to execute when the Promise is resolved.
3433
+ * @param onrejected The callback to execute when the Promise is rejected.
3434
+ * @returns A Promise for the completion of which ever callback is executed.
3435
+ */
3436
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
3437
+ /**
3438
+ * Attaches a callback for only the rejection of the Promise.
3439
+ * @param onrejected The callback to execute when the Promise is rejected.
3440
+ * @returns A Promise for the completion of the callback.
3441
+ */
3442
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
3443
+ /**
3444
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3445
+ * resolved value cannot be modified from the callback.
3446
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3447
+ * @returns A Promise for the completion of the callback.
3448
+ */
3449
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
3450
+ }
3451
+ /**
3452
+ * Fields of the User model
3453
+ */
3454
+ export interface UserFieldRefs {
3455
+ readonly id: Prisma.FieldRef<"User", 'String'>;
3456
+ readonly email: Prisma.FieldRef<"User", 'String'>;
3457
+ readonly password: Prisma.FieldRef<"User", 'String'>;
3458
+ readonly phone: Prisma.FieldRef<"User", 'String'>;
3459
+ readonly firstName: Prisma.FieldRef<"User", 'String'>;
3460
+ readonly lastName: Prisma.FieldRef<"User", 'String'>;
3461
+ readonly isActive: Prisma.FieldRef<"User", 'Boolean'>;
3462
+ readonly isVerified: Prisma.FieldRef<"User", 'Boolean'>;
3463
+ readonly googleId: Prisma.FieldRef<"User", 'String'>;
3464
+ readonly tenantId: Prisma.FieldRef<"User", 'String'>;
3465
+ readonly walletId: Prisma.FieldRef<"User", 'String'>;
3466
+ readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>;
3467
+ readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>;
3468
+ readonly emailVerifiedAt: Prisma.FieldRef<"User", 'DateTime'>;
3469
+ readonly emailVerificationToken: Prisma.FieldRef<"User", 'String'>;
3470
+ readonly lastLoginAt: Prisma.FieldRef<"User", 'DateTime'>;
3471
+ }
3472
+ /**
3473
+ * User findUnique
3474
+ */
3475
+ export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3476
+ /**
3477
+ * Select specific fields to fetch from the User
3478
+ */
3479
+ select?: Prisma.UserSelect<ExtArgs> | null;
3480
+ /**
3481
+ * Omit specific fields from the User
3482
+ */
3483
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3484
+ /**
3485
+ * Choose, which related nodes to fetch as well
3486
+ */
3487
+ include?: Prisma.UserInclude<ExtArgs> | null;
3488
+ /**
3489
+ * Filter, which User to fetch.
3490
+ */
3491
+ where: Prisma.UserWhereUniqueInput;
3492
+ };
3493
+ /**
3494
+ * User findUniqueOrThrow
3495
+ */
3496
+ export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3497
+ /**
3498
+ * Select specific fields to fetch from the User
3499
+ */
3500
+ select?: Prisma.UserSelect<ExtArgs> | null;
3501
+ /**
3502
+ * Omit specific fields from the User
3503
+ */
3504
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3505
+ /**
3506
+ * Choose, which related nodes to fetch as well
3507
+ */
3508
+ include?: Prisma.UserInclude<ExtArgs> | null;
3509
+ /**
3510
+ * Filter, which User to fetch.
3511
+ */
3512
+ where: Prisma.UserWhereUniqueInput;
3513
+ };
3514
+ /**
3515
+ * User findFirst
3516
+ */
3517
+ export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3518
+ /**
3519
+ * Select specific fields to fetch from the User
3520
+ */
3521
+ select?: Prisma.UserSelect<ExtArgs> | null;
3522
+ /**
3523
+ * Omit specific fields from the User
3524
+ */
3525
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3526
+ /**
3527
+ * Choose, which related nodes to fetch as well
3528
+ */
3529
+ include?: Prisma.UserInclude<ExtArgs> | null;
3530
+ /**
3531
+ * Filter, which User to fetch.
3532
+ */
3533
+ where?: Prisma.UserWhereInput;
3534
+ /**
3535
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3536
+ *
3537
+ * Determine the order of Users to fetch.
3538
+ */
3539
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
3540
+ /**
3541
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3542
+ *
3543
+ * Sets the position for searching for Users.
3544
+ */
3545
+ cursor?: Prisma.UserWhereUniqueInput;
3546
+ /**
3547
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3548
+ *
3549
+ * Take `±n` Users from the position of the cursor.
3550
+ */
3551
+ take?: number;
3552
+ /**
3553
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3554
+ *
3555
+ * Skip the first `n` Users.
3556
+ */
3557
+ skip?: number;
3558
+ /**
3559
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3560
+ *
3561
+ * Filter by unique combinations of Users.
3562
+ */
3563
+ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
3564
+ };
3565
+ /**
3566
+ * User findFirstOrThrow
3567
+ */
3568
+ export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3569
+ /**
3570
+ * Select specific fields to fetch from the User
3571
+ */
3572
+ select?: Prisma.UserSelect<ExtArgs> | null;
3573
+ /**
3574
+ * Omit specific fields from the User
3575
+ */
3576
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3577
+ /**
3578
+ * Choose, which related nodes to fetch as well
3579
+ */
3580
+ include?: Prisma.UserInclude<ExtArgs> | null;
3581
+ /**
3582
+ * Filter, which User to fetch.
3583
+ */
3584
+ where?: Prisma.UserWhereInput;
3585
+ /**
3586
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3587
+ *
3588
+ * Determine the order of Users to fetch.
3589
+ */
3590
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
3591
+ /**
3592
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3593
+ *
3594
+ * Sets the position for searching for Users.
3595
+ */
3596
+ cursor?: Prisma.UserWhereUniqueInput;
3597
+ /**
3598
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3599
+ *
3600
+ * Take `±n` Users from the position of the cursor.
3601
+ */
3602
+ take?: number;
3603
+ /**
3604
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3605
+ *
3606
+ * Skip the first `n` Users.
3607
+ */
3608
+ skip?: number;
3609
+ /**
3610
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3611
+ *
3612
+ * Filter by unique combinations of Users.
3613
+ */
3614
+ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
3615
+ };
3616
+ /**
3617
+ * User findMany
3618
+ */
3619
+ export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3620
+ /**
3621
+ * Select specific fields to fetch from the User
3622
+ */
3623
+ select?: Prisma.UserSelect<ExtArgs> | null;
3624
+ /**
3625
+ * Omit specific fields from the User
3626
+ */
3627
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3628
+ /**
3629
+ * Choose, which related nodes to fetch as well
3630
+ */
3631
+ include?: Prisma.UserInclude<ExtArgs> | null;
3632
+ /**
3633
+ * Filter, which Users to fetch.
3634
+ */
3635
+ where?: Prisma.UserWhereInput;
3636
+ /**
3637
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3638
+ *
3639
+ * Determine the order of Users to fetch.
3640
+ */
3641
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
3642
+ /**
3643
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3644
+ *
3645
+ * Sets the position for listing Users.
3646
+ */
3647
+ cursor?: Prisma.UserWhereUniqueInput;
3648
+ /**
3649
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3650
+ *
3651
+ * Take `±n` Users from the position of the cursor.
3652
+ */
3653
+ take?: number;
3654
+ /**
3655
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3656
+ *
3657
+ * Skip the first `n` Users.
3658
+ */
3659
+ skip?: number;
3660
+ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
3661
+ };
3662
+ /**
3663
+ * User create
3664
+ */
3665
+ export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3666
+ /**
3667
+ * Select specific fields to fetch from the User
3668
+ */
3669
+ select?: Prisma.UserSelect<ExtArgs> | null;
3670
+ /**
3671
+ * Omit specific fields from the User
3672
+ */
3673
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3674
+ /**
3675
+ * Choose, which related nodes to fetch as well
3676
+ */
3677
+ include?: Prisma.UserInclude<ExtArgs> | null;
3678
+ /**
3679
+ * The data needed to create a User.
3680
+ */
3681
+ data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>;
3682
+ };
3683
+ /**
3684
+ * User createMany
3685
+ */
3686
+ export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3687
+ /**
3688
+ * The data used to create many Users.
3689
+ */
3690
+ data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[];
3691
+ skipDuplicates?: boolean;
3692
+ };
3693
+ /**
3694
+ * User update
3695
+ */
3696
+ export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3697
+ /**
3698
+ * Select specific fields to fetch from the User
3699
+ */
3700
+ select?: Prisma.UserSelect<ExtArgs> | null;
3701
+ /**
3702
+ * Omit specific fields from the User
3703
+ */
3704
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3705
+ /**
3706
+ * Choose, which related nodes to fetch as well
3707
+ */
3708
+ include?: Prisma.UserInclude<ExtArgs> | null;
3709
+ /**
3710
+ * The data needed to update a User.
3711
+ */
3712
+ data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>;
3713
+ /**
3714
+ * Choose, which User to update.
3715
+ */
3716
+ where: Prisma.UserWhereUniqueInput;
3717
+ };
3718
+ /**
3719
+ * User updateMany
3720
+ */
3721
+ export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3722
+ /**
3723
+ * The data used to update Users.
3724
+ */
3725
+ data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>;
3726
+ /**
3727
+ * Filter which Users to update
3728
+ */
3729
+ where?: Prisma.UserWhereInput;
3730
+ /**
3731
+ * Limit how many Users to update.
3732
+ */
3733
+ limit?: number;
3734
+ };
3735
+ /**
3736
+ * User upsert
3737
+ */
3738
+ export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3739
+ /**
3740
+ * Select specific fields to fetch from the User
3741
+ */
3742
+ select?: Prisma.UserSelect<ExtArgs> | null;
3743
+ /**
3744
+ * Omit specific fields from the User
3745
+ */
3746
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3747
+ /**
3748
+ * Choose, which related nodes to fetch as well
3749
+ */
3750
+ include?: Prisma.UserInclude<ExtArgs> | null;
3751
+ /**
3752
+ * The filter to search for the User to update in case it exists.
3753
+ */
3754
+ where: Prisma.UserWhereUniqueInput;
3755
+ /**
3756
+ * In case the User found by the `where` argument doesn't exist, create a new User with this data.
3757
+ */
3758
+ create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>;
3759
+ /**
3760
+ * In case the User was found with the provided `where` argument, update it with this data.
3761
+ */
3762
+ update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>;
3763
+ };
3764
+ /**
3765
+ * User delete
3766
+ */
3767
+ export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3768
+ /**
3769
+ * Select specific fields to fetch from the User
3770
+ */
3771
+ select?: Prisma.UserSelect<ExtArgs> | null;
3772
+ /**
3773
+ * Omit specific fields from the User
3774
+ */
3775
+ omit?: Prisma.UserOmit<ExtArgs> | null;
3776
+ /**
3777
+ * Choose, which related nodes to fetch as well
3778
+ */
3779
+ include?: Prisma.UserInclude<ExtArgs> | null;
3780
+ /**
3781
+ * Filter which User to delete.
3782
+ */
3783
+ where: Prisma.UserWhereUniqueInput;
3784
+ };
3785
+ /**
3786
+ * User deleteMany
3787
+ */
3788
+ export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3789
+ /**
3790
+ * Filter which Users to delete
3791
+ */
3792
+ where?: Prisma.UserWhereInput;
3793
+ /**
3794
+ * Limit how many Users to delete.
3795
+ */
3796
+ limit?: number;
3797
+ };
3798
+ /**
3799
+ * User.tenant
3800
+ */
3801
+ export type User$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3802
+ /**
3803
+ * Select specific fields to fetch from the Tenant
3804
+ */
3805
+ select?: Prisma.TenantSelect<ExtArgs> | null;
3806
+ /**
3807
+ * Omit specific fields from the Tenant
3808
+ */
3809
+ omit?: Prisma.TenantOmit<ExtArgs> | null;
3810
+ /**
3811
+ * Choose, which related nodes to fetch as well
3812
+ */
3813
+ include?: Prisma.TenantInclude<ExtArgs> | null;
3814
+ where?: Prisma.TenantWhereInput;
3815
+ };
3816
+ /**
3817
+ * User.userRoles
3818
+ */
3819
+ export type User$userRolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3820
+ /**
3821
+ * Select specific fields to fetch from the UserRole
3822
+ */
3823
+ select?: Prisma.UserRoleSelect<ExtArgs> | null;
3824
+ /**
3825
+ * Omit specific fields from the UserRole
3826
+ */
3827
+ omit?: Prisma.UserRoleOmit<ExtArgs> | null;
3828
+ /**
3829
+ * Choose, which related nodes to fetch as well
3830
+ */
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[];
3838
+ };
3839
+ /**
3840
+ * User.wallet
3841
+ */
3842
+ export type User$walletArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3843
+ /**
3844
+ * Select specific fields to fetch from the Wallet
3845
+ */
3846
+ select?: Prisma.WalletSelect<ExtArgs> | null;
3847
+ /**
3848
+ * Omit specific fields from the Wallet
3849
+ */
3850
+ omit?: Prisma.WalletOmit<ExtArgs> | null;
3851
+ /**
3852
+ * Choose, which related nodes to fetch as well
3853
+ */
3854
+ include?: Prisma.WalletInclude<ExtArgs> | null;
3855
+ where?: Prisma.WalletWhereInput;
3856
+ };
3857
+ /**
3858
+ * User.refreshTokens
3859
+ */
3860
+ export type User$refreshTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3861
+ /**
3862
+ * Select specific fields to fetch from the RefreshToken
3863
+ */
3864
+ select?: Prisma.RefreshTokenSelect<ExtArgs> | null;
3865
+ /**
3866
+ * Omit specific fields from the RefreshToken
3867
+ */
3868
+ omit?: Prisma.RefreshTokenOmit<ExtArgs> | null;
3869
+ /**
3870
+ * Choose, which related nodes to fetch as well
3871
+ */
3872
+ include?: Prisma.RefreshTokenInclude<ExtArgs> | null;
3873
+ where?: Prisma.RefreshTokenWhereInput;
3874
+ orderBy?: Prisma.RefreshTokenOrderByWithRelationInput | Prisma.RefreshTokenOrderByWithRelationInput[];
3875
+ cursor?: Prisma.RefreshTokenWhereUniqueInput;
3876
+ take?: number;
3877
+ skip?: number;
3878
+ distinct?: Prisma.RefreshTokenScalarFieldEnum | Prisma.RefreshTokenScalarFieldEnum[];
3879
+ };
3880
+ /**
3881
+ * User.passwordResets
3882
+ */
3883
+ export type User$passwordResetsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3884
+ /**
3885
+ * Select specific fields to fetch from the PasswordReset
3886
+ */
3887
+ select?: Prisma.PasswordResetSelect<ExtArgs> | null;
3888
+ /**
3889
+ * Omit specific fields from the PasswordReset
3890
+ */
3891
+ omit?: Prisma.PasswordResetOmit<ExtArgs> | null;
3892
+ /**
3893
+ * Choose, which related nodes to fetch as well
3894
+ */
3895
+ include?: Prisma.PasswordResetInclude<ExtArgs> | null;
3896
+ where?: Prisma.PasswordResetWhereInput;
3897
+ orderBy?: Prisma.PasswordResetOrderByWithRelationInput | Prisma.PasswordResetOrderByWithRelationInput[];
3898
+ cursor?: Prisma.PasswordResetWhereUniqueInput;
3899
+ take?: number;
3900
+ skip?: number;
3901
+ distinct?: Prisma.PasswordResetScalarFieldEnum | Prisma.PasswordResetScalarFieldEnum[];
3902
+ };
3903
+ /**
3904
+ * User.suspensions
3905
+ */
3906
+ export type User$suspensionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3907
+ /**
3908
+ * Select specific fields to fetch from the UserSuspension
3909
+ */
3910
+ select?: Prisma.UserSuspensionSelect<ExtArgs> | null;
3911
+ /**
3912
+ * Omit specific fields from the UserSuspension
3913
+ */
3914
+ omit?: Prisma.UserSuspensionOmit<ExtArgs> | null;
3915
+ /**
3916
+ * Choose, which related nodes to fetch as well
3917
+ */
3918
+ include?: Prisma.UserSuspensionInclude<ExtArgs> | null;
3919
+ where?: Prisma.UserSuspensionWhereInput;
3920
+ orderBy?: Prisma.UserSuspensionOrderByWithRelationInput | Prisma.UserSuspensionOrderByWithRelationInput[];
3921
+ cursor?: Prisma.UserSuspensionWhereUniqueInput;
3922
+ take?: number;
3923
+ skip?: number;
3924
+ distinct?: Prisma.UserSuspensionScalarFieldEnum | Prisma.UserSuspensionScalarFieldEnum[];
3925
+ };
3926
+ /**
3927
+ * User.emailPreferences
3928
+ */
3929
+ export type User$emailPreferencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3930
+ /**
3931
+ * Select specific fields to fetch from the EmailPreference
3932
+ */
3933
+ select?: Prisma.EmailPreferenceSelect<ExtArgs> | null;
3934
+ /**
3935
+ * Omit specific fields from the EmailPreference
3936
+ */
3937
+ omit?: Prisma.EmailPreferenceOmit<ExtArgs> | null;
3938
+ /**
3939
+ * Choose, which related nodes to fetch as well
3940
+ */
3941
+ include?: Prisma.EmailPreferenceInclude<ExtArgs> | null;
3942
+ where?: Prisma.EmailPreferenceWhereInput;
3943
+ orderBy?: Prisma.EmailPreferenceOrderByWithRelationInput | Prisma.EmailPreferenceOrderByWithRelationInput[];
3944
+ cursor?: Prisma.EmailPreferenceWhereUniqueInput;
3945
+ take?: number;
3946
+ skip?: number;
3947
+ distinct?: Prisma.EmailPreferenceScalarFieldEnum | Prisma.EmailPreferenceScalarFieldEnum[];
3948
+ };
3949
+ /**
3950
+ * User.deviceEndpoints
3951
+ */
3952
+ export type User$deviceEndpointsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3953
+ /**
3954
+ * Select specific fields to fetch from the DeviceEndpoint
3955
+ */
3956
+ select?: Prisma.DeviceEndpointSelect<ExtArgs> | null;
3957
+ /**
3958
+ * Omit specific fields from the DeviceEndpoint
3959
+ */
3960
+ omit?: Prisma.DeviceEndpointOmit<ExtArgs> | null;
3961
+ /**
3962
+ * Choose, which related nodes to fetch as well
3963
+ */
3964
+ include?: Prisma.DeviceEndpointInclude<ExtArgs> | null;
3965
+ where?: Prisma.DeviceEndpointWhereInput;
3966
+ orderBy?: Prisma.DeviceEndpointOrderByWithRelationInput | Prisma.DeviceEndpointOrderByWithRelationInput[];
3967
+ cursor?: Prisma.DeviceEndpointWhereUniqueInput;
3968
+ take?: number;
3969
+ skip?: number;
3970
+ distinct?: Prisma.DeviceEndpointScalarFieldEnum | Prisma.DeviceEndpointScalarFieldEnum[];
3971
+ };
3972
+ /**
3973
+ * User.socials
3974
+ */
3975
+ export type User$socialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3976
+ /**
3977
+ * Select specific fields to fetch from the Social
3978
+ */
3979
+ select?: Prisma.SocialSelect<ExtArgs> | null;
3980
+ /**
3981
+ * Omit specific fields from the Social
3982
+ */
3983
+ omit?: Prisma.SocialOmit<ExtArgs> | null;
3984
+ /**
3985
+ * Choose, which related nodes to fetch as well
3986
+ */
3987
+ include?: Prisma.SocialInclude<ExtArgs> | null;
3988
+ where?: Prisma.SocialWhereInput;
3989
+ orderBy?: Prisma.SocialOrderByWithRelationInput | Prisma.SocialOrderByWithRelationInput[];
3990
+ cursor?: Prisma.SocialWhereUniqueInput;
3991
+ take?: number;
3992
+ skip?: number;
3993
+ distinct?: Prisma.SocialScalarFieldEnum | Prisma.SocialScalarFieldEnum[];
3994
+ };
3995
+ /**
3996
+ * User.properties
3997
+ */
3998
+ export type User$propertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3999
+ /**
4000
+ * Select specific fields to fetch from the Property
4001
+ */
4002
+ select?: Prisma.PropertySelect<ExtArgs> | null;
4003
+ /**
4004
+ * Omit specific fields from the Property
4005
+ */
4006
+ omit?: Prisma.PropertyOmit<ExtArgs> | null;
4007
+ /**
4008
+ * Choose, which related nodes to fetch as well
4009
+ */
4010
+ include?: Prisma.PropertyInclude<ExtArgs> | null;
4011
+ where?: Prisma.PropertyWhereInput;
4012
+ orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
4013
+ cursor?: Prisma.PropertyWhereUniqueInput;
4014
+ take?: number;
4015
+ skip?: number;
4016
+ distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
4017
+ };
4018
+ /**
4019
+ * User.mortgages
4020
+ */
4021
+ export type User$mortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4022
+ /**
4023
+ * Select specific fields to fetch from the Mortgage
4024
+ */
4025
+ select?: Prisma.MortgageSelect<ExtArgs> | null;
4026
+ /**
4027
+ * Omit specific fields from the Mortgage
4028
+ */
4029
+ omit?: Prisma.MortgageOmit<ExtArgs> | null;
4030
+ /**
4031
+ * Choose, which related nodes to fetch as well
4032
+ */
4033
+ include?: Prisma.MortgageInclude<ExtArgs> | null;
4034
+ where?: Prisma.MortgageWhereInput;
4035
+ orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
4036
+ cursor?: Prisma.MortgageWhereUniqueInput;
4037
+ take?: number;
4038
+ skip?: number;
4039
+ distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
4040
+ };
4041
+ /**
4042
+ * User.paymentPlans
4043
+ */
4044
+ export type User$paymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4045
+ /**
4046
+ * Select specific fields to fetch from the PaymentPlan
4047
+ */
4048
+ select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
4049
+ /**
4050
+ * Omit specific fields from the PaymentPlan
4051
+ */
4052
+ omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
4053
+ /**
4054
+ * Choose, which related nodes to fetch as well
4055
+ */
4056
+ include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
4057
+ where?: Prisma.PaymentPlanWhereInput;
4058
+ orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
4059
+ cursor?: Prisma.PaymentPlanWhereUniqueInput;
4060
+ take?: number;
4061
+ skip?: number;
4062
+ distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
4063
+ };
4064
+ /**
4065
+ * User.contracts
4066
+ */
4067
+ export type User$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4068
+ /**
4069
+ * Select specific fields to fetch from the Contract
4070
+ */
4071
+ select?: Prisma.ContractSelect<ExtArgs> | null;
4072
+ /**
4073
+ * Omit specific fields from the Contract
4074
+ */
4075
+ omit?: Prisma.ContractOmit<ExtArgs> | null;
4076
+ /**
4077
+ * Choose, which related nodes to fetch as well
4078
+ */
4079
+ include?: Prisma.ContractInclude<ExtArgs> | null;
4080
+ where?: Prisma.ContractWhereInput;
4081
+ orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
4082
+ cursor?: Prisma.ContractWhereUniqueInput;
4083
+ take?: number;
4084
+ skip?: number;
4085
+ distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
4086
+ };
4087
+ /**
4088
+ * User.soldContracts
4089
+ */
4090
+ export type User$soldContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4091
+ /**
4092
+ * Select specific fields to fetch from the Contract
4093
+ */
4094
+ select?: Prisma.ContractSelect<ExtArgs> | null;
4095
+ /**
4096
+ * Omit specific fields from the Contract
4097
+ */
4098
+ omit?: Prisma.ContractOmit<ExtArgs> | null;
4099
+ /**
4100
+ * Choose, which related nodes to fetch as well
4101
+ */
4102
+ include?: Prisma.ContractInclude<ExtArgs> | null;
4103
+ where?: Prisma.ContractWhereInput;
4104
+ orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
4105
+ cursor?: Prisma.ContractWhereUniqueInput;
4106
+ take?: number;
4107
+ skip?: number;
4108
+ distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
4109
+ };
4110
+ /**
4111
+ * User.payments
4112
+ */
4113
+ export type User$paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4114
+ /**
4115
+ * Select specific fields to fetch from the Payment
4116
+ */
4117
+ select?: Prisma.PaymentSelect<ExtArgs> | null;
4118
+ /**
4119
+ * Omit specific fields from the Payment
4120
+ */
4121
+ omit?: Prisma.PaymentOmit<ExtArgs> | null;
4122
+ /**
4123
+ * Choose, which related nodes to fetch as well
4124
+ */
4125
+ include?: Prisma.PaymentInclude<ExtArgs> | null;
4126
+ where?: Prisma.PaymentWhereInput;
4127
+ orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
4128
+ cursor?: Prisma.PaymentWhereUniqueInput;
4129
+ take?: number;
4130
+ skip?: number;
4131
+ distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
4132
+ };
4133
+ /**
4134
+ * User without action
4135
+ */
4136
+ export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4137
+ /**
4138
+ * Select specific fields to fetch from the User
4139
+ */
4140
+ select?: Prisma.UserSelect<ExtArgs> | null;
4141
+ /**
4142
+ * Omit specific fields from the User
4143
+ */
4144
+ omit?: Prisma.UserOmit<ExtArgs> | null;
4145
+ /**
4146
+ * Choose, which related nodes to fetch as well
4147
+ */
4148
+ include?: Prisma.UserInclude<ExtArgs> | null;
4149
+ };
4150
+ export {};