@valentine-efagene/qshelter-common 2.0.100 → 2.0.102
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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespace.js +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +10 -0
- package/dist/generated/client/models/DomainEvent.d.ts +281 -2
- package/dist/generated/client/models/Settings.d.ts +211 -4
- package/dist/generated/client/models/Social.d.ts +147 -1
- package/dist/generated/client/models/Tenant.d.ts +3705 -639
- package/dist/generated/client/models/Transaction.d.ts +178 -14
- package/dist/generated/client/models/Wallet.d.ts +169 -1
- package/dist/generated/client/models/WorkflowBlocker.d.ts +299 -4
- package/dist/src/prisma/tenant.js +8 -0
- package/package.json +1 -1
- package/prisma/migrations/20260113122855_add_tenant_to_remaining_models/migration.sql +64 -0
- package/prisma/schema.prisma +25 -2
|
@@ -20,6 +20,7 @@ export type DomainEventSumAggregateOutputType = {
|
|
|
20
20
|
};
|
|
21
21
|
export type DomainEventMinAggregateOutputType = {
|
|
22
22
|
id: string | null;
|
|
23
|
+
tenantId: string | null;
|
|
23
24
|
eventType: string | null;
|
|
24
25
|
aggregateType: string | null;
|
|
25
26
|
aggregateId: string | null;
|
|
@@ -39,6 +40,7 @@ export type DomainEventMinAggregateOutputType = {
|
|
|
39
40
|
};
|
|
40
41
|
export type DomainEventMaxAggregateOutputType = {
|
|
41
42
|
id: string | null;
|
|
43
|
+
tenantId: string | null;
|
|
42
44
|
eventType: string | null;
|
|
43
45
|
aggregateType: string | null;
|
|
44
46
|
aggregateId: string | null;
|
|
@@ -58,6 +60,7 @@ export type DomainEventMaxAggregateOutputType = {
|
|
|
58
60
|
};
|
|
59
61
|
export type DomainEventCountAggregateOutputType = {
|
|
60
62
|
id: number;
|
|
63
|
+
tenantId: number;
|
|
61
64
|
eventType: number;
|
|
62
65
|
aggregateType: number;
|
|
63
66
|
aggregateId: number;
|
|
@@ -84,6 +87,7 @@ export type DomainEventSumAggregateInputType = {
|
|
|
84
87
|
};
|
|
85
88
|
export type DomainEventMinAggregateInputType = {
|
|
86
89
|
id?: true;
|
|
90
|
+
tenantId?: true;
|
|
87
91
|
eventType?: true;
|
|
88
92
|
aggregateType?: true;
|
|
89
93
|
aggregateId?: true;
|
|
@@ -103,6 +107,7 @@ export type DomainEventMinAggregateInputType = {
|
|
|
103
107
|
};
|
|
104
108
|
export type DomainEventMaxAggregateInputType = {
|
|
105
109
|
id?: true;
|
|
110
|
+
tenantId?: true;
|
|
106
111
|
eventType?: true;
|
|
107
112
|
aggregateType?: true;
|
|
108
113
|
aggregateId?: true;
|
|
@@ -122,6 +127,7 @@ export type DomainEventMaxAggregateInputType = {
|
|
|
122
127
|
};
|
|
123
128
|
export type DomainEventCountAggregateInputType = {
|
|
124
129
|
id?: true;
|
|
130
|
+
tenantId?: true;
|
|
125
131
|
eventType?: true;
|
|
126
132
|
aggregateType?: true;
|
|
127
133
|
aggregateId?: true;
|
|
@@ -218,6 +224,7 @@ export type DomainEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
218
224
|
};
|
|
219
225
|
export type DomainEventGroupByOutputType = {
|
|
220
226
|
id: string;
|
|
227
|
+
tenantId: string;
|
|
221
228
|
eventType: string;
|
|
222
229
|
aggregateType: string;
|
|
223
230
|
aggregateId: string;
|
|
@@ -248,6 +255,7 @@ export type DomainEventWhereInput = {
|
|
|
248
255
|
OR?: Prisma.DomainEventWhereInput[];
|
|
249
256
|
NOT?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
250
257
|
id?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
258
|
+
tenantId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
251
259
|
eventType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
252
260
|
aggregateType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
253
261
|
aggregateId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
@@ -264,9 +272,11 @@ export type DomainEventWhereInput = {
|
|
|
264
272
|
nextRetryAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
265
273
|
createdAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
266
274
|
updatedAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
275
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
267
276
|
};
|
|
268
277
|
export type DomainEventOrderByWithRelationInput = {
|
|
269
278
|
id?: Prisma.SortOrder;
|
|
279
|
+
tenantId?: Prisma.SortOrder;
|
|
270
280
|
eventType?: Prisma.SortOrder;
|
|
271
281
|
aggregateType?: Prisma.SortOrder;
|
|
272
282
|
aggregateId?: Prisma.SortOrder;
|
|
@@ -283,6 +293,7 @@ export type DomainEventOrderByWithRelationInput = {
|
|
|
283
293
|
nextRetryAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
294
|
createdAt?: Prisma.SortOrder;
|
|
285
295
|
updatedAt?: Prisma.SortOrder;
|
|
296
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
286
297
|
_relevance?: Prisma.DomainEventOrderByRelevanceInput;
|
|
287
298
|
};
|
|
288
299
|
export type DomainEventWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -290,6 +301,7 @@ export type DomainEventWhereUniqueInput = Prisma.AtLeast<{
|
|
|
290
301
|
AND?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
291
302
|
OR?: Prisma.DomainEventWhereInput[];
|
|
292
303
|
NOT?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
304
|
+
tenantId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
293
305
|
eventType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
294
306
|
aggregateType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
295
307
|
aggregateId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
@@ -306,9 +318,11 @@ export type DomainEventWhereUniqueInput = Prisma.AtLeast<{
|
|
|
306
318
|
nextRetryAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
307
319
|
createdAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
308
320
|
updatedAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
321
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
309
322
|
}, "id">;
|
|
310
323
|
export type DomainEventOrderByWithAggregationInput = {
|
|
311
324
|
id?: Prisma.SortOrder;
|
|
325
|
+
tenantId?: Prisma.SortOrder;
|
|
312
326
|
eventType?: Prisma.SortOrder;
|
|
313
327
|
aggregateType?: Prisma.SortOrder;
|
|
314
328
|
aggregateId?: Prisma.SortOrder;
|
|
@@ -336,6 +350,7 @@ export type DomainEventScalarWhereWithAggregatesInput = {
|
|
|
336
350
|
OR?: Prisma.DomainEventScalarWhereWithAggregatesInput[];
|
|
337
351
|
NOT?: Prisma.DomainEventScalarWhereWithAggregatesInput | Prisma.DomainEventScalarWhereWithAggregatesInput[];
|
|
338
352
|
id?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
353
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
339
354
|
eventType?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
340
355
|
aggregateType?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
341
356
|
aggregateId?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
@@ -371,9 +386,11 @@ export type DomainEventCreateInput = {
|
|
|
371
386
|
nextRetryAt?: Date | string | null;
|
|
372
387
|
createdAt?: Date | string;
|
|
373
388
|
updatedAt?: Date | string;
|
|
389
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDomainEventsInput;
|
|
374
390
|
};
|
|
375
391
|
export type DomainEventUncheckedCreateInput = {
|
|
376
392
|
id?: string;
|
|
393
|
+
tenantId: string;
|
|
377
394
|
eventType: string;
|
|
378
395
|
aggregateType: string;
|
|
379
396
|
aggregateId: string;
|
|
@@ -409,9 +426,11 @@ export type DomainEventUpdateInput = {
|
|
|
409
426
|
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
427
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
411
428
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
429
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDomainEventsNestedInput;
|
|
412
430
|
};
|
|
413
431
|
export type DomainEventUncheckedUpdateInput = {
|
|
414
432
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
434
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
435
|
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
436
|
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -431,6 +450,7 @@ export type DomainEventUncheckedUpdateInput = {
|
|
|
431
450
|
};
|
|
432
451
|
export type DomainEventCreateManyInput = {
|
|
433
452
|
id?: string;
|
|
453
|
+
tenantId: string;
|
|
434
454
|
eventType: string;
|
|
435
455
|
aggregateType: string;
|
|
436
456
|
aggregateId: string;
|
|
@@ -469,6 +489,7 @@ export type DomainEventUpdateManyMutationInput = {
|
|
|
469
489
|
};
|
|
470
490
|
export type DomainEventUncheckedUpdateManyInput = {
|
|
471
491
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
493
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
494
|
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
474
495
|
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -486,6 +507,14 @@ export type DomainEventUncheckedUpdateManyInput = {
|
|
|
486
507
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
508
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
509
|
};
|
|
510
|
+
export type DomainEventListRelationFilter = {
|
|
511
|
+
every?: Prisma.DomainEventWhereInput;
|
|
512
|
+
some?: Prisma.DomainEventWhereInput;
|
|
513
|
+
none?: Prisma.DomainEventWhereInput;
|
|
514
|
+
};
|
|
515
|
+
export type DomainEventOrderByRelationAggregateInput = {
|
|
516
|
+
_count?: Prisma.SortOrder;
|
|
517
|
+
};
|
|
489
518
|
export type DomainEventOrderByRelevanceInput = {
|
|
490
519
|
fields: Prisma.DomainEventOrderByRelevanceFieldEnum | Prisma.DomainEventOrderByRelevanceFieldEnum[];
|
|
491
520
|
sort: Prisma.SortOrder;
|
|
@@ -493,6 +522,7 @@ export type DomainEventOrderByRelevanceInput = {
|
|
|
493
522
|
};
|
|
494
523
|
export type DomainEventCountOrderByAggregateInput = {
|
|
495
524
|
id?: Prisma.SortOrder;
|
|
525
|
+
tenantId?: Prisma.SortOrder;
|
|
496
526
|
eventType?: Prisma.SortOrder;
|
|
497
527
|
aggregateType?: Prisma.SortOrder;
|
|
498
528
|
aggregateId?: Prisma.SortOrder;
|
|
@@ -515,6 +545,7 @@ export type DomainEventAvgOrderByAggregateInput = {
|
|
|
515
545
|
};
|
|
516
546
|
export type DomainEventMaxOrderByAggregateInput = {
|
|
517
547
|
id?: Prisma.SortOrder;
|
|
548
|
+
tenantId?: Prisma.SortOrder;
|
|
518
549
|
eventType?: Prisma.SortOrder;
|
|
519
550
|
aggregateType?: Prisma.SortOrder;
|
|
520
551
|
aggregateId?: Prisma.SortOrder;
|
|
@@ -534,6 +565,7 @@ export type DomainEventMaxOrderByAggregateInput = {
|
|
|
534
565
|
};
|
|
535
566
|
export type DomainEventMinOrderByAggregateInput = {
|
|
536
567
|
id?: Prisma.SortOrder;
|
|
568
|
+
tenantId?: Prisma.SortOrder;
|
|
537
569
|
eventType?: Prisma.SortOrder;
|
|
538
570
|
aggregateType?: Prisma.SortOrder;
|
|
539
571
|
aggregateId?: Prisma.SortOrder;
|
|
@@ -554,8 +586,205 @@ export type DomainEventMinOrderByAggregateInput = {
|
|
|
554
586
|
export type DomainEventSumOrderByAggregateInput = {
|
|
555
587
|
failureCount?: Prisma.SortOrder;
|
|
556
588
|
};
|
|
589
|
+
export type DomainEventCreateNestedManyWithoutTenantInput = {
|
|
590
|
+
create?: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput> | Prisma.DomainEventCreateWithoutTenantInput[] | Prisma.DomainEventUncheckedCreateWithoutTenantInput[];
|
|
591
|
+
connectOrCreate?: Prisma.DomainEventCreateOrConnectWithoutTenantInput | Prisma.DomainEventCreateOrConnectWithoutTenantInput[];
|
|
592
|
+
createMany?: Prisma.DomainEventCreateManyTenantInputEnvelope;
|
|
593
|
+
connect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
594
|
+
};
|
|
595
|
+
export type DomainEventUncheckedCreateNestedManyWithoutTenantInput = {
|
|
596
|
+
create?: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput> | Prisma.DomainEventCreateWithoutTenantInput[] | Prisma.DomainEventUncheckedCreateWithoutTenantInput[];
|
|
597
|
+
connectOrCreate?: Prisma.DomainEventCreateOrConnectWithoutTenantInput | Prisma.DomainEventCreateOrConnectWithoutTenantInput[];
|
|
598
|
+
createMany?: Prisma.DomainEventCreateManyTenantInputEnvelope;
|
|
599
|
+
connect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
600
|
+
};
|
|
601
|
+
export type DomainEventUpdateManyWithoutTenantNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput> | Prisma.DomainEventCreateWithoutTenantInput[] | Prisma.DomainEventUncheckedCreateWithoutTenantInput[];
|
|
603
|
+
connectOrCreate?: Prisma.DomainEventCreateOrConnectWithoutTenantInput | Prisma.DomainEventCreateOrConnectWithoutTenantInput[];
|
|
604
|
+
upsert?: Prisma.DomainEventUpsertWithWhereUniqueWithoutTenantInput | Prisma.DomainEventUpsertWithWhereUniqueWithoutTenantInput[];
|
|
605
|
+
createMany?: Prisma.DomainEventCreateManyTenantInputEnvelope;
|
|
606
|
+
set?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
607
|
+
disconnect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
608
|
+
delete?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
609
|
+
connect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
610
|
+
update?: Prisma.DomainEventUpdateWithWhereUniqueWithoutTenantInput | Prisma.DomainEventUpdateWithWhereUniqueWithoutTenantInput[];
|
|
611
|
+
updateMany?: Prisma.DomainEventUpdateManyWithWhereWithoutTenantInput | Prisma.DomainEventUpdateManyWithWhereWithoutTenantInput[];
|
|
612
|
+
deleteMany?: Prisma.DomainEventScalarWhereInput | Prisma.DomainEventScalarWhereInput[];
|
|
613
|
+
};
|
|
614
|
+
export type DomainEventUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput> | Prisma.DomainEventCreateWithoutTenantInput[] | Prisma.DomainEventUncheckedCreateWithoutTenantInput[];
|
|
616
|
+
connectOrCreate?: Prisma.DomainEventCreateOrConnectWithoutTenantInput | Prisma.DomainEventCreateOrConnectWithoutTenantInput[];
|
|
617
|
+
upsert?: Prisma.DomainEventUpsertWithWhereUniqueWithoutTenantInput | Prisma.DomainEventUpsertWithWhereUniqueWithoutTenantInput[];
|
|
618
|
+
createMany?: Prisma.DomainEventCreateManyTenantInputEnvelope;
|
|
619
|
+
set?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
620
|
+
disconnect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
621
|
+
delete?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
622
|
+
connect?: Prisma.DomainEventWhereUniqueInput | Prisma.DomainEventWhereUniqueInput[];
|
|
623
|
+
update?: Prisma.DomainEventUpdateWithWhereUniqueWithoutTenantInput | Prisma.DomainEventUpdateWithWhereUniqueWithoutTenantInput[];
|
|
624
|
+
updateMany?: Prisma.DomainEventUpdateManyWithWhereWithoutTenantInput | Prisma.DomainEventUpdateManyWithWhereWithoutTenantInput[];
|
|
625
|
+
deleteMany?: Prisma.DomainEventScalarWhereInput | Prisma.DomainEventScalarWhereInput[];
|
|
626
|
+
};
|
|
627
|
+
export type DomainEventCreateWithoutTenantInput = {
|
|
628
|
+
id?: string;
|
|
629
|
+
eventType: string;
|
|
630
|
+
aggregateType: string;
|
|
631
|
+
aggregateId: string;
|
|
632
|
+
queueName: string;
|
|
633
|
+
payload: string;
|
|
634
|
+
occurredAt?: Date | string;
|
|
635
|
+
actorId?: string | null;
|
|
636
|
+
actorRole?: string | null;
|
|
637
|
+
status?: string;
|
|
638
|
+
processedAt?: Date | string | null;
|
|
639
|
+
sentAt?: Date | string | null;
|
|
640
|
+
failureCount?: number;
|
|
641
|
+
lastError?: string | null;
|
|
642
|
+
nextRetryAt?: Date | string | null;
|
|
643
|
+
createdAt?: Date | string;
|
|
644
|
+
updatedAt?: Date | string;
|
|
645
|
+
};
|
|
646
|
+
export type DomainEventUncheckedCreateWithoutTenantInput = {
|
|
647
|
+
id?: string;
|
|
648
|
+
eventType: string;
|
|
649
|
+
aggregateType: string;
|
|
650
|
+
aggregateId: string;
|
|
651
|
+
queueName: string;
|
|
652
|
+
payload: string;
|
|
653
|
+
occurredAt?: Date | string;
|
|
654
|
+
actorId?: string | null;
|
|
655
|
+
actorRole?: string | null;
|
|
656
|
+
status?: string;
|
|
657
|
+
processedAt?: Date | string | null;
|
|
658
|
+
sentAt?: Date | string | null;
|
|
659
|
+
failureCount?: number;
|
|
660
|
+
lastError?: string | null;
|
|
661
|
+
nextRetryAt?: Date | string | null;
|
|
662
|
+
createdAt?: Date | string;
|
|
663
|
+
updatedAt?: Date | string;
|
|
664
|
+
};
|
|
665
|
+
export type DomainEventCreateOrConnectWithoutTenantInput = {
|
|
666
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
667
|
+
create: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput>;
|
|
668
|
+
};
|
|
669
|
+
export type DomainEventCreateManyTenantInputEnvelope = {
|
|
670
|
+
data: Prisma.DomainEventCreateManyTenantInput | Prisma.DomainEventCreateManyTenantInput[];
|
|
671
|
+
skipDuplicates?: boolean;
|
|
672
|
+
};
|
|
673
|
+
export type DomainEventUpsertWithWhereUniqueWithoutTenantInput = {
|
|
674
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
675
|
+
update: Prisma.XOR<Prisma.DomainEventUpdateWithoutTenantInput, Prisma.DomainEventUncheckedUpdateWithoutTenantInput>;
|
|
676
|
+
create: Prisma.XOR<Prisma.DomainEventCreateWithoutTenantInput, Prisma.DomainEventUncheckedCreateWithoutTenantInput>;
|
|
677
|
+
};
|
|
678
|
+
export type DomainEventUpdateWithWhereUniqueWithoutTenantInput = {
|
|
679
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
680
|
+
data: Prisma.XOR<Prisma.DomainEventUpdateWithoutTenantInput, Prisma.DomainEventUncheckedUpdateWithoutTenantInput>;
|
|
681
|
+
};
|
|
682
|
+
export type DomainEventUpdateManyWithWhereWithoutTenantInput = {
|
|
683
|
+
where: Prisma.DomainEventScalarWhereInput;
|
|
684
|
+
data: Prisma.XOR<Prisma.DomainEventUpdateManyMutationInput, Prisma.DomainEventUncheckedUpdateManyWithoutTenantInput>;
|
|
685
|
+
};
|
|
686
|
+
export type DomainEventScalarWhereInput = {
|
|
687
|
+
AND?: Prisma.DomainEventScalarWhereInput | Prisma.DomainEventScalarWhereInput[];
|
|
688
|
+
OR?: Prisma.DomainEventScalarWhereInput[];
|
|
689
|
+
NOT?: Prisma.DomainEventScalarWhereInput | Prisma.DomainEventScalarWhereInput[];
|
|
690
|
+
id?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
691
|
+
tenantId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
692
|
+
eventType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
693
|
+
aggregateType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
694
|
+
aggregateId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
695
|
+
queueName?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
696
|
+
payload?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
697
|
+
occurredAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
698
|
+
actorId?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
699
|
+
actorRole?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
700
|
+
status?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
701
|
+
processedAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
702
|
+
sentAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
703
|
+
failureCount?: Prisma.IntFilter<"DomainEvent"> | number;
|
|
704
|
+
lastError?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
705
|
+
nextRetryAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
706
|
+
createdAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
707
|
+
updatedAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
708
|
+
};
|
|
709
|
+
export type DomainEventCreateManyTenantInput = {
|
|
710
|
+
id?: string;
|
|
711
|
+
eventType: string;
|
|
712
|
+
aggregateType: string;
|
|
713
|
+
aggregateId: string;
|
|
714
|
+
queueName: string;
|
|
715
|
+
payload: string;
|
|
716
|
+
occurredAt?: Date | string;
|
|
717
|
+
actorId?: string | null;
|
|
718
|
+
actorRole?: string | null;
|
|
719
|
+
status?: string;
|
|
720
|
+
processedAt?: Date | string | null;
|
|
721
|
+
sentAt?: Date | string | null;
|
|
722
|
+
failureCount?: number;
|
|
723
|
+
lastError?: string | null;
|
|
724
|
+
nextRetryAt?: Date | string | null;
|
|
725
|
+
createdAt?: Date | string;
|
|
726
|
+
updatedAt?: Date | string;
|
|
727
|
+
};
|
|
728
|
+
export type DomainEventUpdateWithoutTenantInput = {
|
|
729
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
730
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
731
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
732
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
733
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
734
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
735
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
736
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
737
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
738
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
739
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
740
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
741
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
742
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
743
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
744
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
745
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
746
|
+
};
|
|
747
|
+
export type DomainEventUncheckedUpdateWithoutTenantInput = {
|
|
748
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
749
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
750
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
751
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
752
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
753
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
754
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
755
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
756
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
757
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
759
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
760
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
761
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
762
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
763
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
764
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
765
|
+
};
|
|
766
|
+
export type DomainEventUncheckedUpdateManyWithoutTenantInput = {
|
|
767
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
768
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
769
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
770
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
772
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
773
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
774
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
775
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
776
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
777
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
778
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
779
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
780
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
781
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
782
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
783
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
784
|
+
};
|
|
557
785
|
export type DomainEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
558
786
|
id?: boolean;
|
|
787
|
+
tenantId?: boolean;
|
|
559
788
|
eventType?: boolean;
|
|
560
789
|
aggregateType?: boolean;
|
|
561
790
|
aggregateId?: boolean;
|
|
@@ -572,9 +801,11 @@ export type DomainEventSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
572
801
|
nextRetryAt?: boolean;
|
|
573
802
|
createdAt?: boolean;
|
|
574
803
|
updatedAt?: boolean;
|
|
804
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
575
805
|
}, ExtArgs["result"]["domainEvent"]>;
|
|
576
806
|
export type DomainEventSelectScalar = {
|
|
577
807
|
id?: boolean;
|
|
808
|
+
tenantId?: boolean;
|
|
578
809
|
eventType?: boolean;
|
|
579
810
|
aggregateType?: boolean;
|
|
580
811
|
aggregateId?: boolean;
|
|
@@ -592,12 +823,18 @@ export type DomainEventSelectScalar = {
|
|
|
592
823
|
createdAt?: boolean;
|
|
593
824
|
updatedAt?: boolean;
|
|
594
825
|
};
|
|
595
|
-
export type DomainEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "eventType" | "aggregateType" | "aggregateId" | "queueName" | "payload" | "occurredAt" | "actorId" | "actorRole" | "status" | "processedAt" | "sentAt" | "failureCount" | "lastError" | "nextRetryAt" | "createdAt" | "updatedAt", ExtArgs["result"]["domainEvent"]>;
|
|
826
|
+
export type DomainEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "eventType" | "aggregateType" | "aggregateId" | "queueName" | "payload" | "occurredAt" | "actorId" | "actorRole" | "status" | "processedAt" | "sentAt" | "failureCount" | "lastError" | "nextRetryAt" | "createdAt" | "updatedAt", ExtArgs["result"]["domainEvent"]>;
|
|
827
|
+
export type DomainEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
828
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
829
|
+
};
|
|
596
830
|
export type $DomainEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
597
831
|
name: "DomainEvent";
|
|
598
|
-
objects: {
|
|
832
|
+
objects: {
|
|
833
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
834
|
+
};
|
|
599
835
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
600
836
|
id: string;
|
|
837
|
+
tenantId: string;
|
|
601
838
|
eventType: string;
|
|
602
839
|
aggregateType: string;
|
|
603
840
|
aggregateId: string;
|
|
@@ -891,6 +1128,7 @@ export interface DomainEventDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
891
1128
|
*/
|
|
892
1129
|
export interface Prisma__DomainEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
893
1130
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1131
|
+
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>;
|
|
894
1132
|
/**
|
|
895
1133
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
896
1134
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -917,6 +1155,7 @@ export interface Prisma__DomainEventClient<T, Null = never, ExtArgs extends runt
|
|
|
917
1155
|
*/
|
|
918
1156
|
export interface DomainEventFieldRefs {
|
|
919
1157
|
readonly id: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
1158
|
+
readonly tenantId: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
920
1159
|
readonly eventType: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
921
1160
|
readonly aggregateType: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
922
1161
|
readonly aggregateId: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
@@ -946,6 +1185,10 @@ export type DomainEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
946
1185
|
* Omit specific fields from the DomainEvent
|
|
947
1186
|
*/
|
|
948
1187
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* Choose, which related nodes to fetch as well
|
|
1190
|
+
*/
|
|
1191
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
949
1192
|
/**
|
|
950
1193
|
* Filter, which DomainEvent to fetch.
|
|
951
1194
|
*/
|
|
@@ -963,6 +1206,10 @@ export type DomainEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Exten
|
|
|
963
1206
|
* Omit specific fields from the DomainEvent
|
|
964
1207
|
*/
|
|
965
1208
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1209
|
+
/**
|
|
1210
|
+
* Choose, which related nodes to fetch as well
|
|
1211
|
+
*/
|
|
1212
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
966
1213
|
/**
|
|
967
1214
|
* Filter, which DomainEvent to fetch.
|
|
968
1215
|
*/
|
|
@@ -980,6 +1227,10 @@ export type DomainEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
980
1227
|
* Omit specific fields from the DomainEvent
|
|
981
1228
|
*/
|
|
982
1229
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Choose, which related nodes to fetch as well
|
|
1232
|
+
*/
|
|
1233
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
983
1234
|
/**
|
|
984
1235
|
* Filter, which DomainEvent to fetch.
|
|
985
1236
|
*/
|
|
@@ -1027,6 +1278,10 @@ export type DomainEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extens
|
|
|
1027
1278
|
* Omit specific fields from the DomainEvent
|
|
1028
1279
|
*/
|
|
1029
1280
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
1284
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1030
1285
|
/**
|
|
1031
1286
|
* Filter, which DomainEvent to fetch.
|
|
1032
1287
|
*/
|
|
@@ -1074,6 +1329,10 @@ export type DomainEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1074
1329
|
* Omit specific fields from the DomainEvent
|
|
1075
1330
|
*/
|
|
1076
1331
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Choose, which related nodes to fetch as well
|
|
1334
|
+
*/
|
|
1335
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1077
1336
|
/**
|
|
1078
1337
|
* Filter, which DomainEvents to fetch.
|
|
1079
1338
|
*/
|
|
@@ -1116,6 +1375,10 @@ export type DomainEventCreateArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1116
1375
|
* Omit specific fields from the DomainEvent
|
|
1117
1376
|
*/
|
|
1118
1377
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1378
|
+
/**
|
|
1379
|
+
* Choose, which related nodes to fetch as well
|
|
1380
|
+
*/
|
|
1381
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1119
1382
|
/**
|
|
1120
1383
|
* The data needed to create a DomainEvent.
|
|
1121
1384
|
*/
|
|
@@ -1143,6 +1406,10 @@ export type DomainEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1143
1406
|
* Omit specific fields from the DomainEvent
|
|
1144
1407
|
*/
|
|
1145
1408
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Choose, which related nodes to fetch as well
|
|
1411
|
+
*/
|
|
1412
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1146
1413
|
/**
|
|
1147
1414
|
* The data needed to update a DomainEvent.
|
|
1148
1415
|
*/
|
|
@@ -1181,6 +1448,10 @@ export type DomainEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1181
1448
|
* Omit specific fields from the DomainEvent
|
|
1182
1449
|
*/
|
|
1183
1450
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* Choose, which related nodes to fetch as well
|
|
1453
|
+
*/
|
|
1454
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1184
1455
|
/**
|
|
1185
1456
|
* The filter to search for the DomainEvent to update in case it exists.
|
|
1186
1457
|
*/
|
|
@@ -1206,6 +1477,10 @@ export type DomainEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1206
1477
|
* Omit specific fields from the DomainEvent
|
|
1207
1478
|
*/
|
|
1208
1479
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Choose, which related nodes to fetch as well
|
|
1482
|
+
*/
|
|
1483
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1209
1484
|
/**
|
|
1210
1485
|
* Filter which DomainEvent to delete.
|
|
1211
1486
|
*/
|
|
@@ -1236,5 +1511,9 @@ export type DomainEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1236
1511
|
* Omit specific fields from the DomainEvent
|
|
1237
1512
|
*/
|
|
1238
1513
|
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1514
|
+
/**
|
|
1515
|
+
* Choose, which related nodes to fetch as well
|
|
1516
|
+
*/
|
|
1517
|
+
include?: Prisma.DomainEventInclude<ExtArgs> | null;
|
|
1239
1518
|
};
|
|
1240
1519
|
export {};
|