@valentine-efagene/qshelter-common 2.0.137 → 2.0.139
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 +20 -0
- package/dist/generated/client/client.d.ts +20 -0
- package/dist/generated/client/commonInputTypes.d.ts +163 -73
- package/dist/generated/client/enums.d.ts +23 -0
- package/dist/generated/client/enums.js +21 -1
- package/dist/generated/client/internal/class.d.ts +44 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +405 -6
- package/dist/generated/client/internal/prismaNamespace.js +112 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +120 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +112 -1
- package/dist/generated/client/models/ApplicationDocument.d.ts +290 -1
- package/dist/generated/client/models/ApprovalStage.d.ts +1605 -0
- package/dist/generated/client/models/ApprovalStage.js +1 -0
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +2329 -0
- package/dist/generated/client/models/ApprovalStageProgress.js +1 -0
- package/dist/generated/client/models/DocumentApproval.d.ts +1611 -0
- package/dist/generated/client/models/DocumentApproval.js +1 -0
- package/dist/generated/client/models/DocumentDefinition.d.ts +1475 -0
- package/dist/generated/client/models/DocumentDefinition.js +1 -0
- package/dist/generated/client/models/DocumentReview.d.ts +0 -3
- package/dist/generated/client/models/DocumentationPhase.d.ts +167 -0
- package/dist/generated/client/models/DocumentationPlan.d.ts +271 -40
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +34 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +64 -1
- package/dist/generated/client/models/Tenant.d.ts +1281 -131
- package/dist/generated/client/models/User.d.ts +824 -0
- package/dist/generated/client/models/index.d.ts +4 -0
- package/dist/generated/client/models/index.js +4 -0
- package/dist/generated/client/models.d.ts +4 -0
- package/dist/src/utils/documentation-enums.d.ts +10 -1
- package/dist/src/utils/documentation-enums.js +8 -0
- package/package.json +1 -1
- package/prisma/migrations/20260119180401_add_document_name_remove_required_doc_types/migration.sql +14 -0
- package/prisma/migrations/20260119190336_add_document_approval_workflow/migration.sql +134 -0
- package/prisma/schema.prisma +253 -12
|
@@ -34,7 +34,6 @@ export type DocumentationPlanCountAggregateOutputType = {
|
|
|
34
34
|
name: number;
|
|
35
35
|
description: number;
|
|
36
36
|
isActive: number;
|
|
37
|
-
requiredDocumentTypes: number;
|
|
38
37
|
createdAt: number;
|
|
39
38
|
updatedAt: number;
|
|
40
39
|
_all: number;
|
|
@@ -63,7 +62,6 @@ export type DocumentationPlanCountAggregateInputType = {
|
|
|
63
62
|
name?: true;
|
|
64
63
|
description?: true;
|
|
65
64
|
isActive?: true;
|
|
66
|
-
requiredDocumentTypes?: true;
|
|
67
65
|
createdAt?: true;
|
|
68
66
|
updatedAt?: true;
|
|
69
67
|
_all?: true;
|
|
@@ -136,7 +134,6 @@ export type DocumentationPlanGroupByOutputType = {
|
|
|
136
134
|
name: string;
|
|
137
135
|
description: string | null;
|
|
138
136
|
isActive: boolean;
|
|
139
|
-
requiredDocumentTypes: runtime.JsonValue | null;
|
|
140
137
|
createdAt: Date;
|
|
141
138
|
updatedAt: Date;
|
|
142
139
|
_count: DocumentationPlanCountAggregateOutputType | null;
|
|
@@ -155,11 +152,12 @@ export type DocumentationPlanWhereInput = {
|
|
|
155
152
|
name?: Prisma.StringFilter<"DocumentationPlan"> | string;
|
|
156
153
|
description?: Prisma.StringNullableFilter<"DocumentationPlan"> | string | null;
|
|
157
154
|
isActive?: Prisma.BoolFilter<"DocumentationPlan"> | boolean;
|
|
158
|
-
requiredDocumentTypes?: Prisma.JsonNullableFilter<"DocumentationPlan">;
|
|
159
155
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
160
156
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
161
157
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
162
158
|
steps?: Prisma.DocumentationPlanStepListRelationFilter;
|
|
159
|
+
documentDefinitions?: Prisma.DocumentDefinitionListRelationFilter;
|
|
160
|
+
approvalStages?: Prisma.ApprovalStageListRelationFilter;
|
|
163
161
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
164
162
|
documentationPhases?: Prisma.DocumentationPhaseListRelationFilter;
|
|
165
163
|
};
|
|
@@ -169,11 +167,12 @@ export type DocumentationPlanOrderByWithRelationInput = {
|
|
|
169
167
|
name?: Prisma.SortOrder;
|
|
170
168
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
171
169
|
isActive?: Prisma.SortOrder;
|
|
172
|
-
requiredDocumentTypes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
173
170
|
createdAt?: Prisma.SortOrder;
|
|
174
171
|
updatedAt?: Prisma.SortOrder;
|
|
175
172
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
176
173
|
steps?: Prisma.DocumentationPlanStepOrderByRelationAggregateInput;
|
|
174
|
+
documentDefinitions?: Prisma.DocumentDefinitionOrderByRelationAggregateInput;
|
|
175
|
+
approvalStages?: Prisma.ApprovalStageOrderByRelationAggregateInput;
|
|
177
176
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseOrderByRelationAggregateInput;
|
|
178
177
|
documentationPhases?: Prisma.DocumentationPhaseOrderByRelationAggregateInput;
|
|
179
178
|
_relevance?: Prisma.DocumentationPlanOrderByRelevanceInput;
|
|
@@ -188,11 +187,12 @@ export type DocumentationPlanWhereUniqueInput = Prisma.AtLeast<{
|
|
|
188
187
|
name?: Prisma.StringFilter<"DocumentationPlan"> | string;
|
|
189
188
|
description?: Prisma.StringNullableFilter<"DocumentationPlan"> | string | null;
|
|
190
189
|
isActive?: Prisma.BoolFilter<"DocumentationPlan"> | boolean;
|
|
191
|
-
requiredDocumentTypes?: Prisma.JsonNullableFilter<"DocumentationPlan">;
|
|
192
190
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
193
191
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
194
192
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
195
193
|
steps?: Prisma.DocumentationPlanStepListRelationFilter;
|
|
194
|
+
documentDefinitions?: Prisma.DocumentDefinitionListRelationFilter;
|
|
195
|
+
approvalStages?: Prisma.ApprovalStageListRelationFilter;
|
|
196
196
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
197
197
|
documentationPhases?: Prisma.DocumentationPhaseListRelationFilter;
|
|
198
198
|
}, "id" | "tenantId_name">;
|
|
@@ -202,7 +202,6 @@ export type DocumentationPlanOrderByWithAggregationInput = {
|
|
|
202
202
|
name?: Prisma.SortOrder;
|
|
203
203
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
204
204
|
isActive?: Prisma.SortOrder;
|
|
205
|
-
requiredDocumentTypes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
205
|
createdAt?: Prisma.SortOrder;
|
|
207
206
|
updatedAt?: Prisma.SortOrder;
|
|
208
207
|
_count?: Prisma.DocumentationPlanCountOrderByAggregateInput;
|
|
@@ -218,7 +217,6 @@ export type DocumentationPlanScalarWhereWithAggregatesInput = {
|
|
|
218
217
|
name?: Prisma.StringWithAggregatesFilter<"DocumentationPlan"> | string;
|
|
219
218
|
description?: Prisma.StringNullableWithAggregatesFilter<"DocumentationPlan"> | string | null;
|
|
220
219
|
isActive?: Prisma.BoolWithAggregatesFilter<"DocumentationPlan"> | boolean;
|
|
221
|
-
requiredDocumentTypes?: Prisma.JsonNullableWithAggregatesFilter<"DocumentationPlan">;
|
|
222
220
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPlan"> | Date | string;
|
|
223
221
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentationPlan"> | Date | string;
|
|
224
222
|
};
|
|
@@ -227,11 +225,12 @@ export type DocumentationPlanCreateInput = {
|
|
|
227
225
|
name: string;
|
|
228
226
|
description?: string | null;
|
|
229
227
|
isActive?: boolean;
|
|
230
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
231
228
|
createdAt?: Date | string;
|
|
232
229
|
updatedAt?: Date | string;
|
|
233
230
|
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
234
231
|
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
232
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
233
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
235
234
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
236
235
|
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
237
236
|
};
|
|
@@ -241,10 +240,11 @@ export type DocumentationPlanUncheckedCreateInput = {
|
|
|
241
240
|
name: string;
|
|
242
241
|
description?: string | null;
|
|
243
242
|
isActive?: boolean;
|
|
244
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
245
243
|
createdAt?: Date | string;
|
|
246
244
|
updatedAt?: Date | string;
|
|
247
245
|
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
246
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
247
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
248
248
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
249
249
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
250
250
|
};
|
|
@@ -253,11 +253,12 @@ export type DocumentationPlanUpdateInput = {
|
|
|
253
253
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
254
254
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
255
255
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
256
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
257
256
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
258
257
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
259
258
|
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
260
259
|
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
260
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
261
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
261
262
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
262
263
|
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
263
264
|
};
|
|
@@ -267,10 +268,11 @@ export type DocumentationPlanUncheckedUpdateInput = {
|
|
|
267
268
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
268
269
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
269
270
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
270
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
271
271
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
272
272
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
273
|
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
274
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
275
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
274
276
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
275
277
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
276
278
|
};
|
|
@@ -280,7 +282,6 @@ export type DocumentationPlanCreateManyInput = {
|
|
|
280
282
|
name: string;
|
|
281
283
|
description?: string | null;
|
|
282
284
|
isActive?: boolean;
|
|
283
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
284
285
|
createdAt?: Date | string;
|
|
285
286
|
updatedAt?: Date | string;
|
|
286
287
|
};
|
|
@@ -289,7 +290,6 @@ export type DocumentationPlanUpdateManyMutationInput = {
|
|
|
289
290
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
291
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
291
292
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
292
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
293
293
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
294
294
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
295
295
|
};
|
|
@@ -299,7 +299,6 @@ export type DocumentationPlanUncheckedUpdateManyInput = {
|
|
|
299
299
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
300
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
301
301
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
302
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
303
302
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
304
303
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
305
304
|
};
|
|
@@ -326,7 +325,6 @@ export type DocumentationPlanCountOrderByAggregateInput = {
|
|
|
326
325
|
name?: Prisma.SortOrder;
|
|
327
326
|
description?: Prisma.SortOrder;
|
|
328
327
|
isActive?: Prisma.SortOrder;
|
|
329
|
-
requiredDocumentTypes?: Prisma.SortOrder;
|
|
330
328
|
createdAt?: Prisma.SortOrder;
|
|
331
329
|
updatedAt?: Prisma.SortOrder;
|
|
332
330
|
};
|
|
@@ -406,6 +404,30 @@ export type DocumentationPlanUpdateOneRequiredWithoutStepsNestedInput = {
|
|
|
406
404
|
connect?: Prisma.DocumentationPlanWhereUniqueInput;
|
|
407
405
|
update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentationPlanUpdateToOneWithWhereWithoutStepsInput, Prisma.DocumentationPlanUpdateWithoutStepsInput>, Prisma.DocumentationPlanUncheckedUpdateWithoutStepsInput>;
|
|
408
406
|
};
|
|
407
|
+
export type DocumentationPlanCreateNestedOneWithoutDocumentDefinitionsInput = {
|
|
408
|
+
create?: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedCreateWithoutDocumentDefinitionsInput>;
|
|
409
|
+
connectOrCreate?: Prisma.DocumentationPlanCreateOrConnectWithoutDocumentDefinitionsInput;
|
|
410
|
+
connect?: Prisma.DocumentationPlanWhereUniqueInput;
|
|
411
|
+
};
|
|
412
|
+
export type DocumentationPlanUpdateOneRequiredWithoutDocumentDefinitionsNestedInput = {
|
|
413
|
+
create?: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedCreateWithoutDocumentDefinitionsInput>;
|
|
414
|
+
connectOrCreate?: Prisma.DocumentationPlanCreateOrConnectWithoutDocumentDefinitionsInput;
|
|
415
|
+
upsert?: Prisma.DocumentationPlanUpsertWithoutDocumentDefinitionsInput;
|
|
416
|
+
connect?: Prisma.DocumentationPlanWhereUniqueInput;
|
|
417
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentationPlanUpdateToOneWithWhereWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUpdateWithoutDocumentDefinitionsInput>, Prisma.DocumentationPlanUncheckedUpdateWithoutDocumentDefinitionsInput>;
|
|
418
|
+
};
|
|
419
|
+
export type DocumentationPlanCreateNestedOneWithoutApprovalStagesInput = {
|
|
420
|
+
create?: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedCreateWithoutApprovalStagesInput>;
|
|
421
|
+
connectOrCreate?: Prisma.DocumentationPlanCreateOrConnectWithoutApprovalStagesInput;
|
|
422
|
+
connect?: Prisma.DocumentationPlanWhereUniqueInput;
|
|
423
|
+
};
|
|
424
|
+
export type DocumentationPlanUpdateOneRequiredWithoutApprovalStagesNestedInput = {
|
|
425
|
+
create?: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedCreateWithoutApprovalStagesInput>;
|
|
426
|
+
connectOrCreate?: Prisma.DocumentationPlanCreateOrConnectWithoutApprovalStagesInput;
|
|
427
|
+
upsert?: Prisma.DocumentationPlanUpsertWithoutApprovalStagesInput;
|
|
428
|
+
connect?: Prisma.DocumentationPlanWhereUniqueInput;
|
|
429
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentationPlanUpdateToOneWithWhereWithoutApprovalStagesInput, Prisma.DocumentationPlanUpdateWithoutApprovalStagesInput>, Prisma.DocumentationPlanUncheckedUpdateWithoutApprovalStagesInput>;
|
|
430
|
+
};
|
|
409
431
|
export type DocumentationPlanCreateNestedOneWithoutMethodPhasesInput = {
|
|
410
432
|
create?: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutMethodPhasesInput, Prisma.DocumentationPlanUncheckedCreateWithoutMethodPhasesInput>;
|
|
411
433
|
connectOrCreate?: Prisma.DocumentationPlanCreateOrConnectWithoutMethodPhasesInput;
|
|
@@ -439,10 +461,11 @@ export type DocumentationPlanCreateWithoutTenantInput = {
|
|
|
439
461
|
name: string;
|
|
440
462
|
description?: string | null;
|
|
441
463
|
isActive?: boolean;
|
|
442
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
443
464
|
createdAt?: Date | string;
|
|
444
465
|
updatedAt?: Date | string;
|
|
445
466
|
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
467
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
468
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
446
469
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
447
470
|
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
448
471
|
};
|
|
@@ -451,10 +474,11 @@ export type DocumentationPlanUncheckedCreateWithoutTenantInput = {
|
|
|
451
474
|
name: string;
|
|
452
475
|
description?: string | null;
|
|
453
476
|
isActive?: boolean;
|
|
454
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
455
477
|
createdAt?: Date | string;
|
|
456
478
|
updatedAt?: Date | string;
|
|
457
479
|
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
480
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
481
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
458
482
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
459
483
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
460
484
|
};
|
|
@@ -488,7 +512,6 @@ export type DocumentationPlanScalarWhereInput = {
|
|
|
488
512
|
name?: Prisma.StringFilter<"DocumentationPlan"> | string;
|
|
489
513
|
description?: Prisma.StringNullableFilter<"DocumentationPlan"> | string | null;
|
|
490
514
|
isActive?: Prisma.BoolFilter<"DocumentationPlan"> | boolean;
|
|
491
|
-
requiredDocumentTypes?: Prisma.JsonNullableFilter<"DocumentationPlan">;
|
|
492
515
|
createdAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
493
516
|
updatedAt?: Prisma.DateTimeFilter<"DocumentationPlan"> | Date | string;
|
|
494
517
|
};
|
|
@@ -497,10 +520,11 @@ export type DocumentationPlanCreateWithoutStepsInput = {
|
|
|
497
520
|
name: string;
|
|
498
521
|
description?: string | null;
|
|
499
522
|
isActive?: boolean;
|
|
500
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
501
523
|
createdAt?: Date | string;
|
|
502
524
|
updatedAt?: Date | string;
|
|
503
525
|
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
526
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
527
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
504
528
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
505
529
|
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
506
530
|
};
|
|
@@ -510,9 +534,10 @@ export type DocumentationPlanUncheckedCreateWithoutStepsInput = {
|
|
|
510
534
|
name: string;
|
|
511
535
|
description?: string | null;
|
|
512
536
|
isActive?: boolean;
|
|
513
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
514
537
|
createdAt?: Date | string;
|
|
515
538
|
updatedAt?: Date | string;
|
|
539
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
540
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
516
541
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
517
542
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
518
543
|
};
|
|
@@ -534,10 +559,11 @@ export type DocumentationPlanUpdateWithoutStepsInput = {
|
|
|
534
559
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
535
560
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
536
561
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
537
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
538
562
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
539
563
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
540
564
|
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
565
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
566
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
541
567
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
542
568
|
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
543
569
|
};
|
|
@@ -547,9 +573,140 @@ export type DocumentationPlanUncheckedUpdateWithoutStepsInput = {
|
|
|
547
573
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
548
574
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
549
575
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
550
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
551
576
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
552
577
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
578
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
579
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
580
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
581
|
+
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
582
|
+
};
|
|
583
|
+
export type DocumentationPlanCreateWithoutDocumentDefinitionsInput = {
|
|
584
|
+
id?: string;
|
|
585
|
+
name: string;
|
|
586
|
+
description?: string | null;
|
|
587
|
+
isActive?: boolean;
|
|
588
|
+
createdAt?: Date | string;
|
|
589
|
+
updatedAt?: Date | string;
|
|
590
|
+
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
591
|
+
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
592
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
593
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
594
|
+
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
595
|
+
};
|
|
596
|
+
export type DocumentationPlanUncheckedCreateWithoutDocumentDefinitionsInput = {
|
|
597
|
+
id?: string;
|
|
598
|
+
tenantId?: string | null;
|
|
599
|
+
name: string;
|
|
600
|
+
description?: string | null;
|
|
601
|
+
isActive?: boolean;
|
|
602
|
+
createdAt?: Date | string;
|
|
603
|
+
updatedAt?: Date | string;
|
|
604
|
+
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
605
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
606
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
607
|
+
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
608
|
+
};
|
|
609
|
+
export type DocumentationPlanCreateOrConnectWithoutDocumentDefinitionsInput = {
|
|
610
|
+
where: Prisma.DocumentationPlanWhereUniqueInput;
|
|
611
|
+
create: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedCreateWithoutDocumentDefinitionsInput>;
|
|
612
|
+
};
|
|
613
|
+
export type DocumentationPlanUpsertWithoutDocumentDefinitionsInput = {
|
|
614
|
+
update: Prisma.XOR<Prisma.DocumentationPlanUpdateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedUpdateWithoutDocumentDefinitionsInput>;
|
|
615
|
+
create: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedCreateWithoutDocumentDefinitionsInput>;
|
|
616
|
+
where?: Prisma.DocumentationPlanWhereInput;
|
|
617
|
+
};
|
|
618
|
+
export type DocumentationPlanUpdateToOneWithWhereWithoutDocumentDefinitionsInput = {
|
|
619
|
+
where?: Prisma.DocumentationPlanWhereInput;
|
|
620
|
+
data: Prisma.XOR<Prisma.DocumentationPlanUpdateWithoutDocumentDefinitionsInput, Prisma.DocumentationPlanUncheckedUpdateWithoutDocumentDefinitionsInput>;
|
|
621
|
+
};
|
|
622
|
+
export type DocumentationPlanUpdateWithoutDocumentDefinitionsInput = {
|
|
623
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
625
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
626
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
627
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
628
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
629
|
+
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
630
|
+
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
631
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
632
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
633
|
+
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
634
|
+
};
|
|
635
|
+
export type DocumentationPlanUncheckedUpdateWithoutDocumentDefinitionsInput = {
|
|
636
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
637
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
638
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
639
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
640
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
641
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
642
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
643
|
+
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
644
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
645
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
646
|
+
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
647
|
+
};
|
|
648
|
+
export type DocumentationPlanCreateWithoutApprovalStagesInput = {
|
|
649
|
+
id?: string;
|
|
650
|
+
name: string;
|
|
651
|
+
description?: string | null;
|
|
652
|
+
isActive?: boolean;
|
|
653
|
+
createdAt?: Date | string;
|
|
654
|
+
updatedAt?: Date | string;
|
|
655
|
+
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
656
|
+
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
657
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
658
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
659
|
+
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
660
|
+
};
|
|
661
|
+
export type DocumentationPlanUncheckedCreateWithoutApprovalStagesInput = {
|
|
662
|
+
id?: string;
|
|
663
|
+
tenantId?: string | null;
|
|
664
|
+
name: string;
|
|
665
|
+
description?: string | null;
|
|
666
|
+
isActive?: boolean;
|
|
667
|
+
createdAt?: Date | string;
|
|
668
|
+
updatedAt?: Date | string;
|
|
669
|
+
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
670
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
671
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
672
|
+
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
673
|
+
};
|
|
674
|
+
export type DocumentationPlanCreateOrConnectWithoutApprovalStagesInput = {
|
|
675
|
+
where: Prisma.DocumentationPlanWhereUniqueInput;
|
|
676
|
+
create: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedCreateWithoutApprovalStagesInput>;
|
|
677
|
+
};
|
|
678
|
+
export type DocumentationPlanUpsertWithoutApprovalStagesInput = {
|
|
679
|
+
update: Prisma.XOR<Prisma.DocumentationPlanUpdateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedUpdateWithoutApprovalStagesInput>;
|
|
680
|
+
create: Prisma.XOR<Prisma.DocumentationPlanCreateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedCreateWithoutApprovalStagesInput>;
|
|
681
|
+
where?: Prisma.DocumentationPlanWhereInput;
|
|
682
|
+
};
|
|
683
|
+
export type DocumentationPlanUpdateToOneWithWhereWithoutApprovalStagesInput = {
|
|
684
|
+
where?: Prisma.DocumentationPlanWhereInput;
|
|
685
|
+
data: Prisma.XOR<Prisma.DocumentationPlanUpdateWithoutApprovalStagesInput, Prisma.DocumentationPlanUncheckedUpdateWithoutApprovalStagesInput>;
|
|
686
|
+
};
|
|
687
|
+
export type DocumentationPlanUpdateWithoutApprovalStagesInput = {
|
|
688
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
689
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
690
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
691
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
692
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
693
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
694
|
+
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
695
|
+
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
696
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
697
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
698
|
+
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
699
|
+
};
|
|
700
|
+
export type DocumentationPlanUncheckedUpdateWithoutApprovalStagesInput = {
|
|
701
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
703
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
704
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
705
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
706
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
707
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
708
|
+
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
709
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
553
710
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
554
711
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
555
712
|
};
|
|
@@ -558,11 +715,12 @@ export type DocumentationPlanCreateWithoutMethodPhasesInput = {
|
|
|
558
715
|
name: string;
|
|
559
716
|
description?: string | null;
|
|
560
717
|
isActive?: boolean;
|
|
561
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
562
718
|
createdAt?: Date | string;
|
|
563
719
|
updatedAt?: Date | string;
|
|
564
720
|
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
565
721
|
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
722
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
723
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
566
724
|
documentationPhases?: Prisma.DocumentationPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
567
725
|
};
|
|
568
726
|
export type DocumentationPlanUncheckedCreateWithoutMethodPhasesInput = {
|
|
@@ -571,10 +729,11 @@ export type DocumentationPlanUncheckedCreateWithoutMethodPhasesInput = {
|
|
|
571
729
|
name: string;
|
|
572
730
|
description?: string | null;
|
|
573
731
|
isActive?: boolean;
|
|
574
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
575
732
|
createdAt?: Date | string;
|
|
576
733
|
updatedAt?: Date | string;
|
|
577
734
|
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
735
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
736
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
578
737
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
579
738
|
};
|
|
580
739
|
export type DocumentationPlanCreateOrConnectWithoutMethodPhasesInput = {
|
|
@@ -595,11 +754,12 @@ export type DocumentationPlanUpdateWithoutMethodPhasesInput = {
|
|
|
595
754
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
755
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
597
756
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
598
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
599
757
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
600
758
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
601
759
|
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
602
760
|
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
761
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
762
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
603
763
|
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
604
764
|
};
|
|
605
765
|
export type DocumentationPlanUncheckedUpdateWithoutMethodPhasesInput = {
|
|
@@ -608,10 +768,11 @@ export type DocumentationPlanUncheckedUpdateWithoutMethodPhasesInput = {
|
|
|
608
768
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
609
769
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
610
770
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
611
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
612
771
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
613
772
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
614
773
|
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
774
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
775
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
615
776
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
616
777
|
};
|
|
617
778
|
export type DocumentationPlanCreateWithoutDocumentationPhasesInput = {
|
|
@@ -619,11 +780,12 @@ export type DocumentationPlanCreateWithoutDocumentationPhasesInput = {
|
|
|
619
780
|
name: string;
|
|
620
781
|
description?: string | null;
|
|
621
782
|
isActive?: boolean;
|
|
622
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
623
783
|
createdAt?: Date | string;
|
|
624
784
|
updatedAt?: Date | string;
|
|
625
785
|
tenant?: Prisma.TenantCreateNestedOneWithoutDocumentationPlansInput;
|
|
626
786
|
steps?: Prisma.DocumentationPlanStepCreateNestedManyWithoutPlanInput;
|
|
787
|
+
documentDefinitions?: Prisma.DocumentDefinitionCreateNestedManyWithoutPlanInput;
|
|
788
|
+
approvalStages?: Prisma.ApprovalStageCreateNestedManyWithoutPlanInput;
|
|
627
789
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput;
|
|
628
790
|
};
|
|
629
791
|
export type DocumentationPlanUncheckedCreateWithoutDocumentationPhasesInput = {
|
|
@@ -632,10 +794,11 @@ export type DocumentationPlanUncheckedCreateWithoutDocumentationPhasesInput = {
|
|
|
632
794
|
name: string;
|
|
633
795
|
description?: string | null;
|
|
634
796
|
isActive?: boolean;
|
|
635
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
636
797
|
createdAt?: Date | string;
|
|
637
798
|
updatedAt?: Date | string;
|
|
638
799
|
steps?: Prisma.DocumentationPlanStepUncheckedCreateNestedManyWithoutPlanInput;
|
|
800
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedCreateNestedManyWithoutPlanInput;
|
|
801
|
+
approvalStages?: Prisma.ApprovalStageUncheckedCreateNestedManyWithoutPlanInput;
|
|
639
802
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput;
|
|
640
803
|
};
|
|
641
804
|
export type DocumentationPlanCreateOrConnectWithoutDocumentationPhasesInput = {
|
|
@@ -656,11 +819,12 @@ export type DocumentationPlanUpdateWithoutDocumentationPhasesInput = {
|
|
|
656
819
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
657
820
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
658
821
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
659
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
660
822
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
661
823
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
662
824
|
tenant?: Prisma.TenantUpdateOneWithoutDocumentationPlansNestedInput;
|
|
663
825
|
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
826
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
827
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
664
828
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
665
829
|
};
|
|
666
830
|
export type DocumentationPlanUncheckedUpdateWithoutDocumentationPhasesInput = {
|
|
@@ -669,10 +833,11 @@ export type DocumentationPlanUncheckedUpdateWithoutDocumentationPhasesInput = {
|
|
|
669
833
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
670
834
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
671
835
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
672
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
673
836
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
674
837
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
675
838
|
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
839
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
840
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
676
841
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
677
842
|
};
|
|
678
843
|
export type DocumentationPlanCreateManyTenantInput = {
|
|
@@ -680,7 +845,6 @@ export type DocumentationPlanCreateManyTenantInput = {
|
|
|
680
845
|
name: string;
|
|
681
846
|
description?: string | null;
|
|
682
847
|
isActive?: boolean;
|
|
683
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
684
848
|
createdAt?: Date | string;
|
|
685
849
|
updatedAt?: Date | string;
|
|
686
850
|
};
|
|
@@ -689,10 +853,11 @@ export type DocumentationPlanUpdateWithoutTenantInput = {
|
|
|
689
853
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
690
854
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
691
855
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
692
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
693
856
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
694
857
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
858
|
steps?: Prisma.DocumentationPlanStepUpdateManyWithoutPlanNestedInput;
|
|
859
|
+
documentDefinitions?: Prisma.DocumentDefinitionUpdateManyWithoutPlanNestedInput;
|
|
860
|
+
approvalStages?: Prisma.ApprovalStageUpdateManyWithoutPlanNestedInput;
|
|
696
861
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
697
862
|
documentationPhases?: Prisma.DocumentationPhaseUpdateManyWithoutDocumentationPlanNestedInput;
|
|
698
863
|
};
|
|
@@ -701,10 +866,11 @@ export type DocumentationPlanUncheckedUpdateWithoutTenantInput = {
|
|
|
701
866
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
867
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
703
868
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
704
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
705
869
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
706
870
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
707
871
|
steps?: Prisma.DocumentationPlanStepUncheckedUpdateManyWithoutPlanNestedInput;
|
|
872
|
+
documentDefinitions?: Prisma.DocumentDefinitionUncheckedUpdateManyWithoutPlanNestedInput;
|
|
873
|
+
approvalStages?: Prisma.ApprovalStageUncheckedUpdateManyWithoutPlanNestedInput;
|
|
708
874
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
709
875
|
documentationPhases?: Prisma.DocumentationPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput;
|
|
710
876
|
};
|
|
@@ -713,7 +879,6 @@ export type DocumentationPlanUncheckedUpdateManyWithoutTenantInput = {
|
|
|
713
879
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
714
880
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
715
881
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
716
|
-
requiredDocumentTypes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
717
882
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
718
883
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
719
884
|
};
|
|
@@ -722,11 +887,15 @@ export type DocumentationPlanUncheckedUpdateManyWithoutTenantInput = {
|
|
|
722
887
|
*/
|
|
723
888
|
export type DocumentationPlanCountOutputType = {
|
|
724
889
|
steps: number;
|
|
890
|
+
documentDefinitions: number;
|
|
891
|
+
approvalStages: number;
|
|
725
892
|
methodPhases: number;
|
|
726
893
|
documentationPhases: number;
|
|
727
894
|
};
|
|
728
895
|
export type DocumentationPlanCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
729
896
|
steps?: boolean | DocumentationPlanCountOutputTypeCountStepsArgs;
|
|
897
|
+
documentDefinitions?: boolean | DocumentationPlanCountOutputTypeCountDocumentDefinitionsArgs;
|
|
898
|
+
approvalStages?: boolean | DocumentationPlanCountOutputTypeCountApprovalStagesArgs;
|
|
730
899
|
methodPhases?: boolean | DocumentationPlanCountOutputTypeCountMethodPhasesArgs;
|
|
731
900
|
documentationPhases?: boolean | DocumentationPlanCountOutputTypeCountDocumentationPhasesArgs;
|
|
732
901
|
};
|
|
@@ -745,6 +914,18 @@ export type DocumentationPlanCountOutputTypeDefaultArgs<ExtArgs extends runtime.
|
|
|
745
914
|
export type DocumentationPlanCountOutputTypeCountStepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
746
915
|
where?: Prisma.DocumentationPlanStepWhereInput;
|
|
747
916
|
};
|
|
917
|
+
/**
|
|
918
|
+
* DocumentationPlanCountOutputType without action
|
|
919
|
+
*/
|
|
920
|
+
export type DocumentationPlanCountOutputTypeCountDocumentDefinitionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
921
|
+
where?: Prisma.DocumentDefinitionWhereInput;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* DocumentationPlanCountOutputType without action
|
|
925
|
+
*/
|
|
926
|
+
export type DocumentationPlanCountOutputTypeCountApprovalStagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
|
+
where?: Prisma.ApprovalStageWhereInput;
|
|
928
|
+
};
|
|
748
929
|
/**
|
|
749
930
|
* DocumentationPlanCountOutputType without action
|
|
750
931
|
*/
|
|
@@ -763,11 +944,12 @@ export type DocumentationPlanSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
763
944
|
name?: boolean;
|
|
764
945
|
description?: boolean;
|
|
765
946
|
isActive?: boolean;
|
|
766
|
-
requiredDocumentTypes?: boolean;
|
|
767
947
|
createdAt?: boolean;
|
|
768
948
|
updatedAt?: boolean;
|
|
769
949
|
tenant?: boolean | Prisma.DocumentationPlan$tenantArgs<ExtArgs>;
|
|
770
950
|
steps?: boolean | Prisma.DocumentationPlan$stepsArgs<ExtArgs>;
|
|
951
|
+
documentDefinitions?: boolean | Prisma.DocumentationPlan$documentDefinitionsArgs<ExtArgs>;
|
|
952
|
+
approvalStages?: boolean | Prisma.DocumentationPlan$approvalStagesArgs<ExtArgs>;
|
|
771
953
|
methodPhases?: boolean | Prisma.DocumentationPlan$methodPhasesArgs<ExtArgs>;
|
|
772
954
|
documentationPhases?: boolean | Prisma.DocumentationPlan$documentationPhasesArgs<ExtArgs>;
|
|
773
955
|
_count?: boolean | Prisma.DocumentationPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -778,14 +960,15 @@ export type DocumentationPlanSelectScalar = {
|
|
|
778
960
|
name?: boolean;
|
|
779
961
|
description?: boolean;
|
|
780
962
|
isActive?: boolean;
|
|
781
|
-
requiredDocumentTypes?: boolean;
|
|
782
963
|
createdAt?: boolean;
|
|
783
964
|
updatedAt?: boolean;
|
|
784
965
|
};
|
|
785
|
-
export type DocumentationPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "description" | "isActive" | "
|
|
966
|
+
export type DocumentationPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "description" | "isActive" | "createdAt" | "updatedAt", ExtArgs["result"]["documentationPlan"]>;
|
|
786
967
|
export type DocumentationPlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
787
968
|
tenant?: boolean | Prisma.DocumentationPlan$tenantArgs<ExtArgs>;
|
|
788
969
|
steps?: boolean | Prisma.DocumentationPlan$stepsArgs<ExtArgs>;
|
|
970
|
+
documentDefinitions?: boolean | Prisma.DocumentationPlan$documentDefinitionsArgs<ExtArgs>;
|
|
971
|
+
approvalStages?: boolean | Prisma.DocumentationPlan$approvalStagesArgs<ExtArgs>;
|
|
789
972
|
methodPhases?: boolean | Prisma.DocumentationPlan$methodPhasesArgs<ExtArgs>;
|
|
790
973
|
documentationPhases?: boolean | Prisma.DocumentationPlan$documentationPhasesArgs<ExtArgs>;
|
|
791
974
|
_count?: boolean | Prisma.DocumentationPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -795,6 +978,8 @@ export type $DocumentationPlanPayload<ExtArgs extends runtime.Types.Extensions.I
|
|
|
795
978
|
objects: {
|
|
796
979
|
tenant: Prisma.$TenantPayload<ExtArgs> | null;
|
|
797
980
|
steps: Prisma.$DocumentationPlanStepPayload<ExtArgs>[];
|
|
981
|
+
documentDefinitions: Prisma.$DocumentDefinitionPayload<ExtArgs>[];
|
|
982
|
+
approvalStages: Prisma.$ApprovalStagePayload<ExtArgs>[];
|
|
798
983
|
methodPhases: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>[];
|
|
799
984
|
documentationPhases: Prisma.$DocumentationPhasePayload<ExtArgs>[];
|
|
800
985
|
};
|
|
@@ -804,7 +989,6 @@ export type $DocumentationPlanPayload<ExtArgs extends runtime.Types.Extensions.I
|
|
|
804
989
|
name: string;
|
|
805
990
|
description: string | null;
|
|
806
991
|
isActive: boolean;
|
|
807
|
-
requiredDocumentTypes: runtime.JsonValue | null;
|
|
808
992
|
createdAt: Date;
|
|
809
993
|
updatedAt: Date;
|
|
810
994
|
}, ExtArgs["result"]["documentationPlan"]>;
|
|
@@ -1086,6 +1270,8 @@ export interface Prisma__DocumentationPlanClient<T, Null = never, ExtArgs extend
|
|
|
1086
1270
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1087
1271
|
tenant<T extends Prisma.DocumentationPlan$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1088
1272
|
steps<T extends Prisma.DocumentationPlan$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationPlanStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1273
|
+
documentDefinitions<T extends Prisma.DocumentationPlan$documentDefinitionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$documentDefinitionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentDefinitionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1274
|
+
approvalStages<T extends Prisma.DocumentationPlan$approvalStagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$approvalStagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalStagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1089
1275
|
methodPhases<T extends Prisma.DocumentationPlan$methodPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$methodPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1090
1276
|
documentationPhases<T extends Prisma.DocumentationPlan$documentationPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationPlan$documentationPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentationPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1091
1277
|
/**
|
|
@@ -1118,7 +1304,6 @@ export interface DocumentationPlanFieldRefs {
|
|
|
1118
1304
|
readonly name: Prisma.FieldRef<"DocumentationPlan", 'String'>;
|
|
1119
1305
|
readonly description: Prisma.FieldRef<"DocumentationPlan", 'String'>;
|
|
1120
1306
|
readonly isActive: Prisma.FieldRef<"DocumentationPlan", 'Boolean'>;
|
|
1121
|
-
readonly requiredDocumentTypes: Prisma.FieldRef<"DocumentationPlan", 'Json'>;
|
|
1122
1307
|
readonly createdAt: Prisma.FieldRef<"DocumentationPlan", 'DateTime'>;
|
|
1123
1308
|
readonly updatedAt: Prisma.FieldRef<"DocumentationPlan", 'DateTime'>;
|
|
1124
1309
|
}
|
|
@@ -1489,6 +1674,52 @@ export type DocumentationPlan$stepsArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
1489
1674
|
skip?: number;
|
|
1490
1675
|
distinct?: Prisma.DocumentationPlanStepScalarFieldEnum | Prisma.DocumentationPlanStepScalarFieldEnum[];
|
|
1491
1676
|
};
|
|
1677
|
+
/**
|
|
1678
|
+
* DocumentationPlan.documentDefinitions
|
|
1679
|
+
*/
|
|
1680
|
+
export type DocumentationPlan$documentDefinitionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1681
|
+
/**
|
|
1682
|
+
* Select specific fields to fetch from the DocumentDefinition
|
|
1683
|
+
*/
|
|
1684
|
+
select?: Prisma.DocumentDefinitionSelect<ExtArgs> | null;
|
|
1685
|
+
/**
|
|
1686
|
+
* Omit specific fields from the DocumentDefinition
|
|
1687
|
+
*/
|
|
1688
|
+
omit?: Prisma.DocumentDefinitionOmit<ExtArgs> | null;
|
|
1689
|
+
/**
|
|
1690
|
+
* Choose, which related nodes to fetch as well
|
|
1691
|
+
*/
|
|
1692
|
+
include?: Prisma.DocumentDefinitionInclude<ExtArgs> | null;
|
|
1693
|
+
where?: Prisma.DocumentDefinitionWhereInput;
|
|
1694
|
+
orderBy?: Prisma.DocumentDefinitionOrderByWithRelationInput | Prisma.DocumentDefinitionOrderByWithRelationInput[];
|
|
1695
|
+
cursor?: Prisma.DocumentDefinitionWhereUniqueInput;
|
|
1696
|
+
take?: number;
|
|
1697
|
+
skip?: number;
|
|
1698
|
+
distinct?: Prisma.DocumentDefinitionScalarFieldEnum | Prisma.DocumentDefinitionScalarFieldEnum[];
|
|
1699
|
+
};
|
|
1700
|
+
/**
|
|
1701
|
+
* DocumentationPlan.approvalStages
|
|
1702
|
+
*/
|
|
1703
|
+
export type DocumentationPlan$approvalStagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1704
|
+
/**
|
|
1705
|
+
* Select specific fields to fetch from the ApprovalStage
|
|
1706
|
+
*/
|
|
1707
|
+
select?: Prisma.ApprovalStageSelect<ExtArgs> | null;
|
|
1708
|
+
/**
|
|
1709
|
+
* Omit specific fields from the ApprovalStage
|
|
1710
|
+
*/
|
|
1711
|
+
omit?: Prisma.ApprovalStageOmit<ExtArgs> | null;
|
|
1712
|
+
/**
|
|
1713
|
+
* Choose, which related nodes to fetch as well
|
|
1714
|
+
*/
|
|
1715
|
+
include?: Prisma.ApprovalStageInclude<ExtArgs> | null;
|
|
1716
|
+
where?: Prisma.ApprovalStageWhereInput;
|
|
1717
|
+
orderBy?: Prisma.ApprovalStageOrderByWithRelationInput | Prisma.ApprovalStageOrderByWithRelationInput[];
|
|
1718
|
+
cursor?: Prisma.ApprovalStageWhereUniqueInput;
|
|
1719
|
+
take?: number;
|
|
1720
|
+
skip?: number;
|
|
1721
|
+
distinct?: Prisma.ApprovalStageScalarFieldEnum | Prisma.ApprovalStageScalarFieldEnum[];
|
|
1722
|
+
};
|
|
1492
1723
|
/**
|
|
1493
1724
|
* DocumentationPlan.methodPhases
|
|
1494
1725
|
*/
|