@valentine-efagene/qshelter-common 2.0.98 → 2.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +90 -0
- package/dist/generated/client/enums.d.ts +26 -0
- package/dist/generated/client/enums.js +23 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +176 -1
- package/dist/generated/client/internal/prismaNamespace.js +95 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +96 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +95 -1
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
- package/dist/generated/client/models/WorkflowBlocker.js +1 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/middleware/auth-context.d.ts +63 -6
- package/dist/src/middleware/auth-context.js +132 -13
- package/dist/src/prisma/tenant.js +26 -32
- package/dist/src/types/action-status.d.ts +137 -0
- package/dist/src/types/action-status.js +402 -0
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +273 -60
|
@@ -20,6 +20,7 @@ export type PropertyMediaSumAggregateOutputType = {
|
|
|
20
20
|
};
|
|
21
21
|
export type PropertyMediaMinAggregateOutputType = {
|
|
22
22
|
id: string | null;
|
|
23
|
+
tenantId: string | null;
|
|
23
24
|
propertyId: string | null;
|
|
24
25
|
url: string | null;
|
|
25
26
|
type: string | null;
|
|
@@ -30,6 +31,7 @@ export type PropertyMediaMinAggregateOutputType = {
|
|
|
30
31
|
};
|
|
31
32
|
export type PropertyMediaMaxAggregateOutputType = {
|
|
32
33
|
id: string | null;
|
|
34
|
+
tenantId: string | null;
|
|
33
35
|
propertyId: string | null;
|
|
34
36
|
url: string | null;
|
|
35
37
|
type: string | null;
|
|
@@ -40,6 +42,7 @@ export type PropertyMediaMaxAggregateOutputType = {
|
|
|
40
42
|
};
|
|
41
43
|
export type PropertyMediaCountAggregateOutputType = {
|
|
42
44
|
id: number;
|
|
45
|
+
tenantId: number;
|
|
43
46
|
propertyId: number;
|
|
44
47
|
url: number;
|
|
45
48
|
type: number;
|
|
@@ -57,6 +60,7 @@ export type PropertyMediaSumAggregateInputType = {
|
|
|
57
60
|
};
|
|
58
61
|
export type PropertyMediaMinAggregateInputType = {
|
|
59
62
|
id?: true;
|
|
63
|
+
tenantId?: true;
|
|
60
64
|
propertyId?: true;
|
|
61
65
|
url?: true;
|
|
62
66
|
type?: true;
|
|
@@ -67,6 +71,7 @@ export type PropertyMediaMinAggregateInputType = {
|
|
|
67
71
|
};
|
|
68
72
|
export type PropertyMediaMaxAggregateInputType = {
|
|
69
73
|
id?: true;
|
|
74
|
+
tenantId?: true;
|
|
70
75
|
propertyId?: true;
|
|
71
76
|
url?: true;
|
|
72
77
|
type?: true;
|
|
@@ -77,6 +82,7 @@ export type PropertyMediaMaxAggregateInputType = {
|
|
|
77
82
|
};
|
|
78
83
|
export type PropertyMediaCountAggregateInputType = {
|
|
79
84
|
id?: true;
|
|
85
|
+
tenantId?: true;
|
|
80
86
|
propertyId?: true;
|
|
81
87
|
url?: true;
|
|
82
88
|
type?: true;
|
|
@@ -164,6 +170,7 @@ export type PropertyMediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
164
170
|
};
|
|
165
171
|
export type PropertyMediaGroupByOutputType = {
|
|
166
172
|
id: string;
|
|
173
|
+
tenantId: string;
|
|
167
174
|
propertyId: string;
|
|
168
175
|
url: string;
|
|
169
176
|
type: string;
|
|
@@ -185,6 +192,7 @@ export type PropertyMediaWhereInput = {
|
|
|
185
192
|
OR?: Prisma.PropertyMediaWhereInput[];
|
|
186
193
|
NOT?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
|
|
187
194
|
id?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
195
|
+
tenantId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
188
196
|
propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
189
197
|
url?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
190
198
|
type?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
@@ -192,11 +200,13 @@ export type PropertyMediaWhereInput = {
|
|
|
192
200
|
order?: Prisma.IntFilter<"PropertyMedia"> | number;
|
|
193
201
|
createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
194
202
|
updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
203
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
195
204
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
196
205
|
displayForProperties?: Prisma.PropertyListRelationFilter;
|
|
197
206
|
};
|
|
198
207
|
export type PropertyMediaOrderByWithRelationInput = {
|
|
199
208
|
id?: Prisma.SortOrder;
|
|
209
|
+
tenantId?: Prisma.SortOrder;
|
|
200
210
|
propertyId?: Prisma.SortOrder;
|
|
201
211
|
url?: Prisma.SortOrder;
|
|
202
212
|
type?: Prisma.SortOrder;
|
|
@@ -204,6 +214,7 @@ export type PropertyMediaOrderByWithRelationInput = {
|
|
|
204
214
|
order?: Prisma.SortOrder;
|
|
205
215
|
createdAt?: Prisma.SortOrder;
|
|
206
216
|
updatedAt?: Prisma.SortOrder;
|
|
217
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
207
218
|
property?: Prisma.PropertyOrderByWithRelationInput;
|
|
208
219
|
displayForProperties?: Prisma.PropertyOrderByRelationAggregateInput;
|
|
209
220
|
_relevance?: Prisma.PropertyMediaOrderByRelevanceInput;
|
|
@@ -213,6 +224,7 @@ export type PropertyMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
|
213
224
|
AND?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
|
|
214
225
|
OR?: Prisma.PropertyMediaWhereInput[];
|
|
215
226
|
NOT?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
|
|
227
|
+
tenantId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
216
228
|
propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
217
229
|
url?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
218
230
|
type?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
@@ -220,11 +232,13 @@ export type PropertyMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
|
220
232
|
order?: Prisma.IntFilter<"PropertyMedia"> | number;
|
|
221
233
|
createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
222
234
|
updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
235
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
223
236
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
224
237
|
displayForProperties?: Prisma.PropertyListRelationFilter;
|
|
225
238
|
}, "id">;
|
|
226
239
|
export type PropertyMediaOrderByWithAggregationInput = {
|
|
227
240
|
id?: Prisma.SortOrder;
|
|
241
|
+
tenantId?: Prisma.SortOrder;
|
|
228
242
|
propertyId?: Prisma.SortOrder;
|
|
229
243
|
url?: Prisma.SortOrder;
|
|
230
244
|
type?: Prisma.SortOrder;
|
|
@@ -243,6 +257,7 @@ export type PropertyMediaScalarWhereWithAggregatesInput = {
|
|
|
243
257
|
OR?: Prisma.PropertyMediaScalarWhereWithAggregatesInput[];
|
|
244
258
|
NOT?: Prisma.PropertyMediaScalarWhereWithAggregatesInput | Prisma.PropertyMediaScalarWhereWithAggregatesInput[];
|
|
245
259
|
id?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
|
|
260
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
|
|
246
261
|
propertyId?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
|
|
247
262
|
url?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
|
|
248
263
|
type?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
|
|
@@ -259,11 +274,13 @@ export type PropertyMediaCreateInput = {
|
|
|
259
274
|
order?: number;
|
|
260
275
|
createdAt?: Date | string;
|
|
261
276
|
updatedAt?: Date | string;
|
|
277
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyMediaInput;
|
|
262
278
|
property: Prisma.PropertyCreateNestedOneWithoutMediaInput;
|
|
263
279
|
displayForProperties?: Prisma.PropertyCreateNestedManyWithoutDisplayImageInput;
|
|
264
280
|
};
|
|
265
281
|
export type PropertyMediaUncheckedCreateInput = {
|
|
266
282
|
id?: string;
|
|
283
|
+
tenantId: string;
|
|
267
284
|
propertyId: string;
|
|
268
285
|
url: string;
|
|
269
286
|
type: string;
|
|
@@ -281,11 +298,13 @@ export type PropertyMediaUpdateInput = {
|
|
|
281
298
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
282
299
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
283
300
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
301
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyMediaNestedInput;
|
|
284
302
|
property?: Prisma.PropertyUpdateOneRequiredWithoutMediaNestedInput;
|
|
285
303
|
displayForProperties?: Prisma.PropertyUpdateManyWithoutDisplayImageNestedInput;
|
|
286
304
|
};
|
|
287
305
|
export type PropertyMediaUncheckedUpdateInput = {
|
|
288
306
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
307
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
308
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
309
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
310
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -297,6 +316,7 @@ export type PropertyMediaUncheckedUpdateInput = {
|
|
|
297
316
|
};
|
|
298
317
|
export type PropertyMediaCreateManyInput = {
|
|
299
318
|
id?: string;
|
|
319
|
+
tenantId: string;
|
|
300
320
|
propertyId: string;
|
|
301
321
|
url: string;
|
|
302
322
|
type: string;
|
|
@@ -316,6 +336,7 @@ export type PropertyMediaUpdateManyMutationInput = {
|
|
|
316
336
|
};
|
|
317
337
|
export type PropertyMediaUncheckedUpdateManyInput = {
|
|
318
338
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
339
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
319
340
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
341
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
321
342
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -324,10 +345,6 @@ export type PropertyMediaUncheckedUpdateManyInput = {
|
|
|
324
345
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
325
346
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
326
347
|
};
|
|
327
|
-
export type PropertyMediaNullableScalarRelationFilter = {
|
|
328
|
-
is?: Prisma.PropertyMediaWhereInput | null;
|
|
329
|
-
isNot?: Prisma.PropertyMediaWhereInput | null;
|
|
330
|
-
};
|
|
331
348
|
export type PropertyMediaListRelationFilter = {
|
|
332
349
|
every?: Prisma.PropertyMediaWhereInput;
|
|
333
350
|
some?: Prisma.PropertyMediaWhereInput;
|
|
@@ -336,6 +353,10 @@ export type PropertyMediaListRelationFilter = {
|
|
|
336
353
|
export type PropertyMediaOrderByRelationAggregateInput = {
|
|
337
354
|
_count?: Prisma.SortOrder;
|
|
338
355
|
};
|
|
356
|
+
export type PropertyMediaNullableScalarRelationFilter = {
|
|
357
|
+
is?: Prisma.PropertyMediaWhereInput | null;
|
|
358
|
+
isNot?: Prisma.PropertyMediaWhereInput | null;
|
|
359
|
+
};
|
|
339
360
|
export type PropertyMediaOrderByRelevanceInput = {
|
|
340
361
|
fields: Prisma.PropertyMediaOrderByRelevanceFieldEnum | Prisma.PropertyMediaOrderByRelevanceFieldEnum[];
|
|
341
362
|
sort: Prisma.SortOrder;
|
|
@@ -343,6 +364,7 @@ export type PropertyMediaOrderByRelevanceInput = {
|
|
|
343
364
|
};
|
|
344
365
|
export type PropertyMediaCountOrderByAggregateInput = {
|
|
345
366
|
id?: Prisma.SortOrder;
|
|
367
|
+
tenantId?: Prisma.SortOrder;
|
|
346
368
|
propertyId?: Prisma.SortOrder;
|
|
347
369
|
url?: Prisma.SortOrder;
|
|
348
370
|
type?: Prisma.SortOrder;
|
|
@@ -356,6 +378,7 @@ export type PropertyMediaAvgOrderByAggregateInput = {
|
|
|
356
378
|
};
|
|
357
379
|
export type PropertyMediaMaxOrderByAggregateInput = {
|
|
358
380
|
id?: Prisma.SortOrder;
|
|
381
|
+
tenantId?: Prisma.SortOrder;
|
|
359
382
|
propertyId?: Prisma.SortOrder;
|
|
360
383
|
url?: Prisma.SortOrder;
|
|
361
384
|
type?: Prisma.SortOrder;
|
|
@@ -366,6 +389,7 @@ export type PropertyMediaMaxOrderByAggregateInput = {
|
|
|
366
389
|
};
|
|
367
390
|
export type PropertyMediaMinOrderByAggregateInput = {
|
|
368
391
|
id?: Prisma.SortOrder;
|
|
392
|
+
tenantId?: Prisma.SortOrder;
|
|
369
393
|
propertyId?: Prisma.SortOrder;
|
|
370
394
|
url?: Prisma.SortOrder;
|
|
371
395
|
type?: Prisma.SortOrder;
|
|
@@ -377,6 +401,44 @@ export type PropertyMediaMinOrderByAggregateInput = {
|
|
|
377
401
|
export type PropertyMediaSumOrderByAggregateInput = {
|
|
378
402
|
order?: Prisma.SortOrder;
|
|
379
403
|
};
|
|
404
|
+
export type PropertyMediaCreateNestedManyWithoutTenantInput = {
|
|
405
|
+
create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyMediaCreateWithoutTenantInput[] | Prisma.PropertyMediaUncheckedCreateWithoutTenantInput[];
|
|
406
|
+
connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyMediaCreateOrConnectWithoutTenantInput[];
|
|
407
|
+
createMany?: Prisma.PropertyMediaCreateManyTenantInputEnvelope;
|
|
408
|
+
connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
409
|
+
};
|
|
410
|
+
export type PropertyMediaUncheckedCreateNestedManyWithoutTenantInput = {
|
|
411
|
+
create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyMediaCreateWithoutTenantInput[] | Prisma.PropertyMediaUncheckedCreateWithoutTenantInput[];
|
|
412
|
+
connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyMediaCreateOrConnectWithoutTenantInput[];
|
|
413
|
+
createMany?: Prisma.PropertyMediaCreateManyTenantInputEnvelope;
|
|
414
|
+
connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
415
|
+
};
|
|
416
|
+
export type PropertyMediaUpdateManyWithoutTenantNestedInput = {
|
|
417
|
+
create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyMediaCreateWithoutTenantInput[] | Prisma.PropertyMediaUncheckedCreateWithoutTenantInput[];
|
|
418
|
+
connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyMediaCreateOrConnectWithoutTenantInput[];
|
|
419
|
+
upsert?: Prisma.PropertyMediaUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyMediaUpsertWithWhereUniqueWithoutTenantInput[];
|
|
420
|
+
createMany?: Prisma.PropertyMediaCreateManyTenantInputEnvelope;
|
|
421
|
+
set?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
422
|
+
disconnect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
423
|
+
delete?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
424
|
+
connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
425
|
+
update?: Prisma.PropertyMediaUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyMediaUpdateWithWhereUniqueWithoutTenantInput[];
|
|
426
|
+
updateMany?: Prisma.PropertyMediaUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyMediaUpdateManyWithWhereWithoutTenantInput[];
|
|
427
|
+
deleteMany?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
|
|
428
|
+
};
|
|
429
|
+
export type PropertyMediaUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
430
|
+
create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyMediaCreateWithoutTenantInput[] | Prisma.PropertyMediaUncheckedCreateWithoutTenantInput[];
|
|
431
|
+
connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyMediaCreateOrConnectWithoutTenantInput[];
|
|
432
|
+
upsert?: Prisma.PropertyMediaUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyMediaUpsertWithWhereUniqueWithoutTenantInput[];
|
|
433
|
+
createMany?: Prisma.PropertyMediaCreateManyTenantInputEnvelope;
|
|
434
|
+
set?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
435
|
+
disconnect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
436
|
+
delete?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
437
|
+
connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
|
|
438
|
+
update?: Prisma.PropertyMediaUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyMediaUpdateWithWhereUniqueWithoutTenantInput[];
|
|
439
|
+
updateMany?: Prisma.PropertyMediaUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyMediaUpdateManyWithWhereWithoutTenantInput[];
|
|
440
|
+
deleteMany?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
|
|
441
|
+
};
|
|
380
442
|
export type PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput = {
|
|
381
443
|
create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput>;
|
|
382
444
|
connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutDisplayForPropertiesInput;
|
|
@@ -436,6 +498,63 @@ export type IntFieldUpdateOperationsInput = {
|
|
|
436
498
|
multiply?: number;
|
|
437
499
|
divide?: number;
|
|
438
500
|
};
|
|
501
|
+
export type PropertyMediaCreateWithoutTenantInput = {
|
|
502
|
+
id?: string;
|
|
503
|
+
url: string;
|
|
504
|
+
type: string;
|
|
505
|
+
caption?: string | null;
|
|
506
|
+
order?: number;
|
|
507
|
+
createdAt?: Date | string;
|
|
508
|
+
updatedAt?: Date | string;
|
|
509
|
+
property: Prisma.PropertyCreateNestedOneWithoutMediaInput;
|
|
510
|
+
displayForProperties?: Prisma.PropertyCreateNestedManyWithoutDisplayImageInput;
|
|
511
|
+
};
|
|
512
|
+
export type PropertyMediaUncheckedCreateWithoutTenantInput = {
|
|
513
|
+
id?: string;
|
|
514
|
+
propertyId: string;
|
|
515
|
+
url: string;
|
|
516
|
+
type: string;
|
|
517
|
+
caption?: string | null;
|
|
518
|
+
order?: number;
|
|
519
|
+
createdAt?: Date | string;
|
|
520
|
+
updatedAt?: Date | string;
|
|
521
|
+
displayForProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutDisplayImageInput;
|
|
522
|
+
};
|
|
523
|
+
export type PropertyMediaCreateOrConnectWithoutTenantInput = {
|
|
524
|
+
where: Prisma.PropertyMediaWhereUniqueInput;
|
|
525
|
+
create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput>;
|
|
526
|
+
};
|
|
527
|
+
export type PropertyMediaCreateManyTenantInputEnvelope = {
|
|
528
|
+
data: Prisma.PropertyMediaCreateManyTenantInput | Prisma.PropertyMediaCreateManyTenantInput[];
|
|
529
|
+
skipDuplicates?: boolean;
|
|
530
|
+
};
|
|
531
|
+
export type PropertyMediaUpsertWithWhereUniqueWithoutTenantInput = {
|
|
532
|
+
where: Prisma.PropertyMediaWhereUniqueInput;
|
|
533
|
+
update: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutTenantInput, Prisma.PropertyMediaUncheckedUpdateWithoutTenantInput>;
|
|
534
|
+
create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutTenantInput, Prisma.PropertyMediaUncheckedCreateWithoutTenantInput>;
|
|
535
|
+
};
|
|
536
|
+
export type PropertyMediaUpdateWithWhereUniqueWithoutTenantInput = {
|
|
537
|
+
where: Prisma.PropertyMediaWhereUniqueInput;
|
|
538
|
+
data: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutTenantInput, Prisma.PropertyMediaUncheckedUpdateWithoutTenantInput>;
|
|
539
|
+
};
|
|
540
|
+
export type PropertyMediaUpdateManyWithWhereWithoutTenantInput = {
|
|
541
|
+
where: Prisma.PropertyMediaScalarWhereInput;
|
|
542
|
+
data: Prisma.XOR<Prisma.PropertyMediaUpdateManyMutationInput, Prisma.PropertyMediaUncheckedUpdateManyWithoutTenantInput>;
|
|
543
|
+
};
|
|
544
|
+
export type PropertyMediaScalarWhereInput = {
|
|
545
|
+
AND?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
|
|
546
|
+
OR?: Prisma.PropertyMediaScalarWhereInput[];
|
|
547
|
+
NOT?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
|
|
548
|
+
id?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
549
|
+
tenantId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
550
|
+
propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
551
|
+
url?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
552
|
+
type?: Prisma.StringFilter<"PropertyMedia"> | string;
|
|
553
|
+
caption?: Prisma.StringNullableFilter<"PropertyMedia"> | string | null;
|
|
554
|
+
order?: Prisma.IntFilter<"PropertyMedia"> | number;
|
|
555
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
556
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
|
|
557
|
+
};
|
|
439
558
|
export type PropertyMediaCreateWithoutDisplayForPropertiesInput = {
|
|
440
559
|
id?: string;
|
|
441
560
|
url: string;
|
|
@@ -444,10 +563,12 @@ export type PropertyMediaCreateWithoutDisplayForPropertiesInput = {
|
|
|
444
563
|
order?: number;
|
|
445
564
|
createdAt?: Date | string;
|
|
446
565
|
updatedAt?: Date | string;
|
|
566
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyMediaInput;
|
|
447
567
|
property: Prisma.PropertyCreateNestedOneWithoutMediaInput;
|
|
448
568
|
};
|
|
449
569
|
export type PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput = {
|
|
450
570
|
id?: string;
|
|
571
|
+
tenantId: string;
|
|
451
572
|
propertyId: string;
|
|
452
573
|
url: string;
|
|
453
574
|
type: string;
|
|
@@ -468,10 +589,12 @@ export type PropertyMediaCreateWithoutPropertyInput = {
|
|
|
468
589
|
order?: number;
|
|
469
590
|
createdAt?: Date | string;
|
|
470
591
|
updatedAt?: Date | string;
|
|
592
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyMediaInput;
|
|
471
593
|
displayForProperties?: Prisma.PropertyCreateNestedManyWithoutDisplayImageInput;
|
|
472
594
|
};
|
|
473
595
|
export type PropertyMediaUncheckedCreateWithoutPropertyInput = {
|
|
474
596
|
id?: string;
|
|
597
|
+
tenantId: string;
|
|
475
598
|
url: string;
|
|
476
599
|
type: string;
|
|
477
600
|
caption?: string | null;
|
|
@@ -505,10 +628,12 @@ export type PropertyMediaUpdateWithoutDisplayForPropertiesInput = {
|
|
|
505
628
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
506
629
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
507
630
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
631
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyMediaNestedInput;
|
|
508
632
|
property?: Prisma.PropertyUpdateOneRequiredWithoutMediaNestedInput;
|
|
509
633
|
};
|
|
510
634
|
export type PropertyMediaUncheckedUpdateWithoutDisplayForPropertiesInput = {
|
|
511
635
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
636
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
512
637
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
638
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
514
639
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -530,21 +655,51 @@ export type PropertyMediaUpdateManyWithWhereWithoutPropertyInput = {
|
|
|
530
655
|
where: Prisma.PropertyMediaScalarWhereInput;
|
|
531
656
|
data: Prisma.XOR<Prisma.PropertyMediaUpdateManyMutationInput, Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyInput>;
|
|
532
657
|
};
|
|
533
|
-
export type
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
658
|
+
export type PropertyMediaCreateManyTenantInput = {
|
|
659
|
+
id?: string;
|
|
660
|
+
propertyId: string;
|
|
661
|
+
url: string;
|
|
662
|
+
type: string;
|
|
663
|
+
caption?: string | null;
|
|
664
|
+
order?: number;
|
|
665
|
+
createdAt?: Date | string;
|
|
666
|
+
updatedAt?: Date | string;
|
|
667
|
+
};
|
|
668
|
+
export type PropertyMediaUpdateWithoutTenantInput = {
|
|
669
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
670
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
671
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
672
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
673
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
674
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
675
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
676
|
+
property?: Prisma.PropertyUpdateOneRequiredWithoutMediaNestedInput;
|
|
677
|
+
displayForProperties?: Prisma.PropertyUpdateManyWithoutDisplayImageNestedInput;
|
|
678
|
+
};
|
|
679
|
+
export type PropertyMediaUncheckedUpdateWithoutTenantInput = {
|
|
680
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
681
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
682
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
683
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
684
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
685
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
686
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
687
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
688
|
+
displayForProperties?: Prisma.PropertyUncheckedUpdateManyWithoutDisplayImageNestedInput;
|
|
689
|
+
};
|
|
690
|
+
export type PropertyMediaUncheckedUpdateManyWithoutTenantInput = {
|
|
691
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
692
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
694
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
695
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
696
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
697
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
698
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
545
699
|
};
|
|
546
700
|
export type PropertyMediaCreateManyPropertyInput = {
|
|
547
701
|
id?: string;
|
|
702
|
+
tenantId: string;
|
|
548
703
|
url: string;
|
|
549
704
|
type: string;
|
|
550
705
|
caption?: string | null;
|
|
@@ -560,10 +715,12 @@ export type PropertyMediaUpdateWithoutPropertyInput = {
|
|
|
560
715
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
561
716
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
562
717
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
718
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyMediaNestedInput;
|
|
563
719
|
displayForProperties?: Prisma.PropertyUpdateManyWithoutDisplayImageNestedInput;
|
|
564
720
|
};
|
|
565
721
|
export type PropertyMediaUncheckedUpdateWithoutPropertyInput = {
|
|
566
722
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
723
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
567
724
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
568
725
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
726
|
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -574,6 +731,7 @@ export type PropertyMediaUncheckedUpdateWithoutPropertyInput = {
|
|
|
574
731
|
};
|
|
575
732
|
export type PropertyMediaUncheckedUpdateManyWithoutPropertyInput = {
|
|
576
733
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
734
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
577
735
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
578
736
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
579
737
|
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -607,6 +765,7 @@ export type PropertyMediaCountOutputTypeCountDisplayForPropertiesArgs<ExtArgs ex
|
|
|
607
765
|
};
|
|
608
766
|
export type PropertyMediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
609
767
|
id?: boolean;
|
|
768
|
+
tenantId?: boolean;
|
|
610
769
|
propertyId?: boolean;
|
|
611
770
|
url?: boolean;
|
|
612
771
|
type?: boolean;
|
|
@@ -614,12 +773,14 @@ export type PropertyMediaSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
614
773
|
order?: boolean;
|
|
615
774
|
createdAt?: boolean;
|
|
616
775
|
updatedAt?: boolean;
|
|
776
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
617
777
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
618
778
|
displayForProperties?: boolean | Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>;
|
|
619
779
|
_count?: boolean | Prisma.PropertyMediaCountOutputTypeDefaultArgs<ExtArgs>;
|
|
620
780
|
}, ExtArgs["result"]["propertyMedia"]>;
|
|
621
781
|
export type PropertyMediaSelectScalar = {
|
|
622
782
|
id?: boolean;
|
|
783
|
+
tenantId?: boolean;
|
|
623
784
|
propertyId?: boolean;
|
|
624
785
|
url?: boolean;
|
|
625
786
|
type?: boolean;
|
|
@@ -628,8 +789,9 @@ export type PropertyMediaSelectScalar = {
|
|
|
628
789
|
createdAt?: boolean;
|
|
629
790
|
updatedAt?: boolean;
|
|
630
791
|
};
|
|
631
|
-
export type PropertyMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyMedia"]>;
|
|
792
|
+
export type PropertyMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyMedia"]>;
|
|
632
793
|
export type PropertyMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
794
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
633
795
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
634
796
|
displayForProperties?: boolean | Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>;
|
|
635
797
|
_count?: boolean | Prisma.PropertyMediaCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -637,11 +799,13 @@ export type PropertyMediaInclude<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
637
799
|
export type $PropertyMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
638
800
|
name: "PropertyMedia";
|
|
639
801
|
objects: {
|
|
802
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
640
803
|
property: Prisma.$PropertyPayload<ExtArgs>;
|
|
641
804
|
displayForProperties: Prisma.$PropertyPayload<ExtArgs>[];
|
|
642
805
|
};
|
|
643
806
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
644
807
|
id: string;
|
|
808
|
+
tenantId: string;
|
|
645
809
|
propertyId: string;
|
|
646
810
|
url: string;
|
|
647
811
|
type: string;
|
|
@@ -926,6 +1090,7 @@ export interface PropertyMediaDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
926
1090
|
*/
|
|
927
1091
|
export interface Prisma__PropertyMediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
928
1092
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1093
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
929
1094
|
property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
930
1095
|
displayForProperties<T extends Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
931
1096
|
/**
|
|
@@ -954,6 +1119,7 @@ export interface Prisma__PropertyMediaClient<T, Null = never, ExtArgs extends ru
|
|
|
954
1119
|
*/
|
|
955
1120
|
export interface PropertyMediaFieldRefs {
|
|
956
1121
|
readonly id: Prisma.FieldRef<"PropertyMedia", 'String'>;
|
|
1122
|
+
readonly tenantId: Prisma.FieldRef<"PropertyMedia", 'String'>;
|
|
957
1123
|
readonly propertyId: Prisma.FieldRef<"PropertyMedia", 'String'>;
|
|
958
1124
|
readonly url: Prisma.FieldRef<"PropertyMedia", 'String'>;
|
|
959
1125
|
readonly type: Prisma.FieldRef<"PropertyMedia", 'String'>;
|