@valentine-efagene/qshelter-common 2.0.144 → 2.0.145

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.
@@ -94,14 +94,10 @@ export declare const ModelName: {
94
94
  readonly EventChannel: "EventChannel";
95
95
  readonly EventType: "EventType";
96
96
  readonly EventHandler: "EventHandler";
97
- readonly WorkflowEvent: "WorkflowEvent";
98
- readonly EventHandlerExecution: "EventHandlerExecution";
99
97
  readonly DomainEvent: "DomainEvent";
100
98
  readonly PropertyTransferRequest: "PropertyTransferRequest";
101
99
  readonly ApprovalRequest: "ApprovalRequest";
102
100
  readonly WorkflowBlocker: "WorkflowBlocker";
103
- readonly StateTransitionDefinition: "StateTransitionDefinition";
104
- readonly StateTransitionLog: "StateTransitionLog";
105
101
  readonly ScheduledJob: "ScheduledJob";
106
102
  readonly DocumentExpiryWarning: "DocumentExpiryWarning";
107
103
  };
@@ -1225,39 +1221,6 @@ export declare const EventHandlerScalarFieldEnum: {
1225
1221
  readonly updatedAt: "updatedAt";
1226
1222
  };
1227
1223
  export type EventHandlerScalarFieldEnum = (typeof EventHandlerScalarFieldEnum)[keyof typeof EventHandlerScalarFieldEnum];
1228
- export declare const WorkflowEventScalarFieldEnum: {
1229
- readonly id: "id";
1230
- readonly tenantId: "tenantId";
1231
- readonly eventTypeId: "eventTypeId";
1232
- readonly payload: "payload";
1233
- readonly correlationId: "correlationId";
1234
- readonly causationId: "causationId";
1235
- readonly source: "source";
1236
- readonly actorId: "actorId";
1237
- readonly actorType: "actorType";
1238
- readonly status: "status";
1239
- readonly error: "error";
1240
- readonly processedAt: "processedAt";
1241
- readonly createdAt: "createdAt";
1242
- };
1243
- export type WorkflowEventScalarFieldEnum = (typeof WorkflowEventScalarFieldEnum)[keyof typeof WorkflowEventScalarFieldEnum];
1244
- export declare const EventHandlerExecutionScalarFieldEnum: {
1245
- readonly id: "id";
1246
- readonly tenantId: "tenantId";
1247
- readonly eventId: "eventId";
1248
- readonly handlerId: "handlerId";
1249
- readonly status: "status";
1250
- readonly attempt: "attempt";
1251
- readonly input: "input";
1252
- readonly output: "output";
1253
- readonly error: "error";
1254
- readonly errorCode: "errorCode";
1255
- readonly startedAt: "startedAt";
1256
- readonly completedAt: "completedAt";
1257
- readonly durationMs: "durationMs";
1258
- readonly createdAt: "createdAt";
1259
- };
1260
- export type EventHandlerExecutionScalarFieldEnum = (typeof EventHandlerExecutionScalarFieldEnum)[keyof typeof EventHandlerExecutionScalarFieldEnum];
1261
1224
  export declare const DomainEventScalarFieldEnum: {
1262
1225
  readonly id: "id";
1263
1226
  readonly tenantId: "tenantId";
@@ -1354,39 +1317,6 @@ export declare const WorkflowBlockerScalarFieldEnum: {
1354
1317
  readonly updatedAt: "updatedAt";
1355
1318
  };
1356
1319
  export type WorkflowBlockerScalarFieldEnum = (typeof WorkflowBlockerScalarFieldEnum)[keyof typeof WorkflowBlockerScalarFieldEnum];
1357
- export declare const StateTransitionDefinitionScalarFieldEnum: {
1358
- readonly id: "id";
1359
- readonly tenantId: "tenantId";
1360
- readonly entityType: "entityType";
1361
- readonly fromState: "fromState";
1362
- readonly toState: "toState";
1363
- readonly trigger: "trigger";
1364
- readonly isEnabled: "isEnabled";
1365
- readonly requiresRole: "requiresRole";
1366
- readonly requiresPhase: "requiresPhase";
1367
- readonly sideEffects: "sideEffects";
1368
- readonly description: "description";
1369
- readonly createdAt: "createdAt";
1370
- readonly updatedAt: "updatedAt";
1371
- };
1372
- export type StateTransitionDefinitionScalarFieldEnum = (typeof StateTransitionDefinitionScalarFieldEnum)[keyof typeof StateTransitionDefinitionScalarFieldEnum];
1373
- export declare const StateTransitionLogScalarFieldEnum: {
1374
- readonly id: "id";
1375
- readonly tenantId: "tenantId";
1376
- readonly entityType: "entityType";
1377
- readonly entityId: "entityId";
1378
- readonly fromState: "fromState";
1379
- readonly toState: "toState";
1380
- readonly trigger: "trigger";
1381
- readonly actorId: "actorId";
1382
- readonly actorType: "actorType";
1383
- readonly contextSnapshot: "contextSnapshot";
1384
- readonly occurredAt: "occurredAt";
1385
- readonly durationMs: "durationMs";
1386
- readonly wasValid: "wasValid";
1387
- readonly errorMessage: "errorMessage";
1388
- };
1389
- export type StateTransitionLogScalarFieldEnum = (typeof StateTransitionLogScalarFieldEnum)[keyof typeof StateTransitionLogScalarFieldEnum];
1390
1320
  export declare const ScheduledJobScalarFieldEnum: {
1391
1321
  readonly id: "id";
1392
1322
  readonly tenantId: "tenantId";
@@ -2093,26 +2023,6 @@ export declare const EventHandlerOrderByRelevanceFieldEnum: {
2093
2023
  readonly filterCondition: "filterCondition";
2094
2024
  };
2095
2025
  export type EventHandlerOrderByRelevanceFieldEnum = (typeof EventHandlerOrderByRelevanceFieldEnum)[keyof typeof EventHandlerOrderByRelevanceFieldEnum];
2096
- export declare const WorkflowEventOrderByRelevanceFieldEnum: {
2097
- readonly id: "id";
2098
- readonly tenantId: "tenantId";
2099
- readonly eventTypeId: "eventTypeId";
2100
- readonly correlationId: "correlationId";
2101
- readonly causationId: "causationId";
2102
- readonly source: "source";
2103
- readonly actorId: "actorId";
2104
- readonly error: "error";
2105
- };
2106
- export type WorkflowEventOrderByRelevanceFieldEnum = (typeof WorkflowEventOrderByRelevanceFieldEnum)[keyof typeof WorkflowEventOrderByRelevanceFieldEnum];
2107
- export declare const EventHandlerExecutionOrderByRelevanceFieldEnum: {
2108
- readonly id: "id";
2109
- readonly tenantId: "tenantId";
2110
- readonly eventId: "eventId";
2111
- readonly handlerId: "handlerId";
2112
- readonly error: "error";
2113
- readonly errorCode: "errorCode";
2114
- };
2115
- export type EventHandlerExecutionOrderByRelevanceFieldEnum = (typeof EventHandlerExecutionOrderByRelevanceFieldEnum)[keyof typeof EventHandlerExecutionOrderByRelevanceFieldEnum];
2116
2026
  export declare const DomainEventOrderByRelevanceFieldEnum: {
2117
2027
  readonly id: "id";
2118
2028
  readonly tenantId: "tenantId";
@@ -2166,28 +2076,6 @@ export declare const WorkflowBlockerOrderByRelevanceFieldEnum: {
2166
2076
  readonly resolutionTrigger: "resolutionTrigger";
2167
2077
  };
2168
2078
  export type WorkflowBlockerOrderByRelevanceFieldEnum = (typeof WorkflowBlockerOrderByRelevanceFieldEnum)[keyof typeof WorkflowBlockerOrderByRelevanceFieldEnum];
2169
- export declare const StateTransitionDefinitionOrderByRelevanceFieldEnum: {
2170
- readonly id: "id";
2171
- readonly tenantId: "tenantId";
2172
- readonly fromState: "fromState";
2173
- readonly toState: "toState";
2174
- readonly trigger: "trigger";
2175
- readonly requiresRole: "requiresRole";
2176
- readonly requiresPhase: "requiresPhase";
2177
- readonly description: "description";
2178
- };
2179
- export type StateTransitionDefinitionOrderByRelevanceFieldEnum = (typeof StateTransitionDefinitionOrderByRelevanceFieldEnum)[keyof typeof StateTransitionDefinitionOrderByRelevanceFieldEnum];
2180
- export declare const StateTransitionLogOrderByRelevanceFieldEnum: {
2181
- readonly id: "id";
2182
- readonly tenantId: "tenantId";
2183
- readonly entityId: "entityId";
2184
- readonly fromState: "fromState";
2185
- readonly toState: "toState";
2186
- readonly trigger: "trigger";
2187
- readonly actorId: "actorId";
2188
- readonly errorMessage: "errorMessage";
2189
- };
2190
- export type StateTransitionLogOrderByRelevanceFieldEnum = (typeof StateTransitionLogOrderByRelevanceFieldEnum)[keyof typeof StateTransitionLogOrderByRelevanceFieldEnum];
2191
2079
  export declare const ScheduledJobOrderByRelevanceFieldEnum: {
2192
2080
  readonly id: "id";
2193
2081
  readonly tenantId: "tenantId";
@@ -107,14 +107,10 @@ export const ModelName = {
107
107
  EventChannel: 'EventChannel',
108
108
  EventType: 'EventType',
109
109
  EventHandler: 'EventHandler',
110
- WorkflowEvent: 'WorkflowEvent',
111
- EventHandlerExecution: 'EventHandlerExecution',
112
110
  DomainEvent: 'DomainEvent',
113
111
  PropertyTransferRequest: 'PropertyTransferRequest',
114
112
  ApprovalRequest: 'ApprovalRequest',
115
113
  WorkflowBlocker: 'WorkflowBlocker',
116
- StateTransitionDefinition: 'StateTransitionDefinition',
117
- StateTransitionLog: 'StateTransitionLog',
118
114
  ScheduledJob: 'ScheduledJob',
119
115
  DocumentExpiryWarning: 'DocumentExpiryWarning'
120
116
  };
@@ -1171,37 +1167,6 @@ export const EventHandlerScalarFieldEnum = {
1171
1167
  createdAt: 'createdAt',
1172
1168
  updatedAt: 'updatedAt'
1173
1169
  };
1174
- export const WorkflowEventScalarFieldEnum = {
1175
- id: 'id',
1176
- tenantId: 'tenantId',
1177
- eventTypeId: 'eventTypeId',
1178
- payload: 'payload',
1179
- correlationId: 'correlationId',
1180
- causationId: 'causationId',
1181
- source: 'source',
1182
- actorId: 'actorId',
1183
- actorType: 'actorType',
1184
- status: 'status',
1185
- error: 'error',
1186
- processedAt: 'processedAt',
1187
- createdAt: 'createdAt'
1188
- };
1189
- export const EventHandlerExecutionScalarFieldEnum = {
1190
- id: 'id',
1191
- tenantId: 'tenantId',
1192
- eventId: 'eventId',
1193
- handlerId: 'handlerId',
1194
- status: 'status',
1195
- attempt: 'attempt',
1196
- input: 'input',
1197
- output: 'output',
1198
- error: 'error',
1199
- errorCode: 'errorCode',
1200
- startedAt: 'startedAt',
1201
- completedAt: 'completedAt',
1202
- durationMs: 'durationMs',
1203
- createdAt: 'createdAt'
1204
- };
1205
1170
  export const DomainEventScalarFieldEnum = {
1206
1171
  id: 'id',
1207
1172
  tenantId: 'tenantId',
@@ -1294,37 +1259,6 @@ export const WorkflowBlockerScalarFieldEnum = {
1294
1259
  createdAt: 'createdAt',
1295
1260
  updatedAt: 'updatedAt'
1296
1261
  };
1297
- export const StateTransitionDefinitionScalarFieldEnum = {
1298
- id: 'id',
1299
- tenantId: 'tenantId',
1300
- entityType: 'entityType',
1301
- fromState: 'fromState',
1302
- toState: 'toState',
1303
- trigger: 'trigger',
1304
- isEnabled: 'isEnabled',
1305
- requiresRole: 'requiresRole',
1306
- requiresPhase: 'requiresPhase',
1307
- sideEffects: 'sideEffects',
1308
- description: 'description',
1309
- createdAt: 'createdAt',
1310
- updatedAt: 'updatedAt'
1311
- };
1312
- export const StateTransitionLogScalarFieldEnum = {
1313
- id: 'id',
1314
- tenantId: 'tenantId',
1315
- entityType: 'entityType',
1316
- entityId: 'entityId',
1317
- fromState: 'fromState',
1318
- toState: 'toState',
1319
- trigger: 'trigger',
1320
- actorId: 'actorId',
1321
- actorType: 'actorType',
1322
- contextSnapshot: 'contextSnapshot',
1323
- occurredAt: 'occurredAt',
1324
- durationMs: 'durationMs',
1325
- wasValid: 'wasValid',
1326
- errorMessage: 'errorMessage'
1327
- };
1328
1262
  export const ScheduledJobScalarFieldEnum = {
1329
1263
  id: 'id',
1330
1264
  tenantId: 'tenantId',
@@ -1955,24 +1889,6 @@ export const EventHandlerOrderByRelevanceFieldEnum = {
1955
1889
  description: 'description',
1956
1890
  filterCondition: 'filterCondition'
1957
1891
  };
1958
- export const WorkflowEventOrderByRelevanceFieldEnum = {
1959
- id: 'id',
1960
- tenantId: 'tenantId',
1961
- eventTypeId: 'eventTypeId',
1962
- correlationId: 'correlationId',
1963
- causationId: 'causationId',
1964
- source: 'source',
1965
- actorId: 'actorId',
1966
- error: 'error'
1967
- };
1968
- export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
1969
- id: 'id',
1970
- tenantId: 'tenantId',
1971
- eventId: 'eventId',
1972
- handlerId: 'handlerId',
1973
- error: 'error',
1974
- errorCode: 'errorCode'
1975
- };
1976
1892
  export const DomainEventOrderByRelevanceFieldEnum = {
1977
1893
  id: 'id',
1978
1894
  tenantId: 'tenantId',
@@ -2022,26 +1938,6 @@ export const WorkflowBlockerOrderByRelevanceFieldEnum = {
2022
1938
  resolvedByActor: 'resolvedByActor',
2023
1939
  resolutionTrigger: 'resolutionTrigger'
2024
1940
  };
2025
- export const StateTransitionDefinitionOrderByRelevanceFieldEnum = {
2026
- id: 'id',
2027
- tenantId: 'tenantId',
2028
- fromState: 'fromState',
2029
- toState: 'toState',
2030
- trigger: 'trigger',
2031
- requiresRole: 'requiresRole',
2032
- requiresPhase: 'requiresPhase',
2033
- description: 'description'
2034
- };
2035
- export const StateTransitionLogOrderByRelevanceFieldEnum = {
2036
- id: 'id',
2037
- tenantId: 'tenantId',
2038
- entityId: 'entityId',
2039
- fromState: 'fromState',
2040
- toState: 'toState',
2041
- trigger: 'trigger',
2042
- actorId: 'actorId',
2043
- errorMessage: 'errorMessage'
2044
- };
2045
1941
  export const ScheduledJobOrderByRelevanceFieldEnum = {
2046
1942
  id: 'id',
2047
1943
  tenantId: 'tenantId',
@@ -248,7 +248,6 @@ export type EventHandlerWhereInput = {
248
248
  updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
249
249
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
250
250
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
251
- executions?: Prisma.EventHandlerExecutionListRelationFilter;
252
251
  stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
253
252
  phaseAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
254
253
  };
@@ -269,7 +268,6 @@ export type EventHandlerOrderByWithRelationInput = {
269
268
  updatedAt?: Prisma.SortOrder;
270
269
  tenant?: Prisma.TenantOrderByWithRelationInput;
271
270
  eventType?: Prisma.EventTypeOrderByWithRelationInput;
272
- executions?: Prisma.EventHandlerExecutionOrderByRelationAggregateInput;
273
271
  stepAttachments?: Prisma.StepEventAttachmentOrderByRelationAggregateInput;
274
272
  phaseAttachments?: Prisma.PhaseEventAttachmentOrderByRelationAggregateInput;
275
273
  _relevance?: Prisma.EventHandlerOrderByRelevanceInput;
@@ -294,7 +292,6 @@ export type EventHandlerWhereUniqueInput = Prisma.AtLeast<{
294
292
  updatedAt?: Prisma.DateTimeFilter<"EventHandler"> | Date | string;
295
293
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
296
294
  eventType?: Prisma.XOR<Prisma.EventTypeScalarRelationFilter, Prisma.EventTypeWhereInput>;
297
- executions?: Prisma.EventHandlerExecutionListRelationFilter;
298
295
  stepAttachments?: Prisma.StepEventAttachmentListRelationFilter;
299
296
  phaseAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
300
297
  }, "id">;
@@ -353,7 +350,6 @@ export type EventHandlerCreateInput = {
353
350
  updatedAt?: Date | string;
354
351
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
355
352
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
356
- executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
357
353
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
358
354
  phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
359
355
  };
@@ -372,7 +368,6 @@ export type EventHandlerUncheckedCreateInput = {
372
368
  filterCondition?: string | null;
373
369
  createdAt?: Date | string;
374
370
  updatedAt?: Date | string;
375
- executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
376
371
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
377
372
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
378
373
  };
@@ -391,7 +386,6 @@ export type EventHandlerUpdateInput = {
391
386
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
392
387
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
393
388
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
394
- executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
395
389
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
396
390
  phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
397
391
  };
@@ -410,7 +404,6 @@ export type EventHandlerUncheckedUpdateInput = {
410
404
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
411
405
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
412
406
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
413
- executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
414
407
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
415
408
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
416
409
  };
@@ -636,18 +629,6 @@ export type EventHandlerUncheckedUpdateManyWithoutEventTypeNestedInput = {
636
629
  export type EnumEventHandlerTypeFieldUpdateOperationsInput = {
637
630
  set?: $Enums.EventHandlerType;
638
631
  };
639
- export type EventHandlerCreateNestedOneWithoutExecutionsInput = {
640
- create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
641
- connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutExecutionsInput;
642
- connect?: Prisma.EventHandlerWhereUniqueInput;
643
- };
644
- export type EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput = {
645
- create?: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
646
- connectOrCreate?: Prisma.EventHandlerCreateOrConnectWithoutExecutionsInput;
647
- upsert?: Prisma.EventHandlerUpsertWithoutExecutionsInput;
648
- connect?: Prisma.EventHandlerWhereUniqueInput;
649
- update?: Prisma.XOR<Prisma.XOR<Prisma.EventHandlerUpdateToOneWithWhereWithoutExecutionsInput, Prisma.EventHandlerUpdateWithoutExecutionsInput>, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
650
- };
651
632
  export type EventHandlerCreateWithoutTenantInput = {
652
633
  id?: string;
653
634
  name: string;
@@ -662,7 +643,6 @@ export type EventHandlerCreateWithoutTenantInput = {
662
643
  createdAt?: Date | string;
663
644
  updatedAt?: Date | string;
664
645
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
665
- executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
666
646
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
667
647
  phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
668
648
  };
@@ -680,7 +660,6 @@ export type EventHandlerUncheckedCreateWithoutTenantInput = {
680
660
  filterCondition?: string | null;
681
661
  createdAt?: Date | string;
682
662
  updatedAt?: Date | string;
683
- executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
684
663
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
685
664
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
686
665
  };
@@ -739,7 +718,6 @@ export type EventHandlerCreateWithoutPhaseAttachmentsInput = {
739
718
  updatedAt?: Date | string;
740
719
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
741
720
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
742
- executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
743
721
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
744
722
  };
745
723
  export type EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput = {
@@ -757,7 +735,6 @@ export type EventHandlerUncheckedCreateWithoutPhaseAttachmentsInput = {
757
735
  filterCondition?: string | null;
758
736
  createdAt?: Date | string;
759
737
  updatedAt?: Date | string;
760
- executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
761
738
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
762
739
  };
763
740
  export type EventHandlerCreateOrConnectWithoutPhaseAttachmentsInput = {
@@ -788,7 +765,6 @@ export type EventHandlerUpdateWithoutPhaseAttachmentsInput = {
788
765
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
789
766
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
790
767
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
791
- executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
792
768
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
793
769
  };
794
770
  export type EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput = {
@@ -806,7 +782,6 @@ export type EventHandlerUncheckedUpdateWithoutPhaseAttachmentsInput = {
806
782
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
807
783
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
808
784
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
809
- executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
810
785
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
811
786
  };
812
787
  export type EventHandlerCreateWithoutStepAttachmentsInput = {
@@ -824,7 +799,6 @@ export type EventHandlerCreateWithoutStepAttachmentsInput = {
824
799
  updatedAt?: Date | string;
825
800
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
826
801
  eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
827
- executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
828
802
  phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
829
803
  };
830
804
  export type EventHandlerUncheckedCreateWithoutStepAttachmentsInput = {
@@ -842,7 +816,6 @@ export type EventHandlerUncheckedCreateWithoutStepAttachmentsInput = {
842
816
  filterCondition?: string | null;
843
817
  createdAt?: Date | string;
844
818
  updatedAt?: Date | string;
845
- executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
846
819
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
847
820
  };
848
821
  export type EventHandlerCreateOrConnectWithoutStepAttachmentsInput = {
@@ -873,7 +846,6 @@ export type EventHandlerUpdateWithoutStepAttachmentsInput = {
873
846
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
874
847
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
875
848
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
876
- executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
877
849
  phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
878
850
  };
879
851
  export type EventHandlerUncheckedUpdateWithoutStepAttachmentsInput = {
@@ -891,7 +863,6 @@ export type EventHandlerUncheckedUpdateWithoutStepAttachmentsInput = {
891
863
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
892
864
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
893
865
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
894
- executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
895
866
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
896
867
  };
897
868
  export type EventHandlerCreateWithoutEventTypeInput = {
@@ -908,7 +879,6 @@ export type EventHandlerCreateWithoutEventTypeInput = {
908
879
  createdAt?: Date | string;
909
880
  updatedAt?: Date | string;
910
881
  tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
911
- executions?: Prisma.EventHandlerExecutionCreateNestedManyWithoutHandlerInput;
912
882
  stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
913
883
  phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
914
884
  };
@@ -926,7 +896,6 @@ export type EventHandlerUncheckedCreateWithoutEventTypeInput = {
926
896
  filterCondition?: string | null;
927
897
  createdAt?: Date | string;
928
898
  updatedAt?: Date | string;
929
- executions?: Prisma.EventHandlerExecutionUncheckedCreateNestedManyWithoutHandlerInput;
930
899
  stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
931
900
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
932
901
  };
@@ -951,91 +920,6 @@ export type EventHandlerUpdateManyWithWhereWithoutEventTypeInput = {
951
920
  where: Prisma.EventHandlerScalarWhereInput;
952
921
  data: Prisma.XOR<Prisma.EventHandlerUpdateManyMutationInput, Prisma.EventHandlerUncheckedUpdateManyWithoutEventTypeInput>;
953
922
  };
954
- export type EventHandlerCreateWithoutExecutionsInput = {
955
- id?: string;
956
- name: string;
957
- description?: string | null;
958
- handlerType: $Enums.EventHandlerType;
959
- config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
960
- priority?: number;
961
- enabled?: boolean;
962
- maxRetries?: number;
963
- retryDelayMs?: number;
964
- filterCondition?: string | null;
965
- createdAt?: Date | string;
966
- updatedAt?: Date | string;
967
- tenant: Prisma.TenantCreateNestedOneWithoutEventHandlersInput;
968
- eventType: Prisma.EventTypeCreateNestedOneWithoutHandlersInput;
969
- stepAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutHandlerInput;
970
- phaseAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutHandlerInput;
971
- };
972
- export type EventHandlerUncheckedCreateWithoutExecutionsInput = {
973
- id?: string;
974
- tenantId: string;
975
- eventTypeId: string;
976
- name: string;
977
- description?: string | null;
978
- handlerType: $Enums.EventHandlerType;
979
- config: Prisma.JsonNullValueInput | runtime.InputJsonValue;
980
- priority?: number;
981
- enabled?: boolean;
982
- maxRetries?: number;
983
- retryDelayMs?: number;
984
- filterCondition?: string | null;
985
- createdAt?: Date | string;
986
- updatedAt?: Date | string;
987
- stepAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
988
- phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutHandlerInput;
989
- };
990
- export type EventHandlerCreateOrConnectWithoutExecutionsInput = {
991
- where: Prisma.EventHandlerWhereUniqueInput;
992
- create: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
993
- };
994
- export type EventHandlerUpsertWithoutExecutionsInput = {
995
- update: Prisma.XOR<Prisma.EventHandlerUpdateWithoutExecutionsInput, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
996
- create: Prisma.XOR<Prisma.EventHandlerCreateWithoutExecutionsInput, Prisma.EventHandlerUncheckedCreateWithoutExecutionsInput>;
997
- where?: Prisma.EventHandlerWhereInput;
998
- };
999
- export type EventHandlerUpdateToOneWithWhereWithoutExecutionsInput = {
1000
- where?: Prisma.EventHandlerWhereInput;
1001
- data: Prisma.XOR<Prisma.EventHandlerUpdateWithoutExecutionsInput, Prisma.EventHandlerUncheckedUpdateWithoutExecutionsInput>;
1002
- };
1003
- export type EventHandlerUpdateWithoutExecutionsInput = {
1004
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1005
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1006
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1007
- handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
1008
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
1009
- priority?: Prisma.IntFieldUpdateOperationsInput | number;
1010
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1011
- maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
1012
- retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
1013
- filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1014
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1015
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1016
- tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
1017
- eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
1018
- stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1019
- phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
1020
- };
1021
- export type EventHandlerUncheckedUpdateWithoutExecutionsInput = {
1022
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1023
- tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1024
- eventTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
1025
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1026
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1027
- handlerType?: Prisma.EnumEventHandlerTypeFieldUpdateOperationsInput | $Enums.EventHandlerType;
1028
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
1029
- priority?: Prisma.IntFieldUpdateOperationsInput | number;
1030
- enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1031
- maxRetries?: Prisma.IntFieldUpdateOperationsInput | number;
1032
- retryDelayMs?: Prisma.IntFieldUpdateOperationsInput | number;
1033
- filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1034
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1035
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1036
- stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1037
- phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1038
- };
1039
923
  export type EventHandlerCreateManyTenantInput = {
1040
924
  id?: string;
1041
925
  eventTypeId: string;
@@ -1065,7 +949,6 @@ export type EventHandlerUpdateWithoutTenantInput = {
1065
949
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1066
950
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1067
951
  eventType?: Prisma.EventTypeUpdateOneRequiredWithoutHandlersNestedInput;
1068
- executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
1069
952
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1070
953
  phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
1071
954
  };
@@ -1083,7 +966,6 @@ export type EventHandlerUncheckedUpdateWithoutTenantInput = {
1083
966
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1084
967
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1085
968
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1086
- executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
1087
969
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1088
970
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1089
971
  };
@@ -1131,7 +1013,6 @@ export type EventHandlerUpdateWithoutEventTypeInput = {
1131
1013
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1132
1014
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1133
1015
  tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlersNestedInput;
1134
- executions?: Prisma.EventHandlerExecutionUpdateManyWithoutHandlerNestedInput;
1135
1016
  stepAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutHandlerNestedInput;
1136
1017
  phaseAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutHandlerNestedInput;
1137
1018
  };
@@ -1149,7 +1030,6 @@ export type EventHandlerUncheckedUpdateWithoutEventTypeInput = {
1149
1030
  filterCondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1150
1031
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1151
1032
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1152
- executions?: Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerNestedInput;
1153
1033
  stepAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1154
1034
  phaseAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutHandlerNestedInput;
1155
1035
  };
@@ -1172,12 +1052,10 @@ export type EventHandlerUncheckedUpdateManyWithoutEventTypeInput = {
1172
1052
  * Count Type EventHandlerCountOutputType
1173
1053
  */
1174
1054
  export type EventHandlerCountOutputType = {
1175
- executions: number;
1176
1055
  stepAttachments: number;
1177
1056
  phaseAttachments: number;
1178
1057
  };
1179
1058
  export type EventHandlerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1180
- executions?: boolean | EventHandlerCountOutputTypeCountExecutionsArgs;
1181
1059
  stepAttachments?: boolean | EventHandlerCountOutputTypeCountStepAttachmentsArgs;
1182
1060
  phaseAttachments?: boolean | EventHandlerCountOutputTypeCountPhaseAttachmentsArgs;
1183
1061
  };
@@ -1190,12 +1068,6 @@ export type EventHandlerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types
1190
1068
  */
1191
1069
  select?: Prisma.EventHandlerCountOutputTypeSelect<ExtArgs> | null;
1192
1070
  };
1193
- /**
1194
- * EventHandlerCountOutputType without action
1195
- */
1196
- export type EventHandlerCountOutputTypeCountExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1197
- where?: Prisma.EventHandlerExecutionWhereInput;
1198
- };
1199
1071
  /**
1200
1072
  * EventHandlerCountOutputType without action
1201
1073
  */
@@ -1225,7 +1097,6 @@ export type EventHandlerSelect<ExtArgs extends runtime.Types.Extensions.Internal
1225
1097
  updatedAt?: boolean;
1226
1098
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1227
1099
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
1228
- executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1229
1100
  stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
1230
1101
  phaseAttachments?: boolean | Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>;
1231
1102
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
@@ -1250,7 +1121,6 @@ export type EventHandlerOmit<ExtArgs extends runtime.Types.Extensions.InternalAr
1250
1121
  export type EventHandlerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1251
1122
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1252
1123
  eventType?: boolean | Prisma.EventTypeDefaultArgs<ExtArgs>;
1253
- executions?: boolean | Prisma.EventHandler$executionsArgs<ExtArgs>;
1254
1124
  stepAttachments?: boolean | Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>;
1255
1125
  phaseAttachments?: boolean | Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>;
1256
1126
  _count?: boolean | Prisma.EventHandlerCountOutputTypeDefaultArgs<ExtArgs>;
@@ -1260,10 +1130,6 @@ export type $EventHandlerPayload<ExtArgs extends runtime.Types.Extensions.Intern
1260
1130
  objects: {
1261
1131
  tenant: Prisma.$TenantPayload<ExtArgs>;
1262
1132
  eventType: Prisma.$EventTypePayload<ExtArgs>;
1263
- /**
1264
- * Handler execution logs
1265
- */
1266
- executions: Prisma.$EventHandlerExecutionPayload<ExtArgs>[];
1267
1133
  /**
1268
1134
  * Step attachments - steps that have attached this handler
1269
1135
  */
@@ -1599,7 +1465,6 @@ export interface Prisma__EventHandlerClient<T, Null = never, ExtArgs extends run
1599
1465
  readonly [Symbol.toStringTag]: "PrismaPromise";
1600
1466
  tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1601
1467
  eventType<T extends Prisma.EventTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__EventTypeClient<runtime.Types.Result.GetResult<Prisma.$EventTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1602
- executions<T extends Prisma.EventHandler$executionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$executionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1603
1468
  stepAttachments<T extends Prisma.EventHandler$stepAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$stepAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1604
1469
  phaseAttachments<T extends Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandler$phaseAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PhaseEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1605
1470
  /**
@@ -1968,29 +1833,6 @@ export type EventHandlerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.
1968
1833
  */
1969
1834
  limit?: number;
1970
1835
  };
1971
- /**
1972
- * EventHandler.executions
1973
- */
1974
- export type EventHandler$executionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1975
- /**
1976
- * Select specific fields to fetch from the EventHandlerExecution
1977
- */
1978
- select?: Prisma.EventHandlerExecutionSelect<ExtArgs> | null;
1979
- /**
1980
- * Omit specific fields from the EventHandlerExecution
1981
- */
1982
- omit?: Prisma.EventHandlerExecutionOmit<ExtArgs> | null;
1983
- /**
1984
- * Choose, which related nodes to fetch as well
1985
- */
1986
- include?: Prisma.EventHandlerExecutionInclude<ExtArgs> | null;
1987
- where?: Prisma.EventHandlerExecutionWhereInput;
1988
- orderBy?: Prisma.EventHandlerExecutionOrderByWithRelationInput | Prisma.EventHandlerExecutionOrderByWithRelationInput[];
1989
- cursor?: Prisma.EventHandlerExecutionWhereUniqueInput;
1990
- take?: number;
1991
- skip?: number;
1992
- distinct?: Prisma.EventHandlerExecutionScalarFieldEnum | Prisma.EventHandlerExecutionScalarFieldEnum[];
1993
- };
1994
1836
  /**
1995
1837
  * EventHandler.stepAttachments
1996
1838
  */