@valentine-efagene/qshelter-common 2.0.99 → 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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespace.js +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
- 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/src/prisma/tenant.js +26 -32
- 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 +143 -30
|
@@ -13,6 +13,7 @@ export type AggregateApplicationDocument = {
|
|
|
13
13
|
};
|
|
14
14
|
export type ApplicationDocumentMinAggregateOutputType = {
|
|
15
15
|
id: string | null;
|
|
16
|
+
tenantId: string | null;
|
|
16
17
|
applicationId: string | null;
|
|
17
18
|
phaseId: string | null;
|
|
18
19
|
stepId: string | null;
|
|
@@ -26,6 +27,7 @@ export type ApplicationDocumentMinAggregateOutputType = {
|
|
|
26
27
|
};
|
|
27
28
|
export type ApplicationDocumentMaxAggregateOutputType = {
|
|
28
29
|
id: string | null;
|
|
30
|
+
tenantId: string | null;
|
|
29
31
|
applicationId: string | null;
|
|
30
32
|
phaseId: string | null;
|
|
31
33
|
stepId: string | null;
|
|
@@ -39,6 +41,7 @@ export type ApplicationDocumentMaxAggregateOutputType = {
|
|
|
39
41
|
};
|
|
40
42
|
export type ApplicationDocumentCountAggregateOutputType = {
|
|
41
43
|
id: number;
|
|
44
|
+
tenantId: number;
|
|
42
45
|
applicationId: number;
|
|
43
46
|
phaseId: number;
|
|
44
47
|
stepId: number;
|
|
@@ -53,6 +56,7 @@ export type ApplicationDocumentCountAggregateOutputType = {
|
|
|
53
56
|
};
|
|
54
57
|
export type ApplicationDocumentMinAggregateInputType = {
|
|
55
58
|
id?: true;
|
|
59
|
+
tenantId?: true;
|
|
56
60
|
applicationId?: true;
|
|
57
61
|
phaseId?: true;
|
|
58
62
|
stepId?: true;
|
|
@@ -66,6 +70,7 @@ export type ApplicationDocumentMinAggregateInputType = {
|
|
|
66
70
|
};
|
|
67
71
|
export type ApplicationDocumentMaxAggregateInputType = {
|
|
68
72
|
id?: true;
|
|
73
|
+
tenantId?: true;
|
|
69
74
|
applicationId?: true;
|
|
70
75
|
phaseId?: true;
|
|
71
76
|
stepId?: true;
|
|
@@ -79,6 +84,7 @@ export type ApplicationDocumentMaxAggregateInputType = {
|
|
|
79
84
|
};
|
|
80
85
|
export type ApplicationDocumentCountAggregateInputType = {
|
|
81
86
|
id?: true;
|
|
87
|
+
tenantId?: true;
|
|
82
88
|
applicationId?: true;
|
|
83
89
|
phaseId?: true;
|
|
84
90
|
stepId?: true;
|
|
@@ -155,6 +161,7 @@ export type ApplicationDocumentGroupByArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
155
161
|
};
|
|
156
162
|
export type ApplicationDocumentGroupByOutputType = {
|
|
157
163
|
id: string;
|
|
164
|
+
tenantId: string;
|
|
158
165
|
applicationId: string;
|
|
159
166
|
phaseId: string | null;
|
|
160
167
|
stepId: string | null;
|
|
@@ -177,6 +184,7 @@ export type ApplicationDocumentWhereInput = {
|
|
|
177
184
|
OR?: Prisma.ApplicationDocumentWhereInput[];
|
|
178
185
|
NOT?: Prisma.ApplicationDocumentWhereInput | Prisma.ApplicationDocumentWhereInput[];
|
|
179
186
|
id?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
187
|
+
tenantId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
180
188
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
181
189
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
182
190
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
@@ -187,11 +195,13 @@ export type ApplicationDocumentWhereInput = {
|
|
|
187
195
|
status?: Prisma.EnumDocumentStatusFilter<"ApplicationDocument"> | $Enums.DocumentStatus;
|
|
188
196
|
createdAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
189
197
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
198
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
190
199
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
191
200
|
uploadedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
192
201
|
};
|
|
193
202
|
export type ApplicationDocumentOrderByWithRelationInput = {
|
|
194
203
|
id?: Prisma.SortOrder;
|
|
204
|
+
tenantId?: Prisma.SortOrder;
|
|
195
205
|
applicationId?: Prisma.SortOrder;
|
|
196
206
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
197
207
|
stepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -202,6 +212,7 @@ export type ApplicationDocumentOrderByWithRelationInput = {
|
|
|
202
212
|
status?: Prisma.SortOrder;
|
|
203
213
|
createdAt?: Prisma.SortOrder;
|
|
204
214
|
updatedAt?: Prisma.SortOrder;
|
|
215
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
205
216
|
application?: Prisma.ApplicationOrderByWithRelationInput;
|
|
206
217
|
uploadedBy?: Prisma.UserOrderByWithRelationInput;
|
|
207
218
|
_relevance?: Prisma.ApplicationDocumentOrderByRelevanceInput;
|
|
@@ -211,6 +222,7 @@ export type ApplicationDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
211
222
|
AND?: Prisma.ApplicationDocumentWhereInput | Prisma.ApplicationDocumentWhereInput[];
|
|
212
223
|
OR?: Prisma.ApplicationDocumentWhereInput[];
|
|
213
224
|
NOT?: Prisma.ApplicationDocumentWhereInput | Prisma.ApplicationDocumentWhereInput[];
|
|
225
|
+
tenantId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
214
226
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
215
227
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
216
228
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
@@ -221,11 +233,13 @@ export type ApplicationDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
221
233
|
status?: Prisma.EnumDocumentStatusFilter<"ApplicationDocument"> | $Enums.DocumentStatus;
|
|
222
234
|
createdAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
223
235
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
236
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
224
237
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
225
238
|
uploadedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
226
239
|
}, "id">;
|
|
227
240
|
export type ApplicationDocumentOrderByWithAggregationInput = {
|
|
228
241
|
id?: Prisma.SortOrder;
|
|
242
|
+
tenantId?: Prisma.SortOrder;
|
|
229
243
|
applicationId?: Prisma.SortOrder;
|
|
230
244
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
245
|
stepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -245,6 +259,7 @@ export type ApplicationDocumentScalarWhereWithAggregatesInput = {
|
|
|
245
259
|
OR?: Prisma.ApplicationDocumentScalarWhereWithAggregatesInput[];
|
|
246
260
|
NOT?: Prisma.ApplicationDocumentScalarWhereWithAggregatesInput | Prisma.ApplicationDocumentScalarWhereWithAggregatesInput[];
|
|
247
261
|
id?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
262
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
248
263
|
applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
249
264
|
phaseId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
250
265
|
stepId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
@@ -266,11 +281,13 @@ export type ApplicationDocumentCreateInput = {
|
|
|
266
281
|
status?: $Enums.DocumentStatus;
|
|
267
282
|
createdAt?: Date | string;
|
|
268
283
|
updatedAt?: Date | string;
|
|
284
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationDocumentsInput;
|
|
269
285
|
application: Prisma.ApplicationCreateNestedOneWithoutDocumentsInput;
|
|
270
286
|
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
271
287
|
};
|
|
272
288
|
export type ApplicationDocumentUncheckedCreateInput = {
|
|
273
289
|
id?: string;
|
|
290
|
+
tenantId: string;
|
|
274
291
|
applicationId: string;
|
|
275
292
|
phaseId?: string | null;
|
|
276
293
|
stepId?: string | null;
|
|
@@ -292,11 +309,13 @@ export type ApplicationDocumentUpdateInput = {
|
|
|
292
309
|
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
293
310
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
294
311
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
312
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationDocumentsNestedInput;
|
|
295
313
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
296
314
|
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
297
315
|
};
|
|
298
316
|
export type ApplicationDocumentUncheckedUpdateInput = {
|
|
299
317
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
318
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
319
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
320
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
302
321
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -310,6 +329,7 @@ export type ApplicationDocumentUncheckedUpdateInput = {
|
|
|
310
329
|
};
|
|
311
330
|
export type ApplicationDocumentCreateManyInput = {
|
|
312
331
|
id?: string;
|
|
332
|
+
tenantId: string;
|
|
313
333
|
applicationId: string;
|
|
314
334
|
phaseId?: string | null;
|
|
315
335
|
stepId?: string | null;
|
|
@@ -334,6 +354,7 @@ export type ApplicationDocumentUpdateManyMutationInput = {
|
|
|
334
354
|
};
|
|
335
355
|
export type ApplicationDocumentUncheckedUpdateManyInput = {
|
|
336
356
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
337
358
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
338
359
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
339
360
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -360,6 +381,7 @@ export type ApplicationDocumentOrderByRelevanceInput = {
|
|
|
360
381
|
};
|
|
361
382
|
export type ApplicationDocumentCountOrderByAggregateInput = {
|
|
362
383
|
id?: Prisma.SortOrder;
|
|
384
|
+
tenantId?: Prisma.SortOrder;
|
|
363
385
|
applicationId?: Prisma.SortOrder;
|
|
364
386
|
phaseId?: Prisma.SortOrder;
|
|
365
387
|
stepId?: Prisma.SortOrder;
|
|
@@ -373,6 +395,7 @@ export type ApplicationDocumentCountOrderByAggregateInput = {
|
|
|
373
395
|
};
|
|
374
396
|
export type ApplicationDocumentMaxOrderByAggregateInput = {
|
|
375
397
|
id?: Prisma.SortOrder;
|
|
398
|
+
tenantId?: Prisma.SortOrder;
|
|
376
399
|
applicationId?: Prisma.SortOrder;
|
|
377
400
|
phaseId?: Prisma.SortOrder;
|
|
378
401
|
stepId?: Prisma.SortOrder;
|
|
@@ -386,6 +409,7 @@ export type ApplicationDocumentMaxOrderByAggregateInput = {
|
|
|
386
409
|
};
|
|
387
410
|
export type ApplicationDocumentMinOrderByAggregateInput = {
|
|
388
411
|
id?: Prisma.SortOrder;
|
|
412
|
+
tenantId?: Prisma.SortOrder;
|
|
389
413
|
applicationId?: Prisma.SortOrder;
|
|
390
414
|
phaseId?: Prisma.SortOrder;
|
|
391
415
|
stepId?: Prisma.SortOrder;
|
|
@@ -435,6 +459,44 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutUploadedByNestedInput =
|
|
|
435
459
|
updateMany?: Prisma.ApplicationDocumentUpdateManyWithWhereWithoutUploadedByInput | Prisma.ApplicationDocumentUpdateManyWithWhereWithoutUploadedByInput[];
|
|
436
460
|
deleteMany?: Prisma.ApplicationDocumentScalarWhereInput | Prisma.ApplicationDocumentScalarWhereInput[];
|
|
437
461
|
};
|
|
462
|
+
export type ApplicationDocumentCreateNestedManyWithoutTenantInput = {
|
|
463
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationDocumentCreateWithoutTenantInput[] | Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput[];
|
|
464
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput | Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput[];
|
|
465
|
+
createMany?: Prisma.ApplicationDocumentCreateManyTenantInputEnvelope;
|
|
466
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
467
|
+
};
|
|
468
|
+
export type ApplicationDocumentUncheckedCreateNestedManyWithoutTenantInput = {
|
|
469
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationDocumentCreateWithoutTenantInput[] | Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput[];
|
|
470
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput | Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput[];
|
|
471
|
+
createMany?: Prisma.ApplicationDocumentCreateManyTenantInputEnvelope;
|
|
472
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
473
|
+
};
|
|
474
|
+
export type ApplicationDocumentUpdateManyWithoutTenantNestedInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationDocumentCreateWithoutTenantInput[] | Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput[];
|
|
476
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput | Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput[];
|
|
477
|
+
upsert?: Prisma.ApplicationDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationDocumentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
478
|
+
createMany?: Prisma.ApplicationDocumentCreateManyTenantInputEnvelope;
|
|
479
|
+
set?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
480
|
+
disconnect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
481
|
+
delete?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
482
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
483
|
+
update?: Prisma.ApplicationDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationDocumentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
484
|
+
updateMany?: Prisma.ApplicationDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationDocumentUpdateManyWithWhereWithoutTenantInput[];
|
|
485
|
+
deleteMany?: Prisma.ApplicationDocumentScalarWhereInput | Prisma.ApplicationDocumentScalarWhereInput[];
|
|
486
|
+
};
|
|
487
|
+
export type ApplicationDocumentUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
488
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationDocumentCreateWithoutTenantInput[] | Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput[];
|
|
489
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput | Prisma.ApplicationDocumentCreateOrConnectWithoutTenantInput[];
|
|
490
|
+
upsert?: Prisma.ApplicationDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationDocumentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
491
|
+
createMany?: Prisma.ApplicationDocumentCreateManyTenantInputEnvelope;
|
|
492
|
+
set?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
493
|
+
disconnect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
494
|
+
delete?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
495
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput | Prisma.ApplicationDocumentWhereUniqueInput[];
|
|
496
|
+
update?: Prisma.ApplicationDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationDocumentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
497
|
+
updateMany?: Prisma.ApplicationDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationDocumentUpdateManyWithWhereWithoutTenantInput[];
|
|
498
|
+
deleteMany?: Prisma.ApplicationDocumentScalarWhereInput | Prisma.ApplicationDocumentScalarWhereInput[];
|
|
499
|
+
};
|
|
438
500
|
export type ApplicationDocumentCreateNestedManyWithoutApplicationInput = {
|
|
439
501
|
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutApplicationInput, Prisma.ApplicationDocumentUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationDocumentCreateWithoutApplicationInput[] | Prisma.ApplicationDocumentUncheckedCreateWithoutApplicationInput[];
|
|
440
502
|
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutApplicationInput | Prisma.ApplicationDocumentCreateOrConnectWithoutApplicationInput[];
|
|
@@ -486,10 +548,12 @@ export type ApplicationDocumentCreateWithoutUploadedByInput = {
|
|
|
486
548
|
status?: $Enums.DocumentStatus;
|
|
487
549
|
createdAt?: Date | string;
|
|
488
550
|
updatedAt?: Date | string;
|
|
551
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationDocumentsInput;
|
|
489
552
|
application: Prisma.ApplicationCreateNestedOneWithoutDocumentsInput;
|
|
490
553
|
};
|
|
491
554
|
export type ApplicationDocumentUncheckedCreateWithoutUploadedByInput = {
|
|
492
555
|
id?: string;
|
|
556
|
+
tenantId: string;
|
|
493
557
|
applicationId: string;
|
|
494
558
|
phaseId?: string | null;
|
|
495
559
|
stepId?: string | null;
|
|
@@ -526,6 +590,7 @@ export type ApplicationDocumentScalarWhereInput = {
|
|
|
526
590
|
OR?: Prisma.ApplicationDocumentScalarWhereInput[];
|
|
527
591
|
NOT?: Prisma.ApplicationDocumentScalarWhereInput | Prisma.ApplicationDocumentScalarWhereInput[];
|
|
528
592
|
id?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
593
|
+
tenantId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
529
594
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
530
595
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
531
596
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
@@ -537,6 +602,53 @@ export type ApplicationDocumentScalarWhereInput = {
|
|
|
537
602
|
createdAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
538
603
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationDocument"> | Date | string;
|
|
539
604
|
};
|
|
605
|
+
export type ApplicationDocumentCreateWithoutTenantInput = {
|
|
606
|
+
id?: string;
|
|
607
|
+
phaseId?: string | null;
|
|
608
|
+
stepId?: string | null;
|
|
609
|
+
name: string;
|
|
610
|
+
url: string;
|
|
611
|
+
type: string;
|
|
612
|
+
status?: $Enums.DocumentStatus;
|
|
613
|
+
createdAt?: Date | string;
|
|
614
|
+
updatedAt?: Date | string;
|
|
615
|
+
application: Prisma.ApplicationCreateNestedOneWithoutDocumentsInput;
|
|
616
|
+
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
617
|
+
};
|
|
618
|
+
export type ApplicationDocumentUncheckedCreateWithoutTenantInput = {
|
|
619
|
+
id?: string;
|
|
620
|
+
applicationId: string;
|
|
621
|
+
phaseId?: string | null;
|
|
622
|
+
stepId?: string | null;
|
|
623
|
+
name: string;
|
|
624
|
+
url: string;
|
|
625
|
+
type: string;
|
|
626
|
+
uploadedById?: string | null;
|
|
627
|
+
status?: $Enums.DocumentStatus;
|
|
628
|
+
createdAt?: Date | string;
|
|
629
|
+
updatedAt?: Date | string;
|
|
630
|
+
};
|
|
631
|
+
export type ApplicationDocumentCreateOrConnectWithoutTenantInput = {
|
|
632
|
+
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
633
|
+
create: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput>;
|
|
634
|
+
};
|
|
635
|
+
export type ApplicationDocumentCreateManyTenantInputEnvelope = {
|
|
636
|
+
data: Prisma.ApplicationDocumentCreateManyTenantInput | Prisma.ApplicationDocumentCreateManyTenantInput[];
|
|
637
|
+
skipDuplicates?: boolean;
|
|
638
|
+
};
|
|
639
|
+
export type ApplicationDocumentUpsertWithWhereUniqueWithoutTenantInput = {
|
|
640
|
+
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
641
|
+
update: Prisma.XOR<Prisma.ApplicationDocumentUpdateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedUpdateWithoutTenantInput>;
|
|
642
|
+
create: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedCreateWithoutTenantInput>;
|
|
643
|
+
};
|
|
644
|
+
export type ApplicationDocumentUpdateWithWhereUniqueWithoutTenantInput = {
|
|
645
|
+
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
646
|
+
data: Prisma.XOR<Prisma.ApplicationDocumentUpdateWithoutTenantInput, Prisma.ApplicationDocumentUncheckedUpdateWithoutTenantInput>;
|
|
647
|
+
};
|
|
648
|
+
export type ApplicationDocumentUpdateManyWithWhereWithoutTenantInput = {
|
|
649
|
+
where: Prisma.ApplicationDocumentScalarWhereInput;
|
|
650
|
+
data: Prisma.XOR<Prisma.ApplicationDocumentUpdateManyMutationInput, Prisma.ApplicationDocumentUncheckedUpdateManyWithoutTenantInput>;
|
|
651
|
+
};
|
|
540
652
|
export type ApplicationDocumentCreateWithoutApplicationInput = {
|
|
541
653
|
id?: string;
|
|
542
654
|
phaseId?: string | null;
|
|
@@ -547,10 +659,12 @@ export type ApplicationDocumentCreateWithoutApplicationInput = {
|
|
|
547
659
|
status?: $Enums.DocumentStatus;
|
|
548
660
|
createdAt?: Date | string;
|
|
549
661
|
updatedAt?: Date | string;
|
|
662
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationDocumentsInput;
|
|
550
663
|
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
551
664
|
};
|
|
552
665
|
export type ApplicationDocumentUncheckedCreateWithoutApplicationInput = {
|
|
553
666
|
id?: string;
|
|
667
|
+
tenantId: string;
|
|
554
668
|
phaseId?: string | null;
|
|
555
669
|
stepId?: string | null;
|
|
556
670
|
name: string;
|
|
@@ -584,6 +698,7 @@ export type ApplicationDocumentUpdateManyWithWhereWithoutApplicationInput = {
|
|
|
584
698
|
};
|
|
585
699
|
export type ApplicationDocumentCreateManyUploadedByInput = {
|
|
586
700
|
id?: string;
|
|
701
|
+
tenantId: string;
|
|
587
702
|
applicationId: string;
|
|
588
703
|
phaseId?: string | null;
|
|
589
704
|
stepId?: string | null;
|
|
@@ -604,10 +719,12 @@ export type ApplicationDocumentUpdateWithoutUploadedByInput = {
|
|
|
604
719
|
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
605
720
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
606
721
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
722
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationDocumentsNestedInput;
|
|
607
723
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
608
724
|
};
|
|
609
725
|
export type ApplicationDocumentUncheckedUpdateWithoutUploadedByInput = {
|
|
610
726
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
727
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
728
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
612
729
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
613
730
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -620,6 +737,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutUploadedByInput = {
|
|
|
620
737
|
};
|
|
621
738
|
export type ApplicationDocumentUncheckedUpdateManyWithoutUploadedByInput = {
|
|
622
739
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
740
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
623
741
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
742
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
625
743
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -630,8 +748,61 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutUploadedByInput = {
|
|
|
630
748
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
631
749
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
632
750
|
};
|
|
751
|
+
export type ApplicationDocumentCreateManyTenantInput = {
|
|
752
|
+
id?: string;
|
|
753
|
+
applicationId: string;
|
|
754
|
+
phaseId?: string | null;
|
|
755
|
+
stepId?: string | null;
|
|
756
|
+
name: string;
|
|
757
|
+
url: string;
|
|
758
|
+
type: string;
|
|
759
|
+
uploadedById?: string | null;
|
|
760
|
+
status?: $Enums.DocumentStatus;
|
|
761
|
+
createdAt?: Date | string;
|
|
762
|
+
updatedAt?: Date | string;
|
|
763
|
+
};
|
|
764
|
+
export type ApplicationDocumentUpdateWithoutTenantInput = {
|
|
765
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
766
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
767
|
+
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
768
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
769
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
770
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
|
+
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
772
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
773
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
774
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
775
|
+
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
776
|
+
};
|
|
777
|
+
export type ApplicationDocumentUncheckedUpdateWithoutTenantInput = {
|
|
778
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
779
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
780
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
781
|
+
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
782
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
783
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
785
|
+
uploadedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
786
|
+
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
787
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
788
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
789
|
+
};
|
|
790
|
+
export type ApplicationDocumentUncheckedUpdateManyWithoutTenantInput = {
|
|
791
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
792
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
793
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
794
|
+
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
795
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
796
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
797
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
798
|
+
uploadedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
799
|
+
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
800
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
801
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
802
|
+
};
|
|
633
803
|
export type ApplicationDocumentCreateManyApplicationInput = {
|
|
634
804
|
id?: string;
|
|
805
|
+
tenantId: string;
|
|
635
806
|
phaseId?: string | null;
|
|
636
807
|
stepId?: string | null;
|
|
637
808
|
name: string;
|
|
@@ -652,10 +823,12 @@ export type ApplicationDocumentUpdateWithoutApplicationInput = {
|
|
|
652
823
|
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
653
824
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
654
825
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
826
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationDocumentsNestedInput;
|
|
655
827
|
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
656
828
|
};
|
|
657
829
|
export type ApplicationDocumentUncheckedUpdateWithoutApplicationInput = {
|
|
658
830
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
831
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
659
832
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
660
833
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
661
834
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -668,6 +841,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutApplicationInput = {
|
|
|
668
841
|
};
|
|
669
842
|
export type ApplicationDocumentUncheckedUpdateManyWithoutApplicationInput = {
|
|
670
843
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
844
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
671
845
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
672
846
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
673
847
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -680,6 +854,7 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutApplicationInput = {
|
|
|
680
854
|
};
|
|
681
855
|
export type ApplicationDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
682
856
|
id?: boolean;
|
|
857
|
+
tenantId?: boolean;
|
|
683
858
|
applicationId?: boolean;
|
|
684
859
|
phaseId?: boolean;
|
|
685
860
|
stepId?: boolean;
|
|
@@ -690,11 +865,13 @@ export type ApplicationDocumentSelect<ExtArgs extends runtime.Types.Extensions.I
|
|
|
690
865
|
status?: boolean;
|
|
691
866
|
createdAt?: boolean;
|
|
692
867
|
updatedAt?: boolean;
|
|
868
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
693
869
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
694
870
|
uploadedBy?: boolean | Prisma.ApplicationDocument$uploadedByArgs<ExtArgs>;
|
|
695
871
|
}, ExtArgs["result"]["applicationDocument"]>;
|
|
696
872
|
export type ApplicationDocumentSelectScalar = {
|
|
697
873
|
id?: boolean;
|
|
874
|
+
tenantId?: boolean;
|
|
698
875
|
applicationId?: boolean;
|
|
699
876
|
phaseId?: boolean;
|
|
700
877
|
stepId?: boolean;
|
|
@@ -706,19 +883,22 @@ export type ApplicationDocumentSelectScalar = {
|
|
|
706
883
|
createdAt?: boolean;
|
|
707
884
|
updatedAt?: boolean;
|
|
708
885
|
};
|
|
709
|
-
export type ApplicationDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "applicationId" | "phaseId" | "stepId" | "name" | "url" | "type" | "uploadedById" | "status" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationDocument"]>;
|
|
886
|
+
export type ApplicationDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "phaseId" | "stepId" | "name" | "url" | "type" | "uploadedById" | "status" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationDocument"]>;
|
|
710
887
|
export type ApplicationDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
711
889
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
712
890
|
uploadedBy?: boolean | Prisma.ApplicationDocument$uploadedByArgs<ExtArgs>;
|
|
713
891
|
};
|
|
714
892
|
export type $ApplicationDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
715
893
|
name: "ApplicationDocument";
|
|
716
894
|
objects: {
|
|
895
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
717
896
|
application: Prisma.$ApplicationPayload<ExtArgs>;
|
|
718
897
|
uploadedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
719
898
|
};
|
|
720
899
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
721
900
|
id: string;
|
|
901
|
+
tenantId: string;
|
|
722
902
|
applicationId: string;
|
|
723
903
|
phaseId: string | null;
|
|
724
904
|
stepId: string | null;
|
|
@@ -1006,6 +1186,7 @@ export interface ApplicationDocumentDelegate<ExtArgs extends runtime.Types.Exten
|
|
|
1006
1186
|
*/
|
|
1007
1187
|
export interface Prisma__ApplicationDocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1008
1188
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1189
|
+
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>;
|
|
1009
1190
|
application<T extends Prisma.ApplicationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1010
1191
|
uploadedBy<T extends Prisma.ApplicationDocument$uploadedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocument$uploadedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1011
1192
|
/**
|
|
@@ -1034,6 +1215,7 @@ export interface Prisma__ApplicationDocumentClient<T, Null = never, ExtArgs exte
|
|
|
1034
1215
|
*/
|
|
1035
1216
|
export interface ApplicationDocumentFieldRefs {
|
|
1036
1217
|
readonly id: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1218
|
+
readonly tenantId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1037
1219
|
readonly applicationId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1038
1220
|
readonly phaseId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1039
1221
|
readonly stepId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|