@valentine-efagene/qshelter-common 2.0.99 → 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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespace.js +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
- 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/src/prisma/tenant.js +26 -32
- 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 +143 -30
|
@@ -13,6 +13,7 @@ export type AggregateApplicationEvent = {
|
|
|
13
13
|
};
|
|
14
14
|
export type ApplicationEventMinAggregateOutputType = {
|
|
15
15
|
id: string | null;
|
|
16
|
+
tenantId: string | null;
|
|
16
17
|
applicationId: string | null;
|
|
17
18
|
eventType: $Enums.ApplicationEventType | null;
|
|
18
19
|
eventGroup: $Enums.ApplicationEventGroup | null;
|
|
@@ -25,6 +26,7 @@ export type ApplicationEventMinAggregateOutputType = {
|
|
|
25
26
|
};
|
|
26
27
|
export type ApplicationEventMaxAggregateOutputType = {
|
|
27
28
|
id: string | null;
|
|
29
|
+
tenantId: string | null;
|
|
28
30
|
applicationId: string | null;
|
|
29
31
|
eventType: $Enums.ApplicationEventType | null;
|
|
30
32
|
eventGroup: $Enums.ApplicationEventGroup | null;
|
|
@@ -37,6 +39,7 @@ export type ApplicationEventMaxAggregateOutputType = {
|
|
|
37
39
|
};
|
|
38
40
|
export type ApplicationEventCountAggregateOutputType = {
|
|
39
41
|
id: number;
|
|
42
|
+
tenantId: number;
|
|
40
43
|
applicationId: number;
|
|
41
44
|
eventType: number;
|
|
42
45
|
eventGroup: number;
|
|
@@ -51,6 +54,7 @@ export type ApplicationEventCountAggregateOutputType = {
|
|
|
51
54
|
};
|
|
52
55
|
export type ApplicationEventMinAggregateInputType = {
|
|
53
56
|
id?: true;
|
|
57
|
+
tenantId?: true;
|
|
54
58
|
applicationId?: true;
|
|
55
59
|
eventType?: true;
|
|
56
60
|
eventGroup?: true;
|
|
@@ -63,6 +67,7 @@ export type ApplicationEventMinAggregateInputType = {
|
|
|
63
67
|
};
|
|
64
68
|
export type ApplicationEventMaxAggregateInputType = {
|
|
65
69
|
id?: true;
|
|
70
|
+
tenantId?: true;
|
|
66
71
|
applicationId?: true;
|
|
67
72
|
eventType?: true;
|
|
68
73
|
eventGroup?: true;
|
|
@@ -75,6 +80,7 @@ export type ApplicationEventMaxAggregateInputType = {
|
|
|
75
80
|
};
|
|
76
81
|
export type ApplicationEventCountAggregateInputType = {
|
|
77
82
|
id?: true;
|
|
83
|
+
tenantId?: true;
|
|
78
84
|
applicationId?: true;
|
|
79
85
|
eventType?: true;
|
|
80
86
|
eventGroup?: true;
|
|
@@ -151,6 +157,7 @@ export type ApplicationEventGroupByArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
151
157
|
};
|
|
152
158
|
export type ApplicationEventGroupByOutputType = {
|
|
153
159
|
id: string;
|
|
160
|
+
tenantId: string;
|
|
154
161
|
applicationId: string;
|
|
155
162
|
eventType: $Enums.ApplicationEventType;
|
|
156
163
|
eventGroup: $Enums.ApplicationEventGroup | null;
|
|
@@ -173,6 +180,7 @@ export type ApplicationEventWhereInput = {
|
|
|
173
180
|
OR?: Prisma.ApplicationEventWhereInput[];
|
|
174
181
|
NOT?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
|
|
175
182
|
id?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
183
|
+
tenantId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
176
184
|
applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
177
185
|
eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
|
|
178
186
|
eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
|
|
@@ -183,10 +191,12 @@ export type ApplicationEventWhereInput = {
|
|
|
183
191
|
actorId?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
|
|
184
192
|
actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
|
|
185
193
|
occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
|
|
194
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
186
195
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
187
196
|
};
|
|
188
197
|
export type ApplicationEventOrderByWithRelationInput = {
|
|
189
198
|
id?: Prisma.SortOrder;
|
|
199
|
+
tenantId?: Prisma.SortOrder;
|
|
190
200
|
applicationId?: Prisma.SortOrder;
|
|
191
201
|
eventType?: Prisma.SortOrder;
|
|
192
202
|
eventGroup?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -197,6 +207,7 @@ export type ApplicationEventOrderByWithRelationInput = {
|
|
|
197
207
|
actorId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
198
208
|
actorType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
199
209
|
occurredAt?: Prisma.SortOrder;
|
|
210
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
200
211
|
application?: Prisma.ApplicationOrderByWithRelationInput;
|
|
201
212
|
_relevance?: Prisma.ApplicationEventOrderByRelevanceInput;
|
|
202
213
|
};
|
|
@@ -205,6 +216,7 @@ export type ApplicationEventWhereUniqueInput = Prisma.AtLeast<{
|
|
|
205
216
|
AND?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
|
|
206
217
|
OR?: Prisma.ApplicationEventWhereInput[];
|
|
207
218
|
NOT?: Prisma.ApplicationEventWhereInput | Prisma.ApplicationEventWhereInput[];
|
|
219
|
+
tenantId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
208
220
|
applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
209
221
|
eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
|
|
210
222
|
eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
|
|
@@ -215,10 +227,12 @@ export type ApplicationEventWhereUniqueInput = Prisma.AtLeast<{
|
|
|
215
227
|
actorId?: Prisma.StringNullableFilter<"ApplicationEvent"> | string | null;
|
|
216
228
|
actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
|
|
217
229
|
occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
|
|
230
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
218
231
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
219
232
|
}, "id">;
|
|
220
233
|
export type ApplicationEventOrderByWithAggregationInput = {
|
|
221
234
|
id?: Prisma.SortOrder;
|
|
235
|
+
tenantId?: Prisma.SortOrder;
|
|
222
236
|
applicationId?: Prisma.SortOrder;
|
|
223
237
|
eventType?: Prisma.SortOrder;
|
|
224
238
|
eventGroup?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -238,6 +252,7 @@ export type ApplicationEventScalarWhereWithAggregatesInput = {
|
|
|
238
252
|
OR?: Prisma.ApplicationEventScalarWhereWithAggregatesInput[];
|
|
239
253
|
NOT?: Prisma.ApplicationEventScalarWhereWithAggregatesInput | Prisma.ApplicationEventScalarWhereWithAggregatesInput[];
|
|
240
254
|
id?: Prisma.StringWithAggregatesFilter<"ApplicationEvent"> | string;
|
|
255
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"ApplicationEvent"> | string;
|
|
241
256
|
applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationEvent"> | string;
|
|
242
257
|
eventType?: Prisma.EnumApplicationEventTypeWithAggregatesFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
|
|
243
258
|
eventGroup?: Prisma.EnumApplicationEventGroupNullableWithAggregatesFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
|
|
@@ -260,10 +275,12 @@ export type ApplicationEventCreateInput = {
|
|
|
260
275
|
actorId?: string | null;
|
|
261
276
|
actorType?: $Enums.EventActorType | null;
|
|
262
277
|
occurredAt?: Date | string;
|
|
278
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationEventsInput;
|
|
263
279
|
application: Prisma.ApplicationCreateNestedOneWithoutEventsInput;
|
|
264
280
|
};
|
|
265
281
|
export type ApplicationEventUncheckedCreateInput = {
|
|
266
282
|
id?: string;
|
|
283
|
+
tenantId: string;
|
|
267
284
|
applicationId: string;
|
|
268
285
|
eventType: $Enums.ApplicationEventType;
|
|
269
286
|
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
@@ -286,10 +303,12 @@ export type ApplicationEventUpdateInput = {
|
|
|
286
303
|
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
287
304
|
actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
|
|
288
305
|
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
306
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationEventsNestedInput;
|
|
289
307
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutEventsNestedInput;
|
|
290
308
|
};
|
|
291
309
|
export type ApplicationEventUncheckedUpdateInput = {
|
|
292
310
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
312
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
313
|
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
295
314
|
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
@@ -303,6 +322,7 @@ export type ApplicationEventUncheckedUpdateInput = {
|
|
|
303
322
|
};
|
|
304
323
|
export type ApplicationEventCreateManyInput = {
|
|
305
324
|
id?: string;
|
|
325
|
+
tenantId: string;
|
|
306
326
|
applicationId: string;
|
|
307
327
|
eventType: $Enums.ApplicationEventType;
|
|
308
328
|
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
@@ -328,6 +348,7 @@ export type ApplicationEventUpdateManyMutationInput = {
|
|
|
328
348
|
};
|
|
329
349
|
export type ApplicationEventUncheckedUpdateManyInput = {
|
|
330
350
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
351
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
331
352
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
332
353
|
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
333
354
|
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
@@ -354,6 +375,7 @@ export type ApplicationEventOrderByRelevanceInput = {
|
|
|
354
375
|
};
|
|
355
376
|
export type ApplicationEventCountOrderByAggregateInput = {
|
|
356
377
|
id?: Prisma.SortOrder;
|
|
378
|
+
tenantId?: Prisma.SortOrder;
|
|
357
379
|
applicationId?: Prisma.SortOrder;
|
|
358
380
|
eventType?: Prisma.SortOrder;
|
|
359
381
|
eventGroup?: Prisma.SortOrder;
|
|
@@ -367,6 +389,7 @@ export type ApplicationEventCountOrderByAggregateInput = {
|
|
|
367
389
|
};
|
|
368
390
|
export type ApplicationEventMaxOrderByAggregateInput = {
|
|
369
391
|
id?: Prisma.SortOrder;
|
|
392
|
+
tenantId?: Prisma.SortOrder;
|
|
370
393
|
applicationId?: Prisma.SortOrder;
|
|
371
394
|
eventType?: Prisma.SortOrder;
|
|
372
395
|
eventGroup?: Prisma.SortOrder;
|
|
@@ -379,6 +402,7 @@ export type ApplicationEventMaxOrderByAggregateInput = {
|
|
|
379
402
|
};
|
|
380
403
|
export type ApplicationEventMinOrderByAggregateInput = {
|
|
381
404
|
id?: Prisma.SortOrder;
|
|
405
|
+
tenantId?: Prisma.SortOrder;
|
|
382
406
|
applicationId?: Prisma.SortOrder;
|
|
383
407
|
eventType?: Prisma.SortOrder;
|
|
384
408
|
eventGroup?: Prisma.SortOrder;
|
|
@@ -389,6 +413,44 @@ export type ApplicationEventMinOrderByAggregateInput = {
|
|
|
389
413
|
actorType?: Prisma.SortOrder;
|
|
390
414
|
occurredAt?: Prisma.SortOrder;
|
|
391
415
|
};
|
|
416
|
+
export type ApplicationEventCreateNestedManyWithoutTenantInput = {
|
|
417
|
+
create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput> | Prisma.ApplicationEventCreateWithoutTenantInput[] | Prisma.ApplicationEventUncheckedCreateWithoutTenantInput[];
|
|
418
|
+
connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutTenantInput | Prisma.ApplicationEventCreateOrConnectWithoutTenantInput[];
|
|
419
|
+
createMany?: Prisma.ApplicationEventCreateManyTenantInputEnvelope;
|
|
420
|
+
connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
421
|
+
};
|
|
422
|
+
export type ApplicationEventUncheckedCreateNestedManyWithoutTenantInput = {
|
|
423
|
+
create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput> | Prisma.ApplicationEventCreateWithoutTenantInput[] | Prisma.ApplicationEventUncheckedCreateWithoutTenantInput[];
|
|
424
|
+
connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutTenantInput | Prisma.ApplicationEventCreateOrConnectWithoutTenantInput[];
|
|
425
|
+
createMany?: Prisma.ApplicationEventCreateManyTenantInputEnvelope;
|
|
426
|
+
connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
427
|
+
};
|
|
428
|
+
export type ApplicationEventUpdateManyWithoutTenantNestedInput = {
|
|
429
|
+
create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput> | Prisma.ApplicationEventCreateWithoutTenantInput[] | Prisma.ApplicationEventUncheckedCreateWithoutTenantInput[];
|
|
430
|
+
connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutTenantInput | Prisma.ApplicationEventCreateOrConnectWithoutTenantInput[];
|
|
431
|
+
upsert?: Prisma.ApplicationEventUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationEventUpsertWithWhereUniqueWithoutTenantInput[];
|
|
432
|
+
createMany?: Prisma.ApplicationEventCreateManyTenantInputEnvelope;
|
|
433
|
+
set?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
434
|
+
disconnect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
435
|
+
delete?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
436
|
+
connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
437
|
+
update?: Prisma.ApplicationEventUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationEventUpdateWithWhereUniqueWithoutTenantInput[];
|
|
438
|
+
updateMany?: Prisma.ApplicationEventUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationEventUpdateManyWithWhereWithoutTenantInput[];
|
|
439
|
+
deleteMany?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
|
|
440
|
+
};
|
|
441
|
+
export type ApplicationEventUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
442
|
+
create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput> | Prisma.ApplicationEventCreateWithoutTenantInput[] | Prisma.ApplicationEventUncheckedCreateWithoutTenantInput[];
|
|
443
|
+
connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutTenantInput | Prisma.ApplicationEventCreateOrConnectWithoutTenantInput[];
|
|
444
|
+
upsert?: Prisma.ApplicationEventUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationEventUpsertWithWhereUniqueWithoutTenantInput[];
|
|
445
|
+
createMany?: Prisma.ApplicationEventCreateManyTenantInputEnvelope;
|
|
446
|
+
set?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
447
|
+
disconnect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
448
|
+
delete?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
449
|
+
connect?: Prisma.ApplicationEventWhereUniqueInput | Prisma.ApplicationEventWhereUniqueInput[];
|
|
450
|
+
update?: Prisma.ApplicationEventUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationEventUpdateWithWhereUniqueWithoutTenantInput[];
|
|
451
|
+
updateMany?: Prisma.ApplicationEventUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationEventUpdateManyWithWhereWithoutTenantInput[];
|
|
452
|
+
deleteMany?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
|
|
453
|
+
};
|
|
392
454
|
export type ApplicationEventCreateNestedManyWithoutApplicationInput = {
|
|
393
455
|
create?: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationEventCreateWithoutApplicationInput[] | Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput[];
|
|
394
456
|
connectOrCreate?: Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput | Prisma.ApplicationEventCreateOrConnectWithoutApplicationInput[];
|
|
@@ -436,7 +498,7 @@ export type NullableEnumApplicationEventGroupFieldUpdateOperationsInput = {
|
|
|
436
498
|
export type NullableEnumEventActorTypeFieldUpdateOperationsInput = {
|
|
437
499
|
set?: $Enums.EventActorType | null;
|
|
438
500
|
};
|
|
439
|
-
export type
|
|
501
|
+
export type ApplicationEventCreateWithoutTenantInput = {
|
|
440
502
|
id?: string;
|
|
441
503
|
eventType: $Enums.ApplicationEventType;
|
|
442
504
|
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
@@ -447,9 +509,11 @@ export type ApplicationEventCreateWithoutApplicationInput = {
|
|
|
447
509
|
actorId?: string | null;
|
|
448
510
|
actorType?: $Enums.EventActorType | null;
|
|
449
511
|
occurredAt?: Date | string;
|
|
512
|
+
application: Prisma.ApplicationCreateNestedOneWithoutEventsInput;
|
|
450
513
|
};
|
|
451
|
-
export type
|
|
514
|
+
export type ApplicationEventUncheckedCreateWithoutTenantInput = {
|
|
452
515
|
id?: string;
|
|
516
|
+
applicationId: string;
|
|
453
517
|
eventType: $Enums.ApplicationEventType;
|
|
454
518
|
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
455
519
|
fromState?: string | null;
|
|
@@ -460,32 +524,33 @@ export type ApplicationEventUncheckedCreateWithoutApplicationInput = {
|
|
|
460
524
|
actorType?: $Enums.EventActorType | null;
|
|
461
525
|
occurredAt?: Date | string;
|
|
462
526
|
};
|
|
463
|
-
export type
|
|
527
|
+
export type ApplicationEventCreateOrConnectWithoutTenantInput = {
|
|
464
528
|
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
465
|
-
create: Prisma.XOR<Prisma.
|
|
529
|
+
create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput>;
|
|
466
530
|
};
|
|
467
|
-
export type
|
|
468
|
-
data: Prisma.
|
|
531
|
+
export type ApplicationEventCreateManyTenantInputEnvelope = {
|
|
532
|
+
data: Prisma.ApplicationEventCreateManyTenantInput | Prisma.ApplicationEventCreateManyTenantInput[];
|
|
469
533
|
skipDuplicates?: boolean;
|
|
470
534
|
};
|
|
471
|
-
export type
|
|
535
|
+
export type ApplicationEventUpsertWithWhereUniqueWithoutTenantInput = {
|
|
472
536
|
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
473
|
-
update: Prisma.XOR<Prisma.
|
|
474
|
-
create: Prisma.XOR<Prisma.
|
|
537
|
+
update: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutTenantInput, Prisma.ApplicationEventUncheckedUpdateWithoutTenantInput>;
|
|
538
|
+
create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutTenantInput, Prisma.ApplicationEventUncheckedCreateWithoutTenantInput>;
|
|
475
539
|
};
|
|
476
|
-
export type
|
|
540
|
+
export type ApplicationEventUpdateWithWhereUniqueWithoutTenantInput = {
|
|
477
541
|
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
478
|
-
data: Prisma.XOR<Prisma.
|
|
542
|
+
data: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutTenantInput, Prisma.ApplicationEventUncheckedUpdateWithoutTenantInput>;
|
|
479
543
|
};
|
|
480
|
-
export type
|
|
544
|
+
export type ApplicationEventUpdateManyWithWhereWithoutTenantInput = {
|
|
481
545
|
where: Prisma.ApplicationEventScalarWhereInput;
|
|
482
|
-
data: Prisma.XOR<Prisma.ApplicationEventUpdateManyMutationInput, Prisma.
|
|
546
|
+
data: Prisma.XOR<Prisma.ApplicationEventUpdateManyMutationInput, Prisma.ApplicationEventUncheckedUpdateManyWithoutTenantInput>;
|
|
483
547
|
};
|
|
484
548
|
export type ApplicationEventScalarWhereInput = {
|
|
485
549
|
AND?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
|
|
486
550
|
OR?: Prisma.ApplicationEventScalarWhereInput[];
|
|
487
551
|
NOT?: Prisma.ApplicationEventScalarWhereInput | Prisma.ApplicationEventScalarWhereInput[];
|
|
488
552
|
id?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
553
|
+
tenantId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
489
554
|
applicationId?: Prisma.StringFilter<"ApplicationEvent"> | string;
|
|
490
555
|
eventType?: Prisma.EnumApplicationEventTypeFilter<"ApplicationEvent"> | $Enums.ApplicationEventType;
|
|
491
556
|
eventGroup?: Prisma.EnumApplicationEventGroupNullableFilter<"ApplicationEvent"> | $Enums.ApplicationEventGroup | null;
|
|
@@ -497,8 +562,108 @@ export type ApplicationEventScalarWhereInput = {
|
|
|
497
562
|
actorType?: Prisma.EnumEventActorTypeNullableFilter<"ApplicationEvent"> | $Enums.EventActorType | null;
|
|
498
563
|
occurredAt?: Prisma.DateTimeFilter<"ApplicationEvent"> | Date | string;
|
|
499
564
|
};
|
|
565
|
+
export type ApplicationEventCreateWithoutApplicationInput = {
|
|
566
|
+
id?: string;
|
|
567
|
+
eventType: $Enums.ApplicationEventType;
|
|
568
|
+
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
569
|
+
fromState?: string | null;
|
|
570
|
+
toState?: string | null;
|
|
571
|
+
trigger?: string | null;
|
|
572
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
573
|
+
actorId?: string | null;
|
|
574
|
+
actorType?: $Enums.EventActorType | null;
|
|
575
|
+
occurredAt?: Date | string;
|
|
576
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationEventsInput;
|
|
577
|
+
};
|
|
578
|
+
export type ApplicationEventUncheckedCreateWithoutApplicationInput = {
|
|
579
|
+
id?: string;
|
|
580
|
+
tenantId: string;
|
|
581
|
+
eventType: $Enums.ApplicationEventType;
|
|
582
|
+
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
583
|
+
fromState?: string | null;
|
|
584
|
+
toState?: string | null;
|
|
585
|
+
trigger?: string | null;
|
|
586
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
587
|
+
actorId?: string | null;
|
|
588
|
+
actorType?: $Enums.EventActorType | null;
|
|
589
|
+
occurredAt?: Date | string;
|
|
590
|
+
};
|
|
591
|
+
export type ApplicationEventCreateOrConnectWithoutApplicationInput = {
|
|
592
|
+
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
593
|
+
create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput>;
|
|
594
|
+
};
|
|
595
|
+
export type ApplicationEventCreateManyApplicationInputEnvelope = {
|
|
596
|
+
data: Prisma.ApplicationEventCreateManyApplicationInput | Prisma.ApplicationEventCreateManyApplicationInput[];
|
|
597
|
+
skipDuplicates?: boolean;
|
|
598
|
+
};
|
|
599
|
+
export type ApplicationEventUpsertWithWhereUniqueWithoutApplicationInput = {
|
|
600
|
+
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
601
|
+
update: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutApplicationInput, Prisma.ApplicationEventUncheckedUpdateWithoutApplicationInput>;
|
|
602
|
+
create: Prisma.XOR<Prisma.ApplicationEventCreateWithoutApplicationInput, Prisma.ApplicationEventUncheckedCreateWithoutApplicationInput>;
|
|
603
|
+
};
|
|
604
|
+
export type ApplicationEventUpdateWithWhereUniqueWithoutApplicationInput = {
|
|
605
|
+
where: Prisma.ApplicationEventWhereUniqueInput;
|
|
606
|
+
data: Prisma.XOR<Prisma.ApplicationEventUpdateWithoutApplicationInput, Prisma.ApplicationEventUncheckedUpdateWithoutApplicationInput>;
|
|
607
|
+
};
|
|
608
|
+
export type ApplicationEventUpdateManyWithWhereWithoutApplicationInput = {
|
|
609
|
+
where: Prisma.ApplicationEventScalarWhereInput;
|
|
610
|
+
data: Prisma.XOR<Prisma.ApplicationEventUpdateManyMutationInput, Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationInput>;
|
|
611
|
+
};
|
|
612
|
+
export type ApplicationEventCreateManyTenantInput = {
|
|
613
|
+
id?: string;
|
|
614
|
+
applicationId: string;
|
|
615
|
+
eventType: $Enums.ApplicationEventType;
|
|
616
|
+
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
617
|
+
fromState?: string | null;
|
|
618
|
+
toState?: string | null;
|
|
619
|
+
trigger?: string | null;
|
|
620
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
621
|
+
actorId?: string | null;
|
|
622
|
+
actorType?: $Enums.EventActorType | null;
|
|
623
|
+
occurredAt?: Date | string;
|
|
624
|
+
};
|
|
625
|
+
export type ApplicationEventUpdateWithoutTenantInput = {
|
|
626
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
627
|
+
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
628
|
+
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
629
|
+
fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
630
|
+
toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
631
|
+
trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
632
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
633
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
634
|
+
actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
|
|
635
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
636
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutEventsNestedInput;
|
|
637
|
+
};
|
|
638
|
+
export type ApplicationEventUncheckedUpdateWithoutTenantInput = {
|
|
639
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
640
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
641
|
+
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
642
|
+
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
643
|
+
fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
644
|
+
toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
645
|
+
trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
646
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
647
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
648
|
+
actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
|
|
649
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
650
|
+
};
|
|
651
|
+
export type ApplicationEventUncheckedUpdateManyWithoutTenantInput = {
|
|
652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
653
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
654
|
+
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
655
|
+
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
656
|
+
fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
657
|
+
toState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
658
|
+
trigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
659
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
660
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
661
|
+
actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
|
|
662
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
663
|
+
};
|
|
500
664
|
export type ApplicationEventCreateManyApplicationInput = {
|
|
501
665
|
id?: string;
|
|
666
|
+
tenantId: string;
|
|
502
667
|
eventType: $Enums.ApplicationEventType;
|
|
503
668
|
eventGroup?: $Enums.ApplicationEventGroup | null;
|
|
504
669
|
fromState?: string | null;
|
|
@@ -520,9 +685,11 @@ export type ApplicationEventUpdateWithoutApplicationInput = {
|
|
|
520
685
|
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
521
686
|
actorType?: Prisma.NullableEnumEventActorTypeFieldUpdateOperationsInput | $Enums.EventActorType | null;
|
|
522
687
|
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
688
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationEventsNestedInput;
|
|
523
689
|
};
|
|
524
690
|
export type ApplicationEventUncheckedUpdateWithoutApplicationInput = {
|
|
525
691
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
692
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
526
693
|
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
527
694
|
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
528
695
|
fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -535,6 +702,7 @@ export type ApplicationEventUncheckedUpdateWithoutApplicationInput = {
|
|
|
535
702
|
};
|
|
536
703
|
export type ApplicationEventUncheckedUpdateManyWithoutApplicationInput = {
|
|
537
704
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
705
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
538
706
|
eventType?: Prisma.EnumApplicationEventTypeFieldUpdateOperationsInput | $Enums.ApplicationEventType;
|
|
539
707
|
eventGroup?: Prisma.NullableEnumApplicationEventGroupFieldUpdateOperationsInput | $Enums.ApplicationEventGroup | null;
|
|
540
708
|
fromState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -547,6 +715,7 @@ export type ApplicationEventUncheckedUpdateManyWithoutApplicationInput = {
|
|
|
547
715
|
};
|
|
548
716
|
export type ApplicationEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
549
717
|
id?: boolean;
|
|
718
|
+
tenantId?: boolean;
|
|
550
719
|
applicationId?: boolean;
|
|
551
720
|
eventType?: boolean;
|
|
552
721
|
eventGroup?: boolean;
|
|
@@ -557,10 +726,12 @@ export type ApplicationEventSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
557
726
|
actorId?: boolean;
|
|
558
727
|
actorType?: boolean;
|
|
559
728
|
occurredAt?: boolean;
|
|
729
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
560
730
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
561
731
|
}, ExtArgs["result"]["applicationEvent"]>;
|
|
562
732
|
export type ApplicationEventSelectScalar = {
|
|
563
733
|
id?: boolean;
|
|
734
|
+
tenantId?: boolean;
|
|
564
735
|
applicationId?: boolean;
|
|
565
736
|
eventType?: boolean;
|
|
566
737
|
eventGroup?: boolean;
|
|
@@ -572,17 +743,20 @@ export type ApplicationEventSelectScalar = {
|
|
|
572
743
|
actorType?: boolean;
|
|
573
744
|
occurredAt?: boolean;
|
|
574
745
|
};
|
|
575
|
-
export type ApplicationEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "applicationId" | "eventType" | "eventGroup" | "fromState" | "toState" | "trigger" | "data" | "actorId" | "actorType" | "occurredAt", ExtArgs["result"]["applicationEvent"]>;
|
|
746
|
+
export type ApplicationEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "eventType" | "eventGroup" | "fromState" | "toState" | "trigger" | "data" | "actorId" | "actorType" | "occurredAt", ExtArgs["result"]["applicationEvent"]>;
|
|
576
747
|
export type ApplicationEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
577
749
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
578
750
|
};
|
|
579
751
|
export type $ApplicationEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
580
752
|
name: "ApplicationEvent";
|
|
581
753
|
objects: {
|
|
754
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
582
755
|
application: Prisma.$ApplicationPayload<ExtArgs>;
|
|
583
756
|
};
|
|
584
757
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
585
758
|
id: string;
|
|
759
|
+
tenantId: string;
|
|
586
760
|
applicationId: string;
|
|
587
761
|
eventType: $Enums.ApplicationEventType;
|
|
588
762
|
eventGroup: $Enums.ApplicationEventGroup | null;
|
|
@@ -870,6 +1044,7 @@ export interface ApplicationEventDelegate<ExtArgs extends runtime.Types.Extensio
|
|
|
870
1044
|
*/
|
|
871
1045
|
export interface Prisma__ApplicationEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
872
1046
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1047
|
+
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>;
|
|
873
1048
|
application<T extends Prisma.ApplicationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
874
1049
|
/**
|
|
875
1050
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -897,6 +1072,7 @@ export interface Prisma__ApplicationEventClient<T, Null = never, ExtArgs extends
|
|
|
897
1072
|
*/
|
|
898
1073
|
export interface ApplicationEventFieldRefs {
|
|
899
1074
|
readonly id: Prisma.FieldRef<"ApplicationEvent", 'String'>;
|
|
1075
|
+
readonly tenantId: Prisma.FieldRef<"ApplicationEvent", 'String'>;
|
|
900
1076
|
readonly applicationId: Prisma.FieldRef<"ApplicationEvent", 'String'>;
|
|
901
1077
|
readonly eventType: Prisma.FieldRef<"ApplicationEvent", 'ApplicationEventType'>;
|
|
902
1078
|
readonly eventGroup: Prisma.FieldRef<"ApplicationEvent", 'ApplicationEventGroup'>;
|