@valentine-efagene/qshelter-common 2.0.119 → 2.0.121
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 +11 -0
- package/dist/generated/client/client.d.ts +11 -0
- package/dist/generated/client/commonInputTypes.d.ts +260 -0
- package/dist/generated/client/enums.d.ts +79 -0
- package/dist/generated/client/enums.js +71 -1
- package/dist/generated/client/internal/class.d.ts +22 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +277 -2
- package/dist/generated/client/internal/prismaNamespace.js +109 -4
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +110 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +109 -4
- package/dist/generated/client/models/DocumentationPhase.d.ts +243 -1
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +241 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +1017 -1
- package/dist/generated/client/models/Organization.d.ts +1930 -0
- package/dist/generated/client/models/Organization.js +1 -0
- package/dist/generated/client/models/OrganizationMember.d.ts +1598 -0
- package/dist/generated/client/models/OrganizationMember.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +165 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +25 -22
- package/dist/generated/client/models/Tenant.d.ts +555 -0
- package/dist/generated/client/models/User.d.ts +776 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/dist/src/middleware/auth-context.d.ts +30 -1
- package/dist/src/middleware/auth-context.js +34 -1
- package/dist/src/prisma/tenant.js +2 -0
- package/dist/src/utils/condition-operators.d.ts +5 -23
- package/dist/src/utils/condition-operators.js +6 -19
- package/dist/src/utils/documentation-enums.d.ts +6 -0
- package/dist/src/utils/documentation-enums.js +6 -0
- package/package.json +1 -1
- package/prisma/migrations/20260115123703_add_organizations/migration.sql +69 -0
- package/prisma/migrations/20260115125519_add_requires_manual_review_to_step/migration.sql +2 -0
- package/prisma/migrations/20260115134106_add_conditional_step_support/migration.sql +11 -0
- package/prisma/schema.prisma +191 -1
|
@@ -42,6 +42,13 @@ export type DocumentationPlanStepMinAggregateOutputType = {
|
|
|
42
42
|
requiresManualReview: boolean | null;
|
|
43
43
|
minFiles: number | null;
|
|
44
44
|
maxFiles: number | null;
|
|
45
|
+
gateActor: $Enums.GateActor | null;
|
|
46
|
+
gateAction: $Enums.GateAction | null;
|
|
47
|
+
gateRoleId: string | null;
|
|
48
|
+
gateInstructions: string | null;
|
|
49
|
+
allowReject: boolean | null;
|
|
50
|
+
rejectBehavior: $Enums.GateRejectBehavior | null;
|
|
51
|
+
requiresComment: boolean | null;
|
|
45
52
|
createdAt: Date | null;
|
|
46
53
|
updatedAt: Date | null;
|
|
47
54
|
};
|
|
@@ -60,6 +67,13 @@ export type DocumentationPlanStepMaxAggregateOutputType = {
|
|
|
60
67
|
requiresManualReview: boolean | null;
|
|
61
68
|
minFiles: number | null;
|
|
62
69
|
maxFiles: number | null;
|
|
70
|
+
gateActor: $Enums.GateActor | null;
|
|
71
|
+
gateAction: $Enums.GateAction | null;
|
|
72
|
+
gateRoleId: string | null;
|
|
73
|
+
gateInstructions: string | null;
|
|
74
|
+
allowReject: boolean | null;
|
|
75
|
+
rejectBehavior: $Enums.GateRejectBehavior | null;
|
|
76
|
+
requiresComment: boolean | null;
|
|
63
77
|
createdAt: Date | null;
|
|
64
78
|
updatedAt: Date | null;
|
|
65
79
|
};
|
|
@@ -80,6 +94,13 @@ export type DocumentationPlanStepCountAggregateOutputType = {
|
|
|
80
94
|
minFiles: number;
|
|
81
95
|
maxFiles: number;
|
|
82
96
|
condition: number;
|
|
97
|
+
gateActor: number;
|
|
98
|
+
gateAction: number;
|
|
99
|
+
gateRoleId: number;
|
|
100
|
+
gateInstructions: number;
|
|
101
|
+
allowReject: number;
|
|
102
|
+
rejectBehavior: number;
|
|
103
|
+
requiresComment: number;
|
|
83
104
|
createdAt: number;
|
|
84
105
|
updatedAt: number;
|
|
85
106
|
_all: number;
|
|
@@ -113,6 +134,13 @@ export type DocumentationPlanStepMinAggregateInputType = {
|
|
|
113
134
|
requiresManualReview?: true;
|
|
114
135
|
minFiles?: true;
|
|
115
136
|
maxFiles?: true;
|
|
137
|
+
gateActor?: true;
|
|
138
|
+
gateAction?: true;
|
|
139
|
+
gateRoleId?: true;
|
|
140
|
+
gateInstructions?: true;
|
|
141
|
+
allowReject?: true;
|
|
142
|
+
rejectBehavior?: true;
|
|
143
|
+
requiresComment?: true;
|
|
116
144
|
createdAt?: true;
|
|
117
145
|
updatedAt?: true;
|
|
118
146
|
};
|
|
@@ -131,6 +159,13 @@ export type DocumentationPlanStepMaxAggregateInputType = {
|
|
|
131
159
|
requiresManualReview?: true;
|
|
132
160
|
minFiles?: true;
|
|
133
161
|
maxFiles?: true;
|
|
162
|
+
gateActor?: true;
|
|
163
|
+
gateAction?: true;
|
|
164
|
+
gateRoleId?: true;
|
|
165
|
+
gateInstructions?: true;
|
|
166
|
+
allowReject?: true;
|
|
167
|
+
rejectBehavior?: true;
|
|
168
|
+
requiresComment?: true;
|
|
134
169
|
createdAt?: true;
|
|
135
170
|
updatedAt?: true;
|
|
136
171
|
};
|
|
@@ -151,6 +186,13 @@ export type DocumentationPlanStepCountAggregateInputType = {
|
|
|
151
186
|
minFiles?: true;
|
|
152
187
|
maxFiles?: true;
|
|
153
188
|
condition?: true;
|
|
189
|
+
gateActor?: true;
|
|
190
|
+
gateAction?: true;
|
|
191
|
+
gateRoleId?: true;
|
|
192
|
+
gateInstructions?: true;
|
|
193
|
+
allowReject?: true;
|
|
194
|
+
rejectBehavior?: true;
|
|
195
|
+
requiresComment?: true;
|
|
154
196
|
createdAt?: true;
|
|
155
197
|
updatedAt?: true;
|
|
156
198
|
_all?: true;
|
|
@@ -248,6 +290,13 @@ export type DocumentationPlanStepGroupByOutputType = {
|
|
|
248
290
|
minFiles: number;
|
|
249
291
|
maxFiles: number;
|
|
250
292
|
condition: runtime.JsonValue | null;
|
|
293
|
+
gateActor: $Enums.GateActor | null;
|
|
294
|
+
gateAction: $Enums.GateAction | null;
|
|
295
|
+
gateRoleId: string | null;
|
|
296
|
+
gateInstructions: string | null;
|
|
297
|
+
allowReject: boolean;
|
|
298
|
+
rejectBehavior: $Enums.GateRejectBehavior | null;
|
|
299
|
+
requiresComment: boolean;
|
|
251
300
|
createdAt: Date;
|
|
252
301
|
updatedAt: Date;
|
|
253
302
|
_count: DocumentationPlanStepCountAggregateOutputType | null;
|
|
@@ -279,6 +328,13 @@ export type DocumentationPlanStepWhereInput = {
|
|
|
279
328
|
minFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
280
329
|
maxFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
281
330
|
condition?: Prisma.JsonNullableFilter<"DocumentationPlanStep">;
|
|
331
|
+
gateActor?: Prisma.EnumGateActorNullableFilter<"DocumentationPlanStep"> | $Enums.GateActor | null;
|
|
332
|
+
gateAction?: Prisma.EnumGateActionNullableFilter<"DocumentationPlanStep"> | $Enums.GateAction | null;
|
|
333
|
+
gateRoleId?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
334
|
+
gateInstructions?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
335
|
+
allowReject?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
336
|
+
rejectBehavior?: Prisma.EnumGateRejectBehaviorNullableFilter<"DocumentationPlanStep"> | $Enums.GateRejectBehavior | null;
|
|
337
|
+
requiresComment?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
282
338
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
283
339
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
284
340
|
plan?: Prisma.XOR<Prisma.DocumentationPlanScalarRelationFilter, Prisma.DocumentationPlanWhereInput>;
|
|
@@ -300,6 +356,13 @@ export type DocumentationPlanStepOrderByWithRelationInput = {
|
|
|
300
356
|
minFiles?: Prisma.SortOrder;
|
|
301
357
|
maxFiles?: Prisma.SortOrder;
|
|
302
358
|
condition?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
359
|
+
gateActor?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
360
|
+
gateAction?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
361
|
+
gateRoleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
362
|
+
gateInstructions?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
363
|
+
allowReject?: Prisma.SortOrder;
|
|
364
|
+
rejectBehavior?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
365
|
+
requiresComment?: Prisma.SortOrder;
|
|
303
366
|
createdAt?: Prisma.SortOrder;
|
|
304
367
|
updatedAt?: Prisma.SortOrder;
|
|
305
368
|
plan?: Prisma.DocumentationPlanOrderByWithRelationInput;
|
|
@@ -325,6 +388,13 @@ export type DocumentationPlanStepWhereUniqueInput = Prisma.AtLeast<{
|
|
|
325
388
|
minFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
326
389
|
maxFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
327
390
|
condition?: Prisma.JsonNullableFilter<"DocumentationPlanStep">;
|
|
391
|
+
gateActor?: Prisma.EnumGateActorNullableFilter<"DocumentationPlanStep"> | $Enums.GateActor | null;
|
|
392
|
+
gateAction?: Prisma.EnumGateActionNullableFilter<"DocumentationPlanStep"> | $Enums.GateAction | null;
|
|
393
|
+
gateRoleId?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
394
|
+
gateInstructions?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
395
|
+
allowReject?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
396
|
+
rejectBehavior?: Prisma.EnumGateRejectBehaviorNullableFilter<"DocumentationPlanStep"> | $Enums.GateRejectBehavior | null;
|
|
397
|
+
requiresComment?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
328
398
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
329
399
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
330
400
|
plan?: Prisma.XOR<Prisma.DocumentationPlanScalarRelationFilter, Prisma.DocumentationPlanWhereInput>;
|
|
@@ -346,6 +416,13 @@ export type DocumentationPlanStepOrderByWithAggregationInput = {
|
|
|
346
416
|
minFiles?: Prisma.SortOrder;
|
|
347
417
|
maxFiles?: Prisma.SortOrder;
|
|
348
418
|
condition?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
419
|
+
gateActor?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
420
|
+
gateAction?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
421
|
+
gateRoleId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
422
|
+
gateInstructions?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
423
|
+
allowReject?: Prisma.SortOrder;
|
|
424
|
+
rejectBehavior?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
425
|
+
requiresComment?: Prisma.SortOrder;
|
|
349
426
|
createdAt?: Prisma.SortOrder;
|
|
350
427
|
updatedAt?: Prisma.SortOrder;
|
|
351
428
|
_count?: Prisma.DocumentationPlanStepCountOrderByAggregateInput;
|
|
@@ -374,6 +451,13 @@ export type DocumentationPlanStepScalarWhereWithAggregatesInput = {
|
|
|
374
451
|
minFiles?: Prisma.IntWithAggregatesFilter<"DocumentationPlanStep"> | number;
|
|
375
452
|
maxFiles?: Prisma.IntWithAggregatesFilter<"DocumentationPlanStep"> | number;
|
|
376
453
|
condition?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPlanStep">;
|
|
454
|
+
gateActor?: Prisma.EnumGateActorNullableWithAggregatesFilter<"DocumentationPlanStep"> | $Enums.GateActor | null;
|
|
455
|
+
gateAction?: Prisma.EnumGateActionNullableWithAggregatesFilter<"DocumentationPlanStep"> | $Enums.GateAction | null;
|
|
456
|
+
gateRoleId?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPlanStep"> | string | null;
|
|
457
|
+
gateInstructions?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPlanStep"> | string | null;
|
|
458
|
+
allowReject?: Prisma.BoolWithAggregatesFilter<"DocumentationPlanStep"> | boolean;
|
|
459
|
+
rejectBehavior?: Prisma.EnumGateRejectBehaviorNullableWithAggregatesFilter<"DocumentationPlanStep"> | $Enums.GateRejectBehavior | null;
|
|
460
|
+
requiresComment?: Prisma.BoolWithAggregatesFilter<"DocumentationPlanStep"> | boolean;
|
|
377
461
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPlanStep"> | Date | string;
|
|
378
462
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPlanStep"> | Date | string;
|
|
379
463
|
};
|
|
@@ -393,6 +477,13 @@ export type DocumentationPlanStepCreateInput = {
|
|
|
393
477
|
minFiles?: number;
|
|
394
478
|
maxFiles?: number;
|
|
395
479
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
480
|
+
gateActor?: $Enums.GateActor | null;
|
|
481
|
+
gateAction?: $Enums.GateAction | null;
|
|
482
|
+
gateRoleId?: string | null;
|
|
483
|
+
gateInstructions?: string | null;
|
|
484
|
+
allowReject?: boolean;
|
|
485
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
486
|
+
requiresComment?: boolean;
|
|
396
487
|
createdAt?: Date | string;
|
|
397
488
|
updatedAt?: Date | string;
|
|
398
489
|
plan: Prisma.DocumentationPlanCreateNestedOneWithoutStepsInput;
|
|
@@ -414,6 +505,13 @@ export type DocumentationPlanStepUncheckedCreateInput = {
|
|
|
414
505
|
minFiles?: number;
|
|
415
506
|
maxFiles?: number;
|
|
416
507
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
508
|
+
gateActor?: $Enums.GateActor | null;
|
|
509
|
+
gateAction?: $Enums.GateAction | null;
|
|
510
|
+
gateRoleId?: string | null;
|
|
511
|
+
gateInstructions?: string | null;
|
|
512
|
+
allowReject?: boolean;
|
|
513
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
514
|
+
requiresComment?: boolean;
|
|
417
515
|
createdAt?: Date | string;
|
|
418
516
|
updatedAt?: Date | string;
|
|
419
517
|
};
|
|
@@ -433,6 +531,13 @@ export type DocumentationPlanStepUpdateInput = {
|
|
|
433
531
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
434
532
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
435
533
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
534
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
535
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
536
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
537
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
538
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
539
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
540
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
436
541
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
437
542
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
438
543
|
plan?: Prisma.DocumentationPlanUpdateOneRequiredWithoutStepsNestedInput;
|
|
@@ -454,6 +559,13 @@ export type DocumentationPlanStepUncheckedUpdateInput = {
|
|
|
454
559
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
455
560
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
456
561
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
562
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
563
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
564
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
565
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
566
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
567
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
568
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
457
569
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
458
570
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
571
|
};
|
|
@@ -474,6 +586,13 @@ export type DocumentationPlanStepCreateManyInput = {
|
|
|
474
586
|
minFiles?: number;
|
|
475
587
|
maxFiles?: number;
|
|
476
588
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
589
|
+
gateActor?: $Enums.GateActor | null;
|
|
590
|
+
gateAction?: $Enums.GateAction | null;
|
|
591
|
+
gateRoleId?: string | null;
|
|
592
|
+
gateInstructions?: string | null;
|
|
593
|
+
allowReject?: boolean;
|
|
594
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
595
|
+
requiresComment?: boolean;
|
|
477
596
|
createdAt?: Date | string;
|
|
478
597
|
updatedAt?: Date | string;
|
|
479
598
|
};
|
|
@@ -493,6 +612,13 @@ export type DocumentationPlanStepUpdateManyMutationInput = {
|
|
|
493
612
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
494
613
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
495
614
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
615
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
616
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
617
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
618
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
619
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
620
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
621
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
496
622
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
497
623
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
498
624
|
};
|
|
@@ -513,6 +639,13 @@ export type DocumentationPlanStepUncheckedUpdateManyInput = {
|
|
|
513
639
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
514
640
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
515
641
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
642
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
643
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
644
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
645
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
646
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
647
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
648
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
516
649
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
517
650
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
518
651
|
};
|
|
@@ -546,6 +679,13 @@ export type DocumentationPlanStepCountOrderByAggregateInput = {
|
|
|
546
679
|
minFiles?: Prisma.SortOrder;
|
|
547
680
|
maxFiles?: Prisma.SortOrder;
|
|
548
681
|
condition?: Prisma.SortOrder;
|
|
682
|
+
gateActor?: Prisma.SortOrder;
|
|
683
|
+
gateAction?: Prisma.SortOrder;
|
|
684
|
+
gateRoleId?: Prisma.SortOrder;
|
|
685
|
+
gateInstructions?: Prisma.SortOrder;
|
|
686
|
+
allowReject?: Prisma.SortOrder;
|
|
687
|
+
rejectBehavior?: Prisma.SortOrder;
|
|
688
|
+
requiresComment?: Prisma.SortOrder;
|
|
549
689
|
createdAt?: Prisma.SortOrder;
|
|
550
690
|
updatedAt?: Prisma.SortOrder;
|
|
551
691
|
};
|
|
@@ -571,6 +711,13 @@ export type DocumentationPlanStepMaxOrderByAggregateInput = {
|
|
|
571
711
|
requiresManualReview?: Prisma.SortOrder;
|
|
572
712
|
minFiles?: Prisma.SortOrder;
|
|
573
713
|
maxFiles?: Prisma.SortOrder;
|
|
714
|
+
gateActor?: Prisma.SortOrder;
|
|
715
|
+
gateAction?: Prisma.SortOrder;
|
|
716
|
+
gateRoleId?: Prisma.SortOrder;
|
|
717
|
+
gateInstructions?: Prisma.SortOrder;
|
|
718
|
+
allowReject?: Prisma.SortOrder;
|
|
719
|
+
rejectBehavior?: Prisma.SortOrder;
|
|
720
|
+
requiresComment?: Prisma.SortOrder;
|
|
574
721
|
createdAt?: Prisma.SortOrder;
|
|
575
722
|
updatedAt?: Prisma.SortOrder;
|
|
576
723
|
};
|
|
@@ -589,6 +736,13 @@ export type DocumentationPlanStepMinOrderByAggregateInput = {
|
|
|
589
736
|
requiresManualReview?: Prisma.SortOrder;
|
|
590
737
|
minFiles?: Prisma.SortOrder;
|
|
591
738
|
maxFiles?: Prisma.SortOrder;
|
|
739
|
+
gateActor?: Prisma.SortOrder;
|
|
740
|
+
gateAction?: Prisma.SortOrder;
|
|
741
|
+
gateRoleId?: Prisma.SortOrder;
|
|
742
|
+
gateInstructions?: Prisma.SortOrder;
|
|
743
|
+
allowReject?: Prisma.SortOrder;
|
|
744
|
+
rejectBehavior?: Prisma.SortOrder;
|
|
745
|
+
requiresComment?: Prisma.SortOrder;
|
|
592
746
|
createdAt?: Prisma.SortOrder;
|
|
593
747
|
updatedAt?: Prisma.SortOrder;
|
|
594
748
|
};
|
|
@@ -640,6 +794,15 @@ export type DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput = {
|
|
|
640
794
|
export type EnumStepTypeFieldUpdateOperationsInput = {
|
|
641
795
|
set?: $Enums.StepType;
|
|
642
796
|
};
|
|
797
|
+
export type NullableEnumGateActorFieldUpdateOperationsInput = {
|
|
798
|
+
set?: $Enums.GateActor | null;
|
|
799
|
+
};
|
|
800
|
+
export type NullableEnumGateActionFieldUpdateOperationsInput = {
|
|
801
|
+
set?: $Enums.GateAction | null;
|
|
802
|
+
};
|
|
803
|
+
export type NullableEnumGateRejectBehaviorFieldUpdateOperationsInput = {
|
|
804
|
+
set?: $Enums.GateRejectBehavior | null;
|
|
805
|
+
};
|
|
643
806
|
export type DocumentationPlanStepCreateWithoutPlanInput = {
|
|
644
807
|
id?: string;
|
|
645
808
|
name: string;
|
|
@@ -656,6 +819,13 @@ export type DocumentationPlanStepCreateWithoutPlanInput = {
|
|
|
656
819
|
minFiles?: number;
|
|
657
820
|
maxFiles?: number;
|
|
658
821
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
822
|
+
gateActor?: $Enums.GateActor | null;
|
|
823
|
+
gateAction?: $Enums.GateAction | null;
|
|
824
|
+
gateRoleId?: string | null;
|
|
825
|
+
gateInstructions?: string | null;
|
|
826
|
+
allowReject?: boolean;
|
|
827
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
828
|
+
requiresComment?: boolean;
|
|
659
829
|
createdAt?: Date | string;
|
|
660
830
|
updatedAt?: Date | string;
|
|
661
831
|
};
|
|
@@ -675,6 +845,13 @@ export type DocumentationPlanStepUncheckedCreateWithoutPlanInput = {
|
|
|
675
845
|
minFiles?: number;
|
|
676
846
|
maxFiles?: number;
|
|
677
847
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
848
|
+
gateActor?: $Enums.GateActor | null;
|
|
849
|
+
gateAction?: $Enums.GateAction | null;
|
|
850
|
+
gateRoleId?: string | null;
|
|
851
|
+
gateInstructions?: string | null;
|
|
852
|
+
allowReject?: boolean;
|
|
853
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
854
|
+
requiresComment?: boolean;
|
|
678
855
|
createdAt?: Date | string;
|
|
679
856
|
updatedAt?: Date | string;
|
|
680
857
|
};
|
|
@@ -719,6 +896,13 @@ export type DocumentationPlanStepScalarWhereInput = {
|
|
|
719
896
|
minFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
720
897
|
maxFiles?: Prisma.IntFilter<"DocumentationPlanStep"> | number;
|
|
721
898
|
condition?: Prisma.JsonNullableFilter<"DocumentationPlanStep">;
|
|
899
|
+
gateActor?: Prisma.EnumGateActorNullableFilter<"DocumentationPlanStep"> | $Enums.GateActor | null;
|
|
900
|
+
gateAction?: Prisma.EnumGateActionNullableFilter<"DocumentationPlanStep"> | $Enums.GateAction | null;
|
|
901
|
+
gateRoleId?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
902
|
+
gateInstructions?: Prisma.StringNullableFilter<"DocumentationPlanStep"> | string | null;
|
|
903
|
+
allowReject?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
904
|
+
rejectBehavior?: Prisma.EnumGateRejectBehaviorNullableFilter<"DocumentationPlanStep"> | $Enums.GateRejectBehavior | null;
|
|
905
|
+
requiresComment?: Prisma.BoolFilter<"DocumentationPlanStep"> | boolean;
|
|
722
906
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
723
907
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlanStep"> | Date | string;
|
|
724
908
|
};
|
|
@@ -738,6 +922,13 @@ export type DocumentationPlanStepCreateManyPlanInput = {
|
|
|
738
922
|
minFiles?: number;
|
|
739
923
|
maxFiles?: number;
|
|
740
924
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
925
|
+
gateActor?: $Enums.GateActor | null;
|
|
926
|
+
gateAction?: $Enums.GateAction | null;
|
|
927
|
+
gateRoleId?: string | null;
|
|
928
|
+
gateInstructions?: string | null;
|
|
929
|
+
allowReject?: boolean;
|
|
930
|
+
rejectBehavior?: $Enums.GateRejectBehavior | null;
|
|
931
|
+
requiresComment?: boolean;
|
|
741
932
|
createdAt?: Date | string;
|
|
742
933
|
updatedAt?: Date | string;
|
|
743
934
|
};
|
|
@@ -757,6 +948,13 @@ export type DocumentationPlanStepUpdateWithoutPlanInput = {
|
|
|
757
948
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
758
949
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
759
950
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
951
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
952
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
953
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
954
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
955
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
956
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
957
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
760
958
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
761
959
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
762
960
|
};
|
|
@@ -776,6 +974,13 @@ export type DocumentationPlanStepUncheckedUpdateWithoutPlanInput = {
|
|
|
776
974
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
777
975
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
778
976
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
977
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
978
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
979
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
980
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
981
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
982
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
983
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
779
984
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
780
985
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
781
986
|
};
|
|
@@ -795,6 +1000,13 @@ export type DocumentationPlanStepUncheckedUpdateManyWithoutPlanInput = {
|
|
|
795
1000
|
minFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
796
1001
|
maxFiles?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
797
1002
|
condition?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1003
|
+
gateActor?: Prisma.NullableEnumGateActorFieldUpdateOperationsInput | $Enums.GateActor | null;
|
|
1004
|
+
gateAction?: Prisma.NullableEnumGateActionFieldUpdateOperationsInput | $Enums.GateAction | null;
|
|
1005
|
+
gateRoleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1006
|
+
gateInstructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1007
|
+
allowReject?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1008
|
+
rejectBehavior?: Prisma.NullableEnumGateRejectBehaviorFieldUpdateOperationsInput | $Enums.GateRejectBehavior | null;
|
|
1009
|
+
requiresComment?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
798
1010
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
799
1011
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
800
1012
|
};
|
|
@@ -815,6 +1027,13 @@ export type DocumentationPlanStepSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
815
1027
|
minFiles?: boolean;
|
|
816
1028
|
maxFiles?: boolean;
|
|
817
1029
|
condition?: boolean;
|
|
1030
|
+
gateActor?: boolean;
|
|
1031
|
+
gateAction?: boolean;
|
|
1032
|
+
gateRoleId?: boolean;
|
|
1033
|
+
gateInstructions?: boolean;
|
|
1034
|
+
allowReject?: boolean;
|
|
1035
|
+
rejectBehavior?: boolean;
|
|
1036
|
+
requiresComment?: boolean;
|
|
818
1037
|
createdAt?: boolean;
|
|
819
1038
|
updatedAt?: boolean;
|
|
820
1039
|
plan?: boolean | Prisma.DocumentationPlanDefaultArgs<ExtArgs>;
|
|
@@ -836,10 +1055,17 @@ export type DocumentationPlanStepSelectScalar = {
|
|
|
836
1055
|
minFiles?: boolean;
|
|
837
1056
|
maxFiles?: boolean;
|
|
838
1057
|
condition?: boolean;
|
|
1058
|
+
gateActor?: boolean;
|
|
1059
|
+
gateAction?: boolean;
|
|
1060
|
+
gateRoleId?: boolean;
|
|
1061
|
+
gateInstructions?: boolean;
|
|
1062
|
+
allowReject?: boolean;
|
|
1063
|
+
rejectBehavior?: boolean;
|
|
1064
|
+
requiresComment?: boolean;
|
|
839
1065
|
createdAt?: boolean;
|
|
840
1066
|
updatedAt?: boolean;
|
|
841
1067
|
};
|
|
842
|
-
export type DocumentationPlanStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "planId" | "name" | "stepType" | "order" | "documentType" | "metadata" | "isRequired" | "description" | "maxSizeBytes" | "allowedMimeTypes" | "expiryDays" | "requiresManualReview" | "minFiles" | "maxFiles" | "condition" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPlanStep"]>;
|
|
1068
|
+
export type DocumentationPlanStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "planId" | "name" | "stepType" | "order" | "documentType" | "metadata" | "isRequired" | "description" | "maxSizeBytes" | "allowedMimeTypes" | "expiryDays" | "requiresManualReview" | "minFiles" | "maxFiles" | "condition" | "gateActor" | "gateAction" | "gateRoleId" | "gateInstructions" | "allowReject" | "rejectBehavior" | "requiresComment" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPlanStep"]>;
|
|
843
1069
|
export type DocumentationPlanStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
844
1070
|
plan?: boolean | Prisma.DocumentationPlanDefaultArgs<ExtArgs>;
|
|
845
1071
|
};
|
|
@@ -865,6 +1091,13 @@ export type $DocumentationPlanStepPayload<ExtArgs extends runtime.Types.Extensio
|
|
|
865
1091
|
minFiles: number;
|
|
866
1092
|
maxFiles: number;
|
|
867
1093
|
condition: runtime.JsonValue | null;
|
|
1094
|
+
gateActor: $Enums.GateActor | null;
|
|
1095
|
+
gateAction: $Enums.GateAction | null;
|
|
1096
|
+
gateRoleId: string | null;
|
|
1097
|
+
gateInstructions: string | null;
|
|
1098
|
+
allowReject: boolean;
|
|
1099
|
+
rejectBehavior: $Enums.GateRejectBehavior | null;
|
|
1100
|
+
requiresComment: boolean;
|
|
868
1101
|
createdAt: Date;
|
|
869
1102
|
updatedAt: Date;
|
|
870
1103
|
}, ExtArgs["result"]["documentationPlanStep"]>;
|
|
@@ -1186,6 +1419,13 @@ export interface DocumentationPlanStepFieldRefs {
|
|
|
1186
1419
|
readonly minFiles: Prisma.FieldRef<"DocumentationPlanStep", 'Int'>;
|
|
1187
1420
|
readonly maxFiles: Prisma.FieldRef<"DocumentationPlanStep", 'Int'>;
|
|
1188
1421
|
readonly condition: Prisma.FieldRef<"DocumentationPlanStep", 'Json'>;
|
|
1422
|
+
readonly gateActor: Prisma.FieldRef<"DocumentationPlanStep", 'GateActor'>;
|
|
1423
|
+
readonly gateAction: Prisma.FieldRef<"DocumentationPlanStep", 'GateAction'>;
|
|
1424
|
+
readonly gateRoleId: Prisma.FieldRef<"DocumentationPlanStep", 'String'>;
|
|
1425
|
+
readonly gateInstructions: Prisma.FieldRef<"DocumentationPlanStep", 'String'>;
|
|
1426
|
+
readonly allowReject: Prisma.FieldRef<"DocumentationPlanStep", 'Boolean'>;
|
|
1427
|
+
readonly rejectBehavior: Prisma.FieldRef<"DocumentationPlanStep", 'GateRejectBehavior'>;
|
|
1428
|
+
readonly requiresComment: Prisma.FieldRef<"DocumentationPlanStep", 'Boolean'>;
|
|
1189
1429
|
readonly createdAt: Prisma.FieldRef<"DocumentationPlanStep", 'DateTime'>;
|
|
1190
1430
|
readonly updatedAt: Prisma.FieldRef<"DocumentationPlanStep", 'DateTime'>;
|
|
1191
1431
|
}
|