@valentine-efagene/qshelter-common 2.0.138 → 2.0.140
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 +17 -17
- package/dist/generated/client/client.d.ts +17 -17
- package/dist/generated/client/commonInputTypes.d.ts +142 -202
- package/dist/generated/client/enums.d.ts +23 -0
- package/dist/generated/client/enums.js +21 -1
- package/dist/generated/client/internal/class.d.ts +37 -37
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +348 -377
- package/dist/generated/client/internal/prismaNamespace.js +91 -116
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +97 -122
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +91 -116
- package/dist/generated/client/models/ApplicationDocument.d.ts +290 -1
- package/dist/generated/client/models/ApprovalStage.d.ts +1605 -0
- package/dist/generated/client/models/ApprovalStage.js +1 -0
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +2329 -0
- package/dist/generated/client/models/ApprovalStageProgress.js +1 -0
- package/dist/generated/client/models/DocumentApproval.d.ts +1611 -0
- package/dist/generated/client/models/DocumentApproval.js +1 -0
- package/dist/generated/client/models/DocumentDefinition.d.ts +1475 -0
- package/dist/generated/client/models/DocumentDefinition.js +1 -0
- package/dist/generated/client/models/DocumentReview.d.ts +0 -3
- package/dist/generated/client/models/DocumentationPhase.d.ts +215 -629
- package/dist/generated/client/models/DocumentationPlan.d.ts +188 -57
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +3 -0
- package/dist/generated/client/models/Tenant.d.ts +640 -1203
- package/dist/generated/client/models/User.d.ts +414 -817
- package/dist/generated/client/models/index.d.ts +4 -4
- package/dist/generated/client/models/index.js +4 -4
- package/dist/generated/client/models.d.ts +4 -4
- package/dist/src/utils/documentation-enums.d.ts +10 -1
- package/dist/src/utils/documentation-enums.js +8 -0
- package/package.json +1 -1
- package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
- package/prisma/schema.prisma +229 -214
|
@@ -25,6 +25,8 @@ export type ApplicationDocumentMinAggregateOutputType = {
|
|
|
25
25
|
applicationId: string | null;
|
|
26
26
|
phaseId: string | null;
|
|
27
27
|
stepId: string | null;
|
|
28
|
+
documentType: string | null;
|
|
29
|
+
documentName: string | null;
|
|
28
30
|
name: string | null;
|
|
29
31
|
url: string | null;
|
|
30
32
|
type: string | null;
|
|
@@ -41,6 +43,8 @@ export type ApplicationDocumentMaxAggregateOutputType = {
|
|
|
41
43
|
applicationId: string | null;
|
|
42
44
|
phaseId: string | null;
|
|
43
45
|
stepId: string | null;
|
|
46
|
+
documentType: string | null;
|
|
47
|
+
documentName: string | null;
|
|
44
48
|
name: string | null;
|
|
45
49
|
url: string | null;
|
|
46
50
|
type: string | null;
|
|
@@ -57,6 +61,8 @@ export type ApplicationDocumentCountAggregateOutputType = {
|
|
|
57
61
|
applicationId: number;
|
|
58
62
|
phaseId: number;
|
|
59
63
|
stepId: number;
|
|
64
|
+
documentType: number;
|
|
65
|
+
documentName: number;
|
|
60
66
|
name: number;
|
|
61
67
|
url: number;
|
|
62
68
|
type: number;
|
|
@@ -80,6 +86,8 @@ export type ApplicationDocumentMinAggregateInputType = {
|
|
|
80
86
|
applicationId?: true;
|
|
81
87
|
phaseId?: true;
|
|
82
88
|
stepId?: true;
|
|
89
|
+
documentType?: true;
|
|
90
|
+
documentName?: true;
|
|
83
91
|
name?: true;
|
|
84
92
|
url?: true;
|
|
85
93
|
type?: true;
|
|
@@ -96,6 +104,8 @@ export type ApplicationDocumentMaxAggregateInputType = {
|
|
|
96
104
|
applicationId?: true;
|
|
97
105
|
phaseId?: true;
|
|
98
106
|
stepId?: true;
|
|
107
|
+
documentType?: true;
|
|
108
|
+
documentName?: true;
|
|
99
109
|
name?: true;
|
|
100
110
|
url?: true;
|
|
101
111
|
type?: true;
|
|
@@ -112,6 +122,8 @@ export type ApplicationDocumentCountAggregateInputType = {
|
|
|
112
122
|
applicationId?: true;
|
|
113
123
|
phaseId?: true;
|
|
114
124
|
stepId?: true;
|
|
125
|
+
documentType?: true;
|
|
126
|
+
documentName?: true;
|
|
115
127
|
name?: true;
|
|
116
128
|
url?: true;
|
|
117
129
|
type?: true;
|
|
@@ -205,6 +217,8 @@ export type ApplicationDocumentGroupByOutputType = {
|
|
|
205
217
|
applicationId: string;
|
|
206
218
|
phaseId: string | null;
|
|
207
219
|
stepId: string | null;
|
|
220
|
+
documentType: string | null;
|
|
221
|
+
documentName: string | null;
|
|
208
222
|
name: string;
|
|
209
223
|
url: string;
|
|
210
224
|
type: string;
|
|
@@ -232,6 +246,8 @@ export type ApplicationDocumentWhereInput = {
|
|
|
232
246
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
233
247
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
234
248
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
249
|
+
documentType?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
250
|
+
documentName?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
235
251
|
name?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
236
252
|
url?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
237
253
|
type?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
@@ -247,6 +263,7 @@ export type ApplicationDocumentWhereInput = {
|
|
|
247
263
|
replacesDocument?: Prisma.XOR<Prisma.ApplicationDocumentNullableScalarRelationFilter, Prisma.ApplicationDocumentWhereInput> | null;
|
|
248
264
|
revisions?: Prisma.ApplicationDocumentListRelationFilter;
|
|
249
265
|
reviews?: Prisma.DocumentReviewListRelationFilter;
|
|
266
|
+
approvalTrail?: Prisma.DocumentApprovalListRelationFilter;
|
|
250
267
|
};
|
|
251
268
|
export type ApplicationDocumentOrderByWithRelationInput = {
|
|
252
269
|
id?: Prisma.SortOrder;
|
|
@@ -254,6 +271,8 @@ export type ApplicationDocumentOrderByWithRelationInput = {
|
|
|
254
271
|
applicationId?: Prisma.SortOrder;
|
|
255
272
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
273
|
stepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
274
|
+
documentType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
documentName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
257
276
|
name?: Prisma.SortOrder;
|
|
258
277
|
url?: Prisma.SortOrder;
|
|
259
278
|
type?: Prisma.SortOrder;
|
|
@@ -269,6 +288,7 @@ export type ApplicationDocumentOrderByWithRelationInput = {
|
|
|
269
288
|
replacesDocument?: Prisma.ApplicationDocumentOrderByWithRelationInput;
|
|
270
289
|
revisions?: Prisma.ApplicationDocumentOrderByRelationAggregateInput;
|
|
271
290
|
reviews?: Prisma.DocumentReviewOrderByRelationAggregateInput;
|
|
291
|
+
approvalTrail?: Prisma.DocumentApprovalOrderByRelationAggregateInput;
|
|
272
292
|
_relevance?: Prisma.ApplicationDocumentOrderByRelevanceInput;
|
|
273
293
|
};
|
|
274
294
|
export type ApplicationDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -280,6 +300,8 @@ export type ApplicationDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
280
300
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
281
301
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
282
302
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
303
|
+
documentType?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
304
|
+
documentName?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
283
305
|
name?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
284
306
|
url?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
285
307
|
type?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
@@ -295,6 +317,7 @@ export type ApplicationDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
295
317
|
replacesDocument?: Prisma.XOR<Prisma.ApplicationDocumentNullableScalarRelationFilter, Prisma.ApplicationDocumentWhereInput> | null;
|
|
296
318
|
revisions?: Prisma.ApplicationDocumentListRelationFilter;
|
|
297
319
|
reviews?: Prisma.DocumentReviewListRelationFilter;
|
|
320
|
+
approvalTrail?: Prisma.DocumentApprovalListRelationFilter;
|
|
298
321
|
}, "id">;
|
|
299
322
|
export type ApplicationDocumentOrderByWithAggregationInput = {
|
|
300
323
|
id?: Prisma.SortOrder;
|
|
@@ -302,6 +325,8 @@ export type ApplicationDocumentOrderByWithAggregationInput = {
|
|
|
302
325
|
applicationId?: Prisma.SortOrder;
|
|
303
326
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
304
327
|
stepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
328
|
+
documentType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
|
+
documentName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
305
330
|
name?: Prisma.SortOrder;
|
|
306
331
|
url?: Prisma.SortOrder;
|
|
307
332
|
type?: Prisma.SortOrder;
|
|
@@ -326,6 +351,8 @@ export type ApplicationDocumentScalarWhereWithAggregatesInput = {
|
|
|
326
351
|
applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
327
352
|
phaseId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
328
353
|
stepId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
354
|
+
documentType?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
355
|
+
documentName?: Prisma.StringNullableWithAggregatesFilter<"ApplicationDocument"> | string | null;
|
|
329
356
|
name?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
330
357
|
url?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
331
358
|
type?: Prisma.StringWithAggregatesFilter<"ApplicationDocument"> | string;
|
|
@@ -340,6 +367,8 @@ export type ApplicationDocumentCreateInput = {
|
|
|
340
367
|
id?: string;
|
|
341
368
|
phaseId?: string | null;
|
|
342
369
|
stepId?: string | null;
|
|
370
|
+
documentType?: string | null;
|
|
371
|
+
documentName?: string | null;
|
|
343
372
|
name: string;
|
|
344
373
|
url: string;
|
|
345
374
|
type: string;
|
|
@@ -353,6 +382,7 @@ export type ApplicationDocumentCreateInput = {
|
|
|
353
382
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
354
383
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
355
384
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
385
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
356
386
|
};
|
|
357
387
|
export type ApplicationDocumentUncheckedCreateInput = {
|
|
358
388
|
id?: string;
|
|
@@ -360,6 +390,8 @@ export type ApplicationDocumentUncheckedCreateInput = {
|
|
|
360
390
|
applicationId: string;
|
|
361
391
|
phaseId?: string | null;
|
|
362
392
|
stepId?: string | null;
|
|
393
|
+
documentType?: string | null;
|
|
394
|
+
documentName?: string | null;
|
|
363
395
|
name: string;
|
|
364
396
|
url: string;
|
|
365
397
|
type: string;
|
|
@@ -371,11 +403,14 @@ export type ApplicationDocumentUncheckedCreateInput = {
|
|
|
371
403
|
updatedAt?: Date | string;
|
|
372
404
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
373
405
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
406
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
374
407
|
};
|
|
375
408
|
export type ApplicationDocumentUpdateInput = {
|
|
376
409
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
377
410
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
411
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
412
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
379
414
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
380
415
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
381
416
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -389,6 +424,7 @@ export type ApplicationDocumentUpdateInput = {
|
|
|
389
424
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
390
425
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
391
426
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
427
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
392
428
|
};
|
|
393
429
|
export type ApplicationDocumentUncheckedUpdateInput = {
|
|
394
430
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -396,6 +432,8 @@ export type ApplicationDocumentUncheckedUpdateInput = {
|
|
|
396
432
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
433
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
398
434
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
435
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
436
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
399
437
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
438
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
439
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -407,6 +445,7 @@ export type ApplicationDocumentUncheckedUpdateInput = {
|
|
|
407
445
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
408
446
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
409
447
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
448
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
410
449
|
};
|
|
411
450
|
export type ApplicationDocumentCreateManyInput = {
|
|
412
451
|
id?: string;
|
|
@@ -414,6 +453,8 @@ export type ApplicationDocumentCreateManyInput = {
|
|
|
414
453
|
applicationId: string;
|
|
415
454
|
phaseId?: string | null;
|
|
416
455
|
stepId?: string | null;
|
|
456
|
+
documentType?: string | null;
|
|
457
|
+
documentName?: string | null;
|
|
417
458
|
name: string;
|
|
418
459
|
url: string;
|
|
419
460
|
type: string;
|
|
@@ -428,6 +469,8 @@ export type ApplicationDocumentUpdateManyMutationInput = {
|
|
|
428
469
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
429
470
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
471
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
473
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
431
474
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
432
475
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
476
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -442,6 +485,8 @@ export type ApplicationDocumentUncheckedUpdateManyInput = {
|
|
|
442
485
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
443
486
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
444
487
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
488
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
489
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
445
490
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
446
491
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
492
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -475,6 +520,8 @@ export type ApplicationDocumentCountOrderByAggregateInput = {
|
|
|
475
520
|
applicationId?: Prisma.SortOrder;
|
|
476
521
|
phaseId?: Prisma.SortOrder;
|
|
477
522
|
stepId?: Prisma.SortOrder;
|
|
523
|
+
documentType?: Prisma.SortOrder;
|
|
524
|
+
documentName?: Prisma.SortOrder;
|
|
478
525
|
name?: Prisma.SortOrder;
|
|
479
526
|
url?: Prisma.SortOrder;
|
|
480
527
|
type?: Prisma.SortOrder;
|
|
@@ -494,6 +541,8 @@ export type ApplicationDocumentMaxOrderByAggregateInput = {
|
|
|
494
541
|
applicationId?: Prisma.SortOrder;
|
|
495
542
|
phaseId?: Prisma.SortOrder;
|
|
496
543
|
stepId?: Prisma.SortOrder;
|
|
544
|
+
documentType?: Prisma.SortOrder;
|
|
545
|
+
documentName?: Prisma.SortOrder;
|
|
497
546
|
name?: Prisma.SortOrder;
|
|
498
547
|
url?: Prisma.SortOrder;
|
|
499
548
|
type?: Prisma.SortOrder;
|
|
@@ -510,6 +559,8 @@ export type ApplicationDocumentMinOrderByAggregateInput = {
|
|
|
510
559
|
applicationId?: Prisma.SortOrder;
|
|
511
560
|
phaseId?: Prisma.SortOrder;
|
|
512
561
|
stepId?: Prisma.SortOrder;
|
|
562
|
+
documentType?: Prisma.SortOrder;
|
|
563
|
+
documentName?: Prisma.SortOrder;
|
|
513
564
|
name?: Prisma.SortOrder;
|
|
514
565
|
url?: Prisma.SortOrder;
|
|
515
566
|
type?: Prisma.SortOrder;
|
|
@@ -708,10 +759,24 @@ export type ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput = {
|
|
|
708
759
|
connect?: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
709
760
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ApplicationDocumentUpdateToOneWithWhereWithoutReviewsInput, Prisma.ApplicationDocumentUpdateWithoutReviewsInput>, Prisma.ApplicationDocumentUncheckedUpdateWithoutReviewsInput>;
|
|
710
761
|
};
|
|
762
|
+
export type ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput = {
|
|
763
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedCreateWithoutApprovalTrailInput>;
|
|
764
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutApprovalTrailInput;
|
|
765
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
766
|
+
};
|
|
767
|
+
export type ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput = {
|
|
768
|
+
create?: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedCreateWithoutApprovalTrailInput>;
|
|
769
|
+
connectOrCreate?: Prisma.ApplicationDocumentCreateOrConnectWithoutApprovalTrailInput;
|
|
770
|
+
upsert?: Prisma.ApplicationDocumentUpsertWithoutApprovalTrailInput;
|
|
771
|
+
connect?: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
772
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ApplicationDocumentUpdateToOneWithWhereWithoutApprovalTrailInput, Prisma.ApplicationDocumentUpdateWithoutApprovalTrailInput>, Prisma.ApplicationDocumentUncheckedUpdateWithoutApprovalTrailInput>;
|
|
773
|
+
};
|
|
711
774
|
export type ApplicationDocumentCreateWithoutUploadedByInput = {
|
|
712
775
|
id?: string;
|
|
713
776
|
phaseId?: string | null;
|
|
714
777
|
stepId?: string | null;
|
|
778
|
+
documentType?: string | null;
|
|
779
|
+
documentName?: string | null;
|
|
715
780
|
name: string;
|
|
716
781
|
url: string;
|
|
717
782
|
type: string;
|
|
@@ -724,6 +789,7 @@ export type ApplicationDocumentCreateWithoutUploadedByInput = {
|
|
|
724
789
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
725
790
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
726
791
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
792
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
727
793
|
};
|
|
728
794
|
export type ApplicationDocumentUncheckedCreateWithoutUploadedByInput = {
|
|
729
795
|
id?: string;
|
|
@@ -731,6 +797,8 @@ export type ApplicationDocumentUncheckedCreateWithoutUploadedByInput = {
|
|
|
731
797
|
applicationId: string;
|
|
732
798
|
phaseId?: string | null;
|
|
733
799
|
stepId?: string | null;
|
|
800
|
+
documentType?: string | null;
|
|
801
|
+
documentName?: string | null;
|
|
734
802
|
name: string;
|
|
735
803
|
url: string;
|
|
736
804
|
type: string;
|
|
@@ -741,6 +809,7 @@ export type ApplicationDocumentUncheckedCreateWithoutUploadedByInput = {
|
|
|
741
809
|
updatedAt?: Date | string;
|
|
742
810
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
743
811
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
812
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
744
813
|
};
|
|
745
814
|
export type ApplicationDocumentCreateOrConnectWithoutUploadedByInput = {
|
|
746
815
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -772,6 +841,8 @@ export type ApplicationDocumentScalarWhereInput = {
|
|
|
772
841
|
applicationId?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
773
842
|
phaseId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
774
843
|
stepId?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
844
|
+
documentType?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
845
|
+
documentName?: Prisma.StringNullableFilter<"ApplicationDocument"> | string | null;
|
|
775
846
|
name?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
776
847
|
url?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
777
848
|
type?: Prisma.StringFilter<"ApplicationDocument"> | string;
|
|
@@ -786,6 +857,8 @@ export type ApplicationDocumentCreateWithoutTenantInput = {
|
|
|
786
857
|
id?: string;
|
|
787
858
|
phaseId?: string | null;
|
|
788
859
|
stepId?: string | null;
|
|
860
|
+
documentType?: string | null;
|
|
861
|
+
documentName?: string | null;
|
|
789
862
|
name: string;
|
|
790
863
|
url: string;
|
|
791
864
|
type: string;
|
|
@@ -798,12 +871,15 @@ export type ApplicationDocumentCreateWithoutTenantInput = {
|
|
|
798
871
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
799
872
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
800
873
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
874
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
801
875
|
};
|
|
802
876
|
export type ApplicationDocumentUncheckedCreateWithoutTenantInput = {
|
|
803
877
|
id?: string;
|
|
804
878
|
applicationId: string;
|
|
805
879
|
phaseId?: string | null;
|
|
806
880
|
stepId?: string | null;
|
|
881
|
+
documentType?: string | null;
|
|
882
|
+
documentName?: string | null;
|
|
807
883
|
name: string;
|
|
808
884
|
url: string;
|
|
809
885
|
type: string;
|
|
@@ -815,6 +891,7 @@ export type ApplicationDocumentUncheckedCreateWithoutTenantInput = {
|
|
|
815
891
|
updatedAt?: Date | string;
|
|
816
892
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
817
893
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
894
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
818
895
|
};
|
|
819
896
|
export type ApplicationDocumentCreateOrConnectWithoutTenantInput = {
|
|
820
897
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -841,6 +918,8 @@ export type ApplicationDocumentCreateWithoutApplicationInput = {
|
|
|
841
918
|
id?: string;
|
|
842
919
|
phaseId?: string | null;
|
|
843
920
|
stepId?: string | null;
|
|
921
|
+
documentType?: string | null;
|
|
922
|
+
documentName?: string | null;
|
|
844
923
|
name: string;
|
|
845
924
|
url: string;
|
|
846
925
|
type: string;
|
|
@@ -853,12 +932,15 @@ export type ApplicationDocumentCreateWithoutApplicationInput = {
|
|
|
853
932
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
854
933
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
855
934
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
935
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
856
936
|
};
|
|
857
937
|
export type ApplicationDocumentUncheckedCreateWithoutApplicationInput = {
|
|
858
938
|
id?: string;
|
|
859
939
|
tenantId: string;
|
|
860
940
|
phaseId?: string | null;
|
|
861
941
|
stepId?: string | null;
|
|
942
|
+
documentType?: string | null;
|
|
943
|
+
documentName?: string | null;
|
|
862
944
|
name: string;
|
|
863
945
|
url: string;
|
|
864
946
|
type: string;
|
|
@@ -870,6 +952,7 @@ export type ApplicationDocumentUncheckedCreateWithoutApplicationInput = {
|
|
|
870
952
|
updatedAt?: Date | string;
|
|
871
953
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
872
954
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
955
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
873
956
|
};
|
|
874
957
|
export type ApplicationDocumentCreateOrConnectWithoutApplicationInput = {
|
|
875
958
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -896,6 +979,8 @@ export type ApplicationDocumentCreateWithoutRevisionsInput = {
|
|
|
896
979
|
id?: string;
|
|
897
980
|
phaseId?: string | null;
|
|
898
981
|
stepId?: string | null;
|
|
982
|
+
documentType?: string | null;
|
|
983
|
+
documentName?: string | null;
|
|
899
984
|
name: string;
|
|
900
985
|
url: string;
|
|
901
986
|
type: string;
|
|
@@ -908,6 +993,7 @@ export type ApplicationDocumentCreateWithoutRevisionsInput = {
|
|
|
908
993
|
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
909
994
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
910
995
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
996
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
911
997
|
};
|
|
912
998
|
export type ApplicationDocumentUncheckedCreateWithoutRevisionsInput = {
|
|
913
999
|
id?: string;
|
|
@@ -915,6 +1001,8 @@ export type ApplicationDocumentUncheckedCreateWithoutRevisionsInput = {
|
|
|
915
1001
|
applicationId: string;
|
|
916
1002
|
phaseId?: string | null;
|
|
917
1003
|
stepId?: string | null;
|
|
1004
|
+
documentType?: string | null;
|
|
1005
|
+
documentName?: string | null;
|
|
918
1006
|
name: string;
|
|
919
1007
|
url: string;
|
|
920
1008
|
type: string;
|
|
@@ -925,6 +1013,7 @@ export type ApplicationDocumentUncheckedCreateWithoutRevisionsInput = {
|
|
|
925
1013
|
createdAt?: Date | string;
|
|
926
1014
|
updatedAt?: Date | string;
|
|
927
1015
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
1016
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
928
1017
|
};
|
|
929
1018
|
export type ApplicationDocumentCreateOrConnectWithoutRevisionsInput = {
|
|
930
1019
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -934,6 +1023,8 @@ export type ApplicationDocumentCreateWithoutReplacesDocumentInput = {
|
|
|
934
1023
|
id?: string;
|
|
935
1024
|
phaseId?: string | null;
|
|
936
1025
|
stepId?: string | null;
|
|
1026
|
+
documentType?: string | null;
|
|
1027
|
+
documentName?: string | null;
|
|
937
1028
|
name: string;
|
|
938
1029
|
url: string;
|
|
939
1030
|
type: string;
|
|
@@ -946,6 +1037,7 @@ export type ApplicationDocumentCreateWithoutReplacesDocumentInput = {
|
|
|
946
1037
|
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
947
1038
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
948
1039
|
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
1040
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
949
1041
|
};
|
|
950
1042
|
export type ApplicationDocumentUncheckedCreateWithoutReplacesDocumentInput = {
|
|
951
1043
|
id?: string;
|
|
@@ -953,6 +1045,8 @@ export type ApplicationDocumentUncheckedCreateWithoutReplacesDocumentInput = {
|
|
|
953
1045
|
applicationId: string;
|
|
954
1046
|
phaseId?: string | null;
|
|
955
1047
|
stepId?: string | null;
|
|
1048
|
+
documentType?: string | null;
|
|
1049
|
+
documentName?: string | null;
|
|
956
1050
|
name: string;
|
|
957
1051
|
url: string;
|
|
958
1052
|
type: string;
|
|
@@ -963,6 +1057,7 @@ export type ApplicationDocumentUncheckedCreateWithoutReplacesDocumentInput = {
|
|
|
963
1057
|
updatedAt?: Date | string;
|
|
964
1058
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
965
1059
|
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
1060
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
966
1061
|
};
|
|
967
1062
|
export type ApplicationDocumentCreateOrConnectWithoutReplacesDocumentInput = {
|
|
968
1063
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -985,6 +1080,8 @@ export type ApplicationDocumentUpdateWithoutRevisionsInput = {
|
|
|
985
1080
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
986
1081
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
987
1082
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1083
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1084
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
988
1085
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
989
1086
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
990
1087
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -997,6 +1094,7 @@ export type ApplicationDocumentUpdateWithoutRevisionsInput = {
|
|
|
997
1094
|
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
998
1095
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
999
1096
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1097
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1000
1098
|
};
|
|
1001
1099
|
export type ApplicationDocumentUncheckedUpdateWithoutRevisionsInput = {
|
|
1002
1100
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1004,6 +1102,8 @@ export type ApplicationDocumentUncheckedUpdateWithoutRevisionsInput = {
|
|
|
1004
1102
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1005
1103
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1006
1104
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1105
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1106
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1007
1107
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1008
1108
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1009
1109
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1014,6 +1114,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutRevisionsInput = {
|
|
|
1014
1114
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1015
1115
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1016
1116
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1117
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1017
1118
|
};
|
|
1018
1119
|
export type ApplicationDocumentUpsertWithWhereUniqueWithoutReplacesDocumentInput = {
|
|
1019
1120
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -1032,6 +1133,8 @@ export type ApplicationDocumentCreateWithoutReviewsInput = {
|
|
|
1032
1133
|
id?: string;
|
|
1033
1134
|
phaseId?: string | null;
|
|
1034
1135
|
stepId?: string | null;
|
|
1136
|
+
documentType?: string | null;
|
|
1137
|
+
documentName?: string | null;
|
|
1035
1138
|
name: string;
|
|
1036
1139
|
url: string;
|
|
1037
1140
|
type: string;
|
|
@@ -1044,6 +1147,7 @@ export type ApplicationDocumentCreateWithoutReviewsInput = {
|
|
|
1044
1147
|
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
1045
1148
|
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
1046
1149
|
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
1150
|
+
approvalTrail?: Prisma.DocumentApprovalCreateNestedManyWithoutDocumentInput;
|
|
1047
1151
|
};
|
|
1048
1152
|
export type ApplicationDocumentUncheckedCreateWithoutReviewsInput = {
|
|
1049
1153
|
id?: string;
|
|
@@ -1051,6 +1155,8 @@ export type ApplicationDocumentUncheckedCreateWithoutReviewsInput = {
|
|
|
1051
1155
|
applicationId: string;
|
|
1052
1156
|
phaseId?: string | null;
|
|
1053
1157
|
stepId?: string | null;
|
|
1158
|
+
documentType?: string | null;
|
|
1159
|
+
documentName?: string | null;
|
|
1054
1160
|
name: string;
|
|
1055
1161
|
url: string;
|
|
1056
1162
|
type: string;
|
|
@@ -1061,6 +1167,7 @@ export type ApplicationDocumentUncheckedCreateWithoutReviewsInput = {
|
|
|
1061
1167
|
createdAt?: Date | string;
|
|
1062
1168
|
updatedAt?: Date | string;
|
|
1063
1169
|
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
1170
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutDocumentInput;
|
|
1064
1171
|
};
|
|
1065
1172
|
export type ApplicationDocumentCreateOrConnectWithoutReviewsInput = {
|
|
1066
1173
|
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
@@ -1079,6 +1186,8 @@ export type ApplicationDocumentUpdateWithoutReviewsInput = {
|
|
|
1079
1186
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1080
1187
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1081
1188
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1189
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1190
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1082
1191
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1083
1192
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1084
1193
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1091,6 +1200,7 @@ export type ApplicationDocumentUpdateWithoutReviewsInput = {
|
|
|
1091
1200
|
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
1092
1201
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
1093
1202
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1203
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1094
1204
|
};
|
|
1095
1205
|
export type ApplicationDocumentUncheckedUpdateWithoutReviewsInput = {
|
|
1096
1206
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1098,6 +1208,101 @@ export type ApplicationDocumentUncheckedUpdateWithoutReviewsInput = {
|
|
|
1098
1208
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1099
1209
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1100
1210
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1211
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1212
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1213
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1214
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1215
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1216
|
+
uploadedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1217
|
+
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
1218
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1219
|
+
replacesDocumentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1220
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1221
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1222
|
+
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1223
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1224
|
+
};
|
|
1225
|
+
export type ApplicationDocumentCreateWithoutApprovalTrailInput = {
|
|
1226
|
+
id?: string;
|
|
1227
|
+
phaseId?: string | null;
|
|
1228
|
+
stepId?: string | null;
|
|
1229
|
+
documentType?: string | null;
|
|
1230
|
+
documentName?: string | null;
|
|
1231
|
+
name: string;
|
|
1232
|
+
url: string;
|
|
1233
|
+
type: string;
|
|
1234
|
+
status?: $Enums.DocumentStatus;
|
|
1235
|
+
version?: number;
|
|
1236
|
+
createdAt?: Date | string;
|
|
1237
|
+
updatedAt?: Date | string;
|
|
1238
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationDocumentsInput;
|
|
1239
|
+
application: Prisma.ApplicationCreateNestedOneWithoutDocumentsInput;
|
|
1240
|
+
uploadedBy?: Prisma.UserCreateNestedOneWithoutUploadedDocsInput;
|
|
1241
|
+
replacesDocument?: Prisma.ApplicationDocumentCreateNestedOneWithoutRevisionsInput;
|
|
1242
|
+
revisions?: Prisma.ApplicationDocumentCreateNestedManyWithoutReplacesDocumentInput;
|
|
1243
|
+
reviews?: Prisma.DocumentReviewCreateNestedManyWithoutDocumentInput;
|
|
1244
|
+
};
|
|
1245
|
+
export type ApplicationDocumentUncheckedCreateWithoutApprovalTrailInput = {
|
|
1246
|
+
id?: string;
|
|
1247
|
+
tenantId: string;
|
|
1248
|
+
applicationId: string;
|
|
1249
|
+
phaseId?: string | null;
|
|
1250
|
+
stepId?: string | null;
|
|
1251
|
+
documentType?: string | null;
|
|
1252
|
+
documentName?: string | null;
|
|
1253
|
+
name: string;
|
|
1254
|
+
url: string;
|
|
1255
|
+
type: string;
|
|
1256
|
+
uploadedById?: string | null;
|
|
1257
|
+
status?: $Enums.DocumentStatus;
|
|
1258
|
+
version?: number;
|
|
1259
|
+
replacesDocumentId?: string | null;
|
|
1260
|
+
createdAt?: Date | string;
|
|
1261
|
+
updatedAt?: Date | string;
|
|
1262
|
+
revisions?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutReplacesDocumentInput;
|
|
1263
|
+
reviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutDocumentInput;
|
|
1264
|
+
};
|
|
1265
|
+
export type ApplicationDocumentCreateOrConnectWithoutApprovalTrailInput = {
|
|
1266
|
+
where: Prisma.ApplicationDocumentWhereUniqueInput;
|
|
1267
|
+
create: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedCreateWithoutApprovalTrailInput>;
|
|
1268
|
+
};
|
|
1269
|
+
export type ApplicationDocumentUpsertWithoutApprovalTrailInput = {
|
|
1270
|
+
update: Prisma.XOR<Prisma.ApplicationDocumentUpdateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedUpdateWithoutApprovalTrailInput>;
|
|
1271
|
+
create: Prisma.XOR<Prisma.ApplicationDocumentCreateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedCreateWithoutApprovalTrailInput>;
|
|
1272
|
+
where?: Prisma.ApplicationDocumentWhereInput;
|
|
1273
|
+
};
|
|
1274
|
+
export type ApplicationDocumentUpdateToOneWithWhereWithoutApprovalTrailInput = {
|
|
1275
|
+
where?: Prisma.ApplicationDocumentWhereInput;
|
|
1276
|
+
data: Prisma.XOR<Prisma.ApplicationDocumentUpdateWithoutApprovalTrailInput, Prisma.ApplicationDocumentUncheckedUpdateWithoutApprovalTrailInput>;
|
|
1277
|
+
};
|
|
1278
|
+
export type ApplicationDocumentUpdateWithoutApprovalTrailInput = {
|
|
1279
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1280
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1281
|
+
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1282
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1283
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1284
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1285
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1286
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1287
|
+
status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus;
|
|
1288
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1289
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1290
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1291
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationDocumentsNestedInput;
|
|
1292
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutDocumentsNestedInput;
|
|
1293
|
+
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
1294
|
+
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
1295
|
+
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1296
|
+
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1297
|
+
};
|
|
1298
|
+
export type ApplicationDocumentUncheckedUpdateWithoutApprovalTrailInput = {
|
|
1299
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1300
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1301
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1302
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1303
|
+
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1304
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1305
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1101
1306
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1102
1307
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1103
1308
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1108,6 +1313,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutReviewsInput = {
|
|
|
1108
1313
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1109
1314
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1110
1315
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1316
|
+
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1111
1317
|
};
|
|
1112
1318
|
export type ApplicationDocumentCreateManyUploadedByInput = {
|
|
1113
1319
|
id?: string;
|
|
@@ -1115,6 +1321,8 @@ export type ApplicationDocumentCreateManyUploadedByInput = {
|
|
|
1115
1321
|
applicationId: string;
|
|
1116
1322
|
phaseId?: string | null;
|
|
1117
1323
|
stepId?: string | null;
|
|
1324
|
+
documentType?: string | null;
|
|
1325
|
+
documentName?: string | null;
|
|
1118
1326
|
name: string;
|
|
1119
1327
|
url: string;
|
|
1120
1328
|
type: string;
|
|
@@ -1128,6 +1336,8 @@ export type ApplicationDocumentUpdateWithoutUploadedByInput = {
|
|
|
1128
1336
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1129
1337
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1130
1338
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1339
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1340
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1131
1341
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1132
1342
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1133
1343
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1140,6 +1350,7 @@ export type ApplicationDocumentUpdateWithoutUploadedByInput = {
|
|
|
1140
1350
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
1141
1351
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1142
1352
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1353
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1143
1354
|
};
|
|
1144
1355
|
export type ApplicationDocumentUncheckedUpdateWithoutUploadedByInput = {
|
|
1145
1356
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1147,6 +1358,8 @@ export type ApplicationDocumentUncheckedUpdateWithoutUploadedByInput = {
|
|
|
1147
1358
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1148
1359
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1149
1360
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1361
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1362
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1150
1363
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1151
1364
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1152
1365
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1157,6 +1370,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutUploadedByInput = {
|
|
|
1157
1370
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1158
1371
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1159
1372
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1373
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1160
1374
|
};
|
|
1161
1375
|
export type ApplicationDocumentUncheckedUpdateManyWithoutUploadedByInput = {
|
|
1162
1376
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1164,6 +1378,8 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutUploadedByInput = {
|
|
|
1164
1378
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1165
1379
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1166
1380
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1381
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1382
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1167
1383
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1168
1384
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1169
1385
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1178,6 +1394,8 @@ export type ApplicationDocumentCreateManyTenantInput = {
|
|
|
1178
1394
|
applicationId: string;
|
|
1179
1395
|
phaseId?: string | null;
|
|
1180
1396
|
stepId?: string | null;
|
|
1397
|
+
documentType?: string | null;
|
|
1398
|
+
documentName?: string | null;
|
|
1181
1399
|
name: string;
|
|
1182
1400
|
url: string;
|
|
1183
1401
|
type: string;
|
|
@@ -1192,6 +1410,8 @@ export type ApplicationDocumentUpdateWithoutTenantInput = {
|
|
|
1192
1410
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1193
1411
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1194
1412
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1413
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1414
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1195
1415
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1196
1416
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1197
1417
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1204,12 +1424,15 @@ export type ApplicationDocumentUpdateWithoutTenantInput = {
|
|
|
1204
1424
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
1205
1425
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1206
1426
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1427
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1207
1428
|
};
|
|
1208
1429
|
export type ApplicationDocumentUncheckedUpdateWithoutTenantInput = {
|
|
1209
1430
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1210
1431
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1211
1432
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1212
1433
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1434
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1435
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1213
1436
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1214
1437
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1215
1438
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1221,12 +1444,15 @@ export type ApplicationDocumentUncheckedUpdateWithoutTenantInput = {
|
|
|
1221
1444
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1222
1445
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1223
1446
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1447
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1224
1448
|
};
|
|
1225
1449
|
export type ApplicationDocumentUncheckedUpdateManyWithoutTenantInput = {
|
|
1226
1450
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
1451
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1228
1452
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1229
1453
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1454
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1455
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1230
1456
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1231
1457
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1232
1458
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1242,6 +1468,8 @@ export type ApplicationDocumentCreateManyApplicationInput = {
|
|
|
1242
1468
|
tenantId: string;
|
|
1243
1469
|
phaseId?: string | null;
|
|
1244
1470
|
stepId?: string | null;
|
|
1471
|
+
documentType?: string | null;
|
|
1472
|
+
documentName?: string | null;
|
|
1245
1473
|
name: string;
|
|
1246
1474
|
url: string;
|
|
1247
1475
|
type: string;
|
|
@@ -1256,6 +1484,8 @@ export type ApplicationDocumentUpdateWithoutApplicationInput = {
|
|
|
1256
1484
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1257
1485
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1258
1486
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1487
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1488
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1259
1489
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1260
1490
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1261
1491
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1268,12 +1498,15 @@ export type ApplicationDocumentUpdateWithoutApplicationInput = {
|
|
|
1268
1498
|
replacesDocument?: Prisma.ApplicationDocumentUpdateOneWithoutRevisionsNestedInput;
|
|
1269
1499
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1270
1500
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1501
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1271
1502
|
};
|
|
1272
1503
|
export type ApplicationDocumentUncheckedUpdateWithoutApplicationInput = {
|
|
1273
1504
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1274
1505
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
1506
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1276
1507
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1508
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1509
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1277
1510
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1278
1511
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1279
1512
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1285,12 +1518,15 @@ export type ApplicationDocumentUncheckedUpdateWithoutApplicationInput = {
|
|
|
1285
1518
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1286
1519
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1287
1520
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1521
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1288
1522
|
};
|
|
1289
1523
|
export type ApplicationDocumentUncheckedUpdateManyWithoutApplicationInput = {
|
|
1290
1524
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1291
1525
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1292
1526
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1293
1527
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1528
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1529
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1294
1530
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1295
1531
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1296
1532
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1307,6 +1543,8 @@ export type ApplicationDocumentCreateManyReplacesDocumentInput = {
|
|
|
1307
1543
|
applicationId: string;
|
|
1308
1544
|
phaseId?: string | null;
|
|
1309
1545
|
stepId?: string | null;
|
|
1546
|
+
documentType?: string | null;
|
|
1547
|
+
documentName?: string | null;
|
|
1310
1548
|
name: string;
|
|
1311
1549
|
url: string;
|
|
1312
1550
|
type: string;
|
|
@@ -1320,6 +1558,8 @@ export type ApplicationDocumentUpdateWithoutReplacesDocumentInput = {
|
|
|
1320
1558
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1321
1559
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1322
1560
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1561
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1562
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1323
1563
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1324
1564
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1325
1565
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1332,6 +1572,7 @@ export type ApplicationDocumentUpdateWithoutReplacesDocumentInput = {
|
|
|
1332
1572
|
uploadedBy?: Prisma.UserUpdateOneWithoutUploadedDocsNestedInput;
|
|
1333
1573
|
revisions?: Prisma.ApplicationDocumentUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1334
1574
|
reviews?: Prisma.DocumentReviewUpdateManyWithoutDocumentNestedInput;
|
|
1575
|
+
approvalTrail?: Prisma.DocumentApprovalUpdateManyWithoutDocumentNestedInput;
|
|
1335
1576
|
};
|
|
1336
1577
|
export type ApplicationDocumentUncheckedUpdateWithoutReplacesDocumentInput = {
|
|
1337
1578
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1339,6 +1580,8 @@ export type ApplicationDocumentUncheckedUpdateWithoutReplacesDocumentInput = {
|
|
|
1339
1580
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1340
1581
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1341
1582
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1583
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1584
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1342
1585
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1343
1586
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1344
1587
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1349,6 +1592,7 @@ export type ApplicationDocumentUncheckedUpdateWithoutReplacesDocumentInput = {
|
|
|
1349
1592
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1350
1593
|
revisions?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentNestedInput;
|
|
1351
1594
|
reviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1595
|
+
approvalTrail?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutDocumentNestedInput;
|
|
1352
1596
|
};
|
|
1353
1597
|
export type ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentInput = {
|
|
1354
1598
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1356,6 +1600,8 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentInput =
|
|
|
1356
1600
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1357
1601
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1358
1602
|
stepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1603
|
+
documentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1604
|
+
documentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1359
1605
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1360
1606
|
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1361
1607
|
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1371,10 +1617,12 @@ export type ApplicationDocumentUncheckedUpdateManyWithoutReplacesDocumentInput =
|
|
|
1371
1617
|
export type ApplicationDocumentCountOutputType = {
|
|
1372
1618
|
revisions: number;
|
|
1373
1619
|
reviews: number;
|
|
1620
|
+
approvalTrail: number;
|
|
1374
1621
|
};
|
|
1375
1622
|
export type ApplicationDocumentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1376
1623
|
revisions?: boolean | ApplicationDocumentCountOutputTypeCountRevisionsArgs;
|
|
1377
1624
|
reviews?: boolean | ApplicationDocumentCountOutputTypeCountReviewsArgs;
|
|
1625
|
+
approvalTrail?: boolean | ApplicationDocumentCountOutputTypeCountApprovalTrailArgs;
|
|
1378
1626
|
};
|
|
1379
1627
|
/**
|
|
1380
1628
|
* ApplicationDocumentCountOutputType without action
|
|
@@ -1397,12 +1645,20 @@ export type ApplicationDocumentCountOutputTypeCountRevisionsArgs<ExtArgs extends
|
|
|
1397
1645
|
export type ApplicationDocumentCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
1646
|
where?: Prisma.DocumentReviewWhereInput;
|
|
1399
1647
|
};
|
|
1648
|
+
/**
|
|
1649
|
+
* ApplicationDocumentCountOutputType without action
|
|
1650
|
+
*/
|
|
1651
|
+
export type ApplicationDocumentCountOutputTypeCountApprovalTrailArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1652
|
+
where?: Prisma.DocumentApprovalWhereInput;
|
|
1653
|
+
};
|
|
1400
1654
|
export type ApplicationDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1401
1655
|
id?: boolean;
|
|
1402
1656
|
tenantId?: boolean;
|
|
1403
1657
|
applicationId?: boolean;
|
|
1404
1658
|
phaseId?: boolean;
|
|
1405
1659
|
stepId?: boolean;
|
|
1660
|
+
documentType?: boolean;
|
|
1661
|
+
documentName?: boolean;
|
|
1406
1662
|
name?: boolean;
|
|
1407
1663
|
url?: boolean;
|
|
1408
1664
|
type?: boolean;
|
|
@@ -1418,6 +1674,7 @@ export type ApplicationDocumentSelect<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1418
1674
|
replacesDocument?: boolean | Prisma.ApplicationDocument$replacesDocumentArgs<ExtArgs>;
|
|
1419
1675
|
revisions?: boolean | Prisma.ApplicationDocument$revisionsArgs<ExtArgs>;
|
|
1420
1676
|
reviews?: boolean | Prisma.ApplicationDocument$reviewsArgs<ExtArgs>;
|
|
1677
|
+
approvalTrail?: boolean | Prisma.ApplicationDocument$approvalTrailArgs<ExtArgs>;
|
|
1421
1678
|
_count?: boolean | Prisma.ApplicationDocumentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1422
1679
|
}, ExtArgs["result"]["applicationDocument"]>;
|
|
1423
1680
|
export type ApplicationDocumentSelectScalar = {
|
|
@@ -1426,6 +1683,8 @@ export type ApplicationDocumentSelectScalar = {
|
|
|
1426
1683
|
applicationId?: boolean;
|
|
1427
1684
|
phaseId?: boolean;
|
|
1428
1685
|
stepId?: boolean;
|
|
1686
|
+
documentType?: boolean;
|
|
1687
|
+
documentName?: boolean;
|
|
1429
1688
|
name?: boolean;
|
|
1430
1689
|
url?: boolean;
|
|
1431
1690
|
type?: boolean;
|
|
@@ -1436,7 +1695,7 @@ export type ApplicationDocumentSelectScalar = {
|
|
|
1436
1695
|
createdAt?: boolean;
|
|
1437
1696
|
updatedAt?: boolean;
|
|
1438
1697
|
};
|
|
1439
|
-
export type ApplicationDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "phaseId" | "stepId" | "name" | "url" | "type" | "uploadedById" | "status" | "version" | "replacesDocumentId" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationDocument"]>;
|
|
1698
|
+
export type ApplicationDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "phaseId" | "stepId" | "documentType" | "documentName" | "name" | "url" | "type" | "uploadedById" | "status" | "version" | "replacesDocumentId" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationDocument"]>;
|
|
1440
1699
|
export type ApplicationDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1441
1700
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1442
1701
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
@@ -1444,6 +1703,7 @@ export type ApplicationDocumentInclude<ExtArgs extends runtime.Types.Extensions.
|
|
|
1444
1703
|
replacesDocument?: boolean | Prisma.ApplicationDocument$replacesDocumentArgs<ExtArgs>;
|
|
1445
1704
|
revisions?: boolean | Prisma.ApplicationDocument$revisionsArgs<ExtArgs>;
|
|
1446
1705
|
reviews?: boolean | Prisma.ApplicationDocument$reviewsArgs<ExtArgs>;
|
|
1706
|
+
approvalTrail?: boolean | Prisma.ApplicationDocument$approvalTrailArgs<ExtArgs>;
|
|
1447
1707
|
_count?: boolean | Prisma.ApplicationDocumentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1448
1708
|
};
|
|
1449
1709
|
export type $ApplicationDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1455,6 +1715,7 @@ export type $ApplicationDocumentPayload<ExtArgs extends runtime.Types.Extensions
|
|
|
1455
1715
|
replacesDocument: Prisma.$ApplicationDocumentPayload<ExtArgs> | null;
|
|
1456
1716
|
revisions: Prisma.$ApplicationDocumentPayload<ExtArgs>[];
|
|
1457
1717
|
reviews: Prisma.$DocumentReviewPayload<ExtArgs>[];
|
|
1718
|
+
approvalTrail: Prisma.$DocumentApprovalPayload<ExtArgs>[];
|
|
1458
1719
|
};
|
|
1459
1720
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1460
1721
|
id: string;
|
|
@@ -1462,6 +1723,8 @@ export type $ApplicationDocumentPayload<ExtArgs extends runtime.Types.Extensions
|
|
|
1462
1723
|
applicationId: string;
|
|
1463
1724
|
phaseId: string | null;
|
|
1464
1725
|
stepId: string | null;
|
|
1726
|
+
documentType: string | null;
|
|
1727
|
+
documentName: string | null;
|
|
1465
1728
|
name: string;
|
|
1466
1729
|
url: string;
|
|
1467
1730
|
type: string;
|
|
@@ -1754,6 +2017,7 @@ export interface Prisma__ApplicationDocumentClient<T, Null = never, ExtArgs exte
|
|
|
1754
2017
|
replacesDocument<T extends Prisma.ApplicationDocument$replacesDocumentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocument$replacesDocumentArgs<ExtArgs>>): Prisma.Prisma__ApplicationDocumentClient<runtime.Types.Result.GetResult<Prisma.$ApplicationDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1755
2018
|
revisions<T extends Prisma.ApplicationDocument$revisionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocument$revisionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1756
2019
|
reviews<T extends Prisma.ApplicationDocument$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocument$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2020
|
+
approvalTrail<T extends Prisma.ApplicationDocument$approvalTrailArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocument$approvalTrailArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1757
2021
|
/**
|
|
1758
2022
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1759
2023
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1784,6 +2048,8 @@ export interface ApplicationDocumentFieldRefs {
|
|
|
1784
2048
|
readonly applicationId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1785
2049
|
readonly phaseId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1786
2050
|
readonly stepId: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
2051
|
+
readonly documentType: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
2052
|
+
readonly documentName: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1787
2053
|
readonly name: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1788
2054
|
readonly url: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
1789
2055
|
readonly type: Prisma.FieldRef<"ApplicationDocument", 'String'>;
|
|
@@ -2202,6 +2468,29 @@ export type ApplicationDocument$reviewsArgs<ExtArgs extends runtime.Types.Extens
|
|
|
2202
2468
|
skip?: number;
|
|
2203
2469
|
distinct?: Prisma.DocumentReviewScalarFieldEnum | Prisma.DocumentReviewScalarFieldEnum[];
|
|
2204
2470
|
};
|
|
2471
|
+
/**
|
|
2472
|
+
* ApplicationDocument.approvalTrail
|
|
2473
|
+
*/
|
|
2474
|
+
export type ApplicationDocument$approvalTrailArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2475
|
+
/**
|
|
2476
|
+
* Select specific fields to fetch from the DocumentApproval
|
|
2477
|
+
*/
|
|
2478
|
+
select?: Prisma.DocumentApprovalSelect<ExtArgs> | null;
|
|
2479
|
+
/**
|
|
2480
|
+
* Omit specific fields from the DocumentApproval
|
|
2481
|
+
*/
|
|
2482
|
+
omit?: Prisma.DocumentApprovalOmit<ExtArgs> | null;
|
|
2483
|
+
/**
|
|
2484
|
+
* Choose, which related nodes to fetch as well
|
|
2485
|
+
*/
|
|
2486
|
+
include?: Prisma.DocumentApprovalInclude<ExtArgs> | null;
|
|
2487
|
+
where?: Prisma.DocumentApprovalWhereInput;
|
|
2488
|
+
orderBy?: Prisma.DocumentApprovalOrderByWithRelationInput | Prisma.DocumentApprovalOrderByWithRelationInput[];
|
|
2489
|
+
cursor?: Prisma.DocumentApprovalWhereUniqueInput;
|
|
2490
|
+
take?: number;
|
|
2491
|
+
skip?: number;
|
|
2492
|
+
distinct?: Prisma.DocumentApprovalScalarFieldEnum | Prisma.DocumentApprovalScalarFieldEnum[];
|
|
2493
|
+
};
|
|
2205
2494
|
/**
|
|
2206
2495
|
* ApplicationDocument without action
|
|
2207
2496
|
*/
|