@valentine-efagene/qshelter-common 2.0.151 → 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 +20 -190
- package/dist/generated/client/enums.d.ts +0 -34
- package/dist/generated/client/enums.js +0 -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 +181 -32
- package/dist/generated/client/internal/prismaNamespace.js +42 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -11
- 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/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/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 +113 -79
|
@@ -28,7 +28,7 @@ export type ApprovalStageProgressMinAggregateOutputType = {
|
|
|
28
28
|
approvalStageId: string | null;
|
|
29
29
|
name: string | null;
|
|
30
30
|
order: number | null;
|
|
31
|
-
|
|
31
|
+
organizationTypeId: string | null;
|
|
32
32
|
autoTransition: boolean | null;
|
|
33
33
|
waitForAllDocuments: boolean | null;
|
|
34
34
|
allowEarlyVisibility: boolean | null;
|
|
@@ -49,7 +49,7 @@ export type ApprovalStageProgressMaxAggregateOutputType = {
|
|
|
49
49
|
approvalStageId: string | null;
|
|
50
50
|
name: string | null;
|
|
51
51
|
order: number | null;
|
|
52
|
-
|
|
52
|
+
organizationTypeId: string | null;
|
|
53
53
|
autoTransition: boolean | null;
|
|
54
54
|
waitForAllDocuments: boolean | null;
|
|
55
55
|
allowEarlyVisibility: boolean | null;
|
|
@@ -70,7 +70,7 @@ export type ApprovalStageProgressCountAggregateOutputType = {
|
|
|
70
70
|
approvalStageId: number;
|
|
71
71
|
name: number;
|
|
72
72
|
order: number;
|
|
73
|
-
|
|
73
|
+
organizationTypeId: number;
|
|
74
74
|
autoTransition: number;
|
|
75
75
|
waitForAllDocuments: number;
|
|
76
76
|
allowEarlyVisibility: number;
|
|
@@ -100,7 +100,7 @@ export type ApprovalStageProgressMinAggregateInputType = {
|
|
|
100
100
|
approvalStageId?: true;
|
|
101
101
|
name?: true;
|
|
102
102
|
order?: true;
|
|
103
|
-
|
|
103
|
+
organizationTypeId?: true;
|
|
104
104
|
autoTransition?: true;
|
|
105
105
|
waitForAllDocuments?: true;
|
|
106
106
|
allowEarlyVisibility?: true;
|
|
@@ -121,7 +121,7 @@ export type ApprovalStageProgressMaxAggregateInputType = {
|
|
|
121
121
|
approvalStageId?: true;
|
|
122
122
|
name?: true;
|
|
123
123
|
order?: true;
|
|
124
|
-
|
|
124
|
+
organizationTypeId?: true;
|
|
125
125
|
autoTransition?: true;
|
|
126
126
|
waitForAllDocuments?: true;
|
|
127
127
|
allowEarlyVisibility?: true;
|
|
@@ -142,7 +142,7 @@ export type ApprovalStageProgressCountAggregateInputType = {
|
|
|
142
142
|
approvalStageId?: true;
|
|
143
143
|
name?: true;
|
|
144
144
|
order?: true;
|
|
145
|
-
|
|
145
|
+
organizationTypeId?: true;
|
|
146
146
|
autoTransition?: true;
|
|
147
147
|
waitForAllDocuments?: true;
|
|
148
148
|
allowEarlyVisibility?: true;
|
|
@@ -240,7 +240,7 @@ export type ApprovalStageProgressGroupByOutputType = {
|
|
|
240
240
|
approvalStageId: string;
|
|
241
241
|
name: string;
|
|
242
242
|
order: number;
|
|
243
|
-
|
|
243
|
+
organizationTypeId: string;
|
|
244
244
|
autoTransition: boolean;
|
|
245
245
|
waitForAllDocuments: boolean;
|
|
246
246
|
allowEarlyVisibility: boolean;
|
|
@@ -272,7 +272,7 @@ export type ApprovalStageProgressWhereInput = {
|
|
|
272
272
|
approvalStageId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
273
273
|
name?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
274
274
|
order?: Prisma.IntFilter<"ApprovalStageProgress"> | number;
|
|
275
|
-
|
|
275
|
+
organizationTypeId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
276
276
|
autoTransition?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
277
277
|
waitForAllDocuments?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
278
278
|
allowEarlyVisibility?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
@@ -288,6 +288,7 @@ export type ApprovalStageProgressWhereInput = {
|
|
|
288
288
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
289
289
|
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseScalarRelationFilter, Prisma.DocumentationPhaseWhereInput>;
|
|
290
290
|
approvalStage?: Prisma.XOR<Prisma.ApprovalStageScalarRelationFilter, Prisma.ApprovalStageWhereInput>;
|
|
291
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
291
292
|
completedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
292
293
|
documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
|
|
293
294
|
};
|
|
@@ -298,7 +299,7 @@ export type ApprovalStageProgressOrderByWithRelationInput = {
|
|
|
298
299
|
approvalStageId?: Prisma.SortOrder;
|
|
299
300
|
name?: Prisma.SortOrder;
|
|
300
301
|
order?: Prisma.SortOrder;
|
|
301
|
-
|
|
302
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
302
303
|
autoTransition?: Prisma.SortOrder;
|
|
303
304
|
waitForAllDocuments?: Prisma.SortOrder;
|
|
304
305
|
allowEarlyVisibility?: Prisma.SortOrder;
|
|
@@ -314,6 +315,7 @@ export type ApprovalStageProgressOrderByWithRelationInput = {
|
|
|
314
315
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
315
316
|
documentationPhase?: Prisma.DocumentationPhaseOrderByWithRelationInput;
|
|
316
317
|
approvalStage?: Prisma.ApprovalStageOrderByWithRelationInput;
|
|
318
|
+
organizationType?: Prisma.OrganizationTypeOrderByWithRelationInput;
|
|
317
319
|
completedBy?: Prisma.UserOrderByWithRelationInput;
|
|
318
320
|
documentApprovals?: Prisma.DocumentApprovalOrderByRelationAggregateInput;
|
|
319
321
|
_relevance?: Prisma.ApprovalStageProgressOrderByRelevanceInput;
|
|
@@ -329,7 +331,7 @@ export type ApprovalStageProgressWhereUniqueInput = Prisma.AtLeast<{
|
|
|
329
331
|
approvalStageId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
330
332
|
name?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
331
333
|
order?: Prisma.IntFilter<"ApprovalStageProgress"> | number;
|
|
332
|
-
|
|
334
|
+
organizationTypeId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
333
335
|
autoTransition?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
334
336
|
waitForAllDocuments?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
335
337
|
allowEarlyVisibility?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
@@ -345,6 +347,7 @@ export type ApprovalStageProgressWhereUniqueInput = Prisma.AtLeast<{
|
|
|
345
347
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
346
348
|
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseScalarRelationFilter, Prisma.DocumentationPhaseWhereInput>;
|
|
347
349
|
approvalStage?: Prisma.XOR<Prisma.ApprovalStageScalarRelationFilter, Prisma.ApprovalStageWhereInput>;
|
|
350
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
348
351
|
completedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
349
352
|
documentApprovals?: Prisma.DocumentApprovalListRelationFilter;
|
|
350
353
|
}, "id" | "documentationPhaseId_order">;
|
|
@@ -355,7 +358,7 @@ export type ApprovalStageProgressOrderByWithAggregationInput = {
|
|
|
355
358
|
approvalStageId?: Prisma.SortOrder;
|
|
356
359
|
name?: Prisma.SortOrder;
|
|
357
360
|
order?: Prisma.SortOrder;
|
|
358
|
-
|
|
361
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
359
362
|
autoTransition?: Prisma.SortOrder;
|
|
360
363
|
waitForAllDocuments?: Prisma.SortOrder;
|
|
361
364
|
allowEarlyVisibility?: Prisma.SortOrder;
|
|
@@ -384,7 +387,7 @@ export type ApprovalStageProgressScalarWhereWithAggregatesInput = {
|
|
|
384
387
|
approvalStageId?: Prisma.StringWithAggregatesFilter<"ApprovalStageProgress"> | string;
|
|
385
388
|
name?: Prisma.StringWithAggregatesFilter<"ApprovalStageProgress"> | string;
|
|
386
389
|
order?: Prisma.IntWithAggregatesFilter<"ApprovalStageProgress"> | number;
|
|
387
|
-
|
|
390
|
+
organizationTypeId?: Prisma.StringWithAggregatesFilter<"ApprovalStageProgress"> | string;
|
|
388
391
|
autoTransition?: Prisma.BoolWithAggregatesFilter<"ApprovalStageProgress"> | boolean;
|
|
389
392
|
waitForAllDocuments?: Prisma.BoolWithAggregatesFilter<"ApprovalStageProgress"> | boolean;
|
|
390
393
|
allowEarlyVisibility?: Prisma.BoolWithAggregatesFilter<"ApprovalStageProgress"> | boolean;
|
|
@@ -402,7 +405,6 @@ export type ApprovalStageProgressCreateInput = {
|
|
|
402
405
|
id?: string;
|
|
403
406
|
name: string;
|
|
404
407
|
order: number;
|
|
405
|
-
reviewParty: $Enums.ReviewParty;
|
|
406
408
|
autoTransition?: boolean;
|
|
407
409
|
waitForAllDocuments?: boolean;
|
|
408
410
|
allowEarlyVisibility?: boolean;
|
|
@@ -417,6 +419,7 @@ export type ApprovalStageProgressCreateInput = {
|
|
|
417
419
|
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
418
420
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
419
421
|
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
422
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
420
423
|
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
421
424
|
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
422
425
|
};
|
|
@@ -427,7 +430,7 @@ export type ApprovalStageProgressUncheckedCreateInput = {
|
|
|
427
430
|
approvalStageId: string;
|
|
428
431
|
name: string;
|
|
429
432
|
order: number;
|
|
430
|
-
|
|
433
|
+
organizationTypeId: string;
|
|
431
434
|
autoTransition?: boolean;
|
|
432
435
|
waitForAllDocuments?: boolean;
|
|
433
436
|
allowEarlyVisibility?: boolean;
|
|
@@ -446,7 +449,6 @@ export type ApprovalStageProgressUpdateInput = {
|
|
|
446
449
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
450
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
451
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
449
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
450
452
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
451
453
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
452
454
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -461,6 +463,7 @@ export type ApprovalStageProgressUpdateInput = {
|
|
|
461
463
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
462
464
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
463
465
|
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
466
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
464
467
|
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
465
468
|
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
466
469
|
};
|
|
@@ -471,7 +474,7 @@ export type ApprovalStageProgressUncheckedUpdateInput = {
|
|
|
471
474
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
475
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
476
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
474
|
-
|
|
477
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
478
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
476
479
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
477
480
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -493,7 +496,7 @@ export type ApprovalStageProgressCreateManyInput = {
|
|
|
493
496
|
approvalStageId: string;
|
|
494
497
|
name: string;
|
|
495
498
|
order: number;
|
|
496
|
-
|
|
499
|
+
organizationTypeId: string;
|
|
497
500
|
autoTransition?: boolean;
|
|
498
501
|
waitForAllDocuments?: boolean;
|
|
499
502
|
allowEarlyVisibility?: boolean;
|
|
@@ -511,7 +514,6 @@ export type ApprovalStageProgressUpdateManyMutationInput = {
|
|
|
511
514
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
512
515
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
516
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
514
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
515
517
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
516
518
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
517
519
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -531,7 +533,7 @@ export type ApprovalStageProgressUncheckedUpdateManyInput = {
|
|
|
531
533
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
532
534
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
533
535
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
534
|
-
|
|
536
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
535
537
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
536
538
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
537
539
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -569,7 +571,7 @@ export type ApprovalStageProgressCountOrderByAggregateInput = {
|
|
|
569
571
|
approvalStageId?: Prisma.SortOrder;
|
|
570
572
|
name?: Prisma.SortOrder;
|
|
571
573
|
order?: Prisma.SortOrder;
|
|
572
|
-
|
|
574
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
573
575
|
autoTransition?: Prisma.SortOrder;
|
|
574
576
|
waitForAllDocuments?: Prisma.SortOrder;
|
|
575
577
|
allowEarlyVisibility?: Prisma.SortOrder;
|
|
@@ -594,7 +596,7 @@ export type ApprovalStageProgressMaxOrderByAggregateInput = {
|
|
|
594
596
|
approvalStageId?: Prisma.SortOrder;
|
|
595
597
|
name?: Prisma.SortOrder;
|
|
596
598
|
order?: Prisma.SortOrder;
|
|
597
|
-
|
|
599
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
598
600
|
autoTransition?: Prisma.SortOrder;
|
|
599
601
|
waitForAllDocuments?: Prisma.SortOrder;
|
|
600
602
|
allowEarlyVisibility?: Prisma.SortOrder;
|
|
@@ -615,7 +617,7 @@ export type ApprovalStageProgressMinOrderByAggregateInput = {
|
|
|
615
617
|
approvalStageId?: Prisma.SortOrder;
|
|
616
618
|
name?: Prisma.SortOrder;
|
|
617
619
|
order?: Prisma.SortOrder;
|
|
618
|
-
|
|
620
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
619
621
|
autoTransition?: Prisma.SortOrder;
|
|
620
622
|
waitForAllDocuments?: Prisma.SortOrder;
|
|
621
623
|
allowEarlyVisibility?: Prisma.SortOrder;
|
|
@@ -637,6 +639,44 @@ export type ApprovalStageProgressScalarRelationFilter = {
|
|
|
637
639
|
is?: Prisma.ApprovalStageProgressWhereInput;
|
|
638
640
|
isNot?: Prisma.ApprovalStageProgressWhereInput;
|
|
639
641
|
};
|
|
642
|
+
export type ApprovalStageProgressCreateNestedManyWithoutOrganizationTypeInput = {
|
|
643
|
+
create?: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput> | Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput[] | Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput[];
|
|
644
|
+
connectOrCreate?: Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput[];
|
|
645
|
+
createMany?: Prisma.ApprovalStageProgressCreateManyOrganizationTypeInputEnvelope;
|
|
646
|
+
connect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
647
|
+
};
|
|
648
|
+
export type ApprovalStageProgressUncheckedCreateNestedManyWithoutOrganizationTypeInput = {
|
|
649
|
+
create?: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput> | Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput[] | Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput[];
|
|
650
|
+
connectOrCreate?: Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput[];
|
|
651
|
+
createMany?: Prisma.ApprovalStageProgressCreateManyOrganizationTypeInputEnvelope;
|
|
652
|
+
connect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
653
|
+
};
|
|
654
|
+
export type ApprovalStageProgressUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput> | Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput[] | Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput[];
|
|
656
|
+
connectOrCreate?: Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput[];
|
|
657
|
+
upsert?: Prisma.ApprovalStageProgressUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
658
|
+
createMany?: Prisma.ApprovalStageProgressCreateManyOrganizationTypeInputEnvelope;
|
|
659
|
+
set?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
660
|
+
disconnect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
661
|
+
delete?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
662
|
+
connect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
663
|
+
update?: Prisma.ApprovalStageProgressUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
664
|
+
updateMany?: Prisma.ApprovalStageProgressUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
665
|
+
deleteMany?: Prisma.ApprovalStageProgressScalarWhereInput | Prisma.ApprovalStageProgressScalarWhereInput[];
|
|
666
|
+
};
|
|
667
|
+
export type ApprovalStageProgressUncheckedUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput> | Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput[] | Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput[];
|
|
669
|
+
connectOrCreate?: Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput[];
|
|
670
|
+
upsert?: Prisma.ApprovalStageProgressUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
671
|
+
createMany?: Prisma.ApprovalStageProgressCreateManyOrganizationTypeInputEnvelope;
|
|
672
|
+
set?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
673
|
+
disconnect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
674
|
+
delete?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
675
|
+
connect?: Prisma.ApprovalStageProgressWhereUniqueInput | Prisma.ApprovalStageProgressWhereUniqueInput[];
|
|
676
|
+
update?: Prisma.ApprovalStageProgressUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
677
|
+
updateMany?: Prisma.ApprovalStageProgressUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.ApprovalStageProgressUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
678
|
+
deleteMany?: Prisma.ApprovalStageProgressScalarWhereInput | Prisma.ApprovalStageProgressScalarWhereInput[];
|
|
679
|
+
};
|
|
640
680
|
export type ApprovalStageProgressCreateNestedManyWithoutCompletedByInput = {
|
|
641
681
|
create?: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutCompletedByInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutCompletedByInput> | Prisma.ApprovalStageProgressCreateWithoutCompletedByInput[] | Prisma.ApprovalStageProgressUncheckedCreateWithoutCompletedByInput[];
|
|
642
682
|
connectOrCreate?: Prisma.ApprovalStageProgressCreateOrConnectWithoutCompletedByInput | Prisma.ApprovalStageProgressCreateOrConnectWithoutCompletedByInput[];
|
|
@@ -804,11 +844,10 @@ export type ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNested
|
|
|
804
844
|
connect?: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
805
845
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ApprovalStageProgressUpdateToOneWithWhereWithoutDocumentApprovalsInput, Prisma.ApprovalStageProgressUpdateWithoutDocumentApprovalsInput>, Prisma.ApprovalStageProgressUncheckedUpdateWithoutDocumentApprovalsInput>;
|
|
806
846
|
};
|
|
807
|
-
export type
|
|
847
|
+
export type ApprovalStageProgressCreateWithoutOrganizationTypeInput = {
|
|
808
848
|
id?: string;
|
|
809
849
|
name: string;
|
|
810
850
|
order: number;
|
|
811
|
-
reviewParty: $Enums.ReviewParty;
|
|
812
851
|
autoTransition?: boolean;
|
|
813
852
|
waitForAllDocuments?: boolean;
|
|
814
853
|
allowEarlyVisibility?: boolean;
|
|
@@ -823,16 +862,16 @@ export type ApprovalStageProgressCreateWithoutCompletedByInput = {
|
|
|
823
862
|
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
824
863
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
825
864
|
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
865
|
+
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
826
866
|
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
827
867
|
};
|
|
828
|
-
export type
|
|
868
|
+
export type ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput = {
|
|
829
869
|
id?: string;
|
|
830
870
|
tenantId: string;
|
|
831
871
|
documentationPhaseId: string;
|
|
832
872
|
approvalStageId: string;
|
|
833
873
|
name: string;
|
|
834
874
|
order: number;
|
|
835
|
-
reviewParty: $Enums.ReviewParty;
|
|
836
875
|
autoTransition?: boolean;
|
|
837
876
|
waitForAllDocuments?: boolean;
|
|
838
877
|
allowEarlyVisibility?: boolean;
|
|
@@ -841,31 +880,32 @@ export type ApprovalStageProgressUncheckedCreateWithoutCompletedByInput = {
|
|
|
841
880
|
status?: $Enums.StageStatus;
|
|
842
881
|
activatedAt?: Date | string | null;
|
|
843
882
|
completedAt?: Date | string | null;
|
|
883
|
+
completedById?: string | null;
|
|
844
884
|
transitionComment?: string | null;
|
|
845
885
|
createdAt?: Date | string;
|
|
846
886
|
updatedAt?: Date | string;
|
|
847
887
|
documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutStageProgressInput;
|
|
848
888
|
};
|
|
849
|
-
export type
|
|
889
|
+
export type ApprovalStageProgressCreateOrConnectWithoutOrganizationTypeInput = {
|
|
850
890
|
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
851
|
-
create: Prisma.XOR<Prisma.
|
|
891
|
+
create: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput>;
|
|
852
892
|
};
|
|
853
|
-
export type
|
|
854
|
-
data: Prisma.
|
|
893
|
+
export type ApprovalStageProgressCreateManyOrganizationTypeInputEnvelope = {
|
|
894
|
+
data: Prisma.ApprovalStageProgressCreateManyOrganizationTypeInput | Prisma.ApprovalStageProgressCreateManyOrganizationTypeInput[];
|
|
855
895
|
skipDuplicates?: boolean;
|
|
856
896
|
};
|
|
857
|
-
export type
|
|
897
|
+
export type ApprovalStageProgressUpsertWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
858
898
|
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
859
|
-
update: Prisma.XOR<Prisma.
|
|
860
|
-
create: Prisma.XOR<Prisma.
|
|
899
|
+
update: Prisma.XOR<Prisma.ApprovalStageProgressUpdateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
900
|
+
create: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutOrganizationTypeInput>;
|
|
861
901
|
};
|
|
862
|
-
export type
|
|
902
|
+
export type ApprovalStageProgressUpdateWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
863
903
|
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
864
|
-
data: Prisma.XOR<Prisma.
|
|
904
|
+
data: Prisma.XOR<Prisma.ApprovalStageProgressUpdateWithoutOrganizationTypeInput, Prisma.ApprovalStageProgressUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
865
905
|
};
|
|
866
|
-
export type
|
|
906
|
+
export type ApprovalStageProgressUpdateManyWithWhereWithoutOrganizationTypeInput = {
|
|
867
907
|
where: Prisma.ApprovalStageProgressScalarWhereInput;
|
|
868
|
-
data: Prisma.XOR<Prisma.ApprovalStageProgressUpdateManyMutationInput, Prisma.
|
|
908
|
+
data: Prisma.XOR<Prisma.ApprovalStageProgressUpdateManyMutationInput, Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutOrganizationTypeInput>;
|
|
869
909
|
};
|
|
870
910
|
export type ApprovalStageProgressScalarWhereInput = {
|
|
871
911
|
AND?: Prisma.ApprovalStageProgressScalarWhereInput | Prisma.ApprovalStageProgressScalarWhereInput[];
|
|
@@ -877,7 +917,7 @@ export type ApprovalStageProgressScalarWhereInput = {
|
|
|
877
917
|
approvalStageId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
878
918
|
name?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
879
919
|
order?: Prisma.IntFilter<"ApprovalStageProgress"> | number;
|
|
880
|
-
|
|
920
|
+
organizationTypeId?: Prisma.StringFilter<"ApprovalStageProgress"> | string;
|
|
881
921
|
autoTransition?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
882
922
|
waitForAllDocuments?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
883
923
|
allowEarlyVisibility?: Prisma.BoolFilter<"ApprovalStageProgress"> | boolean;
|
|
@@ -891,11 +931,73 @@ export type ApprovalStageProgressScalarWhereInput = {
|
|
|
891
931
|
createdAt?: Prisma.DateTimeFilter<"ApprovalStageProgress"> | Date | string;
|
|
892
932
|
updatedAt?: Prisma.DateTimeFilter<"ApprovalStageProgress"> | Date | string;
|
|
893
933
|
};
|
|
934
|
+
export type ApprovalStageProgressCreateWithoutCompletedByInput = {
|
|
935
|
+
id?: string;
|
|
936
|
+
name: string;
|
|
937
|
+
order: number;
|
|
938
|
+
autoTransition?: boolean;
|
|
939
|
+
waitForAllDocuments?: boolean;
|
|
940
|
+
allowEarlyVisibility?: boolean;
|
|
941
|
+
onRejection?: $Enums.RejectionBehavior;
|
|
942
|
+
restartFromStageOrder?: number | null;
|
|
943
|
+
status?: $Enums.StageStatus;
|
|
944
|
+
activatedAt?: Date | string | null;
|
|
945
|
+
completedAt?: Date | string | null;
|
|
946
|
+
transitionComment?: string | null;
|
|
947
|
+
createdAt?: Date | string;
|
|
948
|
+
updatedAt?: Date | string;
|
|
949
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
950
|
+
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
951
|
+
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
952
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
953
|
+
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
954
|
+
};
|
|
955
|
+
export type ApprovalStageProgressUncheckedCreateWithoutCompletedByInput = {
|
|
956
|
+
id?: string;
|
|
957
|
+
tenantId: string;
|
|
958
|
+
documentationPhaseId: string;
|
|
959
|
+
approvalStageId: string;
|
|
960
|
+
name: string;
|
|
961
|
+
order: number;
|
|
962
|
+
organizationTypeId: string;
|
|
963
|
+
autoTransition?: boolean;
|
|
964
|
+
waitForAllDocuments?: boolean;
|
|
965
|
+
allowEarlyVisibility?: boolean;
|
|
966
|
+
onRejection?: $Enums.RejectionBehavior;
|
|
967
|
+
restartFromStageOrder?: number | null;
|
|
968
|
+
status?: $Enums.StageStatus;
|
|
969
|
+
activatedAt?: Date | string | null;
|
|
970
|
+
completedAt?: Date | string | null;
|
|
971
|
+
transitionComment?: string | null;
|
|
972
|
+
createdAt?: Date | string;
|
|
973
|
+
updatedAt?: Date | string;
|
|
974
|
+
documentApprovals?: Prisma.DocumentApprovalUncheckedCreateNestedManyWithoutStageProgressInput;
|
|
975
|
+
};
|
|
976
|
+
export type ApprovalStageProgressCreateOrConnectWithoutCompletedByInput = {
|
|
977
|
+
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
978
|
+
create: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutCompletedByInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutCompletedByInput>;
|
|
979
|
+
};
|
|
980
|
+
export type ApprovalStageProgressCreateManyCompletedByInputEnvelope = {
|
|
981
|
+
data: Prisma.ApprovalStageProgressCreateManyCompletedByInput | Prisma.ApprovalStageProgressCreateManyCompletedByInput[];
|
|
982
|
+
skipDuplicates?: boolean;
|
|
983
|
+
};
|
|
984
|
+
export type ApprovalStageProgressUpsertWithWhereUniqueWithoutCompletedByInput = {
|
|
985
|
+
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
986
|
+
update: Prisma.XOR<Prisma.ApprovalStageProgressUpdateWithoutCompletedByInput, Prisma.ApprovalStageProgressUncheckedUpdateWithoutCompletedByInput>;
|
|
987
|
+
create: Prisma.XOR<Prisma.ApprovalStageProgressCreateWithoutCompletedByInput, Prisma.ApprovalStageProgressUncheckedCreateWithoutCompletedByInput>;
|
|
988
|
+
};
|
|
989
|
+
export type ApprovalStageProgressUpdateWithWhereUniqueWithoutCompletedByInput = {
|
|
990
|
+
where: Prisma.ApprovalStageProgressWhereUniqueInput;
|
|
991
|
+
data: Prisma.XOR<Prisma.ApprovalStageProgressUpdateWithoutCompletedByInput, Prisma.ApprovalStageProgressUncheckedUpdateWithoutCompletedByInput>;
|
|
992
|
+
};
|
|
993
|
+
export type ApprovalStageProgressUpdateManyWithWhereWithoutCompletedByInput = {
|
|
994
|
+
where: Prisma.ApprovalStageProgressScalarWhereInput;
|
|
995
|
+
data: Prisma.XOR<Prisma.ApprovalStageProgressUpdateManyMutationInput, Prisma.ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByInput>;
|
|
996
|
+
};
|
|
894
997
|
export type ApprovalStageProgressCreateWithoutTenantInput = {
|
|
895
998
|
id?: string;
|
|
896
999
|
name: string;
|
|
897
1000
|
order: number;
|
|
898
|
-
reviewParty: $Enums.ReviewParty;
|
|
899
1001
|
autoTransition?: boolean;
|
|
900
1002
|
waitForAllDocuments?: boolean;
|
|
901
1003
|
allowEarlyVisibility?: boolean;
|
|
@@ -909,6 +1011,7 @@ export type ApprovalStageProgressCreateWithoutTenantInput = {
|
|
|
909
1011
|
updatedAt?: Date | string;
|
|
910
1012
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
911
1013
|
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
1014
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
912
1015
|
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
913
1016
|
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
914
1017
|
};
|
|
@@ -918,7 +1021,7 @@ export type ApprovalStageProgressUncheckedCreateWithoutTenantInput = {
|
|
|
918
1021
|
approvalStageId: string;
|
|
919
1022
|
name: string;
|
|
920
1023
|
order: number;
|
|
921
|
-
|
|
1024
|
+
organizationTypeId: string;
|
|
922
1025
|
autoTransition?: boolean;
|
|
923
1026
|
waitForAllDocuments?: boolean;
|
|
924
1027
|
allowEarlyVisibility?: boolean;
|
|
@@ -958,7 +1061,6 @@ export type ApprovalStageProgressCreateWithoutApprovalStageInput = {
|
|
|
958
1061
|
id?: string;
|
|
959
1062
|
name: string;
|
|
960
1063
|
order: number;
|
|
961
|
-
reviewParty: $Enums.ReviewParty;
|
|
962
1064
|
autoTransition?: boolean;
|
|
963
1065
|
waitForAllDocuments?: boolean;
|
|
964
1066
|
allowEarlyVisibility?: boolean;
|
|
@@ -972,6 +1074,7 @@ export type ApprovalStageProgressCreateWithoutApprovalStageInput = {
|
|
|
972
1074
|
updatedAt?: Date | string;
|
|
973
1075
|
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
974
1076
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
1077
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
975
1078
|
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
976
1079
|
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
977
1080
|
};
|
|
@@ -981,7 +1084,7 @@ export type ApprovalStageProgressUncheckedCreateWithoutApprovalStageInput = {
|
|
|
981
1084
|
documentationPhaseId: string;
|
|
982
1085
|
name: string;
|
|
983
1086
|
order: number;
|
|
984
|
-
|
|
1087
|
+
organizationTypeId: string;
|
|
985
1088
|
autoTransition?: boolean;
|
|
986
1089
|
waitForAllDocuments?: boolean;
|
|
987
1090
|
allowEarlyVisibility?: boolean;
|
|
@@ -1021,7 +1124,6 @@ export type ApprovalStageProgressCreateWithoutDocumentationPhaseInput = {
|
|
|
1021
1124
|
id?: string;
|
|
1022
1125
|
name: string;
|
|
1023
1126
|
order: number;
|
|
1024
|
-
reviewParty: $Enums.ReviewParty;
|
|
1025
1127
|
autoTransition?: boolean;
|
|
1026
1128
|
waitForAllDocuments?: boolean;
|
|
1027
1129
|
allowEarlyVisibility?: boolean;
|
|
@@ -1035,6 +1137,7 @@ export type ApprovalStageProgressCreateWithoutDocumentationPhaseInput = {
|
|
|
1035
1137
|
updatedAt?: Date | string;
|
|
1036
1138
|
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
1037
1139
|
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
1140
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
1038
1141
|
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
1039
1142
|
documentApprovals?: Prisma.DocumentApprovalCreateNestedManyWithoutStageProgressInput;
|
|
1040
1143
|
};
|
|
@@ -1044,7 +1147,7 @@ export type ApprovalStageProgressUncheckedCreateWithoutDocumentationPhaseInput =
|
|
|
1044
1147
|
approvalStageId: string;
|
|
1045
1148
|
name: string;
|
|
1046
1149
|
order: number;
|
|
1047
|
-
|
|
1150
|
+
organizationTypeId: string;
|
|
1048
1151
|
autoTransition?: boolean;
|
|
1049
1152
|
waitForAllDocuments?: boolean;
|
|
1050
1153
|
allowEarlyVisibility?: boolean;
|
|
@@ -1084,7 +1187,6 @@ export type ApprovalStageProgressCreateWithoutDocumentApprovalsInput = {
|
|
|
1084
1187
|
id?: string;
|
|
1085
1188
|
name: string;
|
|
1086
1189
|
order: number;
|
|
1087
|
-
reviewParty: $Enums.ReviewParty;
|
|
1088
1190
|
autoTransition?: boolean;
|
|
1089
1191
|
waitForAllDocuments?: boolean;
|
|
1090
1192
|
allowEarlyVisibility?: boolean;
|
|
@@ -1099,6 +1201,7 @@ export type ApprovalStageProgressCreateWithoutDocumentApprovalsInput = {
|
|
|
1099
1201
|
tenant: Prisma.TenantCreateNestedOneWithoutApprovalStageProgressInput;
|
|
1100
1202
|
documentationPhase: Prisma.DocumentationPhaseCreateNestedOneWithoutStageProgressInput;
|
|
1101
1203
|
approvalStage: Prisma.ApprovalStageCreateNestedOneWithoutStageProgressInput;
|
|
1204
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutApprovalStageProgressInput;
|
|
1102
1205
|
completedBy?: Prisma.UserCreateNestedOneWithoutCompletedStagesInput;
|
|
1103
1206
|
};
|
|
1104
1207
|
export type ApprovalStageProgressUncheckedCreateWithoutDocumentApprovalsInput = {
|
|
@@ -1108,7 +1211,7 @@ export type ApprovalStageProgressUncheckedCreateWithoutDocumentApprovalsInput =
|
|
|
1108
1211
|
approvalStageId: string;
|
|
1109
1212
|
name: string;
|
|
1110
1213
|
order: number;
|
|
1111
|
-
|
|
1214
|
+
organizationTypeId: string;
|
|
1112
1215
|
autoTransition?: boolean;
|
|
1113
1216
|
waitForAllDocuments?: boolean;
|
|
1114
1217
|
allowEarlyVisibility?: boolean;
|
|
@@ -1139,7 +1242,6 @@ export type ApprovalStageProgressUpdateWithoutDocumentApprovalsInput = {
|
|
|
1139
1242
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1140
1243
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1141
1244
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1142
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1143
1245
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1144
1246
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1145
1247
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1154,6 +1256,7 @@ export type ApprovalStageProgressUpdateWithoutDocumentApprovalsInput = {
|
|
|
1154
1256
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1155
1257
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1156
1258
|
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1259
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1157
1260
|
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
1158
1261
|
};
|
|
1159
1262
|
export type ApprovalStageProgressUncheckedUpdateWithoutDocumentApprovalsInput = {
|
|
@@ -1163,7 +1266,89 @@ export type ApprovalStageProgressUncheckedUpdateWithoutDocumentApprovalsInput =
|
|
|
1163
1266
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1164
1267
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1165
1268
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1166
|
-
|
|
1269
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1270
|
+
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1271
|
+
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1272
|
+
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1273
|
+
onRejection?: Prisma.EnumRejectionBehaviorFieldUpdateOperationsInput | $Enums.RejectionBehavior;
|
|
1274
|
+
restartFromStageOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1275
|
+
status?: Prisma.EnumStageStatusFieldUpdateOperationsInput | $Enums.StageStatus;
|
|
1276
|
+
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1277
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1278
|
+
completedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1279
|
+
transitionComment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1280
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1281
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1282
|
+
};
|
|
1283
|
+
export type ApprovalStageProgressCreateManyOrganizationTypeInput = {
|
|
1284
|
+
id?: string;
|
|
1285
|
+
tenantId: string;
|
|
1286
|
+
documentationPhaseId: string;
|
|
1287
|
+
approvalStageId: string;
|
|
1288
|
+
name: string;
|
|
1289
|
+
order: number;
|
|
1290
|
+
autoTransition?: boolean;
|
|
1291
|
+
waitForAllDocuments?: boolean;
|
|
1292
|
+
allowEarlyVisibility?: boolean;
|
|
1293
|
+
onRejection?: $Enums.RejectionBehavior;
|
|
1294
|
+
restartFromStageOrder?: number | null;
|
|
1295
|
+
status?: $Enums.StageStatus;
|
|
1296
|
+
activatedAt?: Date | string | null;
|
|
1297
|
+
completedAt?: Date | string | null;
|
|
1298
|
+
completedById?: string | null;
|
|
1299
|
+
transitionComment?: string | null;
|
|
1300
|
+
createdAt?: Date | string;
|
|
1301
|
+
updatedAt?: Date | string;
|
|
1302
|
+
};
|
|
1303
|
+
export type ApprovalStageProgressUpdateWithoutOrganizationTypeInput = {
|
|
1304
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1305
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1306
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1307
|
+
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1308
|
+
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1309
|
+
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1310
|
+
onRejection?: Prisma.EnumRejectionBehaviorFieldUpdateOperationsInput | $Enums.RejectionBehavior;
|
|
1311
|
+
restartFromStageOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1312
|
+
status?: Prisma.EnumStageStatusFieldUpdateOperationsInput | $Enums.StageStatus;
|
|
1313
|
+
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1314
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1315
|
+
transitionComment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1316
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1317
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1318
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1319
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1320
|
+
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1321
|
+
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
1322
|
+
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
1323
|
+
};
|
|
1324
|
+
export type ApprovalStageProgressUncheckedUpdateWithoutOrganizationTypeInput = {
|
|
1325
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1326
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1327
|
+
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1328
|
+
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1329
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1330
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1331
|
+
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1332
|
+
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1333
|
+
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1334
|
+
onRejection?: Prisma.EnumRejectionBehaviorFieldUpdateOperationsInput | $Enums.RejectionBehavior;
|
|
1335
|
+
restartFromStageOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1336
|
+
status?: Prisma.EnumStageStatusFieldUpdateOperationsInput | $Enums.StageStatus;
|
|
1337
|
+
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1338
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1339
|
+
completedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1340
|
+
transitionComment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1341
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1342
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1343
|
+
documentApprovals?: Prisma.DocumentApprovalUncheckedUpdateManyWithoutStageProgressNestedInput;
|
|
1344
|
+
};
|
|
1345
|
+
export type ApprovalStageProgressUncheckedUpdateManyWithoutOrganizationTypeInput = {
|
|
1346
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1347
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1348
|
+
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1349
|
+
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1350
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1351
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1167
1352
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1168
1353
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1169
1354
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1184,7 +1369,7 @@ export type ApprovalStageProgressCreateManyCompletedByInput = {
|
|
|
1184
1369
|
approvalStageId: string;
|
|
1185
1370
|
name: string;
|
|
1186
1371
|
order: number;
|
|
1187
|
-
|
|
1372
|
+
organizationTypeId: string;
|
|
1188
1373
|
autoTransition?: boolean;
|
|
1189
1374
|
waitForAllDocuments?: boolean;
|
|
1190
1375
|
allowEarlyVisibility?: boolean;
|
|
@@ -1201,7 +1386,6 @@ export type ApprovalStageProgressUpdateWithoutCompletedByInput = {
|
|
|
1201
1386
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1202
1387
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1203
1388
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1204
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1205
1389
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1206
1390
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1207
1391
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1216,6 +1400,7 @@ export type ApprovalStageProgressUpdateWithoutCompletedByInput = {
|
|
|
1216
1400
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1217
1401
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1218
1402
|
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1403
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1219
1404
|
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
1220
1405
|
};
|
|
1221
1406
|
export type ApprovalStageProgressUncheckedUpdateWithoutCompletedByInput = {
|
|
@@ -1225,7 +1410,7 @@ export type ApprovalStageProgressUncheckedUpdateWithoutCompletedByInput = {
|
|
|
1225
1410
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1226
1411
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
1412
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1228
|
-
|
|
1413
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1229
1414
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1230
1415
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1231
1416
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1246,7 +1431,7 @@ export type ApprovalStageProgressUncheckedUpdateManyWithoutCompletedByInput = {
|
|
|
1246
1431
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1247
1432
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1248
1433
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1249
|
-
|
|
1434
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1250
1435
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1251
1436
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1252
1437
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1265,7 +1450,7 @@ export type ApprovalStageProgressCreateManyTenantInput = {
|
|
|
1265
1450
|
approvalStageId: string;
|
|
1266
1451
|
name: string;
|
|
1267
1452
|
order: number;
|
|
1268
|
-
|
|
1453
|
+
organizationTypeId: string;
|
|
1269
1454
|
autoTransition?: boolean;
|
|
1270
1455
|
waitForAllDocuments?: boolean;
|
|
1271
1456
|
allowEarlyVisibility?: boolean;
|
|
@@ -1283,7 +1468,6 @@ export type ApprovalStageProgressUpdateWithoutTenantInput = {
|
|
|
1283
1468
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1284
1469
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1285
1470
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1286
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1287
1471
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1288
1472
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1289
1473
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1297,6 +1481,7 @@ export type ApprovalStageProgressUpdateWithoutTenantInput = {
|
|
|
1297
1481
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1298
1482
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1299
1483
|
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1484
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1300
1485
|
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
1301
1486
|
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
1302
1487
|
};
|
|
@@ -1306,7 +1491,7 @@ export type ApprovalStageProgressUncheckedUpdateWithoutTenantInput = {
|
|
|
1306
1491
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1307
1492
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1308
1493
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1309
|
-
|
|
1494
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1310
1495
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1311
1496
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1312
1497
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1327,7 +1512,7 @@ export type ApprovalStageProgressUncheckedUpdateManyWithoutTenantInput = {
|
|
|
1327
1512
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1328
1513
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1329
1514
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1330
|
-
|
|
1515
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1331
1516
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1332
1517
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1333
1518
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1347,7 +1532,7 @@ export type ApprovalStageProgressCreateManyApprovalStageInput = {
|
|
|
1347
1532
|
documentationPhaseId: string;
|
|
1348
1533
|
name: string;
|
|
1349
1534
|
order: number;
|
|
1350
|
-
|
|
1535
|
+
organizationTypeId: string;
|
|
1351
1536
|
autoTransition?: boolean;
|
|
1352
1537
|
waitForAllDocuments?: boolean;
|
|
1353
1538
|
allowEarlyVisibility?: boolean;
|
|
@@ -1365,7 +1550,6 @@ export type ApprovalStageProgressUpdateWithoutApprovalStageInput = {
|
|
|
1365
1550
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1366
1551
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1367
1552
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1368
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1369
1553
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1370
1554
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1371
1555
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1379,6 +1563,7 @@ export type ApprovalStageProgressUpdateWithoutApprovalStageInput = {
|
|
|
1379
1563
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1380
1564
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1381
1565
|
documentationPhase?: Prisma.DocumentationPhaseUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1566
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1382
1567
|
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
1383
1568
|
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
1384
1569
|
};
|
|
@@ -1388,7 +1573,7 @@ export type ApprovalStageProgressUncheckedUpdateWithoutApprovalStageInput = {
|
|
|
1388
1573
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1389
1574
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1390
1575
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1391
|
-
|
|
1576
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1392
1577
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1393
1578
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1394
1579
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1409,7 +1594,7 @@ export type ApprovalStageProgressUncheckedUpdateManyWithoutApprovalStageInput =
|
|
|
1409
1594
|
documentationPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1410
1595
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1411
1596
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1412
|
-
|
|
1597
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1413
1598
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1414
1599
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1415
1600
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1429,7 +1614,7 @@ export type ApprovalStageProgressCreateManyDocumentationPhaseInput = {
|
|
|
1429
1614
|
approvalStageId: string;
|
|
1430
1615
|
name: string;
|
|
1431
1616
|
order: number;
|
|
1432
|
-
|
|
1617
|
+
organizationTypeId: string;
|
|
1433
1618
|
autoTransition?: boolean;
|
|
1434
1619
|
waitForAllDocuments?: boolean;
|
|
1435
1620
|
allowEarlyVisibility?: boolean;
|
|
@@ -1447,7 +1632,6 @@ export type ApprovalStageProgressUpdateWithoutDocumentationPhaseInput = {
|
|
|
1447
1632
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1448
1633
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1449
1634
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1450
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
1451
1635
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1452
1636
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1453
1637
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1461,6 +1645,7 @@ export type ApprovalStageProgressUpdateWithoutDocumentationPhaseInput = {
|
|
|
1461
1645
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1462
1646
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1463
1647
|
approvalStage?: Prisma.ApprovalStageUpdateOneRequiredWithoutStageProgressNestedInput;
|
|
1648
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutApprovalStageProgressNestedInput;
|
|
1464
1649
|
completedBy?: Prisma.UserUpdateOneWithoutCompletedStagesNestedInput;
|
|
1465
1650
|
documentApprovals?: Prisma.DocumentApprovalUpdateManyWithoutStageProgressNestedInput;
|
|
1466
1651
|
};
|
|
@@ -1470,7 +1655,7 @@ export type ApprovalStageProgressUncheckedUpdateWithoutDocumentationPhaseInput =
|
|
|
1470
1655
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1471
1656
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1472
1657
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1473
|
-
|
|
1658
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1474
1659
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1475
1660
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1476
1661
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1491,7 +1676,7 @@ export type ApprovalStageProgressUncheckedUpdateManyWithoutDocumentationPhaseInp
|
|
|
1491
1676
|
approvalStageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1492
1677
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1493
1678
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1494
|
-
|
|
1679
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1495
1680
|
autoTransition?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1496
1681
|
waitForAllDocuments?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1497
1682
|
allowEarlyVisibility?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -1536,7 +1721,7 @@ export type ApprovalStageProgressSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
1536
1721
|
approvalStageId?: boolean;
|
|
1537
1722
|
name?: boolean;
|
|
1538
1723
|
order?: boolean;
|
|
1539
|
-
|
|
1724
|
+
organizationTypeId?: boolean;
|
|
1540
1725
|
autoTransition?: boolean;
|
|
1541
1726
|
waitForAllDocuments?: boolean;
|
|
1542
1727
|
allowEarlyVisibility?: boolean;
|
|
@@ -1552,6 +1737,7 @@ export type ApprovalStageProgressSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
1552
1737
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1553
1738
|
documentationPhase?: boolean | Prisma.DocumentationPhaseDefaultArgs<ExtArgs>;
|
|
1554
1739
|
approvalStage?: boolean | Prisma.ApprovalStageDefaultArgs<ExtArgs>;
|
|
1740
|
+
organizationType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
1555
1741
|
completedBy?: boolean | Prisma.ApprovalStageProgress$completedByArgs<ExtArgs>;
|
|
1556
1742
|
documentApprovals?: boolean | Prisma.ApprovalStageProgress$documentApprovalsArgs<ExtArgs>;
|
|
1557
1743
|
_count?: boolean | Prisma.ApprovalStageProgressCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -1563,7 +1749,7 @@ export type ApprovalStageProgressSelectScalar = {
|
|
|
1563
1749
|
approvalStageId?: boolean;
|
|
1564
1750
|
name?: boolean;
|
|
1565
1751
|
order?: boolean;
|
|
1566
|
-
|
|
1752
|
+
organizationTypeId?: boolean;
|
|
1567
1753
|
autoTransition?: boolean;
|
|
1568
1754
|
waitForAllDocuments?: boolean;
|
|
1569
1755
|
allowEarlyVisibility?: boolean;
|
|
@@ -1577,11 +1763,12 @@ export type ApprovalStageProgressSelectScalar = {
|
|
|
1577
1763
|
createdAt?: boolean;
|
|
1578
1764
|
updatedAt?: boolean;
|
|
1579
1765
|
};
|
|
1580
|
-
export type ApprovalStageProgressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentationPhaseId" | "approvalStageId" | "name" | "order" | "
|
|
1766
|
+
export type ApprovalStageProgressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentationPhaseId" | "approvalStageId" | "name" | "order" | "organizationTypeId" | "autoTransition" | "waitForAllDocuments" | "allowEarlyVisibility" | "onRejection" | "restartFromStageOrder" | "status" | "activatedAt" | "completedAt" | "completedById" | "transitionComment" | "createdAt" | "updatedAt", ExtArgs["result"]["approvalStageProgress"]>;
|
|
1581
1767
|
export type ApprovalStageProgressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1582
1768
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1583
1769
|
documentationPhase?: boolean | Prisma.DocumentationPhaseDefaultArgs<ExtArgs>;
|
|
1584
1770
|
approvalStage?: boolean | Prisma.ApprovalStageDefaultArgs<ExtArgs>;
|
|
1771
|
+
organizationType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
1585
1772
|
completedBy?: boolean | Prisma.ApprovalStageProgress$completedByArgs<ExtArgs>;
|
|
1586
1773
|
documentApprovals?: boolean | Prisma.ApprovalStageProgress$documentApprovalsArgs<ExtArgs>;
|
|
1587
1774
|
_count?: boolean | Prisma.ApprovalStageProgressCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -1592,6 +1779,7 @@ export type $ApprovalStageProgressPayload<ExtArgs extends runtime.Types.Extensio
|
|
|
1592
1779
|
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1593
1780
|
documentationPhase: Prisma.$DocumentationPhasePayload<ExtArgs>;
|
|
1594
1781
|
approvalStage: Prisma.$ApprovalStagePayload<ExtArgs>;
|
|
1782
|
+
organizationType: Prisma.$OrganizationTypePayload<ExtArgs>;
|
|
1595
1783
|
completedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
1596
1784
|
documentApprovals: Prisma.$DocumentApprovalPayload<ExtArgs>[];
|
|
1597
1785
|
};
|
|
@@ -1602,7 +1790,7 @@ export type $ApprovalStageProgressPayload<ExtArgs extends runtime.Types.Extensio
|
|
|
1602
1790
|
approvalStageId: string;
|
|
1603
1791
|
name: string;
|
|
1604
1792
|
order: number;
|
|
1605
|
-
|
|
1793
|
+
organizationTypeId: string;
|
|
1606
1794
|
autoTransition: boolean;
|
|
1607
1795
|
waitForAllDocuments: boolean;
|
|
1608
1796
|
allowEarlyVisibility: boolean;
|
|
@@ -1895,6 +2083,7 @@ export interface Prisma__ApprovalStageProgressClient<T, Null = never, ExtArgs ex
|
|
|
1895
2083
|
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>;
|
|
1896
2084
|
documentationPhase<T extends Prisma.DocumentationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__DocumentationPhaseClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1897
2085
|
approvalStage<T extends Prisma.ApprovalStageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalStageDefaultArgs<ExtArgs>>): Prisma.Prisma__ApprovalStageClient<runtime.Types.Result.GetResult<Prisma.$ApprovalStagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2086
|
+
organizationType<T extends Prisma.OrganizationTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1898
2087
|
completedBy<T extends Prisma.ApprovalStageProgress$completedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalStageProgress$completedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1899
2088
|
documentApprovals<T extends Prisma.ApprovalStageProgress$documentApprovalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalStageProgress$documentApprovalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1900
2089
|
/**
|
|
@@ -1928,7 +2117,7 @@ export interface ApprovalStageProgressFieldRefs {
|
|
|
1928
2117
|
readonly approvalStageId: Prisma.FieldRef<"ApprovalStageProgress", 'String'>;
|
|
1929
2118
|
readonly name: Prisma.FieldRef<"ApprovalStageProgress", 'String'>;
|
|
1930
2119
|
readonly order: Prisma.FieldRef<"ApprovalStageProgress", 'Int'>;
|
|
1931
|
-
readonly
|
|
2120
|
+
readonly organizationTypeId: Prisma.FieldRef<"ApprovalStageProgress", 'String'>;
|
|
1932
2121
|
readonly autoTransition: Prisma.FieldRef<"ApprovalStageProgress", 'Boolean'>;
|
|
1933
2122
|
readonly waitForAllDocuments: Prisma.FieldRef<"ApprovalStageProgress", 'Boolean'>;
|
|
1934
2123
|
readonly allowEarlyVisibility: Prisma.FieldRef<"ApprovalStageProgress", 'Boolean'>;
|