@valentine-efagene/qshelter-common 2.0.114 → 2.0.116
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 +2 -0
- package/dist/generated/client/internal/prismaNamespace.js +2 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +2 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +2 -0
- package/dist/generated/client/models/ApplicationPhase.d.ts +277 -1
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +221 -0
- package/dist/src/events/notifications/notification-enums.d.ts +3 -0
- package/dist/src/events/notifications/notification-enums.js +4 -0
- package/package.json +1 -1
- package/prisma/migrations/20260115055636_add_unit_locking/migration.sql +16 -0
- package/prisma/migrations/20260115060132_add_phase_template_reference/migration.sql +8 -0
- package/prisma/schema.prisma +7 -0
|
@@ -318,6 +318,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
|
|
|
318
318
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
|
|
319
319
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
|
|
320
320
|
eventAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
|
|
321
|
+
applicationPhases?: Prisma.ApplicationPhaseListRelationFilter;
|
|
321
322
|
};
|
|
322
323
|
export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
|
|
323
324
|
id?: Prisma.SortOrder;
|
|
@@ -351,6 +352,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
|
|
|
351
352
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
|
|
352
353
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldOrderByRelationAggregateInput;
|
|
353
354
|
eventAttachments?: Prisma.PhaseEventAttachmentOrderByRelationAggregateInput;
|
|
355
|
+
applicationPhases?: Prisma.ApplicationPhaseOrderByRelationAggregateInput;
|
|
354
356
|
_relevance?: Prisma.PropertyPaymentMethodPhaseOrderByRelevanceInput;
|
|
355
357
|
};
|
|
356
358
|
export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -388,6 +390,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
388
390
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
|
|
389
391
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
|
|
390
392
|
eventAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
|
|
393
|
+
applicationPhases?: Prisma.ApplicationPhaseListRelationFilter;
|
|
391
394
|
}, "id">;
|
|
392
395
|
export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
|
|
393
396
|
id?: Prisma.SortOrder;
|
|
@@ -472,6 +475,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
|
|
|
472
475
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
473
476
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
474
477
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
478
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
475
479
|
};
|
|
476
480
|
export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
|
|
477
481
|
id?: string;
|
|
@@ -500,6 +504,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
|
|
|
500
504
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
501
505
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
502
506
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
507
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
503
508
|
};
|
|
504
509
|
export type PropertyPaymentMethodPhaseUpdateInput = {
|
|
505
510
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -528,6 +533,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
|
|
|
528
533
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
529
534
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
530
535
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
536
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
531
537
|
};
|
|
532
538
|
export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
|
|
533
539
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -556,6 +562,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
|
|
|
556
562
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
557
563
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
558
564
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
565
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
559
566
|
};
|
|
560
567
|
export type PropertyPaymentMethodPhaseCreateManyInput = {
|
|
561
568
|
id?: string;
|
|
@@ -721,6 +728,10 @@ export type PropertyPaymentMethodPhaseScalarRelationFilter = {
|
|
|
721
728
|
is?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
722
729
|
isNot?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
723
730
|
};
|
|
731
|
+
export type PropertyPaymentMethodPhaseNullableScalarRelationFilter = {
|
|
732
|
+
is?: Prisma.PropertyPaymentMethodPhaseWhereInput | null;
|
|
733
|
+
isNot?: Prisma.PropertyPaymentMethodPhaseWhereInput | null;
|
|
734
|
+
};
|
|
724
735
|
export type PropertyPaymentMethodPhaseCreateNestedManyWithoutTenantInput = {
|
|
725
736
|
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput[];
|
|
726
737
|
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput[];
|
|
@@ -971,6 +982,20 @@ export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutQuestionnaireField
|
|
|
971
982
|
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
972
983
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput>;
|
|
973
984
|
};
|
|
985
|
+
export type PropertyPaymentMethodPhaseCreateNestedOneWithoutApplicationPhasesInput = {
|
|
986
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutApplicationPhasesInput>;
|
|
987
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutApplicationPhasesInput;
|
|
988
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
989
|
+
};
|
|
990
|
+
export type PropertyPaymentMethodPhaseUpdateOneWithoutApplicationPhasesNestedInput = {
|
|
991
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutApplicationPhasesInput>;
|
|
992
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutApplicationPhasesInput;
|
|
993
|
+
upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithoutApplicationPhasesInput;
|
|
994
|
+
disconnect?: Prisma.PropertyPaymentMethodPhaseWhereInput | boolean;
|
|
995
|
+
delete?: Prisma.PropertyPaymentMethodPhaseWhereInput | boolean;
|
|
996
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
997
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutApplicationPhasesInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutApplicationPhasesInput>;
|
|
998
|
+
};
|
|
974
999
|
export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
|
|
975
1000
|
id?: string;
|
|
976
1001
|
name: string;
|
|
@@ -997,6 +1022,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
|
|
|
997
1022
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
998
1023
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
999
1024
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1025
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1000
1026
|
};
|
|
1001
1027
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
|
|
1002
1028
|
id?: string;
|
|
@@ -1024,6 +1050,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
|
|
|
1024
1050
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1025
1051
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1026
1052
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1053
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1027
1054
|
};
|
|
1028
1055
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput = {
|
|
1029
1056
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1099,6 +1126,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput = {
|
|
|
1099
1126
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1100
1127
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1101
1128
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1129
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1102
1130
|
};
|
|
1103
1131
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput = {
|
|
1104
1132
|
id?: string;
|
|
@@ -1126,6 +1154,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInp
|
|
|
1126
1154
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1127
1155
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1128
1156
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1157
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1129
1158
|
};
|
|
1130
1159
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput = {
|
|
1131
1160
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1174,6 +1203,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput = {
|
|
|
1174
1203
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1175
1204
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1176
1205
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1206
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1177
1207
|
};
|
|
1178
1208
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput = {
|
|
1179
1209
|
id?: string;
|
|
@@ -1201,6 +1231,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInp
|
|
|
1201
1231
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1202
1232
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1203
1233
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1234
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1204
1235
|
};
|
|
1205
1236
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput = {
|
|
1206
1237
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1249,6 +1280,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
|
|
|
1249
1280
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1250
1281
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1251
1282
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1283
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1252
1284
|
};
|
|
1253
1285
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
|
|
1254
1286
|
id?: string;
|
|
@@ -1276,6 +1308,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
|
|
|
1276
1308
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1277
1309
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1278
1310
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1311
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1279
1312
|
};
|
|
1280
1313
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
|
|
1281
1314
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1324,6 +1357,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
|
|
|
1324
1357
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1325
1358
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1326
1359
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1360
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1327
1361
|
};
|
|
1328
1362
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput = {
|
|
1329
1363
|
id?: string;
|
|
@@ -1351,6 +1385,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
|
|
|
1351
1385
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1352
1386
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1353
1387
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1388
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1354
1389
|
};
|
|
1355
1390
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput = {
|
|
1356
1391
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1399,6 +1434,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
|
|
|
1399
1434
|
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
1400
1435
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1401
1436
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1437
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1402
1438
|
};
|
|
1403
1439
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInput = {
|
|
1404
1440
|
id?: string;
|
|
@@ -1426,6 +1462,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInpu
|
|
|
1426
1462
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1427
1463
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1428
1464
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1465
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1429
1466
|
};
|
|
1430
1467
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutEventAttachmentsInput = {
|
|
1431
1468
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1466,6 +1503,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
|
|
|
1466
1503
|
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1467
1504
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
1468
1505
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
1506
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1469
1507
|
};
|
|
1470
1508
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInput = {
|
|
1471
1509
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1493,6 +1531,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInpu
|
|
|
1493
1531
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1494
1532
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1495
1533
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1534
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1496
1535
|
};
|
|
1497
1536
|
export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
|
|
1498
1537
|
id?: string;
|
|
@@ -1520,6 +1559,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
|
|
|
1520
1559
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1521
1560
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1522
1561
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1562
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1523
1563
|
};
|
|
1524
1564
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
|
|
1525
1565
|
id?: string;
|
|
@@ -1547,6 +1587,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
|
|
|
1547
1587
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1548
1588
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1549
1589
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1590
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1550
1591
|
};
|
|
1551
1592
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutStepsInput = {
|
|
1552
1593
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1587,6 +1628,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
|
|
|
1587
1628
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
1588
1629
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
1589
1630
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
1631
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1590
1632
|
};
|
|
1591
1633
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
|
|
1592
1634
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1614,6 +1656,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
|
|
|
1614
1656
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1615
1657
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1616
1658
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1659
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1617
1660
|
};
|
|
1618
1661
|
export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
|
|
1619
1662
|
id?: string;
|
|
@@ -1641,6 +1684,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
|
|
|
1641
1684
|
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
1642
1685
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1643
1686
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1687
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1644
1688
|
};
|
|
1645
1689
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput = {
|
|
1646
1690
|
id?: string;
|
|
@@ -1668,6 +1712,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
|
|
|
1668
1712
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1669
1713
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1670
1714
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1715
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1671
1716
|
};
|
|
1672
1717
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutRequiredDocumentsInput = {
|
|
1673
1718
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1708,6 +1753,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
|
|
|
1708
1753
|
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1709
1754
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
1710
1755
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
1756
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1711
1757
|
};
|
|
1712
1758
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput = {
|
|
1713
1759
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1735,6 +1781,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
|
|
|
1735
1781
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1736
1782
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1737
1783
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1784
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1738
1785
|
};
|
|
1739
1786
|
export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
|
|
1740
1787
|
id?: string;
|
|
@@ -1762,6 +1809,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
|
|
|
1762
1809
|
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
1763
1810
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1764
1811
|
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1812
|
+
applicationPhases?: Prisma.ApplicationPhaseCreateNestedManyWithoutPhaseTemplateInput;
|
|
1765
1813
|
};
|
|
1766
1814
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput = {
|
|
1767
1815
|
id?: string;
|
|
@@ -1789,6 +1837,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsI
|
|
|
1789
1837
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1790
1838
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1791
1839
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1840
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutPhaseTemplateInput;
|
|
1792
1841
|
};
|
|
1793
1842
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnaireFieldsInput = {
|
|
1794
1843
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -1829,6 +1878,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
|
|
|
1829
1878
|
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1830
1879
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
1831
1880
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
1881
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1832
1882
|
};
|
|
1833
1883
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput = {
|
|
1834
1884
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1856,6 +1906,132 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
|
|
|
1856
1906
|
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1857
1907
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1858
1908
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1909
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1910
|
+
};
|
|
1911
|
+
export type PropertyPaymentMethodPhaseCreateWithoutApplicationPhasesInput = {
|
|
1912
|
+
id?: string;
|
|
1913
|
+
name: string;
|
|
1914
|
+
description?: string | null;
|
|
1915
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
1916
|
+
phaseType: $Enums.PhaseType;
|
|
1917
|
+
order: number;
|
|
1918
|
+
interestRate?: number | null;
|
|
1919
|
+
percentOfPrice?: number | null;
|
|
1920
|
+
collectFunds?: boolean | null;
|
|
1921
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
1922
|
+
minimumCompletionPercentage?: number | null;
|
|
1923
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1924
|
+
lockUnitOnComplete?: boolean;
|
|
1925
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1926
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1927
|
+
createdAt?: Date | string;
|
|
1928
|
+
updatedAt?: Date | string;
|
|
1929
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
|
|
1930
|
+
paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
|
|
1931
|
+
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
1932
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
1933
|
+
questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
|
|
1934
|
+
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
1935
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
1936
|
+
questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
|
|
1937
|
+
eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
|
|
1938
|
+
};
|
|
1939
|
+
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutApplicationPhasesInput = {
|
|
1940
|
+
id?: string;
|
|
1941
|
+
tenantId: string;
|
|
1942
|
+
paymentMethodId: string;
|
|
1943
|
+
paymentPlanId?: string | null;
|
|
1944
|
+
documentationPlanId?: string | null;
|
|
1945
|
+
questionnairePlanId?: string | null;
|
|
1946
|
+
name: string;
|
|
1947
|
+
description?: string | null;
|
|
1948
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
1949
|
+
phaseType: $Enums.PhaseType;
|
|
1950
|
+
order: number;
|
|
1951
|
+
interestRate?: number | null;
|
|
1952
|
+
percentOfPrice?: number | null;
|
|
1953
|
+
collectFunds?: boolean | null;
|
|
1954
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
1955
|
+
minimumCompletionPercentage?: number | null;
|
|
1956
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1957
|
+
lockUnitOnComplete?: boolean;
|
|
1958
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1959
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1960
|
+
createdAt?: Date | string;
|
|
1961
|
+
updatedAt?: Date | string;
|
|
1962
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1963
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1964
|
+
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1965
|
+
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1966
|
+
};
|
|
1967
|
+
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutApplicationPhasesInput = {
|
|
1968
|
+
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
1969
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutApplicationPhasesInput>;
|
|
1970
|
+
};
|
|
1971
|
+
export type PropertyPaymentMethodPhaseUpsertWithoutApplicationPhasesInput = {
|
|
1972
|
+
update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutApplicationPhasesInput>;
|
|
1973
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutApplicationPhasesInput>;
|
|
1974
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
1975
|
+
};
|
|
1976
|
+
export type PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutApplicationPhasesInput = {
|
|
1977
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
1978
|
+
data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutApplicationPhasesInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutApplicationPhasesInput>;
|
|
1979
|
+
};
|
|
1980
|
+
export type PropertyPaymentMethodPhaseUpdateWithoutApplicationPhasesInput = {
|
|
1981
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1982
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1983
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1984
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1985
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1986
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1987
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1988
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1989
|
+
collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1990
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1991
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1992
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1993
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1994
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1995
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1996
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1997
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1998
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
|
|
1999
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
|
|
2000
|
+
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
2001
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
2002
|
+
questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
2003
|
+
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
2004
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
2005
|
+
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
2006
|
+
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2007
|
+
};
|
|
2008
|
+
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutApplicationPhasesInput = {
|
|
2009
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2010
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2011
|
+
paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2012
|
+
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2013
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2014
|
+
questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2015
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2016
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2017
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2018
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2019
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2020
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2021
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2022
|
+
collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
2023
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2024
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2025
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2026
|
+
lockUnitOnComplete?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2027
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2028
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2029
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2030
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2031
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2032
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2033
|
+
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2034
|
+
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1859
2035
|
};
|
|
1860
2036
|
export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
|
|
1861
2037
|
id?: string;
|
|
@@ -1906,6 +2082,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
|
|
|
1906
2082
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
1907
2083
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
1908
2084
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2085
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1909
2086
|
};
|
|
1910
2087
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
|
|
1911
2088
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1933,6 +2110,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
|
|
|
1933
2110
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1934
2111
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1935
2112
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2113
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
1936
2114
|
};
|
|
1937
2115
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
1938
2116
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2006,6 +2184,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput = {
|
|
|
2006
2184
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
2007
2185
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
2008
2186
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2187
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2009
2188
|
};
|
|
2010
2189
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput = {
|
|
2011
2190
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2033,6 +2212,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInp
|
|
|
2033
2212
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2034
2213
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2035
2214
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2215
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2036
2216
|
};
|
|
2037
2217
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput = {
|
|
2038
2218
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2106,6 +2286,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnairePlanInput = {
|
|
|
2106
2286
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
2107
2287
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
2108
2288
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2289
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2109
2290
|
};
|
|
2110
2291
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInput = {
|
|
2111
2292
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2133,6 +2314,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInp
|
|
|
2133
2314
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2134
2315
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2135
2316
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2317
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2136
2318
|
};
|
|
2137
2319
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutQuestionnairePlanInput = {
|
|
2138
2320
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2206,6 +2388,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
|
|
|
2206
2388
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
2207
2389
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
2208
2390
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2391
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2209
2392
|
};
|
|
2210
2393
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
|
|
2211
2394
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2233,6 +2416,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
|
|
|
2233
2416
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2234
2417
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2235
2418
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2419
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2236
2420
|
};
|
|
2237
2421
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
|
|
2238
2422
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2306,6 +2490,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
|
|
|
2306
2490
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
2307
2491
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
|
|
2308
2492
|
eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
|
|
2493
|
+
applicationPhases?: Prisma.ApplicationPhaseUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2309
2494
|
};
|
|
2310
2495
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput = {
|
|
2311
2496
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2333,6 +2518,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
|
|
|
2333
2518
|
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2334
2519
|
questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2335
2520
|
eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2521
|
+
applicationPhases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutPhaseTemplateNestedInput;
|
|
2336
2522
|
};
|
|
2337
2523
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
2338
2524
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2365,12 +2551,14 @@ export type PropertyPaymentMethodPhaseCountOutputType = {
|
|
|
2365
2551
|
requiredDocuments: number;
|
|
2366
2552
|
questionnaireFields: number;
|
|
2367
2553
|
eventAttachments: number;
|
|
2554
|
+
applicationPhases: number;
|
|
2368
2555
|
};
|
|
2369
2556
|
export type PropertyPaymentMethodPhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2370
2557
|
steps?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountStepsArgs;
|
|
2371
2558
|
requiredDocuments?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountRequiredDocumentsArgs;
|
|
2372
2559
|
questionnaireFields?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountQuestionnaireFieldsArgs;
|
|
2373
2560
|
eventAttachments?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountEventAttachmentsArgs;
|
|
2561
|
+
applicationPhases?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountApplicationPhasesArgs;
|
|
2374
2562
|
};
|
|
2375
2563
|
/**
|
|
2376
2564
|
* PropertyPaymentMethodPhaseCountOutputType without action
|
|
@@ -2405,6 +2593,12 @@ export type PropertyPaymentMethodPhaseCountOutputTypeCountQuestionnaireFieldsArg
|
|
|
2405
2593
|
export type PropertyPaymentMethodPhaseCountOutputTypeCountEventAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2406
2594
|
where?: Prisma.PhaseEventAttachmentWhereInput;
|
|
2407
2595
|
};
|
|
2596
|
+
/**
|
|
2597
|
+
* PropertyPaymentMethodPhaseCountOutputType without action
|
|
2598
|
+
*/
|
|
2599
|
+
export type PropertyPaymentMethodPhaseCountOutputTypeCountApplicationPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2600
|
+
where?: Prisma.ApplicationPhaseWhereInput;
|
|
2601
|
+
};
|
|
2408
2602
|
export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2409
2603
|
id?: boolean;
|
|
2410
2604
|
tenantId?: boolean;
|
|
@@ -2437,6 +2631,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
|
|
|
2437
2631
|
requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
|
|
2438
2632
|
questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
|
|
2439
2633
|
eventAttachments?: boolean | Prisma.PropertyPaymentMethodPhase$eventAttachmentsArgs<ExtArgs>;
|
|
2634
|
+
applicationPhases?: boolean | Prisma.PropertyPaymentMethodPhase$applicationPhasesArgs<ExtArgs>;
|
|
2440
2635
|
_count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2441
2636
|
}, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
2442
2637
|
export type PropertyPaymentMethodPhaseSelectScalar = {
|
|
@@ -2474,6 +2669,7 @@ export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Exte
|
|
|
2474
2669
|
requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
|
|
2475
2670
|
questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
|
|
2476
2671
|
eventAttachments?: boolean | Prisma.PropertyPaymentMethodPhase$eventAttachmentsArgs<ExtArgs>;
|
|
2672
|
+
applicationPhases?: boolean | Prisma.PropertyPaymentMethodPhase$applicationPhasesArgs<ExtArgs>;
|
|
2477
2673
|
_count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2478
2674
|
};
|
|
2479
2675
|
export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -2488,6 +2684,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
|
|
|
2488
2684
|
requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
|
|
2489
2685
|
questionnaireFields: Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>[];
|
|
2490
2686
|
eventAttachments: Prisma.$PhaseEventAttachmentPayload<ExtArgs>[];
|
|
2687
|
+
applicationPhases: Prisma.$ApplicationPhasePayload<ExtArgs>[];
|
|
2491
2688
|
};
|
|
2492
2689
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2493
2690
|
id: string;
|
|
@@ -2798,6 +2995,7 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
|
|
|
2798
2995
|
requiredDocuments<T extends Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2799
2996
|
questionnaireFields<T extends Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2800
2997
|
eventAttachments<T extends Prisma.PropertyPaymentMethodPhase$eventAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$eventAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2998
|
+
applicationPhases<T extends Prisma.PropertyPaymentMethodPhase$applicationPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$applicationPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2801
2999
|
/**
|
|
2802
3000
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2803
3001
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -3318,6 +3516,29 @@ export type PropertyPaymentMethodPhase$eventAttachmentsArgs<ExtArgs extends runt
|
|
|
3318
3516
|
skip?: number;
|
|
3319
3517
|
distinct?: Prisma.PhaseEventAttachmentScalarFieldEnum | Prisma.PhaseEventAttachmentScalarFieldEnum[];
|
|
3320
3518
|
};
|
|
3519
|
+
/**
|
|
3520
|
+
* PropertyPaymentMethodPhase.applicationPhases
|
|
3521
|
+
*/
|
|
3522
|
+
export type PropertyPaymentMethodPhase$applicationPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3523
|
+
/**
|
|
3524
|
+
* Select specific fields to fetch from the ApplicationPhase
|
|
3525
|
+
*/
|
|
3526
|
+
select?: Prisma.ApplicationPhaseSelect<ExtArgs> | null;
|
|
3527
|
+
/**
|
|
3528
|
+
* Omit specific fields from the ApplicationPhase
|
|
3529
|
+
*/
|
|
3530
|
+
omit?: Prisma.ApplicationPhaseOmit<ExtArgs> | null;
|
|
3531
|
+
/**
|
|
3532
|
+
* Choose, which related nodes to fetch as well
|
|
3533
|
+
*/
|
|
3534
|
+
include?: Prisma.ApplicationPhaseInclude<ExtArgs> | null;
|
|
3535
|
+
where?: Prisma.ApplicationPhaseWhereInput;
|
|
3536
|
+
orderBy?: Prisma.ApplicationPhaseOrderByWithRelationInput | Prisma.ApplicationPhaseOrderByWithRelationInput[];
|
|
3537
|
+
cursor?: Prisma.ApplicationPhaseWhereUniqueInput;
|
|
3538
|
+
take?: number;
|
|
3539
|
+
skip?: number;
|
|
3540
|
+
distinct?: Prisma.ApplicationPhaseScalarFieldEnum | Prisma.ApplicationPhaseScalarFieldEnum[];
|
|
3541
|
+
};
|
|
3321
3542
|
/**
|
|
3322
3543
|
* PropertyPaymentMethodPhase without action
|
|
3323
3544
|
*/
|
|
@@ -23,6 +23,9 @@ export declare enum NotificationType {
|
|
|
23
23
|
APPLICATION_TERMINATION_REQUESTED = "applicationTerminationRequested",
|
|
24
24
|
APPLICATION_TERMINATION_APPROVED = "applicationTerminationApproved",
|
|
25
25
|
APPLICATION_TERMINATED = "applicationTerminated",
|
|
26
|
+
APPLICATION_SUPERSEDED = "applicationSuperseded",
|
|
27
|
+
UNIT_LOCKED = "unitLocked",
|
|
28
|
+
UNIT_RELEASED = "unitReleased",
|
|
26
29
|
OFFER_LETTER_SENT = "offerLetterSent",
|
|
27
30
|
OFFER_LETTER_SIGNED = "offerLetterSigned",
|
|
28
31
|
OFFER_LETTER_EXPIRED = "offerLetterExpired",
|
|
@@ -30,6 +30,10 @@ export var NotificationType;
|
|
|
30
30
|
NotificationType["APPLICATION_TERMINATION_REQUESTED"] = "applicationTerminationRequested";
|
|
31
31
|
NotificationType["APPLICATION_TERMINATION_APPROVED"] = "applicationTerminationApproved";
|
|
32
32
|
NotificationType["APPLICATION_TERMINATED"] = "applicationTerminated";
|
|
33
|
+
NotificationType["APPLICATION_SUPERSEDED"] = "applicationSuperseded";
|
|
34
|
+
// Unit Locking
|
|
35
|
+
NotificationType["UNIT_LOCKED"] = "unitLocked";
|
|
36
|
+
NotificationType["UNIT_RELEASED"] = "unitReleased";
|
|
33
37
|
// Offer Letters
|
|
34
38
|
NotificationType["OFFER_LETTER_SENT"] = "offerLetterSent";
|
|
35
39
|
NotificationType["OFFER_LETTER_SIGNED"] = "offerLetterSigned";
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE `applications` ADD COLUMN `supersededAt` DATETIME(3) NULL,
|
|
3
|
+
ADD COLUMN `supersededById` VARCHAR(191) NULL,
|
|
4
|
+
MODIFY `status` ENUM('DRAFT', 'PENDING', 'ACTIVE', 'COMPLETED', 'CANCELLED', 'TERMINATED', 'TRANSFERRED', 'SUPERSEDED') NOT NULL DEFAULT 'DRAFT';
|
|
5
|
+
|
|
6
|
+
-- AlterTable
|
|
7
|
+
ALTER TABLE `event_handlers` MODIFY `handlerType` ENUM('SEND_EMAIL', 'SEND_SMS', 'SEND_PUSH', 'CALL_WEBHOOK', 'ADVANCE_WORKFLOW', 'RUN_AUTOMATION', 'LOCK_UNIT') NOT NULL;
|
|
8
|
+
|
|
9
|
+
-- AlterTable
|
|
10
|
+
ALTER TABLE `property_payment_method_phases` ADD COLUMN `lockUnitOnComplete` BOOLEAN NOT NULL DEFAULT false;
|
|
11
|
+
|
|
12
|
+
-- CreateIndex
|
|
13
|
+
CREATE INDEX `applications_supersededById_idx` ON `applications`(`supersededById`);
|
|
14
|
+
|
|
15
|
+
-- AddForeignKey
|
|
16
|
+
ALTER TABLE `applications` ADD CONSTRAINT `applications_supersededById_fkey` FOREIGN KEY (`supersededById`) REFERENCES `applications`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
-- AlterTable
|
|
2
|
+
ALTER TABLE `application_phases` ADD COLUMN `phaseTemplateId` VARCHAR(191) NULL;
|
|
3
|
+
|
|
4
|
+
-- CreateIndex
|
|
5
|
+
CREATE INDEX `application_phases_phaseTemplateId_idx` ON `application_phases`(`phaseTemplateId`);
|
|
6
|
+
|
|
7
|
+
-- AddForeignKey
|
|
8
|
+
ALTER TABLE `application_phases` ADD CONSTRAINT `application_phases_phaseTemplateId_fkey` FOREIGN KEY (`phaseTemplateId`) REFERENCES `property_payment_method_phases`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|