@valentine-efagene/qshelter-common 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +152 -10
- package/dist/generated/client/enums.d.ts +41 -0
- package/dist/generated/client/enums.js +37 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +153 -1
- package/dist/generated/client/internal/prismaNamespace.js +67 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +69 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +67 -0
- package/dist/generated/client/models/Contract.d.ts +271 -0
- package/dist/generated/client/models/ContractPhase.d.ts +52 -1
- package/dist/generated/client/models/ContractTermination.d.ts +3449 -0
- package/dist/generated/client/models/ContractTermination.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +42 -1
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +51 -1
- package/dist/generated/client/models/Tenant.d.ts +163 -0
- package/dist/generated/client/models/User.d.ts +586 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/migrations/20260101081428_normalize_schema/migration.sql +119 -0
- package/prisma/migrations/20260101102022_add_contract_termination/migration.sql +69 -0
- package/prisma/migrations/20260101110958_add_collect_funds/migration.sql +8 -0
- package/prisma/schema.prisma +165 -5
|
@@ -207,6 +207,11 @@ export type ContractTransition = Prisma.ContractTransitionModel;
|
|
|
207
207
|
*
|
|
208
208
|
*/
|
|
209
209
|
export type ContractEvent = Prisma.ContractEventModel;
|
|
210
|
+
/**
|
|
211
|
+
* Model ContractTermination
|
|
212
|
+
*
|
|
213
|
+
*/
|
|
214
|
+
export type ContractTermination = Prisma.ContractTerminationModel;
|
|
210
215
|
/**
|
|
211
216
|
* Model Prequalification
|
|
212
217
|
*
|
|
@@ -224,6 +224,11 @@ export type ContractTransition = Prisma.ContractTransitionModel;
|
|
|
224
224
|
*
|
|
225
225
|
*/
|
|
226
226
|
export type ContractEvent = Prisma.ContractEventModel;
|
|
227
|
+
/**
|
|
228
|
+
* Model ContractTermination
|
|
229
|
+
*
|
|
230
|
+
*/
|
|
231
|
+
export type ContractTermination = Prisma.ContractTerminationModel;
|
|
227
232
|
/**
|
|
228
233
|
* Model Prequalification
|
|
229
234
|
*
|
|
@@ -251,6 +251,10 @@ export type EnumPhaseTypeFilter<$PrismaModel = never> = {
|
|
|
251
251
|
notIn?: $Enums.PhaseType[];
|
|
252
252
|
not?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel> | $Enums.PhaseType;
|
|
253
253
|
};
|
|
254
|
+
export type BoolNullableFilter<$PrismaModel = never> = {
|
|
255
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null;
|
|
256
|
+
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null;
|
|
257
|
+
};
|
|
254
258
|
export type EnumCompletionCriterionNullableFilter<$PrismaModel = never> = {
|
|
255
259
|
equals?: $Enums.CompletionCriterion | Prisma.EnumCompletionCriterionFieldRefInput<$PrismaModel> | null;
|
|
256
260
|
in?: $Enums.CompletionCriterion[] | null;
|
|
@@ -292,6 +296,13 @@ export type EnumPhaseTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
292
296
|
_min?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel>;
|
|
293
297
|
_max?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel>;
|
|
294
298
|
};
|
|
299
|
+
export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
300
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null;
|
|
301
|
+
not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null;
|
|
302
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
303
|
+
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
304
|
+
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
305
|
+
};
|
|
295
306
|
export type EnumCompletionCriterionNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
296
307
|
equals?: $Enums.CompletionCriterion | Prisma.EnumCompletionCriterionFieldRefInput<$PrismaModel> | null;
|
|
297
308
|
in?: $Enums.CompletionCriterion[] | null;
|
|
@@ -441,6 +452,24 @@ export type EnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
441
452
|
_min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
442
453
|
_max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
443
454
|
};
|
|
455
|
+
export type EnumTerminationInitiatorFilter<$PrismaModel = never> = {
|
|
456
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
457
|
+
in?: $Enums.TerminationInitiator[];
|
|
458
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
459
|
+
not?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
460
|
+
};
|
|
461
|
+
export type EnumTerminationTypeFilter<$PrismaModel = never> = {
|
|
462
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
463
|
+
in?: $Enums.TerminationType[];
|
|
464
|
+
notIn?: $Enums.TerminationType[];
|
|
465
|
+
not?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel> | $Enums.TerminationType;
|
|
466
|
+
};
|
|
467
|
+
export type EnumTerminationStatusFilter<$PrismaModel = never> = {
|
|
468
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
469
|
+
in?: $Enums.TerminationStatus[];
|
|
470
|
+
notIn?: $Enums.TerminationStatus[];
|
|
471
|
+
not?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
472
|
+
};
|
|
444
473
|
export type JsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>, Required<JsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
445
474
|
export type JsonFilterBase<$PrismaModel = never> = {
|
|
446
475
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
@@ -458,11 +487,38 @@ export type JsonFilterBase<$PrismaModel = never> = {
|
|
|
458
487
|
gte?: runtime.InputJsonValue;
|
|
459
488
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
460
489
|
};
|
|
461
|
-
export type
|
|
462
|
-
equals?: $Enums.
|
|
463
|
-
in?: $Enums.
|
|
464
|
-
notIn?: $Enums.
|
|
465
|
-
not?: Prisma.
|
|
490
|
+
export type EnumRefundStatusFilter<$PrismaModel = never> = {
|
|
491
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
492
|
+
in?: $Enums.RefundStatus[];
|
|
493
|
+
notIn?: $Enums.RefundStatus[];
|
|
494
|
+
not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
495
|
+
};
|
|
496
|
+
export type EnumTerminationInitiatorWithAggregatesFilter<$PrismaModel = never> = {
|
|
497
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
498
|
+
in?: $Enums.TerminationInitiator[];
|
|
499
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
500
|
+
not?: Prisma.NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
501
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
502
|
+
_min?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
503
|
+
_max?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
504
|
+
};
|
|
505
|
+
export type EnumTerminationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
506
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
507
|
+
in?: $Enums.TerminationType[];
|
|
508
|
+
notIn?: $Enums.TerminationType[];
|
|
509
|
+
not?: Prisma.NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel> | $Enums.TerminationType;
|
|
510
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
511
|
+
_min?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
512
|
+
_max?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
513
|
+
};
|
|
514
|
+
export type EnumTerminationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
515
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
516
|
+
in?: $Enums.TerminationStatus[];
|
|
517
|
+
notIn?: $Enums.TerminationStatus[];
|
|
518
|
+
not?: Prisma.NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
519
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
520
|
+
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
521
|
+
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
466
522
|
};
|
|
467
523
|
export type JsonWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
|
|
468
524
|
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
@@ -484,6 +540,21 @@ export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
|
484
540
|
_min?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
485
541
|
_max?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
486
542
|
};
|
|
543
|
+
export type EnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
544
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
545
|
+
in?: $Enums.RefundStatus[];
|
|
546
|
+
notIn?: $Enums.RefundStatus[];
|
|
547
|
+
not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
548
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
549
|
+
_min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
550
|
+
_max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
551
|
+
};
|
|
552
|
+
export type EnumPrequalificationStatusFilter<$PrismaModel = never> = {
|
|
553
|
+
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
554
|
+
in?: $Enums.PrequalificationStatus[];
|
|
555
|
+
notIn?: $Enums.PrequalificationStatus[];
|
|
556
|
+
not?: Prisma.NestedEnumPrequalificationStatusFilter<$PrismaModel> | $Enums.PrequalificationStatus;
|
|
557
|
+
};
|
|
487
558
|
export type EnumPrequalificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
488
559
|
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
489
560
|
in?: $Enums.PrequalificationStatus[];
|
|
@@ -769,6 +840,10 @@ export type NestedEnumPhaseTypeFilter<$PrismaModel = never> = {
|
|
|
769
840
|
notIn?: $Enums.PhaseType[];
|
|
770
841
|
not?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel> | $Enums.PhaseType;
|
|
771
842
|
};
|
|
843
|
+
export type NestedBoolNullableFilter<$PrismaModel = never> = {
|
|
844
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null;
|
|
845
|
+
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null;
|
|
846
|
+
};
|
|
772
847
|
export type NestedEnumCompletionCriterionNullableFilter<$PrismaModel = never> = {
|
|
773
848
|
equals?: $Enums.CompletionCriterion | Prisma.EnumCompletionCriterionFieldRefInput<$PrismaModel> | null;
|
|
774
849
|
in?: $Enums.CompletionCriterion[] | null;
|
|
@@ -793,6 +868,13 @@ export type NestedEnumPhaseTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
793
868
|
_min?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel>;
|
|
794
869
|
_max?: Prisma.NestedEnumPhaseTypeFilter<$PrismaModel>;
|
|
795
870
|
};
|
|
871
|
+
export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
872
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null;
|
|
873
|
+
not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null;
|
|
874
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
875
|
+
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
876
|
+
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
877
|
+
};
|
|
796
878
|
export type NestedEnumCompletionCriterionNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
797
879
|
equals?: $Enums.CompletionCriterion | Prisma.EnumCompletionCriterionFieldRefInput<$PrismaModel> | null;
|
|
798
880
|
in?: $Enums.CompletionCriterion[] | null;
|
|
@@ -939,11 +1021,56 @@ export type NestedEnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> =
|
|
|
939
1021
|
_min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
940
1022
|
_max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
941
1023
|
};
|
|
942
|
-
export type
|
|
943
|
-
equals?: $Enums.
|
|
944
|
-
in?: $Enums.
|
|
945
|
-
notIn?: $Enums.
|
|
946
|
-
not?: Prisma.
|
|
1024
|
+
export type NestedEnumTerminationInitiatorFilter<$PrismaModel = never> = {
|
|
1025
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
1026
|
+
in?: $Enums.TerminationInitiator[];
|
|
1027
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
1028
|
+
not?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
1029
|
+
};
|
|
1030
|
+
export type NestedEnumTerminationTypeFilter<$PrismaModel = never> = {
|
|
1031
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
1032
|
+
in?: $Enums.TerminationType[];
|
|
1033
|
+
notIn?: $Enums.TerminationType[];
|
|
1034
|
+
not?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel> | $Enums.TerminationType;
|
|
1035
|
+
};
|
|
1036
|
+
export type NestedEnumTerminationStatusFilter<$PrismaModel = never> = {
|
|
1037
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
1038
|
+
in?: $Enums.TerminationStatus[];
|
|
1039
|
+
notIn?: $Enums.TerminationStatus[];
|
|
1040
|
+
not?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
1041
|
+
};
|
|
1042
|
+
export type NestedEnumRefundStatusFilter<$PrismaModel = never> = {
|
|
1043
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
1044
|
+
in?: $Enums.RefundStatus[];
|
|
1045
|
+
notIn?: $Enums.RefundStatus[];
|
|
1046
|
+
not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
1047
|
+
};
|
|
1048
|
+
export type NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel = never> = {
|
|
1049
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
1050
|
+
in?: $Enums.TerminationInitiator[];
|
|
1051
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
1052
|
+
not?: Prisma.NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
1053
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1054
|
+
_min?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
1055
|
+
_max?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
1056
|
+
};
|
|
1057
|
+
export type NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
1058
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
1059
|
+
in?: $Enums.TerminationType[];
|
|
1060
|
+
notIn?: $Enums.TerminationType[];
|
|
1061
|
+
not?: Prisma.NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel> | $Enums.TerminationType;
|
|
1062
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1063
|
+
_min?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
1064
|
+
_max?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
1065
|
+
};
|
|
1066
|
+
export type NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1067
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
1068
|
+
in?: $Enums.TerminationStatus[];
|
|
1069
|
+
notIn?: $Enums.TerminationStatus[];
|
|
1070
|
+
not?: Prisma.NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
1071
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1072
|
+
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
1073
|
+
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
947
1074
|
};
|
|
948
1075
|
export type NestedJsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
949
1076
|
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
@@ -962,6 +1089,21 @@ export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
|
962
1089
|
gte?: runtime.InputJsonValue;
|
|
963
1090
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
964
1091
|
};
|
|
1092
|
+
export type NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1093
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
1094
|
+
in?: $Enums.RefundStatus[];
|
|
1095
|
+
notIn?: $Enums.RefundStatus[];
|
|
1096
|
+
not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
1097
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1098
|
+
_min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
1099
|
+
_max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
1100
|
+
};
|
|
1101
|
+
export type NestedEnumPrequalificationStatusFilter<$PrismaModel = never> = {
|
|
1102
|
+
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
1103
|
+
in?: $Enums.PrequalificationStatus[];
|
|
1104
|
+
notIn?: $Enums.PrequalificationStatus[];
|
|
1105
|
+
not?: Prisma.NestedEnumPrequalificationStatusFilter<$PrismaModel> | $Enums.PrequalificationStatus;
|
|
1106
|
+
};
|
|
965
1107
|
export type NestedEnumPrequalificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
966
1108
|
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
967
1109
|
in?: $Enums.PrequalificationStatus[];
|
|
@@ -78,6 +78,47 @@ export declare const ApprovalDecision: {
|
|
|
78
78
|
readonly REQUEST_CHANGES: "REQUEST_CHANGES";
|
|
79
79
|
};
|
|
80
80
|
export type ApprovalDecision = (typeof ApprovalDecision)[keyof typeof ApprovalDecision];
|
|
81
|
+
export declare const TerminationType: {
|
|
82
|
+
readonly BUYER_WITHDRAWAL: "BUYER_WITHDRAWAL";
|
|
83
|
+
readonly SELLER_WITHDRAWAL: "SELLER_WITHDRAWAL";
|
|
84
|
+
readonly MUTUAL_AGREEMENT: "MUTUAL_AGREEMENT";
|
|
85
|
+
readonly PAYMENT_DEFAULT: "PAYMENT_DEFAULT";
|
|
86
|
+
readonly DOCUMENT_FAILURE: "DOCUMENT_FAILURE";
|
|
87
|
+
readonly FRAUD: "FRAUD";
|
|
88
|
+
readonly FORCE_MAJEURE: "FORCE_MAJEURE";
|
|
89
|
+
readonly PROPERTY_UNAVAILABLE: "PROPERTY_UNAVAILABLE";
|
|
90
|
+
readonly REGULATORY: "REGULATORY";
|
|
91
|
+
readonly OTHER: "OTHER";
|
|
92
|
+
};
|
|
93
|
+
export type TerminationType = (typeof TerminationType)[keyof typeof TerminationType];
|
|
94
|
+
export declare const TerminationStatus: {
|
|
95
|
+
readonly REQUESTED: "REQUESTED";
|
|
96
|
+
readonly PENDING_REVIEW: "PENDING_REVIEW";
|
|
97
|
+
readonly PENDING_REFUND: "PENDING_REFUND";
|
|
98
|
+
readonly REFUND_IN_PROGRESS: "REFUND_IN_PROGRESS";
|
|
99
|
+
readonly REFUND_COMPLETED: "REFUND_COMPLETED";
|
|
100
|
+
readonly COMPLETED: "COMPLETED";
|
|
101
|
+
readonly REJECTED: "REJECTED";
|
|
102
|
+
readonly CANCELLED: "CANCELLED";
|
|
103
|
+
};
|
|
104
|
+
export type TerminationStatus = (typeof TerminationStatus)[keyof typeof TerminationStatus];
|
|
105
|
+
export declare const RefundStatus: {
|
|
106
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
107
|
+
readonly PENDING: "PENDING";
|
|
108
|
+
readonly INITIATED: "INITIATED";
|
|
109
|
+
readonly PROCESSING: "PROCESSING";
|
|
110
|
+
readonly PARTIAL_COMPLETED: "PARTIAL_COMPLETED";
|
|
111
|
+
readonly COMPLETED: "COMPLETED";
|
|
112
|
+
readonly FAILED: "FAILED";
|
|
113
|
+
};
|
|
114
|
+
export type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
|
|
115
|
+
export declare const TerminationInitiator: {
|
|
116
|
+
readonly BUYER: "BUYER";
|
|
117
|
+
readonly SELLER: "SELLER";
|
|
118
|
+
readonly ADMIN: "ADMIN";
|
|
119
|
+
readonly SYSTEM: "SYSTEM";
|
|
120
|
+
};
|
|
121
|
+
export type TerminationInitiator = (typeof TerminationInitiator)[keyof typeof TerminationInitiator];
|
|
81
122
|
export declare const CompletionCriterion: {
|
|
82
123
|
readonly DOCUMENT_APPROVALS: "DOCUMENT_APPROVALS";
|
|
83
124
|
readonly PAYMENT_AMOUNT: "PAYMENT_AMOUNT";
|
|
@@ -77,6 +77,43 @@ export const ApprovalDecision = {
|
|
|
77
77
|
REJECTED: 'REJECTED',
|
|
78
78
|
REQUEST_CHANGES: 'REQUEST_CHANGES'
|
|
79
79
|
};
|
|
80
|
+
export const TerminationType = {
|
|
81
|
+
BUYER_WITHDRAWAL: 'BUYER_WITHDRAWAL',
|
|
82
|
+
SELLER_WITHDRAWAL: 'SELLER_WITHDRAWAL',
|
|
83
|
+
MUTUAL_AGREEMENT: 'MUTUAL_AGREEMENT',
|
|
84
|
+
PAYMENT_DEFAULT: 'PAYMENT_DEFAULT',
|
|
85
|
+
DOCUMENT_FAILURE: 'DOCUMENT_FAILURE',
|
|
86
|
+
FRAUD: 'FRAUD',
|
|
87
|
+
FORCE_MAJEURE: 'FORCE_MAJEURE',
|
|
88
|
+
PROPERTY_UNAVAILABLE: 'PROPERTY_UNAVAILABLE',
|
|
89
|
+
REGULATORY: 'REGULATORY',
|
|
90
|
+
OTHER: 'OTHER'
|
|
91
|
+
};
|
|
92
|
+
export const TerminationStatus = {
|
|
93
|
+
REQUESTED: 'REQUESTED',
|
|
94
|
+
PENDING_REVIEW: 'PENDING_REVIEW',
|
|
95
|
+
PENDING_REFUND: 'PENDING_REFUND',
|
|
96
|
+
REFUND_IN_PROGRESS: 'REFUND_IN_PROGRESS',
|
|
97
|
+
REFUND_COMPLETED: 'REFUND_COMPLETED',
|
|
98
|
+
COMPLETED: 'COMPLETED',
|
|
99
|
+
REJECTED: 'REJECTED',
|
|
100
|
+
CANCELLED: 'CANCELLED'
|
|
101
|
+
};
|
|
102
|
+
export const RefundStatus = {
|
|
103
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
104
|
+
PENDING: 'PENDING',
|
|
105
|
+
INITIATED: 'INITIATED',
|
|
106
|
+
PROCESSING: 'PROCESSING',
|
|
107
|
+
PARTIAL_COMPLETED: 'PARTIAL_COMPLETED',
|
|
108
|
+
COMPLETED: 'COMPLETED',
|
|
109
|
+
FAILED: 'FAILED'
|
|
110
|
+
};
|
|
111
|
+
export const TerminationInitiator = {
|
|
112
|
+
BUYER: 'BUYER',
|
|
113
|
+
SELLER: 'SELLER',
|
|
114
|
+
ADMIN: 'ADMIN',
|
|
115
|
+
SYSTEM: 'SYSTEM'
|
|
116
|
+
};
|
|
80
117
|
export const CompletionCriterion = {
|
|
81
118
|
DOCUMENT_APPROVALS: 'DOCUMENT_APPROVALS',
|
|
82
119
|
PAYMENT_AMOUNT: 'PAYMENT_AMOUNT',
|
|
@@ -562,6 +562,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
562
562
|
get contractEvent(): Prisma.ContractEventDelegate<ExtArgs, {
|
|
563
563
|
omit: OmitOpts;
|
|
564
564
|
}>;
|
|
565
|
+
/**
|
|
566
|
+
* `prisma.contractTermination`: Exposes CRUD operations for the **ContractTermination** model.
|
|
567
|
+
* Example usage:
|
|
568
|
+
* ```ts
|
|
569
|
+
* // Fetch zero or more ContractTerminations
|
|
570
|
+
* const contractTerminations = await prisma.contractTermination.findMany()
|
|
571
|
+
* ```
|
|
572
|
+
*/
|
|
573
|
+
get contractTermination(): Prisma.ContractTerminationDelegate<ExtArgs, {
|
|
574
|
+
omit: OmitOpts;
|
|
575
|
+
}>;
|
|
565
576
|
/**
|
|
566
577
|
* `prisma.prequalification`: Exposes CRUD operations for the **Prequalification** model.
|
|
567
578
|
* Example usage:
|