@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
|
@@ -29,6 +29,7 @@ export type DocumentationPhaseSumAggregateOutputType = {
|
|
|
29
29
|
};
|
|
30
30
|
export type DocumentationPhaseMinAggregateOutputType = {
|
|
31
31
|
id: string | null;
|
|
32
|
+
tenantId: string | null;
|
|
32
33
|
phaseId: string | null;
|
|
33
34
|
currentStepId: string | null;
|
|
34
35
|
approvedDocumentsCount: number | null;
|
|
@@ -42,6 +43,7 @@ export type DocumentationPhaseMinAggregateOutputType = {
|
|
|
42
43
|
};
|
|
43
44
|
export type DocumentationPhaseMaxAggregateOutputType = {
|
|
44
45
|
id: string | null;
|
|
46
|
+
tenantId: string | null;
|
|
45
47
|
phaseId: string | null;
|
|
46
48
|
currentStepId: string | null;
|
|
47
49
|
approvedDocumentsCount: number | null;
|
|
@@ -55,6 +57,7 @@ export type DocumentationPhaseMaxAggregateOutputType = {
|
|
|
55
57
|
};
|
|
56
58
|
export type DocumentationPhaseCountAggregateOutputType = {
|
|
57
59
|
id: number;
|
|
60
|
+
tenantId: number;
|
|
58
61
|
phaseId: number;
|
|
59
62
|
currentStepId: number;
|
|
60
63
|
approvedDocumentsCount: number;
|
|
@@ -85,6 +88,7 @@ export type DocumentationPhaseSumAggregateInputType = {
|
|
|
85
88
|
};
|
|
86
89
|
export type DocumentationPhaseMinAggregateInputType = {
|
|
87
90
|
id?: true;
|
|
91
|
+
tenantId?: true;
|
|
88
92
|
phaseId?: true;
|
|
89
93
|
currentStepId?: true;
|
|
90
94
|
approvedDocumentsCount?: true;
|
|
@@ -98,6 +102,7 @@ export type DocumentationPhaseMinAggregateInputType = {
|
|
|
98
102
|
};
|
|
99
103
|
export type DocumentationPhaseMaxAggregateInputType = {
|
|
100
104
|
id?: true;
|
|
105
|
+
tenantId?: true;
|
|
101
106
|
phaseId?: true;
|
|
102
107
|
currentStepId?: true;
|
|
103
108
|
approvedDocumentsCount?: true;
|
|
@@ -111,6 +116,7 @@ export type DocumentationPhaseMaxAggregateInputType = {
|
|
|
111
116
|
};
|
|
112
117
|
export type DocumentationPhaseCountAggregateInputType = {
|
|
113
118
|
id?: true;
|
|
119
|
+
tenantId?: true;
|
|
114
120
|
phaseId?: true;
|
|
115
121
|
currentStepId?: true;
|
|
116
122
|
approvedDocumentsCount?: true;
|
|
@@ -203,6 +209,7 @@ export type DocumentationPhaseGroupByArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
203
209
|
};
|
|
204
210
|
export type DocumentationPhaseGroupByOutputType = {
|
|
205
211
|
id: string;
|
|
212
|
+
tenantId: string;
|
|
206
213
|
phaseId: string;
|
|
207
214
|
currentStepId: string | null;
|
|
208
215
|
approvedDocumentsCount: number;
|
|
@@ -229,6 +236,7 @@ export type DocumentationPhaseWhereInput = {
|
|
|
229
236
|
OR?: Prisma.DocumentationPhaseWhereInput[];
|
|
230
237
|
NOT?: Prisma.DocumentationPhaseWhereInput | Prisma.DocumentationPhaseWhereInput[];
|
|
231
238
|
id?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
239
|
+
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
232
240
|
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
233
241
|
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
234
242
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
@@ -241,12 +249,14 @@ export type DocumentationPhaseWhereInput = {
|
|
|
241
249
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
242
250
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
243
251
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
252
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
244
253
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
245
254
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
246
255
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
247
256
|
};
|
|
248
257
|
export type DocumentationPhaseOrderByWithRelationInput = {
|
|
249
258
|
id?: Prisma.SortOrder;
|
|
259
|
+
tenantId?: Prisma.SortOrder;
|
|
250
260
|
phaseId?: Prisma.SortOrder;
|
|
251
261
|
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
252
262
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
@@ -259,6 +269,7 @@ export type DocumentationPhaseOrderByWithRelationInput = {
|
|
|
259
269
|
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
270
|
createdAt?: Prisma.SortOrder;
|
|
261
271
|
updatedAt?: Prisma.SortOrder;
|
|
272
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
262
273
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
263
274
|
currentStep?: Prisma.DocumentationStepOrderByWithRelationInput;
|
|
264
275
|
steps?: Prisma.DocumentationStepOrderByRelationAggregateInput;
|
|
@@ -270,6 +281,7 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
270
281
|
AND?: Prisma.DocumentationPhaseWhereInput | Prisma.DocumentationPhaseWhereInput[];
|
|
271
282
|
OR?: Prisma.DocumentationPhaseWhereInput[];
|
|
272
283
|
NOT?: Prisma.DocumentationPhaseWhereInput | Prisma.DocumentationPhaseWhereInput[];
|
|
284
|
+
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
273
285
|
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
274
286
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
275
287
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
@@ -281,12 +293,14 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
281
293
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
282
294
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
283
295
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
296
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
284
297
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
285
298
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
286
299
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
287
300
|
}, "id" | "phaseId">;
|
|
288
301
|
export type DocumentationPhaseOrderByWithAggregationInput = {
|
|
289
302
|
id?: Prisma.SortOrder;
|
|
303
|
+
tenantId?: Prisma.SortOrder;
|
|
290
304
|
phaseId?: Prisma.SortOrder;
|
|
291
305
|
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
306
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
@@ -310,6 +324,7 @@ export type DocumentationPhaseScalarWhereWithAggregatesInput = {
|
|
|
310
324
|
OR?: Prisma.DocumentationPhaseScalarWhereWithAggregatesInput[];
|
|
311
325
|
NOT?: Prisma.DocumentationPhaseScalarWhereWithAggregatesInput | Prisma.DocumentationPhaseScalarWhereWithAggregatesInput[];
|
|
312
326
|
id?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
327
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
313
328
|
phaseId?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
314
329
|
currentStepId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPhase"> | string | null;
|
|
315
330
|
approvedDocumentsCount?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
@@ -335,12 +350,14 @@ export type DocumentationPhaseCreateInput = {
|
|
|
335
350
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
336
351
|
createdAt?: Date | string;
|
|
337
352
|
updatedAt?: Date | string;
|
|
353
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
338
354
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
339
355
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
340
356
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
341
357
|
};
|
|
342
358
|
export type DocumentationPhaseUncheckedCreateInput = {
|
|
343
359
|
id?: string;
|
|
360
|
+
tenantId: string;
|
|
344
361
|
phaseId: string;
|
|
345
362
|
currentStepId?: string | null;
|
|
346
363
|
approvedDocumentsCount?: number;
|
|
@@ -367,12 +384,14 @@ export type DocumentationPhaseUpdateInput = {
|
|
|
367
384
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
368
385
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
386
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
387
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
370
388
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
371
389
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
372
390
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
373
391
|
};
|
|
374
392
|
export type DocumentationPhaseUncheckedUpdateInput = {
|
|
375
393
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
376
395
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
377
396
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
397
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -389,6 +408,7 @@ export type DocumentationPhaseUncheckedUpdateInput = {
|
|
|
389
408
|
};
|
|
390
409
|
export type DocumentationPhaseCreateManyInput = {
|
|
391
410
|
id?: string;
|
|
411
|
+
tenantId: string;
|
|
392
412
|
phaseId: string;
|
|
393
413
|
currentStepId?: string | null;
|
|
394
414
|
approvedDocumentsCount?: number;
|
|
@@ -417,6 +437,7 @@ export type DocumentationPhaseUpdateManyMutationInput = {
|
|
|
417
437
|
};
|
|
418
438
|
export type DocumentationPhaseUncheckedUpdateManyInput = {
|
|
419
439
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
441
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
442
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
443
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -430,6 +451,14 @@ export type DocumentationPhaseUncheckedUpdateManyInput = {
|
|
|
430
451
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
452
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
453
|
};
|
|
454
|
+
export type DocumentationPhaseListRelationFilter = {
|
|
455
|
+
every?: Prisma.DocumentationPhaseWhereInput;
|
|
456
|
+
some?: Prisma.DocumentationPhaseWhereInput;
|
|
457
|
+
none?: Prisma.DocumentationPhaseWhereInput;
|
|
458
|
+
};
|
|
459
|
+
export type DocumentationPhaseOrderByRelationAggregateInput = {
|
|
460
|
+
_count?: Prisma.SortOrder;
|
|
461
|
+
};
|
|
433
462
|
export type DocumentationPhaseNullableScalarRelationFilter = {
|
|
434
463
|
is?: Prisma.DocumentationPhaseWhereInput | null;
|
|
435
464
|
isNot?: Prisma.DocumentationPhaseWhereInput | null;
|
|
@@ -441,6 +470,7 @@ export type DocumentationPhaseOrderByRelevanceInput = {
|
|
|
441
470
|
};
|
|
442
471
|
export type DocumentationPhaseCountOrderByAggregateInput = {
|
|
443
472
|
id?: Prisma.SortOrder;
|
|
473
|
+
tenantId?: Prisma.SortOrder;
|
|
444
474
|
phaseId?: Prisma.SortOrder;
|
|
445
475
|
currentStepId?: Prisma.SortOrder;
|
|
446
476
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
@@ -463,6 +493,7 @@ export type DocumentationPhaseAvgOrderByAggregateInput = {
|
|
|
463
493
|
};
|
|
464
494
|
export type DocumentationPhaseMaxOrderByAggregateInput = {
|
|
465
495
|
id?: Prisma.SortOrder;
|
|
496
|
+
tenantId?: Prisma.SortOrder;
|
|
466
497
|
phaseId?: Prisma.SortOrder;
|
|
467
498
|
currentStepId?: Prisma.SortOrder;
|
|
468
499
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
@@ -476,6 +507,7 @@ export type DocumentationPhaseMaxOrderByAggregateInput = {
|
|
|
476
507
|
};
|
|
477
508
|
export type DocumentationPhaseMinOrderByAggregateInput = {
|
|
478
509
|
id?: Prisma.SortOrder;
|
|
510
|
+
tenantId?: Prisma.SortOrder;
|
|
479
511
|
phaseId?: Prisma.SortOrder;
|
|
480
512
|
currentStepId?: Prisma.SortOrder;
|
|
481
513
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
@@ -498,13 +530,43 @@ export type DocumentationPhaseScalarRelationFilter = {
|
|
|
498
530
|
is?: Prisma.DocumentationPhaseWhereInput;
|
|
499
531
|
isNot?: Prisma.DocumentationPhaseWhereInput;
|
|
500
532
|
};
|
|
501
|
-
export type
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
533
|
+
export type DocumentationPhaseCreateNestedManyWithoutTenantInput = {
|
|
534
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput> | Prisma.DocumentationPhaseCreateWithoutTenantInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput[];
|
|
535
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput | Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput[];
|
|
536
|
+
createMany?: Prisma.DocumentationPhaseCreateManyTenantInputEnvelope;
|
|
537
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
505
538
|
};
|
|
506
|
-
export type
|
|
507
|
-
|
|
539
|
+
export type DocumentationPhaseUncheckedCreateNestedManyWithoutTenantInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput> | Prisma.DocumentationPhaseCreateWithoutTenantInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput[];
|
|
541
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput | Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput[];
|
|
542
|
+
createMany?: Prisma.DocumentationPhaseCreateManyTenantInputEnvelope;
|
|
543
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
544
|
+
};
|
|
545
|
+
export type DocumentationPhaseUpdateManyWithoutTenantNestedInput = {
|
|
546
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput> | Prisma.DocumentationPhaseCreateWithoutTenantInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput[];
|
|
547
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput | Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput[];
|
|
548
|
+
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutTenantInput[];
|
|
549
|
+
createMany?: Prisma.DocumentationPhaseCreateManyTenantInputEnvelope;
|
|
550
|
+
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
551
|
+
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
552
|
+
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
553
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
554
|
+
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutTenantInput[];
|
|
555
|
+
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput[];
|
|
556
|
+
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
557
|
+
};
|
|
558
|
+
export type DocumentationPhaseUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
559
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput> | Prisma.DocumentationPhaseCreateWithoutTenantInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput[];
|
|
560
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput | Prisma.DocumentationPhaseCreateOrConnectWithoutTenantInput[];
|
|
561
|
+
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutTenantInput[];
|
|
562
|
+
createMany?: Prisma.DocumentationPhaseCreateManyTenantInputEnvelope;
|
|
563
|
+
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
564
|
+
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
565
|
+
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
566
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
567
|
+
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutTenantInput[];
|
|
568
|
+
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput[];
|
|
569
|
+
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
508
570
|
};
|
|
509
571
|
export type DocumentationPhaseCreateNestedOneWithoutPhaseInput = {
|
|
510
572
|
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutPhaseInput, Prisma.DocumentationPhaseUncheckedCreateWithoutPhaseInput>;
|
|
@@ -584,6 +646,78 @@ export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepNestedInput =
|
|
|
584
646
|
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput[];
|
|
585
647
|
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
586
648
|
};
|
|
649
|
+
export type DocumentationPhaseCreateWithoutTenantInput = {
|
|
650
|
+
id?: string;
|
|
651
|
+
approvedDocumentsCount?: number;
|
|
652
|
+
requiredDocumentsCount?: number;
|
|
653
|
+
completedStepsCount?: number;
|
|
654
|
+
totalStepsCount?: number;
|
|
655
|
+
minimumCompletionPercentage?: number | null;
|
|
656
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
657
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
658
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
659
|
+
createdAt?: Date | string;
|
|
660
|
+
updatedAt?: Date | string;
|
|
661
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
662
|
+
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
663
|
+
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
664
|
+
};
|
|
665
|
+
export type DocumentationPhaseUncheckedCreateWithoutTenantInput = {
|
|
666
|
+
id?: string;
|
|
667
|
+
phaseId: string;
|
|
668
|
+
currentStepId?: string | null;
|
|
669
|
+
approvedDocumentsCount?: number;
|
|
670
|
+
requiredDocumentsCount?: number;
|
|
671
|
+
completedStepsCount?: number;
|
|
672
|
+
totalStepsCount?: number;
|
|
673
|
+
minimumCompletionPercentage?: number | null;
|
|
674
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
675
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
676
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
677
|
+
createdAt?: Date | string;
|
|
678
|
+
updatedAt?: Date | string;
|
|
679
|
+
steps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
680
|
+
};
|
|
681
|
+
export type DocumentationPhaseCreateOrConnectWithoutTenantInput = {
|
|
682
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
683
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput>;
|
|
684
|
+
};
|
|
685
|
+
export type DocumentationPhaseCreateManyTenantInputEnvelope = {
|
|
686
|
+
data: Prisma.DocumentationPhaseCreateManyTenantInput | Prisma.DocumentationPhaseCreateManyTenantInput[];
|
|
687
|
+
skipDuplicates?: boolean;
|
|
688
|
+
};
|
|
689
|
+
export type DocumentationPhaseUpsertWithWhereUniqueWithoutTenantInput = {
|
|
690
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
691
|
+
update: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutTenantInput>;
|
|
692
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedCreateWithoutTenantInput>;
|
|
693
|
+
};
|
|
694
|
+
export type DocumentationPhaseUpdateWithWhereUniqueWithoutTenantInput = {
|
|
695
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
696
|
+
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutTenantInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutTenantInput>;
|
|
697
|
+
};
|
|
698
|
+
export type DocumentationPhaseUpdateManyWithWhereWithoutTenantInput = {
|
|
699
|
+
where: Prisma.DocumentationPhaseScalarWhereInput;
|
|
700
|
+
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateManyMutationInput, Prisma.DocumentationPhaseUncheckedUpdateManyWithoutTenantInput>;
|
|
701
|
+
};
|
|
702
|
+
export type DocumentationPhaseScalarWhereInput = {
|
|
703
|
+
AND?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
704
|
+
OR?: Prisma.DocumentationPhaseScalarWhereInput[];
|
|
705
|
+
NOT?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
706
|
+
id?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
707
|
+
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
708
|
+
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
709
|
+
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
710
|
+
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
711
|
+
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
712
|
+
completedStepsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
713
|
+
totalStepsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
714
|
+
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"DocumentationPhase"> | number | null;
|
|
715
|
+
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"DocumentationPhase"> | $Enums.CompletionCriterion | null;
|
|
716
|
+
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
717
|
+
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
718
|
+
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
719
|
+
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
720
|
+
};
|
|
587
721
|
export type DocumentationPhaseCreateWithoutPhaseInput = {
|
|
588
722
|
id?: string;
|
|
589
723
|
approvedDocumentsCount?: number;
|
|
@@ -596,11 +730,13 @@ export type DocumentationPhaseCreateWithoutPhaseInput = {
|
|
|
596
730
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
597
731
|
createdAt?: Date | string;
|
|
598
732
|
updatedAt?: Date | string;
|
|
733
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
599
734
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
600
735
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
601
736
|
};
|
|
602
737
|
export type DocumentationPhaseUncheckedCreateWithoutPhaseInput = {
|
|
603
738
|
id?: string;
|
|
739
|
+
tenantId: string;
|
|
604
740
|
currentStepId?: string | null;
|
|
605
741
|
approvedDocumentsCount?: number;
|
|
606
742
|
requiredDocumentsCount?: number;
|
|
@@ -639,11 +775,13 @@ export type DocumentationPhaseUpdateWithoutPhaseInput = {
|
|
|
639
775
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
640
776
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
641
777
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
778
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
642
779
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
643
780
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
644
781
|
};
|
|
645
782
|
export type DocumentationPhaseUncheckedUpdateWithoutPhaseInput = {
|
|
646
783
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
647
785
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
648
786
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
649
787
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -669,11 +807,13 @@ export type DocumentationPhaseCreateWithoutStepsInput = {
|
|
|
669
807
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
670
808
|
createdAt?: Date | string;
|
|
671
809
|
updatedAt?: Date | string;
|
|
810
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
672
811
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
673
812
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
674
813
|
};
|
|
675
814
|
export type DocumentationPhaseUncheckedCreateWithoutStepsInput = {
|
|
676
815
|
id?: string;
|
|
816
|
+
tenantId: string;
|
|
677
817
|
phaseId: string;
|
|
678
818
|
currentStepId?: string | null;
|
|
679
819
|
approvedDocumentsCount?: number;
|
|
@@ -703,11 +843,13 @@ export type DocumentationPhaseCreateWithoutCurrentStepInput = {
|
|
|
703
843
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
704
844
|
createdAt?: Date | string;
|
|
705
845
|
updatedAt?: Date | string;
|
|
846
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
706
847
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
707
848
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
708
849
|
};
|
|
709
850
|
export type DocumentationPhaseUncheckedCreateWithoutCurrentStepInput = {
|
|
710
851
|
id?: string;
|
|
852
|
+
tenantId: string;
|
|
711
853
|
phaseId: string;
|
|
712
854
|
approvedDocumentsCount?: number;
|
|
713
855
|
requiredDocumentsCount?: number;
|
|
@@ -750,11 +892,13 @@ export type DocumentationPhaseUpdateWithoutStepsInput = {
|
|
|
750
892
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
751
893
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
752
894
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
895
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
753
896
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
754
897
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
755
898
|
};
|
|
756
899
|
export type DocumentationPhaseUncheckedUpdateWithoutStepsInput = {
|
|
757
900
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
901
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
902
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
759
903
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
760
904
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -781,26 +925,71 @@ export type DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput = {
|
|
|
781
925
|
where: Prisma.DocumentationPhaseScalarWhereInput;
|
|
782
926
|
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateManyMutationInput, Prisma.DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput>;
|
|
783
927
|
};
|
|
784
|
-
export type
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
928
|
+
export type DocumentationPhaseCreateManyTenantInput = {
|
|
929
|
+
id?: string;
|
|
930
|
+
phaseId: string;
|
|
931
|
+
currentStepId?: string | null;
|
|
932
|
+
approvedDocumentsCount?: number;
|
|
933
|
+
requiredDocumentsCount?: number;
|
|
934
|
+
completedStepsCount?: number;
|
|
935
|
+
totalStepsCount?: number;
|
|
936
|
+
minimumCompletionPercentage?: number | null;
|
|
937
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
938
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
939
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
940
|
+
createdAt?: Date | string;
|
|
941
|
+
updatedAt?: Date | string;
|
|
942
|
+
};
|
|
943
|
+
export type DocumentationPhaseUpdateWithoutTenantInput = {
|
|
944
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
945
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
946
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
947
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
948
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
949
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
950
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
951
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
952
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
953
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
954
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
955
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
956
|
+
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
957
|
+
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
958
|
+
};
|
|
959
|
+
export type DocumentationPhaseUncheckedUpdateWithoutTenantInput = {
|
|
960
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
961
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
962
|
+
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
963
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
964
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
965
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
966
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
967
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
968
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
969
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
970
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
971
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
972
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
973
|
+
steps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
974
|
+
};
|
|
975
|
+
export type DocumentationPhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
976
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
977
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
978
|
+
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
979
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
980
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
981
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
982
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
983
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
984
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
985
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
986
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
987
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
988
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
801
989
|
};
|
|
802
990
|
export type DocumentationPhaseCreateManyCurrentStepInput = {
|
|
803
991
|
id?: string;
|
|
992
|
+
tenantId: string;
|
|
804
993
|
phaseId: string;
|
|
805
994
|
approvedDocumentsCount?: number;
|
|
806
995
|
requiredDocumentsCount?: number;
|
|
@@ -825,11 +1014,13 @@ export type DocumentationPhaseUpdateWithoutCurrentStepInput = {
|
|
|
825
1014
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
826
1015
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
827
1016
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1017
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
828
1018
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
829
1019
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
830
1020
|
};
|
|
831
1021
|
export type DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput = {
|
|
832
1022
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1023
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
833
1024
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
834
1025
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
835
1026
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -845,6 +1036,7 @@ export type DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput = {
|
|
|
845
1036
|
};
|
|
846
1037
|
export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput = {
|
|
847
1038
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1039
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
848
1040
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
849
1041
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
850
1042
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -883,6 +1075,7 @@ export type DocumentationPhaseCountOutputTypeCountStepsArgs<ExtArgs extends runt
|
|
|
883
1075
|
};
|
|
884
1076
|
export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
885
1077
|
id?: boolean;
|
|
1078
|
+
tenantId?: boolean;
|
|
886
1079
|
phaseId?: boolean;
|
|
887
1080
|
currentStepId?: boolean;
|
|
888
1081
|
approvedDocumentsCount?: boolean;
|
|
@@ -895,6 +1088,7 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
895
1088
|
requiredDocumentSnapshot?: boolean;
|
|
896
1089
|
createdAt?: boolean;
|
|
897
1090
|
updatedAt?: boolean;
|
|
1091
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
898
1092
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
899
1093
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
900
1094
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
@@ -902,6 +1096,7 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
902
1096
|
}, ExtArgs["result"]["documentationPhase"]>;
|
|
903
1097
|
export type DocumentationPhaseSelectScalar = {
|
|
904
1098
|
id?: boolean;
|
|
1099
|
+
tenantId?: boolean;
|
|
905
1100
|
phaseId?: boolean;
|
|
906
1101
|
currentStepId?: boolean;
|
|
907
1102
|
approvedDocumentsCount?: boolean;
|
|
@@ -915,8 +1110,9 @@ export type DocumentationPhaseSelectScalar = {
|
|
|
915
1110
|
createdAt?: boolean;
|
|
916
1111
|
updatedAt?: boolean;
|
|
917
1112
|
};
|
|
918
|
-
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "currentStepId" | "approvedDocumentsCount" | "requiredDocumentsCount" | "completedStepsCount" | "totalStepsCount" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
1113
|
+
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "currentStepId" | "approvedDocumentsCount" | "requiredDocumentsCount" | "completedStepsCount" | "totalStepsCount" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
919
1114
|
export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1115
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
920
1116
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
921
1117
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
922
1118
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
@@ -925,12 +1121,14 @@ export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.I
|
|
|
925
1121
|
export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
926
1122
|
name: "DocumentationPhase";
|
|
927
1123
|
objects: {
|
|
1124
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
928
1125
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
929
1126
|
currentStep: Prisma.$DocumentationStepPayload<ExtArgs> | null;
|
|
930
1127
|
steps: Prisma.$DocumentationStepPayload<ExtArgs>[];
|
|
931
1128
|
};
|
|
932
1129
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
933
1130
|
id: string;
|
|
1131
|
+
tenantId: string;
|
|
934
1132
|
phaseId: string;
|
|
935
1133
|
currentStepId: string | null;
|
|
936
1134
|
approvedDocumentsCount: number;
|
|
@@ -1220,6 +1418,7 @@ export interface DocumentationPhaseDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
1220
1418
|
*/
|
|
1221
1419
|
export interface Prisma__DocumentationPhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1222
1420
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1421
|
+
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>;
|
|
1223
1422
|
phase<T extends Prisma.ApplicationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1224
1423
|
currentStep<T extends Prisma.DocumentationPhase$currentStepArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$currentStepArgs<ExtArgs>>): Prisma.Prisma__DocumentationStepClient<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1225
1424
|
steps<T extends Prisma.DocumentationPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -1249,6 +1448,7 @@ export interface Prisma__DocumentationPhaseClient<T, Null = never, ExtArgs exten
|
|
|
1249
1448
|
*/
|
|
1250
1449
|
export interface DocumentationPhaseFieldRefs {
|
|
1251
1450
|
readonly id: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1451
|
+
readonly tenantId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1252
1452
|
readonly phaseId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1253
1453
|
readonly currentStepId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1254
1454
|
readonly approvedDocumentsCount: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|