@valentine-efagene/qshelter-common 2.0.19 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +45 -30
- package/dist/generated/client/client.d.ts +45 -30
- package/dist/generated/client/commonInputTypes.d.ts +40 -0
- package/dist/generated/client/internal/class.d.ts +93 -60
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
- package/dist/generated/client/internal/prismaNamespace.js +313 -190
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
- package/dist/generated/client/models/Amenity.d.ts +168 -1
- package/dist/generated/client/models/Contract.d.ts +2037 -298
- package/dist/generated/client/models/ContractDocument.d.ts +299 -12
- package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
- package/dist/generated/client/models/ContractEvent.js +1 -0
- package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
- package/dist/generated/client/models/ContractInstallment.js +1 -0
- package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
- package/dist/generated/client/models/ContractPayment.js +1 -0
- package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
- package/dist/generated/client/models/ContractPhase.js +1 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
- package/dist/generated/client/models/ContractPhaseStep.js +1 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
- package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
- package/dist/generated/client/models/ContractTransition.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
- package/dist/generated/client/models/DomainEvent.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
- package/dist/generated/client/models/Property.d.ts +154 -684
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
- package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
- package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
- package/dist/generated/client/models/PropertyUnit.js +1 -0
- package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
- package/dist/generated/client/models/PropertyVariant.js +1 -0
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
- package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
- package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
- package/dist/generated/client/models/User.d.ts +684 -427
- package/dist/generated/client/models/index.d.ts +15 -12
- package/dist/generated/client/models/index.js +15 -12
- package/dist/generated/client/models.d.ts +15 -12
- package/dist/src/config/config.service.d.ts +0 -1
- package/dist/src/config/config.service.js +0 -1
- package/package.json +2 -1
- package/prisma/schema.prisma +544 -269
|
@@ -0,0 +1,1598 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model PropertyUnit
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type PropertyUnitModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyUnitPayload>;
|
|
8
|
+
export type AggregatePropertyUnit = {
|
|
9
|
+
_count: PropertyUnitCountAggregateOutputType | null;
|
|
10
|
+
_avg: PropertyUnitAvgAggregateOutputType | null;
|
|
11
|
+
_sum: PropertyUnitSumAggregateOutputType | null;
|
|
12
|
+
_min: PropertyUnitMinAggregateOutputType | null;
|
|
13
|
+
_max: PropertyUnitMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type PropertyUnitAvgAggregateOutputType = {
|
|
16
|
+
floorNumber: number | null;
|
|
17
|
+
priceOverride: number | null;
|
|
18
|
+
areaOverride: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type PropertyUnitSumAggregateOutputType = {
|
|
21
|
+
floorNumber: number | null;
|
|
22
|
+
priceOverride: number | null;
|
|
23
|
+
areaOverride: number | null;
|
|
24
|
+
};
|
|
25
|
+
export type PropertyUnitMinAggregateOutputType = {
|
|
26
|
+
id: string | null;
|
|
27
|
+
variantId: string | null;
|
|
28
|
+
unitNumber: string | null;
|
|
29
|
+
floorNumber: number | null;
|
|
30
|
+
blockName: string | null;
|
|
31
|
+
priceOverride: number | null;
|
|
32
|
+
areaOverride: number | null;
|
|
33
|
+
notes: string | null;
|
|
34
|
+
status: string | null;
|
|
35
|
+
reservedAt: Date | null;
|
|
36
|
+
reservedUntil: Date | null;
|
|
37
|
+
reservedById: string | null;
|
|
38
|
+
ownerId: string | null;
|
|
39
|
+
createdAt: Date | null;
|
|
40
|
+
updatedAt: Date | null;
|
|
41
|
+
};
|
|
42
|
+
export type PropertyUnitMaxAggregateOutputType = {
|
|
43
|
+
id: string | null;
|
|
44
|
+
variantId: string | null;
|
|
45
|
+
unitNumber: string | null;
|
|
46
|
+
floorNumber: number | null;
|
|
47
|
+
blockName: string | null;
|
|
48
|
+
priceOverride: number | null;
|
|
49
|
+
areaOverride: number | null;
|
|
50
|
+
notes: string | null;
|
|
51
|
+
status: string | null;
|
|
52
|
+
reservedAt: Date | null;
|
|
53
|
+
reservedUntil: Date | null;
|
|
54
|
+
reservedById: string | null;
|
|
55
|
+
ownerId: string | null;
|
|
56
|
+
createdAt: Date | null;
|
|
57
|
+
updatedAt: Date | null;
|
|
58
|
+
};
|
|
59
|
+
export type PropertyUnitCountAggregateOutputType = {
|
|
60
|
+
id: number;
|
|
61
|
+
variantId: number;
|
|
62
|
+
unitNumber: number;
|
|
63
|
+
floorNumber: number;
|
|
64
|
+
blockName: number;
|
|
65
|
+
priceOverride: number;
|
|
66
|
+
areaOverride: number;
|
|
67
|
+
notes: number;
|
|
68
|
+
status: number;
|
|
69
|
+
reservedAt: number;
|
|
70
|
+
reservedUntil: number;
|
|
71
|
+
reservedById: number;
|
|
72
|
+
ownerId: number;
|
|
73
|
+
createdAt: number;
|
|
74
|
+
updatedAt: number;
|
|
75
|
+
_all: number;
|
|
76
|
+
};
|
|
77
|
+
export type PropertyUnitAvgAggregateInputType = {
|
|
78
|
+
floorNumber?: true;
|
|
79
|
+
priceOverride?: true;
|
|
80
|
+
areaOverride?: true;
|
|
81
|
+
};
|
|
82
|
+
export type PropertyUnitSumAggregateInputType = {
|
|
83
|
+
floorNumber?: true;
|
|
84
|
+
priceOverride?: true;
|
|
85
|
+
areaOverride?: true;
|
|
86
|
+
};
|
|
87
|
+
export type PropertyUnitMinAggregateInputType = {
|
|
88
|
+
id?: true;
|
|
89
|
+
variantId?: true;
|
|
90
|
+
unitNumber?: true;
|
|
91
|
+
floorNumber?: true;
|
|
92
|
+
blockName?: true;
|
|
93
|
+
priceOverride?: true;
|
|
94
|
+
areaOverride?: true;
|
|
95
|
+
notes?: true;
|
|
96
|
+
status?: true;
|
|
97
|
+
reservedAt?: true;
|
|
98
|
+
reservedUntil?: true;
|
|
99
|
+
reservedById?: true;
|
|
100
|
+
ownerId?: true;
|
|
101
|
+
createdAt?: true;
|
|
102
|
+
updatedAt?: true;
|
|
103
|
+
};
|
|
104
|
+
export type PropertyUnitMaxAggregateInputType = {
|
|
105
|
+
id?: true;
|
|
106
|
+
variantId?: true;
|
|
107
|
+
unitNumber?: true;
|
|
108
|
+
floorNumber?: true;
|
|
109
|
+
blockName?: true;
|
|
110
|
+
priceOverride?: true;
|
|
111
|
+
areaOverride?: true;
|
|
112
|
+
notes?: true;
|
|
113
|
+
status?: true;
|
|
114
|
+
reservedAt?: true;
|
|
115
|
+
reservedUntil?: true;
|
|
116
|
+
reservedById?: true;
|
|
117
|
+
ownerId?: true;
|
|
118
|
+
createdAt?: true;
|
|
119
|
+
updatedAt?: true;
|
|
120
|
+
};
|
|
121
|
+
export type PropertyUnitCountAggregateInputType = {
|
|
122
|
+
id?: true;
|
|
123
|
+
variantId?: true;
|
|
124
|
+
unitNumber?: true;
|
|
125
|
+
floorNumber?: true;
|
|
126
|
+
blockName?: true;
|
|
127
|
+
priceOverride?: true;
|
|
128
|
+
areaOverride?: true;
|
|
129
|
+
notes?: true;
|
|
130
|
+
status?: true;
|
|
131
|
+
reservedAt?: true;
|
|
132
|
+
reservedUntil?: true;
|
|
133
|
+
reservedById?: true;
|
|
134
|
+
ownerId?: true;
|
|
135
|
+
createdAt?: true;
|
|
136
|
+
updatedAt?: true;
|
|
137
|
+
_all?: true;
|
|
138
|
+
};
|
|
139
|
+
export type PropertyUnitAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
140
|
+
/**
|
|
141
|
+
* Filter which PropertyUnit to aggregate.
|
|
142
|
+
*/
|
|
143
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
144
|
+
/**
|
|
145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
146
|
+
*
|
|
147
|
+
* Determine the order of PropertyUnits to fetch.
|
|
148
|
+
*/
|
|
149
|
+
orderBy?: Prisma.PropertyUnitOrderByWithRelationInput | Prisma.PropertyUnitOrderByWithRelationInput[];
|
|
150
|
+
/**
|
|
151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
152
|
+
*
|
|
153
|
+
* Sets the start position
|
|
154
|
+
*/
|
|
155
|
+
cursor?: Prisma.PropertyUnitWhereUniqueInput;
|
|
156
|
+
/**
|
|
157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
158
|
+
*
|
|
159
|
+
* Take `±n` PropertyUnits from the position of the cursor.
|
|
160
|
+
*/
|
|
161
|
+
take?: number;
|
|
162
|
+
/**
|
|
163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
164
|
+
*
|
|
165
|
+
* Skip the first `n` PropertyUnits.
|
|
166
|
+
*/
|
|
167
|
+
skip?: number;
|
|
168
|
+
/**
|
|
169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
170
|
+
*
|
|
171
|
+
* Count returned PropertyUnits
|
|
172
|
+
**/
|
|
173
|
+
_count?: true | PropertyUnitCountAggregateInputType;
|
|
174
|
+
/**
|
|
175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
176
|
+
*
|
|
177
|
+
* Select which fields to average
|
|
178
|
+
**/
|
|
179
|
+
_avg?: PropertyUnitAvgAggregateInputType;
|
|
180
|
+
/**
|
|
181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
182
|
+
*
|
|
183
|
+
* Select which fields to sum
|
|
184
|
+
**/
|
|
185
|
+
_sum?: PropertyUnitSumAggregateInputType;
|
|
186
|
+
/**
|
|
187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
188
|
+
*
|
|
189
|
+
* Select which fields to find the minimum value
|
|
190
|
+
**/
|
|
191
|
+
_min?: PropertyUnitMinAggregateInputType;
|
|
192
|
+
/**
|
|
193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
194
|
+
*
|
|
195
|
+
* Select which fields to find the maximum value
|
|
196
|
+
**/
|
|
197
|
+
_max?: PropertyUnitMaxAggregateInputType;
|
|
198
|
+
};
|
|
199
|
+
export type GetPropertyUnitAggregateType<T extends PropertyUnitAggregateArgs> = {
|
|
200
|
+
[P in keyof T & keyof AggregatePropertyUnit]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyUnit[P]> : Prisma.GetScalarType<T[P], AggregatePropertyUnit[P]>;
|
|
201
|
+
};
|
|
202
|
+
export type PropertyUnitGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
203
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
204
|
+
orderBy?: Prisma.PropertyUnitOrderByWithAggregationInput | Prisma.PropertyUnitOrderByWithAggregationInput[];
|
|
205
|
+
by: Prisma.PropertyUnitScalarFieldEnum[] | Prisma.PropertyUnitScalarFieldEnum;
|
|
206
|
+
having?: Prisma.PropertyUnitScalarWhereWithAggregatesInput;
|
|
207
|
+
take?: number;
|
|
208
|
+
skip?: number;
|
|
209
|
+
_count?: PropertyUnitCountAggregateInputType | true;
|
|
210
|
+
_avg?: PropertyUnitAvgAggregateInputType;
|
|
211
|
+
_sum?: PropertyUnitSumAggregateInputType;
|
|
212
|
+
_min?: PropertyUnitMinAggregateInputType;
|
|
213
|
+
_max?: PropertyUnitMaxAggregateInputType;
|
|
214
|
+
};
|
|
215
|
+
export type PropertyUnitGroupByOutputType = {
|
|
216
|
+
id: string;
|
|
217
|
+
variantId: string;
|
|
218
|
+
unitNumber: string;
|
|
219
|
+
floorNumber: number | null;
|
|
220
|
+
blockName: string | null;
|
|
221
|
+
priceOverride: number | null;
|
|
222
|
+
areaOverride: number | null;
|
|
223
|
+
notes: string | null;
|
|
224
|
+
status: string;
|
|
225
|
+
reservedAt: Date | null;
|
|
226
|
+
reservedUntil: Date | null;
|
|
227
|
+
reservedById: string | null;
|
|
228
|
+
ownerId: string | null;
|
|
229
|
+
createdAt: Date;
|
|
230
|
+
updatedAt: Date;
|
|
231
|
+
_count: PropertyUnitCountAggregateOutputType | null;
|
|
232
|
+
_avg: PropertyUnitAvgAggregateOutputType | null;
|
|
233
|
+
_sum: PropertyUnitSumAggregateOutputType | null;
|
|
234
|
+
_min: PropertyUnitMinAggregateOutputType | null;
|
|
235
|
+
_max: PropertyUnitMaxAggregateOutputType | null;
|
|
236
|
+
};
|
|
237
|
+
type GetPropertyUnitGroupByPayload<T extends PropertyUnitGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyUnitGroupByOutputType, T['by']> & {
|
|
238
|
+
[P in ((keyof T) & (keyof PropertyUnitGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyUnitGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyUnitGroupByOutputType[P]>;
|
|
239
|
+
}>>;
|
|
240
|
+
export type PropertyUnitWhereInput = {
|
|
241
|
+
AND?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
|
|
242
|
+
OR?: Prisma.PropertyUnitWhereInput[];
|
|
243
|
+
NOT?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
|
|
244
|
+
id?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
245
|
+
variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
246
|
+
unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
247
|
+
floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
|
|
248
|
+
blockName?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
249
|
+
priceOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
250
|
+
areaOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
251
|
+
notes?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
252
|
+
status?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
253
|
+
reservedAt?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
254
|
+
reservedUntil?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
255
|
+
reservedById?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
256
|
+
ownerId?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
257
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
258
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
259
|
+
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
260
|
+
contracts?: Prisma.ContractListRelationFilter;
|
|
261
|
+
};
|
|
262
|
+
export type PropertyUnitOrderByWithRelationInput = {
|
|
263
|
+
id?: Prisma.SortOrder;
|
|
264
|
+
variantId?: Prisma.SortOrder;
|
|
265
|
+
unitNumber?: Prisma.SortOrder;
|
|
266
|
+
floorNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
blockName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
priceOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
|
+
areaOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
|
+
notes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
status?: Prisma.SortOrder;
|
|
272
|
+
reservedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
273
|
+
reservedUntil?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
274
|
+
reservedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
276
|
+
createdAt?: Prisma.SortOrder;
|
|
277
|
+
updatedAt?: Prisma.SortOrder;
|
|
278
|
+
variant?: Prisma.PropertyVariantOrderByWithRelationInput;
|
|
279
|
+
contracts?: Prisma.ContractOrderByRelationAggregateInput;
|
|
280
|
+
_relevance?: Prisma.PropertyUnitOrderByRelevanceInput;
|
|
281
|
+
};
|
|
282
|
+
export type PropertyUnitWhereUniqueInput = Prisma.AtLeast<{
|
|
283
|
+
id?: string;
|
|
284
|
+
variantId_unitNumber?: Prisma.PropertyUnitVariantIdUnitNumberCompoundUniqueInput;
|
|
285
|
+
AND?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
|
|
286
|
+
OR?: Prisma.PropertyUnitWhereInput[];
|
|
287
|
+
NOT?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
|
|
288
|
+
variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
289
|
+
unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
290
|
+
floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
|
|
291
|
+
blockName?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
292
|
+
priceOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
293
|
+
areaOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
294
|
+
notes?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
295
|
+
status?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
296
|
+
reservedAt?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
297
|
+
reservedUntil?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
298
|
+
reservedById?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
299
|
+
ownerId?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
300
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
301
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
302
|
+
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
303
|
+
contracts?: Prisma.ContractListRelationFilter;
|
|
304
|
+
}, "id" | "variantId_unitNumber">;
|
|
305
|
+
export type PropertyUnitOrderByWithAggregationInput = {
|
|
306
|
+
id?: Prisma.SortOrder;
|
|
307
|
+
variantId?: Prisma.SortOrder;
|
|
308
|
+
unitNumber?: Prisma.SortOrder;
|
|
309
|
+
floorNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
310
|
+
blockName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
311
|
+
priceOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
312
|
+
areaOverride?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
313
|
+
notes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
314
|
+
status?: Prisma.SortOrder;
|
|
315
|
+
reservedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
316
|
+
reservedUntil?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
317
|
+
reservedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
318
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
|
+
createdAt?: Prisma.SortOrder;
|
|
320
|
+
updatedAt?: Prisma.SortOrder;
|
|
321
|
+
_count?: Prisma.PropertyUnitCountOrderByAggregateInput;
|
|
322
|
+
_avg?: Prisma.PropertyUnitAvgOrderByAggregateInput;
|
|
323
|
+
_max?: Prisma.PropertyUnitMaxOrderByAggregateInput;
|
|
324
|
+
_min?: Prisma.PropertyUnitMinOrderByAggregateInput;
|
|
325
|
+
_sum?: Prisma.PropertyUnitSumOrderByAggregateInput;
|
|
326
|
+
};
|
|
327
|
+
export type PropertyUnitScalarWhereWithAggregatesInput = {
|
|
328
|
+
AND?: Prisma.PropertyUnitScalarWhereWithAggregatesInput | Prisma.PropertyUnitScalarWhereWithAggregatesInput[];
|
|
329
|
+
OR?: Prisma.PropertyUnitScalarWhereWithAggregatesInput[];
|
|
330
|
+
NOT?: Prisma.PropertyUnitScalarWhereWithAggregatesInput | Prisma.PropertyUnitScalarWhereWithAggregatesInput[];
|
|
331
|
+
id?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
|
|
332
|
+
variantId?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
|
|
333
|
+
unitNumber?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
|
|
334
|
+
floorNumber?: Prisma.IntNullableWithAggregatesFilter<"PropertyUnit"> | number | null;
|
|
335
|
+
blockName?: Prisma.StringNullableWithAggregatesFilter<"PropertyUnit"> | string | null;
|
|
336
|
+
priceOverride?: Prisma.FloatNullableWithAggregatesFilter<"PropertyUnit"> | number | null;
|
|
337
|
+
areaOverride?: Prisma.FloatNullableWithAggregatesFilter<"PropertyUnit"> | number | null;
|
|
338
|
+
notes?: Prisma.StringNullableWithAggregatesFilter<"PropertyUnit"> | string | null;
|
|
339
|
+
status?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
|
|
340
|
+
reservedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PropertyUnit"> | Date | string | null;
|
|
341
|
+
reservedUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"PropertyUnit"> | Date | string | null;
|
|
342
|
+
reservedById?: Prisma.StringNullableWithAggregatesFilter<"PropertyUnit"> | string | null;
|
|
343
|
+
ownerId?: Prisma.StringNullableWithAggregatesFilter<"PropertyUnit"> | string | null;
|
|
344
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyUnit"> | Date | string;
|
|
345
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyUnit"> | Date | string;
|
|
346
|
+
};
|
|
347
|
+
export type PropertyUnitCreateInput = {
|
|
348
|
+
id?: string;
|
|
349
|
+
unitNumber: string;
|
|
350
|
+
floorNumber?: number | null;
|
|
351
|
+
blockName?: string | null;
|
|
352
|
+
priceOverride?: number | null;
|
|
353
|
+
areaOverride?: number | null;
|
|
354
|
+
notes?: string | null;
|
|
355
|
+
status?: string;
|
|
356
|
+
reservedAt?: Date | string | null;
|
|
357
|
+
reservedUntil?: Date | string | null;
|
|
358
|
+
reservedById?: string | null;
|
|
359
|
+
ownerId?: string | null;
|
|
360
|
+
createdAt?: Date | string;
|
|
361
|
+
updatedAt?: Date | string;
|
|
362
|
+
variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
|
|
363
|
+
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyUnitInput;
|
|
364
|
+
};
|
|
365
|
+
export type PropertyUnitUncheckedCreateInput = {
|
|
366
|
+
id?: string;
|
|
367
|
+
variantId: string;
|
|
368
|
+
unitNumber: string;
|
|
369
|
+
floorNumber?: number | null;
|
|
370
|
+
blockName?: string | null;
|
|
371
|
+
priceOverride?: number | null;
|
|
372
|
+
areaOverride?: number | null;
|
|
373
|
+
notes?: string | null;
|
|
374
|
+
status?: string;
|
|
375
|
+
reservedAt?: Date | string | null;
|
|
376
|
+
reservedUntil?: Date | string | null;
|
|
377
|
+
reservedById?: string | null;
|
|
378
|
+
ownerId?: string | null;
|
|
379
|
+
createdAt?: Date | string;
|
|
380
|
+
updatedAt?: Date | string;
|
|
381
|
+
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyUnitInput;
|
|
382
|
+
};
|
|
383
|
+
export type PropertyUnitUpdateInput = {
|
|
384
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
385
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
387
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
388
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
389
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
390
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
391
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
393
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
394
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
395
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
396
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
397
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
|
+
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
|
|
399
|
+
contracts?: Prisma.ContractUpdateManyWithoutPropertyUnitNestedInput;
|
|
400
|
+
};
|
|
401
|
+
export type PropertyUnitUncheckedUpdateInput = {
|
|
402
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
404
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
405
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
406
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
407
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
408
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
409
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
410
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
412
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
413
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
415
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
|
+
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyUnitNestedInput;
|
|
418
|
+
};
|
|
419
|
+
export type PropertyUnitCreateManyInput = {
|
|
420
|
+
id?: string;
|
|
421
|
+
variantId: string;
|
|
422
|
+
unitNumber: string;
|
|
423
|
+
floorNumber?: number | null;
|
|
424
|
+
blockName?: string | null;
|
|
425
|
+
priceOverride?: number | null;
|
|
426
|
+
areaOverride?: number | null;
|
|
427
|
+
notes?: string | null;
|
|
428
|
+
status?: string;
|
|
429
|
+
reservedAt?: Date | string | null;
|
|
430
|
+
reservedUntil?: Date | string | null;
|
|
431
|
+
reservedById?: string | null;
|
|
432
|
+
ownerId?: string | null;
|
|
433
|
+
createdAt?: Date | string;
|
|
434
|
+
updatedAt?: Date | string;
|
|
435
|
+
};
|
|
436
|
+
export type PropertyUnitUpdateManyMutationInput = {
|
|
437
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
440
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
441
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
442
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
443
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
444
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
446
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
447
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
448
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
449
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
450
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
451
|
+
};
|
|
452
|
+
export type PropertyUnitUncheckedUpdateManyInput = {
|
|
453
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
454
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
455
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
457
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
458
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
459
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
460
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
461
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
463
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
464
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
465
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
466
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
|
+
};
|
|
469
|
+
export type PropertyUnitListRelationFilter = {
|
|
470
|
+
every?: Prisma.PropertyUnitWhereInput;
|
|
471
|
+
some?: Prisma.PropertyUnitWhereInput;
|
|
472
|
+
none?: Prisma.PropertyUnitWhereInput;
|
|
473
|
+
};
|
|
474
|
+
export type PropertyUnitOrderByRelationAggregateInput = {
|
|
475
|
+
_count?: Prisma.SortOrder;
|
|
476
|
+
};
|
|
477
|
+
export type PropertyUnitOrderByRelevanceInput = {
|
|
478
|
+
fields: Prisma.PropertyUnitOrderByRelevanceFieldEnum | Prisma.PropertyUnitOrderByRelevanceFieldEnum[];
|
|
479
|
+
sort: Prisma.SortOrder;
|
|
480
|
+
search: string;
|
|
481
|
+
};
|
|
482
|
+
export type PropertyUnitVariantIdUnitNumberCompoundUniqueInput = {
|
|
483
|
+
variantId: string;
|
|
484
|
+
unitNumber: string;
|
|
485
|
+
};
|
|
486
|
+
export type PropertyUnitCountOrderByAggregateInput = {
|
|
487
|
+
id?: Prisma.SortOrder;
|
|
488
|
+
variantId?: Prisma.SortOrder;
|
|
489
|
+
unitNumber?: Prisma.SortOrder;
|
|
490
|
+
floorNumber?: Prisma.SortOrder;
|
|
491
|
+
blockName?: Prisma.SortOrder;
|
|
492
|
+
priceOverride?: Prisma.SortOrder;
|
|
493
|
+
areaOverride?: Prisma.SortOrder;
|
|
494
|
+
notes?: Prisma.SortOrder;
|
|
495
|
+
status?: Prisma.SortOrder;
|
|
496
|
+
reservedAt?: Prisma.SortOrder;
|
|
497
|
+
reservedUntil?: Prisma.SortOrder;
|
|
498
|
+
reservedById?: Prisma.SortOrder;
|
|
499
|
+
ownerId?: Prisma.SortOrder;
|
|
500
|
+
createdAt?: Prisma.SortOrder;
|
|
501
|
+
updatedAt?: Prisma.SortOrder;
|
|
502
|
+
};
|
|
503
|
+
export type PropertyUnitAvgOrderByAggregateInput = {
|
|
504
|
+
floorNumber?: Prisma.SortOrder;
|
|
505
|
+
priceOverride?: Prisma.SortOrder;
|
|
506
|
+
areaOverride?: Prisma.SortOrder;
|
|
507
|
+
};
|
|
508
|
+
export type PropertyUnitMaxOrderByAggregateInput = {
|
|
509
|
+
id?: Prisma.SortOrder;
|
|
510
|
+
variantId?: Prisma.SortOrder;
|
|
511
|
+
unitNumber?: Prisma.SortOrder;
|
|
512
|
+
floorNumber?: Prisma.SortOrder;
|
|
513
|
+
blockName?: Prisma.SortOrder;
|
|
514
|
+
priceOverride?: Prisma.SortOrder;
|
|
515
|
+
areaOverride?: Prisma.SortOrder;
|
|
516
|
+
notes?: Prisma.SortOrder;
|
|
517
|
+
status?: Prisma.SortOrder;
|
|
518
|
+
reservedAt?: Prisma.SortOrder;
|
|
519
|
+
reservedUntil?: Prisma.SortOrder;
|
|
520
|
+
reservedById?: Prisma.SortOrder;
|
|
521
|
+
ownerId?: Prisma.SortOrder;
|
|
522
|
+
createdAt?: Prisma.SortOrder;
|
|
523
|
+
updatedAt?: Prisma.SortOrder;
|
|
524
|
+
};
|
|
525
|
+
export type PropertyUnitMinOrderByAggregateInput = {
|
|
526
|
+
id?: Prisma.SortOrder;
|
|
527
|
+
variantId?: Prisma.SortOrder;
|
|
528
|
+
unitNumber?: Prisma.SortOrder;
|
|
529
|
+
floorNumber?: Prisma.SortOrder;
|
|
530
|
+
blockName?: Prisma.SortOrder;
|
|
531
|
+
priceOverride?: Prisma.SortOrder;
|
|
532
|
+
areaOverride?: Prisma.SortOrder;
|
|
533
|
+
notes?: Prisma.SortOrder;
|
|
534
|
+
status?: Prisma.SortOrder;
|
|
535
|
+
reservedAt?: Prisma.SortOrder;
|
|
536
|
+
reservedUntil?: Prisma.SortOrder;
|
|
537
|
+
reservedById?: Prisma.SortOrder;
|
|
538
|
+
ownerId?: Prisma.SortOrder;
|
|
539
|
+
createdAt?: Prisma.SortOrder;
|
|
540
|
+
updatedAt?: Prisma.SortOrder;
|
|
541
|
+
};
|
|
542
|
+
export type PropertyUnitSumOrderByAggregateInput = {
|
|
543
|
+
floorNumber?: Prisma.SortOrder;
|
|
544
|
+
priceOverride?: Prisma.SortOrder;
|
|
545
|
+
areaOverride?: Prisma.SortOrder;
|
|
546
|
+
};
|
|
547
|
+
export type PropertyUnitScalarRelationFilter = {
|
|
548
|
+
is?: Prisma.PropertyUnitWhereInput;
|
|
549
|
+
isNot?: Prisma.PropertyUnitWhereInput;
|
|
550
|
+
};
|
|
551
|
+
export type PropertyUnitCreateNestedManyWithoutVariantInput = {
|
|
552
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput> | Prisma.PropertyUnitCreateWithoutVariantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutVariantInput[];
|
|
553
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutVariantInput | Prisma.PropertyUnitCreateOrConnectWithoutVariantInput[];
|
|
554
|
+
createMany?: Prisma.PropertyUnitCreateManyVariantInputEnvelope;
|
|
555
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
556
|
+
};
|
|
557
|
+
export type PropertyUnitUncheckedCreateNestedManyWithoutVariantInput = {
|
|
558
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput> | Prisma.PropertyUnitCreateWithoutVariantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutVariantInput[];
|
|
559
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutVariantInput | Prisma.PropertyUnitCreateOrConnectWithoutVariantInput[];
|
|
560
|
+
createMany?: Prisma.PropertyUnitCreateManyVariantInputEnvelope;
|
|
561
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
562
|
+
};
|
|
563
|
+
export type PropertyUnitUpdateManyWithoutVariantNestedInput = {
|
|
564
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput> | Prisma.PropertyUnitCreateWithoutVariantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutVariantInput[];
|
|
565
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutVariantInput | Prisma.PropertyUnitCreateOrConnectWithoutVariantInput[];
|
|
566
|
+
upsert?: Prisma.PropertyUnitUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyUnitUpsertWithWhereUniqueWithoutVariantInput[];
|
|
567
|
+
createMany?: Prisma.PropertyUnitCreateManyVariantInputEnvelope;
|
|
568
|
+
set?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
569
|
+
disconnect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
570
|
+
delete?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
571
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
572
|
+
update?: Prisma.PropertyUnitUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyUnitUpdateWithWhereUniqueWithoutVariantInput[];
|
|
573
|
+
updateMany?: Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput[];
|
|
574
|
+
deleteMany?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
|
|
575
|
+
};
|
|
576
|
+
export type PropertyUnitUncheckedUpdateManyWithoutVariantNestedInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput> | Prisma.PropertyUnitCreateWithoutVariantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutVariantInput[];
|
|
578
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutVariantInput | Prisma.PropertyUnitCreateOrConnectWithoutVariantInput[];
|
|
579
|
+
upsert?: Prisma.PropertyUnitUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyUnitUpsertWithWhereUniqueWithoutVariantInput[];
|
|
580
|
+
createMany?: Prisma.PropertyUnitCreateManyVariantInputEnvelope;
|
|
581
|
+
set?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
582
|
+
disconnect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
583
|
+
delete?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
584
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
|
|
585
|
+
update?: Prisma.PropertyUnitUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyUnitUpdateWithWhereUniqueWithoutVariantInput[];
|
|
586
|
+
updateMany?: Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput[];
|
|
587
|
+
deleteMany?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
|
|
588
|
+
};
|
|
589
|
+
export type PropertyUnitCreateNestedOneWithoutContractsInput = {
|
|
590
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutContractsInput, Prisma.PropertyUnitUncheckedCreateWithoutContractsInput>;
|
|
591
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutContractsInput;
|
|
592
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput;
|
|
593
|
+
};
|
|
594
|
+
export type PropertyUnitUpdateOneRequiredWithoutContractsNestedInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutContractsInput, Prisma.PropertyUnitUncheckedCreateWithoutContractsInput>;
|
|
596
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutContractsInput;
|
|
597
|
+
upsert?: Prisma.PropertyUnitUpsertWithoutContractsInput;
|
|
598
|
+
connect?: Prisma.PropertyUnitWhereUniqueInput;
|
|
599
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUnitUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyUnitUpdateWithoutContractsInput>, Prisma.PropertyUnitUncheckedUpdateWithoutContractsInput>;
|
|
600
|
+
};
|
|
601
|
+
export type PropertyUnitCreateWithoutVariantInput = {
|
|
602
|
+
id?: string;
|
|
603
|
+
unitNumber: string;
|
|
604
|
+
floorNumber?: number | null;
|
|
605
|
+
blockName?: string | null;
|
|
606
|
+
priceOverride?: number | null;
|
|
607
|
+
areaOverride?: number | null;
|
|
608
|
+
notes?: string | null;
|
|
609
|
+
status?: string;
|
|
610
|
+
reservedAt?: Date | string | null;
|
|
611
|
+
reservedUntil?: Date | string | null;
|
|
612
|
+
reservedById?: string | null;
|
|
613
|
+
ownerId?: string | null;
|
|
614
|
+
createdAt?: Date | string;
|
|
615
|
+
updatedAt?: Date | string;
|
|
616
|
+
contracts?: Prisma.ContractCreateNestedManyWithoutPropertyUnitInput;
|
|
617
|
+
};
|
|
618
|
+
export type PropertyUnitUncheckedCreateWithoutVariantInput = {
|
|
619
|
+
id?: string;
|
|
620
|
+
unitNumber: string;
|
|
621
|
+
floorNumber?: number | null;
|
|
622
|
+
blockName?: string | null;
|
|
623
|
+
priceOverride?: number | null;
|
|
624
|
+
areaOverride?: number | null;
|
|
625
|
+
notes?: string | null;
|
|
626
|
+
status?: string;
|
|
627
|
+
reservedAt?: Date | string | null;
|
|
628
|
+
reservedUntil?: Date | string | null;
|
|
629
|
+
reservedById?: string | null;
|
|
630
|
+
ownerId?: string | null;
|
|
631
|
+
createdAt?: Date | string;
|
|
632
|
+
updatedAt?: Date | string;
|
|
633
|
+
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyUnitInput;
|
|
634
|
+
};
|
|
635
|
+
export type PropertyUnitCreateOrConnectWithoutVariantInput = {
|
|
636
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
637
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
|
|
638
|
+
};
|
|
639
|
+
export type PropertyUnitCreateManyVariantInputEnvelope = {
|
|
640
|
+
data: Prisma.PropertyUnitCreateManyVariantInput | Prisma.PropertyUnitCreateManyVariantInput[];
|
|
641
|
+
skipDuplicates?: boolean;
|
|
642
|
+
};
|
|
643
|
+
export type PropertyUnitUpsertWithWhereUniqueWithoutVariantInput = {
|
|
644
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
645
|
+
update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
|
|
646
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
|
|
647
|
+
};
|
|
648
|
+
export type PropertyUnitUpdateWithWhereUniqueWithoutVariantInput = {
|
|
649
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
650
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
|
|
651
|
+
};
|
|
652
|
+
export type PropertyUnitUpdateManyWithWhereWithoutVariantInput = {
|
|
653
|
+
where: Prisma.PropertyUnitScalarWhereInput;
|
|
654
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateManyMutationInput, Prisma.PropertyUnitUncheckedUpdateManyWithoutVariantInput>;
|
|
655
|
+
};
|
|
656
|
+
export type PropertyUnitScalarWhereInput = {
|
|
657
|
+
AND?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
|
|
658
|
+
OR?: Prisma.PropertyUnitScalarWhereInput[];
|
|
659
|
+
NOT?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
|
|
660
|
+
id?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
661
|
+
variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
662
|
+
unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
663
|
+
floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
|
|
664
|
+
blockName?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
665
|
+
priceOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
666
|
+
areaOverride?: Prisma.FloatNullableFilter<"PropertyUnit"> | number | null;
|
|
667
|
+
notes?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
668
|
+
status?: Prisma.StringFilter<"PropertyUnit"> | string;
|
|
669
|
+
reservedAt?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
670
|
+
reservedUntil?: Prisma.DateTimeNullableFilter<"PropertyUnit"> | Date | string | null;
|
|
671
|
+
reservedById?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
672
|
+
ownerId?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
|
|
673
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
674
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
675
|
+
};
|
|
676
|
+
export type PropertyUnitCreateWithoutContractsInput = {
|
|
677
|
+
id?: string;
|
|
678
|
+
unitNumber: string;
|
|
679
|
+
floorNumber?: number | null;
|
|
680
|
+
blockName?: string | null;
|
|
681
|
+
priceOverride?: number | null;
|
|
682
|
+
areaOverride?: number | null;
|
|
683
|
+
notes?: string | null;
|
|
684
|
+
status?: string;
|
|
685
|
+
reservedAt?: Date | string | null;
|
|
686
|
+
reservedUntil?: Date | string | null;
|
|
687
|
+
reservedById?: string | null;
|
|
688
|
+
ownerId?: string | null;
|
|
689
|
+
createdAt?: Date | string;
|
|
690
|
+
updatedAt?: Date | string;
|
|
691
|
+
variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
|
|
692
|
+
};
|
|
693
|
+
export type PropertyUnitUncheckedCreateWithoutContractsInput = {
|
|
694
|
+
id?: string;
|
|
695
|
+
variantId: string;
|
|
696
|
+
unitNumber: string;
|
|
697
|
+
floorNumber?: number | null;
|
|
698
|
+
blockName?: string | null;
|
|
699
|
+
priceOverride?: number | null;
|
|
700
|
+
areaOverride?: number | null;
|
|
701
|
+
notes?: string | null;
|
|
702
|
+
status?: string;
|
|
703
|
+
reservedAt?: Date | string | null;
|
|
704
|
+
reservedUntil?: Date | string | null;
|
|
705
|
+
reservedById?: string | null;
|
|
706
|
+
ownerId?: string | null;
|
|
707
|
+
createdAt?: Date | string;
|
|
708
|
+
updatedAt?: Date | string;
|
|
709
|
+
};
|
|
710
|
+
export type PropertyUnitCreateOrConnectWithoutContractsInput = {
|
|
711
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
712
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutContractsInput, Prisma.PropertyUnitUncheckedCreateWithoutContractsInput>;
|
|
713
|
+
};
|
|
714
|
+
export type PropertyUnitUpsertWithoutContractsInput = {
|
|
715
|
+
update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutContractsInput, Prisma.PropertyUnitUncheckedUpdateWithoutContractsInput>;
|
|
716
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutContractsInput, Prisma.PropertyUnitUncheckedCreateWithoutContractsInput>;
|
|
717
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
718
|
+
};
|
|
719
|
+
export type PropertyUnitUpdateToOneWithWhereWithoutContractsInput = {
|
|
720
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
721
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutContractsInput, Prisma.PropertyUnitUncheckedUpdateWithoutContractsInput>;
|
|
722
|
+
};
|
|
723
|
+
export type PropertyUnitUpdateWithoutContractsInput = {
|
|
724
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
725
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
726
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
727
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
728
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
729
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
730
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
731
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
732
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
733
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
734
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
735
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
736
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
737
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
738
|
+
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
|
|
739
|
+
};
|
|
740
|
+
export type PropertyUnitUncheckedUpdateWithoutContractsInput = {
|
|
741
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
742
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
743
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
744
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
745
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
746
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
747
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
748
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
749
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
750
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
751
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
752
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
753
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
754
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
755
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
756
|
+
};
|
|
757
|
+
export type PropertyUnitCreateManyVariantInput = {
|
|
758
|
+
id?: string;
|
|
759
|
+
unitNumber: string;
|
|
760
|
+
floorNumber?: number | null;
|
|
761
|
+
blockName?: string | null;
|
|
762
|
+
priceOverride?: number | null;
|
|
763
|
+
areaOverride?: number | null;
|
|
764
|
+
notes?: string | null;
|
|
765
|
+
status?: string;
|
|
766
|
+
reservedAt?: Date | string | null;
|
|
767
|
+
reservedUntil?: Date | string | null;
|
|
768
|
+
reservedById?: string | null;
|
|
769
|
+
ownerId?: string | null;
|
|
770
|
+
createdAt?: Date | string;
|
|
771
|
+
updatedAt?: Date | string;
|
|
772
|
+
};
|
|
773
|
+
export type PropertyUnitUpdateWithoutVariantInput = {
|
|
774
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
775
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
776
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
777
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
778
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
779
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
780
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
781
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
782
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
783
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
784
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
785
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
786
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
787
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
788
|
+
contracts?: Prisma.ContractUpdateManyWithoutPropertyUnitNestedInput;
|
|
789
|
+
};
|
|
790
|
+
export type PropertyUnitUncheckedUpdateWithoutVariantInput = {
|
|
791
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
792
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
793
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
794
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
795
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
796
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
797
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
798
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
799
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
800
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
801
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
802
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
803
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
804
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
805
|
+
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyUnitNestedInput;
|
|
806
|
+
};
|
|
807
|
+
export type PropertyUnitUncheckedUpdateManyWithoutVariantInput = {
|
|
808
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
809
|
+
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
810
|
+
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
811
|
+
blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
812
|
+
priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
813
|
+
areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
814
|
+
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
815
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
816
|
+
reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
817
|
+
reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
818
|
+
reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
819
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
820
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
821
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* Count Type PropertyUnitCountOutputType
|
|
825
|
+
*/
|
|
826
|
+
export type PropertyUnitCountOutputType = {
|
|
827
|
+
contracts: number;
|
|
828
|
+
};
|
|
829
|
+
export type PropertyUnitCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
830
|
+
contracts?: boolean | PropertyUnitCountOutputTypeCountContractsArgs;
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* PropertyUnitCountOutputType without action
|
|
834
|
+
*/
|
|
835
|
+
export type PropertyUnitCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
836
|
+
/**
|
|
837
|
+
* Select specific fields to fetch from the PropertyUnitCountOutputType
|
|
838
|
+
*/
|
|
839
|
+
select?: Prisma.PropertyUnitCountOutputTypeSelect<ExtArgs> | null;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* PropertyUnitCountOutputType without action
|
|
843
|
+
*/
|
|
844
|
+
export type PropertyUnitCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
845
|
+
where?: Prisma.ContractWhereInput;
|
|
846
|
+
};
|
|
847
|
+
export type PropertyUnitSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
848
|
+
id?: boolean;
|
|
849
|
+
variantId?: boolean;
|
|
850
|
+
unitNumber?: boolean;
|
|
851
|
+
floorNumber?: boolean;
|
|
852
|
+
blockName?: boolean;
|
|
853
|
+
priceOverride?: boolean;
|
|
854
|
+
areaOverride?: boolean;
|
|
855
|
+
notes?: boolean;
|
|
856
|
+
status?: boolean;
|
|
857
|
+
reservedAt?: boolean;
|
|
858
|
+
reservedUntil?: boolean;
|
|
859
|
+
reservedById?: boolean;
|
|
860
|
+
ownerId?: boolean;
|
|
861
|
+
createdAt?: boolean;
|
|
862
|
+
updatedAt?: boolean;
|
|
863
|
+
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
864
|
+
contracts?: boolean | Prisma.PropertyUnit$contractsArgs<ExtArgs>;
|
|
865
|
+
_count?: boolean | Prisma.PropertyUnitCountOutputTypeDefaultArgs<ExtArgs>;
|
|
866
|
+
}, ExtArgs["result"]["propertyUnit"]>;
|
|
867
|
+
export type PropertyUnitSelectScalar = {
|
|
868
|
+
id?: boolean;
|
|
869
|
+
variantId?: boolean;
|
|
870
|
+
unitNumber?: boolean;
|
|
871
|
+
floorNumber?: boolean;
|
|
872
|
+
blockName?: boolean;
|
|
873
|
+
priceOverride?: boolean;
|
|
874
|
+
areaOverride?: boolean;
|
|
875
|
+
notes?: boolean;
|
|
876
|
+
status?: boolean;
|
|
877
|
+
reservedAt?: boolean;
|
|
878
|
+
reservedUntil?: boolean;
|
|
879
|
+
reservedById?: boolean;
|
|
880
|
+
ownerId?: boolean;
|
|
881
|
+
createdAt?: boolean;
|
|
882
|
+
updatedAt?: boolean;
|
|
883
|
+
};
|
|
884
|
+
export type PropertyUnitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "variantId" | "unitNumber" | "floorNumber" | "blockName" | "priceOverride" | "areaOverride" | "notes" | "status" | "reservedAt" | "reservedUntil" | "reservedById" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyUnit"]>;
|
|
885
|
+
export type PropertyUnitInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
886
|
+
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
887
|
+
contracts?: boolean | Prisma.PropertyUnit$contractsArgs<ExtArgs>;
|
|
888
|
+
_count?: boolean | Prisma.PropertyUnitCountOutputTypeDefaultArgs<ExtArgs>;
|
|
889
|
+
};
|
|
890
|
+
export type $PropertyUnitPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
891
|
+
name: "PropertyUnit";
|
|
892
|
+
objects: {
|
|
893
|
+
variant: Prisma.$PropertyVariantPayload<ExtArgs>;
|
|
894
|
+
contracts: Prisma.$ContractPayload<ExtArgs>[];
|
|
895
|
+
};
|
|
896
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
897
|
+
id: string;
|
|
898
|
+
variantId: string;
|
|
899
|
+
unitNumber: string;
|
|
900
|
+
floorNumber: number | null;
|
|
901
|
+
blockName: string | null;
|
|
902
|
+
priceOverride: number | null;
|
|
903
|
+
areaOverride: number | null;
|
|
904
|
+
notes: string | null;
|
|
905
|
+
status: string;
|
|
906
|
+
reservedAt: Date | null;
|
|
907
|
+
reservedUntil: Date | null;
|
|
908
|
+
reservedById: string | null;
|
|
909
|
+
ownerId: string | null;
|
|
910
|
+
createdAt: Date;
|
|
911
|
+
updatedAt: Date;
|
|
912
|
+
}, ExtArgs["result"]["propertyUnit"]>;
|
|
913
|
+
composites: {};
|
|
914
|
+
};
|
|
915
|
+
export type PropertyUnitGetPayload<S extends boolean | null | undefined | PropertyUnitDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload, S>;
|
|
916
|
+
export type PropertyUnitCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyUnitFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
917
|
+
select?: PropertyUnitCountAggregateInputType | true;
|
|
918
|
+
};
|
|
919
|
+
export interface PropertyUnitDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
920
|
+
[K: symbol]: {
|
|
921
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PropertyUnit'];
|
|
922
|
+
meta: {
|
|
923
|
+
name: 'PropertyUnit';
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* Find zero or one PropertyUnit that matches the filter.
|
|
928
|
+
* @param {PropertyUnitFindUniqueArgs} args - Arguments to find a PropertyUnit
|
|
929
|
+
* @example
|
|
930
|
+
* // Get one PropertyUnit
|
|
931
|
+
* const propertyUnit = await prisma.propertyUnit.findUnique({
|
|
932
|
+
* where: {
|
|
933
|
+
* // ... provide filter here
|
|
934
|
+
* }
|
|
935
|
+
* })
|
|
936
|
+
*/
|
|
937
|
+
findUnique<T extends PropertyUnitFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyUnitFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
938
|
+
/**
|
|
939
|
+
* Find one PropertyUnit that matches the filter or throw an error with `error.code='P2025'`
|
|
940
|
+
* if no matches were found.
|
|
941
|
+
* @param {PropertyUnitFindUniqueOrThrowArgs} args - Arguments to find a PropertyUnit
|
|
942
|
+
* @example
|
|
943
|
+
* // Get one PropertyUnit
|
|
944
|
+
* const propertyUnit = await prisma.propertyUnit.findUniqueOrThrow({
|
|
945
|
+
* where: {
|
|
946
|
+
* // ... provide filter here
|
|
947
|
+
* }
|
|
948
|
+
* })
|
|
949
|
+
*/
|
|
950
|
+
findUniqueOrThrow<T extends PropertyUnitFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyUnitFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
951
|
+
/**
|
|
952
|
+
* Find the first PropertyUnit that matches the filter.
|
|
953
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
954
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
955
|
+
* @param {PropertyUnitFindFirstArgs} args - Arguments to find a PropertyUnit
|
|
956
|
+
* @example
|
|
957
|
+
* // Get one PropertyUnit
|
|
958
|
+
* const propertyUnit = await prisma.propertyUnit.findFirst({
|
|
959
|
+
* where: {
|
|
960
|
+
* // ... provide filter here
|
|
961
|
+
* }
|
|
962
|
+
* })
|
|
963
|
+
*/
|
|
964
|
+
findFirst<T extends PropertyUnitFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyUnitFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
965
|
+
/**
|
|
966
|
+
* Find the first PropertyUnit that matches the filter or
|
|
967
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
968
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
969
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
970
|
+
* @param {PropertyUnitFindFirstOrThrowArgs} args - Arguments to find a PropertyUnit
|
|
971
|
+
* @example
|
|
972
|
+
* // Get one PropertyUnit
|
|
973
|
+
* const propertyUnit = await prisma.propertyUnit.findFirstOrThrow({
|
|
974
|
+
* where: {
|
|
975
|
+
* // ... provide filter here
|
|
976
|
+
* }
|
|
977
|
+
* })
|
|
978
|
+
*/
|
|
979
|
+
findFirstOrThrow<T extends PropertyUnitFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyUnitFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
980
|
+
/**
|
|
981
|
+
* Find zero or more PropertyUnits that matches the filter.
|
|
982
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
983
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
984
|
+
* @param {PropertyUnitFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
985
|
+
* @example
|
|
986
|
+
* // Get all PropertyUnits
|
|
987
|
+
* const propertyUnits = await prisma.propertyUnit.findMany()
|
|
988
|
+
*
|
|
989
|
+
* // Get first 10 PropertyUnits
|
|
990
|
+
* const propertyUnits = await prisma.propertyUnit.findMany({ take: 10 })
|
|
991
|
+
*
|
|
992
|
+
* // Only select the `id`
|
|
993
|
+
* const propertyUnitWithIdOnly = await prisma.propertyUnit.findMany({ select: { id: true } })
|
|
994
|
+
*
|
|
995
|
+
*/
|
|
996
|
+
findMany<T extends PropertyUnitFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyUnitFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
997
|
+
/**
|
|
998
|
+
* Create a PropertyUnit.
|
|
999
|
+
* @param {PropertyUnitCreateArgs} args - Arguments to create a PropertyUnit.
|
|
1000
|
+
* @example
|
|
1001
|
+
* // Create one PropertyUnit
|
|
1002
|
+
* const PropertyUnit = await prisma.propertyUnit.create({
|
|
1003
|
+
* data: {
|
|
1004
|
+
* // ... data to create a PropertyUnit
|
|
1005
|
+
* }
|
|
1006
|
+
* })
|
|
1007
|
+
*
|
|
1008
|
+
*/
|
|
1009
|
+
create<T extends PropertyUnitCreateArgs>(args: Prisma.SelectSubset<T, PropertyUnitCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Create many PropertyUnits.
|
|
1012
|
+
* @param {PropertyUnitCreateManyArgs} args - Arguments to create many PropertyUnits.
|
|
1013
|
+
* @example
|
|
1014
|
+
* // Create many PropertyUnits
|
|
1015
|
+
* const propertyUnit = await prisma.propertyUnit.createMany({
|
|
1016
|
+
* data: [
|
|
1017
|
+
* // ... provide data here
|
|
1018
|
+
* ]
|
|
1019
|
+
* })
|
|
1020
|
+
*
|
|
1021
|
+
*/
|
|
1022
|
+
createMany<T extends PropertyUnitCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyUnitCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Delete a PropertyUnit.
|
|
1025
|
+
* @param {PropertyUnitDeleteArgs} args - Arguments to delete one PropertyUnit.
|
|
1026
|
+
* @example
|
|
1027
|
+
* // Delete one PropertyUnit
|
|
1028
|
+
* const PropertyUnit = await prisma.propertyUnit.delete({
|
|
1029
|
+
* where: {
|
|
1030
|
+
* // ... filter to delete one PropertyUnit
|
|
1031
|
+
* }
|
|
1032
|
+
* })
|
|
1033
|
+
*
|
|
1034
|
+
*/
|
|
1035
|
+
delete<T extends PropertyUnitDeleteArgs>(args: Prisma.SelectSubset<T, PropertyUnitDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Update one PropertyUnit.
|
|
1038
|
+
* @param {PropertyUnitUpdateArgs} args - Arguments to update one PropertyUnit.
|
|
1039
|
+
* @example
|
|
1040
|
+
* // Update one PropertyUnit
|
|
1041
|
+
* const propertyUnit = await prisma.propertyUnit.update({
|
|
1042
|
+
* where: {
|
|
1043
|
+
* // ... provide filter here
|
|
1044
|
+
* },
|
|
1045
|
+
* data: {
|
|
1046
|
+
* // ... provide data here
|
|
1047
|
+
* }
|
|
1048
|
+
* })
|
|
1049
|
+
*
|
|
1050
|
+
*/
|
|
1051
|
+
update<T extends PropertyUnitUpdateArgs>(args: Prisma.SelectSubset<T, PropertyUnitUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Delete zero or more PropertyUnits.
|
|
1054
|
+
* @param {PropertyUnitDeleteManyArgs} args - Arguments to filter PropertyUnits to delete.
|
|
1055
|
+
* @example
|
|
1056
|
+
* // Delete a few PropertyUnits
|
|
1057
|
+
* const { count } = await prisma.propertyUnit.deleteMany({
|
|
1058
|
+
* where: {
|
|
1059
|
+
* // ... provide filter here
|
|
1060
|
+
* }
|
|
1061
|
+
* })
|
|
1062
|
+
*
|
|
1063
|
+
*/
|
|
1064
|
+
deleteMany<T extends PropertyUnitDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyUnitDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Update zero or more PropertyUnits.
|
|
1067
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1068
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1069
|
+
* @param {PropertyUnitUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1070
|
+
* @example
|
|
1071
|
+
* // Update many PropertyUnits
|
|
1072
|
+
* const propertyUnit = await prisma.propertyUnit.updateMany({
|
|
1073
|
+
* where: {
|
|
1074
|
+
* // ... provide filter here
|
|
1075
|
+
* },
|
|
1076
|
+
* data: {
|
|
1077
|
+
* // ... provide data here
|
|
1078
|
+
* }
|
|
1079
|
+
* })
|
|
1080
|
+
*
|
|
1081
|
+
*/
|
|
1082
|
+
updateMany<T extends PropertyUnitUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyUnitUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Create or update one PropertyUnit.
|
|
1085
|
+
* @param {PropertyUnitUpsertArgs} args - Arguments to update or create a PropertyUnit.
|
|
1086
|
+
* @example
|
|
1087
|
+
* // Update or create a PropertyUnit
|
|
1088
|
+
* const propertyUnit = await prisma.propertyUnit.upsert({
|
|
1089
|
+
* create: {
|
|
1090
|
+
* // ... data to create a PropertyUnit
|
|
1091
|
+
* },
|
|
1092
|
+
* update: {
|
|
1093
|
+
* // ... in case it already exists, update
|
|
1094
|
+
* },
|
|
1095
|
+
* where: {
|
|
1096
|
+
* // ... the filter for the PropertyUnit we want to update
|
|
1097
|
+
* }
|
|
1098
|
+
* })
|
|
1099
|
+
*/
|
|
1100
|
+
upsert<T extends PropertyUnitUpsertArgs>(args: Prisma.SelectSubset<T, PropertyUnitUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyUnitClient<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Count the number of PropertyUnits.
|
|
1103
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1104
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1105
|
+
* @param {PropertyUnitCountArgs} args - Arguments to filter PropertyUnits to count.
|
|
1106
|
+
* @example
|
|
1107
|
+
* // Count the number of PropertyUnits
|
|
1108
|
+
* const count = await prisma.propertyUnit.count({
|
|
1109
|
+
* where: {
|
|
1110
|
+
* // ... the filter for the PropertyUnits we want to count
|
|
1111
|
+
* }
|
|
1112
|
+
* })
|
|
1113
|
+
**/
|
|
1114
|
+
count<T extends PropertyUnitCountArgs>(args?: Prisma.Subset<T, PropertyUnitCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyUnitCountAggregateOutputType> : number>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Allows you to perform aggregations operations on a PropertyUnit.
|
|
1117
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1118
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1119
|
+
* @param {PropertyUnitAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1120
|
+
* @example
|
|
1121
|
+
* // Ordered by age ascending
|
|
1122
|
+
* // Where email contains prisma.io
|
|
1123
|
+
* // Limited to the 10 users
|
|
1124
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1125
|
+
* _avg: {
|
|
1126
|
+
* age: true,
|
|
1127
|
+
* },
|
|
1128
|
+
* where: {
|
|
1129
|
+
* email: {
|
|
1130
|
+
* contains: "prisma.io",
|
|
1131
|
+
* },
|
|
1132
|
+
* },
|
|
1133
|
+
* orderBy: {
|
|
1134
|
+
* age: "asc",
|
|
1135
|
+
* },
|
|
1136
|
+
* take: 10,
|
|
1137
|
+
* })
|
|
1138
|
+
**/
|
|
1139
|
+
aggregate<T extends PropertyUnitAggregateArgs>(args: Prisma.Subset<T, PropertyUnitAggregateArgs>): Prisma.PrismaPromise<GetPropertyUnitAggregateType<T>>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Group by PropertyUnit.
|
|
1142
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1143
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1144
|
+
* @param {PropertyUnitGroupByArgs} args - Group by arguments.
|
|
1145
|
+
* @example
|
|
1146
|
+
* // Group by city, order by createdAt, get count
|
|
1147
|
+
* const result = await prisma.user.groupBy({
|
|
1148
|
+
* by: ['city', 'createdAt'],
|
|
1149
|
+
* orderBy: {
|
|
1150
|
+
* createdAt: true
|
|
1151
|
+
* },
|
|
1152
|
+
* _count: {
|
|
1153
|
+
* _all: true
|
|
1154
|
+
* },
|
|
1155
|
+
* })
|
|
1156
|
+
*
|
|
1157
|
+
**/
|
|
1158
|
+
groupBy<T extends PropertyUnitGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1159
|
+
orderBy: PropertyUnitGroupByArgs['orderBy'];
|
|
1160
|
+
} : {
|
|
1161
|
+
orderBy?: PropertyUnitGroupByArgs['orderBy'];
|
|
1162
|
+
}, 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 ? {
|
|
1163
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1164
|
+
Error,
|
|
1165
|
+
'Field ',
|
|
1166
|
+
P,
|
|
1167
|
+
` in "having" needs to be provided in "by"`
|
|
1168
|
+
];
|
|
1169
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1170
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1171
|
+
}[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 ? {} : {
|
|
1172
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1173
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1174
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1175
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyUnitGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyUnitGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Fields of the PropertyUnit model
|
|
1178
|
+
*/
|
|
1179
|
+
readonly fields: PropertyUnitFieldRefs;
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* The delegate class that acts as a "Promise-like" for PropertyUnit.
|
|
1183
|
+
* Why is this prefixed with `Prisma__`?
|
|
1184
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1185
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1186
|
+
*/
|
|
1187
|
+
export interface Prisma__PropertyUnitClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1188
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1189
|
+
variant<T extends Prisma.PropertyVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1190
|
+
contracts<T extends Prisma.PropertyUnit$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyUnit$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1193
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1194
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1195
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1196
|
+
*/
|
|
1197
|
+
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>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1200
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1201
|
+
* @returns A Promise for the completion of the callback.
|
|
1202
|
+
*/
|
|
1203
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1206
|
+
* resolved value cannot be modified from the callback.
|
|
1207
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1208
|
+
* @returns A Promise for the completion of the callback.
|
|
1209
|
+
*/
|
|
1210
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Fields of the PropertyUnit model
|
|
1214
|
+
*/
|
|
1215
|
+
export interface PropertyUnitFieldRefs {
|
|
1216
|
+
readonly id: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1217
|
+
readonly variantId: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1218
|
+
readonly unitNumber: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1219
|
+
readonly floorNumber: Prisma.FieldRef<"PropertyUnit", 'Int'>;
|
|
1220
|
+
readonly blockName: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1221
|
+
readonly priceOverride: Prisma.FieldRef<"PropertyUnit", 'Float'>;
|
|
1222
|
+
readonly areaOverride: Prisma.FieldRef<"PropertyUnit", 'Float'>;
|
|
1223
|
+
readonly notes: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1224
|
+
readonly status: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1225
|
+
readonly reservedAt: Prisma.FieldRef<"PropertyUnit", 'DateTime'>;
|
|
1226
|
+
readonly reservedUntil: Prisma.FieldRef<"PropertyUnit", 'DateTime'>;
|
|
1227
|
+
readonly reservedById: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1228
|
+
readonly ownerId: Prisma.FieldRef<"PropertyUnit", 'String'>;
|
|
1229
|
+
readonly createdAt: Prisma.FieldRef<"PropertyUnit", 'DateTime'>;
|
|
1230
|
+
readonly updatedAt: Prisma.FieldRef<"PropertyUnit", 'DateTime'>;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* PropertyUnit findUnique
|
|
1234
|
+
*/
|
|
1235
|
+
export type PropertyUnitFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
|
+
/**
|
|
1237
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1238
|
+
*/
|
|
1239
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Omit specific fields from the PropertyUnit
|
|
1242
|
+
*/
|
|
1243
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Choose, which related nodes to fetch as well
|
|
1246
|
+
*/
|
|
1247
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1248
|
+
/**
|
|
1249
|
+
* Filter, which PropertyUnit to fetch.
|
|
1250
|
+
*/
|
|
1251
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* PropertyUnit findUniqueOrThrow
|
|
1255
|
+
*/
|
|
1256
|
+
export type PropertyUnitFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1259
|
+
*/
|
|
1260
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the PropertyUnit
|
|
1263
|
+
*/
|
|
1264
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
1268
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Filter, which PropertyUnit to fetch.
|
|
1271
|
+
*/
|
|
1272
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* PropertyUnit findFirst
|
|
1276
|
+
*/
|
|
1277
|
+
export type PropertyUnitFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1280
|
+
*/
|
|
1281
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Omit specific fields from the PropertyUnit
|
|
1284
|
+
*/
|
|
1285
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which related nodes to fetch as well
|
|
1288
|
+
*/
|
|
1289
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Filter, which PropertyUnit to fetch.
|
|
1292
|
+
*/
|
|
1293
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
1294
|
+
/**
|
|
1295
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1296
|
+
*
|
|
1297
|
+
* Determine the order of PropertyUnits to fetch.
|
|
1298
|
+
*/
|
|
1299
|
+
orderBy?: Prisma.PropertyUnitOrderByWithRelationInput | Prisma.PropertyUnitOrderByWithRelationInput[];
|
|
1300
|
+
/**
|
|
1301
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1302
|
+
*
|
|
1303
|
+
* Sets the position for searching for PropertyUnits.
|
|
1304
|
+
*/
|
|
1305
|
+
cursor?: Prisma.PropertyUnitWhereUniqueInput;
|
|
1306
|
+
/**
|
|
1307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1308
|
+
*
|
|
1309
|
+
* Take `±n` PropertyUnits from the position of the cursor.
|
|
1310
|
+
*/
|
|
1311
|
+
take?: number;
|
|
1312
|
+
/**
|
|
1313
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1314
|
+
*
|
|
1315
|
+
* Skip the first `n` PropertyUnits.
|
|
1316
|
+
*/
|
|
1317
|
+
skip?: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1320
|
+
*
|
|
1321
|
+
* Filter by unique combinations of PropertyUnits.
|
|
1322
|
+
*/
|
|
1323
|
+
distinct?: Prisma.PropertyUnitScalarFieldEnum | Prisma.PropertyUnitScalarFieldEnum[];
|
|
1324
|
+
};
|
|
1325
|
+
/**
|
|
1326
|
+
* PropertyUnit findFirstOrThrow
|
|
1327
|
+
*/
|
|
1328
|
+
export type PropertyUnitFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1329
|
+
/**
|
|
1330
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1331
|
+
*/
|
|
1332
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1333
|
+
/**
|
|
1334
|
+
* Omit specific fields from the PropertyUnit
|
|
1335
|
+
*/
|
|
1336
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1337
|
+
/**
|
|
1338
|
+
* Choose, which related nodes to fetch as well
|
|
1339
|
+
*/
|
|
1340
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Filter, which PropertyUnit to fetch.
|
|
1343
|
+
*/
|
|
1344
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
1345
|
+
/**
|
|
1346
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1347
|
+
*
|
|
1348
|
+
* Determine the order of PropertyUnits to fetch.
|
|
1349
|
+
*/
|
|
1350
|
+
orderBy?: Prisma.PropertyUnitOrderByWithRelationInput | Prisma.PropertyUnitOrderByWithRelationInput[];
|
|
1351
|
+
/**
|
|
1352
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1353
|
+
*
|
|
1354
|
+
* Sets the position for searching for PropertyUnits.
|
|
1355
|
+
*/
|
|
1356
|
+
cursor?: Prisma.PropertyUnitWhereUniqueInput;
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Take `±n` PropertyUnits from the position of the cursor.
|
|
1361
|
+
*/
|
|
1362
|
+
take?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1365
|
+
*
|
|
1366
|
+
* Skip the first `n` PropertyUnits.
|
|
1367
|
+
*/
|
|
1368
|
+
skip?: number;
|
|
1369
|
+
/**
|
|
1370
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1371
|
+
*
|
|
1372
|
+
* Filter by unique combinations of PropertyUnits.
|
|
1373
|
+
*/
|
|
1374
|
+
distinct?: Prisma.PropertyUnitScalarFieldEnum | Prisma.PropertyUnitScalarFieldEnum[];
|
|
1375
|
+
};
|
|
1376
|
+
/**
|
|
1377
|
+
* PropertyUnit findMany
|
|
1378
|
+
*/
|
|
1379
|
+
export type PropertyUnitFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1380
|
+
/**
|
|
1381
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1382
|
+
*/
|
|
1383
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Omit specific fields from the PropertyUnit
|
|
1386
|
+
*/
|
|
1387
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Choose, which related nodes to fetch as well
|
|
1390
|
+
*/
|
|
1391
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* Filter, which PropertyUnits to fetch.
|
|
1394
|
+
*/
|
|
1395
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
1396
|
+
/**
|
|
1397
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1398
|
+
*
|
|
1399
|
+
* Determine the order of PropertyUnits to fetch.
|
|
1400
|
+
*/
|
|
1401
|
+
orderBy?: Prisma.PropertyUnitOrderByWithRelationInput | Prisma.PropertyUnitOrderByWithRelationInput[];
|
|
1402
|
+
/**
|
|
1403
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1404
|
+
*
|
|
1405
|
+
* Sets the position for listing PropertyUnits.
|
|
1406
|
+
*/
|
|
1407
|
+
cursor?: Prisma.PropertyUnitWhereUniqueInput;
|
|
1408
|
+
/**
|
|
1409
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1410
|
+
*
|
|
1411
|
+
* Take `±n` PropertyUnits from the position of the cursor.
|
|
1412
|
+
*/
|
|
1413
|
+
take?: number;
|
|
1414
|
+
/**
|
|
1415
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1416
|
+
*
|
|
1417
|
+
* Skip the first `n` PropertyUnits.
|
|
1418
|
+
*/
|
|
1419
|
+
skip?: number;
|
|
1420
|
+
distinct?: Prisma.PropertyUnitScalarFieldEnum | Prisma.PropertyUnitScalarFieldEnum[];
|
|
1421
|
+
};
|
|
1422
|
+
/**
|
|
1423
|
+
* PropertyUnit create
|
|
1424
|
+
*/
|
|
1425
|
+
export type PropertyUnitCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
/**
|
|
1427
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1428
|
+
*/
|
|
1429
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Omit specific fields from the PropertyUnit
|
|
1432
|
+
*/
|
|
1433
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* Choose, which related nodes to fetch as well
|
|
1436
|
+
*/
|
|
1437
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* The data needed to create a PropertyUnit.
|
|
1440
|
+
*/
|
|
1441
|
+
data: Prisma.XOR<Prisma.PropertyUnitCreateInput, Prisma.PropertyUnitUncheckedCreateInput>;
|
|
1442
|
+
};
|
|
1443
|
+
/**
|
|
1444
|
+
* PropertyUnit createMany
|
|
1445
|
+
*/
|
|
1446
|
+
export type PropertyUnitCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1447
|
+
/**
|
|
1448
|
+
* The data used to create many PropertyUnits.
|
|
1449
|
+
*/
|
|
1450
|
+
data: Prisma.PropertyUnitCreateManyInput | Prisma.PropertyUnitCreateManyInput[];
|
|
1451
|
+
skipDuplicates?: boolean;
|
|
1452
|
+
};
|
|
1453
|
+
/**
|
|
1454
|
+
* PropertyUnit update
|
|
1455
|
+
*/
|
|
1456
|
+
export type PropertyUnitUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1457
|
+
/**
|
|
1458
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1459
|
+
*/
|
|
1460
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1461
|
+
/**
|
|
1462
|
+
* Omit specific fields from the PropertyUnit
|
|
1463
|
+
*/
|
|
1464
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1465
|
+
/**
|
|
1466
|
+
* Choose, which related nodes to fetch as well
|
|
1467
|
+
*/
|
|
1468
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1469
|
+
/**
|
|
1470
|
+
* The data needed to update a PropertyUnit.
|
|
1471
|
+
*/
|
|
1472
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateInput, Prisma.PropertyUnitUncheckedUpdateInput>;
|
|
1473
|
+
/**
|
|
1474
|
+
* Choose, which PropertyUnit to update.
|
|
1475
|
+
*/
|
|
1476
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
1477
|
+
};
|
|
1478
|
+
/**
|
|
1479
|
+
* PropertyUnit updateMany
|
|
1480
|
+
*/
|
|
1481
|
+
export type PropertyUnitUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1482
|
+
/**
|
|
1483
|
+
* The data used to update PropertyUnits.
|
|
1484
|
+
*/
|
|
1485
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateManyMutationInput, Prisma.PropertyUnitUncheckedUpdateManyInput>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Filter which PropertyUnits to update
|
|
1488
|
+
*/
|
|
1489
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
1490
|
+
/**
|
|
1491
|
+
* Limit how many PropertyUnits to update.
|
|
1492
|
+
*/
|
|
1493
|
+
limit?: number;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* PropertyUnit upsert
|
|
1497
|
+
*/
|
|
1498
|
+
export type PropertyUnitUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
+
/**
|
|
1500
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1501
|
+
*/
|
|
1502
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1503
|
+
/**
|
|
1504
|
+
* Omit specific fields from the PropertyUnit
|
|
1505
|
+
*/
|
|
1506
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1507
|
+
/**
|
|
1508
|
+
* Choose, which related nodes to fetch as well
|
|
1509
|
+
*/
|
|
1510
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1511
|
+
/**
|
|
1512
|
+
* The filter to search for the PropertyUnit to update in case it exists.
|
|
1513
|
+
*/
|
|
1514
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
1515
|
+
/**
|
|
1516
|
+
* In case the PropertyUnit found by the `where` argument doesn't exist, create a new PropertyUnit with this data.
|
|
1517
|
+
*/
|
|
1518
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateInput, Prisma.PropertyUnitUncheckedCreateInput>;
|
|
1519
|
+
/**
|
|
1520
|
+
* In case the PropertyUnit was found with the provided `where` argument, update it with this data.
|
|
1521
|
+
*/
|
|
1522
|
+
update: Prisma.XOR<Prisma.PropertyUnitUpdateInput, Prisma.PropertyUnitUncheckedUpdateInput>;
|
|
1523
|
+
};
|
|
1524
|
+
/**
|
|
1525
|
+
* PropertyUnit delete
|
|
1526
|
+
*/
|
|
1527
|
+
export type PropertyUnitDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1528
|
+
/**
|
|
1529
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1530
|
+
*/
|
|
1531
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1532
|
+
/**
|
|
1533
|
+
* Omit specific fields from the PropertyUnit
|
|
1534
|
+
*/
|
|
1535
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Choose, which related nodes to fetch as well
|
|
1538
|
+
*/
|
|
1539
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1540
|
+
/**
|
|
1541
|
+
* Filter which PropertyUnit to delete.
|
|
1542
|
+
*/
|
|
1543
|
+
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* PropertyUnit deleteMany
|
|
1547
|
+
*/
|
|
1548
|
+
export type PropertyUnitDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1549
|
+
/**
|
|
1550
|
+
* Filter which PropertyUnits to delete
|
|
1551
|
+
*/
|
|
1552
|
+
where?: Prisma.PropertyUnitWhereInput;
|
|
1553
|
+
/**
|
|
1554
|
+
* Limit how many PropertyUnits to delete.
|
|
1555
|
+
*/
|
|
1556
|
+
limit?: number;
|
|
1557
|
+
};
|
|
1558
|
+
/**
|
|
1559
|
+
* PropertyUnit.contracts
|
|
1560
|
+
*/
|
|
1561
|
+
export type PropertyUnit$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1562
|
+
/**
|
|
1563
|
+
* Select specific fields to fetch from the Contract
|
|
1564
|
+
*/
|
|
1565
|
+
select?: Prisma.ContractSelect<ExtArgs> | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* Omit specific fields from the Contract
|
|
1568
|
+
*/
|
|
1569
|
+
omit?: Prisma.ContractOmit<ExtArgs> | null;
|
|
1570
|
+
/**
|
|
1571
|
+
* Choose, which related nodes to fetch as well
|
|
1572
|
+
*/
|
|
1573
|
+
include?: Prisma.ContractInclude<ExtArgs> | null;
|
|
1574
|
+
where?: Prisma.ContractWhereInput;
|
|
1575
|
+
orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
|
|
1576
|
+
cursor?: Prisma.ContractWhereUniqueInput;
|
|
1577
|
+
take?: number;
|
|
1578
|
+
skip?: number;
|
|
1579
|
+
distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
|
|
1580
|
+
};
|
|
1581
|
+
/**
|
|
1582
|
+
* PropertyUnit without action
|
|
1583
|
+
*/
|
|
1584
|
+
export type PropertyUnitDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1585
|
+
/**
|
|
1586
|
+
* Select specific fields to fetch from the PropertyUnit
|
|
1587
|
+
*/
|
|
1588
|
+
select?: Prisma.PropertyUnitSelect<ExtArgs> | null;
|
|
1589
|
+
/**
|
|
1590
|
+
* Omit specific fields from the PropertyUnit
|
|
1591
|
+
*/
|
|
1592
|
+
omit?: Prisma.PropertyUnitOmit<ExtArgs> | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Choose, which related nodes to fetch as well
|
|
1595
|
+
*/
|
|
1596
|
+
include?: Prisma.PropertyUnitInclude<ExtArgs> | null;
|
|
1597
|
+
};
|
|
1598
|
+
export {};
|