@valentine-efagene/qshelter-common 2.0.150 → 2.0.152
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 +13 -2
- package/dist/generated/client/client.d.ts +15 -4
- package/dist/generated/client/client.js +2 -2
- package/dist/generated/client/commonInputTypes.d.ts +50 -190
- package/dist/generated/client/enums.d.ts +7 -34
- package/dist/generated/client/enums.js +6 -30
- package/dist/generated/client/internal/class.d.ts +29 -7
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +185 -34
- package/dist/generated/client/internal/prismaNamespace.js +42 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -13
- package/dist/generated/client/models/ApplicationOrganization.d.ts +308 -67
- package/dist/generated/client/models/ApprovalStage.d.ts +210 -91
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +258 -69
- package/dist/generated/client/models/DocumentApproval.d.ts +196 -65
- package/dist/generated/client/models/DocumentReview.d.ts +475 -86
- package/dist/generated/client/models/Organization.d.ts +424 -52
- package/dist/generated/client/models/OrganizationMember.d.ts +42 -169
- package/dist/generated/client/models/OrganizationType.d.ts +1982 -0
- package/dist/generated/client/models/OrganizationType.js +1 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.d.ts +1159 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.js +1 -0
- package/dist/generated/client/models/Property.d.ts +59 -120
- package/dist/generated/client/models/Tenant.d.ts +575 -4
- package/dist/generated/client/models/User.d.ts +0 -12
- 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/package.json +1 -1
- package/prisma/migrations/20260125090213_remove_is_published_use_status_enum/migration.sql +10 -0
- package/prisma/migrations/20260125102448_org_types_many_to_many/migration.sql +153 -0
- package/prisma/migrations/20260125103700_20260125102448_org_types_many_to_many_fix/migration.sql +5 -0
- package/prisma/schema.prisma +121 -81
|
@@ -23,8 +23,8 @@ export type DocumentReviewMinAggregateOutputType = {
|
|
|
23
23
|
id: string | null;
|
|
24
24
|
tenantId: string | null;
|
|
25
25
|
documentId: string | null;
|
|
26
|
-
reviewParty: $Enums.ReviewParty | null;
|
|
27
26
|
organizationId: string | null;
|
|
27
|
+
organizationTypeId: string | null;
|
|
28
28
|
reviewerId: string | null;
|
|
29
29
|
reviewerName: string | null;
|
|
30
30
|
decision: $Enums.ReviewDecision | null;
|
|
@@ -41,8 +41,8 @@ export type DocumentReviewMaxAggregateOutputType = {
|
|
|
41
41
|
id: string | null;
|
|
42
42
|
tenantId: string | null;
|
|
43
43
|
documentId: string | null;
|
|
44
|
-
reviewParty: $Enums.ReviewParty | null;
|
|
45
44
|
organizationId: string | null;
|
|
45
|
+
organizationTypeId: string | null;
|
|
46
46
|
reviewerId: string | null;
|
|
47
47
|
reviewerName: string | null;
|
|
48
48
|
decision: $Enums.ReviewDecision | null;
|
|
@@ -59,8 +59,8 @@ export type DocumentReviewCountAggregateOutputType = {
|
|
|
59
59
|
id: number;
|
|
60
60
|
tenantId: number;
|
|
61
61
|
documentId: number;
|
|
62
|
-
reviewParty: number;
|
|
63
62
|
organizationId: number;
|
|
63
|
+
organizationTypeId: number;
|
|
64
64
|
reviewerId: number;
|
|
65
65
|
reviewerName: number;
|
|
66
66
|
decision: number;
|
|
@@ -85,8 +85,8 @@ export type DocumentReviewMinAggregateInputType = {
|
|
|
85
85
|
id?: true;
|
|
86
86
|
tenantId?: true;
|
|
87
87
|
documentId?: true;
|
|
88
|
-
reviewParty?: true;
|
|
89
88
|
organizationId?: true;
|
|
89
|
+
organizationTypeId?: true;
|
|
90
90
|
reviewerId?: true;
|
|
91
91
|
reviewerName?: true;
|
|
92
92
|
decision?: true;
|
|
@@ -103,8 +103,8 @@ export type DocumentReviewMaxAggregateInputType = {
|
|
|
103
103
|
id?: true;
|
|
104
104
|
tenantId?: true;
|
|
105
105
|
documentId?: true;
|
|
106
|
-
reviewParty?: true;
|
|
107
106
|
organizationId?: true;
|
|
107
|
+
organizationTypeId?: true;
|
|
108
108
|
reviewerId?: true;
|
|
109
109
|
reviewerName?: true;
|
|
110
110
|
decision?: true;
|
|
@@ -121,8 +121,8 @@ export type DocumentReviewCountAggregateInputType = {
|
|
|
121
121
|
id?: true;
|
|
122
122
|
tenantId?: true;
|
|
123
123
|
documentId?: true;
|
|
124
|
-
reviewParty?: true;
|
|
125
124
|
organizationId?: true;
|
|
125
|
+
organizationTypeId?: true;
|
|
126
126
|
reviewerId?: true;
|
|
127
127
|
reviewerName?: true;
|
|
128
128
|
decision?: true;
|
|
@@ -217,8 +217,8 @@ export type DocumentReviewGroupByOutputType = {
|
|
|
217
217
|
id: string;
|
|
218
218
|
tenantId: string;
|
|
219
219
|
documentId: string;
|
|
220
|
-
reviewParty: $Enums.ReviewParty;
|
|
221
220
|
organizationId: string | null;
|
|
221
|
+
organizationTypeId: string | null;
|
|
222
222
|
reviewerId: string | null;
|
|
223
223
|
reviewerName: string | null;
|
|
224
224
|
decision: $Enums.ReviewDecision;
|
|
@@ -247,8 +247,8 @@ export type DocumentReviewWhereInput = {
|
|
|
247
247
|
id?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
248
248
|
tenantId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
249
249
|
documentId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
250
|
-
reviewParty?: Prisma.EnumReviewPartyFilter<"DocumentReview"> | $Enums.ReviewParty;
|
|
251
250
|
organizationId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
251
|
+
organizationTypeId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
252
252
|
reviewerId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
253
253
|
reviewerName?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
254
254
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentReview"> | $Enums.ReviewDecision;
|
|
@@ -263,6 +263,8 @@ export type DocumentReviewWhereInput = {
|
|
|
263
263
|
updatedAt?: Prisma.DateTimeFilter<"DocumentReview"> | Date | string;
|
|
264
264
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
265
265
|
document?: Prisma.XOR<Prisma.ApplicationDocumentScalarRelationFilter, Prisma.ApplicationDocumentWhereInput>;
|
|
266
|
+
organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null;
|
|
267
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeNullableScalarRelationFilter, Prisma.OrganizationTypeWhereInput> | null;
|
|
266
268
|
reviewer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
267
269
|
parentReview?: Prisma.XOR<Prisma.DocumentReviewNullableScalarRelationFilter, Prisma.DocumentReviewWhereInput> | null;
|
|
268
270
|
childReviews?: Prisma.DocumentReviewListRelationFilter;
|
|
@@ -271,8 +273,8 @@ export type DocumentReviewOrderByWithRelationInput = {
|
|
|
271
273
|
id?: Prisma.SortOrder;
|
|
272
274
|
tenantId?: Prisma.SortOrder;
|
|
273
275
|
documentId?: Prisma.SortOrder;
|
|
274
|
-
reviewParty?: Prisma.SortOrder;
|
|
275
276
|
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
+
organizationTypeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
276
278
|
reviewerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
279
|
reviewerName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
280
|
decision?: Prisma.SortOrder;
|
|
@@ -287,6 +289,8 @@ export type DocumentReviewOrderByWithRelationInput = {
|
|
|
287
289
|
updatedAt?: Prisma.SortOrder;
|
|
288
290
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
289
291
|
document?: Prisma.ApplicationDocumentOrderByWithRelationInput;
|
|
292
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
293
|
+
organizationType?: Prisma.OrganizationTypeOrderByWithRelationInput;
|
|
290
294
|
reviewer?: Prisma.UserOrderByWithRelationInput;
|
|
291
295
|
parentReview?: Prisma.DocumentReviewOrderByWithRelationInput;
|
|
292
296
|
childReviews?: Prisma.DocumentReviewOrderByRelationAggregateInput;
|
|
@@ -294,14 +298,14 @@ export type DocumentReviewOrderByWithRelationInput = {
|
|
|
294
298
|
};
|
|
295
299
|
export type DocumentReviewWhereUniqueInput = Prisma.AtLeast<{
|
|
296
300
|
id?: string;
|
|
297
|
-
|
|
301
|
+
documentId_organizationId?: Prisma.DocumentReviewDocumentIdOrganizationIdCompoundUniqueInput;
|
|
298
302
|
AND?: Prisma.DocumentReviewWhereInput | Prisma.DocumentReviewWhereInput[];
|
|
299
303
|
OR?: Prisma.DocumentReviewWhereInput[];
|
|
300
304
|
NOT?: Prisma.DocumentReviewWhereInput | Prisma.DocumentReviewWhereInput[];
|
|
301
305
|
tenantId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
302
306
|
documentId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
303
|
-
reviewParty?: Prisma.EnumReviewPartyFilter<"DocumentReview"> | $Enums.ReviewParty;
|
|
304
307
|
organizationId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
308
|
+
organizationTypeId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
305
309
|
reviewerId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
306
310
|
reviewerName?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
307
311
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentReview"> | $Enums.ReviewDecision;
|
|
@@ -316,16 +320,18 @@ export type DocumentReviewWhereUniqueInput = Prisma.AtLeast<{
|
|
|
316
320
|
updatedAt?: Prisma.DateTimeFilter<"DocumentReview"> | Date | string;
|
|
317
321
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
318
322
|
document?: Prisma.XOR<Prisma.ApplicationDocumentScalarRelationFilter, Prisma.ApplicationDocumentWhereInput>;
|
|
323
|
+
organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null;
|
|
324
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeNullableScalarRelationFilter, Prisma.OrganizationTypeWhereInput> | null;
|
|
319
325
|
reviewer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
320
326
|
parentReview?: Prisma.XOR<Prisma.DocumentReviewNullableScalarRelationFilter, Prisma.DocumentReviewWhereInput> | null;
|
|
321
327
|
childReviews?: Prisma.DocumentReviewListRelationFilter;
|
|
322
|
-
}, "id" | "
|
|
328
|
+
}, "id" | "documentId_organizationId">;
|
|
323
329
|
export type DocumentReviewOrderByWithAggregationInput = {
|
|
324
330
|
id?: Prisma.SortOrder;
|
|
325
331
|
tenantId?: Prisma.SortOrder;
|
|
326
332
|
documentId?: Prisma.SortOrder;
|
|
327
|
-
reviewParty?: Prisma.SortOrder;
|
|
328
333
|
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
334
|
+
organizationTypeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
335
|
reviewerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
330
336
|
reviewerName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
337
|
decision?: Prisma.SortOrder;
|
|
@@ -351,8 +357,8 @@ export type DocumentReviewScalarWhereWithAggregatesInput = {
|
|
|
351
357
|
id?: Prisma.StringWithAggregatesFilter<"DocumentReview"> | string;
|
|
352
358
|
tenantId?: Prisma.StringWithAggregatesFilter<"DocumentReview"> | string;
|
|
353
359
|
documentId?: Prisma.StringWithAggregatesFilter<"DocumentReview"> | string;
|
|
354
|
-
reviewParty?: Prisma.EnumReviewPartyWithAggregatesFilter<"DocumentReview"> | $Enums.ReviewParty;
|
|
355
360
|
organizationId?: Prisma.StringNullableWithAggregatesFilter<"DocumentReview"> | string | null;
|
|
361
|
+
organizationTypeId?: Prisma.StringNullableWithAggregatesFilter<"DocumentReview"> | string | null;
|
|
356
362
|
reviewerId?: Prisma.StringNullableWithAggregatesFilter<"DocumentReview"> | string | null;
|
|
357
363
|
reviewerName?: Prisma.StringNullableWithAggregatesFilter<"DocumentReview"> | string | null;
|
|
358
364
|
decision?: Prisma.EnumReviewDecisionWithAggregatesFilter<"DocumentReview"> | $Enums.ReviewDecision;
|
|
@@ -368,8 +374,6 @@ export type DocumentReviewScalarWhereWithAggregatesInput = {
|
|
|
368
374
|
};
|
|
369
375
|
export type DocumentReviewCreateInput = {
|
|
370
376
|
id?: string;
|
|
371
|
-
reviewParty: $Enums.ReviewParty;
|
|
372
|
-
organizationId?: string | null;
|
|
373
377
|
reviewerName?: string | null;
|
|
374
378
|
decision?: $Enums.ReviewDecision;
|
|
375
379
|
comments?: string | null;
|
|
@@ -382,6 +386,8 @@ export type DocumentReviewCreateInput = {
|
|
|
382
386
|
updatedAt?: Date | string;
|
|
383
387
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
384
388
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
389
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
390
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
385
391
|
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
386
392
|
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
387
393
|
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
@@ -390,8 +396,8 @@ export type DocumentReviewUncheckedCreateInput = {
|
|
|
390
396
|
id?: string;
|
|
391
397
|
tenantId: string;
|
|
392
398
|
documentId: string;
|
|
393
|
-
reviewParty: $Enums.ReviewParty;
|
|
394
399
|
organizationId?: string | null;
|
|
400
|
+
organizationTypeId?: string | null;
|
|
395
401
|
reviewerId?: string | null;
|
|
396
402
|
reviewerName?: string | null;
|
|
397
403
|
decision?: $Enums.ReviewDecision;
|
|
@@ -408,8 +414,6 @@ export type DocumentReviewUncheckedCreateInput = {
|
|
|
408
414
|
};
|
|
409
415
|
export type DocumentReviewUpdateInput = {
|
|
410
416
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
412
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
417
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
418
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
415
419
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -422,6 +426,8 @@ export type DocumentReviewUpdateInput = {
|
|
|
422
426
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
423
427
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
424
428
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
429
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
430
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
425
431
|
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
426
432
|
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
427
433
|
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
@@ -430,8 +436,8 @@ export type DocumentReviewUncheckedUpdateInput = {
|
|
|
430
436
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
431
437
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
432
438
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
434
439
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
440
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
435
441
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
436
442
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
437
443
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -450,8 +456,8 @@ export type DocumentReviewCreateManyInput = {
|
|
|
450
456
|
id?: string;
|
|
451
457
|
tenantId: string;
|
|
452
458
|
documentId: string;
|
|
453
|
-
reviewParty: $Enums.ReviewParty;
|
|
454
459
|
organizationId?: string | null;
|
|
460
|
+
organizationTypeId?: string | null;
|
|
455
461
|
reviewerId?: string | null;
|
|
456
462
|
reviewerName?: string | null;
|
|
457
463
|
decision?: $Enums.ReviewDecision;
|
|
@@ -467,8 +473,6 @@ export type DocumentReviewCreateManyInput = {
|
|
|
467
473
|
};
|
|
468
474
|
export type DocumentReviewUpdateManyMutationInput = {
|
|
469
475
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
470
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
471
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
476
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
473
477
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
474
478
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -484,8 +488,8 @@ export type DocumentReviewUncheckedUpdateManyInput = {
|
|
|
484
488
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
489
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
486
490
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
487
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
488
491
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
492
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
489
493
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
490
494
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
491
495
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -516,17 +520,16 @@ export type DocumentReviewOrderByRelevanceInput = {
|
|
|
516
520
|
sort: Prisma.SortOrder;
|
|
517
521
|
search: string;
|
|
518
522
|
};
|
|
519
|
-
export type
|
|
523
|
+
export type DocumentReviewDocumentIdOrganizationIdCompoundUniqueInput = {
|
|
520
524
|
documentId: string;
|
|
521
|
-
reviewParty: $Enums.ReviewParty;
|
|
522
525
|
organizationId: string;
|
|
523
526
|
};
|
|
524
527
|
export type DocumentReviewCountOrderByAggregateInput = {
|
|
525
528
|
id?: Prisma.SortOrder;
|
|
526
529
|
tenantId?: Prisma.SortOrder;
|
|
527
530
|
documentId?: Prisma.SortOrder;
|
|
528
|
-
reviewParty?: Prisma.SortOrder;
|
|
529
531
|
organizationId?: Prisma.SortOrder;
|
|
532
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
530
533
|
reviewerId?: Prisma.SortOrder;
|
|
531
534
|
reviewerName?: Prisma.SortOrder;
|
|
532
535
|
decision?: Prisma.SortOrder;
|
|
@@ -547,8 +550,8 @@ export type DocumentReviewMaxOrderByAggregateInput = {
|
|
|
547
550
|
id?: Prisma.SortOrder;
|
|
548
551
|
tenantId?: Prisma.SortOrder;
|
|
549
552
|
documentId?: Prisma.SortOrder;
|
|
550
|
-
reviewParty?: Prisma.SortOrder;
|
|
551
553
|
organizationId?: Prisma.SortOrder;
|
|
554
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
552
555
|
reviewerId?: Prisma.SortOrder;
|
|
553
556
|
reviewerName?: Prisma.SortOrder;
|
|
554
557
|
decision?: Prisma.SortOrder;
|
|
@@ -565,8 +568,8 @@ export type DocumentReviewMinOrderByAggregateInput = {
|
|
|
565
568
|
id?: Prisma.SortOrder;
|
|
566
569
|
tenantId?: Prisma.SortOrder;
|
|
567
570
|
documentId?: Prisma.SortOrder;
|
|
568
|
-
reviewParty?: Prisma.SortOrder;
|
|
569
571
|
organizationId?: Prisma.SortOrder;
|
|
572
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
570
573
|
reviewerId?: Prisma.SortOrder;
|
|
571
574
|
reviewerName?: Prisma.SortOrder;
|
|
572
575
|
decision?: Prisma.SortOrder;
|
|
@@ -582,6 +585,44 @@ export type DocumentReviewMinOrderByAggregateInput = {
|
|
|
582
585
|
export type DocumentReviewSumOrderByAggregateInput = {
|
|
583
586
|
reviewOrder?: Prisma.SortOrder;
|
|
584
587
|
};
|
|
588
|
+
export type DocumentReviewCreateNestedManyWithoutOrganizationTypeInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentReviewCreateWithoutOrganizationTypeInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput[];
|
|
590
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput[];
|
|
591
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationTypeInputEnvelope;
|
|
592
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
593
|
+
};
|
|
594
|
+
export type DocumentReviewUncheckedCreateNestedManyWithoutOrganizationTypeInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentReviewCreateWithoutOrganizationTypeInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput[];
|
|
596
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput[];
|
|
597
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationTypeInputEnvelope;
|
|
598
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
599
|
+
};
|
|
600
|
+
export type DocumentReviewUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
601
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentReviewCreateWithoutOrganizationTypeInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput[];
|
|
602
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput[];
|
|
603
|
+
upsert?: Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
604
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationTypeInputEnvelope;
|
|
605
|
+
set?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
606
|
+
disconnect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
607
|
+
delete?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
608
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
609
|
+
update?: Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
610
|
+
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
611
|
+
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
612
|
+
};
|
|
613
|
+
export type DocumentReviewUncheckedUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
614
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentReviewCreateWithoutOrganizationTypeInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput[];
|
|
615
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationTypeInput[];
|
|
616
|
+
upsert?: Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
617
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationTypeInputEnvelope;
|
|
618
|
+
set?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
619
|
+
disconnect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
620
|
+
delete?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
621
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
622
|
+
update?: Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
623
|
+
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
624
|
+
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
625
|
+
};
|
|
585
626
|
export type DocumentReviewCreateNestedManyWithoutReviewerInput = {
|
|
586
627
|
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutReviewerInput, Prisma.DocumentReviewUncheckedCreateWithoutReviewerInput> | Prisma.DocumentReviewCreateWithoutReviewerInput[] | Prisma.DocumentReviewUncheckedCreateWithoutReviewerInput[];
|
|
587
628
|
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutReviewerInput | Prisma.DocumentReviewCreateOrConnectWithoutReviewerInput[];
|
|
@@ -620,6 +661,44 @@ export type DocumentReviewUncheckedUpdateManyWithoutReviewerNestedInput = {
|
|
|
620
661
|
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutReviewerInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutReviewerInput[];
|
|
621
662
|
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
622
663
|
};
|
|
664
|
+
export type DocumentReviewCreateNestedManyWithoutOrganizationInput = {
|
|
665
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput> | Prisma.DocumentReviewCreateWithoutOrganizationInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput[];
|
|
666
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput[];
|
|
667
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationInputEnvelope;
|
|
668
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
669
|
+
};
|
|
670
|
+
export type DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
671
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput> | Prisma.DocumentReviewCreateWithoutOrganizationInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput[];
|
|
672
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput[];
|
|
673
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationInputEnvelope;
|
|
674
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
675
|
+
};
|
|
676
|
+
export type DocumentReviewUpdateManyWithoutOrganizationNestedInput = {
|
|
677
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput> | Prisma.DocumentReviewCreateWithoutOrganizationInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput[];
|
|
678
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput[];
|
|
679
|
+
upsert?: Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
680
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationInputEnvelope;
|
|
681
|
+
set?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
682
|
+
disconnect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
683
|
+
delete?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
684
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
685
|
+
update?: Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
686
|
+
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationInput[];
|
|
687
|
+
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
688
|
+
};
|
|
689
|
+
export type DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
690
|
+
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput> | Prisma.DocumentReviewCreateWithoutOrganizationInput[] | Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput[];
|
|
691
|
+
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput | Prisma.DocumentReviewCreateOrConnectWithoutOrganizationInput[];
|
|
692
|
+
upsert?: Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.DocumentReviewUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
693
|
+
createMany?: Prisma.DocumentReviewCreateManyOrganizationInputEnvelope;
|
|
694
|
+
set?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
695
|
+
disconnect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
696
|
+
delete?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
697
|
+
connect?: Prisma.DocumentReviewWhereUniqueInput | Prisma.DocumentReviewWhereUniqueInput[];
|
|
698
|
+
update?: Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.DocumentReviewUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
699
|
+
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutOrganizationInput[];
|
|
700
|
+
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
701
|
+
};
|
|
623
702
|
export type DocumentReviewCreateNestedManyWithoutTenantInput = {
|
|
624
703
|
create?: Prisma.XOR<Prisma.DocumentReviewCreateWithoutTenantInput, Prisma.DocumentReviewUncheckedCreateWithoutTenantInput> | Prisma.DocumentReviewCreateWithoutTenantInput[] | Prisma.DocumentReviewUncheckedCreateWithoutTenantInput[];
|
|
625
704
|
connectOrCreate?: Prisma.DocumentReviewCreateOrConnectWithoutTenantInput | Prisma.DocumentReviewCreateOrConnectWithoutTenantInput[];
|
|
@@ -748,10 +827,8 @@ export type DocumentReviewUncheckedUpdateManyWithoutParentReviewNestedInput = {
|
|
|
748
827
|
updateMany?: Prisma.DocumentReviewUpdateManyWithWhereWithoutParentReviewInput | Prisma.DocumentReviewUpdateManyWithWhereWithoutParentReviewInput[];
|
|
749
828
|
deleteMany?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
750
829
|
};
|
|
751
|
-
export type
|
|
830
|
+
export type DocumentReviewCreateWithoutOrganizationTypeInput = {
|
|
752
831
|
id?: string;
|
|
753
|
-
reviewParty: $Enums.ReviewParty;
|
|
754
|
-
organizationId?: string | null;
|
|
755
832
|
reviewerName?: string | null;
|
|
756
833
|
decision?: $Enums.ReviewDecision;
|
|
757
834
|
comments?: string | null;
|
|
@@ -764,15 +841,17 @@ export type DocumentReviewCreateWithoutReviewerInput = {
|
|
|
764
841
|
updatedAt?: Date | string;
|
|
765
842
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
766
843
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
844
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
845
|
+
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
767
846
|
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
768
847
|
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
769
848
|
};
|
|
770
|
-
export type
|
|
849
|
+
export type DocumentReviewUncheckedCreateWithoutOrganizationTypeInput = {
|
|
771
850
|
id?: string;
|
|
772
851
|
tenantId: string;
|
|
773
852
|
documentId: string;
|
|
774
|
-
reviewParty: $Enums.ReviewParty;
|
|
775
853
|
organizationId?: string | null;
|
|
854
|
+
reviewerId?: string | null;
|
|
776
855
|
reviewerName?: string | null;
|
|
777
856
|
decision?: $Enums.ReviewDecision;
|
|
778
857
|
comments?: string | null;
|
|
@@ -786,26 +865,26 @@ export type DocumentReviewUncheckedCreateWithoutReviewerInput = {
|
|
|
786
865
|
updatedAt?: Date | string;
|
|
787
866
|
childReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutParentReviewInput;
|
|
788
867
|
};
|
|
789
|
-
export type
|
|
868
|
+
export type DocumentReviewCreateOrConnectWithoutOrganizationTypeInput = {
|
|
790
869
|
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
791
|
-
create: Prisma.XOR<Prisma.
|
|
870
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput>;
|
|
792
871
|
};
|
|
793
|
-
export type
|
|
794
|
-
data: Prisma.
|
|
872
|
+
export type DocumentReviewCreateManyOrganizationTypeInputEnvelope = {
|
|
873
|
+
data: Prisma.DocumentReviewCreateManyOrganizationTypeInput | Prisma.DocumentReviewCreateManyOrganizationTypeInput[];
|
|
795
874
|
skipDuplicates?: boolean;
|
|
796
875
|
};
|
|
797
|
-
export type
|
|
876
|
+
export type DocumentReviewUpsertWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
798
877
|
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
799
|
-
update: Prisma.XOR<Prisma.
|
|
800
|
-
create: Prisma.XOR<Prisma.
|
|
878
|
+
update: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
879
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationTypeInput>;
|
|
801
880
|
};
|
|
802
|
-
export type
|
|
881
|
+
export type DocumentReviewUpdateWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
803
882
|
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
804
|
-
data: Prisma.XOR<Prisma.
|
|
883
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutOrganizationTypeInput, Prisma.DocumentReviewUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
805
884
|
};
|
|
806
|
-
export type
|
|
885
|
+
export type DocumentReviewUpdateManyWithWhereWithoutOrganizationTypeInput = {
|
|
807
886
|
where: Prisma.DocumentReviewScalarWhereInput;
|
|
808
|
-
data: Prisma.XOR<Prisma.DocumentReviewUpdateManyMutationInput, Prisma.
|
|
887
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateManyMutationInput, Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationTypeInput>;
|
|
809
888
|
};
|
|
810
889
|
export type DocumentReviewScalarWhereInput = {
|
|
811
890
|
AND?: Prisma.DocumentReviewScalarWhereInput | Prisma.DocumentReviewScalarWhereInput[];
|
|
@@ -814,8 +893,8 @@ export type DocumentReviewScalarWhereInput = {
|
|
|
814
893
|
id?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
815
894
|
tenantId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
816
895
|
documentId?: Prisma.StringFilter<"DocumentReview"> | string;
|
|
817
|
-
reviewParty?: Prisma.EnumReviewPartyFilter<"DocumentReview"> | $Enums.ReviewParty;
|
|
818
896
|
organizationId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
897
|
+
organizationTypeId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
819
898
|
reviewerId?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
820
899
|
reviewerName?: Prisma.StringNullableFilter<"DocumentReview"> | string | null;
|
|
821
900
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentReview"> | $Enums.ReviewDecision;
|
|
@@ -829,10 +908,67 @@ export type DocumentReviewScalarWhereInput = {
|
|
|
829
908
|
createdAt?: Prisma.DateTimeFilter<"DocumentReview"> | Date | string;
|
|
830
909
|
updatedAt?: Prisma.DateTimeFilter<"DocumentReview"> | Date | string;
|
|
831
910
|
};
|
|
832
|
-
export type
|
|
911
|
+
export type DocumentReviewCreateWithoutReviewerInput = {
|
|
833
912
|
id?: string;
|
|
834
|
-
|
|
913
|
+
reviewerName?: string | null;
|
|
914
|
+
decision?: $Enums.ReviewDecision;
|
|
915
|
+
comments?: string | null;
|
|
916
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
917
|
+
requestedAt?: Date | string;
|
|
918
|
+
dueAt?: Date | string | null;
|
|
919
|
+
reviewedAt?: Date | string | null;
|
|
920
|
+
reviewOrder?: number;
|
|
921
|
+
createdAt?: Date | string;
|
|
922
|
+
updatedAt?: Date | string;
|
|
923
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
924
|
+
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
925
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
926
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
927
|
+
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
928
|
+
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
929
|
+
};
|
|
930
|
+
export type DocumentReviewUncheckedCreateWithoutReviewerInput = {
|
|
931
|
+
id?: string;
|
|
932
|
+
tenantId: string;
|
|
933
|
+
documentId: string;
|
|
835
934
|
organizationId?: string | null;
|
|
935
|
+
organizationTypeId?: string | null;
|
|
936
|
+
reviewerName?: string | null;
|
|
937
|
+
decision?: $Enums.ReviewDecision;
|
|
938
|
+
comments?: string | null;
|
|
939
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
940
|
+
requestedAt?: Date | string;
|
|
941
|
+
dueAt?: Date | string | null;
|
|
942
|
+
reviewedAt?: Date | string | null;
|
|
943
|
+
reviewOrder?: number;
|
|
944
|
+
parentReviewId?: string | null;
|
|
945
|
+
createdAt?: Date | string;
|
|
946
|
+
updatedAt?: Date | string;
|
|
947
|
+
childReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutParentReviewInput;
|
|
948
|
+
};
|
|
949
|
+
export type DocumentReviewCreateOrConnectWithoutReviewerInput = {
|
|
950
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
951
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutReviewerInput, Prisma.DocumentReviewUncheckedCreateWithoutReviewerInput>;
|
|
952
|
+
};
|
|
953
|
+
export type DocumentReviewCreateManyReviewerInputEnvelope = {
|
|
954
|
+
data: Prisma.DocumentReviewCreateManyReviewerInput | Prisma.DocumentReviewCreateManyReviewerInput[];
|
|
955
|
+
skipDuplicates?: boolean;
|
|
956
|
+
};
|
|
957
|
+
export type DocumentReviewUpsertWithWhereUniqueWithoutReviewerInput = {
|
|
958
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
959
|
+
update: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutReviewerInput, Prisma.DocumentReviewUncheckedUpdateWithoutReviewerInput>;
|
|
960
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutReviewerInput, Prisma.DocumentReviewUncheckedCreateWithoutReviewerInput>;
|
|
961
|
+
};
|
|
962
|
+
export type DocumentReviewUpdateWithWhereUniqueWithoutReviewerInput = {
|
|
963
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
964
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutReviewerInput, Prisma.DocumentReviewUncheckedUpdateWithoutReviewerInput>;
|
|
965
|
+
};
|
|
966
|
+
export type DocumentReviewUpdateManyWithWhereWithoutReviewerInput = {
|
|
967
|
+
where: Prisma.DocumentReviewScalarWhereInput;
|
|
968
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateManyMutationInput, Prisma.DocumentReviewUncheckedUpdateManyWithoutReviewerInput>;
|
|
969
|
+
};
|
|
970
|
+
export type DocumentReviewCreateWithoutOrganizationInput = {
|
|
971
|
+
id?: string;
|
|
836
972
|
reviewerName?: string | null;
|
|
837
973
|
decision?: $Enums.ReviewDecision;
|
|
838
974
|
comments?: string | null;
|
|
@@ -843,7 +979,68 @@ export type DocumentReviewCreateWithoutTenantInput = {
|
|
|
843
979
|
reviewOrder?: number;
|
|
844
980
|
createdAt?: Date | string;
|
|
845
981
|
updatedAt?: Date | string;
|
|
982
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
846
983
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
984
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
985
|
+
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
986
|
+
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
987
|
+
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
988
|
+
};
|
|
989
|
+
export type DocumentReviewUncheckedCreateWithoutOrganizationInput = {
|
|
990
|
+
id?: string;
|
|
991
|
+
tenantId: string;
|
|
992
|
+
documentId: string;
|
|
993
|
+
organizationTypeId?: string | null;
|
|
994
|
+
reviewerId?: string | null;
|
|
995
|
+
reviewerName?: string | null;
|
|
996
|
+
decision?: $Enums.ReviewDecision;
|
|
997
|
+
comments?: string | null;
|
|
998
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
999
|
+
requestedAt?: Date | string;
|
|
1000
|
+
dueAt?: Date | string | null;
|
|
1001
|
+
reviewedAt?: Date | string | null;
|
|
1002
|
+
reviewOrder?: number;
|
|
1003
|
+
parentReviewId?: string | null;
|
|
1004
|
+
createdAt?: Date | string;
|
|
1005
|
+
updatedAt?: Date | string;
|
|
1006
|
+
childReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutParentReviewInput;
|
|
1007
|
+
};
|
|
1008
|
+
export type DocumentReviewCreateOrConnectWithoutOrganizationInput = {
|
|
1009
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
1010
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput>;
|
|
1011
|
+
};
|
|
1012
|
+
export type DocumentReviewCreateManyOrganizationInputEnvelope = {
|
|
1013
|
+
data: Prisma.DocumentReviewCreateManyOrganizationInput | Prisma.DocumentReviewCreateManyOrganizationInput[];
|
|
1014
|
+
skipDuplicates?: boolean;
|
|
1015
|
+
};
|
|
1016
|
+
export type DocumentReviewUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
1017
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
1018
|
+
update: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedUpdateWithoutOrganizationInput>;
|
|
1019
|
+
create: Prisma.XOR<Prisma.DocumentReviewCreateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedCreateWithoutOrganizationInput>;
|
|
1020
|
+
};
|
|
1021
|
+
export type DocumentReviewUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
1022
|
+
where: Prisma.DocumentReviewWhereUniqueInput;
|
|
1023
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateWithoutOrganizationInput, Prisma.DocumentReviewUncheckedUpdateWithoutOrganizationInput>;
|
|
1024
|
+
};
|
|
1025
|
+
export type DocumentReviewUpdateManyWithWhereWithoutOrganizationInput = {
|
|
1026
|
+
where: Prisma.DocumentReviewScalarWhereInput;
|
|
1027
|
+
data: Prisma.XOR<Prisma.DocumentReviewUpdateManyMutationInput, Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationInput>;
|
|
1028
|
+
};
|
|
1029
|
+
export type DocumentReviewCreateWithoutTenantInput = {
|
|
1030
|
+
id?: string;
|
|
1031
|
+
reviewerName?: string | null;
|
|
1032
|
+
decision?: $Enums.ReviewDecision;
|
|
1033
|
+
comments?: string | null;
|
|
1034
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1035
|
+
requestedAt?: Date | string;
|
|
1036
|
+
dueAt?: Date | string | null;
|
|
1037
|
+
reviewedAt?: Date | string | null;
|
|
1038
|
+
reviewOrder?: number;
|
|
1039
|
+
createdAt?: Date | string;
|
|
1040
|
+
updatedAt?: Date | string;
|
|
1041
|
+
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
1042
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
1043
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
847
1044
|
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
848
1045
|
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
849
1046
|
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
@@ -851,8 +1048,8 @@ export type DocumentReviewCreateWithoutTenantInput = {
|
|
|
851
1048
|
export type DocumentReviewUncheckedCreateWithoutTenantInput = {
|
|
852
1049
|
id?: string;
|
|
853
1050
|
documentId: string;
|
|
854
|
-
reviewParty: $Enums.ReviewParty;
|
|
855
1051
|
organizationId?: string | null;
|
|
1052
|
+
organizationTypeId?: string | null;
|
|
856
1053
|
reviewerId?: string | null;
|
|
857
1054
|
reviewerName?: string | null;
|
|
858
1055
|
decision?: $Enums.ReviewDecision;
|
|
@@ -890,8 +1087,6 @@ export type DocumentReviewUpdateManyWithWhereWithoutTenantInput = {
|
|
|
890
1087
|
};
|
|
891
1088
|
export type DocumentReviewCreateWithoutDocumentInput = {
|
|
892
1089
|
id?: string;
|
|
893
|
-
reviewParty: $Enums.ReviewParty;
|
|
894
|
-
organizationId?: string | null;
|
|
895
1090
|
reviewerName?: string | null;
|
|
896
1091
|
decision?: $Enums.ReviewDecision;
|
|
897
1092
|
comments?: string | null;
|
|
@@ -903,6 +1098,8 @@ export type DocumentReviewCreateWithoutDocumentInput = {
|
|
|
903
1098
|
createdAt?: Date | string;
|
|
904
1099
|
updatedAt?: Date | string;
|
|
905
1100
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
1101
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
1102
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
906
1103
|
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
907
1104
|
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
908
1105
|
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
@@ -910,8 +1107,8 @@ export type DocumentReviewCreateWithoutDocumentInput = {
|
|
|
910
1107
|
export type DocumentReviewUncheckedCreateWithoutDocumentInput = {
|
|
911
1108
|
id?: string;
|
|
912
1109
|
tenantId: string;
|
|
913
|
-
reviewParty: $Enums.ReviewParty;
|
|
914
1110
|
organizationId?: string | null;
|
|
1111
|
+
organizationTypeId?: string | null;
|
|
915
1112
|
reviewerId?: string | null;
|
|
916
1113
|
reviewerName?: string | null;
|
|
917
1114
|
decision?: $Enums.ReviewDecision;
|
|
@@ -949,8 +1146,6 @@ export type DocumentReviewUpdateManyWithWhereWithoutDocumentInput = {
|
|
|
949
1146
|
};
|
|
950
1147
|
export type DocumentReviewCreateWithoutChildReviewsInput = {
|
|
951
1148
|
id?: string;
|
|
952
|
-
reviewParty: $Enums.ReviewParty;
|
|
953
|
-
organizationId?: string | null;
|
|
954
1149
|
reviewerName?: string | null;
|
|
955
1150
|
decision?: $Enums.ReviewDecision;
|
|
956
1151
|
comments?: string | null;
|
|
@@ -963,6 +1158,8 @@ export type DocumentReviewCreateWithoutChildReviewsInput = {
|
|
|
963
1158
|
updatedAt?: Date | string;
|
|
964
1159
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
965
1160
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
1161
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
1162
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
966
1163
|
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
967
1164
|
parentReview?: Prisma.DocumentReviewCreateNestedOneWithoutChildReviewsInput;
|
|
968
1165
|
};
|
|
@@ -970,8 +1167,8 @@ export type DocumentReviewUncheckedCreateWithoutChildReviewsInput = {
|
|
|
970
1167
|
id?: string;
|
|
971
1168
|
tenantId: string;
|
|
972
1169
|
documentId: string;
|
|
973
|
-
reviewParty: $Enums.ReviewParty;
|
|
974
1170
|
organizationId?: string | null;
|
|
1171
|
+
organizationTypeId?: string | null;
|
|
975
1172
|
reviewerId?: string | null;
|
|
976
1173
|
reviewerName?: string | null;
|
|
977
1174
|
decision?: $Enums.ReviewDecision;
|
|
@@ -991,8 +1188,6 @@ export type DocumentReviewCreateOrConnectWithoutChildReviewsInput = {
|
|
|
991
1188
|
};
|
|
992
1189
|
export type DocumentReviewCreateWithoutParentReviewInput = {
|
|
993
1190
|
id?: string;
|
|
994
|
-
reviewParty: $Enums.ReviewParty;
|
|
995
|
-
organizationId?: string | null;
|
|
996
1191
|
reviewerName?: string | null;
|
|
997
1192
|
decision?: $Enums.ReviewDecision;
|
|
998
1193
|
comments?: string | null;
|
|
@@ -1005,6 +1200,8 @@ export type DocumentReviewCreateWithoutParentReviewInput = {
|
|
|
1005
1200
|
updatedAt?: Date | string;
|
|
1006
1201
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentReviewsInput;
|
|
1007
1202
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutReviewsInput;
|
|
1203
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutDocumentReviewsInput;
|
|
1204
|
+
organizationType?: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentReviewsInput;
|
|
1008
1205
|
reviewer?: Prisma.UserCreateNestedOneWithoutDocumentReviewsInput;
|
|
1009
1206
|
childReviews?: Prisma.DocumentReviewCreateNestedManyWithoutParentReviewInput;
|
|
1010
1207
|
};
|
|
@@ -1012,8 +1209,8 @@ export type DocumentReviewUncheckedCreateWithoutParentReviewInput = {
|
|
|
1012
1209
|
id?: string;
|
|
1013
1210
|
tenantId: string;
|
|
1014
1211
|
documentId: string;
|
|
1015
|
-
reviewParty: $Enums.ReviewParty;
|
|
1016
1212
|
organizationId?: string | null;
|
|
1213
|
+
organizationTypeId?: string | null;
|
|
1017
1214
|
reviewerId?: string | null;
|
|
1018
1215
|
reviewerName?: string | null;
|
|
1019
1216
|
decision?: $Enums.ReviewDecision;
|
|
@@ -1046,8 +1243,6 @@ export type DocumentReviewUpdateToOneWithWhereWithoutChildReviewsInput = {
|
|
|
1046
1243
|
};
|
|
1047
1244
|
export type DocumentReviewUpdateWithoutChildReviewsInput = {
|
|
1048
1245
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1049
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1050
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1051
1246
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1052
1247
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1053
1248
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1060,6 +1255,8 @@ export type DocumentReviewUpdateWithoutChildReviewsInput = {
|
|
|
1060
1255
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1061
1256
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1062
1257
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1258
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1259
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1063
1260
|
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1064
1261
|
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1065
1262
|
};
|
|
@@ -1067,8 +1264,8 @@ export type DocumentReviewUncheckedUpdateWithoutChildReviewsInput = {
|
|
|
1067
1264
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1068
1265
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1069
1266
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1070
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1071
1267
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1268
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1072
1269
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1073
1270
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1074
1271
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1095,12 +1292,86 @@ export type DocumentReviewUpdateManyWithWhereWithoutParentReviewInput = {
|
|
|
1095
1292
|
where: Prisma.DocumentReviewScalarWhereInput;
|
|
1096
1293
|
data: Prisma.XOR<Prisma.DocumentReviewUpdateManyMutationInput, Prisma.DocumentReviewUncheckedUpdateManyWithoutParentReviewInput>;
|
|
1097
1294
|
};
|
|
1295
|
+
export type DocumentReviewCreateManyOrganizationTypeInput = {
|
|
1296
|
+
id?: string;
|
|
1297
|
+
tenantId: string;
|
|
1298
|
+
documentId: string;
|
|
1299
|
+
organizationId?: string | null;
|
|
1300
|
+
reviewerId?: string | null;
|
|
1301
|
+
reviewerName?: string | null;
|
|
1302
|
+
decision?: $Enums.ReviewDecision;
|
|
1303
|
+
comments?: string | null;
|
|
1304
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1305
|
+
requestedAt?: Date | string;
|
|
1306
|
+
dueAt?: Date | string | null;
|
|
1307
|
+
reviewedAt?: Date | string | null;
|
|
1308
|
+
reviewOrder?: number;
|
|
1309
|
+
parentReviewId?: string | null;
|
|
1310
|
+
createdAt?: Date | string;
|
|
1311
|
+
updatedAt?: Date | string;
|
|
1312
|
+
};
|
|
1313
|
+
export type DocumentReviewUpdateWithoutOrganizationTypeInput = {
|
|
1314
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1315
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1316
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1317
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1318
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1319
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1320
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1321
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1322
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1323
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1324
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1325
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1326
|
+
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1327
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1328
|
+
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1329
|
+
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1330
|
+
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
1331
|
+
};
|
|
1332
|
+
export type DocumentReviewUncheckedUpdateWithoutOrganizationTypeInput = {
|
|
1333
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1334
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1335
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1336
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1337
|
+
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1338
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1339
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1340
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1341
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1342
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1343
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1344
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1345
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1346
|
+
parentReviewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1347
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1348
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1349
|
+
childReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutParentReviewNestedInput;
|
|
1350
|
+
};
|
|
1351
|
+
export type DocumentReviewUncheckedUpdateManyWithoutOrganizationTypeInput = {
|
|
1352
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1353
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1354
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1355
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1356
|
+
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1357
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1358
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1359
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1360
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1361
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1362
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1363
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1364
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1365
|
+
parentReviewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1366
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1367
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1368
|
+
};
|
|
1098
1369
|
export type DocumentReviewCreateManyReviewerInput = {
|
|
1099
1370
|
id?: string;
|
|
1100
1371
|
tenantId: string;
|
|
1101
1372
|
documentId: string;
|
|
1102
|
-
reviewParty: $Enums.ReviewParty;
|
|
1103
1373
|
organizationId?: string | null;
|
|
1374
|
+
organizationTypeId?: string | null;
|
|
1104
1375
|
reviewerName?: string | null;
|
|
1105
1376
|
decision?: $Enums.ReviewDecision;
|
|
1106
1377
|
comments?: string | null;
|
|
@@ -1115,8 +1386,6 @@ export type DocumentReviewCreateManyReviewerInput = {
|
|
|
1115
1386
|
};
|
|
1116
1387
|
export type DocumentReviewUpdateWithoutReviewerInput = {
|
|
1117
1388
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1118
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1119
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1120
1389
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1121
1390
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1122
1391
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1129,6 +1398,8 @@ export type DocumentReviewUpdateWithoutReviewerInput = {
|
|
|
1129
1398
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1130
1399
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1131
1400
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1401
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1402
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1132
1403
|
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1133
1404
|
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
1134
1405
|
};
|
|
@@ -1136,8 +1407,8 @@ export type DocumentReviewUncheckedUpdateWithoutReviewerInput = {
|
|
|
1136
1407
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1137
1408
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1138
1409
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1139
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1140
1410
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1411
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1141
1412
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1142
1413
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1143
1414
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1155,8 +1426,82 @@ export type DocumentReviewUncheckedUpdateManyWithoutReviewerInput = {
|
|
|
1155
1426
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1156
1427
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1157
1428
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1158
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1159
1429
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1430
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1431
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1432
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1433
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1434
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1435
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1436
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1437
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1438
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1439
|
+
parentReviewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1440
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1441
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1442
|
+
};
|
|
1443
|
+
export type DocumentReviewCreateManyOrganizationInput = {
|
|
1444
|
+
id?: string;
|
|
1445
|
+
tenantId: string;
|
|
1446
|
+
documentId: string;
|
|
1447
|
+
organizationTypeId?: string | null;
|
|
1448
|
+
reviewerId?: string | null;
|
|
1449
|
+
reviewerName?: string | null;
|
|
1450
|
+
decision?: $Enums.ReviewDecision;
|
|
1451
|
+
comments?: string | null;
|
|
1452
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1453
|
+
requestedAt?: Date | string;
|
|
1454
|
+
dueAt?: Date | string | null;
|
|
1455
|
+
reviewedAt?: Date | string | null;
|
|
1456
|
+
reviewOrder?: number;
|
|
1457
|
+
parentReviewId?: string | null;
|
|
1458
|
+
createdAt?: Date | string;
|
|
1459
|
+
updatedAt?: Date | string;
|
|
1460
|
+
};
|
|
1461
|
+
export type DocumentReviewUpdateWithoutOrganizationInput = {
|
|
1462
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1463
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1464
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1465
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1466
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1467
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1468
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1469
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1470
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1471
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1472
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1473
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1474
|
+
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1475
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1476
|
+
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1477
|
+
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1478
|
+
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
1479
|
+
};
|
|
1480
|
+
export type DocumentReviewUncheckedUpdateWithoutOrganizationInput = {
|
|
1481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1482
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1483
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1484
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1485
|
+
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1486
|
+
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1487
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1488
|
+
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1489
|
+
concerns?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1490
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1491
|
+
dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1492
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1493
|
+
reviewOrder?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1494
|
+
parentReviewId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1495
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1496
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1497
|
+
childReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutParentReviewNestedInput;
|
|
1498
|
+
};
|
|
1499
|
+
export type DocumentReviewUncheckedUpdateManyWithoutOrganizationInput = {
|
|
1500
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1501
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1502
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1503
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1504
|
+
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1160
1505
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1161
1506
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1162
1507
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1172,8 +1517,8 @@ export type DocumentReviewUncheckedUpdateManyWithoutReviewerInput = {
|
|
|
1172
1517
|
export type DocumentReviewCreateManyTenantInput = {
|
|
1173
1518
|
id?: string;
|
|
1174
1519
|
documentId: string;
|
|
1175
|
-
reviewParty: $Enums.ReviewParty;
|
|
1176
1520
|
organizationId?: string | null;
|
|
1521
|
+
organizationTypeId?: string | null;
|
|
1177
1522
|
reviewerId?: string | null;
|
|
1178
1523
|
reviewerName?: string | null;
|
|
1179
1524
|
decision?: $Enums.ReviewDecision;
|
|
@@ -1189,8 +1534,6 @@ export type DocumentReviewCreateManyTenantInput = {
|
|
|
1189
1534
|
};
|
|
1190
1535
|
export type DocumentReviewUpdateWithoutTenantInput = {
|
|
1191
1536
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1192
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1193
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1194
1537
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1195
1538
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1196
1539
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1202,6 +1545,8 @@ export type DocumentReviewUpdateWithoutTenantInput = {
|
|
|
1202
1545
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1203
1546
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1204
1547
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1548
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1549
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1205
1550
|
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1206
1551
|
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1207
1552
|
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
@@ -1209,8 +1554,8 @@ export type DocumentReviewUpdateWithoutTenantInput = {
|
|
|
1209
1554
|
export type DocumentReviewUncheckedUpdateWithoutTenantInput = {
|
|
1210
1555
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1211
1556
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1212
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1213
1557
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1558
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1214
1559
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1215
1560
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1216
1561
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1228,8 +1573,8 @@ export type DocumentReviewUncheckedUpdateWithoutTenantInput = {
|
|
|
1228
1573
|
export type DocumentReviewUncheckedUpdateManyWithoutTenantInput = {
|
|
1229
1574
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1230
1575
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1231
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1232
1576
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1577
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1233
1578
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1234
1579
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1235
1580
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1246,8 +1591,8 @@ export type DocumentReviewUncheckedUpdateManyWithoutTenantInput = {
|
|
|
1246
1591
|
export type DocumentReviewCreateManyDocumentInput = {
|
|
1247
1592
|
id?: string;
|
|
1248
1593
|
tenantId: string;
|
|
1249
|
-
reviewParty: $Enums.ReviewParty;
|
|
1250
1594
|
organizationId?: string | null;
|
|
1595
|
+
organizationTypeId?: string | null;
|
|
1251
1596
|
reviewerId?: string | null;
|
|
1252
1597
|
reviewerName?: string | null;
|
|
1253
1598
|
decision?: $Enums.ReviewDecision;
|
|
@@ -1263,8 +1608,6 @@ export type DocumentReviewCreateManyDocumentInput = {
|
|
|
1263
1608
|
};
|
|
1264
1609
|
export type DocumentReviewUpdateWithoutDocumentInput = {
|
|
1265
1610
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1266
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1267
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1268
1611
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1269
1612
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1270
1613
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1276,6 +1619,8 @@ export type DocumentReviewUpdateWithoutDocumentInput = {
|
|
|
1276
1619
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1277
1620
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1278
1621
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1622
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1623
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1279
1624
|
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1280
1625
|
parentReview?: Prisma.DocumentReviewUpdateOneWithoutChildReviewsNestedInput;
|
|
1281
1626
|
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
@@ -1283,8 +1628,8 @@ export type DocumentReviewUpdateWithoutDocumentInput = {
|
|
|
1283
1628
|
export type DocumentReviewUncheckedUpdateWithoutDocumentInput = {
|
|
1284
1629
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1285
1630
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1286
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1287
1631
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1632
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1288
1633
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1289
1634
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1290
1635
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1302,8 +1647,8 @@ export type DocumentReviewUncheckedUpdateWithoutDocumentInput = {
|
|
|
1302
1647
|
export type DocumentReviewUncheckedUpdateManyWithoutDocumentInput = {
|
|
1303
1648
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1304
1649
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1305
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1306
1650
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1651
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1307
1652
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1308
1653
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1309
1654
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1321,8 +1666,8 @@ export type DocumentReviewCreateManyParentReviewInput = {
|
|
|
1321
1666
|
id?: string;
|
|
1322
1667
|
tenantId: string;
|
|
1323
1668
|
documentId: string;
|
|
1324
|
-
reviewParty: $Enums.ReviewParty;
|
|
1325
1669
|
organizationId?: string | null;
|
|
1670
|
+
organizationTypeId?: string | null;
|
|
1326
1671
|
reviewerId?: string | null;
|
|
1327
1672
|
reviewerName?: string | null;
|
|
1328
1673
|
decision?: $Enums.ReviewDecision;
|
|
@@ -1337,8 +1682,6 @@ export type DocumentReviewCreateManyParentReviewInput = {
|
|
|
1337
1682
|
};
|
|
1338
1683
|
export type DocumentReviewUpdateWithoutParentReviewInput = {
|
|
1339
1684
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1340
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1341
|
-
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1342
1685
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1343
1686
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
1344
1687
|
comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1351,6 +1694,8 @@ export type DocumentReviewUpdateWithoutParentReviewInput = {
|
|
|
1351
1694
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1352
1695
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentReviewsNestedInput;
|
|
1353
1696
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutReviewsNestedInput;
|
|
1697
|
+
organization?: Prisma.OrganizationUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1698
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1354
1699
|
reviewer?: Prisma.UserUpdateOneWithoutDocumentReviewsNestedInput;
|
|
1355
1700
|
childReviews?: Prisma.DocumentReviewUpdateManyWithoutParentReviewNestedInput;
|
|
1356
1701
|
};
|
|
@@ -1358,8 +1703,8 @@ export type DocumentReviewUncheckedUpdateWithoutParentReviewInput = {
|
|
|
1358
1703
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1359
1704
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1360
1705
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1361
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1362
1706
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1707
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1363
1708
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1364
1709
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1365
1710
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1377,8 +1722,8 @@ export type DocumentReviewUncheckedUpdateManyWithoutParentReviewInput = {
|
|
|
1377
1722
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1378
1723
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1379
1724
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1380
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1381
1725
|
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1726
|
+
organizationTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1382
1727
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1383
1728
|
reviewerName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1384
1729
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
@@ -1419,8 +1764,8 @@ export type DocumentReviewSelect<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1419
1764
|
id?: boolean;
|
|
1420
1765
|
tenantId?: boolean;
|
|
1421
1766
|
documentId?: boolean;
|
|
1422
|
-
reviewParty?: boolean;
|
|
1423
1767
|
organizationId?: boolean;
|
|
1768
|
+
organizationTypeId?: boolean;
|
|
1424
1769
|
reviewerId?: boolean;
|
|
1425
1770
|
reviewerName?: boolean;
|
|
1426
1771
|
decision?: boolean;
|
|
@@ -1435,6 +1780,8 @@ export type DocumentReviewSelect<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1435
1780
|
updatedAt?: boolean;
|
|
1436
1781
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1437
1782
|
document?: boolean | Prisma.ApplicationDocumentDefaultArgs<ExtArgs>;
|
|
1783
|
+
organization?: boolean | Prisma.DocumentReview$organizationArgs<ExtArgs>;
|
|
1784
|
+
organizationType?: boolean | Prisma.DocumentReview$organizationTypeArgs<ExtArgs>;
|
|
1438
1785
|
reviewer?: boolean | Prisma.DocumentReview$reviewerArgs<ExtArgs>;
|
|
1439
1786
|
parentReview?: boolean | Prisma.DocumentReview$parentReviewArgs<ExtArgs>;
|
|
1440
1787
|
childReviews?: boolean | Prisma.DocumentReview$childReviewsArgs<ExtArgs>;
|
|
@@ -1444,8 +1791,8 @@ export type DocumentReviewSelectScalar = {
|
|
|
1444
1791
|
id?: boolean;
|
|
1445
1792
|
tenantId?: boolean;
|
|
1446
1793
|
documentId?: boolean;
|
|
1447
|
-
reviewParty?: boolean;
|
|
1448
1794
|
organizationId?: boolean;
|
|
1795
|
+
organizationTypeId?: boolean;
|
|
1449
1796
|
reviewerId?: boolean;
|
|
1450
1797
|
reviewerName?: boolean;
|
|
1451
1798
|
decision?: boolean;
|
|
@@ -1459,10 +1806,12 @@ export type DocumentReviewSelectScalar = {
|
|
|
1459
1806
|
createdAt?: boolean;
|
|
1460
1807
|
updatedAt?: boolean;
|
|
1461
1808
|
};
|
|
1462
|
-
export type DocumentReviewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentId" | "
|
|
1809
|
+
export type DocumentReviewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentId" | "organizationId" | "organizationTypeId" | "reviewerId" | "reviewerName" | "decision" | "comments" | "concerns" | "requestedAt" | "dueAt" | "reviewedAt" | "reviewOrder" | "parentReviewId" | "createdAt" | "updatedAt", ExtArgs["result"]["documentReview"]>;
|
|
1463
1810
|
export type DocumentReviewInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
1811
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1465
1812
|
document?: boolean | Prisma.ApplicationDocumentDefaultArgs<ExtArgs>;
|
|
1813
|
+
organization?: boolean | Prisma.DocumentReview$organizationArgs<ExtArgs>;
|
|
1814
|
+
organizationType?: boolean | Prisma.DocumentReview$organizationTypeArgs<ExtArgs>;
|
|
1466
1815
|
reviewer?: boolean | Prisma.DocumentReview$reviewerArgs<ExtArgs>;
|
|
1467
1816
|
parentReview?: boolean | Prisma.DocumentReview$parentReviewArgs<ExtArgs>;
|
|
1468
1817
|
childReviews?: boolean | Prisma.DocumentReview$childReviewsArgs<ExtArgs>;
|
|
@@ -1473,6 +1822,8 @@ export type $DocumentReviewPayload<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1473
1822
|
objects: {
|
|
1474
1823
|
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1475
1824
|
document: Prisma.$ApplicationDocumentPayload<ExtArgs>;
|
|
1825
|
+
organization: Prisma.$OrganizationPayload<ExtArgs> | null;
|
|
1826
|
+
organizationType: Prisma.$OrganizationTypePayload<ExtArgs> | null;
|
|
1476
1827
|
reviewer: Prisma.$UserPayload<ExtArgs> | null;
|
|
1477
1828
|
parentReview: Prisma.$DocumentReviewPayload<ExtArgs> | null;
|
|
1478
1829
|
childReviews: Prisma.$DocumentReviewPayload<ExtArgs>[];
|
|
@@ -1481,8 +1832,8 @@ export type $DocumentReviewPayload<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1481
1832
|
id: string;
|
|
1482
1833
|
tenantId: string;
|
|
1483
1834
|
documentId: string;
|
|
1484
|
-
reviewParty: $Enums.ReviewParty;
|
|
1485
1835
|
organizationId: string | null;
|
|
1836
|
+
organizationTypeId: string | null;
|
|
1486
1837
|
reviewerId: string | null;
|
|
1487
1838
|
reviewerName: string | null;
|
|
1488
1839
|
decision: $Enums.ReviewDecision;
|
|
@@ -1774,6 +2125,8 @@ export interface Prisma__DocumentReviewClient<T, Null = never, ExtArgs extends r
|
|
|
1774
2125
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1775
2126
|
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>;
|
|
1776
2127
|
document<T extends Prisma.ApplicationDocumentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocumentDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationDocumentClient<runtime.Types.Result.GetResult<Prisma.$ApplicationDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2128
|
+
organization<T extends Prisma.DocumentReview$organizationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentReview$organizationArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2129
|
+
organizationType<T extends Prisma.DocumentReview$organizationTypeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentReview$organizationTypeArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1777
2130
|
reviewer<T extends Prisma.DocumentReview$reviewerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentReview$reviewerArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1778
2131
|
parentReview<T extends Prisma.DocumentReview$parentReviewArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentReview$parentReviewArgs<ExtArgs>>): Prisma.Prisma__DocumentReviewClient<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1779
2132
|
childReviews<T extends Prisma.DocumentReview$childReviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentReview$childReviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -1805,8 +2158,8 @@ export interface DocumentReviewFieldRefs {
|
|
|
1805
2158
|
readonly id: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1806
2159
|
readonly tenantId: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1807
2160
|
readonly documentId: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1808
|
-
readonly reviewParty: Prisma.FieldRef<"DocumentReview", 'ReviewParty'>;
|
|
1809
2161
|
readonly organizationId: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
2162
|
+
readonly organizationTypeId: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1810
2163
|
readonly reviewerId: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1811
2164
|
readonly reviewerName: Prisma.FieldRef<"DocumentReview", 'String'>;
|
|
1812
2165
|
readonly decision: Prisma.FieldRef<"DocumentReview", 'ReviewDecision'>;
|
|
@@ -2146,6 +2499,42 @@ export type DocumentReviewDeleteManyArgs<ExtArgs extends runtime.Types.Extension
|
|
|
2146
2499
|
*/
|
|
2147
2500
|
limit?: number;
|
|
2148
2501
|
};
|
|
2502
|
+
/**
|
|
2503
|
+
* DocumentReview.organization
|
|
2504
|
+
*/
|
|
2505
|
+
export type DocumentReview$organizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2506
|
+
/**
|
|
2507
|
+
* Select specific fields to fetch from the Organization
|
|
2508
|
+
*/
|
|
2509
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
2510
|
+
/**
|
|
2511
|
+
* Omit specific fields from the Organization
|
|
2512
|
+
*/
|
|
2513
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
2514
|
+
/**
|
|
2515
|
+
* Choose, which related nodes to fetch as well
|
|
2516
|
+
*/
|
|
2517
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
2518
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2519
|
+
};
|
|
2520
|
+
/**
|
|
2521
|
+
* DocumentReview.organizationType
|
|
2522
|
+
*/
|
|
2523
|
+
export type DocumentReview$organizationTypeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2524
|
+
/**
|
|
2525
|
+
* Select specific fields to fetch from the OrganizationType
|
|
2526
|
+
*/
|
|
2527
|
+
select?: Prisma.OrganizationTypeSelect<ExtArgs> | null;
|
|
2528
|
+
/**
|
|
2529
|
+
* Omit specific fields from the OrganizationType
|
|
2530
|
+
*/
|
|
2531
|
+
omit?: Prisma.OrganizationTypeOmit<ExtArgs> | null;
|
|
2532
|
+
/**
|
|
2533
|
+
* Choose, which related nodes to fetch as well
|
|
2534
|
+
*/
|
|
2535
|
+
include?: Prisma.OrganizationTypeInclude<ExtArgs> | null;
|
|
2536
|
+
where?: Prisma.OrganizationTypeWhereInput;
|
|
2537
|
+
};
|
|
2149
2538
|
/**
|
|
2150
2539
|
* DocumentReview.reviewer
|
|
2151
2540
|
*/
|