@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 PropertyVariantMediaSumAggregateOutputType = {
|
|
|
20
20
|
};
|
|
21
21
|
export type PropertyVariantMediaMinAggregateOutputType = {
|
|
22
22
|
id: string | null;
|
|
23
|
+
tenantId: string | null;
|
|
23
24
|
variantId: string | null;
|
|
24
25
|
url: string | null;
|
|
25
26
|
type: string | null;
|
|
@@ -30,6 +31,7 @@ export type PropertyVariantMediaMinAggregateOutputType = {
|
|
|
30
31
|
};
|
|
31
32
|
export type PropertyVariantMediaMaxAggregateOutputType = {
|
|
32
33
|
id: string | null;
|
|
34
|
+
tenantId: string | null;
|
|
33
35
|
variantId: string | null;
|
|
34
36
|
url: string | null;
|
|
35
37
|
type: string | null;
|
|
@@ -40,6 +42,7 @@ export type PropertyVariantMediaMaxAggregateOutputType = {
|
|
|
40
42
|
};
|
|
41
43
|
export type PropertyVariantMediaCountAggregateOutputType = {
|
|
42
44
|
id: number;
|
|
45
|
+
tenantId: number;
|
|
43
46
|
variantId: number;
|
|
44
47
|
url: number;
|
|
45
48
|
type: number;
|
|
@@ -57,6 +60,7 @@ export type PropertyVariantMediaSumAggregateInputType = {
|
|
|
57
60
|
};
|
|
58
61
|
export type PropertyVariantMediaMinAggregateInputType = {
|
|
59
62
|
id?: true;
|
|
63
|
+
tenantId?: true;
|
|
60
64
|
variantId?: true;
|
|
61
65
|
url?: true;
|
|
62
66
|
type?: true;
|
|
@@ -67,6 +71,7 @@ export type PropertyVariantMediaMinAggregateInputType = {
|
|
|
67
71
|
};
|
|
68
72
|
export type PropertyVariantMediaMaxAggregateInputType = {
|
|
69
73
|
id?: true;
|
|
74
|
+
tenantId?: true;
|
|
70
75
|
variantId?: true;
|
|
71
76
|
url?: true;
|
|
72
77
|
type?: true;
|
|
@@ -77,6 +82,7 @@ export type PropertyVariantMediaMaxAggregateInputType = {
|
|
|
77
82
|
};
|
|
78
83
|
export type PropertyVariantMediaCountAggregateInputType = {
|
|
79
84
|
id?: true;
|
|
85
|
+
tenantId?: true;
|
|
80
86
|
variantId?: true;
|
|
81
87
|
url?: true;
|
|
82
88
|
type?: true;
|
|
@@ -164,6 +170,7 @@ export type PropertyVariantMediaGroupByArgs<ExtArgs extends runtime.Types.Extens
|
|
|
164
170
|
};
|
|
165
171
|
export type PropertyVariantMediaGroupByOutputType = {
|
|
166
172
|
id: string;
|
|
173
|
+
tenantId: string;
|
|
167
174
|
variantId: string;
|
|
168
175
|
url: string;
|
|
169
176
|
type: string;
|
|
@@ -185,6 +192,7 @@ export type PropertyVariantMediaWhereInput = {
|
|
|
185
192
|
OR?: Prisma.PropertyVariantMediaWhereInput[];
|
|
186
193
|
NOT?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
187
194
|
id?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
195
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
188
196
|
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
189
197
|
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
190
198
|
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
@@ -192,10 +200,12 @@ export type PropertyVariantMediaWhereInput = {
|
|
|
192
200
|
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
193
201
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
194
202
|
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
203
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
195
204
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
196
205
|
};
|
|
197
206
|
export type PropertyVariantMediaOrderByWithRelationInput = {
|
|
198
207
|
id?: Prisma.SortOrder;
|
|
208
|
+
tenantId?: Prisma.SortOrder;
|
|
199
209
|
variantId?: Prisma.SortOrder;
|
|
200
210
|
url?: Prisma.SortOrder;
|
|
201
211
|
type?: Prisma.SortOrder;
|
|
@@ -203,6 +213,7 @@ export type PropertyVariantMediaOrderByWithRelationInput = {
|
|
|
203
213
|
order?: Prisma.SortOrder;
|
|
204
214
|
createdAt?: Prisma.SortOrder;
|
|
205
215
|
updatedAt?: Prisma.SortOrder;
|
|
216
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
206
217
|
variant?: Prisma.PropertyVariantOrderByWithRelationInput;
|
|
207
218
|
_relevance?: Prisma.PropertyVariantMediaOrderByRelevanceInput;
|
|
208
219
|
};
|
|
@@ -211,6 +222,7 @@ export type PropertyVariantMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
|
211
222
|
AND?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
212
223
|
OR?: Prisma.PropertyVariantMediaWhereInput[];
|
|
213
224
|
NOT?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
225
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
214
226
|
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
215
227
|
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
216
228
|
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
@@ -218,10 +230,12 @@ export type PropertyVariantMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
|
218
230
|
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
219
231
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
220
232
|
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
233
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
221
234
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
222
235
|
}, "id">;
|
|
223
236
|
export type PropertyVariantMediaOrderByWithAggregationInput = {
|
|
224
237
|
id?: Prisma.SortOrder;
|
|
238
|
+
tenantId?: Prisma.SortOrder;
|
|
225
239
|
variantId?: Prisma.SortOrder;
|
|
226
240
|
url?: Prisma.SortOrder;
|
|
227
241
|
type?: Prisma.SortOrder;
|
|
@@ -240,6 +254,7 @@ export type PropertyVariantMediaScalarWhereWithAggregatesInput = {
|
|
|
240
254
|
OR?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput[];
|
|
241
255
|
NOT?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput | Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput[];
|
|
242
256
|
id?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
257
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
243
258
|
variantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
244
259
|
url?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
245
260
|
type?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
@@ -256,10 +271,12 @@ export type PropertyVariantMediaCreateInput = {
|
|
|
256
271
|
order?: number;
|
|
257
272
|
createdAt?: Date | string;
|
|
258
273
|
updatedAt?: Date | string;
|
|
274
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantMediaInput;
|
|
259
275
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutMediaInput;
|
|
260
276
|
};
|
|
261
277
|
export type PropertyVariantMediaUncheckedCreateInput = {
|
|
262
278
|
id?: string;
|
|
279
|
+
tenantId: string;
|
|
263
280
|
variantId: string;
|
|
264
281
|
url: string;
|
|
265
282
|
type: string;
|
|
@@ -276,10 +293,12 @@ export type PropertyVariantMediaUpdateInput = {
|
|
|
276
293
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
277
294
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
278
295
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
296
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantMediaNestedInput;
|
|
279
297
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutMediaNestedInput;
|
|
280
298
|
};
|
|
281
299
|
export type PropertyVariantMediaUncheckedUpdateInput = {
|
|
282
300
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
302
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
303
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
304
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -290,6 +309,7 @@ export type PropertyVariantMediaUncheckedUpdateInput = {
|
|
|
290
309
|
};
|
|
291
310
|
export type PropertyVariantMediaCreateManyInput = {
|
|
292
311
|
id?: string;
|
|
312
|
+
tenantId: string;
|
|
293
313
|
variantId: string;
|
|
294
314
|
url: string;
|
|
295
315
|
type: string;
|
|
@@ -309,6 +329,7 @@ export type PropertyVariantMediaUpdateManyMutationInput = {
|
|
|
309
329
|
};
|
|
310
330
|
export type PropertyVariantMediaUncheckedUpdateManyInput = {
|
|
311
331
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
332
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
333
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
313
334
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
335
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -332,6 +353,7 @@ export type PropertyVariantMediaOrderByRelevanceInput = {
|
|
|
332
353
|
};
|
|
333
354
|
export type PropertyVariantMediaCountOrderByAggregateInput = {
|
|
334
355
|
id?: Prisma.SortOrder;
|
|
356
|
+
tenantId?: Prisma.SortOrder;
|
|
335
357
|
variantId?: Prisma.SortOrder;
|
|
336
358
|
url?: Prisma.SortOrder;
|
|
337
359
|
type?: Prisma.SortOrder;
|
|
@@ -345,6 +367,7 @@ export type PropertyVariantMediaAvgOrderByAggregateInput = {
|
|
|
345
367
|
};
|
|
346
368
|
export type PropertyVariantMediaMaxOrderByAggregateInput = {
|
|
347
369
|
id?: Prisma.SortOrder;
|
|
370
|
+
tenantId?: Prisma.SortOrder;
|
|
348
371
|
variantId?: Prisma.SortOrder;
|
|
349
372
|
url?: Prisma.SortOrder;
|
|
350
373
|
type?: Prisma.SortOrder;
|
|
@@ -355,6 +378,7 @@ export type PropertyVariantMediaMaxOrderByAggregateInput = {
|
|
|
355
378
|
};
|
|
356
379
|
export type PropertyVariantMediaMinOrderByAggregateInput = {
|
|
357
380
|
id?: Prisma.SortOrder;
|
|
381
|
+
tenantId?: Prisma.SortOrder;
|
|
358
382
|
variantId?: Prisma.SortOrder;
|
|
359
383
|
url?: Prisma.SortOrder;
|
|
360
384
|
type?: Prisma.SortOrder;
|
|
@@ -366,6 +390,44 @@ export type PropertyVariantMediaMinOrderByAggregateInput = {
|
|
|
366
390
|
export type PropertyVariantMediaSumOrderByAggregateInput = {
|
|
367
391
|
order?: Prisma.SortOrder;
|
|
368
392
|
};
|
|
393
|
+
export type PropertyVariantMediaCreateNestedManyWithoutTenantInput = {
|
|
394
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantMediaCreateWithoutTenantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput[];
|
|
395
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput[];
|
|
396
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyTenantInputEnvelope;
|
|
397
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
398
|
+
};
|
|
399
|
+
export type PropertyVariantMediaUncheckedCreateNestedManyWithoutTenantInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantMediaCreateWithoutTenantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput[];
|
|
401
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput[];
|
|
402
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyTenantInputEnvelope;
|
|
403
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
404
|
+
};
|
|
405
|
+
export type PropertyVariantMediaUpdateManyWithoutTenantNestedInput = {
|
|
406
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantMediaCreateWithoutTenantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput[];
|
|
407
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput[];
|
|
408
|
+
upsert?: Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutTenantInput[];
|
|
409
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyTenantInputEnvelope;
|
|
410
|
+
set?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
411
|
+
disconnect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
412
|
+
delete?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
413
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
414
|
+
update?: Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutTenantInput[];
|
|
415
|
+
updateMany?: Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutTenantInput[];
|
|
416
|
+
deleteMany?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
417
|
+
};
|
|
418
|
+
export type PropertyVariantMediaUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantMediaCreateWithoutTenantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput[];
|
|
420
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutTenantInput[];
|
|
421
|
+
upsert?: Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutTenantInput[];
|
|
422
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyTenantInputEnvelope;
|
|
423
|
+
set?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
424
|
+
disconnect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
425
|
+
delete?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
426
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
427
|
+
update?: Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutTenantInput[];
|
|
428
|
+
updateMany?: Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutTenantInput[];
|
|
429
|
+
deleteMany?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
430
|
+
};
|
|
369
431
|
export type PropertyVariantMediaCreateNestedManyWithoutVariantInput = {
|
|
370
432
|
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantMediaCreateWithoutVariantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput[];
|
|
371
433
|
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput[];
|
|
@@ -404,6 +466,61 @@ export type PropertyVariantMediaUncheckedUpdateManyWithoutVariantNestedInput = {
|
|
|
404
466
|
updateMany?: Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput[];
|
|
405
467
|
deleteMany?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
406
468
|
};
|
|
469
|
+
export type PropertyVariantMediaCreateWithoutTenantInput = {
|
|
470
|
+
id?: string;
|
|
471
|
+
url: string;
|
|
472
|
+
type: string;
|
|
473
|
+
caption?: string | null;
|
|
474
|
+
order?: number;
|
|
475
|
+
createdAt?: Date | string;
|
|
476
|
+
updatedAt?: Date | string;
|
|
477
|
+
variant: Prisma.PropertyVariantCreateNestedOneWithoutMediaInput;
|
|
478
|
+
};
|
|
479
|
+
export type PropertyVariantMediaUncheckedCreateWithoutTenantInput = {
|
|
480
|
+
id?: string;
|
|
481
|
+
variantId: string;
|
|
482
|
+
url: string;
|
|
483
|
+
type: string;
|
|
484
|
+
caption?: string | null;
|
|
485
|
+
order?: number;
|
|
486
|
+
createdAt?: Date | string;
|
|
487
|
+
updatedAt?: Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type PropertyVariantMediaCreateOrConnectWithoutTenantInput = {
|
|
490
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
491
|
+
create: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput>;
|
|
492
|
+
};
|
|
493
|
+
export type PropertyVariantMediaCreateManyTenantInputEnvelope = {
|
|
494
|
+
data: Prisma.PropertyVariantMediaCreateManyTenantInput | Prisma.PropertyVariantMediaCreateManyTenantInput[];
|
|
495
|
+
skipDuplicates?: boolean;
|
|
496
|
+
};
|
|
497
|
+
export type PropertyVariantMediaUpsertWithWhereUniqueWithoutTenantInput = {
|
|
498
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
499
|
+
update: Prisma.XOR<Prisma.PropertyVariantMediaUpdateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedUpdateWithoutTenantInput>;
|
|
500
|
+
create: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutTenantInput>;
|
|
501
|
+
};
|
|
502
|
+
export type PropertyVariantMediaUpdateWithWhereUniqueWithoutTenantInput = {
|
|
503
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
504
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateWithoutTenantInput, Prisma.PropertyVariantMediaUncheckedUpdateWithoutTenantInput>;
|
|
505
|
+
};
|
|
506
|
+
export type PropertyVariantMediaUpdateManyWithWhereWithoutTenantInput = {
|
|
507
|
+
where: Prisma.PropertyVariantMediaScalarWhereInput;
|
|
508
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateManyMutationInput, Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutTenantInput>;
|
|
509
|
+
};
|
|
510
|
+
export type PropertyVariantMediaScalarWhereInput = {
|
|
511
|
+
AND?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
512
|
+
OR?: Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
513
|
+
NOT?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
514
|
+
id?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
515
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
516
|
+
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
517
|
+
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
518
|
+
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
519
|
+
caption?: Prisma.StringNullableFilter<"PropertyVariantMedia"> | string | null;
|
|
520
|
+
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
521
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
522
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
523
|
+
};
|
|
407
524
|
export type PropertyVariantMediaCreateWithoutVariantInput = {
|
|
408
525
|
id?: string;
|
|
409
526
|
url: string;
|
|
@@ -412,9 +529,11 @@ export type PropertyVariantMediaCreateWithoutVariantInput = {
|
|
|
412
529
|
order?: number;
|
|
413
530
|
createdAt?: Date | string;
|
|
414
531
|
updatedAt?: Date | string;
|
|
532
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantMediaInput;
|
|
415
533
|
};
|
|
416
534
|
export type PropertyVariantMediaUncheckedCreateWithoutVariantInput = {
|
|
417
535
|
id?: string;
|
|
536
|
+
tenantId: string;
|
|
418
537
|
url: string;
|
|
419
538
|
type: string;
|
|
420
539
|
caption?: string | null;
|
|
@@ -443,21 +562,49 @@ export type PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput = {
|
|
|
443
562
|
where: Prisma.PropertyVariantMediaScalarWhereInput;
|
|
444
563
|
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateManyMutationInput, Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutVariantInput>;
|
|
445
564
|
};
|
|
446
|
-
export type
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
565
|
+
export type PropertyVariantMediaCreateManyTenantInput = {
|
|
566
|
+
id?: string;
|
|
567
|
+
variantId: string;
|
|
568
|
+
url: string;
|
|
569
|
+
type: string;
|
|
570
|
+
caption?: string | null;
|
|
571
|
+
order?: number;
|
|
572
|
+
createdAt?: Date | string;
|
|
573
|
+
updatedAt?: Date | string;
|
|
574
|
+
};
|
|
575
|
+
export type PropertyVariantMediaUpdateWithoutTenantInput = {
|
|
576
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
577
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
578
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
579
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
580
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
581
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
582
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
583
|
+
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutMediaNestedInput;
|
|
584
|
+
};
|
|
585
|
+
export type PropertyVariantMediaUncheckedUpdateWithoutTenantInput = {
|
|
586
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
587
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
588
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
589
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
590
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
591
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
592
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
593
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
594
|
+
};
|
|
595
|
+
export type PropertyVariantMediaUncheckedUpdateManyWithoutTenantInput = {
|
|
596
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
598
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
599
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
600
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
601
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
602
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
603
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
458
604
|
};
|
|
459
605
|
export type PropertyVariantMediaCreateManyVariantInput = {
|
|
460
606
|
id?: string;
|
|
607
|
+
tenantId: string;
|
|
461
608
|
url: string;
|
|
462
609
|
type: string;
|
|
463
610
|
caption?: string | null;
|
|
@@ -473,9 +620,11 @@ export type PropertyVariantMediaUpdateWithoutVariantInput = {
|
|
|
473
620
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
474
621
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
475
622
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
623
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantMediaNestedInput;
|
|
476
624
|
};
|
|
477
625
|
export type PropertyVariantMediaUncheckedUpdateWithoutVariantInput = {
|
|
478
626
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
627
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
479
628
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
629
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
630
|
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -485,6 +634,7 @@ export type PropertyVariantMediaUncheckedUpdateWithoutVariantInput = {
|
|
|
485
634
|
};
|
|
486
635
|
export type PropertyVariantMediaUncheckedUpdateManyWithoutVariantInput = {
|
|
487
636
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
637
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
488
638
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
489
639
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
490
640
|
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -494,6 +644,7 @@ export type PropertyVariantMediaUncheckedUpdateManyWithoutVariantInput = {
|
|
|
494
644
|
};
|
|
495
645
|
export type PropertyVariantMediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
496
646
|
id?: boolean;
|
|
647
|
+
tenantId?: boolean;
|
|
497
648
|
variantId?: boolean;
|
|
498
649
|
url?: boolean;
|
|
499
650
|
type?: boolean;
|
|
@@ -501,10 +652,12 @@ export type PropertyVariantMediaSelect<ExtArgs extends runtime.Types.Extensions.
|
|
|
501
652
|
order?: boolean;
|
|
502
653
|
createdAt?: boolean;
|
|
503
654
|
updatedAt?: boolean;
|
|
655
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
504
656
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
505
657
|
}, ExtArgs["result"]["propertyVariantMedia"]>;
|
|
506
658
|
export type PropertyVariantMediaSelectScalar = {
|
|
507
659
|
id?: boolean;
|
|
660
|
+
tenantId?: boolean;
|
|
508
661
|
variantId?: boolean;
|
|
509
662
|
url?: boolean;
|
|
510
663
|
type?: boolean;
|
|
@@ -513,17 +666,20 @@ export type PropertyVariantMediaSelectScalar = {
|
|
|
513
666
|
createdAt?: boolean;
|
|
514
667
|
updatedAt?: boolean;
|
|
515
668
|
};
|
|
516
|
-
export type PropertyVariantMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "variantId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyVariantMedia"]>;
|
|
669
|
+
export type PropertyVariantMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "variantId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyVariantMedia"]>;
|
|
517
670
|
export type PropertyVariantMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
671
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
518
672
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
519
673
|
};
|
|
520
674
|
export type $PropertyVariantMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
521
675
|
name: "PropertyVariantMedia";
|
|
522
676
|
objects: {
|
|
677
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
523
678
|
variant: Prisma.$PropertyVariantPayload<ExtArgs>;
|
|
524
679
|
};
|
|
525
680
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
526
681
|
id: string;
|
|
682
|
+
tenantId: string;
|
|
527
683
|
variantId: string;
|
|
528
684
|
url: string;
|
|
529
685
|
type: string;
|
|
@@ -808,6 +964,7 @@ export interface PropertyVariantMediaDelegate<ExtArgs extends runtime.Types.Exte
|
|
|
808
964
|
*/
|
|
809
965
|
export interface Prisma__PropertyVariantMediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
810
966
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
967
|
+
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>;
|
|
811
968
|
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>;
|
|
812
969
|
/**
|
|
813
970
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -835,6 +992,7 @@ export interface Prisma__PropertyVariantMediaClient<T, Null = never, ExtArgs ext
|
|
|
835
992
|
*/
|
|
836
993
|
export interface PropertyVariantMediaFieldRefs {
|
|
837
994
|
readonly id: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
995
|
+
readonly tenantId: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
838
996
|
readonly variantId: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
839
997
|
readonly url: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
840
998
|
readonly type: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|