@valentine-efagene/qshelter-common 2.0.94 → 2.0.96
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 +16 -16
- package/dist/generated/client/client.d.ts +16 -16
- package/dist/generated/client/commonInputTypes.d.ts +72 -72
- package/dist/generated/client/enums.d.ts +13 -13
- package/dist/generated/client/enums.js +10 -10
- package/dist/generated/client/internal/class.d.ts +32 -32
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +321 -321
- package/dist/generated/client/internal/prismaNamespace.js +50 -50
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +66 -66
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +50 -50
- package/dist/generated/client/models/Application.d.ts +5439 -0
- package/dist/generated/client/models/Application.js +1 -0
- package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
- package/dist/generated/client/models/ApplicationDocument.js +1 -0
- package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
- package/dist/generated/client/models/ApplicationEvent.js +1 -0
- package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
- package/dist/generated/client/models/ApplicationPayment.js +1 -0
- package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
- package/dist/generated/client/models/ApplicationPhase.js +1 -0
- package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
- package/dist/generated/client/models/ApplicationRefund.js +1 -0
- package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
- package/dist/generated/client/models/ApplicationTermination.js +1 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
- package/dist/generated/client/models/OfferLetter.d.ts +97 -97
- package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
- package/dist/generated/client/models/PaymentInstallment.js +1 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
- package/dist/generated/client/models/PaymentPhase.d.ts +40 -40
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
- package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
- package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
- package/dist/generated/client/models/Tenant.d.ts +323 -323
- package/dist/generated/client/models/User.d.ts +1329 -1329
- package/dist/generated/client/models/index.d.ts +8 -8
- package/dist/generated/client/models/index.js +8 -8
- package/dist/generated/client/models.d.ts +8 -8
- package/dist/src/auth/policy-evaluator.d.ts +5 -5
- package/dist/src/auth/policy-evaluator.js +7 -7
- package/dist/src/events/notifications/notification-enums.d.ts +5 -5
- package/dist/src/events/notifications/notification-enums.js +6 -6
- package/dist/src/events/payments/payment-event.d.ts +2 -2
- package/dist/src/events/payments/payment-publisher.d.ts +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +293 -0
- package/prisma/migrations/20260112081422_cleanup_rename_contract_to_application/migration.sql +14 -0
- package/prisma/schema.prisma +107 -107
- package/prisma/schema.prisma.backup +2601 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -241,7 +241,7 @@ export type DocumentationPhaseWhereInput = {
|
|
|
241
241
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
242
242
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
243
243
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
244
|
-
phase?: Prisma.XOR<Prisma.
|
|
244
|
+
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
245
245
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
246
246
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
247
247
|
};
|
|
@@ -259,7 +259,7 @@ export type DocumentationPhaseOrderByWithRelationInput = {
|
|
|
259
259
|
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
260
|
createdAt?: Prisma.SortOrder;
|
|
261
261
|
updatedAt?: Prisma.SortOrder;
|
|
262
|
-
phase?: Prisma.
|
|
262
|
+
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
263
263
|
currentStep?: Prisma.DocumentationStepOrderByWithRelationInput;
|
|
264
264
|
steps?: Prisma.DocumentationStepOrderByRelationAggregateInput;
|
|
265
265
|
_relevance?: Prisma.DocumentationPhaseOrderByRelevanceInput;
|
|
@@ -281,7 +281,7 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
281
281
|
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"DocumentationPhase">;
|
|
282
282
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
283
283
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
284
|
-
phase?: Prisma.XOR<Prisma.
|
|
284
|
+
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
285
285
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
286
286
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
287
287
|
}, "id" | "phaseId">;
|
|
@@ -335,7 +335,7 @@ export type DocumentationPhaseCreateInput = {
|
|
|
335
335
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
336
336
|
createdAt?: Date | string;
|
|
337
337
|
updatedAt?: Date | string;
|
|
338
|
-
phase: Prisma.
|
|
338
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
339
339
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
340
340
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
341
341
|
};
|
|
@@ -367,7 +367,7 @@ export type DocumentationPhaseUpdateInput = {
|
|
|
367
367
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
368
368
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
369
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
-
phase?: Prisma.
|
|
370
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
371
371
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
372
372
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
373
373
|
};
|
|
@@ -669,7 +669,7 @@ export type DocumentationPhaseCreateWithoutStepsInput = {
|
|
|
669
669
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
670
670
|
createdAt?: Date | string;
|
|
671
671
|
updatedAt?: Date | string;
|
|
672
|
-
phase: Prisma.
|
|
672
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
673
673
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
674
674
|
};
|
|
675
675
|
export type DocumentationPhaseUncheckedCreateWithoutStepsInput = {
|
|
@@ -703,7 +703,7 @@ export type DocumentationPhaseCreateWithoutCurrentStepInput = {
|
|
|
703
703
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
704
704
|
createdAt?: Date | string;
|
|
705
705
|
updatedAt?: Date | string;
|
|
706
|
-
phase: Prisma.
|
|
706
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
707
707
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
708
708
|
};
|
|
709
709
|
export type DocumentationPhaseUncheckedCreateWithoutCurrentStepInput = {
|
|
@@ -750,7 +750,7 @@ export type DocumentationPhaseUpdateWithoutStepsInput = {
|
|
|
750
750
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
751
751
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
752
752
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
753
|
-
phase?: Prisma.
|
|
753
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
754
754
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
755
755
|
};
|
|
756
756
|
export type DocumentationPhaseUncheckedUpdateWithoutStepsInput = {
|
|
@@ -825,7 +825,7 @@ export type DocumentationPhaseUpdateWithoutCurrentStepInput = {
|
|
|
825
825
|
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
826
826
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
827
827
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
828
|
-
phase?: Prisma.
|
|
828
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
829
829
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
830
830
|
};
|
|
831
831
|
export type DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput = {
|
|
@@ -895,7 +895,7 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
895
895
|
requiredDocumentSnapshot?: boolean;
|
|
896
896
|
createdAt?: boolean;
|
|
897
897
|
updatedAt?: boolean;
|
|
898
|
-
phase?: boolean | Prisma.
|
|
898
|
+
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
899
899
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
900
900
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
901
901
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -917,7 +917,7 @@ export type DocumentationPhaseSelectScalar = {
|
|
|
917
917
|
};
|
|
918
918
|
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "currentStepId" | "approvedDocumentsCount" | "requiredDocumentsCount" | "completedStepsCount" | "totalStepsCount" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
919
919
|
export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
920
|
-
phase?: boolean | Prisma.
|
|
920
|
+
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
921
921
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
922
922
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
923
923
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -925,7 +925,7 @@ export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.I
|
|
|
925
925
|
export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
926
926
|
name: "DocumentationPhase";
|
|
927
927
|
objects: {
|
|
928
|
-
phase: Prisma.$
|
|
928
|
+
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
929
929
|
currentStep: Prisma.$DocumentationStepPayload<ExtArgs> | null;
|
|
930
930
|
steps: Prisma.$DocumentationStepPayload<ExtArgs>[];
|
|
931
931
|
};
|
|
@@ -1220,7 +1220,7 @@ export interface DocumentationPhaseDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
1220
1220
|
*/
|
|
1221
1221
|
export interface Prisma__DocumentationPhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1222
1222
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1223
|
-
phase<T extends Prisma.
|
|
1223
|
+
phase<T extends Prisma.ApplicationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1224
1224
|
currentStep<T extends Prisma.DocumentationPhase$currentStepArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$currentStepArgs<ExtArgs>>): Prisma.Prisma__DocumentationStepClient<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1225
1225
|
steps<T extends Prisma.DocumentationPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1226
1226
|
/**
|