@valentine-efagene/qshelter-common 2.0.101 → 2.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +10 -0
- package/dist/generated/client/client.d.ts +10 -0
- package/dist/generated/client/commonInputTypes.d.ts +84 -84
- package/dist/generated/client/internal/class.d.ts +22 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +192 -5
- package/dist/generated/client/internal/prismaNamespace.js +49 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +53 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +49 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +231 -1
- package/dist/generated/client/models/DocumentationPlan.d.ts +1555 -0
- package/dist/generated/client/models/DocumentationPlan.js +1 -0
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +1220 -0
- package/dist/generated/client/models/DocumentationPlanStep.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +281 -2
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +0 -3
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +287 -1
- 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 +4246 -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/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/dist/src/prisma/tenant.js +2 -8
- package/package.json +1 -1
- package/prisma/migrations/20260113122855_add_tenant_to_remaining_models/migration.sql +64 -0
- package/prisma/migrations/20260114034523_add_documentation_plan/migration.sql +52 -0
- package/prisma/schema.prisma +97 -10
|
@@ -31,6 +31,7 @@ export type DocumentationPhaseMinAggregateOutputType = {
|
|
|
31
31
|
id: string | null;
|
|
32
32
|
tenantId: string | null;
|
|
33
33
|
phaseId: string | null;
|
|
34
|
+
documentationPlanId: string | null;
|
|
34
35
|
currentStepId: string | null;
|
|
35
36
|
approvedDocumentsCount: number | null;
|
|
36
37
|
requiredDocumentsCount: number | null;
|
|
@@ -45,6 +46,7 @@ export type DocumentationPhaseMaxAggregateOutputType = {
|
|
|
45
46
|
id: string | null;
|
|
46
47
|
tenantId: string | null;
|
|
47
48
|
phaseId: string | null;
|
|
49
|
+
documentationPlanId: string | null;
|
|
48
50
|
currentStepId: string | null;
|
|
49
51
|
approvedDocumentsCount: number | null;
|
|
50
52
|
requiredDocumentsCount: number | null;
|
|
@@ -59,6 +61,7 @@ export type DocumentationPhaseCountAggregateOutputType = {
|
|
|
59
61
|
id: number;
|
|
60
62
|
tenantId: number;
|
|
61
63
|
phaseId: number;
|
|
64
|
+
documentationPlanId: number;
|
|
62
65
|
currentStepId: number;
|
|
63
66
|
approvedDocumentsCount: number;
|
|
64
67
|
requiredDocumentsCount: number;
|
|
@@ -90,6 +93,7 @@ export type DocumentationPhaseMinAggregateInputType = {
|
|
|
90
93
|
id?: true;
|
|
91
94
|
tenantId?: true;
|
|
92
95
|
phaseId?: true;
|
|
96
|
+
documentationPlanId?: true;
|
|
93
97
|
currentStepId?: true;
|
|
94
98
|
approvedDocumentsCount?: true;
|
|
95
99
|
requiredDocumentsCount?: true;
|
|
@@ -104,6 +108,7 @@ export type DocumentationPhaseMaxAggregateInputType = {
|
|
|
104
108
|
id?: true;
|
|
105
109
|
tenantId?: true;
|
|
106
110
|
phaseId?: true;
|
|
111
|
+
documentationPlanId?: true;
|
|
107
112
|
currentStepId?: true;
|
|
108
113
|
approvedDocumentsCount?: true;
|
|
109
114
|
requiredDocumentsCount?: true;
|
|
@@ -118,6 +123,7 @@ export type DocumentationPhaseCountAggregateInputType = {
|
|
|
118
123
|
id?: true;
|
|
119
124
|
tenantId?: true;
|
|
120
125
|
phaseId?: true;
|
|
126
|
+
documentationPlanId?: true;
|
|
121
127
|
currentStepId?: true;
|
|
122
128
|
approvedDocumentsCount?: true;
|
|
123
129
|
requiredDocumentsCount?: true;
|
|
@@ -211,6 +217,7 @@ export type DocumentationPhaseGroupByOutputType = {
|
|
|
211
217
|
id: string;
|
|
212
218
|
tenantId: string;
|
|
213
219
|
phaseId: string;
|
|
220
|
+
documentationPlanId: string | null;
|
|
214
221
|
currentStepId: string | null;
|
|
215
222
|
approvedDocumentsCount: number;
|
|
216
223
|
requiredDocumentsCount: number;
|
|
@@ -238,6 +245,7 @@ export type DocumentationPhaseWhereInput = {
|
|
|
238
245
|
id?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
239
246
|
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
240
247
|
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
248
|
+
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
241
249
|
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
242
250
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
243
251
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
@@ -251,6 +259,7 @@ export type DocumentationPhaseWhereInput = {
|
|
|
251
259
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
252
260
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
253
261
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
262
|
+
documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
|
|
254
263
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
255
264
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
256
265
|
};
|
|
@@ -258,6 +267,7 @@ export type DocumentationPhaseOrderByWithRelationInput = {
|
|
|
258
267
|
id?: Prisma.SortOrder;
|
|
259
268
|
tenantId?: Prisma.SortOrder;
|
|
260
269
|
phaseId?: Prisma.SortOrder;
|
|
270
|
+
documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
261
271
|
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
262
272
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
263
273
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
@@ -271,6 +281,7 @@ export type DocumentationPhaseOrderByWithRelationInput = {
|
|
|
271
281
|
updatedAt?: Prisma.SortOrder;
|
|
272
282
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
273
283
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
284
|
+
documentationPlan?: Prisma.DocumentationPlanOrderByWithRelationInput;
|
|
274
285
|
currentStep?: Prisma.DocumentationStepOrderByWithRelationInput;
|
|
275
286
|
steps?: Prisma.DocumentationStepOrderByRelationAggregateInput;
|
|
276
287
|
_relevance?: Prisma.DocumentationPhaseOrderByRelevanceInput;
|
|
@@ -282,6 +293,7 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
282
293
|
OR?: Prisma.DocumentationPhaseWhereInput[];
|
|
283
294
|
NOT?: Prisma.DocumentationPhaseWhereInput | Prisma.DocumentationPhaseWhereInput[];
|
|
284
295
|
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
296
|
+
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
285
297
|
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
286
298
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
287
299
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
@@ -295,6 +307,7 @@ export type DocumentationPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
295
307
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
296
308
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
297
309
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
310
|
+
documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
|
|
298
311
|
currentStep?: Prisma.XOR<Prisma.DocumentationStepNullableScalarRelationFilter, Prisma.DocumentationStepWhereInput> | null;
|
|
299
312
|
steps?: Prisma.DocumentationStepListRelationFilter;
|
|
300
313
|
}, "id" | "phaseId">;
|
|
@@ -302,6 +315,7 @@ export type DocumentationPhaseOrderByWithAggregationInput = {
|
|
|
302
315
|
id?: Prisma.SortOrder;
|
|
303
316
|
tenantId?: Prisma.SortOrder;
|
|
304
317
|
phaseId?: Prisma.SortOrder;
|
|
318
|
+
documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
305
319
|
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
306
320
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
307
321
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
@@ -326,6 +340,7 @@ export type DocumentationPhaseScalarWhereWithAggregatesInput = {
|
|
|
326
340
|
id?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
327
341
|
tenantId?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
328
342
|
phaseId?: Prisma.StringWithAggregatesFilter<"DocumentationPhase"> | string;
|
|
343
|
+
documentationPlanId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPhase"> | string | null;
|
|
329
344
|
currentStepId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPhase"> | string | null;
|
|
330
345
|
approvedDocumentsCount?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
331
346
|
requiredDocumentsCount?: Prisma.IntWithAggregatesFilter<"DocumentationPhase"> | number;
|
|
@@ -352,6 +367,7 @@ export type DocumentationPhaseCreateInput = {
|
|
|
352
367
|
updatedAt?: Date | string;
|
|
353
368
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
354
369
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
370
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
355
371
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
356
372
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
357
373
|
};
|
|
@@ -359,6 +375,7 @@ export type DocumentationPhaseUncheckedCreateInput = {
|
|
|
359
375
|
id?: string;
|
|
360
376
|
tenantId: string;
|
|
361
377
|
phaseId: string;
|
|
378
|
+
documentationPlanId?: string | null;
|
|
362
379
|
currentStepId?: string | null;
|
|
363
380
|
approvedDocumentsCount?: number;
|
|
364
381
|
requiredDocumentsCount?: number;
|
|
@@ -386,6 +403,7 @@ export type DocumentationPhaseUpdateInput = {
|
|
|
386
403
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
387
404
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
388
405
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
406
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
389
407
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
390
408
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
391
409
|
};
|
|
@@ -393,6 +411,7 @@ export type DocumentationPhaseUncheckedUpdateInput = {
|
|
|
393
411
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
412
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
413
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
396
415
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
397
416
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
398
417
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -410,6 +429,7 @@ export type DocumentationPhaseCreateManyInput = {
|
|
|
410
429
|
id?: string;
|
|
411
430
|
tenantId: string;
|
|
412
431
|
phaseId: string;
|
|
432
|
+
documentationPlanId?: string | null;
|
|
413
433
|
currentStepId?: string | null;
|
|
414
434
|
approvedDocumentsCount?: number;
|
|
415
435
|
requiredDocumentsCount?: number;
|
|
@@ -439,6 +459,7 @@ export type DocumentationPhaseUncheckedUpdateManyInput = {
|
|
|
439
459
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
460
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
441
461
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
442
463
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
443
464
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
444
465
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -472,6 +493,7 @@ export type DocumentationPhaseCountOrderByAggregateInput = {
|
|
|
472
493
|
id?: Prisma.SortOrder;
|
|
473
494
|
tenantId?: Prisma.SortOrder;
|
|
474
495
|
phaseId?: Prisma.SortOrder;
|
|
496
|
+
documentationPlanId?: Prisma.SortOrder;
|
|
475
497
|
currentStepId?: Prisma.SortOrder;
|
|
476
498
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
477
499
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
@@ -495,6 +517,7 @@ export type DocumentationPhaseMaxOrderByAggregateInput = {
|
|
|
495
517
|
id?: Prisma.SortOrder;
|
|
496
518
|
tenantId?: Prisma.SortOrder;
|
|
497
519
|
phaseId?: Prisma.SortOrder;
|
|
520
|
+
documentationPlanId?: Prisma.SortOrder;
|
|
498
521
|
currentStepId?: Prisma.SortOrder;
|
|
499
522
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
500
523
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
@@ -509,6 +532,7 @@ export type DocumentationPhaseMinOrderByAggregateInput = {
|
|
|
509
532
|
id?: Prisma.SortOrder;
|
|
510
533
|
tenantId?: Prisma.SortOrder;
|
|
511
534
|
phaseId?: Prisma.SortOrder;
|
|
535
|
+
documentationPlanId?: Prisma.SortOrder;
|
|
512
536
|
currentStepId?: Prisma.SortOrder;
|
|
513
537
|
approvedDocumentsCount?: Prisma.SortOrder;
|
|
514
538
|
requiredDocumentsCount?: Prisma.SortOrder;
|
|
@@ -568,6 +592,44 @@ export type DocumentationPhaseUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
|
568
592
|
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutTenantInput[];
|
|
569
593
|
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
570
594
|
};
|
|
595
|
+
export type DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput = {
|
|
596
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput[];
|
|
597
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput[];
|
|
598
|
+
createMany?: Prisma.DocumentationPhaseCreateManyDocumentationPlanInputEnvelope;
|
|
599
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
600
|
+
};
|
|
601
|
+
export type DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput[];
|
|
603
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput[];
|
|
604
|
+
createMany?: Prisma.DocumentationPhaseCreateManyDocumentationPlanInputEnvelope;
|
|
605
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
606
|
+
};
|
|
607
|
+
export type DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput[];
|
|
609
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput[];
|
|
610
|
+
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
|
|
611
|
+
createMany?: Prisma.DocumentationPhaseCreateManyDocumentationPlanInputEnvelope;
|
|
612
|
+
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
613
|
+
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
614
|
+
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
615
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
616
|
+
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
|
|
617
|
+
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
|
|
618
|
+
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
619
|
+
};
|
|
620
|
+
export type DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput = {
|
|
621
|
+
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput[] | Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput[];
|
|
622
|
+
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput[];
|
|
623
|
+
upsert?: Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
|
|
624
|
+
createMany?: Prisma.DocumentationPhaseCreateManyDocumentationPlanInputEnvelope;
|
|
625
|
+
set?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
626
|
+
disconnect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
627
|
+
delete?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
628
|
+
connect?: Prisma.DocumentationPhaseWhereUniqueInput | Prisma.DocumentationPhaseWhereUniqueInput[];
|
|
629
|
+
update?: Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
|
|
630
|
+
updateMany?: Prisma.DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
|
|
631
|
+
deleteMany?: Prisma.DocumentationPhaseScalarWhereInput | Prisma.DocumentationPhaseScalarWhereInput[];
|
|
632
|
+
};
|
|
571
633
|
export type DocumentationPhaseCreateNestedOneWithoutPhaseInput = {
|
|
572
634
|
create?: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutPhaseInput, Prisma.DocumentationPhaseUncheckedCreateWithoutPhaseInput>;
|
|
573
635
|
connectOrCreate?: Prisma.DocumentationPhaseCreateOrConnectWithoutPhaseInput;
|
|
@@ -659,12 +721,14 @@ export type DocumentationPhaseCreateWithoutTenantInput = {
|
|
|
659
721
|
createdAt?: Date | string;
|
|
660
722
|
updatedAt?: Date | string;
|
|
661
723
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
724
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
662
725
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
663
726
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
664
727
|
};
|
|
665
728
|
export type DocumentationPhaseUncheckedCreateWithoutTenantInput = {
|
|
666
729
|
id?: string;
|
|
667
730
|
phaseId: string;
|
|
731
|
+
documentationPlanId?: string | null;
|
|
668
732
|
currentStepId?: string | null;
|
|
669
733
|
approvedDocumentsCount?: number;
|
|
670
734
|
requiredDocumentsCount?: number;
|
|
@@ -706,6 +770,7 @@ export type DocumentationPhaseScalarWhereInput = {
|
|
|
706
770
|
id?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
707
771
|
tenantId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
708
772
|
phaseId?: Prisma.StringFilter<"DocumentationPhase"> | string;
|
|
773
|
+
documentationPlanId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
709
774
|
currentStepId?: Prisma.StringNullableFilter<"DocumentationPhase"> | string | null;
|
|
710
775
|
approvedDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
711
776
|
requiredDocumentsCount?: Prisma.IntFilter<"DocumentationPhase"> | number;
|
|
@@ -718,6 +783,61 @@ export type DocumentationPhaseScalarWhereInput = {
|
|
|
718
783
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
719
784
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPhase"> | Date | string;
|
|
720
785
|
};
|
|
786
|
+
export type DocumentationPhaseCreateWithoutDocumentationPlanInput = {
|
|
787
|
+
id?: string;
|
|
788
|
+
approvedDocumentsCount?: number;
|
|
789
|
+
requiredDocumentsCount?: number;
|
|
790
|
+
completedStepsCount?: number;
|
|
791
|
+
totalStepsCount?: number;
|
|
792
|
+
minimumCompletionPercentage?: number | null;
|
|
793
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
794
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
795
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
796
|
+
createdAt?: Date | string;
|
|
797
|
+
updatedAt?: Date | string;
|
|
798
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
799
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
800
|
+
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
801
|
+
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
802
|
+
};
|
|
803
|
+
export type DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput = {
|
|
804
|
+
id?: string;
|
|
805
|
+
tenantId: string;
|
|
806
|
+
phaseId: string;
|
|
807
|
+
currentStepId?: string | null;
|
|
808
|
+
approvedDocumentsCount?: number;
|
|
809
|
+
requiredDocumentsCount?: number;
|
|
810
|
+
completedStepsCount?: number;
|
|
811
|
+
totalStepsCount?: number;
|
|
812
|
+
minimumCompletionPercentage?: number | null;
|
|
813
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
814
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
815
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
816
|
+
createdAt?: Date | string;
|
|
817
|
+
updatedAt?: Date | string;
|
|
818
|
+
steps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutDocumentationPhaseInput;
|
|
819
|
+
};
|
|
820
|
+
export type DocumentationPhaseCreateOrConnectWithoutDocumentationPlanInput = {
|
|
821
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
822
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput>;
|
|
823
|
+
};
|
|
824
|
+
export type DocumentationPhaseCreateManyDocumentationPlanInputEnvelope = {
|
|
825
|
+
data: Prisma.DocumentationPhaseCreateManyDocumentationPlanInput | Prisma.DocumentationPhaseCreateManyDocumentationPlanInput[];
|
|
826
|
+
skipDuplicates?: boolean;
|
|
827
|
+
};
|
|
828
|
+
export type DocumentationPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput = {
|
|
829
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
830
|
+
update: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
|
|
831
|
+
create: Prisma.XOR<Prisma.DocumentationPhaseCreateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedCreateWithoutDocumentationPlanInput>;
|
|
832
|
+
};
|
|
833
|
+
export type DocumentationPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput = {
|
|
834
|
+
where: Prisma.DocumentationPhaseWhereUniqueInput;
|
|
835
|
+
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateWithoutDocumentationPlanInput, Prisma.DocumentationPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
|
|
836
|
+
};
|
|
837
|
+
export type DocumentationPhaseUpdateManyWithWhereWithoutDocumentationPlanInput = {
|
|
838
|
+
where: Prisma.DocumentationPhaseScalarWhereInput;
|
|
839
|
+
data: Prisma.XOR<Prisma.DocumentationPhaseUpdateManyMutationInput, Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanInput>;
|
|
840
|
+
};
|
|
721
841
|
export type DocumentationPhaseCreateWithoutPhaseInput = {
|
|
722
842
|
id?: string;
|
|
723
843
|
approvedDocumentsCount?: number;
|
|
@@ -731,12 +851,14 @@ export type DocumentationPhaseCreateWithoutPhaseInput = {
|
|
|
731
851
|
createdAt?: Date | string;
|
|
732
852
|
updatedAt?: Date | string;
|
|
733
853
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
854
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
734
855
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
735
856
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
736
857
|
};
|
|
737
858
|
export type DocumentationPhaseUncheckedCreateWithoutPhaseInput = {
|
|
738
859
|
id?: string;
|
|
739
860
|
tenantId: string;
|
|
861
|
+
documentationPlanId?: string | null;
|
|
740
862
|
currentStepId?: string | null;
|
|
741
863
|
approvedDocumentsCount?: number;
|
|
742
864
|
requiredDocumentsCount?: number;
|
|
@@ -776,12 +898,14 @@ export type DocumentationPhaseUpdateWithoutPhaseInput = {
|
|
|
776
898
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
777
899
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
778
900
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
901
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
779
902
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
780
903
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
781
904
|
};
|
|
782
905
|
export type DocumentationPhaseUncheckedUpdateWithoutPhaseInput = {
|
|
783
906
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
907
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
908
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
785
909
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
786
910
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
787
911
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -809,12 +933,14 @@ export type DocumentationPhaseCreateWithoutStepsInput = {
|
|
|
809
933
|
updatedAt?: Date | string;
|
|
810
934
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
811
935
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
936
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
812
937
|
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
813
938
|
};
|
|
814
939
|
export type DocumentationPhaseUncheckedCreateWithoutStepsInput = {
|
|
815
940
|
id?: string;
|
|
816
941
|
tenantId: string;
|
|
817
942
|
phaseId: string;
|
|
943
|
+
documentationPlanId?: string | null;
|
|
818
944
|
currentStepId?: string | null;
|
|
819
945
|
approvedDocumentsCount?: number;
|
|
820
946
|
requiredDocumentsCount?: number;
|
|
@@ -845,12 +971,14 @@ export type DocumentationPhaseCreateWithoutCurrentStepInput = {
|
|
|
845
971
|
updatedAt?: Date | string;
|
|
846
972
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentationPhasesInput;
|
|
847
973
|
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutDocumentationPhaseInput;
|
|
974
|
+
documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutDocumentationPhasesInput;
|
|
848
975
|
steps?: Prisma.DocumentationStepCreateNestedManyWithoutDocumentationPhaseInput;
|
|
849
976
|
};
|
|
850
977
|
export type DocumentationPhaseUncheckedCreateWithoutCurrentStepInput = {
|
|
851
978
|
id?: string;
|
|
852
979
|
tenantId: string;
|
|
853
980
|
phaseId: string;
|
|
981
|
+
documentationPlanId?: string | null;
|
|
854
982
|
approvedDocumentsCount?: number;
|
|
855
983
|
requiredDocumentsCount?: number;
|
|
856
984
|
completedStepsCount?: number;
|
|
@@ -894,12 +1022,14 @@ export type DocumentationPhaseUpdateWithoutStepsInput = {
|
|
|
894
1022
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
895
1023
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
896
1024
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1025
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
897
1026
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
898
1027
|
};
|
|
899
1028
|
export type DocumentationPhaseUncheckedUpdateWithoutStepsInput = {
|
|
900
1029
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
901
1030
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
902
1031
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1032
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
903
1033
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
904
1034
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
905
1035
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -928,6 +1058,7 @@ export type DocumentationPhaseUpdateManyWithWhereWithoutCurrentStepInput = {
|
|
|
928
1058
|
export type DocumentationPhaseCreateManyTenantInput = {
|
|
929
1059
|
id?: string;
|
|
930
1060
|
phaseId: string;
|
|
1061
|
+
documentationPlanId?: string | null;
|
|
931
1062
|
currentStepId?: string | null;
|
|
932
1063
|
approvedDocumentsCount?: number;
|
|
933
1064
|
requiredDocumentsCount?: number;
|
|
@@ -953,12 +1084,14 @@ export type DocumentationPhaseUpdateWithoutTenantInput = {
|
|
|
953
1084
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
954
1085
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
955
1086
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1087
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
956
1088
|
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
957
1089
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
958
1090
|
};
|
|
959
1091
|
export type DocumentationPhaseUncheckedUpdateWithoutTenantInput = {
|
|
960
1092
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
961
1093
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1094
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
962
1095
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
963
1096
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
964
1097
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -975,6 +1108,73 @@ export type DocumentationPhaseUncheckedUpdateWithoutTenantInput = {
|
|
|
975
1108
|
export type DocumentationPhaseUncheckedUpdateManyWithoutTenantInput = {
|
|
976
1109
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
977
1110
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1111
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1112
|
+
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1113
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1114
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1115
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1116
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1117
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1118
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1119
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1120
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1121
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1122
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1123
|
+
};
|
|
1124
|
+
export type DocumentationPhaseCreateManyDocumentationPlanInput = {
|
|
1125
|
+
id?: string;
|
|
1126
|
+
tenantId: string;
|
|
1127
|
+
phaseId: string;
|
|
1128
|
+
currentStepId?: string | null;
|
|
1129
|
+
approvedDocumentsCount?: number;
|
|
1130
|
+
requiredDocumentsCount?: number;
|
|
1131
|
+
completedStepsCount?: number;
|
|
1132
|
+
totalStepsCount?: number;
|
|
1133
|
+
minimumCompletionPercentage?: number | null;
|
|
1134
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1135
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1136
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1137
|
+
createdAt?: Date | string;
|
|
1138
|
+
updatedAt?: Date | string;
|
|
1139
|
+
};
|
|
1140
|
+
export type DocumentationPhaseUpdateWithoutDocumentationPlanInput = {
|
|
1141
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1142
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1143
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1144
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1145
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1146
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1147
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1148
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1149
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1150
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1151
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1152
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1153
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1154
|
+
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
1155
|
+
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1156
|
+
};
|
|
1157
|
+
export type DocumentationPhaseUncheckedUpdateWithoutDocumentationPlanInput = {
|
|
1158
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1159
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1160
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1161
|
+
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1162
|
+
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1163
|
+
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1164
|
+
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1165
|
+
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1166
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1167
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1168
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1169
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1170
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1171
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1172
|
+
steps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1173
|
+
};
|
|
1174
|
+
export type DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanInput = {
|
|
1175
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1176
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1177
|
+
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
978
1178
|
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
979
1179
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
980
1180
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -991,6 +1191,7 @@ export type DocumentationPhaseCreateManyCurrentStepInput = {
|
|
|
991
1191
|
id?: string;
|
|
992
1192
|
tenantId: string;
|
|
993
1193
|
phaseId: string;
|
|
1194
|
+
documentationPlanId?: string | null;
|
|
994
1195
|
approvedDocumentsCount?: number;
|
|
995
1196
|
requiredDocumentsCount?: number;
|
|
996
1197
|
completedStepsCount?: number;
|
|
@@ -1016,12 +1217,14 @@ export type DocumentationPhaseUpdateWithoutCurrentStepInput = {
|
|
|
1016
1217
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1017
1218
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationPhasesNestedInput;
|
|
1018
1219
|
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput;
|
|
1220
|
+
documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutDocumentationPhasesNestedInput;
|
|
1019
1221
|
steps?: Prisma.DocumentationStepUpdateManyWithoutDocumentationPhaseNestedInput;
|
|
1020
1222
|
};
|
|
1021
1223
|
export type DocumentationPhaseUncheckedUpdateWithoutCurrentStepInput = {
|
|
1022
1224
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1023
1225
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1024
1226
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1025
1228
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1026
1229
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1027
1230
|
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -1038,6 +1241,7 @@ export type DocumentationPhaseUncheckedUpdateManyWithoutCurrentStepInput = {
|
|
|
1038
1241
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1039
1242
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1040
1243
|
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1244
|
+
documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1041
1245
|
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1042
1246
|
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1043
1247
|
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -1077,6 +1281,7 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1077
1281
|
id?: boolean;
|
|
1078
1282
|
tenantId?: boolean;
|
|
1079
1283
|
phaseId?: boolean;
|
|
1284
|
+
documentationPlanId?: boolean;
|
|
1080
1285
|
currentStepId?: boolean;
|
|
1081
1286
|
approvedDocumentsCount?: boolean;
|
|
1082
1287
|
requiredDocumentsCount?: boolean;
|
|
@@ -1090,6 +1295,7 @@ export type DocumentationPhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1090
1295
|
updatedAt?: boolean;
|
|
1091
1296
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1092
1297
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1298
|
+
documentationPlan?: boolean | Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>;
|
|
1093
1299
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
1094
1300
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
1095
1301
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -1098,6 +1304,7 @@ export type DocumentationPhaseSelectScalar = {
|
|
|
1098
1304
|
id?: boolean;
|
|
1099
1305
|
tenantId?: boolean;
|
|
1100
1306
|
phaseId?: boolean;
|
|
1307
|
+
documentationPlanId?: boolean;
|
|
1101
1308
|
currentStepId?: boolean;
|
|
1102
1309
|
approvedDocumentsCount?: boolean;
|
|
1103
1310
|
requiredDocumentsCount?: boolean;
|
|
@@ -1110,10 +1317,11 @@ export type DocumentationPhaseSelectScalar = {
|
|
|
1110
1317
|
createdAt?: boolean;
|
|
1111
1318
|
updatedAt?: boolean;
|
|
1112
1319
|
};
|
|
1113
|
-
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "currentStepId" | "approvedDocumentsCount" | "requiredDocumentsCount" | "completedStepsCount" | "totalStepsCount" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
1320
|
+
export type DocumentationPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "documentationPlanId" | "currentStepId" | "approvedDocumentsCount" | "requiredDocumentsCount" | "completedStepsCount" | "totalStepsCount" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPhase"]>;
|
|
1114
1321
|
export type DocumentationPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1115
1322
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1116
1323
|
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
1324
|
+
documentationPlan?: boolean | Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>;
|
|
1117
1325
|
currentStep?: boolean | Prisma.DocumentationPhase$currentStepArgs<ExtArgs>;
|
|
1118
1326
|
steps?: boolean | Prisma.DocumentationPhase$stepsArgs<ExtArgs>;
|
|
1119
1327
|
_count?: boolean | Prisma.DocumentationPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -1123,6 +1331,7 @@ export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1123
1331
|
objects: {
|
|
1124
1332
|
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1125
1333
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
1334
|
+
documentationPlan: Prisma.$DocumentationPlanPayload<ExtArgs> | null;
|
|
1126
1335
|
currentStep: Prisma.$DocumentationStepPayload<ExtArgs> | null;
|
|
1127
1336
|
steps: Prisma.$DocumentationStepPayload<ExtArgs>[];
|
|
1128
1337
|
};
|
|
@@ -1130,6 +1339,7 @@ export type $DocumentationPhasePayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1130
1339
|
id: string;
|
|
1131
1340
|
tenantId: string;
|
|
1132
1341
|
phaseId: string;
|
|
1342
|
+
documentationPlanId: string | null;
|
|
1133
1343
|
currentStepId: string | null;
|
|
1134
1344
|
approvedDocumentsCount: number;
|
|
1135
1345
|
requiredDocumentsCount: number;
|
|
@@ -1420,6 +1630,7 @@ export interface Prisma__DocumentationPhaseClient<T, Null = never, ExtArgs exten
|
|
|
1420
1630
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1421
1631
|
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>;
|
|
1422
1632
|
phase<T extends Prisma.ApplicationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1633
|
+
documentationPlan<T extends Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$documentationPlanArgs<ExtArgs>>): Prisma.Prisma__DocumentationPlanClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1423
1634
|
currentStep<T extends Prisma.DocumentationPhase$currentStepArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$currentStepArgs<ExtArgs>>): Prisma.Prisma__DocumentationStepClient<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1424
1635
|
steps<T extends Prisma.DocumentationPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1425
1636
|
/**
|
|
@@ -1450,6 +1661,7 @@ export interface DocumentationPhaseFieldRefs {
|
|
|
1450
1661
|
readonly id: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1451
1662
|
readonly tenantId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1452
1663
|
readonly phaseId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1664
|
+
readonly documentationPlanId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1453
1665
|
readonly currentStepId: Prisma.FieldRef<"DocumentationPhase", 'String'>;
|
|
1454
1666
|
readonly approvedDocumentsCount: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|
|
1455
1667
|
readonly requiredDocumentsCount: Prisma.FieldRef<"DocumentationPhase", 'Int'>;
|
|
@@ -1788,6 +2000,24 @@ export type DocumentationPhaseDeleteManyArgs<ExtArgs extends runtime.Types.Exten
|
|
|
1788
2000
|
*/
|
|
1789
2001
|
limit?: number;
|
|
1790
2002
|
};
|
|
2003
|
+
/**
|
|
2004
|
+
* DocumentationPhase.documentationPlan
|
|
2005
|
+
*/
|
|
2006
|
+
export type DocumentationPhase$documentationPlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2007
|
+
/**
|
|
2008
|
+
* Select specific fields to fetch from the DocumentationPlan
|
|
2009
|
+
*/
|
|
2010
|
+
select?: Prisma.DocumentationPlanSelect<ExtArgs> | null;
|
|
2011
|
+
/**
|
|
2012
|
+
* Omit specific fields from the DocumentationPlan
|
|
2013
|
+
*/
|
|
2014
|
+
omit?: Prisma.DocumentationPlanOmit<ExtArgs> | null;
|
|
2015
|
+
/**
|
|
2016
|
+
* Choose, which related nodes to fetch as well
|
|
2017
|
+
*/
|
|
2018
|
+
include?: Prisma.DocumentationPlanInclude<ExtArgs> | null;
|
|
2019
|
+
where?: Prisma.DocumentationPlanWhereInput;
|
|
2020
|
+
};
|
|
1791
2021
|
/**
|
|
1792
2022
|
* DocumentationPhase.currentStep
|
|
1793
2023
|
*/
|