@valentine-efagene/qshelter-common 2.0.30 → 2.0.31
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 +130 -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 +150 -1
- package/dist/generated/client/internal/prismaNamespace.js +64 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +66 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +64 -0
- package/dist/generated/client/models/Contract.d.ts +271 -0
- package/dist/generated/client/models/ContractTermination.d.ts +3449 -0
- package/dist/generated/client/models/ContractTermination.js +1 -0
- 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/schema.prisma +145 -0
|
@@ -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;
|
|
@@ -3813,6 +3880,53 @@ export declare const ContractEventScalarFieldEnum: {
|
|
|
3813
3880
|
readonly createdAt: "createdAt";
|
|
3814
3881
|
};
|
|
3815
3882
|
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
3883
|
+
export declare const ContractTerminationScalarFieldEnum: {
|
|
3884
|
+
readonly id: "id";
|
|
3885
|
+
readonly contractId: "contractId";
|
|
3886
|
+
readonly tenantId: "tenantId";
|
|
3887
|
+
readonly requestNumber: "requestNumber";
|
|
3888
|
+
readonly initiatedBy: "initiatedBy";
|
|
3889
|
+
readonly initiatorId: "initiatorId";
|
|
3890
|
+
readonly type: "type";
|
|
3891
|
+
readonly reason: "reason";
|
|
3892
|
+
readonly supportingDocs: "supportingDocs";
|
|
3893
|
+
readonly status: "status";
|
|
3894
|
+
readonly requiresApproval: "requiresApproval";
|
|
3895
|
+
readonly autoApproveEligible: "autoApproveEligible";
|
|
3896
|
+
readonly reviewedBy: "reviewedBy";
|
|
3897
|
+
readonly reviewedAt: "reviewedAt";
|
|
3898
|
+
readonly reviewNotes: "reviewNotes";
|
|
3899
|
+
readonly rejectionReason: "rejectionReason";
|
|
3900
|
+
readonly contractSnapshot: "contractSnapshot";
|
|
3901
|
+
readonly totalContractAmount: "totalContractAmount";
|
|
3902
|
+
readonly totalPaidToDate: "totalPaidToDate";
|
|
3903
|
+
readonly outstandingBalance: "outstandingBalance";
|
|
3904
|
+
readonly refundableAmount: "refundableAmount";
|
|
3905
|
+
readonly penaltyAmount: "penaltyAmount";
|
|
3906
|
+
readonly forfeitedAmount: "forfeitedAmount";
|
|
3907
|
+
readonly adminFeeAmount: "adminFeeAmount";
|
|
3908
|
+
readonly netRefundAmount: "netRefundAmount";
|
|
3909
|
+
readonly settlementNotes: "settlementNotes";
|
|
3910
|
+
readonly refundStatus: "refundStatus";
|
|
3911
|
+
readonly refundReference: "refundReference";
|
|
3912
|
+
readonly refundMethod: "refundMethod";
|
|
3913
|
+
readonly refundAccountDetails: "refundAccountDetails";
|
|
3914
|
+
readonly refundInitiatedAt: "refundInitiatedAt";
|
|
3915
|
+
readonly refundCompletedAt: "refundCompletedAt";
|
|
3916
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
3917
|
+
readonly unitReleasedAt: "unitReleasedAt";
|
|
3918
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
3919
|
+
readonly requestedAt: "requestedAt";
|
|
3920
|
+
readonly approvedAt: "approvedAt";
|
|
3921
|
+
readonly executedAt: "executedAt";
|
|
3922
|
+
readonly completedAt: "completedAt";
|
|
3923
|
+
readonly cancelledAt: "cancelledAt";
|
|
3924
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
3925
|
+
readonly metadata: "metadata";
|
|
3926
|
+
readonly createdAt: "createdAt";
|
|
3927
|
+
readonly updatedAt: "updatedAt";
|
|
3928
|
+
};
|
|
3929
|
+
export type ContractTerminationScalarFieldEnum = (typeof ContractTerminationScalarFieldEnum)[keyof typeof ContractTerminationScalarFieldEnum];
|
|
3816
3930
|
export declare const PrequalificationScalarFieldEnum: {
|
|
3817
3931
|
readonly id: "id";
|
|
3818
3932
|
readonly tenantId: "tenantId";
|
|
@@ -4246,6 +4360,24 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
4246
4360
|
readonly data: "data";
|
|
4247
4361
|
};
|
|
4248
4362
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
4363
|
+
export declare const ContractTerminationOrderByRelevanceFieldEnum: {
|
|
4364
|
+
readonly id: "id";
|
|
4365
|
+
readonly contractId: "contractId";
|
|
4366
|
+
readonly tenantId: "tenantId";
|
|
4367
|
+
readonly requestNumber: "requestNumber";
|
|
4368
|
+
readonly initiatorId: "initiatorId";
|
|
4369
|
+
readonly reason: "reason";
|
|
4370
|
+
readonly reviewedBy: "reviewedBy";
|
|
4371
|
+
readonly reviewNotes: "reviewNotes";
|
|
4372
|
+
readonly rejectionReason: "rejectionReason";
|
|
4373
|
+
readonly settlementNotes: "settlementNotes";
|
|
4374
|
+
readonly refundReference: "refundReference";
|
|
4375
|
+
readonly refundMethod: "refundMethod";
|
|
4376
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
4377
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
4378
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
4379
|
+
};
|
|
4380
|
+
export type ContractTerminationOrderByRelevanceFieldEnum = (typeof ContractTerminationOrderByRelevanceFieldEnum)[keyof typeof ContractTerminationOrderByRelevanceFieldEnum];
|
|
4249
4381
|
export declare const PrequalificationOrderByRelevanceFieldEnum: {
|
|
4250
4382
|
readonly id: "id";
|
|
4251
4383
|
readonly tenantId: "tenantId";
|
|
@@ -4375,6 +4507,22 @@ export type EnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$Pr
|
|
|
4375
4507
|
* Reference to a field of type 'DocumentStatus'
|
|
4376
4508
|
*/
|
|
4377
4509
|
export type EnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus'>;
|
|
4510
|
+
/**
|
|
4511
|
+
* Reference to a field of type 'TerminationInitiator'
|
|
4512
|
+
*/
|
|
4513
|
+
export type EnumTerminationInitiatorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationInitiator'>;
|
|
4514
|
+
/**
|
|
4515
|
+
* Reference to a field of type 'TerminationType'
|
|
4516
|
+
*/
|
|
4517
|
+
export type EnumTerminationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationType'>;
|
|
4518
|
+
/**
|
|
4519
|
+
* Reference to a field of type 'TerminationStatus'
|
|
4520
|
+
*/
|
|
4521
|
+
export type EnumTerminationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationStatus'>;
|
|
4522
|
+
/**
|
|
4523
|
+
* Reference to a field of type 'RefundStatus'
|
|
4524
|
+
*/
|
|
4525
|
+
export type EnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus'>;
|
|
4378
4526
|
/**
|
|
4379
4527
|
* Reference to a field of type 'PrequalificationStatus'
|
|
4380
4528
|
*/
|
|
@@ -4522,6 +4670,7 @@ export type GlobalOmitConfig = {
|
|
|
4522
4670
|
contractDocument?: Prisma.ContractDocumentOmit;
|
|
4523
4671
|
contractTransition?: Prisma.ContractTransitionOmit;
|
|
4524
4672
|
contractEvent?: Prisma.ContractEventOmit;
|
|
4673
|
+
contractTermination?: Prisma.ContractTerminationOmit;
|
|
4525
4674
|
prequalification?: Prisma.PrequalificationOmit;
|
|
4526
4675
|
paymentMethodChangeRequest?: Prisma.PaymentMethodChangeRequestOmit;
|
|
4527
4676
|
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',
|
|
@@ -598,6 +599,52 @@ export const ContractEventScalarFieldEnum = {
|
|
|
598
599
|
data: 'data',
|
|
599
600
|
createdAt: 'createdAt'
|
|
600
601
|
};
|
|
602
|
+
export const ContractTerminationScalarFieldEnum = {
|
|
603
|
+
id: 'id',
|
|
604
|
+
contractId: 'contractId',
|
|
605
|
+
tenantId: 'tenantId',
|
|
606
|
+
requestNumber: 'requestNumber',
|
|
607
|
+
initiatedBy: 'initiatedBy',
|
|
608
|
+
initiatorId: 'initiatorId',
|
|
609
|
+
type: 'type',
|
|
610
|
+
reason: 'reason',
|
|
611
|
+
supportingDocs: 'supportingDocs',
|
|
612
|
+
status: 'status',
|
|
613
|
+
requiresApproval: 'requiresApproval',
|
|
614
|
+
autoApproveEligible: 'autoApproveEligible',
|
|
615
|
+
reviewedBy: 'reviewedBy',
|
|
616
|
+
reviewedAt: 'reviewedAt',
|
|
617
|
+
reviewNotes: 'reviewNotes',
|
|
618
|
+
rejectionReason: 'rejectionReason',
|
|
619
|
+
contractSnapshot: 'contractSnapshot',
|
|
620
|
+
totalContractAmount: 'totalContractAmount',
|
|
621
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
622
|
+
outstandingBalance: 'outstandingBalance',
|
|
623
|
+
refundableAmount: 'refundableAmount',
|
|
624
|
+
penaltyAmount: 'penaltyAmount',
|
|
625
|
+
forfeitedAmount: 'forfeitedAmount',
|
|
626
|
+
adminFeeAmount: 'adminFeeAmount',
|
|
627
|
+
netRefundAmount: 'netRefundAmount',
|
|
628
|
+
settlementNotes: 'settlementNotes',
|
|
629
|
+
refundStatus: 'refundStatus',
|
|
630
|
+
refundReference: 'refundReference',
|
|
631
|
+
refundMethod: 'refundMethod',
|
|
632
|
+
refundAccountDetails: 'refundAccountDetails',
|
|
633
|
+
refundInitiatedAt: 'refundInitiatedAt',
|
|
634
|
+
refundCompletedAt: 'refundCompletedAt',
|
|
635
|
+
refundFailureReason: 'refundFailureReason',
|
|
636
|
+
unitReleasedAt: 'unitReleasedAt',
|
|
637
|
+
unitReservedForId: 'unitReservedForId',
|
|
638
|
+
requestedAt: 'requestedAt',
|
|
639
|
+
approvedAt: 'approvedAt',
|
|
640
|
+
executedAt: 'executedAt',
|
|
641
|
+
completedAt: 'completedAt',
|
|
642
|
+
cancelledAt: 'cancelledAt',
|
|
643
|
+
idempotencyKey: 'idempotencyKey',
|
|
644
|
+
metadata: 'metadata',
|
|
645
|
+
createdAt: 'createdAt',
|
|
646
|
+
updatedAt: 'updatedAt'
|
|
647
|
+
};
|
|
601
648
|
export const PrequalificationScalarFieldEnum = {
|
|
602
649
|
id: 'id',
|
|
603
650
|
tenantId: 'tenantId',
|
|
@@ -980,6 +1027,23 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
980
1027
|
event: 'event',
|
|
981
1028
|
data: 'data'
|
|
982
1029
|
};
|
|
1030
|
+
export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
1031
|
+
id: 'id',
|
|
1032
|
+
contractId: 'contractId',
|
|
1033
|
+
tenantId: 'tenantId',
|
|
1034
|
+
requestNumber: 'requestNumber',
|
|
1035
|
+
initiatorId: 'initiatorId',
|
|
1036
|
+
reason: 'reason',
|
|
1037
|
+
reviewedBy: 'reviewedBy',
|
|
1038
|
+
reviewNotes: 'reviewNotes',
|
|
1039
|
+
rejectionReason: 'rejectionReason',
|
|
1040
|
+
settlementNotes: 'settlementNotes',
|
|
1041
|
+
refundReference: 'refundReference',
|
|
1042
|
+
refundMethod: 'refundMethod',
|
|
1043
|
+
refundFailureReason: 'refundFailureReason',
|
|
1044
|
+
unitReservedForId: 'unitReservedForId',
|
|
1045
|
+
idempotencyKey: 'idempotencyKey'
|
|
1046
|
+
};
|
|
983
1047
|
export const PrequalificationOrderByRelevanceFieldEnum = {
|
|
984
1048
|
id: 'id',
|
|
985
1049
|
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";
|
|
@@ -597,6 +598,53 @@ export declare const ContractEventScalarFieldEnum: {
|
|
|
597
598
|
readonly createdAt: "createdAt";
|
|
598
599
|
};
|
|
599
600
|
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
601
|
+
export declare const ContractTerminationScalarFieldEnum: {
|
|
602
|
+
readonly id: "id";
|
|
603
|
+
readonly contractId: "contractId";
|
|
604
|
+
readonly tenantId: "tenantId";
|
|
605
|
+
readonly requestNumber: "requestNumber";
|
|
606
|
+
readonly initiatedBy: "initiatedBy";
|
|
607
|
+
readonly initiatorId: "initiatorId";
|
|
608
|
+
readonly type: "type";
|
|
609
|
+
readonly reason: "reason";
|
|
610
|
+
readonly supportingDocs: "supportingDocs";
|
|
611
|
+
readonly status: "status";
|
|
612
|
+
readonly requiresApproval: "requiresApproval";
|
|
613
|
+
readonly autoApproveEligible: "autoApproveEligible";
|
|
614
|
+
readonly reviewedBy: "reviewedBy";
|
|
615
|
+
readonly reviewedAt: "reviewedAt";
|
|
616
|
+
readonly reviewNotes: "reviewNotes";
|
|
617
|
+
readonly rejectionReason: "rejectionReason";
|
|
618
|
+
readonly contractSnapshot: "contractSnapshot";
|
|
619
|
+
readonly totalContractAmount: "totalContractAmount";
|
|
620
|
+
readonly totalPaidToDate: "totalPaidToDate";
|
|
621
|
+
readonly outstandingBalance: "outstandingBalance";
|
|
622
|
+
readonly refundableAmount: "refundableAmount";
|
|
623
|
+
readonly penaltyAmount: "penaltyAmount";
|
|
624
|
+
readonly forfeitedAmount: "forfeitedAmount";
|
|
625
|
+
readonly adminFeeAmount: "adminFeeAmount";
|
|
626
|
+
readonly netRefundAmount: "netRefundAmount";
|
|
627
|
+
readonly settlementNotes: "settlementNotes";
|
|
628
|
+
readonly refundStatus: "refundStatus";
|
|
629
|
+
readonly refundReference: "refundReference";
|
|
630
|
+
readonly refundMethod: "refundMethod";
|
|
631
|
+
readonly refundAccountDetails: "refundAccountDetails";
|
|
632
|
+
readonly refundInitiatedAt: "refundInitiatedAt";
|
|
633
|
+
readonly refundCompletedAt: "refundCompletedAt";
|
|
634
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
635
|
+
readonly unitReleasedAt: "unitReleasedAt";
|
|
636
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
637
|
+
readonly requestedAt: "requestedAt";
|
|
638
|
+
readonly approvedAt: "approvedAt";
|
|
639
|
+
readonly executedAt: "executedAt";
|
|
640
|
+
readonly completedAt: "completedAt";
|
|
641
|
+
readonly cancelledAt: "cancelledAt";
|
|
642
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
643
|
+
readonly metadata: "metadata";
|
|
644
|
+
readonly createdAt: "createdAt";
|
|
645
|
+
readonly updatedAt: "updatedAt";
|
|
646
|
+
};
|
|
647
|
+
export type ContractTerminationScalarFieldEnum = (typeof ContractTerminationScalarFieldEnum)[keyof typeof ContractTerminationScalarFieldEnum];
|
|
600
648
|
export declare const PrequalificationScalarFieldEnum: {
|
|
601
649
|
readonly id: "id";
|
|
602
650
|
readonly tenantId: "tenantId";
|
|
@@ -1030,6 +1078,24 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
1030
1078
|
readonly data: "data";
|
|
1031
1079
|
};
|
|
1032
1080
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1081
|
+
export declare const ContractTerminationOrderByRelevanceFieldEnum: {
|
|
1082
|
+
readonly id: "id";
|
|
1083
|
+
readonly contractId: "contractId";
|
|
1084
|
+
readonly tenantId: "tenantId";
|
|
1085
|
+
readonly requestNumber: "requestNumber";
|
|
1086
|
+
readonly initiatorId: "initiatorId";
|
|
1087
|
+
readonly reason: "reason";
|
|
1088
|
+
readonly reviewedBy: "reviewedBy";
|
|
1089
|
+
readonly reviewNotes: "reviewNotes";
|
|
1090
|
+
readonly rejectionReason: "rejectionReason";
|
|
1091
|
+
readonly settlementNotes: "settlementNotes";
|
|
1092
|
+
readonly refundReference: "refundReference";
|
|
1093
|
+
readonly refundMethod: "refundMethod";
|
|
1094
|
+
readonly refundFailureReason: "refundFailureReason";
|
|
1095
|
+
readonly unitReservedForId: "unitReservedForId";
|
|
1096
|
+
readonly idempotencyKey: "idempotencyKey";
|
|
1097
|
+
};
|
|
1098
|
+
export type ContractTerminationOrderByRelevanceFieldEnum = (typeof ContractTerminationOrderByRelevanceFieldEnum)[keyof typeof ContractTerminationOrderByRelevanceFieldEnum];
|
|
1033
1099
|
export declare const PrequalificationOrderByRelevanceFieldEnum: {
|
|
1034
1100
|
readonly id: "id";
|
|
1035
1101
|
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',
|
|
@@ -570,6 +571,52 @@ export const ContractEventScalarFieldEnum = {
|
|
|
570
571
|
data: 'data',
|
|
571
572
|
createdAt: 'createdAt'
|
|
572
573
|
};
|
|
574
|
+
export const ContractTerminationScalarFieldEnum = {
|
|
575
|
+
id: 'id',
|
|
576
|
+
contractId: 'contractId',
|
|
577
|
+
tenantId: 'tenantId',
|
|
578
|
+
requestNumber: 'requestNumber',
|
|
579
|
+
initiatedBy: 'initiatedBy',
|
|
580
|
+
initiatorId: 'initiatorId',
|
|
581
|
+
type: 'type',
|
|
582
|
+
reason: 'reason',
|
|
583
|
+
supportingDocs: 'supportingDocs',
|
|
584
|
+
status: 'status',
|
|
585
|
+
requiresApproval: 'requiresApproval',
|
|
586
|
+
autoApproveEligible: 'autoApproveEligible',
|
|
587
|
+
reviewedBy: 'reviewedBy',
|
|
588
|
+
reviewedAt: 'reviewedAt',
|
|
589
|
+
reviewNotes: 'reviewNotes',
|
|
590
|
+
rejectionReason: 'rejectionReason',
|
|
591
|
+
contractSnapshot: 'contractSnapshot',
|
|
592
|
+
totalContractAmount: 'totalContractAmount',
|
|
593
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
594
|
+
outstandingBalance: 'outstandingBalance',
|
|
595
|
+
refundableAmount: 'refundableAmount',
|
|
596
|
+
penaltyAmount: 'penaltyAmount',
|
|
597
|
+
forfeitedAmount: 'forfeitedAmount',
|
|
598
|
+
adminFeeAmount: 'adminFeeAmount',
|
|
599
|
+
netRefundAmount: 'netRefundAmount',
|
|
600
|
+
settlementNotes: 'settlementNotes',
|
|
601
|
+
refundStatus: 'refundStatus',
|
|
602
|
+
refundReference: 'refundReference',
|
|
603
|
+
refundMethod: 'refundMethod',
|
|
604
|
+
refundAccountDetails: 'refundAccountDetails',
|
|
605
|
+
refundInitiatedAt: 'refundInitiatedAt',
|
|
606
|
+
refundCompletedAt: 'refundCompletedAt',
|
|
607
|
+
refundFailureReason: 'refundFailureReason',
|
|
608
|
+
unitReleasedAt: 'unitReleasedAt',
|
|
609
|
+
unitReservedForId: 'unitReservedForId',
|
|
610
|
+
requestedAt: 'requestedAt',
|
|
611
|
+
approvedAt: 'approvedAt',
|
|
612
|
+
executedAt: 'executedAt',
|
|
613
|
+
completedAt: 'completedAt',
|
|
614
|
+
cancelledAt: 'cancelledAt',
|
|
615
|
+
idempotencyKey: 'idempotencyKey',
|
|
616
|
+
metadata: 'metadata',
|
|
617
|
+
createdAt: 'createdAt',
|
|
618
|
+
updatedAt: 'updatedAt'
|
|
619
|
+
};
|
|
573
620
|
export const PrequalificationScalarFieldEnum = {
|
|
574
621
|
id: 'id',
|
|
575
622
|
tenantId: 'tenantId',
|
|
@@ -952,6 +999,23 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
952
999
|
event: 'event',
|
|
953
1000
|
data: 'data'
|
|
954
1001
|
};
|
|
1002
|
+
export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
1003
|
+
id: 'id',
|
|
1004
|
+
contractId: 'contractId',
|
|
1005
|
+
tenantId: 'tenantId',
|
|
1006
|
+
requestNumber: 'requestNumber',
|
|
1007
|
+
initiatorId: 'initiatorId',
|
|
1008
|
+
reason: 'reason',
|
|
1009
|
+
reviewedBy: 'reviewedBy',
|
|
1010
|
+
reviewNotes: 'reviewNotes',
|
|
1011
|
+
rejectionReason: 'rejectionReason',
|
|
1012
|
+
settlementNotes: 'settlementNotes',
|
|
1013
|
+
refundReference: 'refundReference',
|
|
1014
|
+
refundMethod: 'refundMethod',
|
|
1015
|
+
refundFailureReason: 'refundFailureReason',
|
|
1016
|
+
unitReservedForId: 'unitReservedForId',
|
|
1017
|
+
idempotencyKey: 'idempotencyKey'
|
|
1018
|
+
};
|
|
955
1019
|
export const PrequalificationOrderByRelevanceFieldEnum = {
|
|
956
1020
|
id: 'id',
|
|
957
1021
|
tenantId: 'tenantId',
|