@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
|
@@ -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
|
*
|
|
@@ -441,6 +441,24 @@ export type EnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
441
441
|
_min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
442
442
|
_max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
443
443
|
};
|
|
444
|
+
export type EnumTerminationInitiatorFilter<$PrismaModel = never> = {
|
|
445
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
446
|
+
in?: $Enums.TerminationInitiator[];
|
|
447
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
448
|
+
not?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
449
|
+
};
|
|
450
|
+
export type EnumTerminationTypeFilter<$PrismaModel = never> = {
|
|
451
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
452
|
+
in?: $Enums.TerminationType[];
|
|
453
|
+
notIn?: $Enums.TerminationType[];
|
|
454
|
+
not?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel> | $Enums.TerminationType;
|
|
455
|
+
};
|
|
456
|
+
export type EnumTerminationStatusFilter<$PrismaModel = never> = {
|
|
457
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
458
|
+
in?: $Enums.TerminationStatus[];
|
|
459
|
+
notIn?: $Enums.TerminationStatus[];
|
|
460
|
+
not?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
461
|
+
};
|
|
444
462
|
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
463
|
export type JsonFilterBase<$PrismaModel = never> = {
|
|
446
464
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
@@ -458,11 +476,38 @@ export type JsonFilterBase<$PrismaModel = never> = {
|
|
|
458
476
|
gte?: runtime.InputJsonValue;
|
|
459
477
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
460
478
|
};
|
|
461
|
-
export type
|
|
462
|
-
equals?: $Enums.
|
|
463
|
-
in?: $Enums.
|
|
464
|
-
notIn?: $Enums.
|
|
465
|
-
not?: Prisma.
|
|
479
|
+
export type EnumRefundStatusFilter<$PrismaModel = never> = {
|
|
480
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
481
|
+
in?: $Enums.RefundStatus[];
|
|
482
|
+
notIn?: $Enums.RefundStatus[];
|
|
483
|
+
not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
484
|
+
};
|
|
485
|
+
export type EnumTerminationInitiatorWithAggregatesFilter<$PrismaModel = never> = {
|
|
486
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
487
|
+
in?: $Enums.TerminationInitiator[];
|
|
488
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
489
|
+
not?: Prisma.NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
490
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
491
|
+
_min?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
492
|
+
_max?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
493
|
+
};
|
|
494
|
+
export type EnumTerminationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
495
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
496
|
+
in?: $Enums.TerminationType[];
|
|
497
|
+
notIn?: $Enums.TerminationType[];
|
|
498
|
+
not?: Prisma.NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel> | $Enums.TerminationType;
|
|
499
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
500
|
+
_min?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
501
|
+
_max?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
502
|
+
};
|
|
503
|
+
export type EnumTerminationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
504
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
505
|
+
in?: $Enums.TerminationStatus[];
|
|
506
|
+
notIn?: $Enums.TerminationStatus[];
|
|
507
|
+
not?: Prisma.NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
508
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
509
|
+
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
510
|
+
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
466
511
|
};
|
|
467
512
|
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
513
|
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
@@ -484,6 +529,21 @@ export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
|
484
529
|
_min?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
485
530
|
_max?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
486
531
|
};
|
|
532
|
+
export type EnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
533
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
534
|
+
in?: $Enums.RefundStatus[];
|
|
535
|
+
notIn?: $Enums.RefundStatus[];
|
|
536
|
+
not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
537
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
538
|
+
_min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
539
|
+
_max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
540
|
+
};
|
|
541
|
+
export type EnumPrequalificationStatusFilter<$PrismaModel = never> = {
|
|
542
|
+
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
543
|
+
in?: $Enums.PrequalificationStatus[];
|
|
544
|
+
notIn?: $Enums.PrequalificationStatus[];
|
|
545
|
+
not?: Prisma.NestedEnumPrequalificationStatusFilter<$PrismaModel> | $Enums.PrequalificationStatus;
|
|
546
|
+
};
|
|
487
547
|
export type EnumPrequalificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
488
548
|
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
489
549
|
in?: $Enums.PrequalificationStatus[];
|
|
@@ -939,11 +999,56 @@ export type NestedEnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> =
|
|
|
939
999
|
_min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
940
1000
|
_max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
|
|
941
1001
|
};
|
|
942
|
-
export type
|
|
943
|
-
equals?: $Enums.
|
|
944
|
-
in?: $Enums.
|
|
945
|
-
notIn?: $Enums.
|
|
946
|
-
not?: Prisma.
|
|
1002
|
+
export type NestedEnumTerminationInitiatorFilter<$PrismaModel = never> = {
|
|
1003
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
1004
|
+
in?: $Enums.TerminationInitiator[];
|
|
1005
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
1006
|
+
not?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
1007
|
+
};
|
|
1008
|
+
export type NestedEnumTerminationTypeFilter<$PrismaModel = never> = {
|
|
1009
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
1010
|
+
in?: $Enums.TerminationType[];
|
|
1011
|
+
notIn?: $Enums.TerminationType[];
|
|
1012
|
+
not?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel> | $Enums.TerminationType;
|
|
1013
|
+
};
|
|
1014
|
+
export type NestedEnumTerminationStatusFilter<$PrismaModel = never> = {
|
|
1015
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
1016
|
+
in?: $Enums.TerminationStatus[];
|
|
1017
|
+
notIn?: $Enums.TerminationStatus[];
|
|
1018
|
+
not?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
1019
|
+
};
|
|
1020
|
+
export type NestedEnumRefundStatusFilter<$PrismaModel = never> = {
|
|
1021
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
1022
|
+
in?: $Enums.RefundStatus[];
|
|
1023
|
+
notIn?: $Enums.RefundStatus[];
|
|
1024
|
+
not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
1025
|
+
};
|
|
1026
|
+
export type NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel = never> = {
|
|
1027
|
+
equals?: $Enums.TerminationInitiator | Prisma.EnumTerminationInitiatorFieldRefInput<$PrismaModel>;
|
|
1028
|
+
in?: $Enums.TerminationInitiator[];
|
|
1029
|
+
notIn?: $Enums.TerminationInitiator[];
|
|
1030
|
+
not?: Prisma.NestedEnumTerminationInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.TerminationInitiator;
|
|
1031
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1032
|
+
_min?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
1033
|
+
_max?: Prisma.NestedEnumTerminationInitiatorFilter<$PrismaModel>;
|
|
1034
|
+
};
|
|
1035
|
+
export type NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
1036
|
+
equals?: $Enums.TerminationType | Prisma.EnumTerminationTypeFieldRefInput<$PrismaModel>;
|
|
1037
|
+
in?: $Enums.TerminationType[];
|
|
1038
|
+
notIn?: $Enums.TerminationType[];
|
|
1039
|
+
not?: Prisma.NestedEnumTerminationTypeWithAggregatesFilter<$PrismaModel> | $Enums.TerminationType;
|
|
1040
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1041
|
+
_min?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
1042
|
+
_max?: Prisma.NestedEnumTerminationTypeFilter<$PrismaModel>;
|
|
1043
|
+
};
|
|
1044
|
+
export type NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1045
|
+
equals?: $Enums.TerminationStatus | Prisma.EnumTerminationStatusFieldRefInput<$PrismaModel>;
|
|
1046
|
+
in?: $Enums.TerminationStatus[];
|
|
1047
|
+
notIn?: $Enums.TerminationStatus[];
|
|
1048
|
+
not?: Prisma.NestedEnumTerminationStatusWithAggregatesFilter<$PrismaModel> | $Enums.TerminationStatus;
|
|
1049
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1050
|
+
_min?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
1051
|
+
_max?: Prisma.NestedEnumTerminationStatusFilter<$PrismaModel>;
|
|
947
1052
|
};
|
|
948
1053
|
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
1054
|
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
@@ -962,6 +1067,21 @@ export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
|
962
1067
|
gte?: runtime.InputJsonValue;
|
|
963
1068
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
964
1069
|
};
|
|
1070
|
+
export type NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1071
|
+
equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
|
|
1072
|
+
in?: $Enums.RefundStatus[];
|
|
1073
|
+
notIn?: $Enums.RefundStatus[];
|
|
1074
|
+
not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus;
|
|
1075
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1076
|
+
_min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
1077
|
+
_max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel>;
|
|
1078
|
+
};
|
|
1079
|
+
export type NestedEnumPrequalificationStatusFilter<$PrismaModel = never> = {
|
|
1080
|
+
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
1081
|
+
in?: $Enums.PrequalificationStatus[];
|
|
1082
|
+
notIn?: $Enums.PrequalificationStatus[];
|
|
1083
|
+
not?: Prisma.NestedEnumPrequalificationStatusFilter<$PrismaModel> | $Enums.PrequalificationStatus;
|
|
1084
|
+
};
|
|
965
1085
|
export type NestedEnumPrequalificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
966
1086
|
equals?: $Enums.PrequalificationStatus | Prisma.EnumPrequalificationStatusFieldRefInput<$PrismaModel>;
|
|
967
1087
|
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:
|