@valentine-efagene/qshelter-common 2.0.144 → 2.0.146
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 +0 -23
- package/dist/generated/client/client.d.ts +0 -23
- package/dist/generated/client/commonInputTypes.d.ts +0 -120
- package/dist/generated/client/enums.d.ts +2 -31
- package/dist/generated/client/enums.js +4 -29
- package/dist/generated/client/internal/class.d.ts +0 -44
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1 -397
- package/dist/generated/client/internal/prismaNamespace.js +0 -104
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +0 -112
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +0 -104
- package/dist/generated/client/models/EventHandler.d.ts +0 -158
- package/dist/generated/client/models/EventType.d.ts +0 -134
- package/dist/generated/client/models/Tenant.d.ts +115 -1852
- package/dist/generated/client/models/index.d.ts +0 -4
- package/dist/generated/client/models/index.js +0 -4
- package/dist/generated/client/models.d.ts +0 -4
- package/dist/src/prisma/tenant.js +0 -2
- package/package.json +1 -1
- package/prisma/schema.prisma +31 -251
|
@@ -351,17 +351,6 @@ export type EventType = Prisma.EventTypeModel;
|
|
|
351
351
|
* Handlers can be internal (call a service), external (webhook), or workflow triggers
|
|
352
352
|
*/
|
|
353
353
|
export type EventHandler = Prisma.EventHandlerModel;
|
|
354
|
-
/**
|
|
355
|
-
* Model WorkflowEvent
|
|
356
|
-
* Workflow Event - An actual event instance that occurred
|
|
357
|
-
* This is the audit log of all events in the system
|
|
358
|
-
*/
|
|
359
|
-
export type WorkflowEvent = Prisma.WorkflowEventModel;
|
|
360
|
-
/**
|
|
361
|
-
* Model EventHandlerExecution
|
|
362
|
-
* Event Handler Execution - Log of a handler processing an event
|
|
363
|
-
*/
|
|
364
|
-
export type EventHandlerExecution = Prisma.EventHandlerExecutionModel;
|
|
365
354
|
/**
|
|
366
355
|
* Model DomainEvent
|
|
367
356
|
*
|
|
@@ -382,18 +371,6 @@ export type ApprovalRequest = Prisma.ApprovalRequestModel;
|
|
|
382
371
|
* Workflow Blocker - Records who is blocking workflow and for how long
|
|
383
372
|
*/
|
|
384
373
|
export type WorkflowBlocker = Prisma.WorkflowBlockerModel;
|
|
385
|
-
/**
|
|
386
|
-
* Model StateTransitionDefinition
|
|
387
|
-
* State Machine Transition Definition - Configurable state transitions
|
|
388
|
-
* Allows admins to customize workflows without code changes
|
|
389
|
-
*/
|
|
390
|
-
export type StateTransitionDefinition = Prisma.StateTransitionDefinitionModel;
|
|
391
|
-
/**
|
|
392
|
-
* Model StateTransitionLog
|
|
393
|
-
* State Transition Log - Audit trail for all state changes
|
|
394
|
-
* Records every state transition for compliance and debugging
|
|
395
|
-
*/
|
|
396
|
-
export type StateTransitionLog = Prisma.StateTransitionLogModel;
|
|
397
374
|
/**
|
|
398
375
|
* Model ScheduledJob
|
|
399
376
|
* Scheduled Job - Tracks execution of background jobs
|
|
@@ -368,17 +368,6 @@ export type EventType = Prisma.EventTypeModel;
|
|
|
368
368
|
* Handlers can be internal (call a service), external (webhook), or workflow triggers
|
|
369
369
|
*/
|
|
370
370
|
export type EventHandler = Prisma.EventHandlerModel;
|
|
371
|
-
/**
|
|
372
|
-
* Model WorkflowEvent
|
|
373
|
-
* Workflow Event - An actual event instance that occurred
|
|
374
|
-
* This is the audit log of all events in the system
|
|
375
|
-
*/
|
|
376
|
-
export type WorkflowEvent = Prisma.WorkflowEventModel;
|
|
377
|
-
/**
|
|
378
|
-
* Model EventHandlerExecution
|
|
379
|
-
* Event Handler Execution - Log of a handler processing an event
|
|
380
|
-
*/
|
|
381
|
-
export type EventHandlerExecution = Prisma.EventHandlerExecutionModel;
|
|
382
371
|
/**
|
|
383
372
|
* Model DomainEvent
|
|
384
373
|
*
|
|
@@ -399,18 +388,6 @@ export type ApprovalRequest = Prisma.ApprovalRequestModel;
|
|
|
399
388
|
* Workflow Blocker - Records who is blocking workflow and for how long
|
|
400
389
|
*/
|
|
401
390
|
export type WorkflowBlocker = Prisma.WorkflowBlockerModel;
|
|
402
|
-
/**
|
|
403
|
-
* Model StateTransitionDefinition
|
|
404
|
-
* State Machine Transition Definition - Configurable state transitions
|
|
405
|
-
* Allows admins to customize workflows without code changes
|
|
406
|
-
*/
|
|
407
|
-
export type StateTransitionDefinition = Prisma.StateTransitionDefinitionModel;
|
|
408
|
-
/**
|
|
409
|
-
* Model StateTransitionLog
|
|
410
|
-
* State Transition Log - Audit trail for all state changes
|
|
411
|
-
* Records every state transition for compliance and debugging
|
|
412
|
-
*/
|
|
413
|
-
export type StateTransitionLog = Prisma.StateTransitionLogModel;
|
|
414
391
|
/**
|
|
415
392
|
* Model ScheduledJob
|
|
416
393
|
* Scheduled Job - Tracks execution of background jobs
|
|
@@ -964,51 +964,6 @@ export type EnumEventHandlerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
964
964
|
_min?: Prisma.NestedEnumEventHandlerTypeFilter<$PrismaModel>;
|
|
965
965
|
_max?: Prisma.NestedEnumEventHandlerTypeFilter<$PrismaModel>;
|
|
966
966
|
};
|
|
967
|
-
export type EnumActorTypeFilter<$PrismaModel = never> = {
|
|
968
|
-
equals?: $Enums.ActorType | Prisma.EnumActorTypeFieldRefInput<$PrismaModel>;
|
|
969
|
-
in?: $Enums.ActorType[];
|
|
970
|
-
notIn?: $Enums.ActorType[];
|
|
971
|
-
not?: Prisma.NestedEnumActorTypeFilter<$PrismaModel> | $Enums.ActorType;
|
|
972
|
-
};
|
|
973
|
-
export type EnumWorkflowEventStatusFilter<$PrismaModel = never> = {
|
|
974
|
-
equals?: $Enums.WorkflowEventStatus | Prisma.EnumWorkflowEventStatusFieldRefInput<$PrismaModel>;
|
|
975
|
-
in?: $Enums.WorkflowEventStatus[];
|
|
976
|
-
notIn?: $Enums.WorkflowEventStatus[];
|
|
977
|
-
not?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel> | $Enums.WorkflowEventStatus;
|
|
978
|
-
};
|
|
979
|
-
export type EnumActorTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
980
|
-
equals?: $Enums.ActorType | Prisma.EnumActorTypeFieldRefInput<$PrismaModel>;
|
|
981
|
-
in?: $Enums.ActorType[];
|
|
982
|
-
notIn?: $Enums.ActorType[];
|
|
983
|
-
not?: Prisma.NestedEnumActorTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActorType;
|
|
984
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
985
|
-
_min?: Prisma.NestedEnumActorTypeFilter<$PrismaModel>;
|
|
986
|
-
_max?: Prisma.NestedEnumActorTypeFilter<$PrismaModel>;
|
|
987
|
-
};
|
|
988
|
-
export type EnumWorkflowEventStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
989
|
-
equals?: $Enums.WorkflowEventStatus | Prisma.EnumWorkflowEventStatusFieldRefInput<$PrismaModel>;
|
|
990
|
-
in?: $Enums.WorkflowEventStatus[];
|
|
991
|
-
notIn?: $Enums.WorkflowEventStatus[];
|
|
992
|
-
not?: Prisma.NestedEnumWorkflowEventStatusWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowEventStatus;
|
|
993
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
994
|
-
_min?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel>;
|
|
995
|
-
_max?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel>;
|
|
996
|
-
};
|
|
997
|
-
export type EnumExecutionStatusFilter<$PrismaModel = never> = {
|
|
998
|
-
equals?: $Enums.ExecutionStatus | Prisma.EnumExecutionStatusFieldRefInput<$PrismaModel>;
|
|
999
|
-
in?: $Enums.ExecutionStatus[];
|
|
1000
|
-
notIn?: $Enums.ExecutionStatus[];
|
|
1001
|
-
not?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel> | $Enums.ExecutionStatus;
|
|
1002
|
-
};
|
|
1003
|
-
export type EnumExecutionStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1004
|
-
equals?: $Enums.ExecutionStatus | Prisma.EnumExecutionStatusFieldRefInput<$PrismaModel>;
|
|
1005
|
-
in?: $Enums.ExecutionStatus[];
|
|
1006
|
-
notIn?: $Enums.ExecutionStatus[];
|
|
1007
|
-
not?: Prisma.NestedEnumExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.ExecutionStatus;
|
|
1008
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1009
|
-
_min?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel>;
|
|
1010
|
-
_max?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel>;
|
|
1011
|
-
};
|
|
1012
967
|
export type EnumTransferRequestStatusFilter<$PrismaModel = never> = {
|
|
1013
968
|
equals?: $Enums.TransferRequestStatus | Prisma.EnumTransferRequestStatusFieldRefInput<$PrismaModel>;
|
|
1014
969
|
in?: $Enums.TransferRequestStatus[];
|
|
@@ -1129,21 +1084,6 @@ export type EnumBlockerUrgencyWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
1129
1084
|
_min?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
1130
1085
|
_max?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
1131
1086
|
};
|
|
1132
|
-
export type EnumStateMachineEntityFilter<$PrismaModel = never> = {
|
|
1133
|
-
equals?: $Enums.StateMachineEntity | Prisma.EnumStateMachineEntityFieldRefInput<$PrismaModel>;
|
|
1134
|
-
in?: $Enums.StateMachineEntity[];
|
|
1135
|
-
notIn?: $Enums.StateMachineEntity[];
|
|
1136
|
-
not?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel> | $Enums.StateMachineEntity;
|
|
1137
|
-
};
|
|
1138
|
-
export type EnumStateMachineEntityWithAggregatesFilter<$PrismaModel = never> = {
|
|
1139
|
-
equals?: $Enums.StateMachineEntity | Prisma.EnumStateMachineEntityFieldRefInput<$PrismaModel>;
|
|
1140
|
-
in?: $Enums.StateMachineEntity[];
|
|
1141
|
-
notIn?: $Enums.StateMachineEntity[];
|
|
1142
|
-
not?: Prisma.NestedEnumStateMachineEntityWithAggregatesFilter<$PrismaModel> | $Enums.StateMachineEntity;
|
|
1143
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1144
|
-
_min?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel>;
|
|
1145
|
-
_max?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel>;
|
|
1146
|
-
};
|
|
1147
1087
|
export type EnumScheduledJobTypeFilter<$PrismaModel = never> = {
|
|
1148
1088
|
equals?: $Enums.ScheduledJobType | Prisma.EnumScheduledJobTypeFieldRefInput<$PrismaModel>;
|
|
1149
1089
|
in?: $Enums.ScheduledJobType[];
|
|
@@ -2093,51 +2033,6 @@ export type NestedEnumEventHandlerTypeWithAggregatesFilter<$PrismaModel = never>
|
|
|
2093
2033
|
_min?: Prisma.NestedEnumEventHandlerTypeFilter<$PrismaModel>;
|
|
2094
2034
|
_max?: Prisma.NestedEnumEventHandlerTypeFilter<$PrismaModel>;
|
|
2095
2035
|
};
|
|
2096
|
-
export type NestedEnumActorTypeFilter<$PrismaModel = never> = {
|
|
2097
|
-
equals?: $Enums.ActorType | Prisma.EnumActorTypeFieldRefInput<$PrismaModel>;
|
|
2098
|
-
in?: $Enums.ActorType[];
|
|
2099
|
-
notIn?: $Enums.ActorType[];
|
|
2100
|
-
not?: Prisma.NestedEnumActorTypeFilter<$PrismaModel> | $Enums.ActorType;
|
|
2101
|
-
};
|
|
2102
|
-
export type NestedEnumWorkflowEventStatusFilter<$PrismaModel = never> = {
|
|
2103
|
-
equals?: $Enums.WorkflowEventStatus | Prisma.EnumWorkflowEventStatusFieldRefInput<$PrismaModel>;
|
|
2104
|
-
in?: $Enums.WorkflowEventStatus[];
|
|
2105
|
-
notIn?: $Enums.WorkflowEventStatus[];
|
|
2106
|
-
not?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel> | $Enums.WorkflowEventStatus;
|
|
2107
|
-
};
|
|
2108
|
-
export type NestedEnumActorTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
2109
|
-
equals?: $Enums.ActorType | Prisma.EnumActorTypeFieldRefInput<$PrismaModel>;
|
|
2110
|
-
in?: $Enums.ActorType[];
|
|
2111
|
-
notIn?: $Enums.ActorType[];
|
|
2112
|
-
not?: Prisma.NestedEnumActorTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActorType;
|
|
2113
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
2114
|
-
_min?: Prisma.NestedEnumActorTypeFilter<$PrismaModel>;
|
|
2115
|
-
_max?: Prisma.NestedEnumActorTypeFilter<$PrismaModel>;
|
|
2116
|
-
};
|
|
2117
|
-
export type NestedEnumWorkflowEventStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
2118
|
-
equals?: $Enums.WorkflowEventStatus | Prisma.EnumWorkflowEventStatusFieldRefInput<$PrismaModel>;
|
|
2119
|
-
in?: $Enums.WorkflowEventStatus[];
|
|
2120
|
-
notIn?: $Enums.WorkflowEventStatus[];
|
|
2121
|
-
not?: Prisma.NestedEnumWorkflowEventStatusWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowEventStatus;
|
|
2122
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
2123
|
-
_min?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel>;
|
|
2124
|
-
_max?: Prisma.NestedEnumWorkflowEventStatusFilter<$PrismaModel>;
|
|
2125
|
-
};
|
|
2126
|
-
export type NestedEnumExecutionStatusFilter<$PrismaModel = never> = {
|
|
2127
|
-
equals?: $Enums.ExecutionStatus | Prisma.EnumExecutionStatusFieldRefInput<$PrismaModel>;
|
|
2128
|
-
in?: $Enums.ExecutionStatus[];
|
|
2129
|
-
notIn?: $Enums.ExecutionStatus[];
|
|
2130
|
-
not?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel> | $Enums.ExecutionStatus;
|
|
2131
|
-
};
|
|
2132
|
-
export type NestedEnumExecutionStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
2133
|
-
equals?: $Enums.ExecutionStatus | Prisma.EnumExecutionStatusFieldRefInput<$PrismaModel>;
|
|
2134
|
-
in?: $Enums.ExecutionStatus[];
|
|
2135
|
-
notIn?: $Enums.ExecutionStatus[];
|
|
2136
|
-
not?: Prisma.NestedEnumExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.ExecutionStatus;
|
|
2137
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
2138
|
-
_min?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel>;
|
|
2139
|
-
_max?: Prisma.NestedEnumExecutionStatusFilter<$PrismaModel>;
|
|
2140
|
-
};
|
|
2141
2036
|
export type NestedEnumTransferRequestStatusFilter<$PrismaModel = never> = {
|
|
2142
2037
|
equals?: $Enums.TransferRequestStatus | Prisma.EnumTransferRequestStatusFieldRefInput<$PrismaModel>;
|
|
2143
2038
|
in?: $Enums.TransferRequestStatus[];
|
|
@@ -2258,21 +2153,6 @@ export type NestedEnumBlockerUrgencyWithAggregatesFilter<$PrismaModel = never> =
|
|
|
2258
2153
|
_min?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
2259
2154
|
_max?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
2260
2155
|
};
|
|
2261
|
-
export type NestedEnumStateMachineEntityFilter<$PrismaModel = never> = {
|
|
2262
|
-
equals?: $Enums.StateMachineEntity | Prisma.EnumStateMachineEntityFieldRefInput<$PrismaModel>;
|
|
2263
|
-
in?: $Enums.StateMachineEntity[];
|
|
2264
|
-
notIn?: $Enums.StateMachineEntity[];
|
|
2265
|
-
not?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel> | $Enums.StateMachineEntity;
|
|
2266
|
-
};
|
|
2267
|
-
export type NestedEnumStateMachineEntityWithAggregatesFilter<$PrismaModel = never> = {
|
|
2268
|
-
equals?: $Enums.StateMachineEntity | Prisma.EnumStateMachineEntityFieldRefInput<$PrismaModel>;
|
|
2269
|
-
in?: $Enums.StateMachineEntity[];
|
|
2270
|
-
notIn?: $Enums.StateMachineEntity[];
|
|
2271
|
-
not?: Prisma.NestedEnumStateMachineEntityWithAggregatesFilter<$PrismaModel> | $Enums.StateMachineEntity;
|
|
2272
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
2273
|
-
_min?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel>;
|
|
2274
|
-
_max?: Prisma.NestedEnumStateMachineEntityFilter<$PrismaModel>;
|
|
2275
|
-
};
|
|
2276
2156
|
export type NestedEnumScheduledJobTypeFilter<$PrismaModel = never> = {
|
|
2277
2157
|
equals?: $Enums.ScheduledJobType | Prisma.EnumScheduledJobTypeFieldRefInput<$PrismaModel>;
|
|
2278
2158
|
in?: $Enums.ScheduledJobType[];
|
|
@@ -308,6 +308,7 @@ export declare const ApplicationEventType: {
|
|
|
308
308
|
readonly APPLICATION_TRANSFERRED: "APPLICATION_TRANSFERRED";
|
|
309
309
|
readonly UNDERWRITING_COMPLETED: "UNDERWRITING_COMPLETED";
|
|
310
310
|
readonly OFFER_LETTER_GENERATED: "OFFER_LETTER_GENERATED";
|
|
311
|
+
readonly HANDLER_EXECUTED: "HANDLER_EXECUTED";
|
|
311
312
|
};
|
|
312
313
|
export type ApplicationEventType = (typeof ApplicationEventType)[keyof typeof ApplicationEventType];
|
|
313
314
|
export declare const ApplicationEventGroup: {
|
|
@@ -316,6 +317,7 @@ export declare const ApplicationEventGroup: {
|
|
|
316
317
|
readonly DOCUMENT: "DOCUMENT";
|
|
317
318
|
readonly NOTIFICATION: "NOTIFICATION";
|
|
318
319
|
readonly WORKFLOW: "WORKFLOW";
|
|
320
|
+
readonly AUTOMATION: "AUTOMATION";
|
|
319
321
|
};
|
|
320
322
|
export type ApplicationEventGroup = (typeof ApplicationEventGroup)[keyof typeof ApplicationEventGroup];
|
|
321
323
|
export declare const EventActorType: {
|
|
@@ -345,30 +347,6 @@ export declare const EventHandlerType: {
|
|
|
345
347
|
readonly LOCK_UNIT: "LOCK_UNIT";
|
|
346
348
|
};
|
|
347
349
|
export type EventHandlerType = (typeof EventHandlerType)[keyof typeof EventHandlerType];
|
|
348
|
-
export declare const ActorType: {
|
|
349
|
-
readonly USER: "USER";
|
|
350
|
-
readonly API_KEY: "API_KEY";
|
|
351
|
-
readonly SYSTEM: "SYSTEM";
|
|
352
|
-
readonly WEBHOOK: "WEBHOOK";
|
|
353
|
-
};
|
|
354
|
-
export type ActorType = (typeof ActorType)[keyof typeof ActorType];
|
|
355
|
-
export declare const WorkflowEventStatus: {
|
|
356
|
-
readonly PENDING: "PENDING";
|
|
357
|
-
readonly PROCESSING: "PROCESSING";
|
|
358
|
-
readonly COMPLETED: "COMPLETED";
|
|
359
|
-
readonly FAILED: "FAILED";
|
|
360
|
-
readonly SKIPPED: "SKIPPED";
|
|
361
|
-
};
|
|
362
|
-
export type WorkflowEventStatus = (typeof WorkflowEventStatus)[keyof typeof WorkflowEventStatus];
|
|
363
|
-
export declare const ExecutionStatus: {
|
|
364
|
-
readonly PENDING: "PENDING";
|
|
365
|
-
readonly RUNNING: "RUNNING";
|
|
366
|
-
readonly COMPLETED: "COMPLETED";
|
|
367
|
-
readonly FAILED: "FAILED";
|
|
368
|
-
readonly RETRYING: "RETRYING";
|
|
369
|
-
readonly SKIPPED: "SKIPPED";
|
|
370
|
-
};
|
|
371
|
-
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
372
350
|
export declare const PermissionEffect: {
|
|
373
351
|
readonly ALLOW: "ALLOW";
|
|
374
352
|
readonly DENY: "DENY";
|
|
@@ -527,13 +505,6 @@ export declare const BlockerUrgency: {
|
|
|
527
505
|
readonly CRITICAL: "CRITICAL";
|
|
528
506
|
};
|
|
529
507
|
export type BlockerUrgency = (typeof BlockerUrgency)[keyof typeof BlockerUrgency];
|
|
530
|
-
export declare const StateMachineEntity: {
|
|
531
|
-
readonly APPLICATION: "APPLICATION";
|
|
532
|
-
readonly APPLICATION_PHASE: "APPLICATION_PHASE";
|
|
533
|
-
readonly DOCUMENTATION_STAGE: "DOCUMENTATION_STAGE";
|
|
534
|
-
readonly DOCUMENT: "DOCUMENT";
|
|
535
|
-
};
|
|
536
|
-
export type StateMachineEntity = (typeof StateMachineEntity)[keyof typeof StateMachineEntity];
|
|
537
508
|
export declare const ScheduledJobStatus: {
|
|
538
509
|
readonly PENDING: "PENDING";
|
|
539
510
|
readonly RUNNING: "RUNNING";
|
|
@@ -283,14 +283,16 @@ export const ApplicationEventType = {
|
|
|
283
283
|
APPLICATION_TERMINATED: 'APPLICATION_TERMINATED',
|
|
284
284
|
APPLICATION_TRANSFERRED: 'APPLICATION_TRANSFERRED',
|
|
285
285
|
UNDERWRITING_COMPLETED: 'UNDERWRITING_COMPLETED',
|
|
286
|
-
OFFER_LETTER_GENERATED: 'OFFER_LETTER_GENERATED'
|
|
286
|
+
OFFER_LETTER_GENERATED: 'OFFER_LETTER_GENERATED',
|
|
287
|
+
HANDLER_EXECUTED: 'HANDLER_EXECUTED'
|
|
287
288
|
};
|
|
288
289
|
export const ApplicationEventGroup = {
|
|
289
290
|
STATE_CHANGE: 'STATE_CHANGE',
|
|
290
291
|
PAYMENT: 'PAYMENT',
|
|
291
292
|
DOCUMENT: 'DOCUMENT',
|
|
292
293
|
NOTIFICATION: 'NOTIFICATION',
|
|
293
|
-
WORKFLOW: 'WORKFLOW'
|
|
294
|
+
WORKFLOW: 'WORKFLOW',
|
|
295
|
+
AUTOMATION: 'AUTOMATION'
|
|
294
296
|
};
|
|
295
297
|
export const EventActorType = {
|
|
296
298
|
USER: 'USER',
|
|
@@ -316,27 +318,6 @@ export const EventHandlerType = {
|
|
|
316
318
|
RUN_AUTOMATION: 'RUN_AUTOMATION',
|
|
317
319
|
LOCK_UNIT: 'LOCK_UNIT'
|
|
318
320
|
};
|
|
319
|
-
export const ActorType = {
|
|
320
|
-
USER: 'USER',
|
|
321
|
-
API_KEY: 'API_KEY',
|
|
322
|
-
SYSTEM: 'SYSTEM',
|
|
323
|
-
WEBHOOK: 'WEBHOOK'
|
|
324
|
-
};
|
|
325
|
-
export const WorkflowEventStatus = {
|
|
326
|
-
PENDING: 'PENDING',
|
|
327
|
-
PROCESSING: 'PROCESSING',
|
|
328
|
-
COMPLETED: 'COMPLETED',
|
|
329
|
-
FAILED: 'FAILED',
|
|
330
|
-
SKIPPED: 'SKIPPED'
|
|
331
|
-
};
|
|
332
|
-
export const ExecutionStatus = {
|
|
333
|
-
PENDING: 'PENDING',
|
|
334
|
-
RUNNING: 'RUNNING',
|
|
335
|
-
COMPLETED: 'COMPLETED',
|
|
336
|
-
FAILED: 'FAILED',
|
|
337
|
-
RETRYING: 'RETRYING',
|
|
338
|
-
SKIPPED: 'SKIPPED'
|
|
339
|
-
};
|
|
340
321
|
export const PermissionEffect = {
|
|
341
322
|
ALLOW: 'ALLOW',
|
|
342
323
|
DENY: 'DENY'
|
|
@@ -478,12 +459,6 @@ export const BlockerUrgency = {
|
|
|
478
459
|
HIGH: 'HIGH',
|
|
479
460
|
CRITICAL: 'CRITICAL'
|
|
480
461
|
};
|
|
481
|
-
export const StateMachineEntity = {
|
|
482
|
-
APPLICATION: 'APPLICATION',
|
|
483
|
-
APPLICATION_PHASE: 'APPLICATION_PHASE',
|
|
484
|
-
DOCUMENTATION_STAGE: 'DOCUMENTATION_STAGE',
|
|
485
|
-
DOCUMENT: 'DOCUMENT'
|
|
486
|
-
};
|
|
487
462
|
export const ScheduledJobStatus = {
|
|
488
463
|
PENDING: 'PENDING',
|
|
489
464
|
RUNNING: 'RUNNING',
|
|
@@ -859,28 +859,6 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
859
859
|
get eventHandler(): Prisma.EventHandlerDelegate<ExtArgs, {
|
|
860
860
|
omit: OmitOpts;
|
|
861
861
|
}>;
|
|
862
|
-
/**
|
|
863
|
-
* `prisma.workflowEvent`: Exposes CRUD operations for the **WorkflowEvent** model.
|
|
864
|
-
* Example usage:
|
|
865
|
-
* ```ts
|
|
866
|
-
* // Fetch zero or more WorkflowEvents
|
|
867
|
-
* const workflowEvents = await prisma.workflowEvent.findMany()
|
|
868
|
-
* ```
|
|
869
|
-
*/
|
|
870
|
-
get workflowEvent(): Prisma.WorkflowEventDelegate<ExtArgs, {
|
|
871
|
-
omit: OmitOpts;
|
|
872
|
-
}>;
|
|
873
|
-
/**
|
|
874
|
-
* `prisma.eventHandlerExecution`: Exposes CRUD operations for the **EventHandlerExecution** model.
|
|
875
|
-
* Example usage:
|
|
876
|
-
* ```ts
|
|
877
|
-
* // Fetch zero or more EventHandlerExecutions
|
|
878
|
-
* const eventHandlerExecutions = await prisma.eventHandlerExecution.findMany()
|
|
879
|
-
* ```
|
|
880
|
-
*/
|
|
881
|
-
get eventHandlerExecution(): Prisma.EventHandlerExecutionDelegate<ExtArgs, {
|
|
882
|
-
omit: OmitOpts;
|
|
883
|
-
}>;
|
|
884
862
|
/**
|
|
885
863
|
* `prisma.domainEvent`: Exposes CRUD operations for the **DomainEvent** model.
|
|
886
864
|
* Example usage:
|
|
@@ -925,28 +903,6 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
925
903
|
get workflowBlocker(): Prisma.WorkflowBlockerDelegate<ExtArgs, {
|
|
926
904
|
omit: OmitOpts;
|
|
927
905
|
}>;
|
|
928
|
-
/**
|
|
929
|
-
* `prisma.stateTransitionDefinition`: Exposes CRUD operations for the **StateTransitionDefinition** model.
|
|
930
|
-
* Example usage:
|
|
931
|
-
* ```ts
|
|
932
|
-
* // Fetch zero or more StateTransitionDefinitions
|
|
933
|
-
* const stateTransitionDefinitions = await prisma.stateTransitionDefinition.findMany()
|
|
934
|
-
* ```
|
|
935
|
-
*/
|
|
936
|
-
get stateTransitionDefinition(): Prisma.StateTransitionDefinitionDelegate<ExtArgs, {
|
|
937
|
-
omit: OmitOpts;
|
|
938
|
-
}>;
|
|
939
|
-
/**
|
|
940
|
-
* `prisma.stateTransitionLog`: Exposes CRUD operations for the **StateTransitionLog** model.
|
|
941
|
-
* Example usage:
|
|
942
|
-
* ```ts
|
|
943
|
-
* // Fetch zero or more StateTransitionLogs
|
|
944
|
-
* const stateTransitionLogs = await prisma.stateTransitionLog.findMany()
|
|
945
|
-
* ```
|
|
946
|
-
*/
|
|
947
|
-
get stateTransitionLog(): Prisma.StateTransitionLogDelegate<ExtArgs, {
|
|
948
|
-
omit: OmitOpts;
|
|
949
|
-
}>;
|
|
950
906
|
/**
|
|
951
907
|
* `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
|
|
952
908
|
* Example usage:
|