@valentine-efagene/qshelter-common 2.0.66 → 2.0.68
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 +29 -0
- package/dist/generated/client/client.d.ts +29 -0
- package/dist/generated/client/commonInputTypes.d.ts +120 -0
- package/dist/generated/client/enums.d.ts +33 -0
- package/dist/generated/client/enums.js +29 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +475 -1
- package/dist/generated/client/internal/prismaNamespace.js +113 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +123 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +113 -0
- package/dist/generated/client/models/EventChannel.d.ts +1305 -0
- package/dist/generated/client/models/EventChannel.js +1 -0
- package/dist/generated/client/models/EventHandler.d.ts +1749 -0
- package/dist/generated/client/models/EventHandler.js +1 -0
- package/dist/generated/client/models/EventHandlerExecution.d.ts +1525 -0
- package/dist/generated/client/models/EventHandlerExecution.js +1 -0
- package/dist/generated/client/models/EventType.d.ts +1653 -0
- package/dist/generated/client/models/EventType.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +796 -0
- package/dist/generated/client/models/WorkflowEvent.d.ts +1654 -0
- package/dist/generated/client/models/WorkflowEvent.js +1 -0
- package/dist/generated/client/models/index.d.ts +5 -0
- package/dist/generated/client/models/index.js +5 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/dist/src/events/event-config.service.d.ts +123 -0
- package/dist/src/events/event-config.service.js +416 -0
- package/dist/src/events/index.d.ts +3 -0
- package/dist/src/events/index.js +5 -0
- package/dist/src/events/workflow-event.service.d.ts +205 -0
- package/dist/src/events/workflow-event.service.js +660 -0
- package/dist/src/events/workflow-types.d.ts +315 -0
- package/dist/src/events/workflow-types.js +14 -0
- package/package.json +1 -1
- package/prisma/migrations/20260105151535_add_event_workflow_system/migration.sql +132 -0
- package/prisma/schema.prisma +272 -0
|
@@ -277,6 +277,11 @@ export declare const ModelName: {
|
|
|
277
277
|
readonly ContractTermination: "ContractTermination";
|
|
278
278
|
readonly PaymentMethodChangeRequest: "PaymentMethodChangeRequest";
|
|
279
279
|
readonly DocumentRequirementRule: "DocumentRequirementRule";
|
|
280
|
+
readonly EventChannel: "EventChannel";
|
|
281
|
+
readonly EventType: "EventType";
|
|
282
|
+
readonly EventHandler: "EventHandler";
|
|
283
|
+
readonly WorkflowEvent: "WorkflowEvent";
|
|
284
|
+
readonly EventHandlerExecution: "EventHandlerExecution";
|
|
280
285
|
readonly DomainEvent: "DomainEvent";
|
|
281
286
|
};
|
|
282
287
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
@@ -290,7 +295,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
290
295
|
omit: GlobalOmitOptions;
|
|
291
296
|
};
|
|
292
297
|
meta: {
|
|
293
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "apiKey" | "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" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "contractEvent" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "domainEvent";
|
|
298
|
+
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "apiKey" | "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" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "contractEvent" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent";
|
|
294
299
|
txIsolationLevel: TransactionIsolationLevel;
|
|
295
300
|
};
|
|
296
301
|
model: {
|
|
@@ -3330,6 +3335,336 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
3330
3335
|
};
|
|
3331
3336
|
};
|
|
3332
3337
|
};
|
|
3338
|
+
EventChannel: {
|
|
3339
|
+
payload: Prisma.$EventChannelPayload<ExtArgs>;
|
|
3340
|
+
fields: Prisma.EventChannelFieldRefs;
|
|
3341
|
+
operations: {
|
|
3342
|
+
findUnique: {
|
|
3343
|
+
args: Prisma.EventChannelFindUniqueArgs<ExtArgs>;
|
|
3344
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload> | null;
|
|
3345
|
+
};
|
|
3346
|
+
findUniqueOrThrow: {
|
|
3347
|
+
args: Prisma.EventChannelFindUniqueOrThrowArgs<ExtArgs>;
|
|
3348
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3349
|
+
};
|
|
3350
|
+
findFirst: {
|
|
3351
|
+
args: Prisma.EventChannelFindFirstArgs<ExtArgs>;
|
|
3352
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload> | null;
|
|
3353
|
+
};
|
|
3354
|
+
findFirstOrThrow: {
|
|
3355
|
+
args: Prisma.EventChannelFindFirstOrThrowArgs<ExtArgs>;
|
|
3356
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3357
|
+
};
|
|
3358
|
+
findMany: {
|
|
3359
|
+
args: Prisma.EventChannelFindManyArgs<ExtArgs>;
|
|
3360
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>[];
|
|
3361
|
+
};
|
|
3362
|
+
create: {
|
|
3363
|
+
args: Prisma.EventChannelCreateArgs<ExtArgs>;
|
|
3364
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3365
|
+
};
|
|
3366
|
+
createMany: {
|
|
3367
|
+
args: Prisma.EventChannelCreateManyArgs<ExtArgs>;
|
|
3368
|
+
result: BatchPayload;
|
|
3369
|
+
};
|
|
3370
|
+
delete: {
|
|
3371
|
+
args: Prisma.EventChannelDeleteArgs<ExtArgs>;
|
|
3372
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3373
|
+
};
|
|
3374
|
+
update: {
|
|
3375
|
+
args: Prisma.EventChannelUpdateArgs<ExtArgs>;
|
|
3376
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3377
|
+
};
|
|
3378
|
+
deleteMany: {
|
|
3379
|
+
args: Prisma.EventChannelDeleteManyArgs<ExtArgs>;
|
|
3380
|
+
result: BatchPayload;
|
|
3381
|
+
};
|
|
3382
|
+
updateMany: {
|
|
3383
|
+
args: Prisma.EventChannelUpdateManyArgs<ExtArgs>;
|
|
3384
|
+
result: BatchPayload;
|
|
3385
|
+
};
|
|
3386
|
+
upsert: {
|
|
3387
|
+
args: Prisma.EventChannelUpsertArgs<ExtArgs>;
|
|
3388
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventChannelPayload>;
|
|
3389
|
+
};
|
|
3390
|
+
aggregate: {
|
|
3391
|
+
args: Prisma.EventChannelAggregateArgs<ExtArgs>;
|
|
3392
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateEventChannel>;
|
|
3393
|
+
};
|
|
3394
|
+
groupBy: {
|
|
3395
|
+
args: Prisma.EventChannelGroupByArgs<ExtArgs>;
|
|
3396
|
+
result: runtime.Types.Utils.Optional<Prisma.EventChannelGroupByOutputType>[];
|
|
3397
|
+
};
|
|
3398
|
+
count: {
|
|
3399
|
+
args: Prisma.EventChannelCountArgs<ExtArgs>;
|
|
3400
|
+
result: runtime.Types.Utils.Optional<Prisma.EventChannelCountAggregateOutputType> | number;
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3403
|
+
};
|
|
3404
|
+
EventType: {
|
|
3405
|
+
payload: Prisma.$EventTypePayload<ExtArgs>;
|
|
3406
|
+
fields: Prisma.EventTypeFieldRefs;
|
|
3407
|
+
operations: {
|
|
3408
|
+
findUnique: {
|
|
3409
|
+
args: Prisma.EventTypeFindUniqueArgs<ExtArgs>;
|
|
3410
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload> | null;
|
|
3411
|
+
};
|
|
3412
|
+
findUniqueOrThrow: {
|
|
3413
|
+
args: Prisma.EventTypeFindUniqueOrThrowArgs<ExtArgs>;
|
|
3414
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3415
|
+
};
|
|
3416
|
+
findFirst: {
|
|
3417
|
+
args: Prisma.EventTypeFindFirstArgs<ExtArgs>;
|
|
3418
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload> | null;
|
|
3419
|
+
};
|
|
3420
|
+
findFirstOrThrow: {
|
|
3421
|
+
args: Prisma.EventTypeFindFirstOrThrowArgs<ExtArgs>;
|
|
3422
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3423
|
+
};
|
|
3424
|
+
findMany: {
|
|
3425
|
+
args: Prisma.EventTypeFindManyArgs<ExtArgs>;
|
|
3426
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>[];
|
|
3427
|
+
};
|
|
3428
|
+
create: {
|
|
3429
|
+
args: Prisma.EventTypeCreateArgs<ExtArgs>;
|
|
3430
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3431
|
+
};
|
|
3432
|
+
createMany: {
|
|
3433
|
+
args: Prisma.EventTypeCreateManyArgs<ExtArgs>;
|
|
3434
|
+
result: BatchPayload;
|
|
3435
|
+
};
|
|
3436
|
+
delete: {
|
|
3437
|
+
args: Prisma.EventTypeDeleteArgs<ExtArgs>;
|
|
3438
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3439
|
+
};
|
|
3440
|
+
update: {
|
|
3441
|
+
args: Prisma.EventTypeUpdateArgs<ExtArgs>;
|
|
3442
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3443
|
+
};
|
|
3444
|
+
deleteMany: {
|
|
3445
|
+
args: Prisma.EventTypeDeleteManyArgs<ExtArgs>;
|
|
3446
|
+
result: BatchPayload;
|
|
3447
|
+
};
|
|
3448
|
+
updateMany: {
|
|
3449
|
+
args: Prisma.EventTypeUpdateManyArgs<ExtArgs>;
|
|
3450
|
+
result: BatchPayload;
|
|
3451
|
+
};
|
|
3452
|
+
upsert: {
|
|
3453
|
+
args: Prisma.EventTypeUpsertArgs<ExtArgs>;
|
|
3454
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTypePayload>;
|
|
3455
|
+
};
|
|
3456
|
+
aggregate: {
|
|
3457
|
+
args: Prisma.EventTypeAggregateArgs<ExtArgs>;
|
|
3458
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateEventType>;
|
|
3459
|
+
};
|
|
3460
|
+
groupBy: {
|
|
3461
|
+
args: Prisma.EventTypeGroupByArgs<ExtArgs>;
|
|
3462
|
+
result: runtime.Types.Utils.Optional<Prisma.EventTypeGroupByOutputType>[];
|
|
3463
|
+
};
|
|
3464
|
+
count: {
|
|
3465
|
+
args: Prisma.EventTypeCountArgs<ExtArgs>;
|
|
3466
|
+
result: runtime.Types.Utils.Optional<Prisma.EventTypeCountAggregateOutputType> | number;
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
EventHandler: {
|
|
3471
|
+
payload: Prisma.$EventHandlerPayload<ExtArgs>;
|
|
3472
|
+
fields: Prisma.EventHandlerFieldRefs;
|
|
3473
|
+
operations: {
|
|
3474
|
+
findUnique: {
|
|
3475
|
+
args: Prisma.EventHandlerFindUniqueArgs<ExtArgs>;
|
|
3476
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload> | null;
|
|
3477
|
+
};
|
|
3478
|
+
findUniqueOrThrow: {
|
|
3479
|
+
args: Prisma.EventHandlerFindUniqueOrThrowArgs<ExtArgs>;
|
|
3480
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3481
|
+
};
|
|
3482
|
+
findFirst: {
|
|
3483
|
+
args: Prisma.EventHandlerFindFirstArgs<ExtArgs>;
|
|
3484
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload> | null;
|
|
3485
|
+
};
|
|
3486
|
+
findFirstOrThrow: {
|
|
3487
|
+
args: Prisma.EventHandlerFindFirstOrThrowArgs<ExtArgs>;
|
|
3488
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3489
|
+
};
|
|
3490
|
+
findMany: {
|
|
3491
|
+
args: Prisma.EventHandlerFindManyArgs<ExtArgs>;
|
|
3492
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>[];
|
|
3493
|
+
};
|
|
3494
|
+
create: {
|
|
3495
|
+
args: Prisma.EventHandlerCreateArgs<ExtArgs>;
|
|
3496
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3497
|
+
};
|
|
3498
|
+
createMany: {
|
|
3499
|
+
args: Prisma.EventHandlerCreateManyArgs<ExtArgs>;
|
|
3500
|
+
result: BatchPayload;
|
|
3501
|
+
};
|
|
3502
|
+
delete: {
|
|
3503
|
+
args: Prisma.EventHandlerDeleteArgs<ExtArgs>;
|
|
3504
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3505
|
+
};
|
|
3506
|
+
update: {
|
|
3507
|
+
args: Prisma.EventHandlerUpdateArgs<ExtArgs>;
|
|
3508
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3509
|
+
};
|
|
3510
|
+
deleteMany: {
|
|
3511
|
+
args: Prisma.EventHandlerDeleteManyArgs<ExtArgs>;
|
|
3512
|
+
result: BatchPayload;
|
|
3513
|
+
};
|
|
3514
|
+
updateMany: {
|
|
3515
|
+
args: Prisma.EventHandlerUpdateManyArgs<ExtArgs>;
|
|
3516
|
+
result: BatchPayload;
|
|
3517
|
+
};
|
|
3518
|
+
upsert: {
|
|
3519
|
+
args: Prisma.EventHandlerUpsertArgs<ExtArgs>;
|
|
3520
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerPayload>;
|
|
3521
|
+
};
|
|
3522
|
+
aggregate: {
|
|
3523
|
+
args: Prisma.EventHandlerAggregateArgs<ExtArgs>;
|
|
3524
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateEventHandler>;
|
|
3525
|
+
};
|
|
3526
|
+
groupBy: {
|
|
3527
|
+
args: Prisma.EventHandlerGroupByArgs<ExtArgs>;
|
|
3528
|
+
result: runtime.Types.Utils.Optional<Prisma.EventHandlerGroupByOutputType>[];
|
|
3529
|
+
};
|
|
3530
|
+
count: {
|
|
3531
|
+
args: Prisma.EventHandlerCountArgs<ExtArgs>;
|
|
3532
|
+
result: runtime.Types.Utils.Optional<Prisma.EventHandlerCountAggregateOutputType> | number;
|
|
3533
|
+
};
|
|
3534
|
+
};
|
|
3535
|
+
};
|
|
3536
|
+
WorkflowEvent: {
|
|
3537
|
+
payload: Prisma.$WorkflowEventPayload<ExtArgs>;
|
|
3538
|
+
fields: Prisma.WorkflowEventFieldRefs;
|
|
3539
|
+
operations: {
|
|
3540
|
+
findUnique: {
|
|
3541
|
+
args: Prisma.WorkflowEventFindUniqueArgs<ExtArgs>;
|
|
3542
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload> | null;
|
|
3543
|
+
};
|
|
3544
|
+
findUniqueOrThrow: {
|
|
3545
|
+
args: Prisma.WorkflowEventFindUniqueOrThrowArgs<ExtArgs>;
|
|
3546
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3547
|
+
};
|
|
3548
|
+
findFirst: {
|
|
3549
|
+
args: Prisma.WorkflowEventFindFirstArgs<ExtArgs>;
|
|
3550
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload> | null;
|
|
3551
|
+
};
|
|
3552
|
+
findFirstOrThrow: {
|
|
3553
|
+
args: Prisma.WorkflowEventFindFirstOrThrowArgs<ExtArgs>;
|
|
3554
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3555
|
+
};
|
|
3556
|
+
findMany: {
|
|
3557
|
+
args: Prisma.WorkflowEventFindManyArgs<ExtArgs>;
|
|
3558
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>[];
|
|
3559
|
+
};
|
|
3560
|
+
create: {
|
|
3561
|
+
args: Prisma.WorkflowEventCreateArgs<ExtArgs>;
|
|
3562
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3563
|
+
};
|
|
3564
|
+
createMany: {
|
|
3565
|
+
args: Prisma.WorkflowEventCreateManyArgs<ExtArgs>;
|
|
3566
|
+
result: BatchPayload;
|
|
3567
|
+
};
|
|
3568
|
+
delete: {
|
|
3569
|
+
args: Prisma.WorkflowEventDeleteArgs<ExtArgs>;
|
|
3570
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3571
|
+
};
|
|
3572
|
+
update: {
|
|
3573
|
+
args: Prisma.WorkflowEventUpdateArgs<ExtArgs>;
|
|
3574
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3575
|
+
};
|
|
3576
|
+
deleteMany: {
|
|
3577
|
+
args: Prisma.WorkflowEventDeleteManyArgs<ExtArgs>;
|
|
3578
|
+
result: BatchPayload;
|
|
3579
|
+
};
|
|
3580
|
+
updateMany: {
|
|
3581
|
+
args: Prisma.WorkflowEventUpdateManyArgs<ExtArgs>;
|
|
3582
|
+
result: BatchPayload;
|
|
3583
|
+
};
|
|
3584
|
+
upsert: {
|
|
3585
|
+
args: Prisma.WorkflowEventUpsertArgs<ExtArgs>;
|
|
3586
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowEventPayload>;
|
|
3587
|
+
};
|
|
3588
|
+
aggregate: {
|
|
3589
|
+
args: Prisma.WorkflowEventAggregateArgs<ExtArgs>;
|
|
3590
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateWorkflowEvent>;
|
|
3591
|
+
};
|
|
3592
|
+
groupBy: {
|
|
3593
|
+
args: Prisma.WorkflowEventGroupByArgs<ExtArgs>;
|
|
3594
|
+
result: runtime.Types.Utils.Optional<Prisma.WorkflowEventGroupByOutputType>[];
|
|
3595
|
+
};
|
|
3596
|
+
count: {
|
|
3597
|
+
args: Prisma.WorkflowEventCountArgs<ExtArgs>;
|
|
3598
|
+
result: runtime.Types.Utils.Optional<Prisma.WorkflowEventCountAggregateOutputType> | number;
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
};
|
|
3602
|
+
EventHandlerExecution: {
|
|
3603
|
+
payload: Prisma.$EventHandlerExecutionPayload<ExtArgs>;
|
|
3604
|
+
fields: Prisma.EventHandlerExecutionFieldRefs;
|
|
3605
|
+
operations: {
|
|
3606
|
+
findUnique: {
|
|
3607
|
+
args: Prisma.EventHandlerExecutionFindUniqueArgs<ExtArgs>;
|
|
3608
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload> | null;
|
|
3609
|
+
};
|
|
3610
|
+
findUniqueOrThrow: {
|
|
3611
|
+
args: Prisma.EventHandlerExecutionFindUniqueOrThrowArgs<ExtArgs>;
|
|
3612
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3613
|
+
};
|
|
3614
|
+
findFirst: {
|
|
3615
|
+
args: Prisma.EventHandlerExecutionFindFirstArgs<ExtArgs>;
|
|
3616
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload> | null;
|
|
3617
|
+
};
|
|
3618
|
+
findFirstOrThrow: {
|
|
3619
|
+
args: Prisma.EventHandlerExecutionFindFirstOrThrowArgs<ExtArgs>;
|
|
3620
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3621
|
+
};
|
|
3622
|
+
findMany: {
|
|
3623
|
+
args: Prisma.EventHandlerExecutionFindManyArgs<ExtArgs>;
|
|
3624
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>[];
|
|
3625
|
+
};
|
|
3626
|
+
create: {
|
|
3627
|
+
args: Prisma.EventHandlerExecutionCreateArgs<ExtArgs>;
|
|
3628
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3629
|
+
};
|
|
3630
|
+
createMany: {
|
|
3631
|
+
args: Prisma.EventHandlerExecutionCreateManyArgs<ExtArgs>;
|
|
3632
|
+
result: BatchPayload;
|
|
3633
|
+
};
|
|
3634
|
+
delete: {
|
|
3635
|
+
args: Prisma.EventHandlerExecutionDeleteArgs<ExtArgs>;
|
|
3636
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3637
|
+
};
|
|
3638
|
+
update: {
|
|
3639
|
+
args: Prisma.EventHandlerExecutionUpdateArgs<ExtArgs>;
|
|
3640
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3641
|
+
};
|
|
3642
|
+
deleteMany: {
|
|
3643
|
+
args: Prisma.EventHandlerExecutionDeleteManyArgs<ExtArgs>;
|
|
3644
|
+
result: BatchPayload;
|
|
3645
|
+
};
|
|
3646
|
+
updateMany: {
|
|
3647
|
+
args: Prisma.EventHandlerExecutionUpdateManyArgs<ExtArgs>;
|
|
3648
|
+
result: BatchPayload;
|
|
3649
|
+
};
|
|
3650
|
+
upsert: {
|
|
3651
|
+
args: Prisma.EventHandlerExecutionUpsertArgs<ExtArgs>;
|
|
3652
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventHandlerExecutionPayload>;
|
|
3653
|
+
};
|
|
3654
|
+
aggregate: {
|
|
3655
|
+
args: Prisma.EventHandlerExecutionAggregateArgs<ExtArgs>;
|
|
3656
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateEventHandlerExecution>;
|
|
3657
|
+
};
|
|
3658
|
+
groupBy: {
|
|
3659
|
+
args: Prisma.EventHandlerExecutionGroupByArgs<ExtArgs>;
|
|
3660
|
+
result: runtime.Types.Utils.Optional<Prisma.EventHandlerExecutionGroupByOutputType>[];
|
|
3661
|
+
};
|
|
3662
|
+
count: {
|
|
3663
|
+
args: Prisma.EventHandlerExecutionCountArgs<ExtArgs>;
|
|
3664
|
+
result: runtime.Types.Utils.Optional<Prisma.EventHandlerExecutionCountAggregateOutputType> | number;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
};
|
|
3333
3668
|
DomainEvent: {
|
|
3334
3669
|
payload: Prisma.$DomainEventPayload<ExtArgs>;
|
|
3335
3670
|
fields: Prisma.DomainEventFieldRefs;
|
|
@@ -4116,6 +4451,79 @@ export declare const DocumentRequirementRuleScalarFieldEnum: {
|
|
|
4116
4451
|
readonly updatedAt: "updatedAt";
|
|
4117
4452
|
};
|
|
4118
4453
|
export type DocumentRequirementRuleScalarFieldEnum = (typeof DocumentRequirementRuleScalarFieldEnum)[keyof typeof DocumentRequirementRuleScalarFieldEnum];
|
|
4454
|
+
export declare const EventChannelScalarFieldEnum: {
|
|
4455
|
+
readonly id: "id";
|
|
4456
|
+
readonly tenantId: "tenantId";
|
|
4457
|
+
readonly code: "code";
|
|
4458
|
+
readonly name: "name";
|
|
4459
|
+
readonly description: "description";
|
|
4460
|
+
readonly enabled: "enabled";
|
|
4461
|
+
readonly createdAt: "createdAt";
|
|
4462
|
+
readonly updatedAt: "updatedAt";
|
|
4463
|
+
};
|
|
4464
|
+
export type EventChannelScalarFieldEnum = (typeof EventChannelScalarFieldEnum)[keyof typeof EventChannelScalarFieldEnum];
|
|
4465
|
+
export declare const EventTypeScalarFieldEnum: {
|
|
4466
|
+
readonly id: "id";
|
|
4467
|
+
readonly tenantId: "tenantId";
|
|
4468
|
+
readonly channelId: "channelId";
|
|
4469
|
+
readonly code: "code";
|
|
4470
|
+
readonly name: "name";
|
|
4471
|
+
readonly description: "description";
|
|
4472
|
+
readonly payloadSchema: "payloadSchema";
|
|
4473
|
+
readonly enabled: "enabled";
|
|
4474
|
+
readonly createdAt: "createdAt";
|
|
4475
|
+
readonly updatedAt: "updatedAt";
|
|
4476
|
+
};
|
|
4477
|
+
export type EventTypeScalarFieldEnum = (typeof EventTypeScalarFieldEnum)[keyof typeof EventTypeScalarFieldEnum];
|
|
4478
|
+
export declare const EventHandlerScalarFieldEnum: {
|
|
4479
|
+
readonly id: "id";
|
|
4480
|
+
readonly tenantId: "tenantId";
|
|
4481
|
+
readonly eventTypeId: "eventTypeId";
|
|
4482
|
+
readonly name: "name";
|
|
4483
|
+
readonly description: "description";
|
|
4484
|
+
readonly handlerType: "handlerType";
|
|
4485
|
+
readonly config: "config";
|
|
4486
|
+
readonly priority: "priority";
|
|
4487
|
+
readonly enabled: "enabled";
|
|
4488
|
+
readonly maxRetries: "maxRetries";
|
|
4489
|
+
readonly retryDelayMs: "retryDelayMs";
|
|
4490
|
+
readonly filterCondition: "filterCondition";
|
|
4491
|
+
readonly createdAt: "createdAt";
|
|
4492
|
+
readonly updatedAt: "updatedAt";
|
|
4493
|
+
};
|
|
4494
|
+
export type EventHandlerScalarFieldEnum = (typeof EventHandlerScalarFieldEnum)[keyof typeof EventHandlerScalarFieldEnum];
|
|
4495
|
+
export declare const WorkflowEventScalarFieldEnum: {
|
|
4496
|
+
readonly id: "id";
|
|
4497
|
+
readonly tenantId: "tenantId";
|
|
4498
|
+
readonly eventTypeId: "eventTypeId";
|
|
4499
|
+
readonly payload: "payload";
|
|
4500
|
+
readonly correlationId: "correlationId";
|
|
4501
|
+
readonly causationId: "causationId";
|
|
4502
|
+
readonly source: "source";
|
|
4503
|
+
readonly actorId: "actorId";
|
|
4504
|
+
readonly actorType: "actorType";
|
|
4505
|
+
readonly status: "status";
|
|
4506
|
+
readonly error: "error";
|
|
4507
|
+
readonly processedAt: "processedAt";
|
|
4508
|
+
readonly createdAt: "createdAt";
|
|
4509
|
+
};
|
|
4510
|
+
export type WorkflowEventScalarFieldEnum = (typeof WorkflowEventScalarFieldEnum)[keyof typeof WorkflowEventScalarFieldEnum];
|
|
4511
|
+
export declare const EventHandlerExecutionScalarFieldEnum: {
|
|
4512
|
+
readonly id: "id";
|
|
4513
|
+
readonly eventId: "eventId";
|
|
4514
|
+
readonly handlerId: "handlerId";
|
|
4515
|
+
readonly status: "status";
|
|
4516
|
+
readonly attempt: "attempt";
|
|
4517
|
+
readonly input: "input";
|
|
4518
|
+
readonly output: "output";
|
|
4519
|
+
readonly error: "error";
|
|
4520
|
+
readonly errorCode: "errorCode";
|
|
4521
|
+
readonly startedAt: "startedAt";
|
|
4522
|
+
readonly completedAt: "completedAt";
|
|
4523
|
+
readonly durationMs: "durationMs";
|
|
4524
|
+
readonly createdAt: "createdAt";
|
|
4525
|
+
};
|
|
4526
|
+
export type EventHandlerExecutionScalarFieldEnum = (typeof EventHandlerExecutionScalarFieldEnum)[keyof typeof EventHandlerExecutionScalarFieldEnum];
|
|
4119
4527
|
export declare const DomainEventScalarFieldEnum: {
|
|
4120
4528
|
readonly id: "id";
|
|
4121
4529
|
readonly eventType: "eventType";
|
|
@@ -4559,6 +4967,51 @@ export declare const DocumentRequirementRuleOrderByRelevanceFieldEnum: {
|
|
|
4559
4967
|
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
4560
4968
|
};
|
|
4561
4969
|
export type DocumentRequirementRuleOrderByRelevanceFieldEnum = (typeof DocumentRequirementRuleOrderByRelevanceFieldEnum)[keyof typeof DocumentRequirementRuleOrderByRelevanceFieldEnum];
|
|
4970
|
+
export declare const EventChannelOrderByRelevanceFieldEnum: {
|
|
4971
|
+
readonly id: "id";
|
|
4972
|
+
readonly tenantId: "tenantId";
|
|
4973
|
+
readonly code: "code";
|
|
4974
|
+
readonly name: "name";
|
|
4975
|
+
readonly description: "description";
|
|
4976
|
+
};
|
|
4977
|
+
export type EventChannelOrderByRelevanceFieldEnum = (typeof EventChannelOrderByRelevanceFieldEnum)[keyof typeof EventChannelOrderByRelevanceFieldEnum];
|
|
4978
|
+
export declare const EventTypeOrderByRelevanceFieldEnum: {
|
|
4979
|
+
readonly id: "id";
|
|
4980
|
+
readonly tenantId: "tenantId";
|
|
4981
|
+
readonly channelId: "channelId";
|
|
4982
|
+
readonly code: "code";
|
|
4983
|
+
readonly name: "name";
|
|
4984
|
+
readonly description: "description";
|
|
4985
|
+
};
|
|
4986
|
+
export type EventTypeOrderByRelevanceFieldEnum = (typeof EventTypeOrderByRelevanceFieldEnum)[keyof typeof EventTypeOrderByRelevanceFieldEnum];
|
|
4987
|
+
export declare const EventHandlerOrderByRelevanceFieldEnum: {
|
|
4988
|
+
readonly id: "id";
|
|
4989
|
+
readonly tenantId: "tenantId";
|
|
4990
|
+
readonly eventTypeId: "eventTypeId";
|
|
4991
|
+
readonly name: "name";
|
|
4992
|
+
readonly description: "description";
|
|
4993
|
+
readonly filterCondition: "filterCondition";
|
|
4994
|
+
};
|
|
4995
|
+
export type EventHandlerOrderByRelevanceFieldEnum = (typeof EventHandlerOrderByRelevanceFieldEnum)[keyof typeof EventHandlerOrderByRelevanceFieldEnum];
|
|
4996
|
+
export declare const WorkflowEventOrderByRelevanceFieldEnum: {
|
|
4997
|
+
readonly id: "id";
|
|
4998
|
+
readonly tenantId: "tenantId";
|
|
4999
|
+
readonly eventTypeId: "eventTypeId";
|
|
5000
|
+
readonly correlationId: "correlationId";
|
|
5001
|
+
readonly causationId: "causationId";
|
|
5002
|
+
readonly source: "source";
|
|
5003
|
+
readonly actorId: "actorId";
|
|
5004
|
+
readonly error: "error";
|
|
5005
|
+
};
|
|
5006
|
+
export type WorkflowEventOrderByRelevanceFieldEnum = (typeof WorkflowEventOrderByRelevanceFieldEnum)[keyof typeof WorkflowEventOrderByRelevanceFieldEnum];
|
|
5007
|
+
export declare const EventHandlerExecutionOrderByRelevanceFieldEnum: {
|
|
5008
|
+
readonly id: "id";
|
|
5009
|
+
readonly eventId: "eventId";
|
|
5010
|
+
readonly handlerId: "handlerId";
|
|
5011
|
+
readonly error: "error";
|
|
5012
|
+
readonly errorCode: "errorCode";
|
|
5013
|
+
};
|
|
5014
|
+
export type EventHandlerExecutionOrderByRelevanceFieldEnum = (typeof EventHandlerExecutionOrderByRelevanceFieldEnum)[keyof typeof EventHandlerExecutionOrderByRelevanceFieldEnum];
|
|
4562
5015
|
export declare const DomainEventOrderByRelevanceFieldEnum: {
|
|
4563
5016
|
readonly id: "id";
|
|
4564
5017
|
readonly eventType: "eventType";
|
|
@@ -4683,6 +5136,22 @@ export type EnumPaymentMethodChangeStatusFieldRefInput<$PrismaModel> = FieldRefI
|
|
|
4683
5136
|
* Reference to a field of type 'DocumentRequirementContext'
|
|
4684
5137
|
*/
|
|
4685
5138
|
export type EnumDocumentRequirementContextFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentRequirementContext'>;
|
|
5139
|
+
/**
|
|
5140
|
+
* Reference to a field of type 'EventHandlerType'
|
|
5141
|
+
*/
|
|
5142
|
+
export type EnumEventHandlerTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EventHandlerType'>;
|
|
5143
|
+
/**
|
|
5144
|
+
* Reference to a field of type 'ActorType'
|
|
5145
|
+
*/
|
|
5146
|
+
export type EnumActorTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActorType'>;
|
|
5147
|
+
/**
|
|
5148
|
+
* Reference to a field of type 'WorkflowEventStatus'
|
|
5149
|
+
*/
|
|
5150
|
+
export type EnumWorkflowEventStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'WorkflowEventStatus'>;
|
|
5151
|
+
/**
|
|
5152
|
+
* Reference to a field of type 'ExecutionStatus'
|
|
5153
|
+
*/
|
|
5154
|
+
export type EnumExecutionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ExecutionStatus'>;
|
|
4686
5155
|
/**
|
|
4687
5156
|
* Batch Payload for updateMany & deleteMany & createMany
|
|
4688
5157
|
*/
|
|
@@ -4823,6 +5292,11 @@ export type GlobalOmitConfig = {
|
|
|
4823
5292
|
contractTermination?: Prisma.ContractTerminationOmit;
|
|
4824
5293
|
paymentMethodChangeRequest?: Prisma.PaymentMethodChangeRequestOmit;
|
|
4825
5294
|
documentRequirementRule?: Prisma.DocumentRequirementRuleOmit;
|
|
5295
|
+
eventChannel?: Prisma.EventChannelOmit;
|
|
5296
|
+
eventType?: Prisma.EventTypeOmit;
|
|
5297
|
+
eventHandler?: Prisma.EventHandlerOmit;
|
|
5298
|
+
workflowEvent?: Prisma.WorkflowEventOmit;
|
|
5299
|
+
eventHandlerExecution?: Prisma.EventHandlerExecutionOmit;
|
|
4826
5300
|
domainEvent?: Prisma.DomainEventOmit;
|
|
4827
5301
|
};
|
|
4828
5302
|
export type LogLevel = 'info' | 'query' | 'warn' | 'error';
|
|
@@ -113,6 +113,11 @@ export const ModelName = {
|
|
|
113
113
|
ContractTermination: 'ContractTermination',
|
|
114
114
|
PaymentMethodChangeRequest: 'PaymentMethodChangeRequest',
|
|
115
115
|
DocumentRequirementRule: 'DocumentRequirementRule',
|
|
116
|
+
EventChannel: 'EventChannel',
|
|
117
|
+
EventType: 'EventType',
|
|
118
|
+
EventHandler: 'EventHandler',
|
|
119
|
+
WorkflowEvent: 'WorkflowEvent',
|
|
120
|
+
EventHandlerExecution: 'EventHandlerExecution',
|
|
116
121
|
DomainEvent: 'DomainEvent'
|
|
117
122
|
};
|
|
118
123
|
/**
|
|
@@ -764,6 +769,74 @@ export const DocumentRequirementRuleScalarFieldEnum = {
|
|
|
764
769
|
createdAt: 'createdAt',
|
|
765
770
|
updatedAt: 'updatedAt'
|
|
766
771
|
};
|
|
772
|
+
export const EventChannelScalarFieldEnum = {
|
|
773
|
+
id: 'id',
|
|
774
|
+
tenantId: 'tenantId',
|
|
775
|
+
code: 'code',
|
|
776
|
+
name: 'name',
|
|
777
|
+
description: 'description',
|
|
778
|
+
enabled: 'enabled',
|
|
779
|
+
createdAt: 'createdAt',
|
|
780
|
+
updatedAt: 'updatedAt'
|
|
781
|
+
};
|
|
782
|
+
export const EventTypeScalarFieldEnum = {
|
|
783
|
+
id: 'id',
|
|
784
|
+
tenantId: 'tenantId',
|
|
785
|
+
channelId: 'channelId',
|
|
786
|
+
code: 'code',
|
|
787
|
+
name: 'name',
|
|
788
|
+
description: 'description',
|
|
789
|
+
payloadSchema: 'payloadSchema',
|
|
790
|
+
enabled: 'enabled',
|
|
791
|
+
createdAt: 'createdAt',
|
|
792
|
+
updatedAt: 'updatedAt'
|
|
793
|
+
};
|
|
794
|
+
export const EventHandlerScalarFieldEnum = {
|
|
795
|
+
id: 'id',
|
|
796
|
+
tenantId: 'tenantId',
|
|
797
|
+
eventTypeId: 'eventTypeId',
|
|
798
|
+
name: 'name',
|
|
799
|
+
description: 'description',
|
|
800
|
+
handlerType: 'handlerType',
|
|
801
|
+
config: 'config',
|
|
802
|
+
priority: 'priority',
|
|
803
|
+
enabled: 'enabled',
|
|
804
|
+
maxRetries: 'maxRetries',
|
|
805
|
+
retryDelayMs: 'retryDelayMs',
|
|
806
|
+
filterCondition: 'filterCondition',
|
|
807
|
+
createdAt: 'createdAt',
|
|
808
|
+
updatedAt: 'updatedAt'
|
|
809
|
+
};
|
|
810
|
+
export const WorkflowEventScalarFieldEnum = {
|
|
811
|
+
id: 'id',
|
|
812
|
+
tenantId: 'tenantId',
|
|
813
|
+
eventTypeId: 'eventTypeId',
|
|
814
|
+
payload: 'payload',
|
|
815
|
+
correlationId: 'correlationId',
|
|
816
|
+
causationId: 'causationId',
|
|
817
|
+
source: 'source',
|
|
818
|
+
actorId: 'actorId',
|
|
819
|
+
actorType: 'actorType',
|
|
820
|
+
status: 'status',
|
|
821
|
+
error: 'error',
|
|
822
|
+
processedAt: 'processedAt',
|
|
823
|
+
createdAt: 'createdAt'
|
|
824
|
+
};
|
|
825
|
+
export const EventHandlerExecutionScalarFieldEnum = {
|
|
826
|
+
id: 'id',
|
|
827
|
+
eventId: 'eventId',
|
|
828
|
+
handlerId: 'handlerId',
|
|
829
|
+
status: 'status',
|
|
830
|
+
attempt: 'attempt',
|
|
831
|
+
input: 'input',
|
|
832
|
+
output: 'output',
|
|
833
|
+
error: 'error',
|
|
834
|
+
errorCode: 'errorCode',
|
|
835
|
+
startedAt: 'startedAt',
|
|
836
|
+
completedAt: 'completedAt',
|
|
837
|
+
durationMs: 'durationMs',
|
|
838
|
+
createdAt: 'createdAt'
|
|
839
|
+
};
|
|
767
840
|
export const DomainEventScalarFieldEnum = {
|
|
768
841
|
id: 'id',
|
|
769
842
|
eventType: 'eventType',
|
|
@@ -1154,6 +1227,46 @@ export const DocumentRequirementRuleOrderByRelevanceFieldEnum = {
|
|
|
1154
1227
|
description: 'description',
|
|
1155
1228
|
allowedMimeTypes: 'allowedMimeTypes'
|
|
1156
1229
|
};
|
|
1230
|
+
export const EventChannelOrderByRelevanceFieldEnum = {
|
|
1231
|
+
id: 'id',
|
|
1232
|
+
tenantId: 'tenantId',
|
|
1233
|
+
code: 'code',
|
|
1234
|
+
name: 'name',
|
|
1235
|
+
description: 'description'
|
|
1236
|
+
};
|
|
1237
|
+
export const EventTypeOrderByRelevanceFieldEnum = {
|
|
1238
|
+
id: 'id',
|
|
1239
|
+
tenantId: 'tenantId',
|
|
1240
|
+
channelId: 'channelId',
|
|
1241
|
+
code: 'code',
|
|
1242
|
+
name: 'name',
|
|
1243
|
+
description: 'description'
|
|
1244
|
+
};
|
|
1245
|
+
export const EventHandlerOrderByRelevanceFieldEnum = {
|
|
1246
|
+
id: 'id',
|
|
1247
|
+
tenantId: 'tenantId',
|
|
1248
|
+
eventTypeId: 'eventTypeId',
|
|
1249
|
+
name: 'name',
|
|
1250
|
+
description: 'description',
|
|
1251
|
+
filterCondition: 'filterCondition'
|
|
1252
|
+
};
|
|
1253
|
+
export const WorkflowEventOrderByRelevanceFieldEnum = {
|
|
1254
|
+
id: 'id',
|
|
1255
|
+
tenantId: 'tenantId',
|
|
1256
|
+
eventTypeId: 'eventTypeId',
|
|
1257
|
+
correlationId: 'correlationId',
|
|
1258
|
+
causationId: 'causationId',
|
|
1259
|
+
source: 'source',
|
|
1260
|
+
actorId: 'actorId',
|
|
1261
|
+
error: 'error'
|
|
1262
|
+
};
|
|
1263
|
+
export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
|
|
1264
|
+
id: 'id',
|
|
1265
|
+
eventId: 'eventId',
|
|
1266
|
+
handlerId: 'handlerId',
|
|
1267
|
+
error: 'error',
|
|
1268
|
+
errorCode: 'errorCode'
|
|
1269
|
+
};
|
|
1157
1270
|
export const DomainEventOrderByRelevanceFieldEnum = {
|
|
1158
1271
|
id: 'id',
|
|
1159
1272
|
eventType: 'eventType',
|