@valentine-efagene/qshelter-common 2.0.137 → 2.0.139
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 +20 -0
- package/dist/generated/client/client.d.ts +20 -0
- package/dist/generated/client/commonInputTypes.d.ts +163 -73
- package/dist/generated/client/enums.d.ts +23 -0
- package/dist/generated/client/enums.js +21 -1
- package/dist/generated/client/internal/class.d.ts +44 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +405 -6
- package/dist/generated/client/internal/prismaNamespace.js +112 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +120 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +112 -1
- package/dist/generated/client/models/ApplicationDocument.d.ts +290 -1
- package/dist/generated/client/models/ApprovalStage.d.ts +1605 -0
- package/dist/generated/client/models/ApprovalStage.js +1 -0
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +2329 -0
- package/dist/generated/client/models/ApprovalStageProgress.js +1 -0
- package/dist/generated/client/models/DocumentApproval.d.ts +1611 -0
- package/dist/generated/client/models/DocumentApproval.js +1 -0
- package/dist/generated/client/models/DocumentDefinition.d.ts +1475 -0
- package/dist/generated/client/models/DocumentDefinition.js +1 -0
- package/dist/generated/client/models/DocumentReview.d.ts +0 -3
- package/dist/generated/client/models/DocumentationPhase.d.ts +167 -0
- package/dist/generated/client/models/DocumentationPlan.d.ts +271 -40
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +34 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +64 -1
- package/dist/generated/client/models/Tenant.d.ts +1281 -131
- package/dist/generated/client/models/User.d.ts +824 -0
- package/dist/generated/client/models/index.d.ts +4 -0
- package/dist/generated/client/models/index.js +4 -0
- package/dist/generated/client/models.d.ts +4 -0
- package/dist/src/utils/documentation-enums.d.ts +10 -1
- package/dist/src/utils/documentation-enums.js +8 -0
- package/package.json +1 -1
- package/prisma/migrations/20260119180401_add_document_name_remove_required_doc_types/migration.sql +14 -0
- package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
- package/prisma/schema.prisma +253 -12
|
@@ -262,6 +262,8 @@ export declare const ModelName: {
|
|
|
262
262
|
readonly PropertyAmenity: "PropertyAmenity";
|
|
263
263
|
readonly DocumentationPlan: "DocumentationPlan";
|
|
264
264
|
readonly DocumentationPlanStep: "DocumentationPlanStep";
|
|
265
|
+
readonly DocumentDefinition: "DocumentDefinition";
|
|
266
|
+
readonly ApprovalStage: "ApprovalStage";
|
|
265
267
|
readonly QuestionnairePlan: "QuestionnairePlan";
|
|
266
268
|
readonly QuestionnairePlanQuestion: "QuestionnairePlanQuestion";
|
|
267
269
|
readonly PaymentPlan: "PaymentPlan";
|
|
@@ -288,6 +290,8 @@ export declare const ModelName: {
|
|
|
288
290
|
readonly ApplicationPayment: "ApplicationPayment";
|
|
289
291
|
readonly ApplicationDocument: "ApplicationDocument";
|
|
290
292
|
readonly DocumentReview: "DocumentReview";
|
|
293
|
+
readonly ApprovalStageProgress: "ApprovalStageProgress";
|
|
294
|
+
readonly DocumentApproval: "DocumentApproval";
|
|
291
295
|
readonly DocumentTemplate: "DocumentTemplate";
|
|
292
296
|
readonly OfferLetter: "OfferLetter";
|
|
293
297
|
readonly ApplicationTermination: "ApplicationTermination";
|
|
@@ -314,7 +318,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
314
318
|
omit: GlobalOmitOptions;
|
|
315
319
|
};
|
|
316
320
|
meta: {
|
|
317
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "organization" | "organizationMember" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentationPlanStep" | "questionnairePlan" | "questionnairePlanQuestion" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentReview" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker";
|
|
321
|
+
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "organization" | "organizationMember" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentationPlanStep" | "documentDefinition" | "approvalStage" | "questionnairePlan" | "questionnairePlanQuestion" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentReview" | "approvalStageProgress" | "documentApproval" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker";
|
|
318
322
|
txIsolationLevel: TransactionIsolationLevel;
|
|
319
323
|
};
|
|
320
324
|
model: {
|
|
@@ -2364,6 +2368,138 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2364
2368
|
};
|
|
2365
2369
|
};
|
|
2366
2370
|
};
|
|
2371
|
+
DocumentDefinition: {
|
|
2372
|
+
payload: Prisma.$DocumentDefinitionPayload<ExtArgs>;
|
|
2373
|
+
fields: Prisma.DocumentDefinitionFieldRefs;
|
|
2374
|
+
operations: {
|
|
2375
|
+
findUnique: {
|
|
2376
|
+
args: Prisma.DocumentDefinitionFindUniqueArgs<ExtArgs>;
|
|
2377
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload> | null;
|
|
2378
|
+
};
|
|
2379
|
+
findUniqueOrThrow: {
|
|
2380
|
+
args: Prisma.DocumentDefinitionFindUniqueOrThrowArgs<ExtArgs>;
|
|
2381
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2382
|
+
};
|
|
2383
|
+
findFirst: {
|
|
2384
|
+
args: Prisma.DocumentDefinitionFindFirstArgs<ExtArgs>;
|
|
2385
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload> | null;
|
|
2386
|
+
};
|
|
2387
|
+
findFirstOrThrow: {
|
|
2388
|
+
args: Prisma.DocumentDefinitionFindFirstOrThrowArgs<ExtArgs>;
|
|
2389
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2390
|
+
};
|
|
2391
|
+
findMany: {
|
|
2392
|
+
args: Prisma.DocumentDefinitionFindManyArgs<ExtArgs>;
|
|
2393
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>[];
|
|
2394
|
+
};
|
|
2395
|
+
create: {
|
|
2396
|
+
args: Prisma.DocumentDefinitionCreateArgs<ExtArgs>;
|
|
2397
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2398
|
+
};
|
|
2399
|
+
createMany: {
|
|
2400
|
+
args: Prisma.DocumentDefinitionCreateManyArgs<ExtArgs>;
|
|
2401
|
+
result: BatchPayload;
|
|
2402
|
+
};
|
|
2403
|
+
delete: {
|
|
2404
|
+
args: Prisma.DocumentDefinitionDeleteArgs<ExtArgs>;
|
|
2405
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2406
|
+
};
|
|
2407
|
+
update: {
|
|
2408
|
+
args: Prisma.DocumentDefinitionUpdateArgs<ExtArgs>;
|
|
2409
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2410
|
+
};
|
|
2411
|
+
deleteMany: {
|
|
2412
|
+
args: Prisma.DocumentDefinitionDeleteManyArgs<ExtArgs>;
|
|
2413
|
+
result: BatchPayload;
|
|
2414
|
+
};
|
|
2415
|
+
updateMany: {
|
|
2416
|
+
args: Prisma.DocumentDefinitionUpdateManyArgs<ExtArgs>;
|
|
2417
|
+
result: BatchPayload;
|
|
2418
|
+
};
|
|
2419
|
+
upsert: {
|
|
2420
|
+
args: Prisma.DocumentDefinitionUpsertArgs<ExtArgs>;
|
|
2421
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentDefinitionPayload>;
|
|
2422
|
+
};
|
|
2423
|
+
aggregate: {
|
|
2424
|
+
args: Prisma.DocumentDefinitionAggregateArgs<ExtArgs>;
|
|
2425
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDocumentDefinition>;
|
|
2426
|
+
};
|
|
2427
|
+
groupBy: {
|
|
2428
|
+
args: Prisma.DocumentDefinitionGroupByArgs<ExtArgs>;
|
|
2429
|
+
result: runtime.Types.Utils.Optional<Prisma.DocumentDefinitionGroupByOutputType>[];
|
|
2430
|
+
};
|
|
2431
|
+
count: {
|
|
2432
|
+
args: Prisma.DocumentDefinitionCountArgs<ExtArgs>;
|
|
2433
|
+
result: runtime.Types.Utils.Optional<Prisma.DocumentDefinitionCountAggregateOutputType> | number;
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
ApprovalStage: {
|
|
2438
|
+
payload: Prisma.$ApprovalStagePayload<ExtArgs>;
|
|
2439
|
+
fields: Prisma.ApprovalStageFieldRefs;
|
|
2440
|
+
operations: {
|
|
2441
|
+
findUnique: {
|
|
2442
|
+
args: Prisma.ApprovalStageFindUniqueArgs<ExtArgs>;
|
|
2443
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload> | null;
|
|
2444
|
+
};
|
|
2445
|
+
findUniqueOrThrow: {
|
|
2446
|
+
args: Prisma.ApprovalStageFindUniqueOrThrowArgs<ExtArgs>;
|
|
2447
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2448
|
+
};
|
|
2449
|
+
findFirst: {
|
|
2450
|
+
args: Prisma.ApprovalStageFindFirstArgs<ExtArgs>;
|
|
2451
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload> | null;
|
|
2452
|
+
};
|
|
2453
|
+
findFirstOrThrow: {
|
|
2454
|
+
args: Prisma.ApprovalStageFindFirstOrThrowArgs<ExtArgs>;
|
|
2455
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2456
|
+
};
|
|
2457
|
+
findMany: {
|
|
2458
|
+
args: Prisma.ApprovalStageFindManyArgs<ExtArgs>;
|
|
2459
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>[];
|
|
2460
|
+
};
|
|
2461
|
+
create: {
|
|
2462
|
+
args: Prisma.ApprovalStageCreateArgs<ExtArgs>;
|
|
2463
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2464
|
+
};
|
|
2465
|
+
createMany: {
|
|
2466
|
+
args: Prisma.ApprovalStageCreateManyArgs<ExtArgs>;
|
|
2467
|
+
result: BatchPayload;
|
|
2468
|
+
};
|
|
2469
|
+
delete: {
|
|
2470
|
+
args: Prisma.ApprovalStageDeleteArgs<ExtArgs>;
|
|
2471
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2472
|
+
};
|
|
2473
|
+
update: {
|
|
2474
|
+
args: Prisma.ApprovalStageUpdateArgs<ExtArgs>;
|
|
2475
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2476
|
+
};
|
|
2477
|
+
deleteMany: {
|
|
2478
|
+
args: Prisma.ApprovalStageDeleteManyArgs<ExtArgs>;
|
|
2479
|
+
result: BatchPayload;
|
|
2480
|
+
};
|
|
2481
|
+
updateMany: {
|
|
2482
|
+
args: Prisma.ApprovalStageUpdateManyArgs<ExtArgs>;
|
|
2483
|
+
result: BatchPayload;
|
|
2484
|
+
};
|
|
2485
|
+
upsert: {
|
|
2486
|
+
args: Prisma.ApprovalStageUpsertArgs<ExtArgs>;
|
|
2487
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStagePayload>;
|
|
2488
|
+
};
|
|
2489
|
+
aggregate: {
|
|
2490
|
+
args: Prisma.ApprovalStageAggregateArgs<ExtArgs>;
|
|
2491
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateApprovalStage>;
|
|
2492
|
+
};
|
|
2493
|
+
groupBy: {
|
|
2494
|
+
args: Prisma.ApprovalStageGroupByArgs<ExtArgs>;
|
|
2495
|
+
result: runtime.Types.Utils.Optional<Prisma.ApprovalStageGroupByOutputType>[];
|
|
2496
|
+
};
|
|
2497
|
+
count: {
|
|
2498
|
+
args: Prisma.ApprovalStageCountArgs<ExtArgs>;
|
|
2499
|
+
result: runtime.Types.Utils.Optional<Prisma.ApprovalStageCountAggregateOutputType> | number;
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
};
|
|
2367
2503
|
QuestionnairePlan: {
|
|
2368
2504
|
payload: Prisma.$QuestionnairePlanPayload<ExtArgs>;
|
|
2369
2505
|
fields: Prisma.QuestionnairePlanFieldRefs;
|
|
@@ -4080,6 +4216,138 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
4080
4216
|
};
|
|
4081
4217
|
};
|
|
4082
4218
|
};
|
|
4219
|
+
ApprovalStageProgress: {
|
|
4220
|
+
payload: Prisma.$ApprovalStageProgressPayload<ExtArgs>;
|
|
4221
|
+
fields: Prisma.ApprovalStageProgressFieldRefs;
|
|
4222
|
+
operations: {
|
|
4223
|
+
findUnique: {
|
|
4224
|
+
args: Prisma.ApprovalStageProgressFindUniqueArgs<ExtArgs>;
|
|
4225
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload> | null;
|
|
4226
|
+
};
|
|
4227
|
+
findUniqueOrThrow: {
|
|
4228
|
+
args: Prisma.ApprovalStageProgressFindUniqueOrThrowArgs<ExtArgs>;
|
|
4229
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4230
|
+
};
|
|
4231
|
+
findFirst: {
|
|
4232
|
+
args: Prisma.ApprovalStageProgressFindFirstArgs<ExtArgs>;
|
|
4233
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload> | null;
|
|
4234
|
+
};
|
|
4235
|
+
findFirstOrThrow: {
|
|
4236
|
+
args: Prisma.ApprovalStageProgressFindFirstOrThrowArgs<ExtArgs>;
|
|
4237
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4238
|
+
};
|
|
4239
|
+
findMany: {
|
|
4240
|
+
args: Prisma.ApprovalStageProgressFindManyArgs<ExtArgs>;
|
|
4241
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>[];
|
|
4242
|
+
};
|
|
4243
|
+
create: {
|
|
4244
|
+
args: Prisma.ApprovalStageProgressCreateArgs<ExtArgs>;
|
|
4245
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4246
|
+
};
|
|
4247
|
+
createMany: {
|
|
4248
|
+
args: Prisma.ApprovalStageProgressCreateManyArgs<ExtArgs>;
|
|
4249
|
+
result: BatchPayload;
|
|
4250
|
+
};
|
|
4251
|
+
delete: {
|
|
4252
|
+
args: Prisma.ApprovalStageProgressDeleteArgs<ExtArgs>;
|
|
4253
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4254
|
+
};
|
|
4255
|
+
update: {
|
|
4256
|
+
args: Prisma.ApprovalStageProgressUpdateArgs<ExtArgs>;
|
|
4257
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4258
|
+
};
|
|
4259
|
+
deleteMany: {
|
|
4260
|
+
args: Prisma.ApprovalStageProgressDeleteManyArgs<ExtArgs>;
|
|
4261
|
+
result: BatchPayload;
|
|
4262
|
+
};
|
|
4263
|
+
updateMany: {
|
|
4264
|
+
args: Prisma.ApprovalStageProgressUpdateManyArgs<ExtArgs>;
|
|
4265
|
+
result: BatchPayload;
|
|
4266
|
+
};
|
|
4267
|
+
upsert: {
|
|
4268
|
+
args: Prisma.ApprovalStageProgressUpsertArgs<ExtArgs>;
|
|
4269
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ApprovalStageProgressPayload>;
|
|
4270
|
+
};
|
|
4271
|
+
aggregate: {
|
|
4272
|
+
args: Prisma.ApprovalStageProgressAggregateArgs<ExtArgs>;
|
|
4273
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateApprovalStageProgress>;
|
|
4274
|
+
};
|
|
4275
|
+
groupBy: {
|
|
4276
|
+
args: Prisma.ApprovalStageProgressGroupByArgs<ExtArgs>;
|
|
4277
|
+
result: runtime.Types.Utils.Optional<Prisma.ApprovalStageProgressGroupByOutputType>[];
|
|
4278
|
+
};
|
|
4279
|
+
count: {
|
|
4280
|
+
args: Prisma.ApprovalStageProgressCountArgs<ExtArgs>;
|
|
4281
|
+
result: runtime.Types.Utils.Optional<Prisma.ApprovalStageProgressCountAggregateOutputType> | number;
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4284
|
+
};
|
|
4285
|
+
DocumentApproval: {
|
|
4286
|
+
payload: Prisma.$DocumentApprovalPayload<ExtArgs>;
|
|
4287
|
+
fields: Prisma.DocumentApprovalFieldRefs;
|
|
4288
|
+
operations: {
|
|
4289
|
+
findUnique: {
|
|
4290
|
+
args: Prisma.DocumentApprovalFindUniqueArgs<ExtArgs>;
|
|
4291
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload> | null;
|
|
4292
|
+
};
|
|
4293
|
+
findUniqueOrThrow: {
|
|
4294
|
+
args: Prisma.DocumentApprovalFindUniqueOrThrowArgs<ExtArgs>;
|
|
4295
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4296
|
+
};
|
|
4297
|
+
findFirst: {
|
|
4298
|
+
args: Prisma.DocumentApprovalFindFirstArgs<ExtArgs>;
|
|
4299
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload> | null;
|
|
4300
|
+
};
|
|
4301
|
+
findFirstOrThrow: {
|
|
4302
|
+
args: Prisma.DocumentApprovalFindFirstOrThrowArgs<ExtArgs>;
|
|
4303
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4304
|
+
};
|
|
4305
|
+
findMany: {
|
|
4306
|
+
args: Prisma.DocumentApprovalFindManyArgs<ExtArgs>;
|
|
4307
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>[];
|
|
4308
|
+
};
|
|
4309
|
+
create: {
|
|
4310
|
+
args: Prisma.DocumentApprovalCreateArgs<ExtArgs>;
|
|
4311
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4312
|
+
};
|
|
4313
|
+
createMany: {
|
|
4314
|
+
args: Prisma.DocumentApprovalCreateManyArgs<ExtArgs>;
|
|
4315
|
+
result: BatchPayload;
|
|
4316
|
+
};
|
|
4317
|
+
delete: {
|
|
4318
|
+
args: Prisma.DocumentApprovalDeleteArgs<ExtArgs>;
|
|
4319
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4320
|
+
};
|
|
4321
|
+
update: {
|
|
4322
|
+
args: Prisma.DocumentApprovalUpdateArgs<ExtArgs>;
|
|
4323
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4324
|
+
};
|
|
4325
|
+
deleteMany: {
|
|
4326
|
+
args: Prisma.DocumentApprovalDeleteManyArgs<ExtArgs>;
|
|
4327
|
+
result: BatchPayload;
|
|
4328
|
+
};
|
|
4329
|
+
updateMany: {
|
|
4330
|
+
args: Prisma.DocumentApprovalUpdateManyArgs<ExtArgs>;
|
|
4331
|
+
result: BatchPayload;
|
|
4332
|
+
};
|
|
4333
|
+
upsert: {
|
|
4334
|
+
args: Prisma.DocumentApprovalUpsertArgs<ExtArgs>;
|
|
4335
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentApprovalPayload>;
|
|
4336
|
+
};
|
|
4337
|
+
aggregate: {
|
|
4338
|
+
args: Prisma.DocumentApprovalAggregateArgs<ExtArgs>;
|
|
4339
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDocumentApproval>;
|
|
4340
|
+
};
|
|
4341
|
+
groupBy: {
|
|
4342
|
+
args: Prisma.DocumentApprovalGroupByArgs<ExtArgs>;
|
|
4343
|
+
result: runtime.Types.Utils.Optional<Prisma.DocumentApprovalGroupByOutputType>[];
|
|
4344
|
+
};
|
|
4345
|
+
count: {
|
|
4346
|
+
args: Prisma.DocumentApprovalCountArgs<ExtArgs>;
|
|
4347
|
+
result: runtime.Types.Utils.Optional<Prisma.DocumentApprovalCountAggregateOutputType> | number;
|
|
4348
|
+
};
|
|
4349
|
+
};
|
|
4350
|
+
};
|
|
4083
4351
|
DocumentTemplate: {
|
|
4084
4352
|
payload: Prisma.$DocumentTemplatePayload<ExtArgs>;
|
|
4085
4353
|
fields: Prisma.DocumentTemplateFieldRefs;
|
|
@@ -5406,7 +5674,6 @@ export declare const DocumentationPlanScalarFieldEnum: {
|
|
|
5406
5674
|
readonly name: "name";
|
|
5407
5675
|
readonly description: "description";
|
|
5408
5676
|
readonly isActive: "isActive";
|
|
5409
|
-
readonly requiredDocumentTypes: "requiredDocumentTypes";
|
|
5410
5677
|
readonly createdAt: "createdAt";
|
|
5411
5678
|
readonly updatedAt: "updatedAt";
|
|
5412
5679
|
};
|
|
@@ -5418,6 +5685,7 @@ export declare const DocumentationPlanStepScalarFieldEnum: {
|
|
|
5418
5685
|
readonly stepType: "stepType";
|
|
5419
5686
|
readonly order: "order";
|
|
5420
5687
|
readonly documentType: "documentType";
|
|
5688
|
+
readonly documentName: "documentName";
|
|
5421
5689
|
readonly metadata: "metadata";
|
|
5422
5690
|
readonly isRequired: "isRequired";
|
|
5423
5691
|
readonly description: "description";
|
|
@@ -5441,6 +5709,43 @@ export declare const DocumentationPlanStepScalarFieldEnum: {
|
|
|
5441
5709
|
readonly updatedAt: "updatedAt";
|
|
5442
5710
|
};
|
|
5443
5711
|
export type DocumentationPlanStepScalarFieldEnum = (typeof DocumentationPlanStepScalarFieldEnum)[keyof typeof DocumentationPlanStepScalarFieldEnum];
|
|
5712
|
+
export declare const DocumentDefinitionScalarFieldEnum: {
|
|
5713
|
+
readonly id: "id";
|
|
5714
|
+
readonly planId: "planId";
|
|
5715
|
+
readonly documentType: "documentType";
|
|
5716
|
+
readonly documentName: "documentName";
|
|
5717
|
+
readonly uploadedBy: "uploadedBy";
|
|
5718
|
+
readonly order: "order";
|
|
5719
|
+
readonly isRequired: "isRequired";
|
|
5720
|
+
readonly description: "description";
|
|
5721
|
+
readonly maxSizeBytes: "maxSizeBytes";
|
|
5722
|
+
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
5723
|
+
readonly expiryDays: "expiryDays";
|
|
5724
|
+
readonly minFiles: "minFiles";
|
|
5725
|
+
readonly maxFiles: "maxFiles";
|
|
5726
|
+
readonly condition: "condition";
|
|
5727
|
+
readonly createdAt: "createdAt";
|
|
5728
|
+
readonly updatedAt: "updatedAt";
|
|
5729
|
+
};
|
|
5730
|
+
export type DocumentDefinitionScalarFieldEnum = (typeof DocumentDefinitionScalarFieldEnum)[keyof typeof DocumentDefinitionScalarFieldEnum];
|
|
5731
|
+
export declare const ApprovalStageScalarFieldEnum: {
|
|
5732
|
+
readonly id: "id";
|
|
5733
|
+
readonly planId: "planId";
|
|
5734
|
+
readonly name: "name";
|
|
5735
|
+
readonly order: "order";
|
|
5736
|
+
readonly reviewParty: "reviewParty";
|
|
5737
|
+
readonly autoTransition: "autoTransition";
|
|
5738
|
+
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
5739
|
+
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
5740
|
+
readonly onRejection: "onRejection";
|
|
5741
|
+
readonly restartFromStageOrder: "restartFromStageOrder";
|
|
5742
|
+
readonly organizationId: "organizationId";
|
|
5743
|
+
readonly slaHours: "slaHours";
|
|
5744
|
+
readonly description: "description";
|
|
5745
|
+
readonly createdAt: "createdAt";
|
|
5746
|
+
readonly updatedAt: "updatedAt";
|
|
5747
|
+
};
|
|
5748
|
+
export type ApprovalStageScalarFieldEnum = (typeof ApprovalStageScalarFieldEnum)[keyof typeof ApprovalStageScalarFieldEnum];
|
|
5444
5749
|
export declare const QuestionnairePlanScalarFieldEnum: {
|
|
5445
5750
|
readonly id: "id";
|
|
5446
5751
|
readonly tenantId: "tenantId";
|
|
@@ -5784,6 +6089,7 @@ export declare const DocumentationStepScalarFieldEnum: {
|
|
|
5784
6089
|
readonly tenantId: "tenantId";
|
|
5785
6090
|
readonly documentationPhaseId: "documentationPhaseId";
|
|
5786
6091
|
readonly name: "name";
|
|
6092
|
+
readonly documentName: "documentName";
|
|
5787
6093
|
readonly description: "description";
|
|
5788
6094
|
readonly stepType: "stepType";
|
|
5789
6095
|
readonly order: "order";
|
|
@@ -5880,6 +6186,8 @@ export declare const ApplicationDocumentScalarFieldEnum: {
|
|
|
5880
6186
|
readonly applicationId: "applicationId";
|
|
5881
6187
|
readonly phaseId: "phaseId";
|
|
5882
6188
|
readonly stepId: "stepId";
|
|
6189
|
+
readonly documentType: "documentType";
|
|
6190
|
+
readonly documentName: "documentName";
|
|
5883
6191
|
readonly name: "name";
|
|
5884
6192
|
readonly url: "url";
|
|
5885
6193
|
readonly type: "type";
|
|
@@ -5911,6 +6219,41 @@ export declare const DocumentReviewScalarFieldEnum: {
|
|
|
5911
6219
|
readonly updatedAt: "updatedAt";
|
|
5912
6220
|
};
|
|
5913
6221
|
export type DocumentReviewScalarFieldEnum = (typeof DocumentReviewScalarFieldEnum)[keyof typeof DocumentReviewScalarFieldEnum];
|
|
6222
|
+
export declare const ApprovalStageProgressScalarFieldEnum: {
|
|
6223
|
+
readonly id: "id";
|
|
6224
|
+
readonly tenantId: "tenantId";
|
|
6225
|
+
readonly documentationPhaseId: "documentationPhaseId";
|
|
6226
|
+
readonly approvalStageId: "approvalStageId";
|
|
6227
|
+
readonly name: "name";
|
|
6228
|
+
readonly order: "order";
|
|
6229
|
+
readonly reviewParty: "reviewParty";
|
|
6230
|
+
readonly autoTransition: "autoTransition";
|
|
6231
|
+
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
6232
|
+
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
6233
|
+
readonly onRejection: "onRejection";
|
|
6234
|
+
readonly restartFromStageOrder: "restartFromStageOrder";
|
|
6235
|
+
readonly status: "status";
|
|
6236
|
+
readonly activatedAt: "activatedAt";
|
|
6237
|
+
readonly completedAt: "completedAt";
|
|
6238
|
+
readonly completedById: "completedById";
|
|
6239
|
+
readonly transitionComment: "transitionComment";
|
|
6240
|
+
readonly createdAt: "createdAt";
|
|
6241
|
+
readonly updatedAt: "updatedAt";
|
|
6242
|
+
};
|
|
6243
|
+
export type ApprovalStageProgressScalarFieldEnum = (typeof ApprovalStageProgressScalarFieldEnum)[keyof typeof ApprovalStageProgressScalarFieldEnum];
|
|
6244
|
+
export declare const DocumentApprovalScalarFieldEnum: {
|
|
6245
|
+
readonly id: "id";
|
|
6246
|
+
readonly tenantId: "tenantId";
|
|
6247
|
+
readonly documentId: "documentId";
|
|
6248
|
+
readonly stageProgressId: "stageProgressId";
|
|
6249
|
+
readonly reviewerId: "reviewerId";
|
|
6250
|
+
readonly reviewParty: "reviewParty";
|
|
6251
|
+
readonly decision: "decision";
|
|
6252
|
+
readonly comment: "comment";
|
|
6253
|
+
readonly reviewedAt: "reviewedAt";
|
|
6254
|
+
readonly createdAt: "createdAt";
|
|
6255
|
+
};
|
|
6256
|
+
export type DocumentApprovalScalarFieldEnum = (typeof DocumentApprovalScalarFieldEnum)[keyof typeof DocumentApprovalScalarFieldEnum];
|
|
5914
6257
|
export declare const DocumentTemplateScalarFieldEnum: {
|
|
5915
6258
|
readonly id: "id";
|
|
5916
6259
|
readonly tenantId: "tenantId";
|
|
@@ -6510,6 +6853,7 @@ export declare const DocumentationPlanStepOrderByRelevanceFieldEnum: {
|
|
|
6510
6853
|
readonly planId: "planId";
|
|
6511
6854
|
readonly name: "name";
|
|
6512
6855
|
readonly documentType: "documentType";
|
|
6856
|
+
readonly documentName: "documentName";
|
|
6513
6857
|
readonly description: "description";
|
|
6514
6858
|
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
6515
6859
|
readonly reviewOrder: "reviewOrder";
|
|
@@ -6517,6 +6861,23 @@ export declare const DocumentationPlanStepOrderByRelevanceFieldEnum: {
|
|
|
6517
6861
|
readonly gateInstructions: "gateInstructions";
|
|
6518
6862
|
};
|
|
6519
6863
|
export type DocumentationPlanStepOrderByRelevanceFieldEnum = (typeof DocumentationPlanStepOrderByRelevanceFieldEnum)[keyof typeof DocumentationPlanStepOrderByRelevanceFieldEnum];
|
|
6864
|
+
export declare const DocumentDefinitionOrderByRelevanceFieldEnum: {
|
|
6865
|
+
readonly id: "id";
|
|
6866
|
+
readonly planId: "planId";
|
|
6867
|
+
readonly documentType: "documentType";
|
|
6868
|
+
readonly documentName: "documentName";
|
|
6869
|
+
readonly description: "description";
|
|
6870
|
+
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
6871
|
+
};
|
|
6872
|
+
export type DocumentDefinitionOrderByRelevanceFieldEnum = (typeof DocumentDefinitionOrderByRelevanceFieldEnum)[keyof typeof DocumentDefinitionOrderByRelevanceFieldEnum];
|
|
6873
|
+
export declare const ApprovalStageOrderByRelevanceFieldEnum: {
|
|
6874
|
+
readonly id: "id";
|
|
6875
|
+
readonly planId: "planId";
|
|
6876
|
+
readonly name: "name";
|
|
6877
|
+
readonly organizationId: "organizationId";
|
|
6878
|
+
readonly description: "description";
|
|
6879
|
+
};
|
|
6880
|
+
export type ApprovalStageOrderByRelevanceFieldEnum = (typeof ApprovalStageOrderByRelevanceFieldEnum)[keyof typeof ApprovalStageOrderByRelevanceFieldEnum];
|
|
6520
6881
|
export declare const QuestionnairePlanOrderByRelevanceFieldEnum: {
|
|
6521
6882
|
readonly id: "id";
|
|
6522
6883
|
readonly tenantId: "tenantId";
|
|
@@ -6696,6 +7057,7 @@ export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
|
6696
7057
|
readonly tenantId: "tenantId";
|
|
6697
7058
|
readonly documentationPhaseId: "documentationPhaseId";
|
|
6698
7059
|
readonly name: "name";
|
|
7060
|
+
readonly documentName: "documentName";
|
|
6699
7061
|
readonly description: "description";
|
|
6700
7062
|
readonly actionReason: "actionReason";
|
|
6701
7063
|
readonly reviewOrder: "reviewOrder";
|
|
@@ -6746,6 +7108,8 @@ export declare const ApplicationDocumentOrderByRelevanceFieldEnum: {
|
|
|
6746
7108
|
readonly applicationId: "applicationId";
|
|
6747
7109
|
readonly phaseId: "phaseId";
|
|
6748
7110
|
readonly stepId: "stepId";
|
|
7111
|
+
readonly documentType: "documentType";
|
|
7112
|
+
readonly documentName: "documentName";
|
|
6749
7113
|
readonly name: "name";
|
|
6750
7114
|
readonly url: "url";
|
|
6751
7115
|
readonly type: "type";
|
|
@@ -6764,6 +7128,25 @@ export declare const DocumentReviewOrderByRelevanceFieldEnum: {
|
|
|
6764
7128
|
readonly parentReviewId: "parentReviewId";
|
|
6765
7129
|
};
|
|
6766
7130
|
export type DocumentReviewOrderByRelevanceFieldEnum = (typeof DocumentReviewOrderByRelevanceFieldEnum)[keyof typeof DocumentReviewOrderByRelevanceFieldEnum];
|
|
7131
|
+
export declare const ApprovalStageProgressOrderByRelevanceFieldEnum: {
|
|
7132
|
+
readonly id: "id";
|
|
7133
|
+
readonly tenantId: "tenantId";
|
|
7134
|
+
readonly documentationPhaseId: "documentationPhaseId";
|
|
7135
|
+
readonly approvalStageId: "approvalStageId";
|
|
7136
|
+
readonly name: "name";
|
|
7137
|
+
readonly completedById: "completedById";
|
|
7138
|
+
readonly transitionComment: "transitionComment";
|
|
7139
|
+
};
|
|
7140
|
+
export type ApprovalStageProgressOrderByRelevanceFieldEnum = (typeof ApprovalStageProgressOrderByRelevanceFieldEnum)[keyof typeof ApprovalStageProgressOrderByRelevanceFieldEnum];
|
|
7141
|
+
export declare const DocumentApprovalOrderByRelevanceFieldEnum: {
|
|
7142
|
+
readonly id: "id";
|
|
7143
|
+
readonly tenantId: "tenantId";
|
|
7144
|
+
readonly documentId: "documentId";
|
|
7145
|
+
readonly stageProgressId: "stageProgressId";
|
|
7146
|
+
readonly reviewerId: "reviewerId";
|
|
7147
|
+
readonly comment: "comment";
|
|
7148
|
+
};
|
|
7149
|
+
export type DocumentApprovalOrderByRelevanceFieldEnum = (typeof DocumentApprovalOrderByRelevanceFieldEnum)[keyof typeof DocumentApprovalOrderByRelevanceFieldEnum];
|
|
6767
7150
|
export declare const DocumentTemplateOrderByRelevanceFieldEnum: {
|
|
6768
7151
|
readonly id: "id";
|
|
6769
7152
|
readonly tenantId: "tenantId";
|
|
@@ -6999,6 +7382,18 @@ export type EnumGateActionFieldRefInput<$PrismaModel> = FieldRefInputType<$Prism
|
|
|
6999
7382
|
* Reference to a field of type 'GateRejectBehavior'
|
|
7000
7383
|
*/
|
|
7001
7384
|
export type EnumGateRejectBehaviorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GateRejectBehavior'>;
|
|
7385
|
+
/**
|
|
7386
|
+
* Reference to a field of type 'UploadedBy'
|
|
7387
|
+
*/
|
|
7388
|
+
export type EnumUploadedByFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UploadedBy'>;
|
|
7389
|
+
/**
|
|
7390
|
+
* Reference to a field of type 'ReviewParty'
|
|
7391
|
+
*/
|
|
7392
|
+
export type EnumReviewPartyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReviewParty'>;
|
|
7393
|
+
/**
|
|
7394
|
+
* Reference to a field of type 'RejectionBehavior'
|
|
7395
|
+
*/
|
|
7396
|
+
export type EnumRejectionBehaviorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RejectionBehavior'>;
|
|
7002
7397
|
/**
|
|
7003
7398
|
* Reference to a field of type 'ScoringStrategy'
|
|
7004
7399
|
*/
|
|
@@ -7087,14 +7482,14 @@ export type EnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$Pr
|
|
|
7087
7482
|
* Reference to a field of type 'DocumentStatus'
|
|
7088
7483
|
*/
|
|
7089
7484
|
export type EnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus'>;
|
|
7090
|
-
/**
|
|
7091
|
-
* Reference to a field of type 'ReviewParty'
|
|
7092
|
-
*/
|
|
7093
|
-
export type EnumReviewPartyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReviewParty'>;
|
|
7094
7485
|
/**
|
|
7095
7486
|
* Reference to a field of type 'ReviewDecision'
|
|
7096
7487
|
*/
|
|
7097
7488
|
export type EnumReviewDecisionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReviewDecision'>;
|
|
7489
|
+
/**
|
|
7490
|
+
* Reference to a field of type 'StageStatus'
|
|
7491
|
+
*/
|
|
7492
|
+
export type EnumStageStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StageStatus'>;
|
|
7098
7493
|
/**
|
|
7099
7494
|
* Reference to a field of type 'OfferLetterType'
|
|
7100
7495
|
*/
|
|
@@ -7292,6 +7687,8 @@ export type GlobalOmitConfig = {
|
|
|
7292
7687
|
propertyAmenity?: Prisma.PropertyAmenityOmit;
|
|
7293
7688
|
documentationPlan?: Prisma.DocumentationPlanOmit;
|
|
7294
7689
|
documentationPlanStep?: Prisma.DocumentationPlanStepOmit;
|
|
7690
|
+
documentDefinition?: Prisma.DocumentDefinitionOmit;
|
|
7691
|
+
approvalStage?: Prisma.ApprovalStageOmit;
|
|
7295
7692
|
questionnairePlan?: Prisma.QuestionnairePlanOmit;
|
|
7296
7693
|
questionnairePlanQuestion?: Prisma.QuestionnairePlanQuestionOmit;
|
|
7297
7694
|
paymentPlan?: Prisma.PaymentPlanOmit;
|
|
@@ -7318,6 +7715,8 @@ export type GlobalOmitConfig = {
|
|
|
7318
7715
|
applicationPayment?: Prisma.ApplicationPaymentOmit;
|
|
7319
7716
|
applicationDocument?: Prisma.ApplicationDocumentOmit;
|
|
7320
7717
|
documentReview?: Prisma.DocumentReviewOmit;
|
|
7718
|
+
approvalStageProgress?: Prisma.ApprovalStageProgressOmit;
|
|
7719
|
+
documentApproval?: Prisma.DocumentApprovalOmit;
|
|
7321
7720
|
documentTemplate?: Prisma.DocumentTemplateOmit;
|
|
7322
7721
|
offerLetter?: Prisma.OfferLetterOmit;
|
|
7323
7722
|
applicationTermination?: Prisma.ApplicationTerminationOmit;
|