@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
|
@@ -12,6 +12,7 @@ export type AggregatePropertyDocument = {
|
|
|
12
12
|
};
|
|
13
13
|
export type PropertyDocumentMinAggregateOutputType = {
|
|
14
14
|
id: string | null;
|
|
15
|
+
tenantId: string | null;
|
|
15
16
|
propertyId: string | null;
|
|
16
17
|
name: string | null;
|
|
17
18
|
url: string | null;
|
|
@@ -21,6 +22,7 @@ export type PropertyDocumentMinAggregateOutputType = {
|
|
|
21
22
|
};
|
|
22
23
|
export type PropertyDocumentMaxAggregateOutputType = {
|
|
23
24
|
id: string | null;
|
|
25
|
+
tenantId: string | null;
|
|
24
26
|
propertyId: string | null;
|
|
25
27
|
name: string | null;
|
|
26
28
|
url: string | null;
|
|
@@ -30,6 +32,7 @@ export type PropertyDocumentMaxAggregateOutputType = {
|
|
|
30
32
|
};
|
|
31
33
|
export type PropertyDocumentCountAggregateOutputType = {
|
|
32
34
|
id: number;
|
|
35
|
+
tenantId: number;
|
|
33
36
|
propertyId: number;
|
|
34
37
|
name: number;
|
|
35
38
|
url: number;
|
|
@@ -40,6 +43,7 @@ export type PropertyDocumentCountAggregateOutputType = {
|
|
|
40
43
|
};
|
|
41
44
|
export type PropertyDocumentMinAggregateInputType = {
|
|
42
45
|
id?: true;
|
|
46
|
+
tenantId?: true;
|
|
43
47
|
propertyId?: true;
|
|
44
48
|
name?: true;
|
|
45
49
|
url?: true;
|
|
@@ -49,6 +53,7 @@ export type PropertyDocumentMinAggregateInputType = {
|
|
|
49
53
|
};
|
|
50
54
|
export type PropertyDocumentMaxAggregateInputType = {
|
|
51
55
|
id?: true;
|
|
56
|
+
tenantId?: true;
|
|
52
57
|
propertyId?: true;
|
|
53
58
|
name?: true;
|
|
54
59
|
url?: true;
|
|
@@ -58,6 +63,7 @@ export type PropertyDocumentMaxAggregateInputType = {
|
|
|
58
63
|
};
|
|
59
64
|
export type PropertyDocumentCountAggregateInputType = {
|
|
60
65
|
id?: true;
|
|
66
|
+
tenantId?: true;
|
|
61
67
|
propertyId?: true;
|
|
62
68
|
name?: true;
|
|
63
69
|
url?: true;
|
|
@@ -130,6 +136,7 @@ export type PropertyDocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
130
136
|
};
|
|
131
137
|
export type PropertyDocumentGroupByOutputType = {
|
|
132
138
|
id: string;
|
|
139
|
+
tenantId: string;
|
|
133
140
|
propertyId: string;
|
|
134
141
|
name: string;
|
|
135
142
|
url: string;
|
|
@@ -148,22 +155,26 @@ export type PropertyDocumentWhereInput = {
|
|
|
148
155
|
OR?: Prisma.PropertyDocumentWhereInput[];
|
|
149
156
|
NOT?: Prisma.PropertyDocumentWhereInput | Prisma.PropertyDocumentWhereInput[];
|
|
150
157
|
id?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
158
|
+
tenantId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
151
159
|
propertyId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
152
160
|
name?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
153
161
|
url?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
154
162
|
type?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
155
163
|
createdAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
156
164
|
updatedAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
165
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
157
166
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
158
167
|
};
|
|
159
168
|
export type PropertyDocumentOrderByWithRelationInput = {
|
|
160
169
|
id?: Prisma.SortOrder;
|
|
170
|
+
tenantId?: Prisma.SortOrder;
|
|
161
171
|
propertyId?: Prisma.SortOrder;
|
|
162
172
|
name?: Prisma.SortOrder;
|
|
163
173
|
url?: Prisma.SortOrder;
|
|
164
174
|
type?: Prisma.SortOrder;
|
|
165
175
|
createdAt?: Prisma.SortOrder;
|
|
166
176
|
updatedAt?: Prisma.SortOrder;
|
|
177
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
167
178
|
property?: Prisma.PropertyOrderByWithRelationInput;
|
|
168
179
|
_relevance?: Prisma.PropertyDocumentOrderByRelevanceInput;
|
|
169
180
|
};
|
|
@@ -172,16 +183,19 @@ export type PropertyDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
172
183
|
AND?: Prisma.PropertyDocumentWhereInput | Prisma.PropertyDocumentWhereInput[];
|
|
173
184
|
OR?: Prisma.PropertyDocumentWhereInput[];
|
|
174
185
|
NOT?: Prisma.PropertyDocumentWhereInput | Prisma.PropertyDocumentWhereInput[];
|
|
186
|
+
tenantId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
175
187
|
propertyId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
176
188
|
name?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
177
189
|
url?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
178
190
|
type?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
179
191
|
createdAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
180
192
|
updatedAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
193
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
181
194
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
182
195
|
}, "id">;
|
|
183
196
|
export type PropertyDocumentOrderByWithAggregationInput = {
|
|
184
197
|
id?: Prisma.SortOrder;
|
|
198
|
+
tenantId?: Prisma.SortOrder;
|
|
185
199
|
propertyId?: Prisma.SortOrder;
|
|
186
200
|
name?: Prisma.SortOrder;
|
|
187
201
|
url?: Prisma.SortOrder;
|
|
@@ -197,6 +211,7 @@ export type PropertyDocumentScalarWhereWithAggregatesInput = {
|
|
|
197
211
|
OR?: Prisma.PropertyDocumentScalarWhereWithAggregatesInput[];
|
|
198
212
|
NOT?: Prisma.PropertyDocumentScalarWhereWithAggregatesInput | Prisma.PropertyDocumentScalarWhereWithAggregatesInput[];
|
|
199
213
|
id?: Prisma.StringWithAggregatesFilter<"PropertyDocument"> | string;
|
|
214
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyDocument"> | string;
|
|
200
215
|
propertyId?: Prisma.StringWithAggregatesFilter<"PropertyDocument"> | string;
|
|
201
216
|
name?: Prisma.StringWithAggregatesFilter<"PropertyDocument"> | string;
|
|
202
217
|
url?: Prisma.StringWithAggregatesFilter<"PropertyDocument"> | string;
|
|
@@ -211,10 +226,12 @@ export type PropertyDocumentCreateInput = {
|
|
|
211
226
|
type: string;
|
|
212
227
|
createdAt?: Date | string;
|
|
213
228
|
updatedAt?: Date | string;
|
|
229
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyDocumentsInput;
|
|
214
230
|
property: Prisma.PropertyCreateNestedOneWithoutDocumentsInput;
|
|
215
231
|
};
|
|
216
232
|
export type PropertyDocumentUncheckedCreateInput = {
|
|
217
233
|
id?: string;
|
|
234
|
+
tenantId: string;
|
|
218
235
|
propertyId: string;
|
|
219
236
|
name: string;
|
|
220
237
|
url: string;
|
|
@@ -229,10 +246,12 @@ export type PropertyDocumentUpdateInput = {
|
|
|
229
246
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
247
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
231
248
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
249
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyDocumentsNestedInput;
|
|
232
250
|
property?: Prisma.PropertyUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
233
251
|
};
|
|
234
252
|
export type PropertyDocumentUncheckedUpdateInput = {
|
|
235
253
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
254
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
255
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
237
256
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
238
257
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -242,6 +261,7 @@ export type PropertyDocumentUncheckedUpdateInput = {
|
|
|
242
261
|
};
|
|
243
262
|
export type PropertyDocumentCreateManyInput = {
|
|
244
263
|
id?: string;
|
|
264
|
+
tenantId: string;
|
|
245
265
|
propertyId: string;
|
|
246
266
|
name: string;
|
|
247
267
|
url: string;
|
|
@@ -259,6 +279,7 @@ export type PropertyDocumentUpdateManyMutationInput = {
|
|
|
259
279
|
};
|
|
260
280
|
export type PropertyDocumentUncheckedUpdateManyInput = {
|
|
261
281
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
283
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
284
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
285
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -281,6 +302,7 @@ export type PropertyDocumentOrderByRelevanceInput = {
|
|
|
281
302
|
};
|
|
282
303
|
export type PropertyDocumentCountOrderByAggregateInput = {
|
|
283
304
|
id?: Prisma.SortOrder;
|
|
305
|
+
tenantId?: Prisma.SortOrder;
|
|
284
306
|
propertyId?: Prisma.SortOrder;
|
|
285
307
|
name?: Prisma.SortOrder;
|
|
286
308
|
url?: Prisma.SortOrder;
|
|
@@ -290,6 +312,7 @@ export type PropertyDocumentCountOrderByAggregateInput = {
|
|
|
290
312
|
};
|
|
291
313
|
export type PropertyDocumentMaxOrderByAggregateInput = {
|
|
292
314
|
id?: Prisma.SortOrder;
|
|
315
|
+
tenantId?: Prisma.SortOrder;
|
|
293
316
|
propertyId?: Prisma.SortOrder;
|
|
294
317
|
name?: Prisma.SortOrder;
|
|
295
318
|
url?: Prisma.SortOrder;
|
|
@@ -299,6 +322,7 @@ export type PropertyDocumentMaxOrderByAggregateInput = {
|
|
|
299
322
|
};
|
|
300
323
|
export type PropertyDocumentMinOrderByAggregateInput = {
|
|
301
324
|
id?: Prisma.SortOrder;
|
|
325
|
+
tenantId?: Prisma.SortOrder;
|
|
302
326
|
propertyId?: Prisma.SortOrder;
|
|
303
327
|
name?: Prisma.SortOrder;
|
|
304
328
|
url?: Prisma.SortOrder;
|
|
@@ -306,6 +330,44 @@ export type PropertyDocumentMinOrderByAggregateInput = {
|
|
|
306
330
|
createdAt?: Prisma.SortOrder;
|
|
307
331
|
updatedAt?: Prisma.SortOrder;
|
|
308
332
|
};
|
|
333
|
+
export type PropertyDocumentCreateNestedManyWithoutTenantInput = {
|
|
334
|
+
create?: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput> | Prisma.PropertyDocumentCreateWithoutTenantInput[] | Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput[];
|
|
335
|
+
connectOrCreate?: Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput | Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput[];
|
|
336
|
+
createMany?: Prisma.PropertyDocumentCreateManyTenantInputEnvelope;
|
|
337
|
+
connect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
338
|
+
};
|
|
339
|
+
export type PropertyDocumentUncheckedCreateNestedManyWithoutTenantInput = {
|
|
340
|
+
create?: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput> | Prisma.PropertyDocumentCreateWithoutTenantInput[] | Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput[];
|
|
341
|
+
connectOrCreate?: Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput | Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput[];
|
|
342
|
+
createMany?: Prisma.PropertyDocumentCreateManyTenantInputEnvelope;
|
|
343
|
+
connect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
344
|
+
};
|
|
345
|
+
export type PropertyDocumentUpdateManyWithoutTenantNestedInput = {
|
|
346
|
+
create?: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput> | Prisma.PropertyDocumentCreateWithoutTenantInput[] | Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput[];
|
|
347
|
+
connectOrCreate?: Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput | Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput[];
|
|
348
|
+
upsert?: Prisma.PropertyDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyDocumentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
349
|
+
createMany?: Prisma.PropertyDocumentCreateManyTenantInputEnvelope;
|
|
350
|
+
set?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
351
|
+
disconnect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
352
|
+
delete?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
353
|
+
connect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
354
|
+
update?: Prisma.PropertyDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyDocumentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
355
|
+
updateMany?: Prisma.PropertyDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyDocumentUpdateManyWithWhereWithoutTenantInput[];
|
|
356
|
+
deleteMany?: Prisma.PropertyDocumentScalarWhereInput | Prisma.PropertyDocumentScalarWhereInput[];
|
|
357
|
+
};
|
|
358
|
+
export type PropertyDocumentUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
359
|
+
create?: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput> | Prisma.PropertyDocumentCreateWithoutTenantInput[] | Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput[];
|
|
360
|
+
connectOrCreate?: Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput | Prisma.PropertyDocumentCreateOrConnectWithoutTenantInput[];
|
|
361
|
+
upsert?: Prisma.PropertyDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyDocumentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
362
|
+
createMany?: Prisma.PropertyDocumentCreateManyTenantInputEnvelope;
|
|
363
|
+
set?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
364
|
+
disconnect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
365
|
+
delete?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
366
|
+
connect?: Prisma.PropertyDocumentWhereUniqueInput | Prisma.PropertyDocumentWhereUniqueInput[];
|
|
367
|
+
update?: Prisma.PropertyDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyDocumentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
368
|
+
updateMany?: Prisma.PropertyDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyDocumentUpdateManyWithWhereWithoutTenantInput[];
|
|
369
|
+
deleteMany?: Prisma.PropertyDocumentScalarWhereInput | Prisma.PropertyDocumentScalarWhereInput[];
|
|
370
|
+
};
|
|
309
371
|
export type PropertyDocumentCreateNestedManyWithoutPropertyInput = {
|
|
310
372
|
create?: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutPropertyInput, Prisma.PropertyDocumentUncheckedCreateWithoutPropertyInput> | Prisma.PropertyDocumentCreateWithoutPropertyInput[] | Prisma.PropertyDocumentUncheckedCreateWithoutPropertyInput[];
|
|
311
373
|
connectOrCreate?: Prisma.PropertyDocumentCreateOrConnectWithoutPropertyInput | Prisma.PropertyDocumentCreateOrConnectWithoutPropertyInput[];
|
|
@@ -344,6 +406,58 @@ export type PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput = {
|
|
|
344
406
|
updateMany?: Prisma.PropertyDocumentUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyDocumentUpdateManyWithWhereWithoutPropertyInput[];
|
|
345
407
|
deleteMany?: Prisma.PropertyDocumentScalarWhereInput | Prisma.PropertyDocumentScalarWhereInput[];
|
|
346
408
|
};
|
|
409
|
+
export type PropertyDocumentCreateWithoutTenantInput = {
|
|
410
|
+
id?: string;
|
|
411
|
+
name: string;
|
|
412
|
+
url: string;
|
|
413
|
+
type: string;
|
|
414
|
+
createdAt?: Date | string;
|
|
415
|
+
updatedAt?: Date | string;
|
|
416
|
+
property: Prisma.PropertyCreateNestedOneWithoutDocumentsInput;
|
|
417
|
+
};
|
|
418
|
+
export type PropertyDocumentUncheckedCreateWithoutTenantInput = {
|
|
419
|
+
id?: string;
|
|
420
|
+
propertyId: string;
|
|
421
|
+
name: string;
|
|
422
|
+
url: string;
|
|
423
|
+
type: string;
|
|
424
|
+
createdAt?: Date | string;
|
|
425
|
+
updatedAt?: Date | string;
|
|
426
|
+
};
|
|
427
|
+
export type PropertyDocumentCreateOrConnectWithoutTenantInput = {
|
|
428
|
+
where: Prisma.PropertyDocumentWhereUniqueInput;
|
|
429
|
+
create: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput>;
|
|
430
|
+
};
|
|
431
|
+
export type PropertyDocumentCreateManyTenantInputEnvelope = {
|
|
432
|
+
data: Prisma.PropertyDocumentCreateManyTenantInput | Prisma.PropertyDocumentCreateManyTenantInput[];
|
|
433
|
+
skipDuplicates?: boolean;
|
|
434
|
+
};
|
|
435
|
+
export type PropertyDocumentUpsertWithWhereUniqueWithoutTenantInput = {
|
|
436
|
+
where: Prisma.PropertyDocumentWhereUniqueInput;
|
|
437
|
+
update: Prisma.XOR<Prisma.PropertyDocumentUpdateWithoutTenantInput, Prisma.PropertyDocumentUncheckedUpdateWithoutTenantInput>;
|
|
438
|
+
create: Prisma.XOR<Prisma.PropertyDocumentCreateWithoutTenantInput, Prisma.PropertyDocumentUncheckedCreateWithoutTenantInput>;
|
|
439
|
+
};
|
|
440
|
+
export type PropertyDocumentUpdateWithWhereUniqueWithoutTenantInput = {
|
|
441
|
+
where: Prisma.PropertyDocumentWhereUniqueInput;
|
|
442
|
+
data: Prisma.XOR<Prisma.PropertyDocumentUpdateWithoutTenantInput, Prisma.PropertyDocumentUncheckedUpdateWithoutTenantInput>;
|
|
443
|
+
};
|
|
444
|
+
export type PropertyDocumentUpdateManyWithWhereWithoutTenantInput = {
|
|
445
|
+
where: Prisma.PropertyDocumentScalarWhereInput;
|
|
446
|
+
data: Prisma.XOR<Prisma.PropertyDocumentUpdateManyMutationInput, Prisma.PropertyDocumentUncheckedUpdateManyWithoutTenantInput>;
|
|
447
|
+
};
|
|
448
|
+
export type PropertyDocumentScalarWhereInput = {
|
|
449
|
+
AND?: Prisma.PropertyDocumentScalarWhereInput | Prisma.PropertyDocumentScalarWhereInput[];
|
|
450
|
+
OR?: Prisma.PropertyDocumentScalarWhereInput[];
|
|
451
|
+
NOT?: Prisma.PropertyDocumentScalarWhereInput | Prisma.PropertyDocumentScalarWhereInput[];
|
|
452
|
+
id?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
453
|
+
tenantId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
454
|
+
propertyId?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
455
|
+
name?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
456
|
+
url?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
457
|
+
type?: Prisma.StringFilter<"PropertyDocument"> | string;
|
|
458
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
459
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyDocument"> | Date | string;
|
|
460
|
+
};
|
|
347
461
|
export type PropertyDocumentCreateWithoutPropertyInput = {
|
|
348
462
|
id?: string;
|
|
349
463
|
name: string;
|
|
@@ -351,9 +465,11 @@ export type PropertyDocumentCreateWithoutPropertyInput = {
|
|
|
351
465
|
type: string;
|
|
352
466
|
createdAt?: Date | string;
|
|
353
467
|
updatedAt?: Date | string;
|
|
468
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyDocumentsInput;
|
|
354
469
|
};
|
|
355
470
|
export type PropertyDocumentUncheckedCreateWithoutPropertyInput = {
|
|
356
471
|
id?: string;
|
|
472
|
+
tenantId: string;
|
|
357
473
|
name: string;
|
|
358
474
|
url: string;
|
|
359
475
|
type: string;
|
|
@@ -381,20 +497,45 @@ export type PropertyDocumentUpdateManyWithWhereWithoutPropertyInput = {
|
|
|
381
497
|
where: Prisma.PropertyDocumentScalarWhereInput;
|
|
382
498
|
data: Prisma.XOR<Prisma.PropertyDocumentUpdateManyMutationInput, Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyInput>;
|
|
383
499
|
};
|
|
384
|
-
export type
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
500
|
+
export type PropertyDocumentCreateManyTenantInput = {
|
|
501
|
+
id?: string;
|
|
502
|
+
propertyId: string;
|
|
503
|
+
name: string;
|
|
504
|
+
url: string;
|
|
505
|
+
type: string;
|
|
506
|
+
createdAt?: Date | string;
|
|
507
|
+
updatedAt?: Date | string;
|
|
508
|
+
};
|
|
509
|
+
export type PropertyDocumentUpdateWithoutTenantInput = {
|
|
510
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
512
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
514
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
515
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
516
|
+
property?: Prisma.PropertyUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
517
|
+
};
|
|
518
|
+
export type PropertyDocumentUncheckedUpdateWithoutTenantInput = {
|
|
519
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
520
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
522
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
524
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
525
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
526
|
+
};
|
|
527
|
+
export type PropertyDocumentUncheckedUpdateManyWithoutTenantInput = {
|
|
528
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
529
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
530
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
531
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
532
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
533
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
534
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
395
535
|
};
|
|
396
536
|
export type PropertyDocumentCreateManyPropertyInput = {
|
|
397
537
|
id?: string;
|
|
538
|
+
tenantId: string;
|
|
398
539
|
name: string;
|
|
399
540
|
url: string;
|
|
400
541
|
type: string;
|
|
@@ -408,9 +549,11 @@ export type PropertyDocumentUpdateWithoutPropertyInput = {
|
|
|
408
549
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
409
550
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
410
551
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
552
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyDocumentsNestedInput;
|
|
411
553
|
};
|
|
412
554
|
export type PropertyDocumentUncheckedUpdateWithoutPropertyInput = {
|
|
413
555
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
556
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
557
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
558
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
559
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -419,6 +562,7 @@ export type PropertyDocumentUncheckedUpdateWithoutPropertyInput = {
|
|
|
419
562
|
};
|
|
420
563
|
export type PropertyDocumentUncheckedUpdateManyWithoutPropertyInput = {
|
|
421
564
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
565
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
422
566
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
567
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
568
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -427,16 +571,19 @@ export type PropertyDocumentUncheckedUpdateManyWithoutPropertyInput = {
|
|
|
427
571
|
};
|
|
428
572
|
export type PropertyDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
429
573
|
id?: boolean;
|
|
574
|
+
tenantId?: boolean;
|
|
430
575
|
propertyId?: boolean;
|
|
431
576
|
name?: boolean;
|
|
432
577
|
url?: boolean;
|
|
433
578
|
type?: boolean;
|
|
434
579
|
createdAt?: boolean;
|
|
435
580
|
updatedAt?: boolean;
|
|
581
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
436
582
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
437
583
|
}, ExtArgs["result"]["propertyDocument"]>;
|
|
438
584
|
export type PropertyDocumentSelectScalar = {
|
|
439
585
|
id?: boolean;
|
|
586
|
+
tenantId?: boolean;
|
|
440
587
|
propertyId?: boolean;
|
|
441
588
|
name?: boolean;
|
|
442
589
|
url?: boolean;
|
|
@@ -444,17 +591,20 @@ export type PropertyDocumentSelectScalar = {
|
|
|
444
591
|
createdAt?: boolean;
|
|
445
592
|
updatedAt?: boolean;
|
|
446
593
|
};
|
|
447
|
-
export type PropertyDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "name" | "url" | "type" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyDocument"]>;
|
|
594
|
+
export type PropertyDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyId" | "name" | "url" | "type" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyDocument"]>;
|
|
448
595
|
export type PropertyDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
596
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
449
597
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
450
598
|
};
|
|
451
599
|
export type $PropertyDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
452
600
|
name: "PropertyDocument";
|
|
453
601
|
objects: {
|
|
602
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
454
603
|
property: Prisma.$PropertyPayload<ExtArgs>;
|
|
455
604
|
};
|
|
456
605
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
457
606
|
id: string;
|
|
607
|
+
tenantId: string;
|
|
458
608
|
propertyId: string;
|
|
459
609
|
name: string;
|
|
460
610
|
url: string;
|
|
@@ -738,6 +888,7 @@ export interface PropertyDocumentDelegate<ExtArgs extends runtime.Types.Extensio
|
|
|
738
888
|
*/
|
|
739
889
|
export interface Prisma__PropertyDocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
740
890
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
891
|
+
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>;
|
|
741
892
|
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>;
|
|
742
893
|
/**
|
|
743
894
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -765,6 +916,7 @@ export interface Prisma__PropertyDocumentClient<T, Null = never, ExtArgs extends
|
|
|
765
916
|
*/
|
|
766
917
|
export interface PropertyDocumentFieldRefs {
|
|
767
918
|
readonly id: Prisma.FieldRef<"PropertyDocument", 'String'>;
|
|
919
|
+
readonly tenantId: Prisma.FieldRef<"PropertyDocument", 'String'>;
|
|
768
920
|
readonly propertyId: Prisma.FieldRef<"PropertyDocument", 'String'>;
|
|
769
921
|
readonly name: Prisma.FieldRef<"PropertyDocument", 'String'>;
|
|
770
922
|
readonly url: Prisma.FieldRef<"PropertyDocument", 'String'>;
|