@valentine-efagene/qshelter-common 2.0.21 → 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/package.json +1 -1
- package/prisma/schema.prisma +541 -267
|
@@ -13,18 +13,24 @@ export type AggregateAmenity = {
|
|
|
13
13
|
export type AmenityMinAggregateOutputType = {
|
|
14
14
|
id: string | null;
|
|
15
15
|
name: string | null;
|
|
16
|
+
category: string | null;
|
|
17
|
+
icon: string | null;
|
|
16
18
|
createdAt: Date | null;
|
|
17
19
|
updatedAt: Date | null;
|
|
18
20
|
};
|
|
19
21
|
export type AmenityMaxAggregateOutputType = {
|
|
20
22
|
id: string | null;
|
|
21
23
|
name: string | null;
|
|
24
|
+
category: string | null;
|
|
25
|
+
icon: string | null;
|
|
22
26
|
createdAt: Date | null;
|
|
23
27
|
updatedAt: Date | null;
|
|
24
28
|
};
|
|
25
29
|
export type AmenityCountAggregateOutputType = {
|
|
26
30
|
id: number;
|
|
27
31
|
name: number;
|
|
32
|
+
category: number;
|
|
33
|
+
icon: number;
|
|
28
34
|
createdAt: number;
|
|
29
35
|
updatedAt: number;
|
|
30
36
|
_all: number;
|
|
@@ -32,18 +38,24 @@ export type AmenityCountAggregateOutputType = {
|
|
|
32
38
|
export type AmenityMinAggregateInputType = {
|
|
33
39
|
id?: true;
|
|
34
40
|
name?: true;
|
|
41
|
+
category?: true;
|
|
42
|
+
icon?: true;
|
|
35
43
|
createdAt?: true;
|
|
36
44
|
updatedAt?: true;
|
|
37
45
|
};
|
|
38
46
|
export type AmenityMaxAggregateInputType = {
|
|
39
47
|
id?: true;
|
|
40
48
|
name?: true;
|
|
49
|
+
category?: true;
|
|
50
|
+
icon?: true;
|
|
41
51
|
createdAt?: true;
|
|
42
52
|
updatedAt?: true;
|
|
43
53
|
};
|
|
44
54
|
export type AmenityCountAggregateInputType = {
|
|
45
55
|
id?: true;
|
|
46
56
|
name?: true;
|
|
57
|
+
category?: true;
|
|
58
|
+
icon?: true;
|
|
47
59
|
createdAt?: true;
|
|
48
60
|
updatedAt?: true;
|
|
49
61
|
_all?: true;
|
|
@@ -113,6 +125,8 @@ export type AmenityGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
113
125
|
export type AmenityGroupByOutputType = {
|
|
114
126
|
id: string;
|
|
115
127
|
name: string;
|
|
128
|
+
category: string | null;
|
|
129
|
+
icon: string | null;
|
|
116
130
|
createdAt: Date;
|
|
117
131
|
updatedAt: Date;
|
|
118
132
|
_count: AmenityCountAggregateOutputType | null;
|
|
@@ -128,16 +142,22 @@ export type AmenityWhereInput = {
|
|
|
128
142
|
NOT?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
129
143
|
id?: Prisma.StringFilter<"Amenity"> | string;
|
|
130
144
|
name?: Prisma.StringFilter<"Amenity"> | string;
|
|
145
|
+
category?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
146
|
+
icon?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
131
147
|
createdAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
132
148
|
updatedAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
133
149
|
properties?: Prisma.PropertyAmenityListRelationFilter;
|
|
150
|
+
variants?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
134
151
|
};
|
|
135
152
|
export type AmenityOrderByWithRelationInput = {
|
|
136
153
|
id?: Prisma.SortOrder;
|
|
137
154
|
name?: Prisma.SortOrder;
|
|
155
|
+
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
156
|
+
icon?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
138
157
|
createdAt?: Prisma.SortOrder;
|
|
139
158
|
updatedAt?: Prisma.SortOrder;
|
|
140
159
|
properties?: Prisma.PropertyAmenityOrderByRelationAggregateInput;
|
|
160
|
+
variants?: Prisma.PropertyVariantAmenityOrderByRelationAggregateInput;
|
|
141
161
|
_relevance?: Prisma.AmenityOrderByRelevanceInput;
|
|
142
162
|
};
|
|
143
163
|
export type AmenityWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -146,13 +166,18 @@ export type AmenityWhereUniqueInput = Prisma.AtLeast<{
|
|
|
146
166
|
AND?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
147
167
|
OR?: Prisma.AmenityWhereInput[];
|
|
148
168
|
NOT?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
169
|
+
category?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
170
|
+
icon?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
149
171
|
createdAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
150
172
|
updatedAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
151
173
|
properties?: Prisma.PropertyAmenityListRelationFilter;
|
|
174
|
+
variants?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
152
175
|
}, "id" | "name">;
|
|
153
176
|
export type AmenityOrderByWithAggregationInput = {
|
|
154
177
|
id?: Prisma.SortOrder;
|
|
155
178
|
name?: Prisma.SortOrder;
|
|
179
|
+
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
180
|
+
icon?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
156
181
|
createdAt?: Prisma.SortOrder;
|
|
157
182
|
updatedAt?: Prisma.SortOrder;
|
|
158
183
|
_count?: Prisma.AmenityCountOrderByAggregateInput;
|
|
@@ -165,52 +190,72 @@ export type AmenityScalarWhereWithAggregatesInput = {
|
|
|
165
190
|
NOT?: Prisma.AmenityScalarWhereWithAggregatesInput | Prisma.AmenityScalarWhereWithAggregatesInput[];
|
|
166
191
|
id?: Prisma.StringWithAggregatesFilter<"Amenity"> | string;
|
|
167
192
|
name?: Prisma.StringWithAggregatesFilter<"Amenity"> | string;
|
|
193
|
+
category?: Prisma.StringNullableWithAggregatesFilter<"Amenity"> | string | null;
|
|
194
|
+
icon?: Prisma.StringNullableWithAggregatesFilter<"Amenity"> | string | null;
|
|
168
195
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Amenity"> | Date | string;
|
|
169
196
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Amenity"> | Date | string;
|
|
170
197
|
};
|
|
171
198
|
export type AmenityCreateInput = {
|
|
172
199
|
id?: string;
|
|
173
200
|
name: string;
|
|
201
|
+
category?: string | null;
|
|
202
|
+
icon?: string | null;
|
|
174
203
|
createdAt?: Date | string;
|
|
175
204
|
updatedAt?: Date | string;
|
|
176
205
|
properties?: Prisma.PropertyAmenityCreateNestedManyWithoutAmenityInput;
|
|
206
|
+
variants?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutAmenityInput;
|
|
177
207
|
};
|
|
178
208
|
export type AmenityUncheckedCreateInput = {
|
|
179
209
|
id?: string;
|
|
180
210
|
name: string;
|
|
211
|
+
category?: string | null;
|
|
212
|
+
icon?: string | null;
|
|
181
213
|
createdAt?: Date | string;
|
|
182
214
|
updatedAt?: Date | string;
|
|
183
215
|
properties?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
216
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
184
217
|
};
|
|
185
218
|
export type AmenityUpdateInput = {
|
|
186
219
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
187
220
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
222
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
188
223
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
189
224
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
190
225
|
properties?: Prisma.PropertyAmenityUpdateManyWithoutAmenityNestedInput;
|
|
226
|
+
variants?: Prisma.PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput;
|
|
191
227
|
};
|
|
192
228
|
export type AmenityUncheckedUpdateInput = {
|
|
193
229
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
194
230
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
231
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
232
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
195
233
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
196
234
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
197
235
|
properties?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
236
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
198
237
|
};
|
|
199
238
|
export type AmenityCreateManyInput = {
|
|
200
239
|
id?: string;
|
|
201
240
|
name: string;
|
|
241
|
+
category?: string | null;
|
|
242
|
+
icon?: string | null;
|
|
202
243
|
createdAt?: Date | string;
|
|
203
244
|
updatedAt?: Date | string;
|
|
204
245
|
};
|
|
205
246
|
export type AmenityUpdateManyMutationInput = {
|
|
206
247
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
207
248
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
250
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
208
251
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
209
252
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
210
253
|
};
|
|
211
254
|
export type AmenityUncheckedUpdateManyInput = {
|
|
212
255
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
213
256
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
258
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
214
259
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
215
260
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
216
261
|
};
|
|
@@ -222,18 +267,24 @@ export type AmenityOrderByRelevanceInput = {
|
|
|
222
267
|
export type AmenityCountOrderByAggregateInput = {
|
|
223
268
|
id?: Prisma.SortOrder;
|
|
224
269
|
name?: Prisma.SortOrder;
|
|
270
|
+
category?: Prisma.SortOrder;
|
|
271
|
+
icon?: Prisma.SortOrder;
|
|
225
272
|
createdAt?: Prisma.SortOrder;
|
|
226
273
|
updatedAt?: Prisma.SortOrder;
|
|
227
274
|
};
|
|
228
275
|
export type AmenityMaxOrderByAggregateInput = {
|
|
229
276
|
id?: Prisma.SortOrder;
|
|
230
277
|
name?: Prisma.SortOrder;
|
|
278
|
+
category?: Prisma.SortOrder;
|
|
279
|
+
icon?: Prisma.SortOrder;
|
|
231
280
|
createdAt?: Prisma.SortOrder;
|
|
232
281
|
updatedAt?: Prisma.SortOrder;
|
|
233
282
|
};
|
|
234
283
|
export type AmenityMinOrderByAggregateInput = {
|
|
235
284
|
id?: Prisma.SortOrder;
|
|
236
285
|
name?: Prisma.SortOrder;
|
|
286
|
+
category?: Prisma.SortOrder;
|
|
287
|
+
icon?: Prisma.SortOrder;
|
|
237
288
|
createdAt?: Prisma.SortOrder;
|
|
238
289
|
updatedAt?: Prisma.SortOrder;
|
|
239
290
|
};
|
|
@@ -241,6 +292,18 @@ export type AmenityScalarRelationFilter = {
|
|
|
241
292
|
is?: Prisma.AmenityWhereInput;
|
|
242
293
|
isNot?: Prisma.AmenityWhereInput;
|
|
243
294
|
};
|
|
295
|
+
export type AmenityCreateNestedOneWithoutVariantsInput = {
|
|
296
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutVariantsInput, Prisma.AmenityUncheckedCreateWithoutVariantsInput>;
|
|
297
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutVariantsInput;
|
|
298
|
+
connect?: Prisma.AmenityWhereUniqueInput;
|
|
299
|
+
};
|
|
300
|
+
export type AmenityUpdateOneRequiredWithoutVariantsNestedInput = {
|
|
301
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutVariantsInput, Prisma.AmenityUncheckedCreateWithoutVariantsInput>;
|
|
302
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutVariantsInput;
|
|
303
|
+
upsert?: Prisma.AmenityUpsertWithoutVariantsInput;
|
|
304
|
+
connect?: Prisma.AmenityWhereUniqueInput;
|
|
305
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AmenityUpdateToOneWithWhereWithoutVariantsInput, Prisma.AmenityUpdateWithoutVariantsInput>, Prisma.AmenityUncheckedUpdateWithoutVariantsInput>;
|
|
306
|
+
};
|
|
244
307
|
export type AmenityCreateNestedOneWithoutPropertiesInput = {
|
|
245
308
|
create?: Prisma.XOR<Prisma.AmenityCreateWithoutPropertiesInput, Prisma.AmenityUncheckedCreateWithoutPropertiesInput>;
|
|
246
309
|
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutPropertiesInput;
|
|
@@ -253,17 +316,72 @@ export type AmenityUpdateOneRequiredWithoutPropertiesNestedInput = {
|
|
|
253
316
|
connect?: Prisma.AmenityWhereUniqueInput;
|
|
254
317
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AmenityUpdateToOneWithWhereWithoutPropertiesInput, Prisma.AmenityUpdateWithoutPropertiesInput>, Prisma.AmenityUncheckedUpdateWithoutPropertiesInput>;
|
|
255
318
|
};
|
|
319
|
+
export type AmenityCreateWithoutVariantsInput = {
|
|
320
|
+
id?: string;
|
|
321
|
+
name: string;
|
|
322
|
+
category?: string | null;
|
|
323
|
+
icon?: string | null;
|
|
324
|
+
createdAt?: Date | string;
|
|
325
|
+
updatedAt?: Date | string;
|
|
326
|
+
properties?: Prisma.PropertyAmenityCreateNestedManyWithoutAmenityInput;
|
|
327
|
+
};
|
|
328
|
+
export type AmenityUncheckedCreateWithoutVariantsInput = {
|
|
329
|
+
id?: string;
|
|
330
|
+
name: string;
|
|
331
|
+
category?: string | null;
|
|
332
|
+
icon?: string | null;
|
|
333
|
+
createdAt?: Date | string;
|
|
334
|
+
updatedAt?: Date | string;
|
|
335
|
+
properties?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
336
|
+
};
|
|
337
|
+
export type AmenityCreateOrConnectWithoutVariantsInput = {
|
|
338
|
+
where: Prisma.AmenityWhereUniqueInput;
|
|
339
|
+
create: Prisma.XOR<Prisma.AmenityCreateWithoutVariantsInput, Prisma.AmenityUncheckedCreateWithoutVariantsInput>;
|
|
340
|
+
};
|
|
341
|
+
export type AmenityUpsertWithoutVariantsInput = {
|
|
342
|
+
update: Prisma.XOR<Prisma.AmenityUpdateWithoutVariantsInput, Prisma.AmenityUncheckedUpdateWithoutVariantsInput>;
|
|
343
|
+
create: Prisma.XOR<Prisma.AmenityCreateWithoutVariantsInput, Prisma.AmenityUncheckedCreateWithoutVariantsInput>;
|
|
344
|
+
where?: Prisma.AmenityWhereInput;
|
|
345
|
+
};
|
|
346
|
+
export type AmenityUpdateToOneWithWhereWithoutVariantsInput = {
|
|
347
|
+
where?: Prisma.AmenityWhereInput;
|
|
348
|
+
data: Prisma.XOR<Prisma.AmenityUpdateWithoutVariantsInput, Prisma.AmenityUncheckedUpdateWithoutVariantsInput>;
|
|
349
|
+
};
|
|
350
|
+
export type AmenityUpdateWithoutVariantsInput = {
|
|
351
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
353
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
354
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
355
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
356
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
357
|
+
properties?: Prisma.PropertyAmenityUpdateManyWithoutAmenityNestedInput;
|
|
358
|
+
};
|
|
359
|
+
export type AmenityUncheckedUpdateWithoutVariantsInput = {
|
|
360
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
362
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
363
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
365
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
366
|
+
properties?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
367
|
+
};
|
|
256
368
|
export type AmenityCreateWithoutPropertiesInput = {
|
|
257
369
|
id?: string;
|
|
258
370
|
name: string;
|
|
371
|
+
category?: string | null;
|
|
372
|
+
icon?: string | null;
|
|
259
373
|
createdAt?: Date | string;
|
|
260
374
|
updatedAt?: Date | string;
|
|
375
|
+
variants?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutAmenityInput;
|
|
261
376
|
};
|
|
262
377
|
export type AmenityUncheckedCreateWithoutPropertiesInput = {
|
|
263
378
|
id?: string;
|
|
264
379
|
name: string;
|
|
380
|
+
category?: string | null;
|
|
381
|
+
icon?: string | null;
|
|
265
382
|
createdAt?: Date | string;
|
|
266
383
|
updatedAt?: Date | string;
|
|
384
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
267
385
|
};
|
|
268
386
|
export type AmenityCreateOrConnectWithoutPropertiesInput = {
|
|
269
387
|
where: Prisma.AmenityWhereUniqueInput;
|
|
@@ -281,23 +399,31 @@ export type AmenityUpdateToOneWithWhereWithoutPropertiesInput = {
|
|
|
281
399
|
export type AmenityUpdateWithoutPropertiesInput = {
|
|
282
400
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
401
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
403
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
284
404
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
405
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
406
|
+
variants?: Prisma.PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput;
|
|
286
407
|
};
|
|
287
408
|
export type AmenityUncheckedUpdateWithoutPropertiesInput = {
|
|
288
409
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
410
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
412
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
290
413
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
291
414
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
415
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
292
416
|
};
|
|
293
417
|
/**
|
|
294
418
|
* Count Type AmenityCountOutputType
|
|
295
419
|
*/
|
|
296
420
|
export type AmenityCountOutputType = {
|
|
297
421
|
properties: number;
|
|
422
|
+
variants: number;
|
|
298
423
|
};
|
|
299
424
|
export type AmenityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
300
425
|
properties?: boolean | AmenityCountOutputTypeCountPropertiesArgs;
|
|
426
|
+
variants?: boolean | AmenityCountOutputTypeCountVariantsArgs;
|
|
301
427
|
};
|
|
302
428
|
/**
|
|
303
429
|
* AmenityCountOutputType without action
|
|
@@ -314,33 +440,48 @@ export type AmenityCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Exte
|
|
|
314
440
|
export type AmenityCountOutputTypeCountPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
315
441
|
where?: Prisma.PropertyAmenityWhereInput;
|
|
316
442
|
};
|
|
443
|
+
/**
|
|
444
|
+
* AmenityCountOutputType without action
|
|
445
|
+
*/
|
|
446
|
+
export type AmenityCountOutputTypeCountVariantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
447
|
+
where?: Prisma.PropertyVariantAmenityWhereInput;
|
|
448
|
+
};
|
|
317
449
|
export type AmenitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
318
450
|
id?: boolean;
|
|
319
451
|
name?: boolean;
|
|
452
|
+
category?: boolean;
|
|
453
|
+
icon?: boolean;
|
|
320
454
|
createdAt?: boolean;
|
|
321
455
|
updatedAt?: boolean;
|
|
322
456
|
properties?: boolean | Prisma.Amenity$propertiesArgs<ExtArgs>;
|
|
457
|
+
variants?: boolean | Prisma.Amenity$variantsArgs<ExtArgs>;
|
|
323
458
|
_count?: boolean | Prisma.AmenityCountOutputTypeDefaultArgs<ExtArgs>;
|
|
324
459
|
}, ExtArgs["result"]["amenity"]>;
|
|
325
460
|
export type AmenitySelectScalar = {
|
|
326
461
|
id?: boolean;
|
|
327
462
|
name?: boolean;
|
|
463
|
+
category?: boolean;
|
|
464
|
+
icon?: boolean;
|
|
328
465
|
createdAt?: boolean;
|
|
329
466
|
updatedAt?: boolean;
|
|
330
467
|
};
|
|
331
|
-
export type AmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "createdAt" | "updatedAt", ExtArgs["result"]["amenity"]>;
|
|
468
|
+
export type AmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "category" | "icon" | "createdAt" | "updatedAt", ExtArgs["result"]["amenity"]>;
|
|
332
469
|
export type AmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
333
470
|
properties?: boolean | Prisma.Amenity$propertiesArgs<ExtArgs>;
|
|
471
|
+
variants?: boolean | Prisma.Amenity$variantsArgs<ExtArgs>;
|
|
334
472
|
_count?: boolean | Prisma.AmenityCountOutputTypeDefaultArgs<ExtArgs>;
|
|
335
473
|
};
|
|
336
474
|
export type $AmenityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
337
475
|
name: "Amenity";
|
|
338
476
|
objects: {
|
|
339
477
|
properties: Prisma.$PropertyAmenityPayload<ExtArgs>[];
|
|
478
|
+
variants: Prisma.$PropertyVariantAmenityPayload<ExtArgs>[];
|
|
340
479
|
};
|
|
341
480
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
342
481
|
id: string;
|
|
343
482
|
name: string;
|
|
483
|
+
category: string | null;
|
|
484
|
+
icon: string | null;
|
|
344
485
|
createdAt: Date;
|
|
345
486
|
updatedAt: Date;
|
|
346
487
|
}, ExtArgs["result"]["amenity"]>;
|
|
@@ -621,6 +762,7 @@ export interface AmenityDelegate<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
621
762
|
export interface Prisma__AmenityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
622
763
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
623
764
|
properties<T extends Prisma.Amenity$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Amenity$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
765
|
+
variants<T extends Prisma.Amenity$variantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Amenity$variantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
624
766
|
/**
|
|
625
767
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
626
768
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -648,6 +790,8 @@ export interface Prisma__AmenityClient<T, Null = never, ExtArgs extends runtime.
|
|
|
648
790
|
export interface AmenityFieldRefs {
|
|
649
791
|
readonly id: Prisma.FieldRef<"Amenity", 'String'>;
|
|
650
792
|
readonly name: Prisma.FieldRef<"Amenity", 'String'>;
|
|
793
|
+
readonly category: Prisma.FieldRef<"Amenity", 'String'>;
|
|
794
|
+
readonly icon: Prisma.FieldRef<"Amenity", 'String'>;
|
|
651
795
|
readonly createdAt: Prisma.FieldRef<"Amenity", 'DateTime'>;
|
|
652
796
|
readonly updatedAt: Prisma.FieldRef<"Amenity", 'DateTime'>;
|
|
653
797
|
}
|
|
@@ -1000,6 +1144,29 @@ export type Amenity$propertiesArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1000
1144
|
skip?: number;
|
|
1001
1145
|
distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
|
|
1002
1146
|
};
|
|
1147
|
+
/**
|
|
1148
|
+
* Amenity.variants
|
|
1149
|
+
*/
|
|
1150
|
+
export type Amenity$variantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1151
|
+
/**
|
|
1152
|
+
* Select specific fields to fetch from the PropertyVariantAmenity
|
|
1153
|
+
*/
|
|
1154
|
+
select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* Omit specific fields from the PropertyVariantAmenity
|
|
1157
|
+
*/
|
|
1158
|
+
omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* Choose, which related nodes to fetch as well
|
|
1161
|
+
*/
|
|
1162
|
+
include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
|
|
1163
|
+
where?: Prisma.PropertyVariantAmenityWhereInput;
|
|
1164
|
+
orderBy?: Prisma.PropertyVariantAmenityOrderByWithRelationInput | Prisma.PropertyVariantAmenityOrderByWithRelationInput[];
|
|
1165
|
+
cursor?: Prisma.PropertyVariantAmenityWhereUniqueInput;
|
|
1166
|
+
take?: number;
|
|
1167
|
+
skip?: number;
|
|
1168
|
+
distinct?: Prisma.PropertyVariantAmenityScalarFieldEnum | Prisma.PropertyVariantAmenityScalarFieldEnum[];
|
|
1169
|
+
};
|
|
1003
1170
|
/**
|
|
1004
1171
|
* Amenity without action
|
|
1005
1172
|
*/
|