@valentine-efagene/qshelter-common 2.0.52 → 2.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +3 -1
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespace.js +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
- package/dist/generated/client/models/Contract.d.ts +484 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +18 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,3254 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model Property
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type PropertyModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyPayload>;
|
|
8
|
-
export type AggregateProperty = {
|
|
9
|
-
_count: PropertyCountAggregateOutputType | null;
|
|
10
|
-
_avg: PropertyAvgAggregateOutputType | null;
|
|
11
|
-
_sum: PropertySumAggregateOutputType | null;
|
|
12
|
-
_min: PropertyMinAggregateOutputType | null;
|
|
13
|
-
_max: PropertyMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type PropertyAvgAggregateOutputType = {
|
|
16
|
-
price: number | null;
|
|
17
|
-
longitude: number | null;
|
|
18
|
-
latitude: number | null;
|
|
19
|
-
area: number | null;
|
|
20
|
-
};
|
|
21
|
-
export type PropertySumAggregateOutputType = {
|
|
22
|
-
price: number | null;
|
|
23
|
-
longitude: number | null;
|
|
24
|
-
latitude: number | null;
|
|
25
|
-
area: number | null;
|
|
26
|
-
};
|
|
27
|
-
export type PropertyMinAggregateOutputType = {
|
|
28
|
-
id: string | null;
|
|
29
|
-
userId: string | null;
|
|
30
|
-
title: string | null;
|
|
31
|
-
category: string | null;
|
|
32
|
-
propertyType: string | null;
|
|
33
|
-
country: string | null;
|
|
34
|
-
currency: string | null;
|
|
35
|
-
city: string | null;
|
|
36
|
-
district: string | null;
|
|
37
|
-
zipCode: string | null;
|
|
38
|
-
streetAddress: string | null;
|
|
39
|
-
nBedrooms: string | null;
|
|
40
|
-
nBathrooms: string | null;
|
|
41
|
-
nParkingSpots: string | null;
|
|
42
|
-
price: number | null;
|
|
43
|
-
longitude: number | null;
|
|
44
|
-
latitude: number | null;
|
|
45
|
-
area: number | null;
|
|
46
|
-
status: string | null;
|
|
47
|
-
description: string | null;
|
|
48
|
-
displayImageId: string | null;
|
|
49
|
-
isPublished: boolean | null;
|
|
50
|
-
publishedAt: Date | null;
|
|
51
|
-
createdAt: Date | null;
|
|
52
|
-
updatedAt: Date | null;
|
|
53
|
-
};
|
|
54
|
-
export type PropertyMaxAggregateOutputType = {
|
|
55
|
-
id: string | null;
|
|
56
|
-
userId: string | null;
|
|
57
|
-
title: string | null;
|
|
58
|
-
category: string | null;
|
|
59
|
-
propertyType: string | null;
|
|
60
|
-
country: string | null;
|
|
61
|
-
currency: string | null;
|
|
62
|
-
city: string | null;
|
|
63
|
-
district: string | null;
|
|
64
|
-
zipCode: string | null;
|
|
65
|
-
streetAddress: string | null;
|
|
66
|
-
nBedrooms: string | null;
|
|
67
|
-
nBathrooms: string | null;
|
|
68
|
-
nParkingSpots: string | null;
|
|
69
|
-
price: number | null;
|
|
70
|
-
longitude: number | null;
|
|
71
|
-
latitude: number | null;
|
|
72
|
-
area: number | null;
|
|
73
|
-
status: string | null;
|
|
74
|
-
description: string | null;
|
|
75
|
-
displayImageId: string | null;
|
|
76
|
-
isPublished: boolean | null;
|
|
77
|
-
publishedAt: Date | null;
|
|
78
|
-
createdAt: Date | null;
|
|
79
|
-
updatedAt: Date | null;
|
|
80
|
-
};
|
|
81
|
-
export type PropertyCountAggregateOutputType = {
|
|
82
|
-
id: number;
|
|
83
|
-
userId: number;
|
|
84
|
-
title: number;
|
|
85
|
-
category: number;
|
|
86
|
-
propertyType: number;
|
|
87
|
-
country: number;
|
|
88
|
-
currency: number;
|
|
89
|
-
city: number;
|
|
90
|
-
district: number;
|
|
91
|
-
zipCode: number;
|
|
92
|
-
streetAddress: number;
|
|
93
|
-
nBedrooms: number;
|
|
94
|
-
nBathrooms: number;
|
|
95
|
-
nParkingSpots: number;
|
|
96
|
-
price: number;
|
|
97
|
-
longitude: number;
|
|
98
|
-
latitude: number;
|
|
99
|
-
area: number;
|
|
100
|
-
status: number;
|
|
101
|
-
description: number;
|
|
102
|
-
displayImageId: number;
|
|
103
|
-
isPublished: number;
|
|
104
|
-
publishedAt: number;
|
|
105
|
-
createdAt: number;
|
|
106
|
-
updatedAt: number;
|
|
107
|
-
_all: number;
|
|
108
|
-
};
|
|
109
|
-
export type PropertyAvgAggregateInputType = {
|
|
110
|
-
price?: true;
|
|
111
|
-
longitude?: true;
|
|
112
|
-
latitude?: true;
|
|
113
|
-
area?: true;
|
|
114
|
-
};
|
|
115
|
-
export type PropertySumAggregateInputType = {
|
|
116
|
-
price?: true;
|
|
117
|
-
longitude?: true;
|
|
118
|
-
latitude?: true;
|
|
119
|
-
area?: true;
|
|
120
|
-
};
|
|
121
|
-
export type PropertyMinAggregateInputType = {
|
|
122
|
-
id?: true;
|
|
123
|
-
userId?: true;
|
|
124
|
-
title?: true;
|
|
125
|
-
category?: true;
|
|
126
|
-
propertyType?: true;
|
|
127
|
-
country?: true;
|
|
128
|
-
currency?: true;
|
|
129
|
-
city?: true;
|
|
130
|
-
district?: true;
|
|
131
|
-
zipCode?: true;
|
|
132
|
-
streetAddress?: true;
|
|
133
|
-
nBedrooms?: true;
|
|
134
|
-
nBathrooms?: true;
|
|
135
|
-
nParkingSpots?: true;
|
|
136
|
-
price?: true;
|
|
137
|
-
longitude?: true;
|
|
138
|
-
latitude?: true;
|
|
139
|
-
area?: true;
|
|
140
|
-
status?: true;
|
|
141
|
-
description?: true;
|
|
142
|
-
displayImageId?: true;
|
|
143
|
-
isPublished?: true;
|
|
144
|
-
publishedAt?: true;
|
|
145
|
-
createdAt?: true;
|
|
146
|
-
updatedAt?: true;
|
|
147
|
-
};
|
|
148
|
-
export type PropertyMaxAggregateInputType = {
|
|
149
|
-
id?: true;
|
|
150
|
-
userId?: true;
|
|
151
|
-
title?: true;
|
|
152
|
-
category?: true;
|
|
153
|
-
propertyType?: true;
|
|
154
|
-
country?: true;
|
|
155
|
-
currency?: true;
|
|
156
|
-
city?: true;
|
|
157
|
-
district?: true;
|
|
158
|
-
zipCode?: true;
|
|
159
|
-
streetAddress?: true;
|
|
160
|
-
nBedrooms?: true;
|
|
161
|
-
nBathrooms?: true;
|
|
162
|
-
nParkingSpots?: true;
|
|
163
|
-
price?: true;
|
|
164
|
-
longitude?: true;
|
|
165
|
-
latitude?: true;
|
|
166
|
-
area?: true;
|
|
167
|
-
status?: true;
|
|
168
|
-
description?: true;
|
|
169
|
-
displayImageId?: true;
|
|
170
|
-
isPublished?: true;
|
|
171
|
-
publishedAt?: true;
|
|
172
|
-
createdAt?: true;
|
|
173
|
-
updatedAt?: true;
|
|
174
|
-
};
|
|
175
|
-
export type PropertyCountAggregateInputType = {
|
|
176
|
-
id?: true;
|
|
177
|
-
userId?: true;
|
|
178
|
-
title?: true;
|
|
179
|
-
category?: true;
|
|
180
|
-
propertyType?: true;
|
|
181
|
-
country?: true;
|
|
182
|
-
currency?: true;
|
|
183
|
-
city?: true;
|
|
184
|
-
district?: true;
|
|
185
|
-
zipCode?: true;
|
|
186
|
-
streetAddress?: true;
|
|
187
|
-
nBedrooms?: true;
|
|
188
|
-
nBathrooms?: true;
|
|
189
|
-
nParkingSpots?: true;
|
|
190
|
-
price?: true;
|
|
191
|
-
longitude?: true;
|
|
192
|
-
latitude?: true;
|
|
193
|
-
area?: true;
|
|
194
|
-
status?: true;
|
|
195
|
-
description?: true;
|
|
196
|
-
displayImageId?: true;
|
|
197
|
-
isPublished?: true;
|
|
198
|
-
publishedAt?: true;
|
|
199
|
-
createdAt?: true;
|
|
200
|
-
updatedAt?: true;
|
|
201
|
-
_all?: true;
|
|
202
|
-
};
|
|
203
|
-
export type PropertyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
204
|
-
/**
|
|
205
|
-
* Filter which Property to aggregate.
|
|
206
|
-
*/
|
|
207
|
-
where?: Prisma.PropertyWhereInput;
|
|
208
|
-
/**
|
|
209
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
210
|
-
*
|
|
211
|
-
* Determine the order of Properties to fetch.
|
|
212
|
-
*/
|
|
213
|
-
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
|
|
214
|
-
/**
|
|
215
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
216
|
-
*
|
|
217
|
-
* Sets the start position
|
|
218
|
-
*/
|
|
219
|
-
cursor?: Prisma.PropertyWhereUniqueInput;
|
|
220
|
-
/**
|
|
221
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
222
|
-
*
|
|
223
|
-
* Take `±n` Properties from the position of the cursor.
|
|
224
|
-
*/
|
|
225
|
-
take?: number;
|
|
226
|
-
/**
|
|
227
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
228
|
-
*
|
|
229
|
-
* Skip the first `n` Properties.
|
|
230
|
-
*/
|
|
231
|
-
skip?: number;
|
|
232
|
-
/**
|
|
233
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
234
|
-
*
|
|
235
|
-
* Count returned Properties
|
|
236
|
-
**/
|
|
237
|
-
_count?: true | PropertyCountAggregateInputType;
|
|
238
|
-
/**
|
|
239
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
240
|
-
*
|
|
241
|
-
* Select which fields to average
|
|
242
|
-
**/
|
|
243
|
-
_avg?: PropertyAvgAggregateInputType;
|
|
244
|
-
/**
|
|
245
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
246
|
-
*
|
|
247
|
-
* Select which fields to sum
|
|
248
|
-
**/
|
|
249
|
-
_sum?: PropertySumAggregateInputType;
|
|
250
|
-
/**
|
|
251
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
252
|
-
*
|
|
253
|
-
* Select which fields to find the minimum value
|
|
254
|
-
**/
|
|
255
|
-
_min?: PropertyMinAggregateInputType;
|
|
256
|
-
/**
|
|
257
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
258
|
-
*
|
|
259
|
-
* Select which fields to find the maximum value
|
|
260
|
-
**/
|
|
261
|
-
_max?: PropertyMaxAggregateInputType;
|
|
262
|
-
};
|
|
263
|
-
export type GetPropertyAggregateType<T extends PropertyAggregateArgs> = {
|
|
264
|
-
[P in keyof T & keyof AggregateProperty]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProperty[P]> : Prisma.GetScalarType<T[P], AggregateProperty[P]>;
|
|
265
|
-
};
|
|
266
|
-
export type PropertyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
267
|
-
where?: Prisma.PropertyWhereInput;
|
|
268
|
-
orderBy?: Prisma.PropertyOrderByWithAggregationInput | Prisma.PropertyOrderByWithAggregationInput[];
|
|
269
|
-
by: Prisma.PropertyScalarFieldEnum[] | Prisma.PropertyScalarFieldEnum;
|
|
270
|
-
having?: Prisma.PropertyScalarWhereWithAggregatesInput;
|
|
271
|
-
take?: number;
|
|
272
|
-
skip?: number;
|
|
273
|
-
_count?: PropertyCountAggregateInputType | true;
|
|
274
|
-
_avg?: PropertyAvgAggregateInputType;
|
|
275
|
-
_sum?: PropertySumAggregateInputType;
|
|
276
|
-
_min?: PropertyMinAggregateInputType;
|
|
277
|
-
_max?: PropertyMaxAggregateInputType;
|
|
278
|
-
};
|
|
279
|
-
export type PropertyGroupByOutputType = {
|
|
280
|
-
id: string;
|
|
281
|
-
userId: string;
|
|
282
|
-
title: string;
|
|
283
|
-
category: string;
|
|
284
|
-
propertyType: string;
|
|
285
|
-
country: string;
|
|
286
|
-
currency: string;
|
|
287
|
-
city: string;
|
|
288
|
-
district: string | null;
|
|
289
|
-
zipCode: string | null;
|
|
290
|
-
streetAddress: string | null;
|
|
291
|
-
nBedrooms: string;
|
|
292
|
-
nBathrooms: string;
|
|
293
|
-
nParkingSpots: string;
|
|
294
|
-
price: number;
|
|
295
|
-
longitude: number | null;
|
|
296
|
-
latitude: number | null;
|
|
297
|
-
area: number | null;
|
|
298
|
-
status: string;
|
|
299
|
-
description: string | null;
|
|
300
|
-
displayImageId: string | null;
|
|
301
|
-
isPublished: boolean;
|
|
302
|
-
publishedAt: Date | null;
|
|
303
|
-
createdAt: Date;
|
|
304
|
-
updatedAt: Date;
|
|
305
|
-
_count: PropertyCountAggregateOutputType | null;
|
|
306
|
-
_avg: PropertyAvgAggregateOutputType | null;
|
|
307
|
-
_sum: PropertySumAggregateOutputType | null;
|
|
308
|
-
_min: PropertyMinAggregateOutputType | null;
|
|
309
|
-
_max: PropertyMaxAggregateOutputType | null;
|
|
310
|
-
};
|
|
311
|
-
type GetPropertyGroupByPayload<T extends PropertyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyGroupByOutputType, T['by']> & {
|
|
312
|
-
[P in ((keyof T) & (keyof PropertyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyGroupByOutputType[P]>;
|
|
313
|
-
}>>;
|
|
314
|
-
export type PropertyWhereInput = {
|
|
315
|
-
AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
|
|
316
|
-
OR?: Prisma.PropertyWhereInput[];
|
|
317
|
-
NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
|
|
318
|
-
id?: Prisma.StringFilter<"Property"> | string;
|
|
319
|
-
userId?: Prisma.StringFilter<"Property"> | string;
|
|
320
|
-
title?: Prisma.StringFilter<"Property"> | string;
|
|
321
|
-
category?: Prisma.StringFilter<"Property"> | string;
|
|
322
|
-
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
323
|
-
country?: Prisma.StringFilter<"Property"> | string;
|
|
324
|
-
currency?: Prisma.StringFilter<"Property"> | string;
|
|
325
|
-
city?: Prisma.StringFilter<"Property"> | string;
|
|
326
|
-
district?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
327
|
-
zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
328
|
-
streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
329
|
-
nBedrooms?: Prisma.StringFilter<"Property"> | string;
|
|
330
|
-
nBathrooms?: Prisma.StringFilter<"Property"> | string;
|
|
331
|
-
nParkingSpots?: Prisma.StringFilter<"Property"> | string;
|
|
332
|
-
price?: Prisma.FloatFilter<"Property"> | number;
|
|
333
|
-
longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
334
|
-
latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
335
|
-
area?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
336
|
-
status?: Prisma.StringFilter<"Property"> | string;
|
|
337
|
-
description?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
338
|
-
displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
339
|
-
isPublished?: Prisma.BoolFilter<"Property"> | boolean;
|
|
340
|
-
publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
|
|
341
|
-
createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
342
|
-
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
343
|
-
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
344
|
-
displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
|
|
345
|
-
documents?: Prisma.PropertyDocumentListRelationFilter;
|
|
346
|
-
media?: Prisma.PropertyMediaListRelationFilter;
|
|
347
|
-
amenities?: Prisma.PropertyAmenityListRelationFilter;
|
|
348
|
-
mortgages?: Prisma.MortgageListRelationFilter;
|
|
349
|
-
paymentPlans?: Prisma.PaymentPlanListRelationFilter;
|
|
350
|
-
contracts?: Prisma.ContractListRelationFilter;
|
|
351
|
-
};
|
|
352
|
-
export type PropertyOrderByWithRelationInput = {
|
|
353
|
-
id?: Prisma.SortOrder;
|
|
354
|
-
userId?: Prisma.SortOrder;
|
|
355
|
-
title?: Prisma.SortOrder;
|
|
356
|
-
category?: Prisma.SortOrder;
|
|
357
|
-
propertyType?: Prisma.SortOrder;
|
|
358
|
-
country?: Prisma.SortOrder;
|
|
359
|
-
currency?: Prisma.SortOrder;
|
|
360
|
-
city?: Prisma.SortOrder;
|
|
361
|
-
district?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
362
|
-
zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
363
|
-
streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
364
|
-
nBedrooms?: Prisma.SortOrder;
|
|
365
|
-
nBathrooms?: Prisma.SortOrder;
|
|
366
|
-
nParkingSpots?: Prisma.SortOrder;
|
|
367
|
-
price?: Prisma.SortOrder;
|
|
368
|
-
longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
369
|
-
latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
370
|
-
area?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
371
|
-
status?: Prisma.SortOrder;
|
|
372
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
373
|
-
displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
374
|
-
isPublished?: Prisma.SortOrder;
|
|
375
|
-
publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
376
|
-
createdAt?: Prisma.SortOrder;
|
|
377
|
-
updatedAt?: Prisma.SortOrder;
|
|
378
|
-
user?: Prisma.UserOrderByWithRelationInput;
|
|
379
|
-
displayImage?: Prisma.PropertyMediaOrderByWithRelationInput;
|
|
380
|
-
documents?: Prisma.PropertyDocumentOrderByRelationAggregateInput;
|
|
381
|
-
media?: Prisma.PropertyMediaOrderByRelationAggregateInput;
|
|
382
|
-
amenities?: Prisma.PropertyAmenityOrderByRelationAggregateInput;
|
|
383
|
-
mortgages?: Prisma.MortgageOrderByRelationAggregateInput;
|
|
384
|
-
paymentPlans?: Prisma.PaymentPlanOrderByRelationAggregateInput;
|
|
385
|
-
contracts?: Prisma.ContractOrderByRelationAggregateInput;
|
|
386
|
-
_relevance?: Prisma.PropertyOrderByRelevanceInput;
|
|
387
|
-
};
|
|
388
|
-
export type PropertyWhereUniqueInput = Prisma.AtLeast<{
|
|
389
|
-
id?: string;
|
|
390
|
-
AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
|
|
391
|
-
OR?: Prisma.PropertyWhereInput[];
|
|
392
|
-
NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
|
|
393
|
-
userId?: Prisma.StringFilter<"Property"> | string;
|
|
394
|
-
title?: Prisma.StringFilter<"Property"> | string;
|
|
395
|
-
category?: Prisma.StringFilter<"Property"> | string;
|
|
396
|
-
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
397
|
-
country?: Prisma.StringFilter<"Property"> | string;
|
|
398
|
-
currency?: Prisma.StringFilter<"Property"> | string;
|
|
399
|
-
city?: Prisma.StringFilter<"Property"> | string;
|
|
400
|
-
district?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
401
|
-
zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
402
|
-
streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
403
|
-
nBedrooms?: Prisma.StringFilter<"Property"> | string;
|
|
404
|
-
nBathrooms?: Prisma.StringFilter<"Property"> | string;
|
|
405
|
-
nParkingSpots?: Prisma.StringFilter<"Property"> | string;
|
|
406
|
-
price?: Prisma.FloatFilter<"Property"> | number;
|
|
407
|
-
longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
408
|
-
latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
409
|
-
area?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
410
|
-
status?: Prisma.StringFilter<"Property"> | string;
|
|
411
|
-
description?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
412
|
-
displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
413
|
-
isPublished?: Prisma.BoolFilter<"Property"> | boolean;
|
|
414
|
-
publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
|
|
415
|
-
createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
416
|
-
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
417
|
-
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
418
|
-
displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
|
|
419
|
-
documents?: Prisma.PropertyDocumentListRelationFilter;
|
|
420
|
-
media?: Prisma.PropertyMediaListRelationFilter;
|
|
421
|
-
amenities?: Prisma.PropertyAmenityListRelationFilter;
|
|
422
|
-
mortgages?: Prisma.MortgageListRelationFilter;
|
|
423
|
-
paymentPlans?: Prisma.PaymentPlanListRelationFilter;
|
|
424
|
-
contracts?: Prisma.ContractListRelationFilter;
|
|
425
|
-
}, "id">;
|
|
426
|
-
export type PropertyOrderByWithAggregationInput = {
|
|
427
|
-
id?: Prisma.SortOrder;
|
|
428
|
-
userId?: Prisma.SortOrder;
|
|
429
|
-
title?: Prisma.SortOrder;
|
|
430
|
-
category?: Prisma.SortOrder;
|
|
431
|
-
propertyType?: Prisma.SortOrder;
|
|
432
|
-
country?: Prisma.SortOrder;
|
|
433
|
-
currency?: Prisma.SortOrder;
|
|
434
|
-
city?: Prisma.SortOrder;
|
|
435
|
-
district?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
436
|
-
zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
437
|
-
streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
438
|
-
nBedrooms?: Prisma.SortOrder;
|
|
439
|
-
nBathrooms?: Prisma.SortOrder;
|
|
440
|
-
nParkingSpots?: Prisma.SortOrder;
|
|
441
|
-
price?: Prisma.SortOrder;
|
|
442
|
-
longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
443
|
-
latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
444
|
-
area?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
445
|
-
status?: Prisma.SortOrder;
|
|
446
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
447
|
-
displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
448
|
-
isPublished?: Prisma.SortOrder;
|
|
449
|
-
publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
450
|
-
createdAt?: Prisma.SortOrder;
|
|
451
|
-
updatedAt?: Prisma.SortOrder;
|
|
452
|
-
_count?: Prisma.PropertyCountOrderByAggregateInput;
|
|
453
|
-
_avg?: Prisma.PropertyAvgOrderByAggregateInput;
|
|
454
|
-
_max?: Prisma.PropertyMaxOrderByAggregateInput;
|
|
455
|
-
_min?: Prisma.PropertyMinOrderByAggregateInput;
|
|
456
|
-
_sum?: Prisma.PropertySumOrderByAggregateInput;
|
|
457
|
-
};
|
|
458
|
-
export type PropertyScalarWhereWithAggregatesInput = {
|
|
459
|
-
AND?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[];
|
|
460
|
-
OR?: Prisma.PropertyScalarWhereWithAggregatesInput[];
|
|
461
|
-
NOT?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[];
|
|
462
|
-
id?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
463
|
-
userId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
464
|
-
title?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
465
|
-
category?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
466
|
-
propertyType?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
467
|
-
country?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
468
|
-
currency?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
469
|
-
city?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
470
|
-
district?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
471
|
-
zipCode?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
472
|
-
streetAddress?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
473
|
-
nBedrooms?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
474
|
-
nBathrooms?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
475
|
-
nParkingSpots?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
476
|
-
price?: Prisma.FloatWithAggregatesFilter<"Property"> | number;
|
|
477
|
-
longitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
|
|
478
|
-
latitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
|
|
479
|
-
area?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
|
|
480
|
-
status?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
481
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
482
|
-
displayImageId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
483
|
-
isPublished?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean;
|
|
484
|
-
publishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Property"> | Date | string | null;
|
|
485
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Property"> | Date | string;
|
|
486
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Property"> | Date | string;
|
|
487
|
-
};
|
|
488
|
-
export type PropertyCreateInput = {
|
|
489
|
-
id?: string;
|
|
490
|
-
title: string;
|
|
491
|
-
category: string;
|
|
492
|
-
propertyType: string;
|
|
493
|
-
country: string;
|
|
494
|
-
currency: string;
|
|
495
|
-
city: string;
|
|
496
|
-
district?: string | null;
|
|
497
|
-
zipCode?: string | null;
|
|
498
|
-
streetAddress?: string | null;
|
|
499
|
-
nBedrooms: string;
|
|
500
|
-
nBathrooms: string;
|
|
501
|
-
nParkingSpots: string;
|
|
502
|
-
price: number;
|
|
503
|
-
longitude?: number | null;
|
|
504
|
-
latitude?: number | null;
|
|
505
|
-
area?: number | null;
|
|
506
|
-
status?: string;
|
|
507
|
-
description?: string | null;
|
|
508
|
-
isPublished?: boolean;
|
|
509
|
-
publishedAt?: Date | string | null;
|
|
510
|
-
createdAt?: Date | string;
|
|
511
|
-
updatedAt?: Date | string;
|
|
512
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
513
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
514
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
515
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
516
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
517
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
518
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
519
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
520
|
-
};
|
|
521
|
-
export type PropertyUncheckedCreateInput = {
|
|
522
|
-
id?: string;
|
|
523
|
-
userId: string;
|
|
524
|
-
title: string;
|
|
525
|
-
category: string;
|
|
526
|
-
propertyType: string;
|
|
527
|
-
country: string;
|
|
528
|
-
currency: string;
|
|
529
|
-
city: string;
|
|
530
|
-
district?: string | null;
|
|
531
|
-
zipCode?: string | null;
|
|
532
|
-
streetAddress?: string | null;
|
|
533
|
-
nBedrooms: string;
|
|
534
|
-
nBathrooms: string;
|
|
535
|
-
nParkingSpots: string;
|
|
536
|
-
price: number;
|
|
537
|
-
longitude?: number | null;
|
|
538
|
-
latitude?: number | null;
|
|
539
|
-
area?: number | null;
|
|
540
|
-
status?: string;
|
|
541
|
-
description?: string | null;
|
|
542
|
-
displayImageId?: string | null;
|
|
543
|
-
isPublished?: boolean;
|
|
544
|
-
publishedAt?: Date | string | null;
|
|
545
|
-
createdAt?: Date | string;
|
|
546
|
-
updatedAt?: Date | string;
|
|
547
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
548
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
549
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
550
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
551
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
552
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
553
|
-
};
|
|
554
|
-
export type PropertyUpdateInput = {
|
|
555
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
556
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
557
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
559
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
560
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
561
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
562
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
563
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
564
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
565
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
566
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
567
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
568
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
569
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
570
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
571
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
572
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
573
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
574
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
575
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
576
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
577
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
578
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
579
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
580
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
581
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
582
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
583
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
584
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
585
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
586
|
-
};
|
|
587
|
-
export type PropertyUncheckedUpdateInput = {
|
|
588
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
589
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
590
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
591
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
592
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
593
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
594
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
595
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
597
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
598
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
599
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
600
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
601
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
602
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
603
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
604
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
605
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
606
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
607
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
608
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
609
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
610
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
611
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
612
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
613
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
614
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
615
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
616
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
617
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
618
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
619
|
-
};
|
|
620
|
-
export type PropertyCreateManyInput = {
|
|
621
|
-
id?: string;
|
|
622
|
-
userId: string;
|
|
623
|
-
title: string;
|
|
624
|
-
category: string;
|
|
625
|
-
propertyType: string;
|
|
626
|
-
country: string;
|
|
627
|
-
currency: string;
|
|
628
|
-
city: string;
|
|
629
|
-
district?: string | null;
|
|
630
|
-
zipCode?: string | null;
|
|
631
|
-
streetAddress?: string | null;
|
|
632
|
-
nBedrooms: string;
|
|
633
|
-
nBathrooms: string;
|
|
634
|
-
nParkingSpots: string;
|
|
635
|
-
price: number;
|
|
636
|
-
longitude?: number | null;
|
|
637
|
-
latitude?: number | null;
|
|
638
|
-
area?: number | null;
|
|
639
|
-
status?: string;
|
|
640
|
-
description?: string | null;
|
|
641
|
-
displayImageId?: string | null;
|
|
642
|
-
isPublished?: boolean;
|
|
643
|
-
publishedAt?: Date | string | null;
|
|
644
|
-
createdAt?: Date | string;
|
|
645
|
-
updatedAt?: Date | string;
|
|
646
|
-
};
|
|
647
|
-
export type PropertyUpdateManyMutationInput = {
|
|
648
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
649
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
650
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
651
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
652
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
653
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
654
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
655
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
656
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
657
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
658
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
659
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
660
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
661
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
662
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
663
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
664
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
665
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
666
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
667
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
668
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
669
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
670
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
671
|
-
};
|
|
672
|
-
export type PropertyUncheckedUpdateManyInput = {
|
|
673
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
674
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
675
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
676
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
677
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
678
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
679
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
680
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
681
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
682
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
683
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
684
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
685
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
686
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
687
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
688
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
689
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
690
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
691
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
692
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
693
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
694
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
695
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
696
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
697
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
698
|
-
};
|
|
699
|
-
export type PropertyListRelationFilter = {
|
|
700
|
-
every?: Prisma.PropertyWhereInput;
|
|
701
|
-
some?: Prisma.PropertyWhereInput;
|
|
702
|
-
none?: Prisma.PropertyWhereInput;
|
|
703
|
-
};
|
|
704
|
-
export type PropertyOrderByRelationAggregateInput = {
|
|
705
|
-
_count?: Prisma.SortOrder;
|
|
706
|
-
};
|
|
707
|
-
export type PropertyOrderByRelevanceInput = {
|
|
708
|
-
fields: Prisma.PropertyOrderByRelevanceFieldEnum | Prisma.PropertyOrderByRelevanceFieldEnum[];
|
|
709
|
-
sort: Prisma.SortOrder;
|
|
710
|
-
search: string;
|
|
711
|
-
};
|
|
712
|
-
export type PropertyCountOrderByAggregateInput = {
|
|
713
|
-
id?: Prisma.SortOrder;
|
|
714
|
-
userId?: Prisma.SortOrder;
|
|
715
|
-
title?: Prisma.SortOrder;
|
|
716
|
-
category?: Prisma.SortOrder;
|
|
717
|
-
propertyType?: Prisma.SortOrder;
|
|
718
|
-
country?: Prisma.SortOrder;
|
|
719
|
-
currency?: Prisma.SortOrder;
|
|
720
|
-
city?: Prisma.SortOrder;
|
|
721
|
-
district?: Prisma.SortOrder;
|
|
722
|
-
zipCode?: Prisma.SortOrder;
|
|
723
|
-
streetAddress?: Prisma.SortOrder;
|
|
724
|
-
nBedrooms?: Prisma.SortOrder;
|
|
725
|
-
nBathrooms?: Prisma.SortOrder;
|
|
726
|
-
nParkingSpots?: Prisma.SortOrder;
|
|
727
|
-
price?: Prisma.SortOrder;
|
|
728
|
-
longitude?: Prisma.SortOrder;
|
|
729
|
-
latitude?: Prisma.SortOrder;
|
|
730
|
-
area?: Prisma.SortOrder;
|
|
731
|
-
status?: Prisma.SortOrder;
|
|
732
|
-
description?: Prisma.SortOrder;
|
|
733
|
-
displayImageId?: Prisma.SortOrder;
|
|
734
|
-
isPublished?: Prisma.SortOrder;
|
|
735
|
-
publishedAt?: Prisma.SortOrder;
|
|
736
|
-
createdAt?: Prisma.SortOrder;
|
|
737
|
-
updatedAt?: Prisma.SortOrder;
|
|
738
|
-
};
|
|
739
|
-
export type PropertyAvgOrderByAggregateInput = {
|
|
740
|
-
price?: Prisma.SortOrder;
|
|
741
|
-
longitude?: Prisma.SortOrder;
|
|
742
|
-
latitude?: Prisma.SortOrder;
|
|
743
|
-
area?: Prisma.SortOrder;
|
|
744
|
-
};
|
|
745
|
-
export type PropertyMaxOrderByAggregateInput = {
|
|
746
|
-
id?: Prisma.SortOrder;
|
|
747
|
-
userId?: Prisma.SortOrder;
|
|
748
|
-
title?: Prisma.SortOrder;
|
|
749
|
-
category?: Prisma.SortOrder;
|
|
750
|
-
propertyType?: Prisma.SortOrder;
|
|
751
|
-
country?: Prisma.SortOrder;
|
|
752
|
-
currency?: Prisma.SortOrder;
|
|
753
|
-
city?: Prisma.SortOrder;
|
|
754
|
-
district?: Prisma.SortOrder;
|
|
755
|
-
zipCode?: Prisma.SortOrder;
|
|
756
|
-
streetAddress?: Prisma.SortOrder;
|
|
757
|
-
nBedrooms?: Prisma.SortOrder;
|
|
758
|
-
nBathrooms?: Prisma.SortOrder;
|
|
759
|
-
nParkingSpots?: Prisma.SortOrder;
|
|
760
|
-
price?: Prisma.SortOrder;
|
|
761
|
-
longitude?: Prisma.SortOrder;
|
|
762
|
-
latitude?: Prisma.SortOrder;
|
|
763
|
-
area?: Prisma.SortOrder;
|
|
764
|
-
status?: Prisma.SortOrder;
|
|
765
|
-
description?: Prisma.SortOrder;
|
|
766
|
-
displayImageId?: Prisma.SortOrder;
|
|
767
|
-
isPublished?: Prisma.SortOrder;
|
|
768
|
-
publishedAt?: Prisma.SortOrder;
|
|
769
|
-
createdAt?: Prisma.SortOrder;
|
|
770
|
-
updatedAt?: Prisma.SortOrder;
|
|
771
|
-
};
|
|
772
|
-
export type PropertyMinOrderByAggregateInput = {
|
|
773
|
-
id?: Prisma.SortOrder;
|
|
774
|
-
userId?: Prisma.SortOrder;
|
|
775
|
-
title?: Prisma.SortOrder;
|
|
776
|
-
category?: Prisma.SortOrder;
|
|
777
|
-
propertyType?: Prisma.SortOrder;
|
|
778
|
-
country?: Prisma.SortOrder;
|
|
779
|
-
currency?: Prisma.SortOrder;
|
|
780
|
-
city?: Prisma.SortOrder;
|
|
781
|
-
district?: Prisma.SortOrder;
|
|
782
|
-
zipCode?: Prisma.SortOrder;
|
|
783
|
-
streetAddress?: Prisma.SortOrder;
|
|
784
|
-
nBedrooms?: Prisma.SortOrder;
|
|
785
|
-
nBathrooms?: Prisma.SortOrder;
|
|
786
|
-
nParkingSpots?: Prisma.SortOrder;
|
|
787
|
-
price?: Prisma.SortOrder;
|
|
788
|
-
longitude?: Prisma.SortOrder;
|
|
789
|
-
latitude?: Prisma.SortOrder;
|
|
790
|
-
area?: Prisma.SortOrder;
|
|
791
|
-
status?: Prisma.SortOrder;
|
|
792
|
-
description?: Prisma.SortOrder;
|
|
793
|
-
displayImageId?: Prisma.SortOrder;
|
|
794
|
-
isPublished?: Prisma.SortOrder;
|
|
795
|
-
publishedAt?: Prisma.SortOrder;
|
|
796
|
-
createdAt?: Prisma.SortOrder;
|
|
797
|
-
updatedAt?: Prisma.SortOrder;
|
|
798
|
-
};
|
|
799
|
-
export type PropertySumOrderByAggregateInput = {
|
|
800
|
-
price?: Prisma.SortOrder;
|
|
801
|
-
longitude?: Prisma.SortOrder;
|
|
802
|
-
latitude?: Prisma.SortOrder;
|
|
803
|
-
area?: Prisma.SortOrder;
|
|
804
|
-
};
|
|
805
|
-
export type PropertyScalarRelationFilter = {
|
|
806
|
-
is?: Prisma.PropertyWhereInput;
|
|
807
|
-
isNot?: Prisma.PropertyWhereInput;
|
|
808
|
-
};
|
|
809
|
-
export type PropertyCreateNestedManyWithoutUserInput = {
|
|
810
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput> | Prisma.PropertyCreateWithoutUserInput[] | Prisma.PropertyUncheckedCreateWithoutUserInput[];
|
|
811
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutUserInput | Prisma.PropertyCreateOrConnectWithoutUserInput[];
|
|
812
|
-
createMany?: Prisma.PropertyCreateManyUserInputEnvelope;
|
|
813
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
814
|
-
};
|
|
815
|
-
export type PropertyUncheckedCreateNestedManyWithoutUserInput = {
|
|
816
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput> | Prisma.PropertyCreateWithoutUserInput[] | Prisma.PropertyUncheckedCreateWithoutUserInput[];
|
|
817
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutUserInput | Prisma.PropertyCreateOrConnectWithoutUserInput[];
|
|
818
|
-
createMany?: Prisma.PropertyCreateManyUserInputEnvelope;
|
|
819
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
820
|
-
};
|
|
821
|
-
export type PropertyUpdateManyWithoutUserNestedInput = {
|
|
822
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput> | Prisma.PropertyCreateWithoutUserInput[] | Prisma.PropertyUncheckedCreateWithoutUserInput[];
|
|
823
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutUserInput | Prisma.PropertyCreateOrConnectWithoutUserInput[];
|
|
824
|
-
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutUserInput | Prisma.PropertyUpsertWithWhereUniqueWithoutUserInput[];
|
|
825
|
-
createMany?: Prisma.PropertyCreateManyUserInputEnvelope;
|
|
826
|
-
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
827
|
-
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
828
|
-
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
829
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
830
|
-
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutUserInput | Prisma.PropertyUpdateWithWhereUniqueWithoutUserInput[];
|
|
831
|
-
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutUserInput | Prisma.PropertyUpdateManyWithWhereWithoutUserInput[];
|
|
832
|
-
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
833
|
-
};
|
|
834
|
-
export type PropertyUncheckedUpdateManyWithoutUserNestedInput = {
|
|
835
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput> | Prisma.PropertyCreateWithoutUserInput[] | Prisma.PropertyUncheckedCreateWithoutUserInput[];
|
|
836
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutUserInput | Prisma.PropertyCreateOrConnectWithoutUserInput[];
|
|
837
|
-
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutUserInput | Prisma.PropertyUpsertWithWhereUniqueWithoutUserInput[];
|
|
838
|
-
createMany?: Prisma.PropertyCreateManyUserInputEnvelope;
|
|
839
|
-
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
840
|
-
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
841
|
-
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
842
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
843
|
-
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutUserInput | Prisma.PropertyUpdateWithWhereUniqueWithoutUserInput[];
|
|
844
|
-
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutUserInput | Prisma.PropertyUpdateManyWithWhereWithoutUserInput[];
|
|
845
|
-
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
846
|
-
};
|
|
847
|
-
export type NullableFloatFieldUpdateOperationsInput = {
|
|
848
|
-
set?: number | null;
|
|
849
|
-
increment?: number;
|
|
850
|
-
decrement?: number;
|
|
851
|
-
multiply?: number;
|
|
852
|
-
divide?: number;
|
|
853
|
-
};
|
|
854
|
-
export type PropertyCreateNestedOneWithoutMediaInput = {
|
|
855
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutMediaInput, Prisma.PropertyUncheckedCreateWithoutMediaInput>;
|
|
856
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMediaInput;
|
|
857
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
858
|
-
};
|
|
859
|
-
export type PropertyCreateNestedManyWithoutDisplayImageInput = {
|
|
860
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput> | Prisma.PropertyCreateWithoutDisplayImageInput[] | Prisma.PropertyUncheckedCreateWithoutDisplayImageInput[];
|
|
861
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDisplayImageInput | Prisma.PropertyCreateOrConnectWithoutDisplayImageInput[];
|
|
862
|
-
createMany?: Prisma.PropertyCreateManyDisplayImageInputEnvelope;
|
|
863
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
864
|
-
};
|
|
865
|
-
export type PropertyUncheckedCreateNestedManyWithoutDisplayImageInput = {
|
|
866
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput> | Prisma.PropertyCreateWithoutDisplayImageInput[] | Prisma.PropertyUncheckedCreateWithoutDisplayImageInput[];
|
|
867
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDisplayImageInput | Prisma.PropertyCreateOrConnectWithoutDisplayImageInput[];
|
|
868
|
-
createMany?: Prisma.PropertyCreateManyDisplayImageInputEnvelope;
|
|
869
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
870
|
-
};
|
|
871
|
-
export type PropertyUpdateOneRequiredWithoutMediaNestedInput = {
|
|
872
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutMediaInput, Prisma.PropertyUncheckedCreateWithoutMediaInput>;
|
|
873
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMediaInput;
|
|
874
|
-
upsert?: Prisma.PropertyUpsertWithoutMediaInput;
|
|
875
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
876
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutMediaInput, Prisma.PropertyUpdateWithoutMediaInput>, Prisma.PropertyUncheckedUpdateWithoutMediaInput>;
|
|
877
|
-
};
|
|
878
|
-
export type PropertyUpdateManyWithoutDisplayImageNestedInput = {
|
|
879
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput> | Prisma.PropertyCreateWithoutDisplayImageInput[] | Prisma.PropertyUncheckedCreateWithoutDisplayImageInput[];
|
|
880
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDisplayImageInput | Prisma.PropertyCreateOrConnectWithoutDisplayImageInput[];
|
|
881
|
-
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutDisplayImageInput | Prisma.PropertyUpsertWithWhereUniqueWithoutDisplayImageInput[];
|
|
882
|
-
createMany?: Prisma.PropertyCreateManyDisplayImageInputEnvelope;
|
|
883
|
-
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
884
|
-
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
885
|
-
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
886
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
887
|
-
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutDisplayImageInput | Prisma.PropertyUpdateWithWhereUniqueWithoutDisplayImageInput[];
|
|
888
|
-
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutDisplayImageInput | Prisma.PropertyUpdateManyWithWhereWithoutDisplayImageInput[];
|
|
889
|
-
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
890
|
-
};
|
|
891
|
-
export type PropertyUncheckedUpdateManyWithoutDisplayImageNestedInput = {
|
|
892
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput> | Prisma.PropertyCreateWithoutDisplayImageInput[] | Prisma.PropertyUncheckedCreateWithoutDisplayImageInput[];
|
|
893
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDisplayImageInput | Prisma.PropertyCreateOrConnectWithoutDisplayImageInput[];
|
|
894
|
-
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutDisplayImageInput | Prisma.PropertyUpsertWithWhereUniqueWithoutDisplayImageInput[];
|
|
895
|
-
createMany?: Prisma.PropertyCreateManyDisplayImageInputEnvelope;
|
|
896
|
-
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
897
|
-
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
898
|
-
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
899
|
-
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
900
|
-
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutDisplayImageInput | Prisma.PropertyUpdateWithWhereUniqueWithoutDisplayImageInput[];
|
|
901
|
-
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutDisplayImageInput | Prisma.PropertyUpdateManyWithWhereWithoutDisplayImageInput[];
|
|
902
|
-
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
903
|
-
};
|
|
904
|
-
export type PropertyCreateNestedOneWithoutDocumentsInput = {
|
|
905
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDocumentsInput, Prisma.PropertyUncheckedCreateWithoutDocumentsInput>;
|
|
906
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDocumentsInput;
|
|
907
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
908
|
-
};
|
|
909
|
-
export type PropertyUpdateOneRequiredWithoutDocumentsNestedInput = {
|
|
910
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutDocumentsInput, Prisma.PropertyUncheckedCreateWithoutDocumentsInput>;
|
|
911
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutDocumentsInput;
|
|
912
|
-
upsert?: Prisma.PropertyUpsertWithoutDocumentsInput;
|
|
913
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
914
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutDocumentsInput, Prisma.PropertyUpdateWithoutDocumentsInput>, Prisma.PropertyUncheckedUpdateWithoutDocumentsInput>;
|
|
915
|
-
};
|
|
916
|
-
export type PropertyCreateNestedOneWithoutAmenitiesInput = {
|
|
917
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
|
|
918
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAmenitiesInput;
|
|
919
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
920
|
-
};
|
|
921
|
-
export type PropertyUpdateOneRequiredWithoutAmenitiesNestedInput = {
|
|
922
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
|
|
923
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAmenitiesInput;
|
|
924
|
-
upsert?: Prisma.PropertyUpsertWithoutAmenitiesInput;
|
|
925
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
926
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutAmenitiesInput, Prisma.PropertyUpdateWithoutAmenitiesInput>, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
|
|
927
|
-
};
|
|
928
|
-
export type PropertyCreateNestedOneWithoutMortgagesInput = {
|
|
929
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
|
|
930
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMortgagesInput;
|
|
931
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
932
|
-
};
|
|
933
|
-
export type PropertyUpdateOneRequiredWithoutMortgagesNestedInput = {
|
|
934
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
|
|
935
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMortgagesInput;
|
|
936
|
-
upsert?: Prisma.PropertyUpsertWithoutMortgagesInput;
|
|
937
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
938
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutMortgagesInput, Prisma.PropertyUpdateWithoutMortgagesInput>, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
|
|
939
|
-
};
|
|
940
|
-
export type PropertyCreateNestedOneWithoutPaymentPlansInput = {
|
|
941
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
|
|
942
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentPlansInput;
|
|
943
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
944
|
-
};
|
|
945
|
-
export type PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput = {
|
|
946
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
|
|
947
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentPlansInput;
|
|
948
|
-
upsert?: Prisma.PropertyUpsertWithoutPaymentPlansInput;
|
|
949
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
950
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutPaymentPlansInput, Prisma.PropertyUpdateWithoutPaymentPlansInput>, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
|
|
951
|
-
};
|
|
952
|
-
export type PropertyCreateNestedOneWithoutContractsInput = {
|
|
953
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
|
|
954
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
|
|
955
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
956
|
-
};
|
|
957
|
-
export type PropertyUpdateOneRequiredWithoutContractsNestedInput = {
|
|
958
|
-
create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
|
|
959
|
-
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
|
|
960
|
-
upsert?: Prisma.PropertyUpsertWithoutContractsInput;
|
|
961
|
-
connect?: Prisma.PropertyWhereUniqueInput;
|
|
962
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyUpdateWithoutContractsInput>, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
|
|
963
|
-
};
|
|
964
|
-
export type PropertyCreateWithoutUserInput = {
|
|
965
|
-
id?: string;
|
|
966
|
-
title: string;
|
|
967
|
-
category: string;
|
|
968
|
-
propertyType: string;
|
|
969
|
-
country: string;
|
|
970
|
-
currency: string;
|
|
971
|
-
city: string;
|
|
972
|
-
district?: string | null;
|
|
973
|
-
zipCode?: string | null;
|
|
974
|
-
streetAddress?: string | null;
|
|
975
|
-
nBedrooms: string;
|
|
976
|
-
nBathrooms: string;
|
|
977
|
-
nParkingSpots: string;
|
|
978
|
-
price: number;
|
|
979
|
-
longitude?: number | null;
|
|
980
|
-
latitude?: number | null;
|
|
981
|
-
area?: number | null;
|
|
982
|
-
status?: string;
|
|
983
|
-
description?: string | null;
|
|
984
|
-
isPublished?: boolean;
|
|
985
|
-
publishedAt?: Date | string | null;
|
|
986
|
-
createdAt?: Date | string;
|
|
987
|
-
updatedAt?: Date | string;
|
|
988
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
989
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
990
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
991
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
992
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
993
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
994
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
995
|
-
};
|
|
996
|
-
export type PropertyUncheckedCreateWithoutUserInput = {
|
|
997
|
-
id?: string;
|
|
998
|
-
title: string;
|
|
999
|
-
category: string;
|
|
1000
|
-
propertyType: string;
|
|
1001
|
-
country: string;
|
|
1002
|
-
currency: string;
|
|
1003
|
-
city: string;
|
|
1004
|
-
district?: string | null;
|
|
1005
|
-
zipCode?: string | null;
|
|
1006
|
-
streetAddress?: string | null;
|
|
1007
|
-
nBedrooms: string;
|
|
1008
|
-
nBathrooms: string;
|
|
1009
|
-
nParkingSpots: string;
|
|
1010
|
-
price: number;
|
|
1011
|
-
longitude?: number | null;
|
|
1012
|
-
latitude?: number | null;
|
|
1013
|
-
area?: number | null;
|
|
1014
|
-
status?: string;
|
|
1015
|
-
description?: string | null;
|
|
1016
|
-
displayImageId?: string | null;
|
|
1017
|
-
isPublished?: boolean;
|
|
1018
|
-
publishedAt?: Date | string | null;
|
|
1019
|
-
createdAt?: Date | string;
|
|
1020
|
-
updatedAt?: Date | string;
|
|
1021
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1022
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1023
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1024
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1025
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1026
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1027
|
-
};
|
|
1028
|
-
export type PropertyCreateOrConnectWithoutUserInput = {
|
|
1029
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1030
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput>;
|
|
1031
|
-
};
|
|
1032
|
-
export type PropertyCreateManyUserInputEnvelope = {
|
|
1033
|
-
data: Prisma.PropertyCreateManyUserInput | Prisma.PropertyCreateManyUserInput[];
|
|
1034
|
-
skipDuplicates?: boolean;
|
|
1035
|
-
};
|
|
1036
|
-
export type PropertyUpsertWithWhereUniqueWithoutUserInput = {
|
|
1037
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1038
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutUserInput, Prisma.PropertyUncheckedUpdateWithoutUserInput>;
|
|
1039
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutUserInput, Prisma.PropertyUncheckedCreateWithoutUserInput>;
|
|
1040
|
-
};
|
|
1041
|
-
export type PropertyUpdateWithWhereUniqueWithoutUserInput = {
|
|
1042
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1043
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutUserInput, Prisma.PropertyUncheckedUpdateWithoutUserInput>;
|
|
1044
|
-
};
|
|
1045
|
-
export type PropertyUpdateManyWithWhereWithoutUserInput = {
|
|
1046
|
-
where: Prisma.PropertyScalarWhereInput;
|
|
1047
|
-
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutUserInput>;
|
|
1048
|
-
};
|
|
1049
|
-
export type PropertyScalarWhereInput = {
|
|
1050
|
-
AND?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
1051
|
-
OR?: Prisma.PropertyScalarWhereInput[];
|
|
1052
|
-
NOT?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
1053
|
-
id?: Prisma.StringFilter<"Property"> | string;
|
|
1054
|
-
userId?: Prisma.StringFilter<"Property"> | string;
|
|
1055
|
-
title?: Prisma.StringFilter<"Property"> | string;
|
|
1056
|
-
category?: Prisma.StringFilter<"Property"> | string;
|
|
1057
|
-
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
1058
|
-
country?: Prisma.StringFilter<"Property"> | string;
|
|
1059
|
-
currency?: Prisma.StringFilter<"Property"> | string;
|
|
1060
|
-
city?: Prisma.StringFilter<"Property"> | string;
|
|
1061
|
-
district?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
1062
|
-
zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
1063
|
-
streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
1064
|
-
nBedrooms?: Prisma.StringFilter<"Property"> | string;
|
|
1065
|
-
nBathrooms?: Prisma.StringFilter<"Property"> | string;
|
|
1066
|
-
nParkingSpots?: Prisma.StringFilter<"Property"> | string;
|
|
1067
|
-
price?: Prisma.FloatFilter<"Property"> | number;
|
|
1068
|
-
longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
1069
|
-
latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
1070
|
-
area?: Prisma.FloatNullableFilter<"Property"> | number | null;
|
|
1071
|
-
status?: Prisma.StringFilter<"Property"> | string;
|
|
1072
|
-
description?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
1073
|
-
displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
1074
|
-
isPublished?: Prisma.BoolFilter<"Property"> | boolean;
|
|
1075
|
-
publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
|
|
1076
|
-
createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
1077
|
-
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
1078
|
-
};
|
|
1079
|
-
export type PropertyCreateWithoutMediaInput = {
|
|
1080
|
-
id?: string;
|
|
1081
|
-
title: string;
|
|
1082
|
-
category: string;
|
|
1083
|
-
propertyType: string;
|
|
1084
|
-
country: string;
|
|
1085
|
-
currency: string;
|
|
1086
|
-
city: string;
|
|
1087
|
-
district?: string | null;
|
|
1088
|
-
zipCode?: string | null;
|
|
1089
|
-
streetAddress?: string | null;
|
|
1090
|
-
nBedrooms: string;
|
|
1091
|
-
nBathrooms: string;
|
|
1092
|
-
nParkingSpots: string;
|
|
1093
|
-
price: number;
|
|
1094
|
-
longitude?: number | null;
|
|
1095
|
-
latitude?: number | null;
|
|
1096
|
-
area?: number | null;
|
|
1097
|
-
status?: string;
|
|
1098
|
-
description?: string | null;
|
|
1099
|
-
isPublished?: boolean;
|
|
1100
|
-
publishedAt?: Date | string | null;
|
|
1101
|
-
createdAt?: Date | string;
|
|
1102
|
-
updatedAt?: Date | string;
|
|
1103
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1104
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1105
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1106
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1107
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1108
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1109
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1110
|
-
};
|
|
1111
|
-
export type PropertyUncheckedCreateWithoutMediaInput = {
|
|
1112
|
-
id?: string;
|
|
1113
|
-
userId: string;
|
|
1114
|
-
title: string;
|
|
1115
|
-
category: string;
|
|
1116
|
-
propertyType: string;
|
|
1117
|
-
country: string;
|
|
1118
|
-
currency: string;
|
|
1119
|
-
city: string;
|
|
1120
|
-
district?: string | null;
|
|
1121
|
-
zipCode?: string | null;
|
|
1122
|
-
streetAddress?: string | null;
|
|
1123
|
-
nBedrooms: string;
|
|
1124
|
-
nBathrooms: string;
|
|
1125
|
-
nParkingSpots: string;
|
|
1126
|
-
price: number;
|
|
1127
|
-
longitude?: number | null;
|
|
1128
|
-
latitude?: number | null;
|
|
1129
|
-
area?: number | null;
|
|
1130
|
-
status?: string;
|
|
1131
|
-
description?: string | null;
|
|
1132
|
-
displayImageId?: string | null;
|
|
1133
|
-
isPublished?: boolean;
|
|
1134
|
-
publishedAt?: Date | string | null;
|
|
1135
|
-
createdAt?: Date | string;
|
|
1136
|
-
updatedAt?: Date | string;
|
|
1137
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1138
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1139
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1140
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1141
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1142
|
-
};
|
|
1143
|
-
export type PropertyCreateOrConnectWithoutMediaInput = {
|
|
1144
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1145
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutMediaInput, Prisma.PropertyUncheckedCreateWithoutMediaInput>;
|
|
1146
|
-
};
|
|
1147
|
-
export type PropertyCreateWithoutDisplayImageInput = {
|
|
1148
|
-
id?: string;
|
|
1149
|
-
title: string;
|
|
1150
|
-
category: string;
|
|
1151
|
-
propertyType: string;
|
|
1152
|
-
country: string;
|
|
1153
|
-
currency: string;
|
|
1154
|
-
city: string;
|
|
1155
|
-
district?: string | null;
|
|
1156
|
-
zipCode?: string | null;
|
|
1157
|
-
streetAddress?: string | null;
|
|
1158
|
-
nBedrooms: string;
|
|
1159
|
-
nBathrooms: string;
|
|
1160
|
-
nParkingSpots: string;
|
|
1161
|
-
price: number;
|
|
1162
|
-
longitude?: number | null;
|
|
1163
|
-
latitude?: number | null;
|
|
1164
|
-
area?: number | null;
|
|
1165
|
-
status?: string;
|
|
1166
|
-
description?: string | null;
|
|
1167
|
-
isPublished?: boolean;
|
|
1168
|
-
publishedAt?: Date | string | null;
|
|
1169
|
-
createdAt?: Date | string;
|
|
1170
|
-
updatedAt?: Date | string;
|
|
1171
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1172
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1173
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1174
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1175
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1176
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1177
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1178
|
-
};
|
|
1179
|
-
export type PropertyUncheckedCreateWithoutDisplayImageInput = {
|
|
1180
|
-
id?: string;
|
|
1181
|
-
userId: string;
|
|
1182
|
-
title: string;
|
|
1183
|
-
category: string;
|
|
1184
|
-
propertyType: string;
|
|
1185
|
-
country: string;
|
|
1186
|
-
currency: string;
|
|
1187
|
-
city: string;
|
|
1188
|
-
district?: string | null;
|
|
1189
|
-
zipCode?: string | null;
|
|
1190
|
-
streetAddress?: string | null;
|
|
1191
|
-
nBedrooms: string;
|
|
1192
|
-
nBathrooms: string;
|
|
1193
|
-
nParkingSpots: string;
|
|
1194
|
-
price: number;
|
|
1195
|
-
longitude?: number | null;
|
|
1196
|
-
latitude?: number | null;
|
|
1197
|
-
area?: number | null;
|
|
1198
|
-
status?: string;
|
|
1199
|
-
description?: string | null;
|
|
1200
|
-
isPublished?: boolean;
|
|
1201
|
-
publishedAt?: Date | string | null;
|
|
1202
|
-
createdAt?: Date | string;
|
|
1203
|
-
updatedAt?: Date | string;
|
|
1204
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1205
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1206
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1207
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1208
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1209
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1210
|
-
};
|
|
1211
|
-
export type PropertyCreateOrConnectWithoutDisplayImageInput = {
|
|
1212
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1213
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput>;
|
|
1214
|
-
};
|
|
1215
|
-
export type PropertyCreateManyDisplayImageInputEnvelope = {
|
|
1216
|
-
data: Prisma.PropertyCreateManyDisplayImageInput | Prisma.PropertyCreateManyDisplayImageInput[];
|
|
1217
|
-
skipDuplicates?: boolean;
|
|
1218
|
-
};
|
|
1219
|
-
export type PropertyUpsertWithoutMediaInput = {
|
|
1220
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutMediaInput, Prisma.PropertyUncheckedUpdateWithoutMediaInput>;
|
|
1221
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutMediaInput, Prisma.PropertyUncheckedCreateWithoutMediaInput>;
|
|
1222
|
-
where?: Prisma.PropertyWhereInput;
|
|
1223
|
-
};
|
|
1224
|
-
export type PropertyUpdateToOneWithWhereWithoutMediaInput = {
|
|
1225
|
-
where?: Prisma.PropertyWhereInput;
|
|
1226
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutMediaInput, Prisma.PropertyUncheckedUpdateWithoutMediaInput>;
|
|
1227
|
-
};
|
|
1228
|
-
export type PropertyUpdateWithoutMediaInput = {
|
|
1229
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1230
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1231
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1232
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1233
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1234
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1235
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1236
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1237
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1238
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1239
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1240
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1241
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1242
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1243
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1244
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1245
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1246
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1247
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1248
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1249
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1250
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1251
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1252
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1253
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1254
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1255
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
1256
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
1257
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
1258
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
1259
|
-
};
|
|
1260
|
-
export type PropertyUncheckedUpdateWithoutMediaInput = {
|
|
1261
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1262
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1263
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1264
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1265
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1266
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1267
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1268
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1269
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1270
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1271
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1272
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1273
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1274
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1276
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1277
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1278
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1279
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1280
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1281
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1282
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1283
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1284
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1285
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1286
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1287
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1288
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1289
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1290
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1291
|
-
};
|
|
1292
|
-
export type PropertyUpsertWithWhereUniqueWithoutDisplayImageInput = {
|
|
1293
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1294
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutDisplayImageInput, Prisma.PropertyUncheckedUpdateWithoutDisplayImageInput>;
|
|
1295
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutDisplayImageInput, Prisma.PropertyUncheckedCreateWithoutDisplayImageInput>;
|
|
1296
|
-
};
|
|
1297
|
-
export type PropertyUpdateWithWhereUniqueWithoutDisplayImageInput = {
|
|
1298
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1299
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutDisplayImageInput, Prisma.PropertyUncheckedUpdateWithoutDisplayImageInput>;
|
|
1300
|
-
};
|
|
1301
|
-
export type PropertyUpdateManyWithWhereWithoutDisplayImageInput = {
|
|
1302
|
-
where: Prisma.PropertyScalarWhereInput;
|
|
1303
|
-
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutDisplayImageInput>;
|
|
1304
|
-
};
|
|
1305
|
-
export type PropertyCreateWithoutDocumentsInput = {
|
|
1306
|
-
id?: string;
|
|
1307
|
-
title: string;
|
|
1308
|
-
category: string;
|
|
1309
|
-
propertyType: string;
|
|
1310
|
-
country: string;
|
|
1311
|
-
currency: string;
|
|
1312
|
-
city: string;
|
|
1313
|
-
district?: string | null;
|
|
1314
|
-
zipCode?: string | null;
|
|
1315
|
-
streetAddress?: string | null;
|
|
1316
|
-
nBedrooms: string;
|
|
1317
|
-
nBathrooms: string;
|
|
1318
|
-
nParkingSpots: string;
|
|
1319
|
-
price: number;
|
|
1320
|
-
longitude?: number | null;
|
|
1321
|
-
latitude?: number | null;
|
|
1322
|
-
area?: number | null;
|
|
1323
|
-
status?: string;
|
|
1324
|
-
description?: string | null;
|
|
1325
|
-
isPublished?: boolean;
|
|
1326
|
-
publishedAt?: Date | string | null;
|
|
1327
|
-
createdAt?: Date | string;
|
|
1328
|
-
updatedAt?: Date | string;
|
|
1329
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1330
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1331
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1332
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1333
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1334
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1335
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1336
|
-
};
|
|
1337
|
-
export type PropertyUncheckedCreateWithoutDocumentsInput = {
|
|
1338
|
-
id?: string;
|
|
1339
|
-
userId: string;
|
|
1340
|
-
title: string;
|
|
1341
|
-
category: string;
|
|
1342
|
-
propertyType: string;
|
|
1343
|
-
country: string;
|
|
1344
|
-
currency: string;
|
|
1345
|
-
city: string;
|
|
1346
|
-
district?: string | null;
|
|
1347
|
-
zipCode?: string | null;
|
|
1348
|
-
streetAddress?: string | null;
|
|
1349
|
-
nBedrooms: string;
|
|
1350
|
-
nBathrooms: string;
|
|
1351
|
-
nParkingSpots: string;
|
|
1352
|
-
price: number;
|
|
1353
|
-
longitude?: number | null;
|
|
1354
|
-
latitude?: number | null;
|
|
1355
|
-
area?: number | null;
|
|
1356
|
-
status?: string;
|
|
1357
|
-
description?: string | null;
|
|
1358
|
-
displayImageId?: string | null;
|
|
1359
|
-
isPublished?: boolean;
|
|
1360
|
-
publishedAt?: Date | string | null;
|
|
1361
|
-
createdAt?: Date | string;
|
|
1362
|
-
updatedAt?: Date | string;
|
|
1363
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1364
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1365
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1366
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1367
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1368
|
-
};
|
|
1369
|
-
export type PropertyCreateOrConnectWithoutDocumentsInput = {
|
|
1370
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1371
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutDocumentsInput, Prisma.PropertyUncheckedCreateWithoutDocumentsInput>;
|
|
1372
|
-
};
|
|
1373
|
-
export type PropertyUpsertWithoutDocumentsInput = {
|
|
1374
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutDocumentsInput, Prisma.PropertyUncheckedUpdateWithoutDocumentsInput>;
|
|
1375
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutDocumentsInput, Prisma.PropertyUncheckedCreateWithoutDocumentsInput>;
|
|
1376
|
-
where?: Prisma.PropertyWhereInput;
|
|
1377
|
-
};
|
|
1378
|
-
export type PropertyUpdateToOneWithWhereWithoutDocumentsInput = {
|
|
1379
|
-
where?: Prisma.PropertyWhereInput;
|
|
1380
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutDocumentsInput, Prisma.PropertyUncheckedUpdateWithoutDocumentsInput>;
|
|
1381
|
-
};
|
|
1382
|
-
export type PropertyUpdateWithoutDocumentsInput = {
|
|
1383
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1384
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1385
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1386
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1387
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1388
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1389
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1390
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1391
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1392
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1393
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1394
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1395
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1396
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1397
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1398
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1399
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1400
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1401
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1402
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1403
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1404
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1405
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1406
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1407
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1408
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1409
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
1410
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
1411
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
1412
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
1413
|
-
};
|
|
1414
|
-
export type PropertyUncheckedUpdateWithoutDocumentsInput = {
|
|
1415
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1416
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1417
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1418
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1419
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1420
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1421
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1422
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1423
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1424
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1425
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1426
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1427
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1428
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1429
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1430
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1431
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1432
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1433
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1434
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1435
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1436
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1437
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1438
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1439
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1440
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1441
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1442
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1443
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1444
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1445
|
-
};
|
|
1446
|
-
export type PropertyCreateWithoutAmenitiesInput = {
|
|
1447
|
-
id?: string;
|
|
1448
|
-
title: string;
|
|
1449
|
-
category: string;
|
|
1450
|
-
propertyType: string;
|
|
1451
|
-
country: string;
|
|
1452
|
-
currency: string;
|
|
1453
|
-
city: string;
|
|
1454
|
-
district?: string | null;
|
|
1455
|
-
zipCode?: string | null;
|
|
1456
|
-
streetAddress?: string | null;
|
|
1457
|
-
nBedrooms: string;
|
|
1458
|
-
nBathrooms: string;
|
|
1459
|
-
nParkingSpots: string;
|
|
1460
|
-
price: number;
|
|
1461
|
-
longitude?: number | null;
|
|
1462
|
-
latitude?: number | null;
|
|
1463
|
-
area?: number | null;
|
|
1464
|
-
status?: string;
|
|
1465
|
-
description?: string | null;
|
|
1466
|
-
isPublished?: boolean;
|
|
1467
|
-
publishedAt?: Date | string | null;
|
|
1468
|
-
createdAt?: Date | string;
|
|
1469
|
-
updatedAt?: Date | string;
|
|
1470
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1471
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1472
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1473
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1474
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1475
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1476
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1477
|
-
};
|
|
1478
|
-
export type PropertyUncheckedCreateWithoutAmenitiesInput = {
|
|
1479
|
-
id?: string;
|
|
1480
|
-
userId: string;
|
|
1481
|
-
title: string;
|
|
1482
|
-
category: string;
|
|
1483
|
-
propertyType: string;
|
|
1484
|
-
country: string;
|
|
1485
|
-
currency: string;
|
|
1486
|
-
city: string;
|
|
1487
|
-
district?: string | null;
|
|
1488
|
-
zipCode?: string | null;
|
|
1489
|
-
streetAddress?: string | null;
|
|
1490
|
-
nBedrooms: string;
|
|
1491
|
-
nBathrooms: string;
|
|
1492
|
-
nParkingSpots: string;
|
|
1493
|
-
price: number;
|
|
1494
|
-
longitude?: number | null;
|
|
1495
|
-
latitude?: number | null;
|
|
1496
|
-
area?: number | null;
|
|
1497
|
-
status?: string;
|
|
1498
|
-
description?: string | null;
|
|
1499
|
-
displayImageId?: string | null;
|
|
1500
|
-
isPublished?: boolean;
|
|
1501
|
-
publishedAt?: Date | string | null;
|
|
1502
|
-
createdAt?: Date | string;
|
|
1503
|
-
updatedAt?: Date | string;
|
|
1504
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1505
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1506
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1507
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1508
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1509
|
-
};
|
|
1510
|
-
export type PropertyCreateOrConnectWithoutAmenitiesInput = {
|
|
1511
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1512
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
|
|
1513
|
-
};
|
|
1514
|
-
export type PropertyUpsertWithoutAmenitiesInput = {
|
|
1515
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
|
|
1516
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
|
|
1517
|
-
where?: Prisma.PropertyWhereInput;
|
|
1518
|
-
};
|
|
1519
|
-
export type PropertyUpdateToOneWithWhereWithoutAmenitiesInput = {
|
|
1520
|
-
where?: Prisma.PropertyWhereInput;
|
|
1521
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
|
|
1522
|
-
};
|
|
1523
|
-
export type PropertyUpdateWithoutAmenitiesInput = {
|
|
1524
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1525
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1526
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1527
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1528
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1529
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1530
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1531
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1532
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1533
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1534
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1535
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1536
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1537
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1538
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1539
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1540
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1541
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1542
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1543
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1544
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1545
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1546
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1547
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1548
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1549
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1550
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1551
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
1552
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
1553
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
1554
|
-
};
|
|
1555
|
-
export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
|
|
1556
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1557
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1558
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1559
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1560
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1561
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1562
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1563
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1564
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1565
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1566
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1567
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1568
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1569
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1570
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1571
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1572
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1573
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1574
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1575
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1576
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1577
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1578
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1579
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1580
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1581
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1582
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1583
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1584
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1585
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1586
|
-
};
|
|
1587
|
-
export type PropertyCreateWithoutMortgagesInput = {
|
|
1588
|
-
id?: string;
|
|
1589
|
-
title: string;
|
|
1590
|
-
category: string;
|
|
1591
|
-
propertyType: string;
|
|
1592
|
-
country: string;
|
|
1593
|
-
currency: string;
|
|
1594
|
-
city: string;
|
|
1595
|
-
district?: string | null;
|
|
1596
|
-
zipCode?: string | null;
|
|
1597
|
-
streetAddress?: string | null;
|
|
1598
|
-
nBedrooms: string;
|
|
1599
|
-
nBathrooms: string;
|
|
1600
|
-
nParkingSpots: string;
|
|
1601
|
-
price: number;
|
|
1602
|
-
longitude?: number | null;
|
|
1603
|
-
latitude?: number | null;
|
|
1604
|
-
area?: number | null;
|
|
1605
|
-
status?: string;
|
|
1606
|
-
description?: string | null;
|
|
1607
|
-
isPublished?: boolean;
|
|
1608
|
-
publishedAt?: Date | string | null;
|
|
1609
|
-
createdAt?: Date | string;
|
|
1610
|
-
updatedAt?: Date | string;
|
|
1611
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1612
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1613
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1614
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1615
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1616
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1617
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1618
|
-
};
|
|
1619
|
-
export type PropertyUncheckedCreateWithoutMortgagesInput = {
|
|
1620
|
-
id?: string;
|
|
1621
|
-
userId: string;
|
|
1622
|
-
title: string;
|
|
1623
|
-
category: string;
|
|
1624
|
-
propertyType: string;
|
|
1625
|
-
country: string;
|
|
1626
|
-
currency: string;
|
|
1627
|
-
city: string;
|
|
1628
|
-
district?: string | null;
|
|
1629
|
-
zipCode?: string | null;
|
|
1630
|
-
streetAddress?: string | null;
|
|
1631
|
-
nBedrooms: string;
|
|
1632
|
-
nBathrooms: string;
|
|
1633
|
-
nParkingSpots: string;
|
|
1634
|
-
price: number;
|
|
1635
|
-
longitude?: number | null;
|
|
1636
|
-
latitude?: number | null;
|
|
1637
|
-
area?: number | null;
|
|
1638
|
-
status?: string;
|
|
1639
|
-
description?: string | null;
|
|
1640
|
-
displayImageId?: string | null;
|
|
1641
|
-
isPublished?: boolean;
|
|
1642
|
-
publishedAt?: Date | string | null;
|
|
1643
|
-
createdAt?: Date | string;
|
|
1644
|
-
updatedAt?: Date | string;
|
|
1645
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1646
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1647
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1648
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1649
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1650
|
-
};
|
|
1651
|
-
export type PropertyCreateOrConnectWithoutMortgagesInput = {
|
|
1652
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1653
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
|
|
1654
|
-
};
|
|
1655
|
-
export type PropertyUpsertWithoutMortgagesInput = {
|
|
1656
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
|
|
1657
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
|
|
1658
|
-
where?: Prisma.PropertyWhereInput;
|
|
1659
|
-
};
|
|
1660
|
-
export type PropertyUpdateToOneWithWhereWithoutMortgagesInput = {
|
|
1661
|
-
where?: Prisma.PropertyWhereInput;
|
|
1662
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
|
|
1663
|
-
};
|
|
1664
|
-
export type PropertyUpdateWithoutMortgagesInput = {
|
|
1665
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1666
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1667
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1668
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1669
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1670
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1671
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1672
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1673
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1674
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1675
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1676
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1677
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1678
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1679
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1680
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1681
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1682
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1683
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1684
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1685
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1686
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1687
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1688
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1689
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1690
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1691
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1692
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
1693
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
1694
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
1695
|
-
};
|
|
1696
|
-
export type PropertyUncheckedUpdateWithoutMortgagesInput = {
|
|
1697
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1698
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1699
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1700
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1701
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1702
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1703
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1704
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1705
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1706
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1707
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1708
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1709
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1710
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1711
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1712
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1713
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1714
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1715
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1716
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1717
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1718
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1719
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1720
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1721
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1722
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1723
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1724
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1725
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1726
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1727
|
-
};
|
|
1728
|
-
export type PropertyCreateWithoutPaymentPlansInput = {
|
|
1729
|
-
id?: string;
|
|
1730
|
-
title: string;
|
|
1731
|
-
category: string;
|
|
1732
|
-
propertyType: string;
|
|
1733
|
-
country: string;
|
|
1734
|
-
currency: string;
|
|
1735
|
-
city: string;
|
|
1736
|
-
district?: string | null;
|
|
1737
|
-
zipCode?: string | null;
|
|
1738
|
-
streetAddress?: string | null;
|
|
1739
|
-
nBedrooms: string;
|
|
1740
|
-
nBathrooms: string;
|
|
1741
|
-
nParkingSpots: string;
|
|
1742
|
-
price: number;
|
|
1743
|
-
longitude?: number | null;
|
|
1744
|
-
latitude?: number | null;
|
|
1745
|
-
area?: number | null;
|
|
1746
|
-
status?: string;
|
|
1747
|
-
description?: string | null;
|
|
1748
|
-
isPublished?: boolean;
|
|
1749
|
-
publishedAt?: Date | string | null;
|
|
1750
|
-
createdAt?: Date | string;
|
|
1751
|
-
updatedAt?: Date | string;
|
|
1752
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1753
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1754
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1755
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1756
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1757
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1758
|
-
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
|
|
1759
|
-
};
|
|
1760
|
-
export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
|
|
1761
|
-
id?: string;
|
|
1762
|
-
userId: string;
|
|
1763
|
-
title: string;
|
|
1764
|
-
category: string;
|
|
1765
|
-
propertyType: string;
|
|
1766
|
-
country: string;
|
|
1767
|
-
currency: string;
|
|
1768
|
-
city: string;
|
|
1769
|
-
district?: string | null;
|
|
1770
|
-
zipCode?: string | null;
|
|
1771
|
-
streetAddress?: string | null;
|
|
1772
|
-
nBedrooms: string;
|
|
1773
|
-
nBathrooms: string;
|
|
1774
|
-
nParkingSpots: string;
|
|
1775
|
-
price: number;
|
|
1776
|
-
longitude?: number | null;
|
|
1777
|
-
latitude?: number | null;
|
|
1778
|
-
area?: number | null;
|
|
1779
|
-
status?: string;
|
|
1780
|
-
description?: string | null;
|
|
1781
|
-
displayImageId?: string | null;
|
|
1782
|
-
isPublished?: boolean;
|
|
1783
|
-
publishedAt?: Date | string | null;
|
|
1784
|
-
createdAt?: Date | string;
|
|
1785
|
-
updatedAt?: Date | string;
|
|
1786
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1787
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1788
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1789
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1790
|
-
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1791
|
-
};
|
|
1792
|
-
export type PropertyCreateOrConnectWithoutPaymentPlansInput = {
|
|
1793
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1794
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
|
|
1795
|
-
};
|
|
1796
|
-
export type PropertyUpsertWithoutPaymentPlansInput = {
|
|
1797
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
|
|
1798
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
|
|
1799
|
-
where?: Prisma.PropertyWhereInput;
|
|
1800
|
-
};
|
|
1801
|
-
export type PropertyUpdateToOneWithWhereWithoutPaymentPlansInput = {
|
|
1802
|
-
where?: Prisma.PropertyWhereInput;
|
|
1803
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
|
|
1804
|
-
};
|
|
1805
|
-
export type PropertyUpdateWithoutPaymentPlansInput = {
|
|
1806
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1807
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1808
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1809
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1810
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1811
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1812
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1813
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1814
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1815
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1816
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1817
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1818
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1819
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1820
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1821
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1822
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1823
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1824
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1825
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1826
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1827
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1828
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1829
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1830
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1831
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1832
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1833
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
1834
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
1835
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
1836
|
-
};
|
|
1837
|
-
export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
|
|
1838
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1839
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1840
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1841
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1842
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1843
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1844
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1845
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1846
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1847
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1848
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1849
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1850
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1851
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1852
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1853
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1854
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1855
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1856
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1857
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1858
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1859
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1860
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1861
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1862
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1863
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1864
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1865
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1866
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1867
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
1868
|
-
};
|
|
1869
|
-
export type PropertyCreateWithoutContractsInput = {
|
|
1870
|
-
id?: string;
|
|
1871
|
-
title: string;
|
|
1872
|
-
category: string;
|
|
1873
|
-
propertyType: string;
|
|
1874
|
-
country: string;
|
|
1875
|
-
currency: string;
|
|
1876
|
-
city: string;
|
|
1877
|
-
district?: string | null;
|
|
1878
|
-
zipCode?: string | null;
|
|
1879
|
-
streetAddress?: string | null;
|
|
1880
|
-
nBedrooms: string;
|
|
1881
|
-
nBathrooms: string;
|
|
1882
|
-
nParkingSpots: string;
|
|
1883
|
-
price: number;
|
|
1884
|
-
longitude?: number | null;
|
|
1885
|
-
latitude?: number | null;
|
|
1886
|
-
area?: number | null;
|
|
1887
|
-
status?: string;
|
|
1888
|
-
description?: string | null;
|
|
1889
|
-
isPublished?: boolean;
|
|
1890
|
-
publishedAt?: Date | string | null;
|
|
1891
|
-
createdAt?: Date | string;
|
|
1892
|
-
updatedAt?: Date | string;
|
|
1893
|
-
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1894
|
-
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1895
|
-
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1896
|
-
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1897
|
-
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1898
|
-
mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
|
|
1899
|
-
paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
|
|
1900
|
-
};
|
|
1901
|
-
export type PropertyUncheckedCreateWithoutContractsInput = {
|
|
1902
|
-
id?: string;
|
|
1903
|
-
userId: string;
|
|
1904
|
-
title: string;
|
|
1905
|
-
category: string;
|
|
1906
|
-
propertyType: string;
|
|
1907
|
-
country: string;
|
|
1908
|
-
currency: string;
|
|
1909
|
-
city: string;
|
|
1910
|
-
district?: string | null;
|
|
1911
|
-
zipCode?: string | null;
|
|
1912
|
-
streetAddress?: string | null;
|
|
1913
|
-
nBedrooms: string;
|
|
1914
|
-
nBathrooms: string;
|
|
1915
|
-
nParkingSpots: string;
|
|
1916
|
-
price: number;
|
|
1917
|
-
longitude?: number | null;
|
|
1918
|
-
latitude?: number | null;
|
|
1919
|
-
area?: number | null;
|
|
1920
|
-
status?: string;
|
|
1921
|
-
description?: string | null;
|
|
1922
|
-
displayImageId?: string | null;
|
|
1923
|
-
isPublished?: boolean;
|
|
1924
|
-
publishedAt?: Date | string | null;
|
|
1925
|
-
createdAt?: Date | string;
|
|
1926
|
-
updatedAt?: Date | string;
|
|
1927
|
-
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1928
|
-
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1929
|
-
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1930
|
-
mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1931
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1932
|
-
};
|
|
1933
|
-
export type PropertyCreateOrConnectWithoutContractsInput = {
|
|
1934
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
1935
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
|
|
1936
|
-
};
|
|
1937
|
-
export type PropertyUpsertWithoutContractsInput = {
|
|
1938
|
-
update: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
|
|
1939
|
-
create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
|
|
1940
|
-
where?: Prisma.PropertyWhereInput;
|
|
1941
|
-
};
|
|
1942
|
-
export type PropertyUpdateToOneWithWhereWithoutContractsInput = {
|
|
1943
|
-
where?: Prisma.PropertyWhereInput;
|
|
1944
|
-
data: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
|
|
1945
|
-
};
|
|
1946
|
-
export type PropertyUpdateWithoutContractsInput = {
|
|
1947
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1948
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1949
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1950
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1951
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1952
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1953
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1954
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1955
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1956
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1957
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1958
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1959
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1960
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1961
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1962
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1963
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1964
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1965
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1966
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1967
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1968
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1969
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1970
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1971
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1972
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1973
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1974
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
1975
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
1976
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
1977
|
-
};
|
|
1978
|
-
export type PropertyUncheckedUpdateWithoutContractsInput = {
|
|
1979
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1980
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1981
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1982
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1983
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1984
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1985
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1986
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1987
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1988
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1989
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1990
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1991
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1992
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1993
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1994
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1995
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1996
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1997
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1998
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1999
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2000
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2001
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2002
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2003
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2004
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2005
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2006
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2007
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2008
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2009
|
-
};
|
|
2010
|
-
export type PropertyCreateManyUserInput = {
|
|
2011
|
-
id?: string;
|
|
2012
|
-
title: string;
|
|
2013
|
-
category: string;
|
|
2014
|
-
propertyType: string;
|
|
2015
|
-
country: string;
|
|
2016
|
-
currency: string;
|
|
2017
|
-
city: string;
|
|
2018
|
-
district?: string | null;
|
|
2019
|
-
zipCode?: string | null;
|
|
2020
|
-
streetAddress?: string | null;
|
|
2021
|
-
nBedrooms: string;
|
|
2022
|
-
nBathrooms: string;
|
|
2023
|
-
nParkingSpots: string;
|
|
2024
|
-
price: number;
|
|
2025
|
-
longitude?: number | null;
|
|
2026
|
-
latitude?: number | null;
|
|
2027
|
-
area?: number | null;
|
|
2028
|
-
status?: string;
|
|
2029
|
-
description?: string | null;
|
|
2030
|
-
displayImageId?: string | null;
|
|
2031
|
-
isPublished?: boolean;
|
|
2032
|
-
publishedAt?: Date | string | null;
|
|
2033
|
-
createdAt?: Date | string;
|
|
2034
|
-
updatedAt?: Date | string;
|
|
2035
|
-
};
|
|
2036
|
-
export type PropertyUpdateWithoutUserInput = {
|
|
2037
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2038
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2039
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2040
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2041
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2042
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2043
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2044
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2045
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2046
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2047
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2048
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2049
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2050
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2051
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2052
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2053
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2054
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2055
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2056
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2057
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2058
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2059
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2060
|
-
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
2061
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
2062
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
2063
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
2064
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
2065
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
2066
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
2067
|
-
};
|
|
2068
|
-
export type PropertyUncheckedUpdateWithoutUserInput = {
|
|
2069
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2070
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2071
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2072
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2073
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2074
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2075
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2076
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2077
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2078
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2079
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2080
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2081
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2082
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2083
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2084
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2085
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2086
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2087
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2088
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2089
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2090
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2091
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2092
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2093
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2094
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2095
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2096
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2097
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2098
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2099
|
-
};
|
|
2100
|
-
export type PropertyUncheckedUpdateManyWithoutUserInput = {
|
|
2101
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2102
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2103
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2104
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2105
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2106
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2107
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2108
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2109
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2110
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2111
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2112
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2113
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2114
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2115
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2116
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2117
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2118
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2119
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2120
|
-
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2121
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2122
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2123
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2124
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2125
|
-
};
|
|
2126
|
-
export type PropertyCreateManyDisplayImageInput = {
|
|
2127
|
-
id?: string;
|
|
2128
|
-
userId: string;
|
|
2129
|
-
title: string;
|
|
2130
|
-
category: string;
|
|
2131
|
-
propertyType: string;
|
|
2132
|
-
country: string;
|
|
2133
|
-
currency: string;
|
|
2134
|
-
city: string;
|
|
2135
|
-
district?: string | null;
|
|
2136
|
-
zipCode?: string | null;
|
|
2137
|
-
streetAddress?: string | null;
|
|
2138
|
-
nBedrooms: string;
|
|
2139
|
-
nBathrooms: string;
|
|
2140
|
-
nParkingSpots: string;
|
|
2141
|
-
price: number;
|
|
2142
|
-
longitude?: number | null;
|
|
2143
|
-
latitude?: number | null;
|
|
2144
|
-
area?: number | null;
|
|
2145
|
-
status?: string;
|
|
2146
|
-
description?: string | null;
|
|
2147
|
-
isPublished?: boolean;
|
|
2148
|
-
publishedAt?: Date | string | null;
|
|
2149
|
-
createdAt?: Date | string;
|
|
2150
|
-
updatedAt?: Date | string;
|
|
2151
|
-
};
|
|
2152
|
-
export type PropertyUpdateWithoutDisplayImageInput = {
|
|
2153
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2154
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2155
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2156
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2157
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2158
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2159
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2160
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2161
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2162
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2163
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2164
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2165
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2166
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2167
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2168
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2169
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2170
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2171
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2172
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2173
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2174
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2175
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2176
|
-
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
2177
|
-
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
2178
|
-
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
2179
|
-
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
2180
|
-
mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
|
|
2181
|
-
paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
|
|
2182
|
-
contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
|
|
2183
|
-
};
|
|
2184
|
-
export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
|
|
2185
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2186
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2187
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2188
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2189
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2190
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2191
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2192
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2193
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2194
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2195
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2196
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2197
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2198
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2199
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2200
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2201
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2202
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2203
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2204
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2205
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2206
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2207
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2208
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2209
|
-
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2210
|
-
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2211
|
-
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2212
|
-
mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2213
|
-
paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2214
|
-
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2215
|
-
};
|
|
2216
|
-
export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
|
|
2217
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2218
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2219
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2220
|
-
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2221
|
-
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2222
|
-
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2223
|
-
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2224
|
-
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2225
|
-
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2226
|
-
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2227
|
-
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2228
|
-
nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2229
|
-
nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2230
|
-
nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2231
|
-
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2232
|
-
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2233
|
-
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2234
|
-
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2235
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2236
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2237
|
-
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2238
|
-
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2239
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2240
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2241
|
-
};
|
|
2242
|
-
/**
|
|
2243
|
-
* Count Type PropertyCountOutputType
|
|
2244
|
-
*/
|
|
2245
|
-
export type PropertyCountOutputType = {
|
|
2246
|
-
documents: number;
|
|
2247
|
-
media: number;
|
|
2248
|
-
amenities: number;
|
|
2249
|
-
mortgages: number;
|
|
2250
|
-
paymentPlans: number;
|
|
2251
|
-
contracts: number;
|
|
2252
|
-
};
|
|
2253
|
-
export type PropertyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2254
|
-
documents?: boolean | PropertyCountOutputTypeCountDocumentsArgs;
|
|
2255
|
-
media?: boolean | PropertyCountOutputTypeCountMediaArgs;
|
|
2256
|
-
amenities?: boolean | PropertyCountOutputTypeCountAmenitiesArgs;
|
|
2257
|
-
mortgages?: boolean | PropertyCountOutputTypeCountMortgagesArgs;
|
|
2258
|
-
paymentPlans?: boolean | PropertyCountOutputTypeCountPaymentPlansArgs;
|
|
2259
|
-
contracts?: boolean | PropertyCountOutputTypeCountContractsArgs;
|
|
2260
|
-
};
|
|
2261
|
-
/**
|
|
2262
|
-
* PropertyCountOutputType without action
|
|
2263
|
-
*/
|
|
2264
|
-
export type PropertyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2265
|
-
/**
|
|
2266
|
-
* Select specific fields to fetch from the PropertyCountOutputType
|
|
2267
|
-
*/
|
|
2268
|
-
select?: Prisma.PropertyCountOutputTypeSelect<ExtArgs> | null;
|
|
2269
|
-
};
|
|
2270
|
-
/**
|
|
2271
|
-
* PropertyCountOutputType without action
|
|
2272
|
-
*/
|
|
2273
|
-
export type PropertyCountOutputTypeCountDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2274
|
-
where?: Prisma.PropertyDocumentWhereInput;
|
|
2275
|
-
};
|
|
2276
|
-
/**
|
|
2277
|
-
* PropertyCountOutputType without action
|
|
2278
|
-
*/
|
|
2279
|
-
export type PropertyCountOutputTypeCountMediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2280
|
-
where?: Prisma.PropertyMediaWhereInput;
|
|
2281
|
-
};
|
|
2282
|
-
/**
|
|
2283
|
-
* PropertyCountOutputType without action
|
|
2284
|
-
*/
|
|
2285
|
-
export type PropertyCountOutputTypeCountAmenitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2286
|
-
where?: Prisma.PropertyAmenityWhereInput;
|
|
2287
|
-
};
|
|
2288
|
-
/**
|
|
2289
|
-
* PropertyCountOutputType without action
|
|
2290
|
-
*/
|
|
2291
|
-
export type PropertyCountOutputTypeCountMortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2292
|
-
where?: Prisma.MortgageWhereInput;
|
|
2293
|
-
};
|
|
2294
|
-
/**
|
|
2295
|
-
* PropertyCountOutputType without action
|
|
2296
|
-
*/
|
|
2297
|
-
export type PropertyCountOutputTypeCountPaymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2298
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
2299
|
-
};
|
|
2300
|
-
/**
|
|
2301
|
-
* PropertyCountOutputType without action
|
|
2302
|
-
*/
|
|
2303
|
-
export type PropertyCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2304
|
-
where?: Prisma.ContractWhereInput;
|
|
2305
|
-
};
|
|
2306
|
-
export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2307
|
-
id?: boolean;
|
|
2308
|
-
userId?: boolean;
|
|
2309
|
-
title?: boolean;
|
|
2310
|
-
category?: boolean;
|
|
2311
|
-
propertyType?: boolean;
|
|
2312
|
-
country?: boolean;
|
|
2313
|
-
currency?: boolean;
|
|
2314
|
-
city?: boolean;
|
|
2315
|
-
district?: boolean;
|
|
2316
|
-
zipCode?: boolean;
|
|
2317
|
-
streetAddress?: boolean;
|
|
2318
|
-
nBedrooms?: boolean;
|
|
2319
|
-
nBathrooms?: boolean;
|
|
2320
|
-
nParkingSpots?: boolean;
|
|
2321
|
-
price?: boolean;
|
|
2322
|
-
longitude?: boolean;
|
|
2323
|
-
latitude?: boolean;
|
|
2324
|
-
area?: boolean;
|
|
2325
|
-
status?: boolean;
|
|
2326
|
-
description?: boolean;
|
|
2327
|
-
displayImageId?: boolean;
|
|
2328
|
-
isPublished?: boolean;
|
|
2329
|
-
publishedAt?: boolean;
|
|
2330
|
-
createdAt?: boolean;
|
|
2331
|
-
updatedAt?: boolean;
|
|
2332
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
2333
|
-
displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
|
|
2334
|
-
documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
|
|
2335
|
-
media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
|
|
2336
|
-
amenities?: boolean | Prisma.Property$amenitiesArgs<ExtArgs>;
|
|
2337
|
-
mortgages?: boolean | Prisma.Property$mortgagesArgs<ExtArgs>;
|
|
2338
|
-
paymentPlans?: boolean | Prisma.Property$paymentPlansArgs<ExtArgs>;
|
|
2339
|
-
contracts?: boolean | Prisma.Property$contractsArgs<ExtArgs>;
|
|
2340
|
-
_count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2341
|
-
}, ExtArgs["result"]["property"]>;
|
|
2342
|
-
export type PropertySelectScalar = {
|
|
2343
|
-
id?: boolean;
|
|
2344
|
-
userId?: boolean;
|
|
2345
|
-
title?: boolean;
|
|
2346
|
-
category?: boolean;
|
|
2347
|
-
propertyType?: boolean;
|
|
2348
|
-
country?: boolean;
|
|
2349
|
-
currency?: boolean;
|
|
2350
|
-
city?: boolean;
|
|
2351
|
-
district?: boolean;
|
|
2352
|
-
zipCode?: boolean;
|
|
2353
|
-
streetAddress?: boolean;
|
|
2354
|
-
nBedrooms?: boolean;
|
|
2355
|
-
nBathrooms?: boolean;
|
|
2356
|
-
nParkingSpots?: boolean;
|
|
2357
|
-
price?: boolean;
|
|
2358
|
-
longitude?: boolean;
|
|
2359
|
-
latitude?: boolean;
|
|
2360
|
-
area?: boolean;
|
|
2361
|
-
status?: boolean;
|
|
2362
|
-
description?: boolean;
|
|
2363
|
-
displayImageId?: boolean;
|
|
2364
|
-
isPublished?: boolean;
|
|
2365
|
-
publishedAt?: boolean;
|
|
2366
|
-
createdAt?: boolean;
|
|
2367
|
-
updatedAt?: boolean;
|
|
2368
|
-
};
|
|
2369
|
-
export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "title" | "category" | "propertyType" | "country" | "currency" | "city" | "district" | "zipCode" | "streetAddress" | "nBedrooms" | "nBathrooms" | "nParkingSpots" | "price" | "longitude" | "latitude" | "area" | "status" | "description" | "displayImageId" | "isPublished" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
|
|
2370
|
-
export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2371
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
2372
|
-
displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
|
|
2373
|
-
documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
|
|
2374
|
-
media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
|
|
2375
|
-
amenities?: boolean | Prisma.Property$amenitiesArgs<ExtArgs>;
|
|
2376
|
-
mortgages?: boolean | Prisma.Property$mortgagesArgs<ExtArgs>;
|
|
2377
|
-
paymentPlans?: boolean | Prisma.Property$paymentPlansArgs<ExtArgs>;
|
|
2378
|
-
contracts?: boolean | Prisma.Property$contractsArgs<ExtArgs>;
|
|
2379
|
-
_count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2380
|
-
};
|
|
2381
|
-
export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2382
|
-
name: "Property";
|
|
2383
|
-
objects: {
|
|
2384
|
-
user: Prisma.$UserPayload<ExtArgs>;
|
|
2385
|
-
displayImage: Prisma.$PropertyMediaPayload<ExtArgs> | null;
|
|
2386
|
-
documents: Prisma.$PropertyDocumentPayload<ExtArgs>[];
|
|
2387
|
-
media: Prisma.$PropertyMediaPayload<ExtArgs>[];
|
|
2388
|
-
amenities: Prisma.$PropertyAmenityPayload<ExtArgs>[];
|
|
2389
|
-
mortgages: Prisma.$MortgagePayload<ExtArgs>[];
|
|
2390
|
-
paymentPlans: Prisma.$PaymentPlanPayload<ExtArgs>[];
|
|
2391
|
-
contracts: Prisma.$ContractPayload<ExtArgs>[];
|
|
2392
|
-
};
|
|
2393
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2394
|
-
id: string;
|
|
2395
|
-
userId: string;
|
|
2396
|
-
title: string;
|
|
2397
|
-
category: string;
|
|
2398
|
-
propertyType: string;
|
|
2399
|
-
country: string;
|
|
2400
|
-
currency: string;
|
|
2401
|
-
city: string;
|
|
2402
|
-
district: string | null;
|
|
2403
|
-
zipCode: string | null;
|
|
2404
|
-
streetAddress: string | null;
|
|
2405
|
-
nBedrooms: string;
|
|
2406
|
-
nBathrooms: string;
|
|
2407
|
-
nParkingSpots: string;
|
|
2408
|
-
price: number;
|
|
2409
|
-
longitude: number | null;
|
|
2410
|
-
latitude: number | null;
|
|
2411
|
-
area: number | null;
|
|
2412
|
-
status: string;
|
|
2413
|
-
description: string | null;
|
|
2414
|
-
displayImageId: string | null;
|
|
2415
|
-
isPublished: boolean;
|
|
2416
|
-
publishedAt: Date | null;
|
|
2417
|
-
createdAt: Date;
|
|
2418
|
-
updatedAt: Date;
|
|
2419
|
-
}, ExtArgs["result"]["property"]>;
|
|
2420
|
-
composites: {};
|
|
2421
|
-
};
|
|
2422
|
-
export type PropertyGetPayload<S extends boolean | null | undefined | PropertyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyPayload, S>;
|
|
2423
|
-
export type PropertyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2424
|
-
select?: PropertyCountAggregateInputType | true;
|
|
2425
|
-
};
|
|
2426
|
-
export interface PropertyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2427
|
-
[K: symbol]: {
|
|
2428
|
-
types: Prisma.TypeMap<ExtArgs>['model']['Property'];
|
|
2429
|
-
meta: {
|
|
2430
|
-
name: 'Property';
|
|
2431
|
-
};
|
|
2432
|
-
};
|
|
2433
|
-
/**
|
|
2434
|
-
* Find zero or one Property that matches the filter.
|
|
2435
|
-
* @param {PropertyFindUniqueArgs} args - Arguments to find a Property
|
|
2436
|
-
* @example
|
|
2437
|
-
* // Get one Property
|
|
2438
|
-
* const property = await prisma.property.findUnique({
|
|
2439
|
-
* where: {
|
|
2440
|
-
* // ... provide filter here
|
|
2441
|
-
* }
|
|
2442
|
-
* })
|
|
2443
|
-
*/
|
|
2444
|
-
findUnique<T extends PropertyFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2445
|
-
/**
|
|
2446
|
-
* Find one Property that matches the filter or throw an error with `error.code='P2025'`
|
|
2447
|
-
* if no matches were found.
|
|
2448
|
-
* @param {PropertyFindUniqueOrThrowArgs} args - Arguments to find a Property
|
|
2449
|
-
* @example
|
|
2450
|
-
* // Get one Property
|
|
2451
|
-
* const property = await prisma.property.findUniqueOrThrow({
|
|
2452
|
-
* where: {
|
|
2453
|
-
* // ... provide filter here
|
|
2454
|
-
* }
|
|
2455
|
-
* })
|
|
2456
|
-
*/
|
|
2457
|
-
findUniqueOrThrow<T extends PropertyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2458
|
-
/**
|
|
2459
|
-
* Find the first Property that matches the filter.
|
|
2460
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2461
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2462
|
-
* @param {PropertyFindFirstArgs} args - Arguments to find a Property
|
|
2463
|
-
* @example
|
|
2464
|
-
* // Get one Property
|
|
2465
|
-
* const property = await prisma.property.findFirst({
|
|
2466
|
-
* where: {
|
|
2467
|
-
* // ... provide filter here
|
|
2468
|
-
* }
|
|
2469
|
-
* })
|
|
2470
|
-
*/
|
|
2471
|
-
findFirst<T extends PropertyFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2472
|
-
/**
|
|
2473
|
-
* Find the first Property that matches the filter or
|
|
2474
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2475
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2476
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2477
|
-
* @param {PropertyFindFirstOrThrowArgs} args - Arguments to find a Property
|
|
2478
|
-
* @example
|
|
2479
|
-
* // Get one Property
|
|
2480
|
-
* const property = await prisma.property.findFirstOrThrow({
|
|
2481
|
-
* where: {
|
|
2482
|
-
* // ... provide filter here
|
|
2483
|
-
* }
|
|
2484
|
-
* })
|
|
2485
|
-
*/
|
|
2486
|
-
findFirstOrThrow<T extends PropertyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2487
|
-
/**
|
|
2488
|
-
* Find zero or more Properties that matches the filter.
|
|
2489
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2490
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2491
|
-
* @param {PropertyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2492
|
-
* @example
|
|
2493
|
-
* // Get all Properties
|
|
2494
|
-
* const properties = await prisma.property.findMany()
|
|
2495
|
-
*
|
|
2496
|
-
* // Get first 10 Properties
|
|
2497
|
-
* const properties = await prisma.property.findMany({ take: 10 })
|
|
2498
|
-
*
|
|
2499
|
-
* // Only select the `id`
|
|
2500
|
-
* const propertyWithIdOnly = await prisma.property.findMany({ select: { id: true } })
|
|
2501
|
-
*
|
|
2502
|
-
*/
|
|
2503
|
-
findMany<T extends PropertyFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
2504
|
-
/**
|
|
2505
|
-
* Create a Property.
|
|
2506
|
-
* @param {PropertyCreateArgs} args - Arguments to create a Property.
|
|
2507
|
-
* @example
|
|
2508
|
-
* // Create one Property
|
|
2509
|
-
* const Property = await prisma.property.create({
|
|
2510
|
-
* data: {
|
|
2511
|
-
* // ... data to create a Property
|
|
2512
|
-
* }
|
|
2513
|
-
* })
|
|
2514
|
-
*
|
|
2515
|
-
*/
|
|
2516
|
-
create<T extends PropertyCreateArgs>(args: Prisma.SelectSubset<T, PropertyCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2517
|
-
/**
|
|
2518
|
-
* Create many Properties.
|
|
2519
|
-
* @param {PropertyCreateManyArgs} args - Arguments to create many Properties.
|
|
2520
|
-
* @example
|
|
2521
|
-
* // Create many Properties
|
|
2522
|
-
* const property = await prisma.property.createMany({
|
|
2523
|
-
* data: [
|
|
2524
|
-
* // ... provide data here
|
|
2525
|
-
* ]
|
|
2526
|
-
* })
|
|
2527
|
-
*
|
|
2528
|
-
*/
|
|
2529
|
-
createMany<T extends PropertyCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2530
|
-
/**
|
|
2531
|
-
* Delete a Property.
|
|
2532
|
-
* @param {PropertyDeleteArgs} args - Arguments to delete one Property.
|
|
2533
|
-
* @example
|
|
2534
|
-
* // Delete one Property
|
|
2535
|
-
* const Property = await prisma.property.delete({
|
|
2536
|
-
* where: {
|
|
2537
|
-
* // ... filter to delete one Property
|
|
2538
|
-
* }
|
|
2539
|
-
* })
|
|
2540
|
-
*
|
|
2541
|
-
*/
|
|
2542
|
-
delete<T extends PropertyDeleteArgs>(args: Prisma.SelectSubset<T, PropertyDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2543
|
-
/**
|
|
2544
|
-
* Update one Property.
|
|
2545
|
-
* @param {PropertyUpdateArgs} args - Arguments to update one Property.
|
|
2546
|
-
* @example
|
|
2547
|
-
* // Update one Property
|
|
2548
|
-
* const property = await prisma.property.update({
|
|
2549
|
-
* where: {
|
|
2550
|
-
* // ... provide filter here
|
|
2551
|
-
* },
|
|
2552
|
-
* data: {
|
|
2553
|
-
* // ... provide data here
|
|
2554
|
-
* }
|
|
2555
|
-
* })
|
|
2556
|
-
*
|
|
2557
|
-
*/
|
|
2558
|
-
update<T extends PropertyUpdateArgs>(args: Prisma.SelectSubset<T, PropertyUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2559
|
-
/**
|
|
2560
|
-
* Delete zero or more Properties.
|
|
2561
|
-
* @param {PropertyDeleteManyArgs} args - Arguments to filter Properties to delete.
|
|
2562
|
-
* @example
|
|
2563
|
-
* // Delete a few Properties
|
|
2564
|
-
* const { count } = await prisma.property.deleteMany({
|
|
2565
|
-
* where: {
|
|
2566
|
-
* // ... provide filter here
|
|
2567
|
-
* }
|
|
2568
|
-
* })
|
|
2569
|
-
*
|
|
2570
|
-
*/
|
|
2571
|
-
deleteMany<T extends PropertyDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2572
|
-
/**
|
|
2573
|
-
* Update zero or more Properties.
|
|
2574
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2575
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2576
|
-
* @param {PropertyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2577
|
-
* @example
|
|
2578
|
-
* // Update many Properties
|
|
2579
|
-
* const property = await prisma.property.updateMany({
|
|
2580
|
-
* where: {
|
|
2581
|
-
* // ... provide filter here
|
|
2582
|
-
* },
|
|
2583
|
-
* data: {
|
|
2584
|
-
* // ... provide data here
|
|
2585
|
-
* }
|
|
2586
|
-
* })
|
|
2587
|
-
*
|
|
2588
|
-
*/
|
|
2589
|
-
updateMany<T extends PropertyUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2590
|
-
/**
|
|
2591
|
-
* Create or update one Property.
|
|
2592
|
-
* @param {PropertyUpsertArgs} args - Arguments to update or create a Property.
|
|
2593
|
-
* @example
|
|
2594
|
-
* // Update or create a Property
|
|
2595
|
-
* const property = await prisma.property.upsert({
|
|
2596
|
-
* create: {
|
|
2597
|
-
* // ... data to create a Property
|
|
2598
|
-
* },
|
|
2599
|
-
* update: {
|
|
2600
|
-
* // ... in case it already exists, update
|
|
2601
|
-
* },
|
|
2602
|
-
* where: {
|
|
2603
|
-
* // ... the filter for the Property we want to update
|
|
2604
|
-
* }
|
|
2605
|
-
* })
|
|
2606
|
-
*/
|
|
2607
|
-
upsert<T extends PropertyUpsertArgs>(args: Prisma.SelectSubset<T, PropertyUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2608
|
-
/**
|
|
2609
|
-
* Count the number of Properties.
|
|
2610
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2611
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2612
|
-
* @param {PropertyCountArgs} args - Arguments to filter Properties to count.
|
|
2613
|
-
* @example
|
|
2614
|
-
* // Count the number of Properties
|
|
2615
|
-
* const count = await prisma.property.count({
|
|
2616
|
-
* where: {
|
|
2617
|
-
* // ... the filter for the Properties we want to count
|
|
2618
|
-
* }
|
|
2619
|
-
* })
|
|
2620
|
-
**/
|
|
2621
|
-
count<T extends PropertyCountArgs>(args?: Prisma.Subset<T, PropertyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyCountAggregateOutputType> : number>;
|
|
2622
|
-
/**
|
|
2623
|
-
* Allows you to perform aggregations operations on a Property.
|
|
2624
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2625
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2626
|
-
* @param {PropertyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2627
|
-
* @example
|
|
2628
|
-
* // Ordered by age ascending
|
|
2629
|
-
* // Where email contains prisma.io
|
|
2630
|
-
* // Limited to the 10 users
|
|
2631
|
-
* const aggregations = await prisma.user.aggregate({
|
|
2632
|
-
* _avg: {
|
|
2633
|
-
* age: true,
|
|
2634
|
-
* },
|
|
2635
|
-
* where: {
|
|
2636
|
-
* email: {
|
|
2637
|
-
* contains: "prisma.io",
|
|
2638
|
-
* },
|
|
2639
|
-
* },
|
|
2640
|
-
* orderBy: {
|
|
2641
|
-
* age: "asc",
|
|
2642
|
-
* },
|
|
2643
|
-
* take: 10,
|
|
2644
|
-
* })
|
|
2645
|
-
**/
|
|
2646
|
-
aggregate<T extends PropertyAggregateArgs>(args: Prisma.Subset<T, PropertyAggregateArgs>): Prisma.PrismaPromise<GetPropertyAggregateType<T>>;
|
|
2647
|
-
/**
|
|
2648
|
-
* Group by Property.
|
|
2649
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2650
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2651
|
-
* @param {PropertyGroupByArgs} args - Group by arguments.
|
|
2652
|
-
* @example
|
|
2653
|
-
* // Group by city, order by createdAt, get count
|
|
2654
|
-
* const result = await prisma.user.groupBy({
|
|
2655
|
-
* by: ['city', 'createdAt'],
|
|
2656
|
-
* orderBy: {
|
|
2657
|
-
* createdAt: true
|
|
2658
|
-
* },
|
|
2659
|
-
* _count: {
|
|
2660
|
-
* _all: true
|
|
2661
|
-
* },
|
|
2662
|
-
* })
|
|
2663
|
-
*
|
|
2664
|
-
**/
|
|
2665
|
-
groupBy<T extends PropertyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2666
|
-
orderBy: PropertyGroupByArgs['orderBy'];
|
|
2667
|
-
} : {
|
|
2668
|
-
orderBy?: PropertyGroupByArgs['orderBy'];
|
|
2669
|
-
}, 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 ? {
|
|
2670
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
2671
|
-
Error,
|
|
2672
|
-
'Field ',
|
|
2673
|
-
P,
|
|
2674
|
-
` in "having" needs to be provided in "by"`
|
|
2675
|
-
];
|
|
2676
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2677
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2678
|
-
}[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 ? {} : {
|
|
2679
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2680
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2681
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2682
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2683
|
-
/**
|
|
2684
|
-
* Fields of the Property model
|
|
2685
|
-
*/
|
|
2686
|
-
readonly fields: PropertyFieldRefs;
|
|
2687
|
-
}
|
|
2688
|
-
/**
|
|
2689
|
-
* The delegate class that acts as a "Promise-like" for Property.
|
|
2690
|
-
* Why is this prefixed with `Prisma__`?
|
|
2691
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
2692
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2693
|
-
*/
|
|
2694
|
-
export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2695
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2696
|
-
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2697
|
-
displayImage<T extends Prisma.Property$displayImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$displayImageArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2698
|
-
documents<T extends Prisma.Property$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2699
|
-
media<T extends Prisma.Property$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$mediaArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2700
|
-
amenities<T extends Prisma.Property$amenitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$amenitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2701
|
-
mortgages<T extends Prisma.Property$mortgagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$mortgagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2702
|
-
paymentPlans<T extends Prisma.Property$paymentPlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$paymentPlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2703
|
-
contracts<T extends Prisma.Property$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2704
|
-
/**
|
|
2705
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2706
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2707
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2708
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
2709
|
-
*/
|
|
2710
|
-
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>;
|
|
2711
|
-
/**
|
|
2712
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
2713
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2714
|
-
* @returns A Promise for the completion of the callback.
|
|
2715
|
-
*/
|
|
2716
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
2717
|
-
/**
|
|
2718
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2719
|
-
* resolved value cannot be modified from the callback.
|
|
2720
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2721
|
-
* @returns A Promise for the completion of the callback.
|
|
2722
|
-
*/
|
|
2723
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2724
|
-
}
|
|
2725
|
-
/**
|
|
2726
|
-
* Fields of the Property model
|
|
2727
|
-
*/
|
|
2728
|
-
export interface PropertyFieldRefs {
|
|
2729
|
-
readonly id: Prisma.FieldRef<"Property", 'String'>;
|
|
2730
|
-
readonly userId: Prisma.FieldRef<"Property", 'String'>;
|
|
2731
|
-
readonly title: Prisma.FieldRef<"Property", 'String'>;
|
|
2732
|
-
readonly category: Prisma.FieldRef<"Property", 'String'>;
|
|
2733
|
-
readonly propertyType: Prisma.FieldRef<"Property", 'String'>;
|
|
2734
|
-
readonly country: Prisma.FieldRef<"Property", 'String'>;
|
|
2735
|
-
readonly currency: Prisma.FieldRef<"Property", 'String'>;
|
|
2736
|
-
readonly city: Prisma.FieldRef<"Property", 'String'>;
|
|
2737
|
-
readonly district: Prisma.FieldRef<"Property", 'String'>;
|
|
2738
|
-
readonly zipCode: Prisma.FieldRef<"Property", 'String'>;
|
|
2739
|
-
readonly streetAddress: Prisma.FieldRef<"Property", 'String'>;
|
|
2740
|
-
readonly nBedrooms: Prisma.FieldRef<"Property", 'String'>;
|
|
2741
|
-
readonly nBathrooms: Prisma.FieldRef<"Property", 'String'>;
|
|
2742
|
-
readonly nParkingSpots: Prisma.FieldRef<"Property", 'String'>;
|
|
2743
|
-
readonly price: Prisma.FieldRef<"Property", 'Float'>;
|
|
2744
|
-
readonly longitude: Prisma.FieldRef<"Property", 'Float'>;
|
|
2745
|
-
readonly latitude: Prisma.FieldRef<"Property", 'Float'>;
|
|
2746
|
-
readonly area: Prisma.FieldRef<"Property", 'Float'>;
|
|
2747
|
-
readonly status: Prisma.FieldRef<"Property", 'String'>;
|
|
2748
|
-
readonly description: Prisma.FieldRef<"Property", 'String'>;
|
|
2749
|
-
readonly displayImageId: Prisma.FieldRef<"Property", 'String'>;
|
|
2750
|
-
readonly isPublished: Prisma.FieldRef<"Property", 'Boolean'>;
|
|
2751
|
-
readonly publishedAt: Prisma.FieldRef<"Property", 'DateTime'>;
|
|
2752
|
-
readonly createdAt: Prisma.FieldRef<"Property", 'DateTime'>;
|
|
2753
|
-
readonly updatedAt: Prisma.FieldRef<"Property", 'DateTime'>;
|
|
2754
|
-
}
|
|
2755
|
-
/**
|
|
2756
|
-
* Property findUnique
|
|
2757
|
-
*/
|
|
2758
|
-
export type PropertyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2759
|
-
/**
|
|
2760
|
-
* Select specific fields to fetch from the Property
|
|
2761
|
-
*/
|
|
2762
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2763
|
-
/**
|
|
2764
|
-
* Omit specific fields from the Property
|
|
2765
|
-
*/
|
|
2766
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2767
|
-
/**
|
|
2768
|
-
* Choose, which related nodes to fetch as well
|
|
2769
|
-
*/
|
|
2770
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2771
|
-
/**
|
|
2772
|
-
* Filter, which Property to fetch.
|
|
2773
|
-
*/
|
|
2774
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
2775
|
-
};
|
|
2776
|
-
/**
|
|
2777
|
-
* Property findUniqueOrThrow
|
|
2778
|
-
*/
|
|
2779
|
-
export type PropertyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2780
|
-
/**
|
|
2781
|
-
* Select specific fields to fetch from the Property
|
|
2782
|
-
*/
|
|
2783
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2784
|
-
/**
|
|
2785
|
-
* Omit specific fields from the Property
|
|
2786
|
-
*/
|
|
2787
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2788
|
-
/**
|
|
2789
|
-
* Choose, which related nodes to fetch as well
|
|
2790
|
-
*/
|
|
2791
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2792
|
-
/**
|
|
2793
|
-
* Filter, which Property to fetch.
|
|
2794
|
-
*/
|
|
2795
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
2796
|
-
};
|
|
2797
|
-
/**
|
|
2798
|
-
* Property findFirst
|
|
2799
|
-
*/
|
|
2800
|
-
export type PropertyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2801
|
-
/**
|
|
2802
|
-
* Select specific fields to fetch from the Property
|
|
2803
|
-
*/
|
|
2804
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2805
|
-
/**
|
|
2806
|
-
* Omit specific fields from the Property
|
|
2807
|
-
*/
|
|
2808
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2809
|
-
/**
|
|
2810
|
-
* Choose, which related nodes to fetch as well
|
|
2811
|
-
*/
|
|
2812
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2813
|
-
/**
|
|
2814
|
-
* Filter, which Property to fetch.
|
|
2815
|
-
*/
|
|
2816
|
-
where?: Prisma.PropertyWhereInput;
|
|
2817
|
-
/**
|
|
2818
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2819
|
-
*
|
|
2820
|
-
* Determine the order of Properties to fetch.
|
|
2821
|
-
*/
|
|
2822
|
-
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
|
|
2823
|
-
/**
|
|
2824
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2825
|
-
*
|
|
2826
|
-
* Sets the position for searching for Properties.
|
|
2827
|
-
*/
|
|
2828
|
-
cursor?: Prisma.PropertyWhereUniqueInput;
|
|
2829
|
-
/**
|
|
2830
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2831
|
-
*
|
|
2832
|
-
* Take `±n` Properties from the position of the cursor.
|
|
2833
|
-
*/
|
|
2834
|
-
take?: number;
|
|
2835
|
-
/**
|
|
2836
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2837
|
-
*
|
|
2838
|
-
* Skip the first `n` Properties.
|
|
2839
|
-
*/
|
|
2840
|
-
skip?: number;
|
|
2841
|
-
/**
|
|
2842
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2843
|
-
*
|
|
2844
|
-
* Filter by unique combinations of Properties.
|
|
2845
|
-
*/
|
|
2846
|
-
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
|
|
2847
|
-
};
|
|
2848
|
-
/**
|
|
2849
|
-
* Property findFirstOrThrow
|
|
2850
|
-
*/
|
|
2851
|
-
export type PropertyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2852
|
-
/**
|
|
2853
|
-
* Select specific fields to fetch from the Property
|
|
2854
|
-
*/
|
|
2855
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2856
|
-
/**
|
|
2857
|
-
* Omit specific fields from the Property
|
|
2858
|
-
*/
|
|
2859
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2860
|
-
/**
|
|
2861
|
-
* Choose, which related nodes to fetch as well
|
|
2862
|
-
*/
|
|
2863
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2864
|
-
/**
|
|
2865
|
-
* Filter, which Property to fetch.
|
|
2866
|
-
*/
|
|
2867
|
-
where?: Prisma.PropertyWhereInput;
|
|
2868
|
-
/**
|
|
2869
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2870
|
-
*
|
|
2871
|
-
* Determine the order of Properties to fetch.
|
|
2872
|
-
*/
|
|
2873
|
-
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
|
|
2874
|
-
/**
|
|
2875
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2876
|
-
*
|
|
2877
|
-
* Sets the position for searching for Properties.
|
|
2878
|
-
*/
|
|
2879
|
-
cursor?: Prisma.PropertyWhereUniqueInput;
|
|
2880
|
-
/**
|
|
2881
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2882
|
-
*
|
|
2883
|
-
* Take `±n` Properties from the position of the cursor.
|
|
2884
|
-
*/
|
|
2885
|
-
take?: number;
|
|
2886
|
-
/**
|
|
2887
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2888
|
-
*
|
|
2889
|
-
* Skip the first `n` Properties.
|
|
2890
|
-
*/
|
|
2891
|
-
skip?: number;
|
|
2892
|
-
/**
|
|
2893
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2894
|
-
*
|
|
2895
|
-
* Filter by unique combinations of Properties.
|
|
2896
|
-
*/
|
|
2897
|
-
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
|
|
2898
|
-
};
|
|
2899
|
-
/**
|
|
2900
|
-
* Property findMany
|
|
2901
|
-
*/
|
|
2902
|
-
export type PropertyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2903
|
-
/**
|
|
2904
|
-
* Select specific fields to fetch from the Property
|
|
2905
|
-
*/
|
|
2906
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2907
|
-
/**
|
|
2908
|
-
* Omit specific fields from the Property
|
|
2909
|
-
*/
|
|
2910
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2911
|
-
/**
|
|
2912
|
-
* Choose, which related nodes to fetch as well
|
|
2913
|
-
*/
|
|
2914
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2915
|
-
/**
|
|
2916
|
-
* Filter, which Properties to fetch.
|
|
2917
|
-
*/
|
|
2918
|
-
where?: Prisma.PropertyWhereInput;
|
|
2919
|
-
/**
|
|
2920
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2921
|
-
*
|
|
2922
|
-
* Determine the order of Properties to fetch.
|
|
2923
|
-
*/
|
|
2924
|
-
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
|
|
2925
|
-
/**
|
|
2926
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2927
|
-
*
|
|
2928
|
-
* Sets the position for listing Properties.
|
|
2929
|
-
*/
|
|
2930
|
-
cursor?: Prisma.PropertyWhereUniqueInput;
|
|
2931
|
-
/**
|
|
2932
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2933
|
-
*
|
|
2934
|
-
* Take `±n` Properties from the position of the cursor.
|
|
2935
|
-
*/
|
|
2936
|
-
take?: number;
|
|
2937
|
-
/**
|
|
2938
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2939
|
-
*
|
|
2940
|
-
* Skip the first `n` Properties.
|
|
2941
|
-
*/
|
|
2942
|
-
skip?: number;
|
|
2943
|
-
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
|
|
2944
|
-
};
|
|
2945
|
-
/**
|
|
2946
|
-
* Property create
|
|
2947
|
-
*/
|
|
2948
|
-
export type PropertyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2949
|
-
/**
|
|
2950
|
-
* Select specific fields to fetch from the Property
|
|
2951
|
-
*/
|
|
2952
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2953
|
-
/**
|
|
2954
|
-
* Omit specific fields from the Property
|
|
2955
|
-
*/
|
|
2956
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2957
|
-
/**
|
|
2958
|
-
* Choose, which related nodes to fetch as well
|
|
2959
|
-
*/
|
|
2960
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2961
|
-
/**
|
|
2962
|
-
* The data needed to create a Property.
|
|
2963
|
-
*/
|
|
2964
|
-
data: Prisma.XOR<Prisma.PropertyCreateInput, Prisma.PropertyUncheckedCreateInput>;
|
|
2965
|
-
};
|
|
2966
|
-
/**
|
|
2967
|
-
* Property createMany
|
|
2968
|
-
*/
|
|
2969
|
-
export type PropertyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2970
|
-
/**
|
|
2971
|
-
* The data used to create many Properties.
|
|
2972
|
-
*/
|
|
2973
|
-
data: Prisma.PropertyCreateManyInput | Prisma.PropertyCreateManyInput[];
|
|
2974
|
-
skipDuplicates?: boolean;
|
|
2975
|
-
};
|
|
2976
|
-
/**
|
|
2977
|
-
* Property update
|
|
2978
|
-
*/
|
|
2979
|
-
export type PropertyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2980
|
-
/**
|
|
2981
|
-
* Select specific fields to fetch from the Property
|
|
2982
|
-
*/
|
|
2983
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
2984
|
-
/**
|
|
2985
|
-
* Omit specific fields from the Property
|
|
2986
|
-
*/
|
|
2987
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
2988
|
-
/**
|
|
2989
|
-
* Choose, which related nodes to fetch as well
|
|
2990
|
-
*/
|
|
2991
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
2992
|
-
/**
|
|
2993
|
-
* The data needed to update a Property.
|
|
2994
|
-
*/
|
|
2995
|
-
data: Prisma.XOR<Prisma.PropertyUpdateInput, Prisma.PropertyUncheckedUpdateInput>;
|
|
2996
|
-
/**
|
|
2997
|
-
* Choose, which Property to update.
|
|
2998
|
-
*/
|
|
2999
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
3000
|
-
};
|
|
3001
|
-
/**
|
|
3002
|
-
* Property updateMany
|
|
3003
|
-
*/
|
|
3004
|
-
export type PropertyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3005
|
-
/**
|
|
3006
|
-
* The data used to update Properties.
|
|
3007
|
-
*/
|
|
3008
|
-
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyInput>;
|
|
3009
|
-
/**
|
|
3010
|
-
* Filter which Properties to update
|
|
3011
|
-
*/
|
|
3012
|
-
where?: Prisma.PropertyWhereInput;
|
|
3013
|
-
/**
|
|
3014
|
-
* Limit how many Properties to update.
|
|
3015
|
-
*/
|
|
3016
|
-
limit?: number;
|
|
3017
|
-
};
|
|
3018
|
-
/**
|
|
3019
|
-
* Property upsert
|
|
3020
|
-
*/
|
|
3021
|
-
export type PropertyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3022
|
-
/**
|
|
3023
|
-
* Select specific fields to fetch from the Property
|
|
3024
|
-
*/
|
|
3025
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
3026
|
-
/**
|
|
3027
|
-
* Omit specific fields from the Property
|
|
3028
|
-
*/
|
|
3029
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
3030
|
-
/**
|
|
3031
|
-
* Choose, which related nodes to fetch as well
|
|
3032
|
-
*/
|
|
3033
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
3034
|
-
/**
|
|
3035
|
-
* The filter to search for the Property to update in case it exists.
|
|
3036
|
-
*/
|
|
3037
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
3038
|
-
/**
|
|
3039
|
-
* In case the Property found by the `where` argument doesn't exist, create a new Property with this data.
|
|
3040
|
-
*/
|
|
3041
|
-
create: Prisma.XOR<Prisma.PropertyCreateInput, Prisma.PropertyUncheckedCreateInput>;
|
|
3042
|
-
/**
|
|
3043
|
-
* In case the Property was found with the provided `where` argument, update it with this data.
|
|
3044
|
-
*/
|
|
3045
|
-
update: Prisma.XOR<Prisma.PropertyUpdateInput, Prisma.PropertyUncheckedUpdateInput>;
|
|
3046
|
-
};
|
|
3047
|
-
/**
|
|
3048
|
-
* Property delete
|
|
3049
|
-
*/
|
|
3050
|
-
export type PropertyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3051
|
-
/**
|
|
3052
|
-
* Select specific fields to fetch from the Property
|
|
3053
|
-
*/
|
|
3054
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
3055
|
-
/**
|
|
3056
|
-
* Omit specific fields from the Property
|
|
3057
|
-
*/
|
|
3058
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
3059
|
-
/**
|
|
3060
|
-
* Choose, which related nodes to fetch as well
|
|
3061
|
-
*/
|
|
3062
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
3063
|
-
/**
|
|
3064
|
-
* Filter which Property to delete.
|
|
3065
|
-
*/
|
|
3066
|
-
where: Prisma.PropertyWhereUniqueInput;
|
|
3067
|
-
};
|
|
3068
|
-
/**
|
|
3069
|
-
* Property deleteMany
|
|
3070
|
-
*/
|
|
3071
|
-
export type PropertyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3072
|
-
/**
|
|
3073
|
-
* Filter which Properties to delete
|
|
3074
|
-
*/
|
|
3075
|
-
where?: Prisma.PropertyWhereInput;
|
|
3076
|
-
/**
|
|
3077
|
-
* Limit how many Properties to delete.
|
|
3078
|
-
*/
|
|
3079
|
-
limit?: number;
|
|
3080
|
-
};
|
|
3081
|
-
/**
|
|
3082
|
-
* Property.displayImage
|
|
3083
|
-
*/
|
|
3084
|
-
export type Property$displayImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3085
|
-
/**
|
|
3086
|
-
* Select specific fields to fetch from the PropertyMedia
|
|
3087
|
-
*/
|
|
3088
|
-
select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
|
|
3089
|
-
/**
|
|
3090
|
-
* Omit specific fields from the PropertyMedia
|
|
3091
|
-
*/
|
|
3092
|
-
omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
|
|
3093
|
-
/**
|
|
3094
|
-
* Choose, which related nodes to fetch as well
|
|
3095
|
-
*/
|
|
3096
|
-
include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
|
|
3097
|
-
where?: Prisma.PropertyMediaWhereInput;
|
|
3098
|
-
};
|
|
3099
|
-
/**
|
|
3100
|
-
* Property.documents
|
|
3101
|
-
*/
|
|
3102
|
-
export type Property$documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3103
|
-
/**
|
|
3104
|
-
* Select specific fields to fetch from the PropertyDocument
|
|
3105
|
-
*/
|
|
3106
|
-
select?: Prisma.PropertyDocumentSelect<ExtArgs> | null;
|
|
3107
|
-
/**
|
|
3108
|
-
* Omit specific fields from the PropertyDocument
|
|
3109
|
-
*/
|
|
3110
|
-
omit?: Prisma.PropertyDocumentOmit<ExtArgs> | null;
|
|
3111
|
-
/**
|
|
3112
|
-
* Choose, which related nodes to fetch as well
|
|
3113
|
-
*/
|
|
3114
|
-
include?: Prisma.PropertyDocumentInclude<ExtArgs> | null;
|
|
3115
|
-
where?: Prisma.PropertyDocumentWhereInput;
|
|
3116
|
-
orderBy?: Prisma.PropertyDocumentOrderByWithRelationInput | Prisma.PropertyDocumentOrderByWithRelationInput[];
|
|
3117
|
-
cursor?: Prisma.PropertyDocumentWhereUniqueInput;
|
|
3118
|
-
take?: number;
|
|
3119
|
-
skip?: number;
|
|
3120
|
-
distinct?: Prisma.PropertyDocumentScalarFieldEnum | Prisma.PropertyDocumentScalarFieldEnum[];
|
|
3121
|
-
};
|
|
3122
|
-
/**
|
|
3123
|
-
* Property.media
|
|
3124
|
-
*/
|
|
3125
|
-
export type Property$mediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3126
|
-
/**
|
|
3127
|
-
* Select specific fields to fetch from the PropertyMedia
|
|
3128
|
-
*/
|
|
3129
|
-
select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
|
|
3130
|
-
/**
|
|
3131
|
-
* Omit specific fields from the PropertyMedia
|
|
3132
|
-
*/
|
|
3133
|
-
omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
|
|
3134
|
-
/**
|
|
3135
|
-
* Choose, which related nodes to fetch as well
|
|
3136
|
-
*/
|
|
3137
|
-
include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
|
|
3138
|
-
where?: Prisma.PropertyMediaWhereInput;
|
|
3139
|
-
orderBy?: Prisma.PropertyMediaOrderByWithRelationInput | Prisma.PropertyMediaOrderByWithRelationInput[];
|
|
3140
|
-
cursor?: Prisma.PropertyMediaWhereUniqueInput;
|
|
3141
|
-
take?: number;
|
|
3142
|
-
skip?: number;
|
|
3143
|
-
distinct?: Prisma.PropertyMediaScalarFieldEnum | Prisma.PropertyMediaScalarFieldEnum[];
|
|
3144
|
-
};
|
|
3145
|
-
/**
|
|
3146
|
-
* Property.amenities
|
|
3147
|
-
*/
|
|
3148
|
-
export type Property$amenitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3149
|
-
/**
|
|
3150
|
-
* Select specific fields to fetch from the PropertyAmenity
|
|
3151
|
-
*/
|
|
3152
|
-
select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
|
|
3153
|
-
/**
|
|
3154
|
-
* Omit specific fields from the PropertyAmenity
|
|
3155
|
-
*/
|
|
3156
|
-
omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
|
|
3157
|
-
/**
|
|
3158
|
-
* Choose, which related nodes to fetch as well
|
|
3159
|
-
*/
|
|
3160
|
-
include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
|
|
3161
|
-
where?: Prisma.PropertyAmenityWhereInput;
|
|
3162
|
-
orderBy?: Prisma.PropertyAmenityOrderByWithRelationInput | Prisma.PropertyAmenityOrderByWithRelationInput[];
|
|
3163
|
-
cursor?: Prisma.PropertyAmenityWhereUniqueInput;
|
|
3164
|
-
take?: number;
|
|
3165
|
-
skip?: number;
|
|
3166
|
-
distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
|
|
3167
|
-
};
|
|
3168
|
-
/**
|
|
3169
|
-
* Property.mortgages
|
|
3170
|
-
*/
|
|
3171
|
-
export type Property$mortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3172
|
-
/**
|
|
3173
|
-
* Select specific fields to fetch from the Mortgage
|
|
3174
|
-
*/
|
|
3175
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
3176
|
-
/**
|
|
3177
|
-
* Omit specific fields from the Mortgage
|
|
3178
|
-
*/
|
|
3179
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
3180
|
-
/**
|
|
3181
|
-
* Choose, which related nodes to fetch as well
|
|
3182
|
-
*/
|
|
3183
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
3184
|
-
where?: Prisma.MortgageWhereInput;
|
|
3185
|
-
orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
|
|
3186
|
-
cursor?: Prisma.MortgageWhereUniqueInput;
|
|
3187
|
-
take?: number;
|
|
3188
|
-
skip?: number;
|
|
3189
|
-
distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
|
|
3190
|
-
};
|
|
3191
|
-
/**
|
|
3192
|
-
* Property.paymentPlans
|
|
3193
|
-
*/
|
|
3194
|
-
export type Property$paymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3195
|
-
/**
|
|
3196
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
3197
|
-
*/
|
|
3198
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
3199
|
-
/**
|
|
3200
|
-
* Omit specific fields from the PaymentPlan
|
|
3201
|
-
*/
|
|
3202
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
3203
|
-
/**
|
|
3204
|
-
* Choose, which related nodes to fetch as well
|
|
3205
|
-
*/
|
|
3206
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
3207
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
3208
|
-
orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
|
|
3209
|
-
cursor?: Prisma.PaymentPlanWhereUniqueInput;
|
|
3210
|
-
take?: number;
|
|
3211
|
-
skip?: number;
|
|
3212
|
-
distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
|
|
3213
|
-
};
|
|
3214
|
-
/**
|
|
3215
|
-
* Property.contracts
|
|
3216
|
-
*/
|
|
3217
|
-
export type Property$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3218
|
-
/**
|
|
3219
|
-
* Select specific fields to fetch from the Contract
|
|
3220
|
-
*/
|
|
3221
|
-
select?: Prisma.ContractSelect<ExtArgs> | null;
|
|
3222
|
-
/**
|
|
3223
|
-
* Omit specific fields from the Contract
|
|
3224
|
-
*/
|
|
3225
|
-
omit?: Prisma.ContractOmit<ExtArgs> | null;
|
|
3226
|
-
/**
|
|
3227
|
-
* Choose, which related nodes to fetch as well
|
|
3228
|
-
*/
|
|
3229
|
-
include?: Prisma.ContractInclude<ExtArgs> | null;
|
|
3230
|
-
where?: Prisma.ContractWhereInput;
|
|
3231
|
-
orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
|
|
3232
|
-
cursor?: Prisma.ContractWhereUniqueInput;
|
|
3233
|
-
take?: number;
|
|
3234
|
-
skip?: number;
|
|
3235
|
-
distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
|
|
3236
|
-
};
|
|
3237
|
-
/**
|
|
3238
|
-
* Property without action
|
|
3239
|
-
*/
|
|
3240
|
-
export type PropertyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3241
|
-
/**
|
|
3242
|
-
* Select specific fields to fetch from the Property
|
|
3243
|
-
*/
|
|
3244
|
-
select?: Prisma.PropertySelect<ExtArgs> | null;
|
|
3245
|
-
/**
|
|
3246
|
-
* Omit specific fields from the Property
|
|
3247
|
-
*/
|
|
3248
|
-
omit?: Prisma.PropertyOmit<ExtArgs> | null;
|
|
3249
|
-
/**
|
|
3250
|
-
* Choose, which related nodes to fetch as well
|
|
3251
|
-
*/
|
|
3252
|
-
include?: Prisma.PropertyInclude<ExtArgs> | null;
|
|
3253
|
-
};
|
|
3254
|
-
export {};
|