@valentine-efagene/qshelter-common 2.0.112 → 2.0.114
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/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +4 -2
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +4 -0
- package/dist/generated/client/internal/prismaNamespace.js +6 -2
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +4 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +6 -2
- package/dist/generated/client/models/Application.d.ts +793 -1
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +74 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +15 -0
|
@@ -43,6 +43,7 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
|
|
|
43
43
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
44
44
|
minimumCompletionPercentage: number | null;
|
|
45
45
|
completionCriterion: $Enums.CompletionCriterion | null;
|
|
46
|
+
lockUnitOnComplete: boolean | null;
|
|
46
47
|
createdAt: Date | null;
|
|
47
48
|
updatedAt: Date | null;
|
|
48
49
|
};
|
|
@@ -64,6 +65,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
|
|
|
64
65
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
65
66
|
minimumCompletionPercentage: number | null;
|
|
66
67
|
completionCriterion: $Enums.CompletionCriterion | null;
|
|
68
|
+
lockUnitOnComplete: boolean | null;
|
|
67
69
|
createdAt: Date | null;
|
|
68
70
|
updatedAt: Date | null;
|
|
69
71
|
};
|
|
@@ -85,6 +87,7 @@ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
|
|
|
85
87
|
requiresPreviousPhaseCompletion: number;
|
|
86
88
|
minimumCompletionPercentage: number;
|
|
87
89
|
completionCriterion: number;
|
|
90
|
+
lockUnitOnComplete: number;
|
|
88
91
|
stepDefinitionsSnapshot: number;
|
|
89
92
|
requiredDocumentSnapshot: number;
|
|
90
93
|
createdAt: number;
|
|
@@ -121,6 +124,7 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
|
|
|
121
124
|
requiresPreviousPhaseCompletion?: true;
|
|
122
125
|
minimumCompletionPercentage?: true;
|
|
123
126
|
completionCriterion?: true;
|
|
127
|
+
lockUnitOnComplete?: true;
|
|
124
128
|
createdAt?: true;
|
|
125
129
|
updatedAt?: true;
|
|
126
130
|
};
|
|
@@ -142,6 +146,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
|
|
|
142
146
|
requiresPreviousPhaseCompletion?: true;
|
|
143
147
|
minimumCompletionPercentage?: true;
|
|
144
148
|
completionCriterion?: true;
|
|
149
|
+
lockUnitOnComplete?: true;
|
|
145
150
|
createdAt?: true;
|
|
146
151
|
updatedAt?: true;
|
|
147
152
|
};
|
|
@@ -163,6 +168,7 @@ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
|
|
|
163
168
|
requiresPreviousPhaseCompletion?: true;
|
|
164
169
|
minimumCompletionPercentage?: true;
|
|
165
170
|
completionCriterion?: true;
|
|
171
|
+
lockUnitOnComplete?: true;
|
|
166
172
|
stepDefinitionsSnapshot?: true;
|
|
167
173
|
requiredDocumentSnapshot?: true;
|
|
168
174
|
createdAt?: true;
|
|
@@ -263,6 +269,7 @@ export type PropertyPaymentMethodPhaseGroupByOutputType = {
|
|
|
263
269
|
requiresPreviousPhaseCompletion: boolean;
|
|
264
270
|
minimumCompletionPercentage: number | null;
|
|
265
271
|
completionCriterion: $Enums.CompletionCriterion | null;
|
|
272
|
+
lockUnitOnComplete: boolean;
|
|
266
273
|
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
267
274
|
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
268
275
|
createdAt: Date;
|
|
@@ -297,6 +304,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
|
|
|
297
304
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
298
305
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
299
306
|
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
307
|
+
lockUnitOnComplete?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
300
308
|
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
301
309
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
302
310
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
@@ -329,6 +337,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
|
|
|
329
337
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
330
338
|
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
339
|
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
340
|
+
lockUnitOnComplete?: Prisma.SortOrder;
|
|
332
341
|
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
333
342
|
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
334
343
|
createdAt?: Prisma.SortOrder;
|
|
@@ -365,6 +374,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
365
374
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
366
375
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
367
376
|
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
377
|
+
lockUnitOnComplete?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
368
378
|
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
369
379
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
370
380
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
@@ -397,6 +407,7 @@ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
|
|
|
397
407
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
398
408
|
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
399
409
|
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
410
|
+
lockUnitOnComplete?: Prisma.SortOrder;
|
|
400
411
|
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
401
412
|
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
402
413
|
createdAt?: Prisma.SortOrder;
|
|
@@ -428,6 +439,7 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
|
|
|
428
439
|
requiresPreviousPhaseCompletion?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
429
440
|
minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
430
441
|
completionCriterion?: Prisma.EnumCompletionCriterionNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
442
|
+
lockUnitOnComplete?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
431
443
|
stepDefinitionsSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"PropertyPaymentMethodPhase">;
|
|
432
444
|
requiredDocumentSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"PropertyPaymentMethodPhase">;
|
|
433
445
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
@@ -446,6 +458,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
|
|
|
446
458
|
requiresPreviousPhaseCompletion?: boolean;
|
|
447
459
|
minimumCompletionPercentage?: number | null;
|
|
448
460
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
461
|
+
lockUnitOnComplete?: boolean;
|
|
449
462
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
450
463
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
451
464
|
createdAt?: Date | string;
|
|
@@ -478,6 +491,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
|
|
|
478
491
|
requiresPreviousPhaseCompletion?: boolean;
|
|
479
492
|
minimumCompletionPercentage?: number | null;
|
|
480
493
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
494
|
+
lockUnitOnComplete?: boolean;
|
|
481
495
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
482
496
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
483
497
|
createdAt?: Date | string;
|
|
@@ -500,6 +514,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
|
|
|
500
514
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
501
515
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
502
516
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
517
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
503
518
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
504
519
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
505
520
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -532,6 +547,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
|
|
|
532
547
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
533
548
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
534
549
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
550
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
535
551
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
536
552
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
537
553
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -559,6 +575,7 @@ export type PropertyPaymentMethodPhaseCreateManyInput = {
|
|
|
559
575
|
requiresPreviousPhaseCompletion?: boolean;
|
|
560
576
|
minimumCompletionPercentage?: number | null;
|
|
561
577
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
578
|
+
lockUnitOnComplete?: boolean;
|
|
562
579
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
563
580
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
564
581
|
createdAt?: Date | string;
|
|
@@ -577,6 +594,7 @@ export type PropertyPaymentMethodPhaseUpdateManyMutationInput = {
|
|
|
577
594
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
578
595
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
579
596
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
597
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
580
598
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
581
599
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
582
600
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -600,6 +618,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
|
|
|
600
618
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
601
619
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
602
620
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
621
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
603
622
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
604
623
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
605
624
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -636,6 +655,7 @@ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
|
|
|
636
655
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
637
656
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
638
657
|
completionCriterion?: Prisma.SortOrder;
|
|
658
|
+
lockUnitOnComplete?: Prisma.SortOrder;
|
|
639
659
|
stepDefinitionsSnapshot?: Prisma.SortOrder;
|
|
640
660
|
requiredDocumentSnapshot?: Prisma.SortOrder;
|
|
641
661
|
createdAt?: Prisma.SortOrder;
|
|
@@ -665,6 +685,7 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
|
|
|
665
685
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
666
686
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
667
687
|
completionCriterion?: Prisma.SortOrder;
|
|
688
|
+
lockUnitOnComplete?: Prisma.SortOrder;
|
|
668
689
|
createdAt?: Prisma.SortOrder;
|
|
669
690
|
updatedAt?: Prisma.SortOrder;
|
|
670
691
|
};
|
|
@@ -686,6 +707,7 @@ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
|
|
|
686
707
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
687
708
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
688
709
|
completionCriterion?: Prisma.SortOrder;
|
|
710
|
+
lockUnitOnComplete?: Prisma.SortOrder;
|
|
689
711
|
createdAt?: Prisma.SortOrder;
|
|
690
712
|
updatedAt?: Prisma.SortOrder;
|
|
691
713
|
};
|
|
@@ -962,6 +984,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
|
|
|
962
984
|
requiresPreviousPhaseCompletion?: boolean;
|
|
963
985
|
minimumCompletionPercentage?: number | null;
|
|
964
986
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
987
|
+
lockUnitOnComplete?: boolean;
|
|
965
988
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
966
989
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
967
990
|
createdAt?: Date | string;
|
|
@@ -992,6 +1015,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
|
|
|
992
1015
|
requiresPreviousPhaseCompletion?: boolean;
|
|
993
1016
|
minimumCompletionPercentage?: number | null;
|
|
994
1017
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1018
|
+
lockUnitOnComplete?: boolean;
|
|
995
1019
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
996
1020
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
997
1021
|
createdAt?: Date | string;
|
|
@@ -1043,6 +1067,7 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
|
|
|
1043
1067
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
1044
1068
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
1045
1069
|
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
1070
|
+
lockUnitOnComplete?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
1046
1071
|
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
1047
1072
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
1048
1073
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
@@ -1061,6 +1086,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput = {
|
|
|
1061
1086
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1062
1087
|
minimumCompletionPercentage?: number | null;
|
|
1063
1088
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1089
|
+
lockUnitOnComplete?: boolean;
|
|
1064
1090
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1065
1091
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1066
1092
|
createdAt?: Date | string;
|
|
@@ -1091,6 +1117,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInp
|
|
|
1091
1117
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1092
1118
|
minimumCompletionPercentage?: number | null;
|
|
1093
1119
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1120
|
+
lockUnitOnComplete?: boolean;
|
|
1094
1121
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1095
1122
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1096
1123
|
createdAt?: Date | string;
|
|
@@ -1134,6 +1161,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput = {
|
|
|
1134
1161
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1135
1162
|
minimumCompletionPercentage?: number | null;
|
|
1136
1163
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1164
|
+
lockUnitOnComplete?: boolean;
|
|
1137
1165
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1138
1166
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1139
1167
|
createdAt?: Date | string;
|
|
@@ -1164,6 +1192,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInp
|
|
|
1164
1192
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1165
1193
|
minimumCompletionPercentage?: number | null;
|
|
1166
1194
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1195
|
+
lockUnitOnComplete?: boolean;
|
|
1167
1196
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1168
1197
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1169
1198
|
createdAt?: Date | string;
|
|
@@ -1207,6 +1236,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
|
|
|
1207
1236
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1208
1237
|
minimumCompletionPercentage?: number | null;
|
|
1209
1238
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1239
|
+
lockUnitOnComplete?: boolean;
|
|
1210
1240
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1211
1241
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1212
1242
|
createdAt?: Date | string;
|
|
@@ -1237,6 +1267,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
|
|
|
1237
1267
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1238
1268
|
minimumCompletionPercentage?: number | null;
|
|
1239
1269
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1270
|
+
lockUnitOnComplete?: boolean;
|
|
1240
1271
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1241
1272
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1242
1273
|
createdAt?: Date | string;
|
|
@@ -1280,6 +1311,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
|
|
|
1280
1311
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1281
1312
|
minimumCompletionPercentage?: number | null;
|
|
1282
1313
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1314
|
+
lockUnitOnComplete?: boolean;
|
|
1283
1315
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1284
1316
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1285
1317
|
createdAt?: Date | string;
|
|
@@ -1310,6 +1342,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
|
|
|
1310
1342
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1311
1343
|
minimumCompletionPercentage?: number | null;
|
|
1312
1344
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1345
|
+
lockUnitOnComplete?: boolean;
|
|
1313
1346
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1314
1347
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1315
1348
|
createdAt?: Date | string;
|
|
@@ -1353,6 +1386,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
|
|
|
1353
1386
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1354
1387
|
minimumCompletionPercentage?: number | null;
|
|
1355
1388
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1389
|
+
lockUnitOnComplete?: boolean;
|
|
1356
1390
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1357
1391
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1358
1392
|
createdAt?: Date | string;
|
|
@@ -1384,6 +1418,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInpu
|
|
|
1384
1418
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1385
1419
|
minimumCompletionPercentage?: number | null;
|
|
1386
1420
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1421
|
+
lockUnitOnComplete?: boolean;
|
|
1387
1422
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1388
1423
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1389
1424
|
createdAt?: Date | string;
|
|
@@ -1418,6 +1453,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
|
|
|
1418
1453
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1419
1454
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1420
1455
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1456
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1421
1457
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1422
1458
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1423
1459
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1449,6 +1485,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInpu
|
|
|
1449
1485
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1450
1486
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1451
1487
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1488
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1452
1489
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1453
1490
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1454
1491
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1470,6 +1507,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
|
|
|
1470
1507
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1471
1508
|
minimumCompletionPercentage?: number | null;
|
|
1472
1509
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1510
|
+
lockUnitOnComplete?: boolean;
|
|
1473
1511
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1474
1512
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1475
1513
|
createdAt?: Date | string;
|
|
@@ -1501,6 +1539,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
|
|
|
1501
1539
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1502
1540
|
minimumCompletionPercentage?: number | null;
|
|
1503
1541
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1542
|
+
lockUnitOnComplete?: boolean;
|
|
1504
1543
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1505
1544
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1506
1545
|
createdAt?: Date | string;
|
|
@@ -1535,6 +1574,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
|
|
|
1535
1574
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1536
1575
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1537
1576
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1577
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1538
1578
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1539
1579
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1540
1580
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1566,6 +1606,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
|
|
|
1566
1606
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1567
1607
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1568
1608
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1609
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1569
1610
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1570
1611
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1571
1612
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1587,6 +1628,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
|
|
|
1587
1628
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1588
1629
|
minimumCompletionPercentage?: number | null;
|
|
1589
1630
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1631
|
+
lockUnitOnComplete?: boolean;
|
|
1590
1632
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1591
1633
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1592
1634
|
createdAt?: Date | string;
|
|
@@ -1618,6 +1660,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
|
|
|
1618
1660
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1619
1661
|
minimumCompletionPercentage?: number | null;
|
|
1620
1662
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1663
|
+
lockUnitOnComplete?: boolean;
|
|
1621
1664
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1622
1665
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1623
1666
|
createdAt?: Date | string;
|
|
@@ -1652,6 +1695,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
|
|
|
1652
1695
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1653
1696
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1654
1697
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1698
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1655
1699
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1656
1700
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1657
1701
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1683,6 +1727,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
|
|
|
1683
1727
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1684
1728
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1685
1729
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1730
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1686
1731
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1687
1732
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1688
1733
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1704,6 +1749,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
|
|
|
1704
1749
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1705
1750
|
minimumCompletionPercentage?: number | null;
|
|
1706
1751
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1752
|
+
lockUnitOnComplete?: boolean;
|
|
1707
1753
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1708
1754
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1709
1755
|
createdAt?: Date | string;
|
|
@@ -1735,6 +1781,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsI
|
|
|
1735
1781
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1736
1782
|
minimumCompletionPercentage?: number | null;
|
|
1737
1783
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1784
|
+
lockUnitOnComplete?: boolean;
|
|
1738
1785
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1739
1786
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1740
1787
|
createdAt?: Date | string;
|
|
@@ -1769,6 +1816,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
|
|
|
1769
1816
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1770
1817
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1771
1818
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1819
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1772
1820
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1773
1821
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1774
1822
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1800,6 +1848,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
|
|
|
1800
1848
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1801
1849
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1802
1850
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1851
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1803
1852
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1804
1853
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1805
1854
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1825,6 +1874,7 @@ export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
|
|
|
1825
1874
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1826
1875
|
minimumCompletionPercentage?: number | null;
|
|
1827
1876
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1877
|
+
lockUnitOnComplete?: boolean;
|
|
1828
1878
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1829
1879
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1830
1880
|
createdAt?: Date | string;
|
|
@@ -1843,6 +1893,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
|
|
|
1843
1893
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1844
1894
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1845
1895
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1896
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1846
1897
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1847
1898
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1848
1899
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1873,6 +1924,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
|
|
|
1873
1924
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1874
1925
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1875
1926
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1927
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1876
1928
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1877
1929
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1878
1930
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1899,6 +1951,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
|
1899
1951
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1900
1952
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1901
1953
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1954
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1902
1955
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1903
1956
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1904
1957
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1921,6 +1974,7 @@ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput = {
|
|
|
1921
1974
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1922
1975
|
minimumCompletionPercentage?: number | null;
|
|
1923
1976
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1977
|
+
lockUnitOnComplete?: boolean;
|
|
1924
1978
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1925
1979
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1926
1980
|
createdAt?: Date | string;
|
|
@@ -1939,6 +1993,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput = {
|
|
|
1939
1993
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1940
1994
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1941
1995
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1996
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1942
1997
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1943
1998
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1944
1999
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1969,6 +2024,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInp
|
|
|
1969
2024
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1970
2025
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1971
2026
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2027
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1972
2028
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1973
2029
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1974
2030
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1995,6 +2051,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPla
|
|
|
1995
2051
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1996
2052
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1997
2053
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2054
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1998
2055
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1999
2056
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2000
2057
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2017,6 +2074,7 @@ export type PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInput = {
|
|
|
2017
2074
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2018
2075
|
minimumCompletionPercentage?: number | null;
|
|
2019
2076
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
2077
|
+
lockUnitOnComplete?: boolean;
|
|
2020
2078
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2021
2079
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2022
2080
|
createdAt?: Date | string;
|
|
@@ -2035,6 +2093,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnairePlanInput = {
|
|
|
2035
2093
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2036
2094
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2037
2095
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2096
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2038
2097
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2039
2098
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2040
2099
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2065,6 +2124,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInp
|
|
|
2065
2124
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2066
2125
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2067
2126
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2127
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2068
2128
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2069
2129
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2070
2130
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2091,6 +2151,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutQuestionnairePla
|
|
|
2091
2151
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2092
2152
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2093
2153
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2154
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2094
2155
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2095
2156
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2096
2157
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2113,6 +2174,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
|
|
|
2113
2174
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2114
2175
|
minimumCompletionPercentage?: number | null;
|
|
2115
2176
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
2177
|
+
lockUnitOnComplete?: boolean;
|
|
2116
2178
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2117
2179
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2118
2180
|
createdAt?: Date | string;
|
|
@@ -2131,6 +2193,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
|
|
|
2131
2193
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2132
2194
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2133
2195
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2196
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2134
2197
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2135
2198
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2136
2199
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2161,6 +2224,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
|
|
|
2161
2224
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2162
2225
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2163
2226
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2227
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2164
2228
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2165
2229
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2166
2230
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2187,6 +2251,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput
|
|
|
2187
2251
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2188
2252
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2189
2253
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2254
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2190
2255
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2191
2256
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2192
2257
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2209,6 +2274,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
|
|
|
2209
2274
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2210
2275
|
minimumCompletionPercentage?: number | null;
|
|
2211
2276
|
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
2277
|
+
lockUnitOnComplete?: boolean;
|
|
2212
2278
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2213
2279
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2214
2280
|
createdAt?: Date | string;
|
|
@@ -2227,6 +2293,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
|
|
|
2227
2293
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2228
2294
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2229
2295
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2296
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2230
2297
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2231
2298
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2232
2299
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2257,6 +2324,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
|
|
|
2257
2324
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2258
2325
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2259
2326
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2327
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2260
2328
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2261
2329
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2262
2330
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2283,6 +2351,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInp
|
|
|
2283
2351
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2284
2352
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2285
2353
|
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2354
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2286
2355
|
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2287
2356
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2288
2357
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -2354,6 +2423,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
|
|
|
2354
2423
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2355
2424
|
minimumCompletionPercentage?: boolean;
|
|
2356
2425
|
completionCriterion?: boolean;
|
|
2426
|
+
lockUnitOnComplete?: boolean;
|
|
2357
2427
|
stepDefinitionsSnapshot?: boolean;
|
|
2358
2428
|
requiredDocumentSnapshot?: boolean;
|
|
2359
2429
|
createdAt?: boolean;
|
|
@@ -2387,12 +2457,13 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
|
|
|
2387
2457
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2388
2458
|
minimumCompletionPercentage?: boolean;
|
|
2389
2459
|
completionCriterion?: boolean;
|
|
2460
|
+
lockUnitOnComplete?: boolean;
|
|
2390
2461
|
stepDefinitionsSnapshot?: boolean;
|
|
2391
2462
|
requiredDocumentSnapshot?: boolean;
|
|
2392
2463
|
createdAt?: boolean;
|
|
2393
2464
|
updatedAt?: boolean;
|
|
2394
2465
|
};
|
|
2395
|
-
export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "documentationPlanId" | "questionnairePlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
2466
|
+
export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "documentationPlanId" | "questionnairePlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "lockUnitOnComplete" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
2396
2467
|
export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2397
2468
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
2398
2469
|
paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
|
|
@@ -2436,6 +2507,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
|
|
|
2436
2507
|
requiresPreviousPhaseCompletion: boolean;
|
|
2437
2508
|
minimumCompletionPercentage: number | null;
|
|
2438
2509
|
completionCriterion: $Enums.CompletionCriterion | null;
|
|
2510
|
+
lockUnitOnComplete: boolean;
|
|
2439
2511
|
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
2440
2512
|
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
2441
2513
|
createdAt: Date;
|
|
@@ -2768,6 +2840,7 @@ export interface PropertyPaymentMethodPhaseFieldRefs {
|
|
|
2768
2840
|
readonly requiresPreviousPhaseCompletion: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Boolean'>;
|
|
2769
2841
|
readonly minimumCompletionPercentage: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
|
|
2770
2842
|
readonly completionCriterion: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'CompletionCriterion'>;
|
|
2843
|
+
readonly lockUnitOnComplete: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Boolean'>;
|
|
2771
2844
|
readonly stepDefinitionsSnapshot: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Json'>;
|
|
2772
2845
|
readonly requiredDocumentSnapshot: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Json'>;
|
|
2773
2846
|
readonly createdAt: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'DateTime'>;
|
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -59,6 +59,7 @@ enum ApplicationStatus {
|
|
|
59
59
|
CANCELLED
|
|
60
60
|
TERMINATED
|
|
61
61
|
TRANSFERRED // Application was transferred to a different property
|
|
62
|
+
SUPERSEDED // Another buyer locked the unit - this application was outbid
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
enum TransferRequestStatus {
|
|
@@ -272,6 +273,7 @@ enum EventHandlerType {
|
|
|
272
273
|
CALL_WEBHOOK // Call an external API/webhook
|
|
273
274
|
ADVANCE_WORKFLOW // Advance or complete a workflow step
|
|
274
275
|
RUN_AUTOMATION // Execute internal business logic
|
|
276
|
+
LOCK_UNIT // Lock the property unit for the applicant, supersede competing applications
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
/// Actor Type - Who triggered an event
|
|
@@ -1331,6 +1333,11 @@ model PropertyPaymentMethodPhase {
|
|
|
1331
1333
|
minimumCompletionPercentage Float?
|
|
1332
1334
|
completionCriterion CompletionCriterion?
|
|
1333
1335
|
|
|
1336
|
+
// Unit locking configuration
|
|
1337
|
+
// If true, completing this phase locks the unit for the applicant
|
|
1338
|
+
// Only one phase per payment method should have this enabled
|
|
1339
|
+
lockUnitOnComplete Boolean @default(false)
|
|
1340
|
+
|
|
1334
1341
|
// Snapshots for audit (original config at creation time)
|
|
1335
1342
|
// These are still needed for inline definitions (backward compatibility)
|
|
1336
1343
|
stepDefinitionsSnapshot Json?
|
|
@@ -1627,6 +1634,13 @@ model Application {
|
|
|
1627
1634
|
transferredFrom Application? @relation("ApplicationTransfer", fields: [transferredFromId], references: [id])
|
|
1628
1635
|
transferredTo Application? @relation("ApplicationTransfer")
|
|
1629
1636
|
|
|
1637
|
+
// Supersede tracking - when another buyer locks the unit
|
|
1638
|
+
// If status is SUPERSEDED, this references the application that took the unit
|
|
1639
|
+
supersededById String?
|
|
1640
|
+
supersededBy Application? @relation("ApplicationSuperseded", fields: [supersededById], references: [id])
|
|
1641
|
+
supersededAt DateTime?
|
|
1642
|
+
supersededApplications Application[] @relation("ApplicationSuperseded")
|
|
1643
|
+
|
|
1630
1644
|
// Transfer requests where this contract is the source
|
|
1631
1645
|
outgoingTransferRequests PropertyTransferRequest[] @relation("SourceApplication")
|
|
1632
1646
|
// Transfer requests where this contract is the target (created after approval)
|
|
@@ -1645,6 +1659,7 @@ model Application {
|
|
|
1645
1659
|
@@index([paymentMethodId])
|
|
1646
1660
|
@@index([status])
|
|
1647
1661
|
@@index([currentPhaseId])
|
|
1662
|
+
@@index([supersededById])
|
|
1648
1663
|
@@map("applications")
|
|
1649
1664
|
}
|
|
1650
1665
|
|