@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
|
@@ -272,6 +272,7 @@ export declare const ModelName: {
|
|
|
272
272
|
readonly ContractDocument: "ContractDocument";
|
|
273
273
|
readonly ContractTransition: "ContractTransition";
|
|
274
274
|
readonly ContractEvent: "ContractEvent";
|
|
275
|
+
readonly ContractTermination: "ContractTermination";
|
|
275
276
|
readonly Prequalification: "Prequalification";
|
|
276
277
|
readonly PaymentMethodChangeRequest: "PaymentMethodChangeRequest";
|
|
277
278
|
readonly DocumentRequirementRule: "DocumentRequirementRule";
|
|
@@ -288,7 +289,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
288
289
|
omit: GlobalOmitOptions;
|
|
289
290
|
};
|
|
290
291
|
meta: {
|
|
291
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "paymentMethodPhaseStep" | "paymentMethodPhaseDocument" | "contract" | "contractPhase" | "contractPhaseStep" | "contractPhaseStepDocument" | "contractPhaseStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "contractTransition" | "contractEvent" | "prequalification" | "paymentMethodChangeRequest" | "documentRequirementRule" | "domainEvent";
|
|
292
|
+
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "paymentMethodPhaseStep" | "paymentMethodPhaseDocument" | "contract" | "contractPhase" | "contractPhaseStep" | "contractPhaseStepDocument" | "contractPhaseStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "contractTransition" | "contractEvent" | "contractTermination" | "prequalification" | "paymentMethodChangeRequest" | "documentRequirementRule" | "domainEvent";
|
|
292
293
|
txIsolationLevel: TransactionIsolationLevel;
|
|
293
294
|
};
|
|
294
295
|
model: {
|
|
@@ -2998,6 +2999,72 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2998
2999
|
};
|
|
2999
3000
|
};
|
|
3000
3001
|
};
|
|
3002
|
+
ContractTermination: {
|
|
3003
|
+
payload: Prisma.$ContractTerminationPayload<ExtArgs>;
|
|
3004
|
+
fields: Prisma.ContractTerminationFieldRefs;
|
|
3005
|
+
operations: {
|
|
3006
|
+
findUnique: {
|
|
3007
|
+
args: Prisma.ContractTerminationFindUniqueArgs<ExtArgs>;
|
|
3008
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload> | null;
|
|
3009
|
+
};
|
|
3010
|
+
findUniqueOrThrow: {
|
|
3011
|
+
args: Prisma.ContractTerminationFindUniqueOrThrowArgs<ExtArgs>;
|
|
3012
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3013
|
+
};
|
|
3014
|
+
findFirst: {
|
|
3015
|
+
args: Prisma.ContractTerminationFindFirstArgs<ExtArgs>;
|
|
3016
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload> | null;
|
|
3017
|
+
};
|
|
3018
|
+
findFirstOrThrow: {
|
|
3019
|
+
args: Prisma.ContractTerminationFindFirstOrThrowArgs<ExtArgs>;
|
|
3020
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3021
|
+
};
|
|
3022
|
+
findMany: {
|
|
3023
|
+
args: Prisma.ContractTerminationFindManyArgs<ExtArgs>;
|
|
3024
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>[];
|
|
3025
|
+
};
|
|
3026
|
+
create: {
|
|
3027
|
+
args: Prisma.ContractTerminationCreateArgs<ExtArgs>;
|
|
3028
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3029
|
+
};
|
|
3030
|
+
createMany: {
|
|
3031
|
+
args: Prisma.ContractTerminationCreateManyArgs<ExtArgs>;
|
|
3032
|
+
result: BatchPayload;
|
|
3033
|
+
};
|
|
3034
|
+
delete: {
|
|
3035
|
+
args: Prisma.ContractTerminationDeleteArgs<ExtArgs>;
|
|
3036
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3037
|
+
};
|
|
3038
|
+
update: {
|
|
3039
|
+
args: Prisma.ContractTerminationUpdateArgs<ExtArgs>;
|
|
3040
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3041
|
+
};
|
|
3042
|
+
deleteMany: {
|
|
3043
|
+
args: Prisma.ContractTerminationDeleteManyArgs<ExtArgs>;
|
|
3044
|
+
result: BatchPayload;
|
|
3045
|
+
};
|
|
3046
|
+
updateMany: {
|
|
3047
|
+
args: Prisma.ContractTerminationUpdateManyArgs<ExtArgs>;
|
|
3048
|
+
result: BatchPayload;
|
|
3049
|
+
};
|
|
3050
|
+
upsert: {
|
|
3051
|
+
args: Prisma.ContractTerminationUpsertArgs<ExtArgs>;
|
|
3052
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractTerminationPayload>;
|
|
3053
|
+
};
|
|
3054
|
+
aggregate: {
|
|
3055
|
+
args: Prisma.ContractTerminationAggregateArgs<ExtArgs>;
|
|
3056
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateContractTermination>;
|
|
3057
|
+
};
|
|
3058
|
+
groupBy: {
|
|
3059
|
+
args: Prisma.ContractTerminationGroupByArgs<ExtArgs>;
|
|
3060
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractTerminationGroupByOutputType>[];
|
|
3061
|
+
};
|
|
3062
|
+
count: {
|
|
3063
|
+
args: Prisma.ContractTerminationCountArgs<ExtArgs>;
|
|
3064
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractTerminationCountAggregateOutputType> | number;
|
|
3065
|
+
};
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3001
3068
|
Prequalification: {
|
|
3002
3069
|
payload: Prisma.$PrequalificationPayload<ExtArgs>;
|
|
3003
3070
|
fields: Prisma.PrequalificationFieldRefs;
|
|
@@ -3575,6 +3642,7 @@ export declare const PaymentPlanScalarFieldEnum: {
|
|
|
3575
3642
|
readonly numberOfInstallments: "numberOfInstallments";
|
|
3576
3643
|
readonly calculateInterestDaily: "calculateInterestDaily";
|
|
3577
3644
|
readonly gracePeriodDays: "gracePeriodDays";
|
|
3645
|
+
readonly collectFunds: "collectFunds";
|
|
3578
3646
|
readonly createdAt: "createdAt";
|
|
3579
3647
|
readonly updatedAt: "updatedAt";
|
|
3580
3648
|
};
|
|
@@ -3612,6 +3680,7 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
|
|
|
3612
3680
|
readonly order: "order";
|
|
3613
3681
|
readonly interestRate: "interestRate";
|
|
3614
3682
|
readonly percentOfPrice: "percentOfPrice";
|
|
3683
|
+
readonly collectFunds: "collectFunds";
|
|
3615
3684
|
readonly requiresPreviousPhaseCompletion: "requiresPreviousPhaseCompletion";
|
|
3616
3685
|
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
3617
3686
|
readonly completionCriterion: "completionCriterion";
|
|
@@ -3691,6 +3760,7 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
3691
3760
|
readonly paidAmount: "paidAmount";
|
|
3692
3761
|
readonly remainingAmount: "remainingAmount";
|
|
3693
3762
|
readonly interestRate: "interestRate";
|
|
3763
|
+
readonly collectFunds: "collectFunds";
|
|
3694
3764
|
readonly approvedDocumentsCount: "approvedDocumentsCount";
|
|
3695
3765
|
readonly requiredDocumentsCount: "requiredDocumentsCount";
|
|
3696
3766
|
readonly completedStepsCount: "completedStepsCount";
|
|
@@ -3813,6 +3883,53 @@ export declare const ContractEventScalarFieldEnum: {
|
|
|
3813
3883
|
readonly createdAt: "createdAt";
|
|
3814
3884
|
};
|
|
3815
3885
|
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
3886
|
+
export declare const ContractTerminationScalarFieldEnum: {
|
|
3887
|
+
readonly id: "id";
|
|
3888
|
+
readonly contractId: "contractId";
|
|
3889
|
+
readonly tenantId: "tenantId";
|
|
3890
|
+
readonly requestNumber: "requestNumber";
|
|
3891
|
+
readonly initiatedBy: "initiatedBy";
|
|
3892
|
+
readonly initiatorId: "initiatorId";
|
|
3893
|
+
readonly type: "type";
|
|
3894
|
+
readonly reason: "reason";
|
|
3895
|
+
readonly supportingDocs: "supportingDocs";
|
|
3896
|
+
readonly status: "status";
|
|
3897
|
+
readonly requiresApproval: "requiresApproval";
|
|
3898
|
+
readonly autoApproveEligible: "autoApproveEligible";
|
|
3899
|
+
readonly reviewedBy: "reviewedBy";
|
|
3900
|
+
readonly reviewedAt: "reviewedAt";
|
|
3901
|
+
readonly reviewNotes: "reviewNotes";
|
|
3902
|
+
readonly rejectionReason: "rejectionReason";
|
|
3903
|
+
readonly contractSnapshot: "contractSnapshot";
|
|
3904
|
+
readonly totalContractAmount: "totalContractAmount";
|
|
3905
|
+
readonly totalPaidToDate: "totalPaidToDate";
|
|
3906
|
+
readonly outstandingBalance: "outstandingBalance";
|
|
3907
|
+
readonly refundableAmount: "refundableAmount";
|
|
3908
|
+
readonly penaltyAmount: "penaltyAmount";
|
|
3909
|
+
readonly forfeitedAmount: "forfeitedAmount";
|
|
3910
|
+
readonly adminFeeAmount: "adminFeeAmount";
|
|
3911
|
+
readonly netRefundAmount: "netRefundAmount";
|
|
3912
|
+
readonly settlementNotes: "settlementNotes";
|
|
3913
|
+
readonly refundStatus: "refundStatus";
|
|
3914
|
+
readonly refundReference: "refundReference";
|
|
3915
|
+
readonly refundMethod: "refundMethod";
|
|
3916
|
+
readonly refundAccountDetails: "refundAccountDetails";
|
|
3917
|
+
readonly refundInitiatedAt: "refundInitiatedAt";
|
|
3918
|
+
readonly refundCompletedAt: "refundCompletedAt";
|
|
3919
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
3920
|
+
readonly unitReleasedAt: "unitReleasedAt";
|
|
3921
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
3922
|
+
readonly requestedAt: "requestedAt";
|
|
3923
|
+
readonly approvedAt: "approvedAt";
|
|
3924
|
+
readonly executedAt: "executedAt";
|
|
3925
|
+
readonly completedAt: "completedAt";
|
|
3926
|
+
readonly cancelledAt: "cancelledAt";
|
|
3927
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
3928
|
+
readonly metadata: "metadata";
|
|
3929
|
+
readonly createdAt: "createdAt";
|
|
3930
|
+
readonly updatedAt: "updatedAt";
|
|
3931
|
+
};
|
|
3932
|
+
export type ContractTerminationScalarFieldEnum = (typeof ContractTerminationScalarFieldEnum)[keyof typeof ContractTerminationScalarFieldEnum];
|
|
3816
3933
|
export declare const PrequalificationScalarFieldEnum: {
|
|
3817
3934
|
readonly id: "id";
|
|
3818
3935
|
readonly tenantId: "tenantId";
|
|
@@ -4246,6 +4363,24 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
4246
4363
|
readonly data: "data";
|
|
4247
4364
|
};
|
|
4248
4365
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
4366
|
+
export declare const ContractTerminationOrderByRelevanceFieldEnum: {
|
|
4367
|
+
readonly id: "id";
|
|
4368
|
+
readonly contractId: "contractId";
|
|
4369
|
+
readonly tenantId: "tenantId";
|
|
4370
|
+
readonly requestNumber: "requestNumber";
|
|
4371
|
+
readonly initiatorId: "initiatorId";
|
|
4372
|
+
readonly reason: "reason";
|
|
4373
|
+
readonly reviewedBy: "reviewedBy";
|
|
4374
|
+
readonly reviewNotes: "reviewNotes";
|
|
4375
|
+
readonly rejectionReason: "rejectionReason";
|
|
4376
|
+
readonly settlementNotes: "settlementNotes";
|
|
4377
|
+
readonly refundReference: "refundReference";
|
|
4378
|
+
readonly refundMethod: "refundMethod";
|
|
4379
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
4380
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
4381
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
4382
|
+
};
|
|
4383
|
+
export type ContractTerminationOrderByRelevanceFieldEnum = (typeof ContractTerminationOrderByRelevanceFieldEnum)[keyof typeof ContractTerminationOrderByRelevanceFieldEnum];
|
|
4249
4384
|
export declare const PrequalificationOrderByRelevanceFieldEnum: {
|
|
4250
4385
|
readonly id: "id";
|
|
4251
4386
|
readonly tenantId: "tenantId";
|
|
@@ -4375,6 +4510,22 @@ export type EnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$Pr
|
|
|
4375
4510
|
* Reference to a field of type 'DocumentStatus'
|
|
4376
4511
|
*/
|
|
4377
4512
|
export type EnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus'>;
|
|
4513
|
+
/**
|
|
4514
|
+
* Reference to a field of type 'TerminationInitiator'
|
|
4515
|
+
*/
|
|
4516
|
+
export type EnumTerminationInitiatorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationInitiator'>;
|
|
4517
|
+
/**
|
|
4518
|
+
* Reference to a field of type 'TerminationType'
|
|
4519
|
+
*/
|
|
4520
|
+
export type EnumTerminationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationType'>;
|
|
4521
|
+
/**
|
|
4522
|
+
* Reference to a field of type 'TerminationStatus'
|
|
4523
|
+
*/
|
|
4524
|
+
export type EnumTerminationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationStatus'>;
|
|
4525
|
+
/**
|
|
4526
|
+
* Reference to a field of type 'RefundStatus'
|
|
4527
|
+
*/
|
|
4528
|
+
export type EnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus'>;
|
|
4378
4529
|
/**
|
|
4379
4530
|
* Reference to a field of type 'PrequalificationStatus'
|
|
4380
4531
|
*/
|
|
@@ -4522,6 +4673,7 @@ export type GlobalOmitConfig = {
|
|
|
4522
4673
|
contractDocument?: Prisma.ContractDocumentOmit;
|
|
4523
4674
|
contractTransition?: Prisma.ContractTransitionOmit;
|
|
4524
4675
|
contractEvent?: Prisma.ContractEventOmit;
|
|
4676
|
+
contractTermination?: Prisma.ContractTerminationOmit;
|
|
4525
4677
|
prequalification?: Prisma.PrequalificationOmit;
|
|
4526
4678
|
paymentMethodChangeRequest?: Prisma.PaymentMethodChangeRequestOmit;
|
|
4527
4679
|
documentRequirementRule?: Prisma.DocumentRequirementRuleOmit;
|
|
@@ -108,6 +108,7 @@ export const ModelName = {
|
|
|
108
108
|
ContractDocument: 'ContractDocument',
|
|
109
109
|
ContractTransition: 'ContractTransition',
|
|
110
110
|
ContractEvent: 'ContractEvent',
|
|
111
|
+
ContractTermination: 'ContractTermination',
|
|
111
112
|
Prequalification: 'Prequalification',
|
|
112
113
|
PaymentMethodChangeRequest: 'PaymentMethodChangeRequest',
|
|
113
114
|
DocumentRequirementRule: 'DocumentRequirementRule',
|
|
@@ -376,6 +377,7 @@ export const PaymentPlanScalarFieldEnum = {
|
|
|
376
377
|
numberOfInstallments: 'numberOfInstallments',
|
|
377
378
|
calculateInterestDaily: 'calculateInterestDaily',
|
|
378
379
|
gracePeriodDays: 'gracePeriodDays',
|
|
380
|
+
collectFunds: 'collectFunds',
|
|
379
381
|
createdAt: 'createdAt',
|
|
380
382
|
updatedAt: 'updatedAt'
|
|
381
383
|
};
|
|
@@ -410,6 +412,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
|
410
412
|
order: 'order',
|
|
411
413
|
interestRate: 'interestRate',
|
|
412
414
|
percentOfPrice: 'percentOfPrice',
|
|
415
|
+
collectFunds: 'collectFunds',
|
|
413
416
|
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
414
417
|
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
415
418
|
completionCriterion: 'completionCriterion',
|
|
@@ -485,6 +488,7 @@ export const ContractPhaseScalarFieldEnum = {
|
|
|
485
488
|
paidAmount: 'paidAmount',
|
|
486
489
|
remainingAmount: 'remainingAmount',
|
|
487
490
|
interestRate: 'interestRate',
|
|
491
|
+
collectFunds: 'collectFunds',
|
|
488
492
|
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
489
493
|
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
490
494
|
completedStepsCount: 'completedStepsCount',
|
|
@@ -598,6 +602,52 @@ export const ContractEventScalarFieldEnum = {
|
|
|
598
602
|
data: 'data',
|
|
599
603
|
createdAt: 'createdAt'
|
|
600
604
|
};
|
|
605
|
+
export const ContractTerminationScalarFieldEnum = {
|
|
606
|
+
id: 'id',
|
|
607
|
+
contractId: 'contractId',
|
|
608
|
+
tenantId: 'tenantId',
|
|
609
|
+
requestNumber: 'requestNumber',
|
|
610
|
+
initiatedBy: 'initiatedBy',
|
|
611
|
+
initiatorId: 'initiatorId',
|
|
612
|
+
type: 'type',
|
|
613
|
+
reason: 'reason',
|
|
614
|
+
supportingDocs: 'supportingDocs',
|
|
615
|
+
status: 'status',
|
|
616
|
+
requiresApproval: 'requiresApproval',
|
|
617
|
+
autoApproveEligible: 'autoApproveEligible',
|
|
618
|
+
reviewedBy: 'reviewedBy',
|
|
619
|
+
reviewedAt: 'reviewedAt',
|
|
620
|
+
reviewNotes: 'reviewNotes',
|
|
621
|
+
rejectionReason: 'rejectionReason',
|
|
622
|
+
contractSnapshot: 'contractSnapshot',
|
|
623
|
+
totalContractAmount: 'totalContractAmount',
|
|
624
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
625
|
+
outstandingBalance: 'outstandingBalance',
|
|
626
|
+
refundableAmount: 'refundableAmount',
|
|
627
|
+
penaltyAmount: 'penaltyAmount',
|
|
628
|
+
forfeitedAmount: 'forfeitedAmount',
|
|
629
|
+
adminFeeAmount: 'adminFeeAmount',
|
|
630
|
+
netRefundAmount: 'netRefundAmount',
|
|
631
|
+
settlementNotes: 'settlementNotes',
|
|
632
|
+
refundStatus: 'refundStatus',
|
|
633
|
+
refundReference: 'refundReference',
|
|
634
|
+
refundMethod: 'refundMethod',
|
|
635
|
+
refundAccountDetails: 'refundAccountDetails',
|
|
636
|
+
refundInitiatedAt: 'refundInitiatedAt',
|
|
637
|
+
refundCompletedAt: 'refundCompletedAt',
|
|
638
|
+
refundFailureReason: 'refundFailureReason',
|
|
639
|
+
unitReleasedAt: 'unitReleasedAt',
|
|
640
|
+
unitReservedForId: 'unitReservedForId',
|
|
641
|
+
requestedAt: 'requestedAt',
|
|
642
|
+
approvedAt: 'approvedAt',
|
|
643
|
+
executedAt: 'executedAt',
|
|
644
|
+
completedAt: 'completedAt',
|
|
645
|
+
cancelledAt: 'cancelledAt',
|
|
646
|
+
idempotencyKey: 'idempotencyKey',
|
|
647
|
+
metadata: 'metadata',
|
|
648
|
+
createdAt: 'createdAt',
|
|
649
|
+
updatedAt: 'updatedAt'
|
|
650
|
+
};
|
|
601
651
|
export const PrequalificationScalarFieldEnum = {
|
|
602
652
|
id: 'id',
|
|
603
653
|
tenantId: 'tenantId',
|
|
@@ -980,6 +1030,23 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
980
1030
|
event: 'event',
|
|
981
1031
|
data: 'data'
|
|
982
1032
|
};
|
|
1033
|
+
export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
1034
|
+
id: 'id',
|
|
1035
|
+
contractId: 'contractId',
|
|
1036
|
+
tenantId: 'tenantId',
|
|
1037
|
+
requestNumber: 'requestNumber',
|
|
1038
|
+
initiatorId: 'initiatorId',
|
|
1039
|
+
reason: 'reason',
|
|
1040
|
+
reviewedBy: 'reviewedBy',
|
|
1041
|
+
reviewNotes: 'reviewNotes',
|
|
1042
|
+
rejectionReason: 'rejectionReason',
|
|
1043
|
+
settlementNotes: 'settlementNotes',
|
|
1044
|
+
refundReference: 'refundReference',
|
|
1045
|
+
refundMethod: 'refundMethod',
|
|
1046
|
+
refundFailureReason: 'refundFailureReason',
|
|
1047
|
+
unitReservedForId: 'unitReservedForId',
|
|
1048
|
+
idempotencyKey: 'idempotencyKey'
|
|
1049
|
+
};
|
|
983
1050
|
export const PrequalificationOrderByRelevanceFieldEnum = {
|
|
984
1051
|
id: 'id',
|
|
985
1052
|
tenantId: 'tenantId',
|
|
@@ -67,6 +67,7 @@ export declare const ModelName: {
|
|
|
67
67
|
readonly ContractDocument: "ContractDocument";
|
|
68
68
|
readonly ContractTransition: "ContractTransition";
|
|
69
69
|
readonly ContractEvent: "ContractEvent";
|
|
70
|
+
readonly ContractTermination: "ContractTermination";
|
|
70
71
|
readonly Prequalification: "Prequalification";
|
|
71
72
|
readonly PaymentMethodChangeRequest: "PaymentMethodChangeRequest";
|
|
72
73
|
readonly DocumentRequirementRule: "DocumentRequirementRule";
|
|
@@ -359,6 +360,7 @@ export declare const PaymentPlanScalarFieldEnum: {
|
|
|
359
360
|
readonly numberOfInstallments: "numberOfInstallments";
|
|
360
361
|
readonly calculateInterestDaily: "calculateInterestDaily";
|
|
361
362
|
readonly gracePeriodDays: "gracePeriodDays";
|
|
363
|
+
readonly collectFunds: "collectFunds";
|
|
362
364
|
readonly createdAt: "createdAt";
|
|
363
365
|
readonly updatedAt: "updatedAt";
|
|
364
366
|
};
|
|
@@ -396,6 +398,7 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
|
|
|
396
398
|
readonly order: "order";
|
|
397
399
|
readonly interestRate: "interestRate";
|
|
398
400
|
readonly percentOfPrice: "percentOfPrice";
|
|
401
|
+
readonly collectFunds: "collectFunds";
|
|
399
402
|
readonly requiresPreviousPhaseCompletion: "requiresPreviousPhaseCompletion";
|
|
400
403
|
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
401
404
|
readonly completionCriterion: "completionCriterion";
|
|
@@ -475,6 +478,7 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
475
478
|
readonly paidAmount: "paidAmount";
|
|
476
479
|
readonly remainingAmount: "remainingAmount";
|
|
477
480
|
readonly interestRate: "interestRate";
|
|
481
|
+
readonly collectFunds: "collectFunds";
|
|
478
482
|
readonly approvedDocumentsCount: "approvedDocumentsCount";
|
|
479
483
|
readonly requiredDocumentsCount: "requiredDocumentsCount";
|
|
480
484
|
readonly completedStepsCount: "completedStepsCount";
|
|
@@ -597,6 +601,53 @@ export declare const ContractEventScalarFieldEnum: {
|
|
|
597
601
|
readonly createdAt: "createdAt";
|
|
598
602
|
};
|
|
599
603
|
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
604
|
+
export declare const ContractTerminationScalarFieldEnum: {
|
|
605
|
+
readonly id: "id";
|
|
606
|
+
readonly contractId: "contractId";
|
|
607
|
+
readonly tenantId: "tenantId";
|
|
608
|
+
readonly requestNumber: "requestNumber";
|
|
609
|
+
readonly initiatedBy: "initiatedBy";
|
|
610
|
+
readonly initiatorId: "initiatorId";
|
|
611
|
+
readonly type: "type";
|
|
612
|
+
readonly reason: "reason";
|
|
613
|
+
readonly supportingDocs: "supportingDocs";
|
|
614
|
+
readonly status: "status";
|
|
615
|
+
readonly requiresApproval: "requiresApproval";
|
|
616
|
+
readonly autoApproveEligible: "autoApproveEligible";
|
|
617
|
+
readonly reviewedBy: "reviewedBy";
|
|
618
|
+
readonly reviewedAt: "reviewedAt";
|
|
619
|
+
readonly reviewNotes: "reviewNotes";
|
|
620
|
+
readonly rejectionReason: "rejectionReason";
|
|
621
|
+
readonly contractSnapshot: "contractSnapshot";
|
|
622
|
+
readonly totalContractAmount: "totalContractAmount";
|
|
623
|
+
readonly totalPaidToDate: "totalPaidToDate";
|
|
624
|
+
readonly outstandingBalance: "outstandingBalance";
|
|
625
|
+
readonly refundableAmount: "refundableAmount";
|
|
626
|
+
readonly penaltyAmount: "penaltyAmount";
|
|
627
|
+
readonly forfeitedAmount: "forfeitedAmount";
|
|
628
|
+
readonly adminFeeAmount: "adminFeeAmount";
|
|
629
|
+
readonly netRefundAmount: "netRefundAmount";
|
|
630
|
+
readonly settlementNotes: "settlementNotes";
|
|
631
|
+
readonly refundStatus: "refundStatus";
|
|
632
|
+
readonly refundReference: "refundReference";
|
|
633
|
+
readonly refundMethod: "refundMethod";
|
|
634
|
+
readonly refundAccountDetails: "refundAccountDetails";
|
|
635
|
+
readonly refundInitiatedAt: "refundInitiatedAt";
|
|
636
|
+
readonly refundCompletedAt: "refundCompletedAt";
|
|
637
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
638
|
+
readonly unitReleasedAt: "unitReleasedAt";
|
|
639
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
640
|
+
readonly requestedAt: "requestedAt";
|
|
641
|
+
readonly approvedAt: "approvedAt";
|
|
642
|
+
readonly executedAt: "executedAt";
|
|
643
|
+
readonly completedAt: "completedAt";
|
|
644
|
+
readonly cancelledAt: "cancelledAt";
|
|
645
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
646
|
+
readonly metadata: "metadata";
|
|
647
|
+
readonly createdAt: "createdAt";
|
|
648
|
+
readonly updatedAt: "updatedAt";
|
|
649
|
+
};
|
|
650
|
+
export type ContractTerminationScalarFieldEnum = (typeof ContractTerminationScalarFieldEnum)[keyof typeof ContractTerminationScalarFieldEnum];
|
|
600
651
|
export declare const PrequalificationScalarFieldEnum: {
|
|
601
652
|
readonly id: "id";
|
|
602
653
|
readonly tenantId: "tenantId";
|
|
@@ -1030,6 +1081,24 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
1030
1081
|
readonly data: "data";
|
|
1031
1082
|
};
|
|
1032
1083
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1084
|
+
export declare const ContractTerminationOrderByRelevanceFieldEnum: {
|
|
1085
|
+
readonly id: "id";
|
|
1086
|
+
readonly contractId: "contractId";
|
|
1087
|
+
readonly tenantId: "tenantId";
|
|
1088
|
+
readonly requestNumber: "requestNumber";
|
|
1089
|
+
readonly initiatorId: "initiatorId";
|
|
1090
|
+
readonly reason: "reason";
|
|
1091
|
+
readonly reviewedBy: "reviewedBy";
|
|
1092
|
+
readonly reviewNotes: "reviewNotes";
|
|
1093
|
+
readonly rejectionReason: "rejectionReason";
|
|
1094
|
+
readonly settlementNotes: "settlementNotes";
|
|
1095
|
+
readonly refundReference: "refundReference";
|
|
1096
|
+
readonly refundMethod: "refundMethod";
|
|
1097
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
1098
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
1099
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
1100
|
+
};
|
|
1101
|
+
export type ContractTerminationOrderByRelevanceFieldEnum = (typeof ContractTerminationOrderByRelevanceFieldEnum)[keyof typeof ContractTerminationOrderByRelevanceFieldEnum];
|
|
1033
1102
|
export declare const PrequalificationOrderByRelevanceFieldEnum: {
|
|
1034
1103
|
readonly id: "id";
|
|
1035
1104
|
readonly tenantId: "tenantId";
|
|
@@ -80,6 +80,7 @@ export const ModelName = {
|
|
|
80
80
|
ContractDocument: 'ContractDocument',
|
|
81
81
|
ContractTransition: 'ContractTransition',
|
|
82
82
|
ContractEvent: 'ContractEvent',
|
|
83
|
+
ContractTermination: 'ContractTermination',
|
|
83
84
|
Prequalification: 'Prequalification',
|
|
84
85
|
PaymentMethodChangeRequest: 'PaymentMethodChangeRequest',
|
|
85
86
|
DocumentRequirementRule: 'DocumentRequirementRule',
|
|
@@ -348,6 +349,7 @@ export const PaymentPlanScalarFieldEnum = {
|
|
|
348
349
|
numberOfInstallments: 'numberOfInstallments',
|
|
349
350
|
calculateInterestDaily: 'calculateInterestDaily',
|
|
350
351
|
gracePeriodDays: 'gracePeriodDays',
|
|
352
|
+
collectFunds: 'collectFunds',
|
|
351
353
|
createdAt: 'createdAt',
|
|
352
354
|
updatedAt: 'updatedAt'
|
|
353
355
|
};
|
|
@@ -382,6 +384,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
|
382
384
|
order: 'order',
|
|
383
385
|
interestRate: 'interestRate',
|
|
384
386
|
percentOfPrice: 'percentOfPrice',
|
|
387
|
+
collectFunds: 'collectFunds',
|
|
385
388
|
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
386
389
|
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
387
390
|
completionCriterion: 'completionCriterion',
|
|
@@ -457,6 +460,7 @@ export const ContractPhaseScalarFieldEnum = {
|
|
|
457
460
|
paidAmount: 'paidAmount',
|
|
458
461
|
remainingAmount: 'remainingAmount',
|
|
459
462
|
interestRate: 'interestRate',
|
|
463
|
+
collectFunds: 'collectFunds',
|
|
460
464
|
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
461
465
|
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
462
466
|
completedStepsCount: 'completedStepsCount',
|
|
@@ -570,6 +574,52 @@ export const ContractEventScalarFieldEnum = {
|
|
|
570
574
|
data: 'data',
|
|
571
575
|
createdAt: 'createdAt'
|
|
572
576
|
};
|
|
577
|
+
export const ContractTerminationScalarFieldEnum = {
|
|
578
|
+
id: 'id',
|
|
579
|
+
contractId: 'contractId',
|
|
580
|
+
tenantId: 'tenantId',
|
|
581
|
+
requestNumber: 'requestNumber',
|
|
582
|
+
initiatedBy: 'initiatedBy',
|
|
583
|
+
initiatorId: 'initiatorId',
|
|
584
|
+
type: 'type',
|
|
585
|
+
reason: 'reason',
|
|
586
|
+
supportingDocs: 'supportingDocs',
|
|
587
|
+
status: 'status',
|
|
588
|
+
requiresApproval: 'requiresApproval',
|
|
589
|
+
autoApproveEligible: 'autoApproveEligible',
|
|
590
|
+
reviewedBy: 'reviewedBy',
|
|
591
|
+
reviewedAt: 'reviewedAt',
|
|
592
|
+
reviewNotes: 'reviewNotes',
|
|
593
|
+
rejectionReason: 'rejectionReason',
|
|
594
|
+
contractSnapshot: 'contractSnapshot',
|
|
595
|
+
totalContractAmount: 'totalContractAmount',
|
|
596
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
597
|
+
outstandingBalance: 'outstandingBalance',
|
|
598
|
+
refundableAmount: 'refundableAmount',
|
|
599
|
+
penaltyAmount: 'penaltyAmount',
|
|
600
|
+
forfeitedAmount: 'forfeitedAmount',
|
|
601
|
+
adminFeeAmount: 'adminFeeAmount',
|
|
602
|
+
netRefundAmount: 'netRefundAmount',
|
|
603
|
+
settlementNotes: 'settlementNotes',
|
|
604
|
+
refundStatus: 'refundStatus',
|
|
605
|
+
refundReference: 'refundReference',
|
|
606
|
+
refundMethod: 'refundMethod',
|
|
607
|
+
refundAccountDetails: 'refundAccountDetails',
|
|
608
|
+
refundInitiatedAt: 'refundInitiatedAt',
|
|
609
|
+
refundCompletedAt: 'refundCompletedAt',
|
|
610
|
+
refundFailureReason: 'refundFailureReason',
|
|
611
|
+
unitReleasedAt: 'unitReleasedAt',
|
|
612
|
+
unitReservedForId: 'unitReservedForId',
|
|
613
|
+
requestedAt: 'requestedAt',
|
|
614
|
+
approvedAt: 'approvedAt',
|
|
615
|
+
executedAt: 'executedAt',
|
|
616
|
+
completedAt: 'completedAt',
|
|
617
|
+
cancelledAt: 'cancelledAt',
|
|
618
|
+
idempotencyKey: 'idempotencyKey',
|
|
619
|
+
metadata: 'metadata',
|
|
620
|
+
createdAt: 'createdAt',
|
|
621
|
+
updatedAt: 'updatedAt'
|
|
622
|
+
};
|
|
573
623
|
export const PrequalificationScalarFieldEnum = {
|
|
574
624
|
id: 'id',
|
|
575
625
|
tenantId: 'tenantId',
|
|
@@ -952,6 +1002,23 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
952
1002
|
event: 'event',
|
|
953
1003
|
data: 'data'
|
|
954
1004
|
};
|
|
1005
|
+
export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
1006
|
+
id: 'id',
|
|
1007
|
+
contractId: 'contractId',
|
|
1008
|
+
tenantId: 'tenantId',
|
|
1009
|
+
requestNumber: 'requestNumber',
|
|
1010
|
+
initiatorId: 'initiatorId',
|
|
1011
|
+
reason: 'reason',
|
|
1012
|
+
reviewedBy: 'reviewedBy',
|
|
1013
|
+
reviewNotes: 'reviewNotes',
|
|
1014
|
+
rejectionReason: 'rejectionReason',
|
|
1015
|
+
settlementNotes: 'settlementNotes',
|
|
1016
|
+
refundReference: 'refundReference',
|
|
1017
|
+
refundMethod: 'refundMethod',
|
|
1018
|
+
refundFailureReason: 'refundFailureReason',
|
|
1019
|
+
unitReservedForId: 'unitReservedForId',
|
|
1020
|
+
idempotencyKey: 'idempotencyKey'
|
|
1021
|
+
};
|
|
955
1022
|
export const PrequalificationOrderByRelevanceFieldEnum = {
|
|
956
1023
|
id: 'id',
|
|
957
1024
|
tenantId: 'tenantId',
|