@valentine-efagene/qshelter-common 2.0.28 → 2.0.30
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 +15 -0
- package/dist/generated/client/client.d.ts +15 -0
- package/dist/generated/client/commonInputTypes.d.ts +408 -48
- package/dist/generated/client/enums.d.ts +92 -0
- package/dist/generated/client/enums.js +80 -0
- package/dist/generated/client/internal/class.d.ts +33 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +330 -36
- package/dist/generated/client/internal/prismaNamespace.js +76 -37
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +80 -35
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +76 -37
- package/dist/generated/client/models/Contract.d.ts +152 -148
- package/dist/generated/client/models/ContractDocument.d.ts +32 -28
- package/dist/generated/client/models/ContractInstallment.d.ts +30 -26
- package/dist/generated/client/models/ContractPayment.d.ts +44 -40
- package/dist/generated/client/models/ContractPhase.d.ts +539 -121
- package/dist/generated/client/models/ContractPhaseStep.d.ts +208 -108
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +32 -28
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +1052 -0
- package/dist/generated/client/models/ContractPhaseStepDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +1216 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +1187 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +34 -30
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +504 -135
- package/dist/generated/client/models/index.d.ts +3 -0
- package/dist/generated/client/models/index.js +3 -0
- package/dist/generated/client/models.d.ts +3 -0
- package/dist/src/middleware/error-handler.js +3 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +195 -30
|
@@ -260,9 +260,12 @@ export declare const ModelName: {
|
|
|
260
260
|
readonly PropertyPaymentMethod: "PropertyPaymentMethod";
|
|
261
261
|
readonly PropertyPaymentMethodLink: "PropertyPaymentMethodLink";
|
|
262
262
|
readonly PropertyPaymentMethodPhase: "PropertyPaymentMethodPhase";
|
|
263
|
+
readonly PaymentMethodPhaseStep: "PaymentMethodPhaseStep";
|
|
264
|
+
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
263
265
|
readonly Contract: "Contract";
|
|
264
266
|
readonly ContractPhase: "ContractPhase";
|
|
265
267
|
readonly ContractPhaseStep: "ContractPhaseStep";
|
|
268
|
+
readonly ContractPhaseStepDocument: "ContractPhaseStepDocument";
|
|
266
269
|
readonly ContractPhaseStepApproval: "ContractPhaseStepApproval";
|
|
267
270
|
readonly ContractInstallment: "ContractInstallment";
|
|
268
271
|
readonly ContractPayment: "ContractPayment";
|
|
@@ -285,7 +288,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
285
288
|
omit: GlobalOmitOptions;
|
|
286
289
|
};
|
|
287
290
|
meta: {
|
|
288
|
-
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" | "contract" | "contractPhase" | "contractPhaseStep" | "contractPhaseStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "contractTransition" | "contractEvent" | "prequalification" | "paymentMethodChangeRequest" | "documentRequirementRule" | "domainEvent";
|
|
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";
|
|
289
292
|
txIsolationLevel: TransactionIsolationLevel;
|
|
290
293
|
};
|
|
291
294
|
model: {
|
|
@@ -2203,6 +2206,138 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2203
2206
|
};
|
|
2204
2207
|
};
|
|
2205
2208
|
};
|
|
2209
|
+
PaymentMethodPhaseStep: {
|
|
2210
|
+
payload: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>;
|
|
2211
|
+
fields: Prisma.PaymentMethodPhaseStepFieldRefs;
|
|
2212
|
+
operations: {
|
|
2213
|
+
findUnique: {
|
|
2214
|
+
args: Prisma.PaymentMethodPhaseStepFindUniqueArgs<ExtArgs>;
|
|
2215
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload> | null;
|
|
2216
|
+
};
|
|
2217
|
+
findUniqueOrThrow: {
|
|
2218
|
+
args: Prisma.PaymentMethodPhaseStepFindUniqueOrThrowArgs<ExtArgs>;
|
|
2219
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2220
|
+
};
|
|
2221
|
+
findFirst: {
|
|
2222
|
+
args: Prisma.PaymentMethodPhaseStepFindFirstArgs<ExtArgs>;
|
|
2223
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload> | null;
|
|
2224
|
+
};
|
|
2225
|
+
findFirstOrThrow: {
|
|
2226
|
+
args: Prisma.PaymentMethodPhaseStepFindFirstOrThrowArgs<ExtArgs>;
|
|
2227
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2228
|
+
};
|
|
2229
|
+
findMany: {
|
|
2230
|
+
args: Prisma.PaymentMethodPhaseStepFindManyArgs<ExtArgs>;
|
|
2231
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>[];
|
|
2232
|
+
};
|
|
2233
|
+
create: {
|
|
2234
|
+
args: Prisma.PaymentMethodPhaseStepCreateArgs<ExtArgs>;
|
|
2235
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2236
|
+
};
|
|
2237
|
+
createMany: {
|
|
2238
|
+
args: Prisma.PaymentMethodPhaseStepCreateManyArgs<ExtArgs>;
|
|
2239
|
+
result: BatchPayload;
|
|
2240
|
+
};
|
|
2241
|
+
delete: {
|
|
2242
|
+
args: Prisma.PaymentMethodPhaseStepDeleteArgs<ExtArgs>;
|
|
2243
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2244
|
+
};
|
|
2245
|
+
update: {
|
|
2246
|
+
args: Prisma.PaymentMethodPhaseStepUpdateArgs<ExtArgs>;
|
|
2247
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2248
|
+
};
|
|
2249
|
+
deleteMany: {
|
|
2250
|
+
args: Prisma.PaymentMethodPhaseStepDeleteManyArgs<ExtArgs>;
|
|
2251
|
+
result: BatchPayload;
|
|
2252
|
+
};
|
|
2253
|
+
updateMany: {
|
|
2254
|
+
args: Prisma.PaymentMethodPhaseStepUpdateManyArgs<ExtArgs>;
|
|
2255
|
+
result: BatchPayload;
|
|
2256
|
+
};
|
|
2257
|
+
upsert: {
|
|
2258
|
+
args: Prisma.PaymentMethodPhaseStepUpsertArgs<ExtArgs>;
|
|
2259
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseStepPayload>;
|
|
2260
|
+
};
|
|
2261
|
+
aggregate: {
|
|
2262
|
+
args: Prisma.PaymentMethodPhaseStepAggregateArgs<ExtArgs>;
|
|
2263
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePaymentMethodPhaseStep>;
|
|
2264
|
+
};
|
|
2265
|
+
groupBy: {
|
|
2266
|
+
args: Prisma.PaymentMethodPhaseStepGroupByArgs<ExtArgs>;
|
|
2267
|
+
result: runtime.Types.Utils.Optional<Prisma.PaymentMethodPhaseStepGroupByOutputType>[];
|
|
2268
|
+
};
|
|
2269
|
+
count: {
|
|
2270
|
+
args: Prisma.PaymentMethodPhaseStepCountArgs<ExtArgs>;
|
|
2271
|
+
result: runtime.Types.Utils.Optional<Prisma.PaymentMethodPhaseStepCountAggregateOutputType> | number;
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
PaymentMethodPhaseDocument: {
|
|
2276
|
+
payload: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>;
|
|
2277
|
+
fields: Prisma.PaymentMethodPhaseDocumentFieldRefs;
|
|
2278
|
+
operations: {
|
|
2279
|
+
findUnique: {
|
|
2280
|
+
args: Prisma.PaymentMethodPhaseDocumentFindUniqueArgs<ExtArgs>;
|
|
2281
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload> | null;
|
|
2282
|
+
};
|
|
2283
|
+
findUniqueOrThrow: {
|
|
2284
|
+
args: Prisma.PaymentMethodPhaseDocumentFindUniqueOrThrowArgs<ExtArgs>;
|
|
2285
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2286
|
+
};
|
|
2287
|
+
findFirst: {
|
|
2288
|
+
args: Prisma.PaymentMethodPhaseDocumentFindFirstArgs<ExtArgs>;
|
|
2289
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload> | null;
|
|
2290
|
+
};
|
|
2291
|
+
findFirstOrThrow: {
|
|
2292
|
+
args: Prisma.PaymentMethodPhaseDocumentFindFirstOrThrowArgs<ExtArgs>;
|
|
2293
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2294
|
+
};
|
|
2295
|
+
findMany: {
|
|
2296
|
+
args: Prisma.PaymentMethodPhaseDocumentFindManyArgs<ExtArgs>;
|
|
2297
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>[];
|
|
2298
|
+
};
|
|
2299
|
+
create: {
|
|
2300
|
+
args: Prisma.PaymentMethodPhaseDocumentCreateArgs<ExtArgs>;
|
|
2301
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2302
|
+
};
|
|
2303
|
+
createMany: {
|
|
2304
|
+
args: Prisma.PaymentMethodPhaseDocumentCreateManyArgs<ExtArgs>;
|
|
2305
|
+
result: BatchPayload;
|
|
2306
|
+
};
|
|
2307
|
+
delete: {
|
|
2308
|
+
args: Prisma.PaymentMethodPhaseDocumentDeleteArgs<ExtArgs>;
|
|
2309
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2310
|
+
};
|
|
2311
|
+
update: {
|
|
2312
|
+
args: Prisma.PaymentMethodPhaseDocumentUpdateArgs<ExtArgs>;
|
|
2313
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2314
|
+
};
|
|
2315
|
+
deleteMany: {
|
|
2316
|
+
args: Prisma.PaymentMethodPhaseDocumentDeleteManyArgs<ExtArgs>;
|
|
2317
|
+
result: BatchPayload;
|
|
2318
|
+
};
|
|
2319
|
+
updateMany: {
|
|
2320
|
+
args: Prisma.PaymentMethodPhaseDocumentUpdateManyArgs<ExtArgs>;
|
|
2321
|
+
result: BatchPayload;
|
|
2322
|
+
};
|
|
2323
|
+
upsert: {
|
|
2324
|
+
args: Prisma.PaymentMethodPhaseDocumentUpsertArgs<ExtArgs>;
|
|
2325
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PaymentMethodPhaseDocumentPayload>;
|
|
2326
|
+
};
|
|
2327
|
+
aggregate: {
|
|
2328
|
+
args: Prisma.PaymentMethodPhaseDocumentAggregateArgs<ExtArgs>;
|
|
2329
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePaymentMethodPhaseDocument>;
|
|
2330
|
+
};
|
|
2331
|
+
groupBy: {
|
|
2332
|
+
args: Prisma.PaymentMethodPhaseDocumentGroupByArgs<ExtArgs>;
|
|
2333
|
+
result: runtime.Types.Utils.Optional<Prisma.PaymentMethodPhaseDocumentGroupByOutputType>[];
|
|
2334
|
+
};
|
|
2335
|
+
count: {
|
|
2336
|
+
args: Prisma.PaymentMethodPhaseDocumentCountArgs<ExtArgs>;
|
|
2337
|
+
result: runtime.Types.Utils.Optional<Prisma.PaymentMethodPhaseDocumentCountAggregateOutputType> | number;
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2206
2341
|
Contract: {
|
|
2207
2342
|
payload: Prisma.$ContractPayload<ExtArgs>;
|
|
2208
2343
|
fields: Prisma.ContractFieldRefs;
|
|
@@ -2401,6 +2536,72 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2401
2536
|
};
|
|
2402
2537
|
};
|
|
2403
2538
|
};
|
|
2539
|
+
ContractPhaseStepDocument: {
|
|
2540
|
+
payload: Prisma.$ContractPhaseStepDocumentPayload<ExtArgs>;
|
|
2541
|
+
fields: Prisma.ContractPhaseStepDocumentFieldRefs;
|
|
2542
|
+
operations: {
|
|
2543
|
+
findUnique: {
|
|
2544
|
+
args: Prisma.ContractPhaseStepDocumentFindUniqueArgs<ExtArgs>;
|
|
2545
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload> | null;
|
|
2546
|
+
};
|
|
2547
|
+
findUniqueOrThrow: {
|
|
2548
|
+
args: Prisma.ContractPhaseStepDocumentFindUniqueOrThrowArgs<ExtArgs>;
|
|
2549
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2550
|
+
};
|
|
2551
|
+
findFirst: {
|
|
2552
|
+
args: Prisma.ContractPhaseStepDocumentFindFirstArgs<ExtArgs>;
|
|
2553
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload> | null;
|
|
2554
|
+
};
|
|
2555
|
+
findFirstOrThrow: {
|
|
2556
|
+
args: Prisma.ContractPhaseStepDocumentFindFirstOrThrowArgs<ExtArgs>;
|
|
2557
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2558
|
+
};
|
|
2559
|
+
findMany: {
|
|
2560
|
+
args: Prisma.ContractPhaseStepDocumentFindManyArgs<ExtArgs>;
|
|
2561
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>[];
|
|
2562
|
+
};
|
|
2563
|
+
create: {
|
|
2564
|
+
args: Prisma.ContractPhaseStepDocumentCreateArgs<ExtArgs>;
|
|
2565
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2566
|
+
};
|
|
2567
|
+
createMany: {
|
|
2568
|
+
args: Prisma.ContractPhaseStepDocumentCreateManyArgs<ExtArgs>;
|
|
2569
|
+
result: BatchPayload;
|
|
2570
|
+
};
|
|
2571
|
+
delete: {
|
|
2572
|
+
args: Prisma.ContractPhaseStepDocumentDeleteArgs<ExtArgs>;
|
|
2573
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2574
|
+
};
|
|
2575
|
+
update: {
|
|
2576
|
+
args: Prisma.ContractPhaseStepDocumentUpdateArgs<ExtArgs>;
|
|
2577
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2578
|
+
};
|
|
2579
|
+
deleteMany: {
|
|
2580
|
+
args: Prisma.ContractPhaseStepDocumentDeleteManyArgs<ExtArgs>;
|
|
2581
|
+
result: BatchPayload;
|
|
2582
|
+
};
|
|
2583
|
+
updateMany: {
|
|
2584
|
+
args: Prisma.ContractPhaseStepDocumentUpdateManyArgs<ExtArgs>;
|
|
2585
|
+
result: BatchPayload;
|
|
2586
|
+
};
|
|
2587
|
+
upsert: {
|
|
2588
|
+
args: Prisma.ContractPhaseStepDocumentUpsertArgs<ExtArgs>;
|
|
2589
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractPhaseStepDocumentPayload>;
|
|
2590
|
+
};
|
|
2591
|
+
aggregate: {
|
|
2592
|
+
args: Prisma.ContractPhaseStepDocumentAggregateArgs<ExtArgs>;
|
|
2593
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateContractPhaseStepDocument>;
|
|
2594
|
+
};
|
|
2595
|
+
groupBy: {
|
|
2596
|
+
args: Prisma.ContractPhaseStepDocumentGroupByArgs<ExtArgs>;
|
|
2597
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractPhaseStepDocumentGroupByOutputType>[];
|
|
2598
|
+
};
|
|
2599
|
+
count: {
|
|
2600
|
+
args: Prisma.ContractPhaseStepDocumentCountArgs<ExtArgs>;
|
|
2601
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractPhaseStepDocumentCountAggregateOutputType> | number;
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
};
|
|
2404
2605
|
ContractPhaseStepApproval: {
|
|
2405
2606
|
payload: Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>;
|
|
2406
2607
|
fields: Prisma.ContractPhaseStepApprovalFieldRefs;
|
|
@@ -3413,12 +3614,36 @@ export declare const PropertyPaymentMethodPhaseScalarFieldEnum: {
|
|
|
3413
3614
|
readonly percentOfPrice: "percentOfPrice";
|
|
3414
3615
|
readonly requiresPreviousPhaseCompletion: "requiresPreviousPhaseCompletion";
|
|
3415
3616
|
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
3416
|
-
readonly
|
|
3417
|
-
readonly
|
|
3617
|
+
readonly completionCriterion: "completionCriterion";
|
|
3618
|
+
readonly stepDefinitionsSnapshot: "stepDefinitionsSnapshot";
|
|
3619
|
+
readonly requiredDocumentSnapshot: "requiredDocumentSnapshot";
|
|
3418
3620
|
readonly createdAt: "createdAt";
|
|
3419
3621
|
readonly updatedAt: "updatedAt";
|
|
3420
3622
|
};
|
|
3421
3623
|
export type PropertyPaymentMethodPhaseScalarFieldEnum = (typeof PropertyPaymentMethodPhaseScalarFieldEnum)[keyof typeof PropertyPaymentMethodPhaseScalarFieldEnum];
|
|
3624
|
+
export declare const PaymentMethodPhaseStepScalarFieldEnum: {
|
|
3625
|
+
readonly id: "id";
|
|
3626
|
+
readonly phaseId: "phaseId";
|
|
3627
|
+
readonly name: "name";
|
|
3628
|
+
readonly stepType: "stepType";
|
|
3629
|
+
readonly order: "order";
|
|
3630
|
+
readonly metadata: "metadata";
|
|
3631
|
+
readonly createdAt: "createdAt";
|
|
3632
|
+
readonly updatedAt: "updatedAt";
|
|
3633
|
+
};
|
|
3634
|
+
export type PaymentMethodPhaseStepScalarFieldEnum = (typeof PaymentMethodPhaseStepScalarFieldEnum)[keyof typeof PaymentMethodPhaseStepScalarFieldEnum];
|
|
3635
|
+
export declare const PaymentMethodPhaseDocumentScalarFieldEnum: {
|
|
3636
|
+
readonly id: "id";
|
|
3637
|
+
readonly phaseId: "phaseId";
|
|
3638
|
+
readonly documentType: "documentType";
|
|
3639
|
+
readonly isRequired: "isRequired";
|
|
3640
|
+
readonly description: "description";
|
|
3641
|
+
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
3642
|
+
readonly maxSizeBytes: "maxSizeBytes";
|
|
3643
|
+
readonly metadata: "metadata";
|
|
3644
|
+
readonly createdAt: "createdAt";
|
|
3645
|
+
};
|
|
3646
|
+
export type PaymentMethodPhaseDocumentScalarFieldEnum = (typeof PaymentMethodPhaseDocumentScalarFieldEnum)[keyof typeof PaymentMethodPhaseDocumentScalarFieldEnum];
|
|
3422
3647
|
export declare const ContractScalarFieldEnum: {
|
|
3423
3648
|
readonly id: "id";
|
|
3424
3649
|
readonly tenantId: "tenantId";
|
|
@@ -3466,6 +3691,10 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
3466
3691
|
readonly paidAmount: "paidAmount";
|
|
3467
3692
|
readonly remainingAmount: "remainingAmount";
|
|
3468
3693
|
readonly interestRate: "interestRate";
|
|
3694
|
+
readonly approvedDocumentsCount: "approvedDocumentsCount";
|
|
3695
|
+
readonly requiredDocumentsCount: "requiredDocumentsCount";
|
|
3696
|
+
readonly completedStepsCount: "completedStepsCount";
|
|
3697
|
+
readonly totalStepsCount: "totalStepsCount";
|
|
3469
3698
|
readonly dueDate: "dueDate";
|
|
3470
3699
|
readonly startDate: "startDate";
|
|
3471
3700
|
readonly endDate: "endDate";
|
|
@@ -3473,6 +3702,10 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
3473
3702
|
readonly completedAt: "completedAt";
|
|
3474
3703
|
readonly requiresPreviousPhaseCompletion: "requiresPreviousPhaseCompletion";
|
|
3475
3704
|
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
3705
|
+
readonly completionCriterion: "completionCriterion";
|
|
3706
|
+
readonly paymentPlanSnapshot: "paymentPlanSnapshot";
|
|
3707
|
+
readonly stepDefinitionsSnapshot: "stepDefinitionsSnapshot";
|
|
3708
|
+
readonly requiredDocumentSnapshot: "requiredDocumentSnapshot";
|
|
3476
3709
|
readonly createdAt: "createdAt";
|
|
3477
3710
|
readonly updatedAt: "updatedAt";
|
|
3478
3711
|
};
|
|
@@ -3486,13 +3719,20 @@ export declare const ContractPhaseStepScalarFieldEnum: {
|
|
|
3486
3719
|
readonly order: "order";
|
|
3487
3720
|
readonly status: "status";
|
|
3488
3721
|
readonly assigneeId: "assigneeId";
|
|
3489
|
-
readonly requiredDocumentTypes: "requiredDocumentTypes";
|
|
3490
3722
|
readonly dueDate: "dueDate";
|
|
3491
3723
|
readonly completedAt: "completedAt";
|
|
3492
3724
|
readonly createdAt: "createdAt";
|
|
3493
3725
|
readonly updatedAt: "updatedAt";
|
|
3494
3726
|
};
|
|
3495
3727
|
export type ContractPhaseStepScalarFieldEnum = (typeof ContractPhaseStepScalarFieldEnum)[keyof typeof ContractPhaseStepScalarFieldEnum];
|
|
3728
|
+
export declare const ContractPhaseStepDocumentScalarFieldEnum: {
|
|
3729
|
+
readonly id: "id";
|
|
3730
|
+
readonly stepId: "stepId";
|
|
3731
|
+
readonly documentType: "documentType";
|
|
3732
|
+
readonly isRequired: "isRequired";
|
|
3733
|
+
readonly createdAt: "createdAt";
|
|
3734
|
+
};
|
|
3735
|
+
export type ContractPhaseStepDocumentScalarFieldEnum = (typeof ContractPhaseStepDocumentScalarFieldEnum)[keyof typeof ContractPhaseStepDocumentScalarFieldEnum];
|
|
3496
3736
|
export declare const ContractPhaseStepApprovalScalarFieldEnum: {
|
|
3497
3737
|
readonly id: "id";
|
|
3498
3738
|
readonly stepId: "stepId";
|
|
@@ -3668,15 +3908,15 @@ export declare const SortOrder: {
|
|
|
3668
3908
|
readonly desc: "desc";
|
|
3669
3909
|
};
|
|
3670
3910
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
3671
|
-
export declare const JsonNullValueInput: {
|
|
3672
|
-
readonly JsonNull: runtime.JsonNullClass;
|
|
3673
|
-
};
|
|
3674
|
-
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput];
|
|
3675
3911
|
export declare const NullableJsonNullValueInput: {
|
|
3676
3912
|
readonly DbNull: runtime.DbNullClass;
|
|
3677
3913
|
readonly JsonNull: runtime.JsonNullClass;
|
|
3678
3914
|
};
|
|
3679
3915
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput];
|
|
3916
|
+
export declare const JsonNullValueInput: {
|
|
3917
|
+
readonly JsonNull: runtime.JsonNullClass;
|
|
3918
|
+
};
|
|
3919
|
+
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput];
|
|
3680
3920
|
export declare const NullsOrder: {
|
|
3681
3921
|
readonly first: "first";
|
|
3682
3922
|
readonly last: "last";
|
|
@@ -3873,7 +4113,6 @@ export declare const PaymentPlanOrderByRelevanceFieldEnum: {
|
|
|
3873
4113
|
readonly tenantId: "tenantId";
|
|
3874
4114
|
readonly name: "name";
|
|
3875
4115
|
readonly description: "description";
|
|
3876
|
-
readonly paymentFrequency: "paymentFrequency";
|
|
3877
4116
|
};
|
|
3878
4117
|
export type PaymentPlanOrderByRelevanceFieldEnum = (typeof PaymentPlanOrderByRelevanceFieldEnum)[keyof typeof PaymentPlanOrderByRelevanceFieldEnum];
|
|
3879
4118
|
export declare const PropertyPaymentMethodOrderByRelevanceFieldEnum: {
|
|
@@ -3888,18 +4127,39 @@ export declare const PropertyPaymentMethodLinkOrderByRelevanceFieldEnum: {
|
|
|
3888
4127
|
readonly paymentMethodId: "paymentMethodId";
|
|
3889
4128
|
};
|
|
3890
4129
|
export type PropertyPaymentMethodLinkOrderByRelevanceFieldEnum = (typeof PropertyPaymentMethodLinkOrderByRelevanceFieldEnum)[keyof typeof PropertyPaymentMethodLinkOrderByRelevanceFieldEnum];
|
|
4130
|
+
export declare const JsonNullValueFilter: {
|
|
4131
|
+
readonly DbNull: runtime.DbNullClass;
|
|
4132
|
+
readonly JsonNull: runtime.JsonNullClass;
|
|
4133
|
+
readonly AnyNull: runtime.AnyNullClass;
|
|
4134
|
+
};
|
|
4135
|
+
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter];
|
|
4136
|
+
export declare const QueryMode: {
|
|
4137
|
+
readonly default: "default";
|
|
4138
|
+
readonly insensitive: "insensitive";
|
|
4139
|
+
};
|
|
4140
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
|
|
3891
4141
|
export declare const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum: {
|
|
3892
4142
|
readonly id: "id";
|
|
3893
4143
|
readonly paymentMethodId: "paymentMethodId";
|
|
3894
4144
|
readonly paymentPlanId: "paymentPlanId";
|
|
3895
4145
|
readonly name: "name";
|
|
3896
4146
|
readonly description: "description";
|
|
3897
|
-
readonly phaseCategory: "phaseCategory";
|
|
3898
|
-
readonly phaseType: "phaseType";
|
|
3899
|
-
readonly requiredDocumentTypes: "requiredDocumentTypes";
|
|
3900
|
-
readonly stepDefinitions: "stepDefinitions";
|
|
3901
4147
|
};
|
|
3902
4148
|
export type PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = (typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum)[keyof typeof PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum];
|
|
4149
|
+
export declare const PaymentMethodPhaseStepOrderByRelevanceFieldEnum: {
|
|
4150
|
+
readonly id: "id";
|
|
4151
|
+
readonly phaseId: "phaseId";
|
|
4152
|
+
readonly name: "name";
|
|
4153
|
+
};
|
|
4154
|
+
export type PaymentMethodPhaseStepOrderByRelevanceFieldEnum = (typeof PaymentMethodPhaseStepOrderByRelevanceFieldEnum)[keyof typeof PaymentMethodPhaseStepOrderByRelevanceFieldEnum];
|
|
4155
|
+
export declare const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum: {
|
|
4156
|
+
readonly id: "id";
|
|
4157
|
+
readonly phaseId: "phaseId";
|
|
4158
|
+
readonly documentType: "documentType";
|
|
4159
|
+
readonly description: "description";
|
|
4160
|
+
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
4161
|
+
};
|
|
4162
|
+
export type PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = (typeof PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum)[keyof typeof PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum];
|
|
3903
4163
|
export declare const ContractOrderByRelevanceFieldEnum: {
|
|
3904
4164
|
readonly id: "id";
|
|
3905
4165
|
readonly tenantId: "tenantId";
|
|
@@ -3911,8 +4171,6 @@ export declare const ContractOrderByRelevanceFieldEnum: {
|
|
|
3911
4171
|
readonly title: "title";
|
|
3912
4172
|
readonly description: "description";
|
|
3913
4173
|
readonly contractType: "contractType";
|
|
3914
|
-
readonly status: "status";
|
|
3915
|
-
readonly state: "state";
|
|
3916
4174
|
readonly currentPhaseId: "currentPhaseId";
|
|
3917
4175
|
};
|
|
3918
4176
|
export type ContractOrderByRelevanceFieldEnum = (typeof ContractOrderByRelevanceFieldEnum)[keyof typeof ContractOrderByRelevanceFieldEnum];
|
|
@@ -3922,9 +4180,6 @@ export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
|
3922
4180
|
readonly paymentPlanId: "paymentPlanId";
|
|
3923
4181
|
readonly name: "name";
|
|
3924
4182
|
readonly description: "description";
|
|
3925
|
-
readonly phaseCategory: "phaseCategory";
|
|
3926
|
-
readonly phaseType: "phaseType";
|
|
3927
|
-
readonly status: "status";
|
|
3928
4183
|
};
|
|
3929
4184
|
export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseOrderByRelevanceFieldEnum];
|
|
3930
4185
|
export declare const ContractPhaseStepOrderByRelevanceFieldEnum: {
|
|
@@ -3932,24 +4187,25 @@ export declare const ContractPhaseStepOrderByRelevanceFieldEnum: {
|
|
|
3932
4187
|
readonly phaseId: "phaseId";
|
|
3933
4188
|
readonly name: "name";
|
|
3934
4189
|
readonly description: "description";
|
|
3935
|
-
readonly stepType: "stepType";
|
|
3936
|
-
readonly status: "status";
|
|
3937
4190
|
readonly assigneeId: "assigneeId";
|
|
3938
|
-
readonly requiredDocumentTypes: "requiredDocumentTypes";
|
|
3939
4191
|
};
|
|
3940
4192
|
export type ContractPhaseStepOrderByRelevanceFieldEnum = (typeof ContractPhaseStepOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseStepOrderByRelevanceFieldEnum];
|
|
4193
|
+
export declare const ContractPhaseStepDocumentOrderByRelevanceFieldEnum: {
|
|
4194
|
+
readonly id: "id";
|
|
4195
|
+
readonly stepId: "stepId";
|
|
4196
|
+
readonly documentType: "documentType";
|
|
4197
|
+
};
|
|
4198
|
+
export type ContractPhaseStepDocumentOrderByRelevanceFieldEnum = (typeof ContractPhaseStepDocumentOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseStepDocumentOrderByRelevanceFieldEnum];
|
|
3941
4199
|
export declare const ContractPhaseStepApprovalOrderByRelevanceFieldEnum: {
|
|
3942
4200
|
readonly id: "id";
|
|
3943
4201
|
readonly stepId: "stepId";
|
|
3944
4202
|
readonly approverId: "approverId";
|
|
3945
|
-
readonly decision: "decision";
|
|
3946
4203
|
readonly comment: "comment";
|
|
3947
4204
|
};
|
|
3948
4205
|
export type ContractPhaseStepApprovalOrderByRelevanceFieldEnum = (typeof ContractPhaseStepApprovalOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseStepApprovalOrderByRelevanceFieldEnum];
|
|
3949
4206
|
export declare const ContractInstallmentOrderByRelevanceFieldEnum: {
|
|
3950
4207
|
readonly id: "id";
|
|
3951
4208
|
readonly phaseId: "phaseId";
|
|
3952
|
-
readonly status: "status";
|
|
3953
4209
|
};
|
|
3954
4210
|
export type ContractInstallmentOrderByRelevanceFieldEnum = (typeof ContractInstallmentOrderByRelevanceFieldEnum)[keyof typeof ContractInstallmentOrderByRelevanceFieldEnum];
|
|
3955
4211
|
export declare const ContractPaymentOrderByRelevanceFieldEnum: {
|
|
@@ -3959,7 +4215,6 @@ export declare const ContractPaymentOrderByRelevanceFieldEnum: {
|
|
|
3959
4215
|
readonly installmentId: "installmentId";
|
|
3960
4216
|
readonly payerId: "payerId";
|
|
3961
4217
|
readonly paymentMethod: "paymentMethod";
|
|
3962
|
-
readonly status: "status";
|
|
3963
4218
|
readonly reference: "reference";
|
|
3964
4219
|
readonly gatewayResponse: "gatewayResponse";
|
|
3965
4220
|
};
|
|
@@ -3973,7 +4228,6 @@ export declare const ContractDocumentOrderByRelevanceFieldEnum: {
|
|
|
3973
4228
|
readonly url: "url";
|
|
3974
4229
|
readonly type: "type";
|
|
3975
4230
|
readonly uploadedById: "uploadedById";
|
|
3976
|
-
readonly status: "status";
|
|
3977
4231
|
};
|
|
3978
4232
|
export type ContractDocumentOrderByRelevanceFieldEnum = (typeof ContractDocumentOrderByRelevanceFieldEnum)[keyof typeof ContractDocumentOrderByRelevanceFieldEnum];
|
|
3979
4233
|
export declare const ContractTransitionOrderByRelevanceFieldEnum: {
|
|
@@ -3992,17 +4246,6 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
3992
4246
|
readonly data: "data";
|
|
3993
4247
|
};
|
|
3994
4248
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
3995
|
-
export declare const JsonNullValueFilter: {
|
|
3996
|
-
readonly DbNull: runtime.DbNullClass;
|
|
3997
|
-
readonly JsonNull: runtime.JsonNullClass;
|
|
3998
|
-
readonly AnyNull: runtime.AnyNullClass;
|
|
3999
|
-
};
|
|
4000
|
-
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter];
|
|
4001
|
-
export declare const QueryMode: {
|
|
4002
|
-
readonly default: "default";
|
|
4003
|
-
readonly insensitive: "insensitive";
|
|
4004
|
-
};
|
|
4005
|
-
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
|
|
4006
4249
|
export declare const PrequalificationOrderByRelevanceFieldEnum: {
|
|
4007
4250
|
readonly id: "id";
|
|
4008
4251
|
readonly tenantId: "tenantId";
|
|
@@ -4076,6 +4319,22 @@ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, '
|
|
|
4076
4319
|
* Reference to a field of type 'Int'
|
|
4077
4320
|
*/
|
|
4078
4321
|
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>;
|
|
4322
|
+
/**
|
|
4323
|
+
* Reference to a field of type 'PaymentFrequency'
|
|
4324
|
+
*/
|
|
4325
|
+
export type EnumPaymentFrequencyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentFrequency'>;
|
|
4326
|
+
/**
|
|
4327
|
+
* Reference to a field of type 'PhaseCategory'
|
|
4328
|
+
*/
|
|
4329
|
+
export type EnumPhaseCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PhaseCategory'>;
|
|
4330
|
+
/**
|
|
4331
|
+
* Reference to a field of type 'PhaseType'
|
|
4332
|
+
*/
|
|
4333
|
+
export type EnumPhaseTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PhaseType'>;
|
|
4334
|
+
/**
|
|
4335
|
+
* Reference to a field of type 'CompletionCriterion'
|
|
4336
|
+
*/
|
|
4337
|
+
export type EnumCompletionCriterionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CompletionCriterion'>;
|
|
4079
4338
|
/**
|
|
4080
4339
|
* Reference to a field of type 'Json'
|
|
4081
4340
|
*/
|
|
@@ -4084,6 +4343,38 @@ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'J
|
|
|
4084
4343
|
* Reference to a field of type 'QueryMode'
|
|
4085
4344
|
*/
|
|
4086
4345
|
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>;
|
|
4346
|
+
/**
|
|
4347
|
+
* Reference to a field of type 'StepType'
|
|
4348
|
+
*/
|
|
4349
|
+
export type EnumStepTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StepType'>;
|
|
4350
|
+
/**
|
|
4351
|
+
* Reference to a field of type 'ContractStatus'
|
|
4352
|
+
*/
|
|
4353
|
+
export type EnumContractStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ContractStatus'>;
|
|
4354
|
+
/**
|
|
4355
|
+
* Reference to a field of type 'PhaseStatus'
|
|
4356
|
+
*/
|
|
4357
|
+
export type EnumPhaseStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PhaseStatus'>;
|
|
4358
|
+
/**
|
|
4359
|
+
* Reference to a field of type 'StepStatus'
|
|
4360
|
+
*/
|
|
4361
|
+
export type EnumStepStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StepStatus'>;
|
|
4362
|
+
/**
|
|
4363
|
+
* Reference to a field of type 'ApprovalDecision'
|
|
4364
|
+
*/
|
|
4365
|
+
export type EnumApprovalDecisionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalDecision'>;
|
|
4366
|
+
/**
|
|
4367
|
+
* Reference to a field of type 'InstallmentStatus'
|
|
4368
|
+
*/
|
|
4369
|
+
export type EnumInstallmentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'InstallmentStatus'>;
|
|
4370
|
+
/**
|
|
4371
|
+
* Reference to a field of type 'PaymentStatus'
|
|
4372
|
+
*/
|
|
4373
|
+
export type EnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentStatus'>;
|
|
4374
|
+
/**
|
|
4375
|
+
* Reference to a field of type 'DocumentStatus'
|
|
4376
|
+
*/
|
|
4377
|
+
export type EnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus'>;
|
|
4087
4378
|
/**
|
|
4088
4379
|
* Reference to a field of type 'PrequalificationStatus'
|
|
4089
4380
|
*/
|
|
@@ -4219,9 +4510,12 @@ export type GlobalOmitConfig = {
|
|
|
4219
4510
|
propertyPaymentMethod?: Prisma.PropertyPaymentMethodOmit;
|
|
4220
4511
|
propertyPaymentMethodLink?: Prisma.PropertyPaymentMethodLinkOmit;
|
|
4221
4512
|
propertyPaymentMethodPhase?: Prisma.PropertyPaymentMethodPhaseOmit;
|
|
4513
|
+
paymentMethodPhaseStep?: Prisma.PaymentMethodPhaseStepOmit;
|
|
4514
|
+
paymentMethodPhaseDocument?: Prisma.PaymentMethodPhaseDocumentOmit;
|
|
4222
4515
|
contract?: Prisma.ContractOmit;
|
|
4223
4516
|
contractPhase?: Prisma.ContractPhaseOmit;
|
|
4224
4517
|
contractPhaseStep?: Prisma.ContractPhaseStepOmit;
|
|
4518
|
+
contractPhaseStepDocument?: Prisma.ContractPhaseStepDocumentOmit;
|
|
4225
4519
|
contractPhaseStepApproval?: Prisma.ContractPhaseStepApprovalOmit;
|
|
4226
4520
|
contractInstallment?: Prisma.ContractInstallmentOmit;
|
|
4227
4521
|
contractPayment?: Prisma.ContractPaymentOmit;
|