@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
|
@@ -23,6 +23,7 @@ export type DocumentationStepSumAggregateOutputType = {
|
|
|
23
23
|
};
|
|
24
24
|
export type DocumentationStepMinAggregateOutputType = {
|
|
25
25
|
id: string | null;
|
|
26
|
+
tenantId: string | null;
|
|
26
27
|
documentationPhaseId: string | null;
|
|
27
28
|
name: string | null;
|
|
28
29
|
description: string | null;
|
|
@@ -40,6 +41,7 @@ export type DocumentationStepMinAggregateOutputType = {
|
|
|
40
41
|
};
|
|
41
42
|
export type DocumentationStepMaxAggregateOutputType = {
|
|
42
43
|
id: string | null;
|
|
44
|
+
tenantId: string | null;
|
|
43
45
|
documentationPhaseId: string | null;
|
|
44
46
|
name: string | null;
|
|
45
47
|
description: string | null;
|
|
@@ -57,6 +59,7 @@ export type DocumentationStepMaxAggregateOutputType = {
|
|
|
57
59
|
};
|
|
58
60
|
export type DocumentationStepCountAggregateOutputType = {
|
|
59
61
|
id: number;
|
|
62
|
+
tenantId: number;
|
|
60
63
|
documentationPhaseId: number;
|
|
61
64
|
name: number;
|
|
62
65
|
description: number;
|
|
@@ -84,6 +87,7 @@ export type DocumentationStepSumAggregateInputType = {
|
|
|
84
87
|
};
|
|
85
88
|
export type DocumentationStepMinAggregateInputType = {
|
|
86
89
|
id?: true;
|
|
90
|
+
tenantId?: true;
|
|
87
91
|
documentationPhaseId?: true;
|
|
88
92
|
name?: true;
|
|
89
93
|
description?: true;
|
|
@@ -101,6 +105,7 @@ export type DocumentationStepMinAggregateInputType = {
|
|
|
101
105
|
};
|
|
102
106
|
export type DocumentationStepMaxAggregateInputType = {
|
|
103
107
|
id?: true;
|
|
108
|
+
tenantId?: true;
|
|
104
109
|
documentationPhaseId?: true;
|
|
105
110
|
name?: true;
|
|
106
111
|
description?: true;
|
|
@@ -118,6 +123,7 @@ export type DocumentationStepMaxAggregateInputType = {
|
|
|
118
123
|
};
|
|
119
124
|
export type DocumentationStepCountAggregateInputType = {
|
|
120
125
|
id?: true;
|
|
126
|
+
tenantId?: true;
|
|
121
127
|
documentationPhaseId?: true;
|
|
122
128
|
name?: true;
|
|
123
129
|
description?: true;
|
|
@@ -213,6 +219,7 @@ export type DocumentationStepGroupByArgs<ExtArgs extends runtime.Types.Extension
|
|
|
213
219
|
};
|
|
214
220
|
export type DocumentationStepGroupByOutputType = {
|
|
215
221
|
id: string;
|
|
222
|
+
tenantId: string;
|
|
216
223
|
documentationPhaseId: string;
|
|
217
224
|
name: string;
|
|
218
225
|
description: string | null;
|
|
@@ -242,6 +249,7 @@ export type DocumentationStepWhereInput = {
|
|
|
242
249
|
OR?: Prisma.DocumentationStepWhereInput[];
|
|
243
250
|
NOT?: Prisma.DocumentationStepWhereInput | Prisma.DocumentationStepWhereInput[];
|
|
244
251
|
id?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
252
|
+
tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
245
253
|
documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
246
254
|
name?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
247
255
|
description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
|
|
@@ -257,6 +265,7 @@ export type DocumentationStepWhereInput = {
|
|
|
257
265
|
completedAt?: Prisma.DateTimeNullableFilter<"DocumentationStep"> | Date | string | null;
|
|
258
266
|
createdAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
259
267
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
268
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
260
269
|
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseScalarRelationFilter, Prisma.DocumentationPhaseWhereInput>;
|
|
261
270
|
assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
262
271
|
requiredDocuments?: Prisma.DocumentationStepDocumentListRelationFilter;
|
|
@@ -265,6 +274,7 @@ export type DocumentationStepWhereInput = {
|
|
|
265
274
|
};
|
|
266
275
|
export type DocumentationStepOrderByWithRelationInput = {
|
|
267
276
|
id?: Prisma.SortOrder;
|
|
277
|
+
tenantId?: Prisma.SortOrder;
|
|
268
278
|
documentationPhaseId?: Prisma.SortOrder;
|
|
269
279
|
name?: Prisma.SortOrder;
|
|
270
280
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -280,6 +290,7 @@ export type DocumentationStepOrderByWithRelationInput = {
|
|
|
280
290
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
291
|
createdAt?: Prisma.SortOrder;
|
|
282
292
|
updatedAt?: Prisma.SortOrder;
|
|
293
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
283
294
|
documentationPhase?: Prisma.DocumentationPhaseOrderByWithRelationInput;
|
|
284
295
|
assignee?: Prisma.UserOrderByWithRelationInput;
|
|
285
296
|
requiredDocuments?: Prisma.DocumentationStepDocumentOrderByRelationAggregateInput;
|
|
@@ -292,6 +303,7 @@ export type DocumentationStepWhereUniqueInput = Prisma.AtLeast<{
|
|
|
292
303
|
AND?: Prisma.DocumentationStepWhereInput | Prisma.DocumentationStepWhereInput[];
|
|
293
304
|
OR?: Prisma.DocumentationStepWhereInput[];
|
|
294
305
|
NOT?: Prisma.DocumentationStepWhereInput | Prisma.DocumentationStepWhereInput[];
|
|
306
|
+
tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
295
307
|
documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
296
308
|
name?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
297
309
|
description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
|
|
@@ -307,6 +319,7 @@ export type DocumentationStepWhereUniqueInput = Prisma.AtLeast<{
|
|
|
307
319
|
completedAt?: Prisma.DateTimeNullableFilter<"DocumentationStep"> | Date | string | null;
|
|
308
320
|
createdAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
309
321
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
322
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
310
323
|
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseScalarRelationFilter, Prisma.DocumentationPhaseWhereInput>;
|
|
311
324
|
assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
312
325
|
requiredDocuments?: Prisma.DocumentationStepDocumentListRelationFilter;
|
|
@@ -315,6 +328,7 @@ export type DocumentationStepWhereUniqueInput = Prisma.AtLeast<{
|
|
|
315
328
|
}, "id">;
|
|
316
329
|
export type DocumentationStepOrderByWithAggregationInput = {
|
|
317
330
|
id?: Prisma.SortOrder;
|
|
331
|
+
tenantId?: Prisma.SortOrder;
|
|
318
332
|
documentationPhaseId?: Prisma.SortOrder;
|
|
319
333
|
name?: Prisma.SortOrder;
|
|
320
334
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -341,6 +355,7 @@ export type DocumentationStepScalarWhereWithAggregatesInput = {
|
|
|
341
355
|
OR?: Prisma.DocumentationStepScalarWhereWithAggregatesInput[];
|
|
342
356
|
NOT?: Prisma.DocumentationStepScalarWhereWithAggregatesInput | Prisma.DocumentationStepScalarWhereWithAggregatesInput[];
|
|
343
357
|
id?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
|
|
358
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
|
|
344
359
|
documentationPhaseId?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
|
|
345
360
|
name?: Prisma.StringWithAggregatesFilter<"DocumentationStep"> | string;
|
|
346
361
|
description?: Prisma.StringNullableWithAggregatesFilter<"DocumentationStep"> | string | null;
|
|
@@ -372,6 +387,7 @@ export type DocumentationStepCreateInput = {
|
|
|
372
387
|
completedAt?: Date | string | null;
|
|
373
388
|
createdAt?: Date | string;
|
|
374
389
|
updatedAt?: Date | string;
|
|
390
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
375
391
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
376
392
|
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
377
393
|
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
@@ -380,6 +396,7 @@ export type DocumentationStepCreateInput = {
|
|
|
380
396
|
};
|
|
381
397
|
export type DocumentationStepUncheckedCreateInput = {
|
|
382
398
|
id?: string;
|
|
399
|
+
tenantId: string;
|
|
383
400
|
documentationPhaseId: string;
|
|
384
401
|
name: string;
|
|
385
402
|
description?: string | null;
|
|
@@ -414,6 +431,7 @@ export type DocumentationStepUpdateInput = {
|
|
|
414
431
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
415
432
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
433
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
434
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
417
435
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
418
436
|
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
419
437
|
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
@@ -422,6 +440,7 @@ export type DocumentationStepUpdateInput = {
|
|
|
422
440
|
};
|
|
423
441
|
export type DocumentationStepUncheckedUpdateInput = {
|
|
424
442
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
443
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
444
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
426
445
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
427
446
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -443,6 +462,7 @@ export type DocumentationStepUncheckedUpdateInput = {
|
|
|
443
462
|
};
|
|
444
463
|
export type DocumentationStepCreateManyInput = {
|
|
445
464
|
id?: string;
|
|
465
|
+
tenantId: string;
|
|
446
466
|
documentationPhaseId: string;
|
|
447
467
|
name: string;
|
|
448
468
|
description?: string | null;
|
|
@@ -477,6 +497,7 @@ export type DocumentationStepUpdateManyMutationInput = {
|
|
|
477
497
|
};
|
|
478
498
|
export type DocumentationStepUncheckedUpdateManyInput = {
|
|
479
499
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
501
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
502
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
503
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -512,6 +533,7 @@ export type DocumentationStepOrderByRelevanceInput = {
|
|
|
512
533
|
};
|
|
513
534
|
export type DocumentationStepCountOrderByAggregateInput = {
|
|
514
535
|
id?: Prisma.SortOrder;
|
|
536
|
+
tenantId?: Prisma.SortOrder;
|
|
515
537
|
documentationPhaseId?: Prisma.SortOrder;
|
|
516
538
|
name?: Prisma.SortOrder;
|
|
517
539
|
description?: Prisma.SortOrder;
|
|
@@ -534,6 +556,7 @@ export type DocumentationStepAvgOrderByAggregateInput = {
|
|
|
534
556
|
};
|
|
535
557
|
export type DocumentationStepMaxOrderByAggregateInput = {
|
|
536
558
|
id?: Prisma.SortOrder;
|
|
559
|
+
tenantId?: Prisma.SortOrder;
|
|
537
560
|
documentationPhaseId?: Prisma.SortOrder;
|
|
538
561
|
name?: Prisma.SortOrder;
|
|
539
562
|
description?: Prisma.SortOrder;
|
|
@@ -551,6 +574,7 @@ export type DocumentationStepMaxOrderByAggregateInput = {
|
|
|
551
574
|
};
|
|
552
575
|
export type DocumentationStepMinOrderByAggregateInput = {
|
|
553
576
|
id?: Prisma.SortOrder;
|
|
577
|
+
tenantId?: Prisma.SortOrder;
|
|
554
578
|
documentationPhaseId?: Prisma.SortOrder;
|
|
555
579
|
name?: Prisma.SortOrder;
|
|
556
580
|
description?: Prisma.SortOrder;
|
|
@@ -612,6 +636,44 @@ export type DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput = {
|
|
|
612
636
|
updateMany?: Prisma.DocumentationStepUpdateManyWithWhereWithoutAssigneeInput | Prisma.DocumentationStepUpdateManyWithWhereWithoutAssigneeInput[];
|
|
613
637
|
deleteMany?: Prisma.DocumentationStepScalarWhereInput | Prisma.DocumentationStepScalarWhereInput[];
|
|
614
638
|
};
|
|
639
|
+
export type DocumentationStepCreateNestedManyWithoutTenantInput = {
|
|
640
|
+
create?: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepCreateWithoutTenantInput[] | Prisma.DocumentationStepUncheckedCreateWithoutTenantInput[];
|
|
641
|
+
connectOrCreate?: Prisma.DocumentationStepCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepCreateOrConnectWithoutTenantInput[];
|
|
642
|
+
createMany?: Prisma.DocumentationStepCreateManyTenantInputEnvelope;
|
|
643
|
+
connect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
644
|
+
};
|
|
645
|
+
export type DocumentationStepUncheckedCreateNestedManyWithoutTenantInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepCreateWithoutTenantInput[] | Prisma.DocumentationStepUncheckedCreateWithoutTenantInput[];
|
|
647
|
+
connectOrCreate?: Prisma.DocumentationStepCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepCreateOrConnectWithoutTenantInput[];
|
|
648
|
+
createMany?: Prisma.DocumentationStepCreateManyTenantInputEnvelope;
|
|
649
|
+
connect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
650
|
+
};
|
|
651
|
+
export type DocumentationStepUpdateManyWithoutTenantNestedInput = {
|
|
652
|
+
create?: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepCreateWithoutTenantInput[] | Prisma.DocumentationStepUncheckedCreateWithoutTenantInput[];
|
|
653
|
+
connectOrCreate?: Prisma.DocumentationStepCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepCreateOrConnectWithoutTenantInput[];
|
|
654
|
+
upsert?: Prisma.DocumentationStepUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepUpsertWithWhereUniqueWithoutTenantInput[];
|
|
655
|
+
createMany?: Prisma.DocumentationStepCreateManyTenantInputEnvelope;
|
|
656
|
+
set?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
657
|
+
disconnect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
658
|
+
delete?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
659
|
+
connect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
660
|
+
update?: Prisma.DocumentationStepUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepUpdateWithWhereUniqueWithoutTenantInput[];
|
|
661
|
+
updateMany?: Prisma.DocumentationStepUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationStepUpdateManyWithWhereWithoutTenantInput[];
|
|
662
|
+
deleteMany?: Prisma.DocumentationStepScalarWhereInput | Prisma.DocumentationStepScalarWhereInput[];
|
|
663
|
+
};
|
|
664
|
+
export type DocumentationStepUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
665
|
+
create?: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepCreateWithoutTenantInput[] | Prisma.DocumentationStepUncheckedCreateWithoutTenantInput[];
|
|
666
|
+
connectOrCreate?: Prisma.DocumentationStepCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepCreateOrConnectWithoutTenantInput[];
|
|
667
|
+
upsert?: Prisma.DocumentationStepUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepUpsertWithWhereUniqueWithoutTenantInput[];
|
|
668
|
+
createMany?: Prisma.DocumentationStepCreateManyTenantInputEnvelope;
|
|
669
|
+
set?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
670
|
+
disconnect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
671
|
+
delete?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
672
|
+
connect?: Prisma.DocumentationStepWhereUniqueInput | Prisma.DocumentationStepWhereUniqueInput[];
|
|
673
|
+
update?: Prisma.DocumentationStepUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepUpdateWithWhereUniqueWithoutTenantInput[];
|
|
674
|
+
updateMany?: Prisma.DocumentationStepUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationStepUpdateManyWithWhereWithoutTenantInput[];
|
|
675
|
+
deleteMany?: Prisma.DocumentationStepScalarWhereInput | Prisma.DocumentationStepScalarWhereInput[];
|
|
676
|
+
};
|
|
615
677
|
export type DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput = {
|
|
616
678
|
create?: Prisma.XOR<Prisma.DocumentationStepCreateWithoutCurrentForPhaseInput, Prisma.DocumentationStepUncheckedCreateWithoutCurrentForPhaseInput>;
|
|
617
679
|
connectOrCreate?: Prisma.DocumentationStepCreateOrConnectWithoutCurrentForPhaseInput;
|
|
@@ -706,6 +768,7 @@ export type DocumentationStepCreateWithoutAssigneeInput = {
|
|
|
706
768
|
completedAt?: Date | string | null;
|
|
707
769
|
createdAt?: Date | string;
|
|
708
770
|
updatedAt?: Date | string;
|
|
771
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
709
772
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
710
773
|
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
711
774
|
approvals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutStepInput;
|
|
@@ -713,6 +776,7 @@ export type DocumentationStepCreateWithoutAssigneeInput = {
|
|
|
713
776
|
};
|
|
714
777
|
export type DocumentationStepUncheckedCreateWithoutAssigneeInput = {
|
|
715
778
|
id?: string;
|
|
779
|
+
tenantId: string;
|
|
716
780
|
documentationPhaseId: string;
|
|
717
781
|
name: string;
|
|
718
782
|
description?: string | null;
|
|
@@ -757,6 +821,7 @@ export type DocumentationStepScalarWhereInput = {
|
|
|
757
821
|
OR?: Prisma.DocumentationStepScalarWhereInput[];
|
|
758
822
|
NOT?: Prisma.DocumentationStepScalarWhereInput | Prisma.DocumentationStepScalarWhereInput[];
|
|
759
823
|
id?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
824
|
+
tenantId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
760
825
|
documentationPhaseId?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
761
826
|
name?: Prisma.StringFilter<"DocumentationStep"> | string;
|
|
762
827
|
description?: Prisma.StringNullableFilter<"DocumentationStep"> | string | null;
|
|
@@ -773,6 +838,69 @@ export type DocumentationStepScalarWhereInput = {
|
|
|
773
838
|
createdAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
774
839
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationStep"> | Date | string;
|
|
775
840
|
};
|
|
841
|
+
export type DocumentationStepCreateWithoutTenantInput = {
|
|
842
|
+
id?: string;
|
|
843
|
+
name: string;
|
|
844
|
+
description?: string | null;
|
|
845
|
+
stepType: $Enums.StepType;
|
|
846
|
+
order: number;
|
|
847
|
+
status?: $Enums.StepStatus;
|
|
848
|
+
actionReason?: string | null;
|
|
849
|
+
submissionCount?: number;
|
|
850
|
+
lastSubmittedAt?: Date | string | null;
|
|
851
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
852
|
+
dueDate?: Date | string | null;
|
|
853
|
+
completedAt?: Date | string | null;
|
|
854
|
+
createdAt?: Date | string;
|
|
855
|
+
updatedAt?: Date | string;
|
|
856
|
+
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
857
|
+
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
858
|
+
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
859
|
+
approvals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutStepInput;
|
|
860
|
+
currentForPhase?: Prisma.DocumentationPhaseCreateNestedManyWithoutCurrentStepInput;
|
|
861
|
+
};
|
|
862
|
+
export type DocumentationStepUncheckedCreateWithoutTenantInput = {
|
|
863
|
+
id?: string;
|
|
864
|
+
documentationPhaseId: string;
|
|
865
|
+
name: string;
|
|
866
|
+
description?: string | null;
|
|
867
|
+
stepType: $Enums.StepType;
|
|
868
|
+
order: number;
|
|
869
|
+
status?: $Enums.StepStatus;
|
|
870
|
+
actionReason?: string | null;
|
|
871
|
+
submissionCount?: number;
|
|
872
|
+
lastSubmittedAt?: Date | string | null;
|
|
873
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
874
|
+
assigneeId?: string | null;
|
|
875
|
+
dueDate?: Date | string | null;
|
|
876
|
+
completedAt?: Date | string | null;
|
|
877
|
+
createdAt?: Date | string;
|
|
878
|
+
updatedAt?: Date | string;
|
|
879
|
+
requiredDocuments?: Prisma.DocumentationStepDocumentUncheckedCreateNestedManyWithoutStepInput;
|
|
880
|
+
approvals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutStepInput;
|
|
881
|
+
currentForPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutCurrentStepInput;
|
|
882
|
+
};
|
|
883
|
+
export type DocumentationStepCreateOrConnectWithoutTenantInput = {
|
|
884
|
+
where: Prisma.DocumentationStepWhereUniqueInput;
|
|
885
|
+
create: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput>;
|
|
886
|
+
};
|
|
887
|
+
export type DocumentationStepCreateManyTenantInputEnvelope = {
|
|
888
|
+
data: Prisma.DocumentationStepCreateManyTenantInput | Prisma.DocumentationStepCreateManyTenantInput[];
|
|
889
|
+
skipDuplicates?: boolean;
|
|
890
|
+
};
|
|
891
|
+
export type DocumentationStepUpsertWithWhereUniqueWithoutTenantInput = {
|
|
892
|
+
where: Prisma.DocumentationStepWhereUniqueInput;
|
|
893
|
+
update: Prisma.XOR<Prisma.DocumentationStepUpdateWithoutTenantInput, Prisma.DocumentationStepUncheckedUpdateWithoutTenantInput>;
|
|
894
|
+
create: Prisma.XOR<Prisma.DocumentationStepCreateWithoutTenantInput, Prisma.DocumentationStepUncheckedCreateWithoutTenantInput>;
|
|
895
|
+
};
|
|
896
|
+
export type DocumentationStepUpdateWithWhereUniqueWithoutTenantInput = {
|
|
897
|
+
where: Prisma.DocumentationStepWhereUniqueInput;
|
|
898
|
+
data: Prisma.XOR<Prisma.DocumentationStepUpdateWithoutTenantInput, Prisma.DocumentationStepUncheckedUpdateWithoutTenantInput>;
|
|
899
|
+
};
|
|
900
|
+
export type DocumentationStepUpdateManyWithWhereWithoutTenantInput = {
|
|
901
|
+
where: Prisma.DocumentationStepScalarWhereInput;
|
|
902
|
+
data: Prisma.XOR<Prisma.DocumentationStepUpdateManyMutationInput, Prisma.DocumentationStepUncheckedUpdateManyWithoutTenantInput>;
|
|
903
|
+
};
|
|
776
904
|
export type DocumentationStepCreateWithoutCurrentForPhaseInput = {
|
|
777
905
|
id?: string;
|
|
778
906
|
name: string;
|
|
@@ -788,6 +916,7 @@ export type DocumentationStepCreateWithoutCurrentForPhaseInput = {
|
|
|
788
916
|
completedAt?: Date | string | null;
|
|
789
917
|
createdAt?: Date | string;
|
|
790
918
|
updatedAt?: Date | string;
|
|
919
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
791
920
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
792
921
|
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
793
922
|
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
@@ -795,6 +924,7 @@ export type DocumentationStepCreateWithoutCurrentForPhaseInput = {
|
|
|
795
924
|
};
|
|
796
925
|
export type DocumentationStepUncheckedCreateWithoutCurrentForPhaseInput = {
|
|
797
926
|
id?: string;
|
|
927
|
+
tenantId: string;
|
|
798
928
|
documentationPhaseId: string;
|
|
799
929
|
name: string;
|
|
800
930
|
description?: string | null;
|
|
@@ -832,6 +962,7 @@ export type DocumentationStepCreateWithoutDocumentationPhaseInput = {
|
|
|
832
962
|
completedAt?: Date | string | null;
|
|
833
963
|
createdAt?: Date | string;
|
|
834
964
|
updatedAt?: Date | string;
|
|
965
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
835
966
|
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
836
967
|
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
837
968
|
approvals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutStepInput;
|
|
@@ -839,6 +970,7 @@ export type DocumentationStepCreateWithoutDocumentationPhaseInput = {
|
|
|
839
970
|
};
|
|
840
971
|
export type DocumentationStepUncheckedCreateWithoutDocumentationPhaseInput = {
|
|
841
972
|
id?: string;
|
|
973
|
+
tenantId: string;
|
|
842
974
|
name: string;
|
|
843
975
|
description?: string | null;
|
|
844
976
|
stepType: $Enums.StepType;
|
|
@@ -889,6 +1021,7 @@ export type DocumentationStepUpdateWithoutCurrentForPhaseInput = {
|
|
|
889
1021
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
890
1022
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
891
1023
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1024
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
892
1025
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
893
1026
|
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
894
1027
|
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
@@ -896,6 +1029,7 @@ export type DocumentationStepUpdateWithoutCurrentForPhaseInput = {
|
|
|
896
1029
|
};
|
|
897
1030
|
export type DocumentationStepUncheckedUpdateWithoutCurrentForPhaseInput = {
|
|
898
1031
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1032
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
899
1033
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
900
1034
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
901
1035
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -942,6 +1076,7 @@ export type DocumentationStepCreateWithoutRequiredDocumentsInput = {
|
|
|
942
1076
|
completedAt?: Date | string | null;
|
|
943
1077
|
createdAt?: Date | string;
|
|
944
1078
|
updatedAt?: Date | string;
|
|
1079
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
945
1080
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
946
1081
|
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
947
1082
|
approvals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutStepInput;
|
|
@@ -949,6 +1084,7 @@ export type DocumentationStepCreateWithoutRequiredDocumentsInput = {
|
|
|
949
1084
|
};
|
|
950
1085
|
export type DocumentationStepUncheckedCreateWithoutRequiredDocumentsInput = {
|
|
951
1086
|
id?: string;
|
|
1087
|
+
tenantId: string;
|
|
952
1088
|
documentationPhaseId: string;
|
|
953
1089
|
name: string;
|
|
954
1090
|
description?: string | null;
|
|
@@ -995,6 +1131,7 @@ export type DocumentationStepUpdateWithoutRequiredDocumentsInput = {
|
|
|
995
1131
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
996
1132
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
997
1133
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1134
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
998
1135
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
999
1136
|
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
1000
1137
|
approvals?: Prisma.DocumentationStepApprovalUpdateManyWithoutStepNestedInput;
|
|
@@ -1002,6 +1139,7 @@ export type DocumentationStepUpdateWithoutRequiredDocumentsInput = {
|
|
|
1002
1139
|
};
|
|
1003
1140
|
export type DocumentationStepUncheckedUpdateWithoutRequiredDocumentsInput = {
|
|
1004
1141
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1142
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1005
1143
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1006
1144
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1007
1145
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1035,6 +1173,7 @@ export type DocumentationStepCreateWithoutApprovalsInput = {
|
|
|
1035
1173
|
completedAt?: Date | string | null;
|
|
1036
1174
|
createdAt?: Date | string;
|
|
1037
1175
|
updatedAt?: Date | string;
|
|
1176
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepsInput;
|
|
1038
1177
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStepsInput;
|
|
1039
1178
|
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
1040
1179
|
requiredDocuments?: Prisma.DocumentationStepDocumentCreateNestedManyWithoutStepInput;
|
|
@@ -1042,6 +1181,7 @@ export type DocumentationStepCreateWithoutApprovalsInput = {
|
|
|
1042
1181
|
};
|
|
1043
1182
|
export type DocumentationStepUncheckedCreateWithoutApprovalsInput = {
|
|
1044
1183
|
id?: string;
|
|
1184
|
+
tenantId: string;
|
|
1045
1185
|
documentationPhaseId: string;
|
|
1046
1186
|
name: string;
|
|
1047
1187
|
description?: string | null;
|
|
@@ -1088,6 +1228,7 @@ export type DocumentationStepUpdateWithoutApprovalsInput = {
|
|
|
1088
1228
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1089
1229
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1090
1230
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1231
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
1091
1232
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
1092
1233
|
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
1093
1234
|
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
@@ -1095,6 +1236,7 @@ export type DocumentationStepUpdateWithoutApprovalsInput = {
|
|
|
1095
1236
|
};
|
|
1096
1237
|
export type DocumentationStepUncheckedUpdateWithoutApprovalsInput = {
|
|
1097
1238
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1239
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1098
1240
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1099
1241
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1100
1242
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1115,6 +1257,7 @@ export type DocumentationStepUncheckedUpdateWithoutApprovalsInput = {
|
|
|
1115
1257
|
};
|
|
1116
1258
|
export type DocumentationStepCreateManyAssigneeInput = {
|
|
1117
1259
|
id?: string;
|
|
1260
|
+
tenantId: string;
|
|
1118
1261
|
documentationPhaseId: string;
|
|
1119
1262
|
name: string;
|
|
1120
1263
|
description?: string | null;
|
|
@@ -1145,6 +1288,7 @@ export type DocumentationStepUpdateWithoutAssigneeInput = {
|
|
|
1145
1288
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1146
1289
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1147
1290
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1291
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
1148
1292
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
1149
1293
|
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
1150
1294
|
approvals?: Prisma.DocumentationStepApprovalUpdateManyWithoutStepNestedInput;
|
|
@@ -1152,6 +1296,7 @@ export type DocumentationStepUpdateWithoutAssigneeInput = {
|
|
|
1152
1296
|
};
|
|
1153
1297
|
export type DocumentationStepUncheckedUpdateWithoutAssigneeInput = {
|
|
1154
1298
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1299
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1155
1300
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1156
1301
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1157
1302
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1171,6 +1316,63 @@ export type DocumentationStepUncheckedUpdateWithoutAssigneeInput = {
|
|
|
1171
1316
|
currentForPhase?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepNestedInput;
|
|
1172
1317
|
};
|
|
1173
1318
|
export type DocumentationStepUncheckedUpdateManyWithoutAssigneeInput = {
|
|
1319
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1320
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1321
|
+
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1322
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1323
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1324
|
+
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
1325
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1326
|
+
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
1327
|
+
actionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1328
|
+
submissionCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1329
|
+
lastSubmittedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1330
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1331
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1332
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1333
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1334
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1335
|
+
};
|
|
1336
|
+
export type DocumentationStepCreateManyTenantInput = {
|
|
1337
|
+
id?: string;
|
|
1338
|
+
documentationPhaseId: string;
|
|
1339
|
+
name: string;
|
|
1340
|
+
description?: string | null;
|
|
1341
|
+
stepType: $Enums.StepType;
|
|
1342
|
+
order: number;
|
|
1343
|
+
status?: $Enums.StepStatus;
|
|
1344
|
+
actionReason?: string | null;
|
|
1345
|
+
submissionCount?: number;
|
|
1346
|
+
lastSubmittedAt?: Date | string | null;
|
|
1347
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1348
|
+
assigneeId?: string | null;
|
|
1349
|
+
dueDate?: Date | string | null;
|
|
1350
|
+
completedAt?: Date | string | null;
|
|
1351
|
+
createdAt?: Date | string;
|
|
1352
|
+
updatedAt?: Date | string;
|
|
1353
|
+
};
|
|
1354
|
+
export type DocumentationStepUpdateWithoutTenantInput = {
|
|
1355
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1356
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1357
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1358
|
+
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
1359
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1360
|
+
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
1361
|
+
actionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1362
|
+
submissionCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1363
|
+
lastSubmittedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1364
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1365
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1366
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1367
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1368
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1369
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
1370
|
+
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
1371
|
+
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
1372
|
+
approvals?: Prisma.DocumentationStepApprovalUpdateManyWithoutStepNestedInput;
|
|
1373
|
+
currentForPhase?: Prisma.DocumentationPhaseUpdateManyWithoutCurrentStepNestedInput;
|
|
1374
|
+
};
|
|
1375
|
+
export type DocumentationStepUncheckedUpdateWithoutTenantInput = {
|
|
1174
1376
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1175
1377
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1176
1378
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1182,6 +1384,28 @@ export type DocumentationStepUncheckedUpdateManyWithoutAssigneeInput = {
|
|
|
1182
1384
|
submissionCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1183
1385
|
lastSubmittedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1184
1386
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1387
|
+
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1388
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1389
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1390
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1391
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1392
|
+
requiredDocuments?: Prisma.DocumentationStepDocumentUncheckedUpdateManyWithoutStepNestedInput;
|
|
1393
|
+
approvals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutStepNestedInput;
|
|
1394
|
+
currentForPhase?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepNestedInput;
|
|
1395
|
+
};
|
|
1396
|
+
export type DocumentationStepUncheckedUpdateManyWithoutTenantInput = {
|
|
1397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1398
|
+
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1399
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1400
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1401
|
+
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
1402
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1403
|
+
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
1404
|
+
actionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1405
|
+
submissionCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1406
|
+
lastSubmittedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1407
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1408
|
+
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1185
1409
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1186
1410
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1187
1411
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -1189,6 +1413,7 @@ export type DocumentationStepUncheckedUpdateManyWithoutAssigneeInput = {
|
|
|
1189
1413
|
};
|
|
1190
1414
|
export type DocumentationStepCreateManyDocumentationPhaseInput = {
|
|
1191
1415
|
id?: string;
|
|
1416
|
+
tenantId: string;
|
|
1192
1417
|
name: string;
|
|
1193
1418
|
description?: string | null;
|
|
1194
1419
|
stepType: $Enums.StepType;
|
|
@@ -1219,6 +1444,7 @@ export type DocumentationStepUpdateWithoutDocumentationPhaseInput = {
|
|
|
1219
1444
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1220
1445
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1221
1446
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1447
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepsNestedInput;
|
|
1222
1448
|
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
1223
1449
|
requiredDocuments?: Prisma.DocumentationStepDocumentUpdateManyWithoutStepNestedInput;
|
|
1224
1450
|
approvals?: Prisma.DocumentationStepApprovalUpdateManyWithoutStepNestedInput;
|
|
@@ -1226,6 +1452,7 @@ export type DocumentationStepUpdateWithoutDocumentationPhaseInput = {
|
|
|
1226
1452
|
};
|
|
1227
1453
|
export type DocumentationStepUncheckedUpdateWithoutDocumentationPhaseInput = {
|
|
1228
1454
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1455
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1229
1456
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1230
1457
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1231
1458
|
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
@@ -1246,6 +1473,7 @@ export type DocumentationStepUncheckedUpdateWithoutDocumentationPhaseInput = {
|
|
|
1246
1473
|
};
|
|
1247
1474
|
export type DocumentationStepUncheckedUpdateManyWithoutDocumentationPhaseInput = {
|
|
1248
1475
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1476
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1249
1477
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1250
1478
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1251
1479
|
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
@@ -1303,6 +1531,7 @@ export type DocumentationStepCountOutputTypeCountCurrentForPhaseArgs<ExtArgs ext
|
|
|
1303
1531
|
};
|
|
1304
1532
|
export type DocumentationStepSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1305
1533
|
id?: boolean;
|
|
1534
|
+
tenantId?: boolean;
|
|
1306
1535
|
documentationPhaseId?: boolean;
|
|
1307
1536
|
name?: boolean;
|
|
1308
1537
|
description?: boolean;
|
|
@@ -1318,6 +1547,7 @@ export type DocumentationStepSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1318
1547
|
completedAt?: boolean;
|
|
1319
1548
|
createdAt?: boolean;
|
|
1320
1549
|
updatedAt?: boolean;
|
|
1550
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1321
1551
|
documentationPhase?: boolean | Prisma.DocumentationPhaseDefaultArgs<ExtArgs>;
|
|
1322
1552
|
assignee?: boolean | Prisma.DocumentationStep$assigneeArgs<ExtArgs>;
|
|
1323
1553
|
requiredDocuments?: boolean | Prisma.DocumentationStep$requiredDocumentsArgs<ExtArgs>;
|
|
@@ -1327,6 +1557,7 @@ export type DocumentationStepSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1327
1557
|
}, ExtArgs["result"]["documentationStep"]>;
|
|
1328
1558
|
export type DocumentationStepSelectScalar = {
|
|
1329
1559
|
id?: boolean;
|
|
1560
|
+
tenantId?: boolean;
|
|
1330
1561
|
documentationPhaseId?: boolean;
|
|
1331
1562
|
name?: boolean;
|
|
1332
1563
|
description?: boolean;
|
|
@@ -1343,8 +1574,9 @@ export type DocumentationStepSelectScalar = {
|
|
|
1343
1574
|
createdAt?: boolean;
|
|
1344
1575
|
updatedAt?: boolean;
|
|
1345
1576
|
};
|
|
1346
|
-
export type DocumentationStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "documentationPhaseId" | "name" | "description" | "stepType" | "order" | "status" | "actionReason" | "submissionCount" | "lastSubmittedAt" | "metadata" | "assigneeId" | "dueDate" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationStep"]>;
|
|
1577
|
+
export type DocumentationStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentationPhaseId" | "name" | "description" | "stepType" | "order" | "status" | "actionReason" | "submissionCount" | "lastSubmittedAt" | "metadata" | "assigneeId" | "dueDate" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationStep"]>;
|
|
1347
1578
|
export type DocumentationStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1579
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1348
1580
|
documentationPhase?: boolean | Prisma.DocumentationPhaseDefaultArgs<ExtArgs>;
|
|
1349
1581
|
assignee?: boolean | Prisma.DocumentationStep$assigneeArgs<ExtArgs>;
|
|
1350
1582
|
requiredDocuments?: boolean | Prisma.DocumentationStep$requiredDocumentsArgs<ExtArgs>;
|
|
@@ -1355,6 +1587,7 @@ export type DocumentationStepInclude<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1355
1587
|
export type $DocumentationStepPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1356
1588
|
name: "DocumentationStep";
|
|
1357
1589
|
objects: {
|
|
1590
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1358
1591
|
documentationPhase: Prisma.$DocumentationPhasePayload<ExtArgs>;
|
|
1359
1592
|
assignee: Prisma.$UserPayload<ExtArgs> | null;
|
|
1360
1593
|
requiredDocuments: Prisma.$DocumentationStepDocumentPayload<ExtArgs>[];
|
|
@@ -1363,6 +1596,7 @@ export type $DocumentationStepPayload<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1363
1596
|
};
|
|
1364
1597
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1365
1598
|
id: string;
|
|
1599
|
+
tenantId: string;
|
|
1366
1600
|
documentationPhaseId: string;
|
|
1367
1601
|
name: string;
|
|
1368
1602
|
description: string | null;
|
|
@@ -1655,6 +1889,7 @@ export interface DocumentationStepDelegate<ExtArgs extends runtime.Types.Extensi
|
|
|
1655
1889
|
*/
|
|
1656
1890
|
export interface Prisma__DocumentationStepClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1657
1891
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1892
|
+
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>;
|
|
1658
1893
|
documentationPhase<T extends Prisma.DocumentationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__DocumentationPhaseClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1659
1894
|
assignee<T extends Prisma.DocumentationStep$assigneeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationStep$assigneeArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1660
1895
|
requiredDocuments<T extends Prisma.DocumentationStep$requiredDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationStep$requiredDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationStepDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -1686,6 +1921,7 @@ export interface Prisma__DocumentationStepClient<T, Null = never, ExtArgs extend
|
|
|
1686
1921
|
*/
|
|
1687
1922
|
export interface DocumentationStepFieldRefs {
|
|
1688
1923
|
readonly id: Prisma.FieldRef<"DocumentationStep", 'String'>;
|
|
1924
|
+
readonly tenantId: Prisma.FieldRef<"DocumentationStep", 'String'>;
|
|
1689
1925
|
readonly documentationPhaseId: Prisma.FieldRef<"DocumentationStep", 'String'>;
|
|
1690
1926
|
readonly name: Prisma.FieldRef<"DocumentationStep", 'String'>;
|
|
1691
1927
|
readonly description: Prisma.FieldRef<"DocumentationStep", 'String'>;
|