@valentine-efagene/qshelter-common 2.0.98 → 2.0.100
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 +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +90 -0
- package/dist/generated/client/enums.d.ts +26 -0
- package/dist/generated/client/enums.js +23 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +176 -1
- package/dist/generated/client/internal/prismaNamespace.js +95 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +96 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +95 -1
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
- package/dist/generated/client/models/WorkflowBlocker.js +1 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/middleware/auth-context.d.ts +63 -6
- package/dist/src/middleware/auth-context.js +132 -13
- package/dist/src/prisma/tenant.js +26 -32
- package/dist/src/types/action-status.d.ts +137 -0
- package/dist/src/types/action-status.js +402 -0
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +273 -60
|
@@ -23,6 +23,7 @@ export type EventHandlerExecutionSumAggregateOutputType = {
|
|
|
23
23
|
};
|
|
24
24
|
export type EventHandlerExecutionMinAggregateOutputType = {
|
|
25
25
|
id: string | null;
|
|
26
|
+
tenantId: string | null;
|
|
26
27
|
eventId: string | null;
|
|
27
28
|
handlerId: string | null;
|
|
28
29
|
status: $Enums.ExecutionStatus | null;
|
|
@@ -36,6 +37,7 @@ export type EventHandlerExecutionMinAggregateOutputType = {
|
|
|
36
37
|
};
|
|
37
38
|
export type EventHandlerExecutionMaxAggregateOutputType = {
|
|
38
39
|
id: string | null;
|
|
40
|
+
tenantId: string | null;
|
|
39
41
|
eventId: string | null;
|
|
40
42
|
handlerId: string | null;
|
|
41
43
|
status: $Enums.ExecutionStatus | null;
|
|
@@ -49,6 +51,7 @@ export type EventHandlerExecutionMaxAggregateOutputType = {
|
|
|
49
51
|
};
|
|
50
52
|
export type EventHandlerExecutionCountAggregateOutputType = {
|
|
51
53
|
id: number;
|
|
54
|
+
tenantId: number;
|
|
52
55
|
eventId: number;
|
|
53
56
|
handlerId: number;
|
|
54
57
|
status: number;
|
|
@@ -73,6 +76,7 @@ export type EventHandlerExecutionSumAggregateInputType = {
|
|
|
73
76
|
};
|
|
74
77
|
export type EventHandlerExecutionMinAggregateInputType = {
|
|
75
78
|
id?: true;
|
|
79
|
+
tenantId?: true;
|
|
76
80
|
eventId?: true;
|
|
77
81
|
handlerId?: true;
|
|
78
82
|
status?: true;
|
|
@@ -86,6 +90,7 @@ export type EventHandlerExecutionMinAggregateInputType = {
|
|
|
86
90
|
};
|
|
87
91
|
export type EventHandlerExecutionMaxAggregateInputType = {
|
|
88
92
|
id?: true;
|
|
93
|
+
tenantId?: true;
|
|
89
94
|
eventId?: true;
|
|
90
95
|
handlerId?: true;
|
|
91
96
|
status?: true;
|
|
@@ -99,6 +104,7 @@ export type EventHandlerExecutionMaxAggregateInputType = {
|
|
|
99
104
|
};
|
|
100
105
|
export type EventHandlerExecutionCountAggregateInputType = {
|
|
101
106
|
id?: true;
|
|
107
|
+
tenantId?: true;
|
|
102
108
|
eventId?: true;
|
|
103
109
|
handlerId?: true;
|
|
104
110
|
status?: true;
|
|
@@ -191,6 +197,7 @@ export type EventHandlerExecutionGroupByArgs<ExtArgs extends runtime.Types.Exten
|
|
|
191
197
|
};
|
|
192
198
|
export type EventHandlerExecutionGroupByOutputType = {
|
|
193
199
|
id: string;
|
|
200
|
+
tenantId: string;
|
|
194
201
|
eventId: string;
|
|
195
202
|
handlerId: string;
|
|
196
203
|
status: $Enums.ExecutionStatus;
|
|
@@ -217,6 +224,7 @@ export type EventHandlerExecutionWhereInput = {
|
|
|
217
224
|
OR?: Prisma.EventHandlerExecutionWhereInput[];
|
|
218
225
|
NOT?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
219
226
|
id?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
227
|
+
tenantId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
220
228
|
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
221
229
|
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
222
230
|
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
@@ -229,11 +237,13 @@ export type EventHandlerExecutionWhereInput = {
|
|
|
229
237
|
completedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
230
238
|
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
231
239
|
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
240
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
232
241
|
event?: Prisma.XOR<Prisma.WorkflowEventScalarRelationFilter, Prisma.WorkflowEventWhereInput>;
|
|
233
242
|
handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
|
|
234
243
|
};
|
|
235
244
|
export type EventHandlerExecutionOrderByWithRelationInput = {
|
|
236
245
|
id?: Prisma.SortOrder;
|
|
246
|
+
tenantId?: Prisma.SortOrder;
|
|
237
247
|
eventId?: Prisma.SortOrder;
|
|
238
248
|
handlerId?: Prisma.SortOrder;
|
|
239
249
|
status?: Prisma.SortOrder;
|
|
@@ -246,6 +256,7 @@ export type EventHandlerExecutionOrderByWithRelationInput = {
|
|
|
246
256
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
257
|
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
258
|
createdAt?: Prisma.SortOrder;
|
|
259
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
249
260
|
event?: Prisma.WorkflowEventOrderByWithRelationInput;
|
|
250
261
|
handler?: Prisma.EventHandlerOrderByWithRelationInput;
|
|
251
262
|
_relevance?: Prisma.EventHandlerExecutionOrderByRelevanceInput;
|
|
@@ -255,6 +266,7 @@ export type EventHandlerExecutionWhereUniqueInput = Prisma.AtLeast<{
|
|
|
255
266
|
AND?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
256
267
|
OR?: Prisma.EventHandlerExecutionWhereInput[];
|
|
257
268
|
NOT?: Prisma.EventHandlerExecutionWhereInput | Prisma.EventHandlerExecutionWhereInput[];
|
|
269
|
+
tenantId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
258
270
|
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
259
271
|
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
260
272
|
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
@@ -267,11 +279,13 @@ export type EventHandlerExecutionWhereUniqueInput = Prisma.AtLeast<{
|
|
|
267
279
|
completedAt?: Prisma.DateTimeNullableFilter<"EventHandlerExecution"> | Date | string | null;
|
|
268
280
|
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
269
281
|
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
282
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
270
283
|
event?: Prisma.XOR<Prisma.WorkflowEventScalarRelationFilter, Prisma.WorkflowEventWhereInput>;
|
|
271
284
|
handler?: Prisma.XOR<Prisma.EventHandlerScalarRelationFilter, Prisma.EventHandlerWhereInput>;
|
|
272
285
|
}, "id">;
|
|
273
286
|
export type EventHandlerExecutionOrderByWithAggregationInput = {
|
|
274
287
|
id?: Prisma.SortOrder;
|
|
288
|
+
tenantId?: Prisma.SortOrder;
|
|
275
289
|
eventId?: Prisma.SortOrder;
|
|
276
290
|
handlerId?: Prisma.SortOrder;
|
|
277
291
|
status?: Prisma.SortOrder;
|
|
@@ -295,6 +309,7 @@ export type EventHandlerExecutionScalarWhereWithAggregatesInput = {
|
|
|
295
309
|
OR?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput[];
|
|
296
310
|
NOT?: Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput | Prisma.EventHandlerExecutionScalarWhereWithAggregatesInput[];
|
|
297
311
|
id?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
312
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
298
313
|
eventId?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
299
314
|
handlerId?: Prisma.StringWithAggregatesFilter<"EventHandlerExecution"> | string;
|
|
300
315
|
status?: Prisma.EnumExecutionStatusWithAggregatesFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
@@ -320,11 +335,13 @@ export type EventHandlerExecutionCreateInput = {
|
|
|
320
335
|
completedAt?: Date | string | null;
|
|
321
336
|
durationMs?: number | null;
|
|
322
337
|
createdAt?: Date | string;
|
|
338
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlerExecutionsInput;
|
|
323
339
|
event: Prisma.WorkflowEventCreateNestedOneWithoutExecutionsInput;
|
|
324
340
|
handler: Prisma.EventHandlerCreateNestedOneWithoutExecutionsInput;
|
|
325
341
|
};
|
|
326
342
|
export type EventHandlerExecutionUncheckedCreateInput = {
|
|
327
343
|
id?: string;
|
|
344
|
+
tenantId: string;
|
|
328
345
|
eventId: string;
|
|
329
346
|
handlerId: string;
|
|
330
347
|
status?: $Enums.ExecutionStatus;
|
|
@@ -350,11 +367,13 @@ export type EventHandlerExecutionUpdateInput = {
|
|
|
350
367
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
351
368
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
352
369
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlerExecutionsNestedInput;
|
|
353
371
|
event?: Prisma.WorkflowEventUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
354
372
|
handler?: Prisma.EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
355
373
|
};
|
|
356
374
|
export type EventHandlerExecutionUncheckedUpdateInput = {
|
|
357
375
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
376
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
377
|
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
359
378
|
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
379
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
@@ -370,6 +389,7 @@ export type EventHandlerExecutionUncheckedUpdateInput = {
|
|
|
370
389
|
};
|
|
371
390
|
export type EventHandlerExecutionCreateManyInput = {
|
|
372
391
|
id?: string;
|
|
392
|
+
tenantId: string;
|
|
373
393
|
eventId: string;
|
|
374
394
|
handlerId: string;
|
|
375
395
|
status?: $Enums.ExecutionStatus;
|
|
@@ -398,6 +418,7 @@ export type EventHandlerExecutionUpdateManyMutationInput = {
|
|
|
398
418
|
};
|
|
399
419
|
export type EventHandlerExecutionUncheckedUpdateManyInput = {
|
|
400
420
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
422
|
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
423
|
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
424
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
@@ -426,6 +447,7 @@ export type EventHandlerExecutionOrderByRelevanceInput = {
|
|
|
426
447
|
};
|
|
427
448
|
export type EventHandlerExecutionCountOrderByAggregateInput = {
|
|
428
449
|
id?: Prisma.SortOrder;
|
|
450
|
+
tenantId?: Prisma.SortOrder;
|
|
429
451
|
eventId?: Prisma.SortOrder;
|
|
430
452
|
handlerId?: Prisma.SortOrder;
|
|
431
453
|
status?: Prisma.SortOrder;
|
|
@@ -445,6 +467,7 @@ export type EventHandlerExecutionAvgOrderByAggregateInput = {
|
|
|
445
467
|
};
|
|
446
468
|
export type EventHandlerExecutionMaxOrderByAggregateInput = {
|
|
447
469
|
id?: Prisma.SortOrder;
|
|
470
|
+
tenantId?: Prisma.SortOrder;
|
|
448
471
|
eventId?: Prisma.SortOrder;
|
|
449
472
|
handlerId?: Prisma.SortOrder;
|
|
450
473
|
status?: Prisma.SortOrder;
|
|
@@ -458,6 +481,7 @@ export type EventHandlerExecutionMaxOrderByAggregateInput = {
|
|
|
458
481
|
};
|
|
459
482
|
export type EventHandlerExecutionMinOrderByAggregateInput = {
|
|
460
483
|
id?: Prisma.SortOrder;
|
|
484
|
+
tenantId?: Prisma.SortOrder;
|
|
461
485
|
eventId?: Prisma.SortOrder;
|
|
462
486
|
handlerId?: Prisma.SortOrder;
|
|
463
487
|
status?: Prisma.SortOrder;
|
|
@@ -473,6 +497,44 @@ export type EventHandlerExecutionSumOrderByAggregateInput = {
|
|
|
473
497
|
attempt?: Prisma.SortOrder;
|
|
474
498
|
durationMs?: Prisma.SortOrder;
|
|
475
499
|
};
|
|
500
|
+
export type EventHandlerExecutionCreateNestedManyWithoutTenantInput = {
|
|
501
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerExecutionCreateWithoutTenantInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput[];
|
|
502
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput[];
|
|
503
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyTenantInputEnvelope;
|
|
504
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
505
|
+
};
|
|
506
|
+
export type EventHandlerExecutionUncheckedCreateNestedManyWithoutTenantInput = {
|
|
507
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerExecutionCreateWithoutTenantInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput[];
|
|
508
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput[];
|
|
509
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyTenantInputEnvelope;
|
|
510
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
511
|
+
};
|
|
512
|
+
export type EventHandlerExecutionUpdateManyWithoutTenantNestedInput = {
|
|
513
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerExecutionCreateWithoutTenantInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput[];
|
|
514
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput[];
|
|
515
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutTenantInput[];
|
|
516
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyTenantInputEnvelope;
|
|
517
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
518
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
519
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
520
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
521
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutTenantInput[];
|
|
522
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutTenantInput[];
|
|
523
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
524
|
+
};
|
|
525
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
526
|
+
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput> | Prisma.EventHandlerExecutionCreateWithoutTenantInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput[];
|
|
527
|
+
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutTenantInput[];
|
|
528
|
+
upsert?: Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerExecutionUpsertWithWhereUniqueWithoutTenantInput[];
|
|
529
|
+
createMany?: Prisma.EventHandlerExecutionCreateManyTenantInputEnvelope;
|
|
530
|
+
set?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
531
|
+
disconnect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
532
|
+
delete?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
533
|
+
connect?: Prisma.EventHandlerExecutionWhereUniqueInput | Prisma.EventHandlerExecutionWhereUniqueInput[];
|
|
534
|
+
update?: Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutTenantInput | Prisma.EventHandlerExecutionUpdateWithWhereUniqueWithoutTenantInput[];
|
|
535
|
+
updateMany?: Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutTenantInput | Prisma.EventHandlerExecutionUpdateManyWithWhereWithoutTenantInput[];
|
|
536
|
+
deleteMany?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
537
|
+
};
|
|
476
538
|
export type EventHandlerExecutionCreateNestedManyWithoutHandlerInput = {
|
|
477
539
|
create?: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput> | Prisma.EventHandlerExecutionCreateWithoutHandlerInput[] | Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput[];
|
|
478
540
|
connectOrCreate?: Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput | Prisma.EventHandlerExecutionCreateOrConnectWithoutHandlerInput[];
|
|
@@ -552,7 +614,7 @@ export type EventHandlerExecutionUncheckedUpdateManyWithoutEventNestedInput = {
|
|
|
552
614
|
export type EnumExecutionStatusFieldUpdateOperationsInput = {
|
|
553
615
|
set?: $Enums.ExecutionStatus;
|
|
554
616
|
};
|
|
555
|
-
export type
|
|
617
|
+
export type EventHandlerExecutionCreateWithoutTenantInput = {
|
|
556
618
|
id?: string;
|
|
557
619
|
status?: $Enums.ExecutionStatus;
|
|
558
620
|
attempt?: number;
|
|
@@ -565,10 +627,12 @@ export type EventHandlerExecutionCreateWithoutHandlerInput = {
|
|
|
565
627
|
durationMs?: number | null;
|
|
566
628
|
createdAt?: Date | string;
|
|
567
629
|
event: Prisma.WorkflowEventCreateNestedOneWithoutExecutionsInput;
|
|
630
|
+
handler: Prisma.EventHandlerCreateNestedOneWithoutExecutionsInput;
|
|
568
631
|
};
|
|
569
|
-
export type
|
|
632
|
+
export type EventHandlerExecutionUncheckedCreateWithoutTenantInput = {
|
|
570
633
|
id?: string;
|
|
571
634
|
eventId: string;
|
|
635
|
+
handlerId: string;
|
|
572
636
|
status?: $Enums.ExecutionStatus;
|
|
573
637
|
attempt?: number;
|
|
574
638
|
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
@@ -580,32 +644,33 @@ export type EventHandlerExecutionUncheckedCreateWithoutHandlerInput = {
|
|
|
580
644
|
durationMs?: number | null;
|
|
581
645
|
createdAt?: Date | string;
|
|
582
646
|
};
|
|
583
|
-
export type
|
|
647
|
+
export type EventHandlerExecutionCreateOrConnectWithoutTenantInput = {
|
|
584
648
|
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
585
|
-
create: Prisma.XOR<Prisma.
|
|
649
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput>;
|
|
586
650
|
};
|
|
587
|
-
export type
|
|
588
|
-
data: Prisma.
|
|
651
|
+
export type EventHandlerExecutionCreateManyTenantInputEnvelope = {
|
|
652
|
+
data: Prisma.EventHandlerExecutionCreateManyTenantInput | Prisma.EventHandlerExecutionCreateManyTenantInput[];
|
|
589
653
|
skipDuplicates?: boolean;
|
|
590
654
|
};
|
|
591
|
-
export type
|
|
655
|
+
export type EventHandlerExecutionUpsertWithWhereUniqueWithoutTenantInput = {
|
|
592
656
|
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
593
|
-
update: Prisma.XOR<Prisma.
|
|
594
|
-
create: Prisma.XOR<Prisma.
|
|
657
|
+
update: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutTenantInput>;
|
|
658
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutTenantInput>;
|
|
595
659
|
};
|
|
596
|
-
export type
|
|
660
|
+
export type EventHandlerExecutionUpdateWithWhereUniqueWithoutTenantInput = {
|
|
597
661
|
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
598
|
-
data: Prisma.XOR<Prisma.
|
|
662
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutTenantInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutTenantInput>;
|
|
599
663
|
};
|
|
600
|
-
export type
|
|
664
|
+
export type EventHandlerExecutionUpdateManyWithWhereWithoutTenantInput = {
|
|
601
665
|
where: Prisma.EventHandlerExecutionScalarWhereInput;
|
|
602
|
-
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.
|
|
666
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutTenantInput>;
|
|
603
667
|
};
|
|
604
668
|
export type EventHandlerExecutionScalarWhereInput = {
|
|
605
669
|
AND?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
606
670
|
OR?: Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
607
671
|
NOT?: Prisma.EventHandlerExecutionScalarWhereInput | Prisma.EventHandlerExecutionScalarWhereInput[];
|
|
608
672
|
id?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
673
|
+
tenantId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
609
674
|
eventId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
610
675
|
handlerId?: Prisma.StringFilter<"EventHandlerExecution"> | string;
|
|
611
676
|
status?: Prisma.EnumExecutionStatusFilter<"EventHandlerExecution"> | $Enums.ExecutionStatus;
|
|
@@ -619,6 +684,57 @@ export type EventHandlerExecutionScalarWhereInput = {
|
|
|
619
684
|
durationMs?: Prisma.IntNullableFilter<"EventHandlerExecution"> | number | null;
|
|
620
685
|
createdAt?: Prisma.DateTimeFilter<"EventHandlerExecution"> | Date | string;
|
|
621
686
|
};
|
|
687
|
+
export type EventHandlerExecutionCreateWithoutHandlerInput = {
|
|
688
|
+
id?: string;
|
|
689
|
+
status?: $Enums.ExecutionStatus;
|
|
690
|
+
attempt?: number;
|
|
691
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
692
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
693
|
+
error?: string | null;
|
|
694
|
+
errorCode?: string | null;
|
|
695
|
+
startedAt?: Date | string | null;
|
|
696
|
+
completedAt?: Date | string | null;
|
|
697
|
+
durationMs?: number | null;
|
|
698
|
+
createdAt?: Date | string;
|
|
699
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlerExecutionsInput;
|
|
700
|
+
event: Prisma.WorkflowEventCreateNestedOneWithoutExecutionsInput;
|
|
701
|
+
};
|
|
702
|
+
export type EventHandlerExecutionUncheckedCreateWithoutHandlerInput = {
|
|
703
|
+
id?: string;
|
|
704
|
+
tenantId: string;
|
|
705
|
+
eventId: string;
|
|
706
|
+
status?: $Enums.ExecutionStatus;
|
|
707
|
+
attempt?: number;
|
|
708
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
709
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
710
|
+
error?: string | null;
|
|
711
|
+
errorCode?: string | null;
|
|
712
|
+
startedAt?: Date | string | null;
|
|
713
|
+
completedAt?: Date | string | null;
|
|
714
|
+
durationMs?: number | null;
|
|
715
|
+
createdAt?: Date | string;
|
|
716
|
+
};
|
|
717
|
+
export type EventHandlerExecutionCreateOrConnectWithoutHandlerInput = {
|
|
718
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
719
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput>;
|
|
720
|
+
};
|
|
721
|
+
export type EventHandlerExecutionCreateManyHandlerInputEnvelope = {
|
|
722
|
+
data: Prisma.EventHandlerExecutionCreateManyHandlerInput | Prisma.EventHandlerExecutionCreateManyHandlerInput[];
|
|
723
|
+
skipDuplicates?: boolean;
|
|
724
|
+
};
|
|
725
|
+
export type EventHandlerExecutionUpsertWithWhereUniqueWithoutHandlerInput = {
|
|
726
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
727
|
+
update: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutHandlerInput>;
|
|
728
|
+
create: Prisma.XOR<Prisma.EventHandlerExecutionCreateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedCreateWithoutHandlerInput>;
|
|
729
|
+
};
|
|
730
|
+
export type EventHandlerExecutionUpdateWithWhereUniqueWithoutHandlerInput = {
|
|
731
|
+
where: Prisma.EventHandlerExecutionWhereUniqueInput;
|
|
732
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateWithoutHandlerInput, Prisma.EventHandlerExecutionUncheckedUpdateWithoutHandlerInput>;
|
|
733
|
+
};
|
|
734
|
+
export type EventHandlerExecutionUpdateManyWithWhereWithoutHandlerInput = {
|
|
735
|
+
where: Prisma.EventHandlerExecutionScalarWhereInput;
|
|
736
|
+
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutHandlerInput>;
|
|
737
|
+
};
|
|
622
738
|
export type EventHandlerExecutionCreateWithoutEventInput = {
|
|
623
739
|
id?: string;
|
|
624
740
|
status?: $Enums.ExecutionStatus;
|
|
@@ -631,10 +747,12 @@ export type EventHandlerExecutionCreateWithoutEventInput = {
|
|
|
631
747
|
completedAt?: Date | string | null;
|
|
632
748
|
durationMs?: number | null;
|
|
633
749
|
createdAt?: Date | string;
|
|
750
|
+
tenant: Prisma.TenantCreateNestedOneWithoutEventHandlerExecutionsInput;
|
|
634
751
|
handler: Prisma.EventHandlerCreateNestedOneWithoutExecutionsInput;
|
|
635
752
|
};
|
|
636
753
|
export type EventHandlerExecutionUncheckedCreateWithoutEventInput = {
|
|
637
754
|
id?: string;
|
|
755
|
+
tenantId: string;
|
|
638
756
|
handlerId: string;
|
|
639
757
|
status?: $Enums.ExecutionStatus;
|
|
640
758
|
attempt?: number;
|
|
@@ -668,8 +786,69 @@ export type EventHandlerExecutionUpdateManyWithWhereWithoutEventInput = {
|
|
|
668
786
|
where: Prisma.EventHandlerExecutionScalarWhereInput;
|
|
669
787
|
data: Prisma.XOR<Prisma.EventHandlerExecutionUpdateManyMutationInput, Prisma.EventHandlerExecutionUncheckedUpdateManyWithoutEventInput>;
|
|
670
788
|
};
|
|
789
|
+
export type EventHandlerExecutionCreateManyTenantInput = {
|
|
790
|
+
id?: string;
|
|
791
|
+
eventId: string;
|
|
792
|
+
handlerId: string;
|
|
793
|
+
status?: $Enums.ExecutionStatus;
|
|
794
|
+
attempt?: number;
|
|
795
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
796
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
797
|
+
error?: string | null;
|
|
798
|
+
errorCode?: string | null;
|
|
799
|
+
startedAt?: Date | string | null;
|
|
800
|
+
completedAt?: Date | string | null;
|
|
801
|
+
durationMs?: number | null;
|
|
802
|
+
createdAt?: Date | string;
|
|
803
|
+
};
|
|
804
|
+
export type EventHandlerExecutionUpdateWithoutTenantInput = {
|
|
805
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
806
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
807
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
808
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
809
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
810
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
811
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
812
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
813
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
814
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
815
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
816
|
+
event?: Prisma.WorkflowEventUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
817
|
+
handler?: Prisma.EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
818
|
+
};
|
|
819
|
+
export type EventHandlerExecutionUncheckedUpdateWithoutTenantInput = {
|
|
820
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
821
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
822
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
823
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
824
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
825
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
826
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
827
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
828
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
829
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
830
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
831
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
832
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
833
|
+
};
|
|
834
|
+
export type EventHandlerExecutionUncheckedUpdateManyWithoutTenantInput = {
|
|
835
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
+
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
837
|
+
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
838
|
+
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
839
|
+
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
840
|
+
input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
841
|
+
output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
842
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
843
|
+
errorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
844
|
+
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
845
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
846
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
847
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
848
|
+
};
|
|
671
849
|
export type EventHandlerExecutionCreateManyHandlerInput = {
|
|
672
850
|
id?: string;
|
|
851
|
+
tenantId: string;
|
|
673
852
|
eventId: string;
|
|
674
853
|
status?: $Enums.ExecutionStatus;
|
|
675
854
|
attempt?: number;
|
|
@@ -694,10 +873,12 @@ export type EventHandlerExecutionUpdateWithoutHandlerInput = {
|
|
|
694
873
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
695
874
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
696
875
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
876
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlerExecutionsNestedInput;
|
|
697
877
|
event?: Prisma.WorkflowEventUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
698
878
|
};
|
|
699
879
|
export type EventHandlerExecutionUncheckedUpdateWithoutHandlerInput = {
|
|
700
880
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
881
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
701
882
|
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
883
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
703
884
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -712,6 +893,7 @@ export type EventHandlerExecutionUncheckedUpdateWithoutHandlerInput = {
|
|
|
712
893
|
};
|
|
713
894
|
export type EventHandlerExecutionUncheckedUpdateManyWithoutHandlerInput = {
|
|
714
895
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
896
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
715
897
|
eventId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
716
898
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
717
899
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -726,6 +908,7 @@ export type EventHandlerExecutionUncheckedUpdateManyWithoutHandlerInput = {
|
|
|
726
908
|
};
|
|
727
909
|
export type EventHandlerExecutionCreateManyEventInput = {
|
|
728
910
|
id?: string;
|
|
911
|
+
tenantId: string;
|
|
729
912
|
handlerId: string;
|
|
730
913
|
status?: $Enums.ExecutionStatus;
|
|
731
914
|
attempt?: number;
|
|
@@ -750,10 +933,12 @@ export type EventHandlerExecutionUpdateWithoutEventInput = {
|
|
|
750
933
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
751
934
|
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
752
935
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
936
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutEventHandlerExecutionsNestedInput;
|
|
753
937
|
handler?: Prisma.EventHandlerUpdateOneRequiredWithoutExecutionsNestedInput;
|
|
754
938
|
};
|
|
755
939
|
export type EventHandlerExecutionUncheckedUpdateWithoutEventInput = {
|
|
756
940
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
941
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
757
942
|
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
943
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
759
944
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -768,6 +953,7 @@ export type EventHandlerExecutionUncheckedUpdateWithoutEventInput = {
|
|
|
768
953
|
};
|
|
769
954
|
export type EventHandlerExecutionUncheckedUpdateManyWithoutEventInput = {
|
|
770
955
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
956
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
957
|
handlerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
772
958
|
status?: Prisma.EnumExecutionStatusFieldUpdateOperationsInput | $Enums.ExecutionStatus;
|
|
773
959
|
attempt?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -782,6 +968,7 @@ export type EventHandlerExecutionUncheckedUpdateManyWithoutEventInput = {
|
|
|
782
968
|
};
|
|
783
969
|
export type EventHandlerExecutionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
784
970
|
id?: boolean;
|
|
971
|
+
tenantId?: boolean;
|
|
785
972
|
eventId?: boolean;
|
|
786
973
|
handlerId?: boolean;
|
|
787
974
|
status?: boolean;
|
|
@@ -794,11 +981,13 @@ export type EventHandlerExecutionSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
794
981
|
completedAt?: boolean;
|
|
795
982
|
durationMs?: boolean;
|
|
796
983
|
createdAt?: boolean;
|
|
984
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
797
985
|
event?: boolean | Prisma.WorkflowEventDefaultArgs<ExtArgs>;
|
|
798
986
|
handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
|
|
799
987
|
}, ExtArgs["result"]["eventHandlerExecution"]>;
|
|
800
988
|
export type EventHandlerExecutionSelectScalar = {
|
|
801
989
|
id?: boolean;
|
|
990
|
+
tenantId?: boolean;
|
|
802
991
|
eventId?: boolean;
|
|
803
992
|
handlerId?: boolean;
|
|
804
993
|
status?: boolean;
|
|
@@ -812,19 +1001,22 @@ export type EventHandlerExecutionSelectScalar = {
|
|
|
812
1001
|
durationMs?: boolean;
|
|
813
1002
|
createdAt?: boolean;
|
|
814
1003
|
};
|
|
815
|
-
export type EventHandlerExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "eventId" | "handlerId" | "status" | "attempt" | "input" | "output" | "error" | "errorCode" | "startedAt" | "completedAt" | "durationMs" | "createdAt", ExtArgs["result"]["eventHandlerExecution"]>;
|
|
1004
|
+
export type EventHandlerExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "eventId" | "handlerId" | "status" | "attempt" | "input" | "output" | "error" | "errorCode" | "startedAt" | "completedAt" | "durationMs" | "createdAt", ExtArgs["result"]["eventHandlerExecution"]>;
|
|
816
1005
|
export type EventHandlerExecutionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1006
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
817
1007
|
event?: boolean | Prisma.WorkflowEventDefaultArgs<ExtArgs>;
|
|
818
1008
|
handler?: boolean | Prisma.EventHandlerDefaultArgs<ExtArgs>;
|
|
819
1009
|
};
|
|
820
1010
|
export type $EventHandlerExecutionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
1011
|
name: "EventHandlerExecution";
|
|
822
1012
|
objects: {
|
|
1013
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
823
1014
|
event: Prisma.$WorkflowEventPayload<ExtArgs>;
|
|
824
1015
|
handler: Prisma.$EventHandlerPayload<ExtArgs>;
|
|
825
1016
|
};
|
|
826
1017
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
827
1018
|
id: string;
|
|
1019
|
+
tenantId: string;
|
|
828
1020
|
/**
|
|
829
1021
|
* The event being processed
|
|
830
1022
|
*/
|
|
@@ -1138,6 +1330,7 @@ export interface EventHandlerExecutionDelegate<ExtArgs extends runtime.Types.Ext
|
|
|
1138
1330
|
*/
|
|
1139
1331
|
export interface Prisma__EventHandlerExecutionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1140
1332
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1333
|
+
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>;
|
|
1141
1334
|
event<T extends Prisma.WorkflowEventDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowEventDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1142
1335
|
handler<T extends Prisma.EventHandlerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventHandlerDefaultArgs<ExtArgs>>): Prisma.Prisma__EventHandlerClient<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1143
1336
|
/**
|
|
@@ -1166,6 +1359,7 @@ export interface Prisma__EventHandlerExecutionClient<T, Null = never, ExtArgs ex
|
|
|
1166
1359
|
*/
|
|
1167
1360
|
export interface EventHandlerExecutionFieldRefs {
|
|
1168
1361
|
readonly id: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1362
|
+
readonly tenantId: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1169
1363
|
readonly eventId: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1170
1364
|
readonly handlerId: Prisma.FieldRef<"EventHandlerExecution", 'String'>;
|
|
1171
1365
|
readonly status: Prisma.FieldRef<"EventHandlerExecution", 'ExecutionStatus'>;
|