@valentine-efagene/qshelter-common 2.0.84 → 2.0.87
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 +25 -0
- package/dist/generated/client/client.d.ts +25 -0
- package/dist/generated/client/commonInputTypes.d.ts +30 -0
- package/dist/generated/client/enums.d.ts +18 -0
- package/dist/generated/client/enums.js +17 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
- package/dist/generated/client/internal/prismaNamespace.js +118 -40
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
- package/dist/generated/client/models/Contract.d.ts +303 -1574
- package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
- package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
- package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
- package/dist/generated/client/models/DocumentationPhase.js +1 -0
- package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
- package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
- package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
- package/dist/generated/client/models/PaymentPhase.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
- package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
- package/dist/generated/client/models/QuestionnaireField.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
- package/dist/generated/client/models/QuestionnairePhase.js +1 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/package.json +1 -1
- package/prisma/migrations/20260109132751_update_transfer_flow/migration.sql +343 -0
- package/prisma/schema.prisma +304 -98
|
@@ -15,242 +15,122 @@ export type AggregateContractPhase = {
|
|
|
15
15
|
};
|
|
16
16
|
export type ContractPhaseAvgAggregateOutputType = {
|
|
17
17
|
order: number | null;
|
|
18
|
-
totalAmount: number | null;
|
|
19
|
-
paidAmount: number | null;
|
|
20
|
-
remainingAmount: number | null;
|
|
21
|
-
interestRate: number | null;
|
|
22
|
-
approvedDocumentsCount: number | null;
|
|
23
|
-
requiredDocumentsCount: number | null;
|
|
24
|
-
completedStepsCount: number | null;
|
|
25
|
-
totalStepsCount: number | null;
|
|
26
|
-
minimumCompletionPercentage: number | null;
|
|
27
18
|
};
|
|
28
19
|
export type ContractPhaseSumAggregateOutputType = {
|
|
29
20
|
order: number | null;
|
|
30
|
-
totalAmount: number | null;
|
|
31
|
-
paidAmount: number | null;
|
|
32
|
-
remainingAmount: number | null;
|
|
33
|
-
interestRate: number | null;
|
|
34
|
-
approvedDocumentsCount: number | null;
|
|
35
|
-
requiredDocumentsCount: number | null;
|
|
36
|
-
completedStepsCount: number | null;
|
|
37
|
-
totalStepsCount: number | null;
|
|
38
|
-
minimumCompletionPercentage: number | null;
|
|
39
21
|
};
|
|
40
22
|
export type ContractPhaseMinAggregateOutputType = {
|
|
41
23
|
id: string | null;
|
|
42
24
|
contractId: string | null;
|
|
43
|
-
paymentPlanId: string | null;
|
|
44
25
|
name: string | null;
|
|
45
26
|
description: string | null;
|
|
46
27
|
phaseCategory: $Enums.PhaseCategory | null;
|
|
47
28
|
phaseType: $Enums.PhaseType | null;
|
|
48
29
|
order: number | null;
|
|
49
30
|
status: $Enums.PhaseStatus | null;
|
|
50
|
-
currentStepId: string | null;
|
|
51
|
-
totalAmount: number | null;
|
|
52
|
-
paidAmount: number | null;
|
|
53
|
-
remainingAmount: number | null;
|
|
54
|
-
interestRate: number | null;
|
|
55
|
-
collectFunds: boolean | null;
|
|
56
|
-
approvedDocumentsCount: number | null;
|
|
57
|
-
requiredDocumentsCount: number | null;
|
|
58
|
-
completedStepsCount: number | null;
|
|
59
|
-
totalStepsCount: number | null;
|
|
60
31
|
dueDate: Date | null;
|
|
61
32
|
startDate: Date | null;
|
|
62
33
|
endDate: Date | null;
|
|
63
34
|
activatedAt: Date | null;
|
|
64
35
|
completedAt: Date | null;
|
|
65
36
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
66
|
-
minimumCompletionPercentage: number | null;
|
|
67
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
68
37
|
createdAt: Date | null;
|
|
69
38
|
updatedAt: Date | null;
|
|
70
39
|
};
|
|
71
40
|
export type ContractPhaseMaxAggregateOutputType = {
|
|
72
41
|
id: string | null;
|
|
73
42
|
contractId: string | null;
|
|
74
|
-
paymentPlanId: string | null;
|
|
75
43
|
name: string | null;
|
|
76
44
|
description: string | null;
|
|
77
45
|
phaseCategory: $Enums.PhaseCategory | null;
|
|
78
46
|
phaseType: $Enums.PhaseType | null;
|
|
79
47
|
order: number | null;
|
|
80
48
|
status: $Enums.PhaseStatus | null;
|
|
81
|
-
currentStepId: string | null;
|
|
82
|
-
totalAmount: number | null;
|
|
83
|
-
paidAmount: number | null;
|
|
84
|
-
remainingAmount: number | null;
|
|
85
|
-
interestRate: number | null;
|
|
86
|
-
collectFunds: boolean | null;
|
|
87
|
-
approvedDocumentsCount: number | null;
|
|
88
|
-
requiredDocumentsCount: number | null;
|
|
89
|
-
completedStepsCount: number | null;
|
|
90
|
-
totalStepsCount: number | null;
|
|
91
49
|
dueDate: Date | null;
|
|
92
50
|
startDate: Date | null;
|
|
93
51
|
endDate: Date | null;
|
|
94
52
|
activatedAt: Date | null;
|
|
95
53
|
completedAt: Date | null;
|
|
96
54
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
97
|
-
minimumCompletionPercentage: number | null;
|
|
98
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
99
55
|
createdAt: Date | null;
|
|
100
56
|
updatedAt: Date | null;
|
|
101
57
|
};
|
|
102
58
|
export type ContractPhaseCountAggregateOutputType = {
|
|
103
59
|
id: number;
|
|
104
60
|
contractId: number;
|
|
105
|
-
paymentPlanId: number;
|
|
106
61
|
name: number;
|
|
107
62
|
description: number;
|
|
108
63
|
phaseCategory: number;
|
|
109
64
|
phaseType: number;
|
|
110
65
|
order: number;
|
|
111
66
|
status: number;
|
|
112
|
-
currentStepId: number;
|
|
113
|
-
totalAmount: number;
|
|
114
|
-
paidAmount: number;
|
|
115
|
-
remainingAmount: number;
|
|
116
|
-
interestRate: number;
|
|
117
|
-
collectFunds: number;
|
|
118
|
-
approvedDocumentsCount: number;
|
|
119
|
-
requiredDocumentsCount: number;
|
|
120
|
-
completedStepsCount: number;
|
|
121
|
-
totalStepsCount: number;
|
|
122
67
|
dueDate: number;
|
|
123
68
|
startDate: number;
|
|
124
69
|
endDate: number;
|
|
125
70
|
activatedAt: number;
|
|
126
71
|
completedAt: number;
|
|
127
72
|
requiresPreviousPhaseCompletion: number;
|
|
128
|
-
minimumCompletionPercentage: number;
|
|
129
|
-
completionCriterion: number;
|
|
130
|
-
paymentPlanSnapshot: number;
|
|
131
|
-
stepDefinitionsSnapshot: number;
|
|
132
|
-
requiredDocumentSnapshot: number;
|
|
133
73
|
createdAt: number;
|
|
134
74
|
updatedAt: number;
|
|
135
75
|
_all: number;
|
|
136
76
|
};
|
|
137
77
|
export type ContractPhaseAvgAggregateInputType = {
|
|
138
78
|
order?: true;
|
|
139
|
-
totalAmount?: true;
|
|
140
|
-
paidAmount?: true;
|
|
141
|
-
remainingAmount?: true;
|
|
142
|
-
interestRate?: true;
|
|
143
|
-
approvedDocumentsCount?: true;
|
|
144
|
-
requiredDocumentsCount?: true;
|
|
145
|
-
completedStepsCount?: true;
|
|
146
|
-
totalStepsCount?: true;
|
|
147
|
-
minimumCompletionPercentage?: true;
|
|
148
79
|
};
|
|
149
80
|
export type ContractPhaseSumAggregateInputType = {
|
|
150
81
|
order?: true;
|
|
151
|
-
totalAmount?: true;
|
|
152
|
-
paidAmount?: true;
|
|
153
|
-
remainingAmount?: true;
|
|
154
|
-
interestRate?: true;
|
|
155
|
-
approvedDocumentsCount?: true;
|
|
156
|
-
requiredDocumentsCount?: true;
|
|
157
|
-
completedStepsCount?: true;
|
|
158
|
-
totalStepsCount?: true;
|
|
159
|
-
minimumCompletionPercentage?: true;
|
|
160
82
|
};
|
|
161
83
|
export type ContractPhaseMinAggregateInputType = {
|
|
162
84
|
id?: true;
|
|
163
85
|
contractId?: true;
|
|
164
|
-
paymentPlanId?: true;
|
|
165
86
|
name?: true;
|
|
166
87
|
description?: true;
|
|
167
88
|
phaseCategory?: true;
|
|
168
89
|
phaseType?: true;
|
|
169
90
|
order?: true;
|
|
170
91
|
status?: true;
|
|
171
|
-
currentStepId?: true;
|
|
172
|
-
totalAmount?: true;
|
|
173
|
-
paidAmount?: true;
|
|
174
|
-
remainingAmount?: true;
|
|
175
|
-
interestRate?: true;
|
|
176
|
-
collectFunds?: true;
|
|
177
|
-
approvedDocumentsCount?: true;
|
|
178
|
-
requiredDocumentsCount?: true;
|
|
179
|
-
completedStepsCount?: true;
|
|
180
|
-
totalStepsCount?: true;
|
|
181
92
|
dueDate?: true;
|
|
182
93
|
startDate?: true;
|
|
183
94
|
endDate?: true;
|
|
184
95
|
activatedAt?: true;
|
|
185
96
|
completedAt?: true;
|
|
186
97
|
requiresPreviousPhaseCompletion?: true;
|
|
187
|
-
minimumCompletionPercentage?: true;
|
|
188
|
-
completionCriterion?: true;
|
|
189
98
|
createdAt?: true;
|
|
190
99
|
updatedAt?: true;
|
|
191
100
|
};
|
|
192
101
|
export type ContractPhaseMaxAggregateInputType = {
|
|
193
102
|
id?: true;
|
|
194
103
|
contractId?: true;
|
|
195
|
-
paymentPlanId?: true;
|
|
196
104
|
name?: true;
|
|
197
105
|
description?: true;
|
|
198
106
|
phaseCategory?: true;
|
|
199
107
|
phaseType?: true;
|
|
200
108
|
order?: true;
|
|
201
109
|
status?: true;
|
|
202
|
-
currentStepId?: true;
|
|
203
|
-
totalAmount?: true;
|
|
204
|
-
paidAmount?: true;
|
|
205
|
-
remainingAmount?: true;
|
|
206
|
-
interestRate?: true;
|
|
207
|
-
collectFunds?: true;
|
|
208
|
-
approvedDocumentsCount?: true;
|
|
209
|
-
requiredDocumentsCount?: true;
|
|
210
|
-
completedStepsCount?: true;
|
|
211
|
-
totalStepsCount?: true;
|
|
212
110
|
dueDate?: true;
|
|
213
111
|
startDate?: true;
|
|
214
112
|
endDate?: true;
|
|
215
113
|
activatedAt?: true;
|
|
216
114
|
completedAt?: true;
|
|
217
115
|
requiresPreviousPhaseCompletion?: true;
|
|
218
|
-
minimumCompletionPercentage?: true;
|
|
219
|
-
completionCriterion?: true;
|
|
220
116
|
createdAt?: true;
|
|
221
117
|
updatedAt?: true;
|
|
222
118
|
};
|
|
223
119
|
export type ContractPhaseCountAggregateInputType = {
|
|
224
120
|
id?: true;
|
|
225
121
|
contractId?: true;
|
|
226
|
-
paymentPlanId?: true;
|
|
227
122
|
name?: true;
|
|
228
123
|
description?: true;
|
|
229
124
|
phaseCategory?: true;
|
|
230
125
|
phaseType?: true;
|
|
231
126
|
order?: true;
|
|
232
127
|
status?: true;
|
|
233
|
-
currentStepId?: true;
|
|
234
|
-
totalAmount?: true;
|
|
235
|
-
paidAmount?: true;
|
|
236
|
-
remainingAmount?: true;
|
|
237
|
-
interestRate?: true;
|
|
238
|
-
collectFunds?: true;
|
|
239
|
-
approvedDocumentsCount?: true;
|
|
240
|
-
requiredDocumentsCount?: true;
|
|
241
|
-
completedStepsCount?: true;
|
|
242
|
-
totalStepsCount?: true;
|
|
243
128
|
dueDate?: true;
|
|
244
129
|
startDate?: true;
|
|
245
130
|
endDate?: true;
|
|
246
131
|
activatedAt?: true;
|
|
247
132
|
completedAt?: true;
|
|
248
133
|
requiresPreviousPhaseCompletion?: true;
|
|
249
|
-
minimumCompletionPercentage?: true;
|
|
250
|
-
completionCriterion?: true;
|
|
251
|
-
paymentPlanSnapshot?: true;
|
|
252
|
-
stepDefinitionsSnapshot?: true;
|
|
253
|
-
requiredDocumentSnapshot?: true;
|
|
254
134
|
createdAt?: true;
|
|
255
135
|
updatedAt?: true;
|
|
256
136
|
_all?: true;
|
|
@@ -334,34 +214,18 @@ export type ContractPhaseGroupByArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
334
214
|
export type ContractPhaseGroupByOutputType = {
|
|
335
215
|
id: string;
|
|
336
216
|
contractId: string;
|
|
337
|
-
paymentPlanId: string | null;
|
|
338
217
|
name: string;
|
|
339
218
|
description: string | null;
|
|
340
219
|
phaseCategory: $Enums.PhaseCategory;
|
|
341
220
|
phaseType: $Enums.PhaseType;
|
|
342
221
|
order: number;
|
|
343
222
|
status: $Enums.PhaseStatus;
|
|
344
|
-
currentStepId: string | null;
|
|
345
|
-
totalAmount: number | null;
|
|
346
|
-
paidAmount: number;
|
|
347
|
-
remainingAmount: number | null;
|
|
348
|
-
interestRate: number | null;
|
|
349
|
-
collectFunds: boolean;
|
|
350
|
-
approvedDocumentsCount: number;
|
|
351
|
-
requiredDocumentsCount: number;
|
|
352
|
-
completedStepsCount: number;
|
|
353
|
-
totalStepsCount: number;
|
|
354
223
|
dueDate: Date | null;
|
|
355
224
|
startDate: Date | null;
|
|
356
225
|
endDate: Date | null;
|
|
357
226
|
activatedAt: Date | null;
|
|
358
227
|
completedAt: Date | null;
|
|
359
228
|
requiresPreviousPhaseCompletion: boolean;
|
|
360
|
-
minimumCompletionPercentage: number | null;
|
|
361
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
362
|
-
paymentPlanSnapshot: runtime.JsonValue | null;
|
|
363
|
-
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
364
|
-
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
365
229
|
createdAt: Date;
|
|
366
230
|
updatedAt: Date;
|
|
367
231
|
_count: ContractPhaseCountAggregateOutputType | null;
|
|
@@ -379,82 +243,50 @@ export type ContractPhaseWhereInput = {
|
|
|
379
243
|
NOT?: Prisma.ContractPhaseWhereInput | Prisma.ContractPhaseWhereInput[];
|
|
380
244
|
id?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
381
245
|
contractId?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
382
|
-
paymentPlanId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
383
246
|
name?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
384
247
|
description?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
385
248
|
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"ContractPhase"> | $Enums.PhaseCategory;
|
|
386
249
|
phaseType?: Prisma.EnumPhaseTypeFilter<"ContractPhase"> | $Enums.PhaseType;
|
|
387
250
|
order?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
388
251
|
status?: Prisma.EnumPhaseStatusFilter<"ContractPhase"> | $Enums.PhaseStatus;
|
|
389
|
-
currentStepId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
390
|
-
totalAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
391
|
-
paidAmount?: Prisma.FloatFilter<"ContractPhase"> | number;
|
|
392
|
-
remainingAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
393
|
-
interestRate?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
394
|
-
collectFunds?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
395
|
-
approvedDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
396
|
-
requiredDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
397
|
-
completedStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
398
|
-
totalStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
399
252
|
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
400
253
|
startDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
401
254
|
endDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
402
255
|
activatedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
403
256
|
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
404
257
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
405
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
406
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"ContractPhase"> | $Enums.CompletionCriterion | null;
|
|
407
|
-
paymentPlanSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
408
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
409
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
410
258
|
createdAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
411
259
|
updatedAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
412
260
|
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
261
|
+
questionnairePhase?: Prisma.XOR<Prisma.QuestionnairePhaseNullableScalarRelationFilter, Prisma.QuestionnairePhaseWhereInput> | null;
|
|
262
|
+
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseNullableScalarRelationFilter, Prisma.DocumentationPhaseWhereInput> | null;
|
|
263
|
+
paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseNullableScalarRelationFilter, Prisma.PaymentPhaseWhereInput> | null;
|
|
416
264
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
417
|
-
|
|
265
|
+
currentForContracts?: Prisma.ContractListRelationFilter;
|
|
418
266
|
};
|
|
419
267
|
export type ContractPhaseOrderByWithRelationInput = {
|
|
420
268
|
id?: Prisma.SortOrder;
|
|
421
269
|
contractId?: Prisma.SortOrder;
|
|
422
|
-
paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
423
270
|
name?: Prisma.SortOrder;
|
|
424
271
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
425
272
|
phaseCategory?: Prisma.SortOrder;
|
|
426
273
|
phaseType?: Prisma.SortOrder;
|
|
427
274
|
order?: Prisma.SortOrder;
|
|
428
275
|
status?: Prisma.SortOrder;
|
|
429
|
-
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
430
|
-
totalAmount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
431
|
-
paidAmount?: Prisma.SortOrder;
|
|
432
|
-
remainingAmount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
433
|
-
interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
434
|
-
collectFunds?: Prisma.SortOrder;
|
|
435
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
436
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
437
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
438
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
439
276
|
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
440
277
|
startDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
441
278
|
endDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
442
279
|
activatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
443
280
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
444
281
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
445
|
-
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
446
|
-
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
447
|
-
paymentPlanSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
448
|
-
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
449
|
-
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
450
282
|
createdAt?: Prisma.SortOrder;
|
|
451
283
|
updatedAt?: Prisma.SortOrder;
|
|
452
284
|
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
285
|
+
questionnairePhase?: Prisma.QuestionnairePhaseOrderByWithRelationInput;
|
|
286
|
+
documentationPhase?: Prisma.DocumentationPhaseOrderByWithRelationInput;
|
|
287
|
+
paymentPhase?: Prisma.PaymentPhaseOrderByWithRelationInput;
|
|
456
288
|
payments?: Prisma.ContractPaymentOrderByRelationAggregateInput;
|
|
457
|
-
|
|
289
|
+
currentForContracts?: Prisma.ContractOrderByRelationAggregateInput;
|
|
458
290
|
_relevance?: Prisma.ContractPhaseOrderByRelevanceInput;
|
|
459
291
|
};
|
|
460
292
|
export type ContractPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -463,74 +295,42 @@ export type ContractPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
463
295
|
OR?: Prisma.ContractPhaseWhereInput[];
|
|
464
296
|
NOT?: Prisma.ContractPhaseWhereInput | Prisma.ContractPhaseWhereInput[];
|
|
465
297
|
contractId?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
466
|
-
paymentPlanId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
467
298
|
name?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
468
299
|
description?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
469
300
|
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"ContractPhase"> | $Enums.PhaseCategory;
|
|
470
301
|
phaseType?: Prisma.EnumPhaseTypeFilter<"ContractPhase"> | $Enums.PhaseType;
|
|
471
302
|
order?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
472
303
|
status?: Prisma.EnumPhaseStatusFilter<"ContractPhase"> | $Enums.PhaseStatus;
|
|
473
|
-
currentStepId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
474
|
-
totalAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
475
|
-
paidAmount?: Prisma.FloatFilter<"ContractPhase"> | number;
|
|
476
|
-
remainingAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
477
|
-
interestRate?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
478
|
-
collectFunds?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
479
|
-
approvedDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
480
|
-
requiredDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
481
|
-
completedStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
482
|
-
totalStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
483
304
|
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
484
305
|
startDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
485
306
|
endDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
486
307
|
activatedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
487
308
|
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
488
309
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
489
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
490
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"ContractPhase"> | $Enums.CompletionCriterion | null;
|
|
491
|
-
paymentPlanSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
492
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
493
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
494
310
|
createdAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
495
311
|
updatedAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
496
312
|
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
313
|
+
questionnairePhase?: Prisma.XOR<Prisma.QuestionnairePhaseNullableScalarRelationFilter, Prisma.QuestionnairePhaseWhereInput> | null;
|
|
314
|
+
documentationPhase?: Prisma.XOR<Prisma.DocumentationPhaseNullableScalarRelationFilter, Prisma.DocumentationPhaseWhereInput> | null;
|
|
315
|
+
paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseNullableScalarRelationFilter, Prisma.PaymentPhaseWhereInput> | null;
|
|
500
316
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
501
|
-
|
|
317
|
+
currentForContracts?: Prisma.ContractListRelationFilter;
|
|
502
318
|
}, "id">;
|
|
503
319
|
export type ContractPhaseOrderByWithAggregationInput = {
|
|
504
320
|
id?: Prisma.SortOrder;
|
|
505
321
|
contractId?: Prisma.SortOrder;
|
|
506
|
-
paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
507
322
|
name?: Prisma.SortOrder;
|
|
508
323
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
509
324
|
phaseCategory?: Prisma.SortOrder;
|
|
510
325
|
phaseType?: Prisma.SortOrder;
|
|
511
326
|
order?: Prisma.SortOrder;
|
|
512
327
|
status?: Prisma.SortOrder;
|
|
513
|
-
currentStepId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
514
|
-
totalAmount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
515
|
-
paidAmount?: Prisma.SortOrder;
|
|
516
|
-
remainingAmount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
517
|
-
interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
518
|
-
collectFunds?: Prisma.SortOrder;
|
|
519
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
520
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
521
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
522
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
523
328
|
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
524
329
|
startDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
525
330
|
endDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
526
331
|
activatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
527
332
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
528
333
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
529
|
-
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
530
|
-
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
531
|
-
paymentPlanSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
532
|
-
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
533
|
-
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
534
334
|
createdAt?: Prisma.SortOrder;
|
|
535
335
|
updatedAt?: Prisma.SortOrder;
|
|
536
336
|
_count?: Prisma.ContractPhaseCountOrderByAggregateInput;
|
|
@@ -545,34 +345,18 @@ export type ContractPhaseScalarWhereWithAggregatesInput = {
|
|
|
545
345
|
NOT?: Prisma.ContractPhaseScalarWhereWithAggregatesInput | Prisma.ContractPhaseScalarWhereWithAggregatesInput[];
|
|
546
346
|
id?: Prisma.StringWithAggregatesFilter<"ContractPhase"> | string;
|
|
547
347
|
contractId?: Prisma.StringWithAggregatesFilter<"ContractPhase"> | string;
|
|
548
|
-
paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"ContractPhase"> | string | null;
|
|
549
348
|
name?: Prisma.StringWithAggregatesFilter<"ContractPhase"> | string;
|
|
550
349
|
description?: Prisma.StringNullableWithAggregatesFilter<"ContractPhase"> | string | null;
|
|
551
350
|
phaseCategory?: Prisma.EnumPhaseCategoryWithAggregatesFilter<"ContractPhase"> | $Enums.PhaseCategory;
|
|
552
351
|
phaseType?: Prisma.EnumPhaseTypeWithAggregatesFilter<"ContractPhase"> | $Enums.PhaseType;
|
|
553
352
|
order?: Prisma.IntWithAggregatesFilter<"ContractPhase"> | number;
|
|
554
353
|
status?: Prisma.EnumPhaseStatusWithAggregatesFilter<"ContractPhase"> | $Enums.PhaseStatus;
|
|
555
|
-
currentStepId?: Prisma.StringNullableWithAggregatesFilter<"ContractPhase"> | string | null;
|
|
556
|
-
totalAmount?: Prisma.FloatNullableWithAggregatesFilter<"ContractPhase"> | number | null;
|
|
557
|
-
paidAmount?: Prisma.FloatWithAggregatesFilter<"ContractPhase"> | number;
|
|
558
|
-
remainingAmount?: Prisma.FloatNullableWithAggregatesFilter<"ContractPhase"> | number | null;
|
|
559
|
-
interestRate?: Prisma.FloatNullableWithAggregatesFilter<"ContractPhase"> | number | null;
|
|
560
|
-
collectFunds?: Prisma.BoolWithAggregatesFilter<"ContractPhase"> | boolean;
|
|
561
|
-
approvedDocumentsCount?: Prisma.IntWithAggregatesFilter<"ContractPhase"> | number;
|
|
562
|
-
requiredDocumentsCount?: Prisma.IntWithAggregatesFilter<"ContractPhase"> | number;
|
|
563
|
-
completedStepsCount?: Prisma.IntWithAggregatesFilter<"ContractPhase"> | number;
|
|
564
|
-
totalStepsCount?: Prisma.IntWithAggregatesFilter<"ContractPhase"> | number;
|
|
565
354
|
dueDate?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhase"> | Date | string | null;
|
|
566
355
|
startDate?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhase"> | Date | string | null;
|
|
567
356
|
endDate?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhase"> | Date | string | null;
|
|
568
357
|
activatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhase"> | Date | string | null;
|
|
569
358
|
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhase"> | Date | string | null;
|
|
570
359
|
requiresPreviousPhaseCompletion?: Prisma.BoolWithAggregatesFilter<"ContractPhase"> | boolean;
|
|
571
|
-
minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"ContractPhase"> | number | null;
|
|
572
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableWithAggregatesFilter<"ContractPhase"> | $Enums.CompletionCriterion | null;
|
|
573
|
-
paymentPlanSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"ContractPhase">;
|
|
574
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"ContractPhase">;
|
|
575
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"ContractPhase">;
|
|
576
360
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhase"> | Date | string;
|
|
577
361
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhase"> | Date | string;
|
|
578
362
|
};
|
|
@@ -584,71 +368,43 @@ export type ContractPhaseCreateInput = {
|
|
|
584
368
|
phaseType: $Enums.PhaseType;
|
|
585
369
|
order: number;
|
|
586
370
|
status?: $Enums.PhaseStatus;
|
|
587
|
-
totalAmount?: number | null;
|
|
588
|
-
paidAmount?: number;
|
|
589
|
-
remainingAmount?: number | null;
|
|
590
|
-
interestRate?: number | null;
|
|
591
|
-
collectFunds?: boolean;
|
|
592
|
-
approvedDocumentsCount?: number;
|
|
593
|
-
requiredDocumentsCount?: number;
|
|
594
|
-
completedStepsCount?: number;
|
|
595
|
-
totalStepsCount?: number;
|
|
596
371
|
dueDate?: Date | string | null;
|
|
597
372
|
startDate?: Date | string | null;
|
|
598
373
|
endDate?: Date | string | null;
|
|
599
374
|
activatedAt?: Date | string | null;
|
|
600
375
|
completedAt?: Date | string | null;
|
|
601
376
|
requiresPreviousPhaseCompletion?: boolean;
|
|
602
|
-
minimumCompletionPercentage?: number | null;
|
|
603
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
604
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
605
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
606
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
607
377
|
createdAt?: Date | string;
|
|
608
378
|
updatedAt?: Date | string;
|
|
609
379
|
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
380
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
381
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
382
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
613
383
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
614
|
-
|
|
384
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
615
385
|
};
|
|
616
386
|
export type ContractPhaseUncheckedCreateInput = {
|
|
617
387
|
id?: string;
|
|
618
388
|
contractId: string;
|
|
619
|
-
paymentPlanId?: string | null;
|
|
620
389
|
name: string;
|
|
621
390
|
description?: string | null;
|
|
622
391
|
phaseCategory: $Enums.PhaseCategory;
|
|
623
392
|
phaseType: $Enums.PhaseType;
|
|
624
393
|
order: number;
|
|
625
394
|
status?: $Enums.PhaseStatus;
|
|
626
|
-
currentStepId?: string | null;
|
|
627
|
-
totalAmount?: number | null;
|
|
628
|
-
paidAmount?: number;
|
|
629
|
-
remainingAmount?: number | null;
|
|
630
|
-
interestRate?: number | null;
|
|
631
|
-
collectFunds?: boolean;
|
|
632
|
-
approvedDocumentsCount?: number;
|
|
633
|
-
requiredDocumentsCount?: number;
|
|
634
|
-
completedStepsCount?: number;
|
|
635
|
-
totalStepsCount?: number;
|
|
636
395
|
dueDate?: Date | string | null;
|
|
637
396
|
startDate?: Date | string | null;
|
|
638
397
|
endDate?: Date | string | null;
|
|
639
398
|
activatedAt?: Date | string | null;
|
|
640
399
|
completedAt?: Date | string | null;
|
|
641
400
|
requiresPreviousPhaseCompletion?: boolean;
|
|
642
|
-
minimumCompletionPercentage?: number | null;
|
|
643
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
644
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
645
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
646
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
647
401
|
createdAt?: Date | string;
|
|
648
402
|
updatedAt?: Date | string;
|
|
649
|
-
|
|
403
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
404
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
405
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
650
406
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
651
|
-
|
|
407
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
652
408
|
};
|
|
653
409
|
export type ContractPhaseUpdateInput = {
|
|
654
410
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -658,103 +414,59 @@ export type ContractPhaseUpdateInput = {
|
|
|
658
414
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
659
415
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
660
416
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
661
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
662
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
663
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
664
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
665
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
666
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
667
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
668
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
669
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
670
417
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
671
418
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
672
419
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
673
420
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
674
421
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
675
422
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
676
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
677
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
678
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
679
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
680
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
681
423
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
682
424
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
683
425
|
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
426
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
427
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
428
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
687
429
|
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
688
|
-
|
|
430
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
689
431
|
};
|
|
690
432
|
export type ContractPhaseUncheckedUpdateInput = {
|
|
691
433
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
692
434
|
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
694
435
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
695
436
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
696
437
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
697
438
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
698
439
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
699
440
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
700
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
701
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
702
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
703
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
704
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
705
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
706
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
707
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
708
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
709
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
710
441
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
711
442
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
712
443
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
713
444
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
714
445
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
715
446
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
716
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
717
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
718
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
719
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
720
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
721
447
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
722
448
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
723
|
-
|
|
449
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
450
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
451
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
724
452
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
725
|
-
|
|
453
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
726
454
|
};
|
|
727
455
|
export type ContractPhaseCreateManyInput = {
|
|
728
456
|
id?: string;
|
|
729
457
|
contractId: string;
|
|
730
|
-
paymentPlanId?: string | null;
|
|
731
458
|
name: string;
|
|
732
459
|
description?: string | null;
|
|
733
460
|
phaseCategory: $Enums.PhaseCategory;
|
|
734
461
|
phaseType: $Enums.PhaseType;
|
|
735
462
|
order: number;
|
|
736
463
|
status?: $Enums.PhaseStatus;
|
|
737
|
-
currentStepId?: string | null;
|
|
738
|
-
totalAmount?: number | null;
|
|
739
|
-
paidAmount?: number;
|
|
740
|
-
remainingAmount?: number | null;
|
|
741
|
-
interestRate?: number | null;
|
|
742
|
-
collectFunds?: boolean;
|
|
743
|
-
approvedDocumentsCount?: number;
|
|
744
|
-
requiredDocumentsCount?: number;
|
|
745
|
-
completedStepsCount?: number;
|
|
746
|
-
totalStepsCount?: number;
|
|
747
464
|
dueDate?: Date | string | null;
|
|
748
465
|
startDate?: Date | string | null;
|
|
749
466
|
endDate?: Date | string | null;
|
|
750
467
|
activatedAt?: Date | string | null;
|
|
751
468
|
completedAt?: Date | string | null;
|
|
752
469
|
requiresPreviousPhaseCompletion?: boolean;
|
|
753
|
-
minimumCompletionPercentage?: number | null;
|
|
754
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
755
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
756
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
757
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
758
470
|
createdAt?: Date | string;
|
|
759
471
|
updatedAt?: Date | string;
|
|
760
472
|
};
|
|
@@ -766,63 +478,37 @@ export type ContractPhaseUpdateManyMutationInput = {
|
|
|
766
478
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
767
479
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
768
480
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
769
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
770
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
771
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
772
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
773
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
774
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
775
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
776
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
777
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
778
481
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
779
482
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
780
483
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
781
484
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
782
485
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
783
486
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
784
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
785
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
786
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
787
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
788
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
789
487
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
790
488
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
791
489
|
};
|
|
792
490
|
export type ContractPhaseUncheckedUpdateManyInput = {
|
|
793
491
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
794
492
|
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
795
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
796
493
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
797
494
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
798
495
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
799
496
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
800
497
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
801
498
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
802
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
803
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
804
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
805
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
806
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
807
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
808
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
809
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
810
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
811
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
812
499
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
813
500
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
814
501
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
815
502
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
816
503
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
817
504
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
818
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
819
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
820
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
821
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
822
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
823
505
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
824
506
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
825
507
|
};
|
|
508
|
+
export type ContractPhaseNullableScalarRelationFilter = {
|
|
509
|
+
is?: Prisma.ContractPhaseWhereInput | null;
|
|
510
|
+
isNot?: Prisma.ContractPhaseWhereInput | null;
|
|
511
|
+
};
|
|
826
512
|
export type ContractPhaseListRelationFilter = {
|
|
827
513
|
every?: Prisma.ContractPhaseWhereInput;
|
|
828
514
|
some?: Prisma.ContractPhaseWhereInput;
|
|
@@ -839,168 +525,71 @@ export type ContractPhaseOrderByRelevanceInput = {
|
|
|
839
525
|
export type ContractPhaseCountOrderByAggregateInput = {
|
|
840
526
|
id?: Prisma.SortOrder;
|
|
841
527
|
contractId?: Prisma.SortOrder;
|
|
842
|
-
paymentPlanId?: Prisma.SortOrder;
|
|
843
528
|
name?: Prisma.SortOrder;
|
|
844
529
|
description?: Prisma.SortOrder;
|
|
845
530
|
phaseCategory?: Prisma.SortOrder;
|
|
846
531
|
phaseType?: Prisma.SortOrder;
|
|
847
532
|
order?: Prisma.SortOrder;
|
|
848
533
|
status?: Prisma.SortOrder;
|
|
849
|
-
currentStepId?: Prisma.SortOrder;
|
|
850
|
-
totalAmount?: Prisma.SortOrder;
|
|
851
|
-
paidAmount?: Prisma.SortOrder;
|
|
852
|
-
remainingAmount?: Prisma.SortOrder;
|
|
853
|
-
interestRate?: Prisma.SortOrder;
|
|
854
|
-
collectFunds?: Prisma.SortOrder;
|
|
855
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
856
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
857
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
858
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
859
534
|
dueDate?: Prisma.SortOrder;
|
|
860
535
|
startDate?: Prisma.SortOrder;
|
|
861
536
|
endDate?: Prisma.SortOrder;
|
|
862
537
|
activatedAt?: Prisma.SortOrder;
|
|
863
538
|
completedAt?: Prisma.SortOrder;
|
|
864
539
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
865
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
866
|
-
completionCriterion?: Prisma.SortOrder;
|
|
867
|
-
paymentPlanSnapshot?: Prisma.SortOrder;
|
|
868
|
-
stepDefinitionsSnapshot?: Prisma.SortOrder;
|
|
869
|
-
requiredDocumentSnapshot?: Prisma.SortOrder;
|
|
870
540
|
createdAt?: Prisma.SortOrder;
|
|
871
541
|
updatedAt?: Prisma.SortOrder;
|
|
872
542
|
};
|
|
873
543
|
export type ContractPhaseAvgOrderByAggregateInput = {
|
|
874
544
|
order?: Prisma.SortOrder;
|
|
875
|
-
totalAmount?: Prisma.SortOrder;
|
|
876
|
-
paidAmount?: Prisma.SortOrder;
|
|
877
|
-
remainingAmount?: Prisma.SortOrder;
|
|
878
|
-
interestRate?: Prisma.SortOrder;
|
|
879
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
880
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
881
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
882
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
883
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
884
545
|
};
|
|
885
546
|
export type ContractPhaseMaxOrderByAggregateInput = {
|
|
886
547
|
id?: Prisma.SortOrder;
|
|
887
548
|
contractId?: Prisma.SortOrder;
|
|
888
|
-
paymentPlanId?: Prisma.SortOrder;
|
|
889
549
|
name?: Prisma.SortOrder;
|
|
890
550
|
description?: Prisma.SortOrder;
|
|
891
551
|
phaseCategory?: Prisma.SortOrder;
|
|
892
552
|
phaseType?: Prisma.SortOrder;
|
|
893
553
|
order?: Prisma.SortOrder;
|
|
894
554
|
status?: Prisma.SortOrder;
|
|
895
|
-
currentStepId?: Prisma.SortOrder;
|
|
896
|
-
totalAmount?: Prisma.SortOrder;
|
|
897
|
-
paidAmount?: Prisma.SortOrder;
|
|
898
|
-
remainingAmount?: Prisma.SortOrder;
|
|
899
|
-
interestRate?: Prisma.SortOrder;
|
|
900
|
-
collectFunds?: Prisma.SortOrder;
|
|
901
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
902
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
903
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
904
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
905
555
|
dueDate?: Prisma.SortOrder;
|
|
906
556
|
startDate?: Prisma.SortOrder;
|
|
907
557
|
endDate?: Prisma.SortOrder;
|
|
908
558
|
activatedAt?: Prisma.SortOrder;
|
|
909
559
|
completedAt?: Prisma.SortOrder;
|
|
910
560
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
911
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
912
|
-
completionCriterion?: Prisma.SortOrder;
|
|
913
561
|
createdAt?: Prisma.SortOrder;
|
|
914
562
|
updatedAt?: Prisma.SortOrder;
|
|
915
563
|
};
|
|
916
564
|
export type ContractPhaseMinOrderByAggregateInput = {
|
|
917
565
|
id?: Prisma.SortOrder;
|
|
918
566
|
contractId?: Prisma.SortOrder;
|
|
919
|
-
paymentPlanId?: Prisma.SortOrder;
|
|
920
567
|
name?: Prisma.SortOrder;
|
|
921
568
|
description?: Prisma.SortOrder;
|
|
922
569
|
phaseCategory?: Prisma.SortOrder;
|
|
923
570
|
phaseType?: Prisma.SortOrder;
|
|
924
571
|
order?: Prisma.SortOrder;
|
|
925
572
|
status?: Prisma.SortOrder;
|
|
926
|
-
currentStepId?: Prisma.SortOrder;
|
|
927
|
-
totalAmount?: Prisma.SortOrder;
|
|
928
|
-
paidAmount?: Prisma.SortOrder;
|
|
929
|
-
remainingAmount?: Prisma.SortOrder;
|
|
930
|
-
interestRate?: Prisma.SortOrder;
|
|
931
|
-
collectFunds?: Prisma.SortOrder;
|
|
932
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
933
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
934
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
935
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
936
573
|
dueDate?: Prisma.SortOrder;
|
|
937
574
|
startDate?: Prisma.SortOrder;
|
|
938
575
|
endDate?: Prisma.SortOrder;
|
|
939
576
|
activatedAt?: Prisma.SortOrder;
|
|
940
577
|
completedAt?: Prisma.SortOrder;
|
|
941
578
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
942
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
943
|
-
completionCriterion?: Prisma.SortOrder;
|
|
944
579
|
createdAt?: Prisma.SortOrder;
|
|
945
580
|
updatedAt?: Prisma.SortOrder;
|
|
946
581
|
};
|
|
947
582
|
export type ContractPhaseSumOrderByAggregateInput = {
|
|
948
583
|
order?: Prisma.SortOrder;
|
|
949
|
-
totalAmount?: Prisma.SortOrder;
|
|
950
|
-
paidAmount?: Prisma.SortOrder;
|
|
951
|
-
remainingAmount?: Prisma.SortOrder;
|
|
952
|
-
interestRate?: Prisma.SortOrder;
|
|
953
|
-
approvedDocumentsCount?: Prisma.SortOrder;
|
|
954
|
-
requiredDocumentsCount?: Prisma.SortOrder;
|
|
955
|
-
completedStepsCount?: Prisma.SortOrder;
|
|
956
|
-
totalStepsCount?: Prisma.SortOrder;
|
|
957
|
-
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
958
584
|
};
|
|
959
585
|
export type ContractPhaseScalarRelationFilter = {
|
|
960
586
|
is?: Prisma.ContractPhaseWhereInput;
|
|
961
587
|
isNot?: Prisma.ContractPhaseWhereInput;
|
|
962
588
|
};
|
|
963
|
-
export type
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
export type ContractPhaseCreateNestedManyWithoutPaymentPlanInput = {
|
|
968
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.ContractPhaseCreateWithoutPaymentPlanInput[] | Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput[];
|
|
969
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput[];
|
|
970
|
-
createMany?: Prisma.ContractPhaseCreateManyPaymentPlanInputEnvelope;
|
|
971
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
972
|
-
};
|
|
973
|
-
export type ContractPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput = {
|
|
974
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.ContractPhaseCreateWithoutPaymentPlanInput[] | Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput[];
|
|
975
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput[];
|
|
976
|
-
createMany?: Prisma.ContractPhaseCreateManyPaymentPlanInputEnvelope;
|
|
977
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
978
|
-
};
|
|
979
|
-
export type ContractPhaseUpdateManyWithoutPaymentPlanNestedInput = {
|
|
980
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.ContractPhaseCreateWithoutPaymentPlanInput[] | Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput[];
|
|
981
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput[];
|
|
982
|
-
upsert?: Prisma.ContractPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput | Prisma.ContractPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput[];
|
|
983
|
-
createMany?: Prisma.ContractPhaseCreateManyPaymentPlanInputEnvelope;
|
|
984
|
-
set?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
985
|
-
disconnect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
986
|
-
delete?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
987
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
988
|
-
update?: Prisma.ContractPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput | Prisma.ContractPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput[];
|
|
989
|
-
updateMany?: Prisma.ContractPhaseUpdateManyWithWhereWithoutPaymentPlanInput | Prisma.ContractPhaseUpdateManyWithWhereWithoutPaymentPlanInput[];
|
|
990
|
-
deleteMany?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
991
|
-
};
|
|
992
|
-
export type ContractPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput = {
|
|
993
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.ContractPhaseCreateWithoutPaymentPlanInput[] | Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput[];
|
|
994
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.ContractPhaseCreateOrConnectWithoutPaymentPlanInput[];
|
|
995
|
-
upsert?: Prisma.ContractPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput | Prisma.ContractPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput[];
|
|
996
|
-
createMany?: Prisma.ContractPhaseCreateManyPaymentPlanInputEnvelope;
|
|
997
|
-
set?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
998
|
-
disconnect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
999
|
-
delete?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1000
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1001
|
-
update?: Prisma.ContractPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput | Prisma.ContractPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput[];
|
|
1002
|
-
updateMany?: Prisma.ContractPhaseUpdateManyWithWhereWithoutPaymentPlanInput | Prisma.ContractPhaseUpdateManyWithWhereWithoutPaymentPlanInput[];
|
|
1003
|
-
deleteMany?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
589
|
+
export type ContractPhaseCreateNestedOneWithoutCurrentForContractsInput = {
|
|
590
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentForContractsInput>;
|
|
591
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutCurrentForContractsInput;
|
|
592
|
+
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1004
593
|
};
|
|
1005
594
|
export type ContractPhaseCreateNestedManyWithoutContractInput = {
|
|
1006
595
|
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutContractInput, Prisma.ContractPhaseUncheckedCreateWithoutContractInput> | Prisma.ContractPhaseCreateWithoutContractInput[] | Prisma.ContractPhaseUncheckedCreateWithoutContractInput[];
|
|
@@ -1014,6 +603,15 @@ export type ContractPhaseUncheckedCreateNestedManyWithoutContractInput = {
|
|
|
1014
603
|
createMany?: Prisma.ContractPhaseCreateManyContractInputEnvelope;
|
|
1015
604
|
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1016
605
|
};
|
|
606
|
+
export type ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput = {
|
|
607
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentForContractsInput>;
|
|
608
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutCurrentForContractsInput;
|
|
609
|
+
upsert?: Prisma.ContractPhaseUpsertWithoutCurrentForContractsInput;
|
|
610
|
+
disconnect?: Prisma.ContractPhaseWhereInput | boolean;
|
|
611
|
+
delete?: Prisma.ContractPhaseWhereInput | boolean;
|
|
612
|
+
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
613
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseUpdateToOneWithWhereWithoutCurrentForContractsInput, Prisma.ContractPhaseUpdateWithoutCurrentForContractsInput>, Prisma.ContractPhaseUncheckedUpdateWithoutCurrentForContractsInput>;
|
|
614
|
+
};
|
|
1017
615
|
export type ContractPhaseUpdateManyWithoutContractNestedInput = {
|
|
1018
616
|
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutContractInput, Prisma.ContractPhaseUncheckedCreateWithoutContractInput> | Prisma.ContractPhaseCreateWithoutContractInput[] | Prisma.ContractPhaseUncheckedCreateWithoutContractInput[];
|
|
1019
617
|
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutContractInput | Prisma.ContractPhaseCreateOrConnectWithoutContractInput[];
|
|
@@ -1043,67 +641,41 @@ export type ContractPhaseUncheckedUpdateManyWithoutContractNestedInput = {
|
|
|
1043
641
|
export type EnumPhaseStatusFieldUpdateOperationsInput = {
|
|
1044
642
|
set?: $Enums.PhaseStatus;
|
|
1045
643
|
};
|
|
1046
|
-
export type
|
|
1047
|
-
create?: Prisma.XOR<Prisma.
|
|
1048
|
-
connectOrCreate?: Prisma.
|
|
644
|
+
export type ContractPhaseCreateNestedOneWithoutQuestionnairePhaseInput = {
|
|
645
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutQuestionnairePhaseInput>;
|
|
646
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutQuestionnairePhaseInput;
|
|
1049
647
|
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1050
648
|
};
|
|
1051
|
-
export type
|
|
1052
|
-
create?: Prisma.XOR<Prisma.
|
|
1053
|
-
connectOrCreate?: Prisma.
|
|
1054
|
-
|
|
1055
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1056
|
-
};
|
|
1057
|
-
export type ContractPhaseUncheckedCreateNestedManyWithoutCurrentStepInput = {
|
|
1058
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentStepInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentStepInput> | Prisma.ContractPhaseCreateWithoutCurrentStepInput[] | Prisma.ContractPhaseUncheckedCreateWithoutCurrentStepInput[];
|
|
1059
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutCurrentStepInput | Prisma.ContractPhaseCreateOrConnectWithoutCurrentStepInput[];
|
|
1060
|
-
createMany?: Prisma.ContractPhaseCreateManyCurrentStepInputEnvelope;
|
|
1061
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1062
|
-
};
|
|
1063
|
-
export type ContractPhaseUpdateOneRequiredWithoutStepsNestedInput = {
|
|
1064
|
-
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutStepsInput, Prisma.ContractPhaseUncheckedCreateWithoutStepsInput>;
|
|
1065
|
-
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutStepsInput;
|
|
1066
|
-
upsert?: Prisma.ContractPhaseUpsertWithoutStepsInput;
|
|
649
|
+
export type ContractPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput = {
|
|
650
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutQuestionnairePhaseInput>;
|
|
651
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutQuestionnairePhaseInput;
|
|
652
|
+
upsert?: Prisma.ContractPhaseUpsertWithoutQuestionnairePhaseInput;
|
|
1067
653
|
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1068
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
654
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseUpdateToOneWithWhereWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUpdateWithoutQuestionnairePhaseInput>, Prisma.ContractPhaseUncheckedUpdateWithoutQuestionnairePhaseInput>;
|
|
1069
655
|
};
|
|
1070
|
-
export type
|
|
1071
|
-
create?: Prisma.XOR<Prisma.
|
|
1072
|
-
connectOrCreate?: Prisma.
|
|
1073
|
-
|
|
1074
|
-
createMany?: Prisma.ContractPhaseCreateManyCurrentStepInputEnvelope;
|
|
1075
|
-
set?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1076
|
-
disconnect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1077
|
-
delete?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1078
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1079
|
-
update?: Prisma.ContractPhaseUpdateWithWhereUniqueWithoutCurrentStepInput | Prisma.ContractPhaseUpdateWithWhereUniqueWithoutCurrentStepInput[];
|
|
1080
|
-
updateMany?: Prisma.ContractPhaseUpdateManyWithWhereWithoutCurrentStepInput | Prisma.ContractPhaseUpdateManyWithWhereWithoutCurrentStepInput[];
|
|
1081
|
-
deleteMany?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
656
|
+
export type ContractPhaseCreateNestedOneWithoutDocumentationPhaseInput = {
|
|
657
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutDocumentationPhaseInput>;
|
|
658
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutDocumentationPhaseInput;
|
|
659
|
+
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1082
660
|
};
|
|
1083
|
-
export type
|
|
1084
|
-
create?: Prisma.XOR<Prisma.
|
|
1085
|
-
connectOrCreate?: Prisma.
|
|
1086
|
-
upsert?: Prisma.
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
disconnect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1090
|
-
delete?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1091
|
-
connect?: Prisma.ContractPhaseWhereUniqueInput | Prisma.ContractPhaseWhereUniqueInput[];
|
|
1092
|
-
update?: Prisma.ContractPhaseUpdateWithWhereUniqueWithoutCurrentStepInput | Prisma.ContractPhaseUpdateWithWhereUniqueWithoutCurrentStepInput[];
|
|
1093
|
-
updateMany?: Prisma.ContractPhaseUpdateManyWithWhereWithoutCurrentStepInput | Prisma.ContractPhaseUpdateManyWithWhereWithoutCurrentStepInput[];
|
|
1094
|
-
deleteMany?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
661
|
+
export type ContractPhaseUpdateOneRequiredWithoutDocumentationPhaseNestedInput = {
|
|
662
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutDocumentationPhaseInput>;
|
|
663
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutDocumentationPhaseInput;
|
|
664
|
+
upsert?: Prisma.ContractPhaseUpsertWithoutDocumentationPhaseInput;
|
|
665
|
+
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
666
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseUpdateToOneWithWhereWithoutDocumentationPhaseInput, Prisma.ContractPhaseUpdateWithoutDocumentationPhaseInput>, Prisma.ContractPhaseUncheckedUpdateWithoutDocumentationPhaseInput>;
|
|
1095
667
|
};
|
|
1096
|
-
export type
|
|
1097
|
-
create?: Prisma.XOR<Prisma.
|
|
1098
|
-
connectOrCreate?: Prisma.
|
|
668
|
+
export type ContractPhaseCreateNestedOneWithoutPaymentPhaseInput = {
|
|
669
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPhaseInput>;
|
|
670
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPhaseInput;
|
|
1099
671
|
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1100
672
|
};
|
|
1101
|
-
export type
|
|
1102
|
-
create?: Prisma.XOR<Prisma.
|
|
1103
|
-
connectOrCreate?: Prisma.
|
|
1104
|
-
upsert?: Prisma.
|
|
673
|
+
export type ContractPhaseUpdateOneRequiredWithoutPaymentPhaseNestedInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPhaseInput>;
|
|
675
|
+
connectOrCreate?: Prisma.ContractPhaseCreateOrConnectWithoutPaymentPhaseInput;
|
|
676
|
+
upsert?: Prisma.ContractPhaseUpsertWithoutPaymentPhaseInput;
|
|
1105
677
|
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1106
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
678
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseUpdateToOneWithWhereWithoutPaymentPhaseInput, Prisma.ContractPhaseUpdateWithoutPaymentPhaseInput>, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentPhaseInput>;
|
|
1107
679
|
};
|
|
1108
680
|
export type ContractPhaseCreateNestedOneWithoutPaymentsInput = {
|
|
1109
681
|
create?: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentsInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentsInput>;
|
|
@@ -1119,7 +691,7 @@ export type ContractPhaseUpdateOneWithoutPaymentsNestedInput = {
|
|
|
1119
691
|
connect?: Prisma.ContractPhaseWhereUniqueInput;
|
|
1120
692
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseUpdateToOneWithWhereWithoutPaymentsInput, Prisma.ContractPhaseUpdateWithoutPaymentsInput>, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentsInput>;
|
|
1121
693
|
};
|
|
1122
|
-
export type
|
|
694
|
+
export type ContractPhaseCreateWithoutCurrentForContractsInput = {
|
|
1123
695
|
id?: string;
|
|
1124
696
|
name: string;
|
|
1125
697
|
description?: string | null;
|
|
@@ -1127,35 +699,21 @@ export type ContractPhaseCreateWithoutPaymentPlanInput = {
|
|
|
1127
699
|
phaseType: $Enums.PhaseType;
|
|
1128
700
|
order: number;
|
|
1129
701
|
status?: $Enums.PhaseStatus;
|
|
1130
|
-
totalAmount?: number | null;
|
|
1131
|
-
paidAmount?: number;
|
|
1132
|
-
remainingAmount?: number | null;
|
|
1133
|
-
interestRate?: number | null;
|
|
1134
|
-
collectFunds?: boolean;
|
|
1135
|
-
approvedDocumentsCount?: number;
|
|
1136
|
-
requiredDocumentsCount?: number;
|
|
1137
|
-
completedStepsCount?: number;
|
|
1138
|
-
totalStepsCount?: number;
|
|
1139
702
|
dueDate?: Date | string | null;
|
|
1140
703
|
startDate?: Date | string | null;
|
|
1141
704
|
endDate?: Date | string | null;
|
|
1142
705
|
activatedAt?: Date | string | null;
|
|
1143
706
|
completedAt?: Date | string | null;
|
|
1144
707
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1145
|
-
minimumCompletionPercentage?: number | null;
|
|
1146
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1147
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1148
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1149
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1150
708
|
createdAt?: Date | string;
|
|
1151
709
|
updatedAt?: Date | string;
|
|
1152
710
|
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1153
|
-
|
|
1154
|
-
|
|
711
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
712
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
713
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
1155
714
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1156
|
-
steps?: Prisma.DocumentationStepCreateNestedManyWithoutPhaseInput;
|
|
1157
715
|
};
|
|
1158
|
-
export type
|
|
716
|
+
export type ContractPhaseUncheckedCreateWithoutCurrentForContractsInput = {
|
|
1159
717
|
id?: string;
|
|
1160
718
|
contractId: string;
|
|
1161
719
|
name: string;
|
|
@@ -1164,90 +722,22 @@ export type ContractPhaseUncheckedCreateWithoutPaymentPlanInput = {
|
|
|
1164
722
|
phaseType: $Enums.PhaseType;
|
|
1165
723
|
order: number;
|
|
1166
724
|
status?: $Enums.PhaseStatus;
|
|
1167
|
-
currentStepId?: string | null;
|
|
1168
|
-
totalAmount?: number | null;
|
|
1169
|
-
paidAmount?: number;
|
|
1170
|
-
remainingAmount?: number | null;
|
|
1171
|
-
interestRate?: number | null;
|
|
1172
|
-
collectFunds?: boolean;
|
|
1173
|
-
approvedDocumentsCount?: number;
|
|
1174
|
-
requiredDocumentsCount?: number;
|
|
1175
|
-
completedStepsCount?: number;
|
|
1176
|
-
totalStepsCount?: number;
|
|
1177
725
|
dueDate?: Date | string | null;
|
|
1178
726
|
startDate?: Date | string | null;
|
|
1179
727
|
endDate?: Date | string | null;
|
|
1180
728
|
activatedAt?: Date | string | null;
|
|
1181
729
|
completedAt?: Date | string | null;
|
|
1182
730
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1183
|
-
minimumCompletionPercentage?: number | null;
|
|
1184
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1185
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1186
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1187
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1188
731
|
createdAt?: Date | string;
|
|
1189
732
|
updatedAt?: Date | string;
|
|
1190
|
-
|
|
733
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
734
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
735
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1191
736
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1192
|
-
steps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1193
|
-
};
|
|
1194
|
-
export type ContractPhaseCreateOrConnectWithoutPaymentPlanInput = {
|
|
1195
|
-
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1196
|
-
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput>;
|
|
1197
|
-
};
|
|
1198
|
-
export type ContractPhaseCreateManyPaymentPlanInputEnvelope = {
|
|
1199
|
-
data: Prisma.ContractPhaseCreateManyPaymentPlanInput | Prisma.ContractPhaseCreateManyPaymentPlanInput[];
|
|
1200
|
-
skipDuplicates?: boolean;
|
|
1201
737
|
};
|
|
1202
|
-
export type
|
|
738
|
+
export type ContractPhaseCreateOrConnectWithoutCurrentForContractsInput = {
|
|
1203
739
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1204
|
-
|
|
1205
|
-
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPlanInput>;
|
|
1206
|
-
};
|
|
1207
|
-
export type ContractPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput = {
|
|
1208
|
-
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1209
|
-
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutPaymentPlanInput, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentPlanInput>;
|
|
1210
|
-
};
|
|
1211
|
-
export type ContractPhaseUpdateManyWithWhereWithoutPaymentPlanInput = {
|
|
1212
|
-
where: Prisma.ContractPhaseScalarWhereInput;
|
|
1213
|
-
data: Prisma.XOR<Prisma.ContractPhaseUpdateManyMutationInput, Prisma.ContractPhaseUncheckedUpdateManyWithoutPaymentPlanInput>;
|
|
1214
|
-
};
|
|
1215
|
-
export type ContractPhaseScalarWhereInput = {
|
|
1216
|
-
AND?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
1217
|
-
OR?: Prisma.ContractPhaseScalarWhereInput[];
|
|
1218
|
-
NOT?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
1219
|
-
id?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
1220
|
-
contractId?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
1221
|
-
paymentPlanId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
1222
|
-
name?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
1223
|
-
description?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
1224
|
-
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"ContractPhase"> | $Enums.PhaseCategory;
|
|
1225
|
-
phaseType?: Prisma.EnumPhaseTypeFilter<"ContractPhase"> | $Enums.PhaseType;
|
|
1226
|
-
order?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
1227
|
-
status?: Prisma.EnumPhaseStatusFilter<"ContractPhase"> | $Enums.PhaseStatus;
|
|
1228
|
-
currentStepId?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
1229
|
-
totalAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
1230
|
-
paidAmount?: Prisma.FloatFilter<"ContractPhase"> | number;
|
|
1231
|
-
remainingAmount?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
1232
|
-
interestRate?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
1233
|
-
collectFunds?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
1234
|
-
approvedDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
1235
|
-
requiredDocumentsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
1236
|
-
completedStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
1237
|
-
totalStepsCount?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
1238
|
-
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
1239
|
-
startDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
1240
|
-
endDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
1241
|
-
activatedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
1242
|
-
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
1243
|
-
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
1244
|
-
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"ContractPhase"> | number | null;
|
|
1245
|
-
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"ContractPhase"> | $Enums.CompletionCriterion | null;
|
|
1246
|
-
paymentPlanSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
1247
|
-
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
1248
|
-
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"ContractPhase">;
|
|
1249
|
-
createdAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
1250
|
-
updatedAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
740
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentForContractsInput>;
|
|
1251
741
|
};
|
|
1252
742
|
export type ContractPhaseCreateWithoutContractInput = {
|
|
1253
743
|
id?: string;
|
|
@@ -1257,69 +747,41 @@ export type ContractPhaseCreateWithoutContractInput = {
|
|
|
1257
747
|
phaseType: $Enums.PhaseType;
|
|
1258
748
|
order: number;
|
|
1259
749
|
status?: $Enums.PhaseStatus;
|
|
1260
|
-
totalAmount?: number | null;
|
|
1261
|
-
paidAmount?: number;
|
|
1262
|
-
remainingAmount?: number | null;
|
|
1263
|
-
interestRate?: number | null;
|
|
1264
|
-
collectFunds?: boolean;
|
|
1265
|
-
approvedDocumentsCount?: number;
|
|
1266
|
-
requiredDocumentsCount?: number;
|
|
1267
|
-
completedStepsCount?: number;
|
|
1268
|
-
totalStepsCount?: number;
|
|
1269
750
|
dueDate?: Date | string | null;
|
|
1270
751
|
startDate?: Date | string | null;
|
|
1271
752
|
endDate?: Date | string | null;
|
|
1272
753
|
activatedAt?: Date | string | null;
|
|
1273
754
|
completedAt?: Date | string | null;
|
|
1274
755
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1275
|
-
minimumCompletionPercentage?: number | null;
|
|
1276
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1277
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1278
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1279
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1280
756
|
createdAt?: Date | string;
|
|
1281
757
|
updatedAt?: Date | string;
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
758
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
759
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
760
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
1285
761
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1286
|
-
|
|
762
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
1287
763
|
};
|
|
1288
764
|
export type ContractPhaseUncheckedCreateWithoutContractInput = {
|
|
1289
765
|
id?: string;
|
|
1290
|
-
paymentPlanId?: string | null;
|
|
1291
766
|
name: string;
|
|
1292
767
|
description?: string | null;
|
|
1293
768
|
phaseCategory: $Enums.PhaseCategory;
|
|
1294
769
|
phaseType: $Enums.PhaseType;
|
|
1295
770
|
order: number;
|
|
1296
771
|
status?: $Enums.PhaseStatus;
|
|
1297
|
-
currentStepId?: string | null;
|
|
1298
|
-
totalAmount?: number | null;
|
|
1299
|
-
paidAmount?: number;
|
|
1300
|
-
remainingAmount?: number | null;
|
|
1301
|
-
interestRate?: number | null;
|
|
1302
|
-
collectFunds?: boolean;
|
|
1303
|
-
approvedDocumentsCount?: number;
|
|
1304
|
-
requiredDocumentsCount?: number;
|
|
1305
|
-
completedStepsCount?: number;
|
|
1306
|
-
totalStepsCount?: number;
|
|
1307
772
|
dueDate?: Date | string | null;
|
|
1308
773
|
startDate?: Date | string | null;
|
|
1309
774
|
endDate?: Date | string | null;
|
|
1310
775
|
activatedAt?: Date | string | null;
|
|
1311
776
|
completedAt?: Date | string | null;
|
|
1312
777
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1313
|
-
minimumCompletionPercentage?: number | null;
|
|
1314
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1315
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1316
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1317
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1318
778
|
createdAt?: Date | string;
|
|
1319
779
|
updatedAt?: Date | string;
|
|
1320
|
-
|
|
780
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
781
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
782
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1321
783
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1322
|
-
|
|
784
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
1323
785
|
};
|
|
1324
786
|
export type ContractPhaseCreateOrConnectWithoutContractInput = {
|
|
1325
787
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
@@ -1329,6 +791,59 @@ export type ContractPhaseCreateManyContractInputEnvelope = {
|
|
|
1329
791
|
data: Prisma.ContractPhaseCreateManyContractInput | Prisma.ContractPhaseCreateManyContractInput[];
|
|
1330
792
|
skipDuplicates?: boolean;
|
|
1331
793
|
};
|
|
794
|
+
export type ContractPhaseUpsertWithoutCurrentForContractsInput = {
|
|
795
|
+
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedUpdateWithoutCurrentForContractsInput>;
|
|
796
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentForContractsInput>;
|
|
797
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
798
|
+
};
|
|
799
|
+
export type ContractPhaseUpdateToOneWithWhereWithoutCurrentForContractsInput = {
|
|
800
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
801
|
+
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutCurrentForContractsInput, Prisma.ContractPhaseUncheckedUpdateWithoutCurrentForContractsInput>;
|
|
802
|
+
};
|
|
803
|
+
export type ContractPhaseUpdateWithoutCurrentForContractsInput = {
|
|
804
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
805
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
806
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
807
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
808
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
809
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
810
|
+
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
811
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
812
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
813
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
814
|
+
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
815
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
816
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
817
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
818
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
819
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
820
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
821
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
822
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
823
|
+
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
824
|
+
};
|
|
825
|
+
export type ContractPhaseUncheckedUpdateWithoutCurrentForContractsInput = {
|
|
826
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
827
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
828
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
829
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
830
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
831
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
832
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
833
|
+
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
834
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
835
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
836
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
837
|
+
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
838
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
839
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
840
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
841
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
842
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
843
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
844
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
845
|
+
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
846
|
+
};
|
|
1332
847
|
export type ContractPhaseUpsertWithWhereUniqueWithoutContractInput = {
|
|
1333
848
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1334
849
|
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutContractInput, Prisma.ContractPhaseUncheckedUpdateWithoutContractInput>;
|
|
@@ -1342,83 +857,28 @@ export type ContractPhaseUpdateManyWithWhereWithoutContractInput = {
|
|
|
1342
857
|
where: Prisma.ContractPhaseScalarWhereInput;
|
|
1343
858
|
data: Prisma.XOR<Prisma.ContractPhaseUpdateManyMutationInput, Prisma.ContractPhaseUncheckedUpdateManyWithoutContractInput>;
|
|
1344
859
|
};
|
|
1345
|
-
export type
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
activatedAt?: Date | string | null;
|
|
1366
|
-
completedAt?: Date | string | null;
|
|
1367
|
-
requiresPreviousPhaseCompletion?: boolean;
|
|
1368
|
-
minimumCompletionPercentage?: number | null;
|
|
1369
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1370
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1371
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1372
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1373
|
-
createdAt?: Date | string;
|
|
1374
|
-
updatedAt?: Date | string;
|
|
1375
|
-
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1376
|
-
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutContractPhasesInput;
|
|
1377
|
-
currentStep?: Prisma.DocumentationStepCreateNestedOneWithoutCurrentForPhaseInput;
|
|
1378
|
-
installments?: Prisma.ContractInstallmentCreateNestedManyWithoutPhaseInput;
|
|
1379
|
-
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1380
|
-
};
|
|
1381
|
-
export type ContractPhaseUncheckedCreateWithoutStepsInput = {
|
|
1382
|
-
id?: string;
|
|
1383
|
-
contractId: string;
|
|
1384
|
-
paymentPlanId?: string | null;
|
|
1385
|
-
name: string;
|
|
1386
|
-
description?: string | null;
|
|
1387
|
-
phaseCategory: $Enums.PhaseCategory;
|
|
1388
|
-
phaseType: $Enums.PhaseType;
|
|
1389
|
-
order: number;
|
|
1390
|
-
status?: $Enums.PhaseStatus;
|
|
1391
|
-
currentStepId?: string | null;
|
|
1392
|
-
totalAmount?: number | null;
|
|
1393
|
-
paidAmount?: number;
|
|
1394
|
-
remainingAmount?: number | null;
|
|
1395
|
-
interestRate?: number | null;
|
|
1396
|
-
collectFunds?: boolean;
|
|
1397
|
-
approvedDocumentsCount?: number;
|
|
1398
|
-
requiredDocumentsCount?: number;
|
|
1399
|
-
completedStepsCount?: number;
|
|
1400
|
-
totalStepsCount?: number;
|
|
1401
|
-
dueDate?: Date | string | null;
|
|
1402
|
-
startDate?: Date | string | null;
|
|
1403
|
-
endDate?: Date | string | null;
|
|
1404
|
-
activatedAt?: Date | string | null;
|
|
1405
|
-
completedAt?: Date | string | null;
|
|
1406
|
-
requiresPreviousPhaseCompletion?: boolean;
|
|
1407
|
-
minimumCompletionPercentage?: number | null;
|
|
1408
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1409
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1410
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1411
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1412
|
-
createdAt?: Date | string;
|
|
1413
|
-
updatedAt?: Date | string;
|
|
1414
|
-
installments?: Prisma.ContractInstallmentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1415
|
-
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1416
|
-
};
|
|
1417
|
-
export type ContractPhaseCreateOrConnectWithoutStepsInput = {
|
|
1418
|
-
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1419
|
-
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutStepsInput, Prisma.ContractPhaseUncheckedCreateWithoutStepsInput>;
|
|
860
|
+
export type ContractPhaseScalarWhereInput = {
|
|
861
|
+
AND?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
862
|
+
OR?: Prisma.ContractPhaseScalarWhereInput[];
|
|
863
|
+
NOT?: Prisma.ContractPhaseScalarWhereInput | Prisma.ContractPhaseScalarWhereInput[];
|
|
864
|
+
id?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
865
|
+
contractId?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
866
|
+
name?: Prisma.StringFilter<"ContractPhase"> | string;
|
|
867
|
+
description?: Prisma.StringNullableFilter<"ContractPhase"> | string | null;
|
|
868
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"ContractPhase"> | $Enums.PhaseCategory;
|
|
869
|
+
phaseType?: Prisma.EnumPhaseTypeFilter<"ContractPhase"> | $Enums.PhaseType;
|
|
870
|
+
order?: Prisma.IntFilter<"ContractPhase"> | number;
|
|
871
|
+
status?: Prisma.EnumPhaseStatusFilter<"ContractPhase"> | $Enums.PhaseStatus;
|
|
872
|
+
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
873
|
+
startDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
874
|
+
endDate?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
875
|
+
activatedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
876
|
+
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhase"> | Date | string | null;
|
|
877
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"ContractPhase"> | boolean;
|
|
878
|
+
createdAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
879
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractPhase"> | Date | string;
|
|
1420
880
|
};
|
|
1421
|
-
export type
|
|
881
|
+
export type ContractPhaseCreateWithoutQuestionnairePhaseInput = {
|
|
1422
882
|
id?: string;
|
|
1423
883
|
name: string;
|
|
1424
884
|
description?: string | null;
|
|
@@ -1426,88 +886,56 @@ export type ContractPhaseCreateWithoutCurrentStepInput = {
|
|
|
1426
886
|
phaseType: $Enums.PhaseType;
|
|
1427
887
|
order: number;
|
|
1428
888
|
status?: $Enums.PhaseStatus;
|
|
1429
|
-
totalAmount?: number | null;
|
|
1430
|
-
paidAmount?: number;
|
|
1431
|
-
remainingAmount?: number | null;
|
|
1432
|
-
interestRate?: number | null;
|
|
1433
|
-
collectFunds?: boolean;
|
|
1434
|
-
approvedDocumentsCount?: number;
|
|
1435
|
-
requiredDocumentsCount?: number;
|
|
1436
|
-
completedStepsCount?: number;
|
|
1437
|
-
totalStepsCount?: number;
|
|
1438
889
|
dueDate?: Date | string | null;
|
|
1439
890
|
startDate?: Date | string | null;
|
|
1440
891
|
endDate?: Date | string | null;
|
|
1441
892
|
activatedAt?: Date | string | null;
|
|
1442
893
|
completedAt?: Date | string | null;
|
|
1443
894
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1444
|
-
minimumCompletionPercentage?: number | null;
|
|
1445
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1446
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1447
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1448
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1449
895
|
createdAt?: Date | string;
|
|
1450
896
|
updatedAt?: Date | string;
|
|
1451
897
|
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1452
|
-
|
|
1453
|
-
|
|
898
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
899
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
1454
900
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1455
|
-
|
|
901
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
1456
902
|
};
|
|
1457
|
-
export type
|
|
903
|
+
export type ContractPhaseUncheckedCreateWithoutQuestionnairePhaseInput = {
|
|
1458
904
|
id?: string;
|
|
1459
905
|
contractId: string;
|
|
1460
|
-
paymentPlanId?: string | null;
|
|
1461
906
|
name: string;
|
|
1462
907
|
description?: string | null;
|
|
1463
908
|
phaseCategory: $Enums.PhaseCategory;
|
|
1464
909
|
phaseType: $Enums.PhaseType;
|
|
1465
910
|
order: number;
|
|
1466
911
|
status?: $Enums.PhaseStatus;
|
|
1467
|
-
totalAmount?: number | null;
|
|
1468
|
-
paidAmount?: number;
|
|
1469
|
-
remainingAmount?: number | null;
|
|
1470
|
-
interestRate?: number | null;
|
|
1471
|
-
collectFunds?: boolean;
|
|
1472
|
-
approvedDocumentsCount?: number;
|
|
1473
|
-
requiredDocumentsCount?: number;
|
|
1474
|
-
completedStepsCount?: number;
|
|
1475
|
-
totalStepsCount?: number;
|
|
1476
912
|
dueDate?: Date | string | null;
|
|
1477
913
|
startDate?: Date | string | null;
|
|
1478
914
|
endDate?: Date | string | null;
|
|
1479
915
|
activatedAt?: Date | string | null;
|
|
1480
916
|
completedAt?: Date | string | null;
|
|
1481
917
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1482
|
-
minimumCompletionPercentage?: number | null;
|
|
1483
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1484
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1485
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1486
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1487
918
|
createdAt?: Date | string;
|
|
1488
919
|
updatedAt?: Date | string;
|
|
1489
|
-
|
|
920
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
921
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1490
922
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1491
|
-
|
|
923
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
1492
924
|
};
|
|
1493
|
-
export type
|
|
925
|
+
export type ContractPhaseCreateOrConnectWithoutQuestionnairePhaseInput = {
|
|
1494
926
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1495
|
-
create: Prisma.XOR<Prisma.
|
|
927
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutQuestionnairePhaseInput>;
|
|
1496
928
|
};
|
|
1497
|
-
export type
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
};
|
|
1501
|
-
export type ContractPhaseUpsertWithoutStepsInput = {
|
|
1502
|
-
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutStepsInput, Prisma.ContractPhaseUncheckedUpdateWithoutStepsInput>;
|
|
1503
|
-
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutStepsInput, Prisma.ContractPhaseUncheckedCreateWithoutStepsInput>;
|
|
929
|
+
export type ContractPhaseUpsertWithoutQuestionnairePhaseInput = {
|
|
930
|
+
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutQuestionnairePhaseInput>;
|
|
931
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutQuestionnairePhaseInput>;
|
|
1504
932
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1505
933
|
};
|
|
1506
|
-
export type
|
|
934
|
+
export type ContractPhaseUpdateToOneWithWhereWithoutQuestionnairePhaseInput = {
|
|
1507
935
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1508
|
-
data: Prisma.XOR<Prisma.
|
|
936
|
+
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutQuestionnairePhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutQuestionnairePhaseInput>;
|
|
1509
937
|
};
|
|
1510
|
-
export type
|
|
938
|
+
export type ContractPhaseUpdateWithoutQuestionnairePhaseInput = {
|
|
1511
939
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1512
940
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1513
941
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1515,84 +943,43 @@ export type ContractPhaseUpdateWithoutStepsInput = {
|
|
|
1515
943
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1516
944
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1517
945
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1518
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1519
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1520
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1521
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1522
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1523
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1524
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1525
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1526
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1527
946
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1528
947
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1529
948
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1530
949
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1531
950
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1532
951
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1533
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1534
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1535
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1536
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1537
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1538
952
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1539
953
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1540
954
|
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
installments?: Prisma.ContractInstallmentUpdateManyWithoutPhaseNestedInput;
|
|
955
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
956
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1544
957
|
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
958
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1545
959
|
};
|
|
1546
|
-
export type
|
|
960
|
+
export type ContractPhaseUncheckedUpdateWithoutQuestionnairePhaseInput = {
|
|
1547
961
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1548
962
|
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1549
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1550
963
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1551
964
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1552
965
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1553
966
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1554
967
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1555
968
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1556
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1557
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1558
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1559
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1560
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1561
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1562
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1563
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1564
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1565
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1566
969
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1567
970
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1568
971
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1569
972
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1570
973
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1571
974
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1572
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1573
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1574
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1575
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1576
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1577
975
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1578
976
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1579
|
-
|
|
977
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
978
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1580
979
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
980
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1581
981
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1584
|
-
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutCurrentStepInput, Prisma.ContractPhaseUncheckedUpdateWithoutCurrentStepInput>;
|
|
1585
|
-
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutCurrentStepInput, Prisma.ContractPhaseUncheckedCreateWithoutCurrentStepInput>;
|
|
1586
|
-
};
|
|
1587
|
-
export type ContractPhaseUpdateWithWhereUniqueWithoutCurrentStepInput = {
|
|
1588
|
-
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1589
|
-
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutCurrentStepInput, Prisma.ContractPhaseUncheckedUpdateWithoutCurrentStepInput>;
|
|
1590
|
-
};
|
|
1591
|
-
export type ContractPhaseUpdateManyWithWhereWithoutCurrentStepInput = {
|
|
1592
|
-
where: Prisma.ContractPhaseScalarWhereInput;
|
|
1593
|
-
data: Prisma.XOR<Prisma.ContractPhaseUpdateManyMutationInput, Prisma.ContractPhaseUncheckedUpdateManyWithoutCurrentStepInput>;
|
|
1594
|
-
};
|
|
1595
|
-
export type ContractPhaseCreateWithoutInstallmentsInput = {
|
|
982
|
+
export type ContractPhaseCreateWithoutDocumentationPhaseInput = {
|
|
1596
983
|
id?: string;
|
|
1597
984
|
name: string;
|
|
1598
985
|
description?: string | null;
|
|
@@ -1600,84 +987,56 @@ export type ContractPhaseCreateWithoutInstallmentsInput = {
|
|
|
1600
987
|
phaseType: $Enums.PhaseType;
|
|
1601
988
|
order: number;
|
|
1602
989
|
status?: $Enums.PhaseStatus;
|
|
1603
|
-
totalAmount?: number | null;
|
|
1604
|
-
paidAmount?: number;
|
|
1605
|
-
remainingAmount?: number | null;
|
|
1606
|
-
interestRate?: number | null;
|
|
1607
|
-
collectFunds?: boolean;
|
|
1608
|
-
approvedDocumentsCount?: number;
|
|
1609
|
-
requiredDocumentsCount?: number;
|
|
1610
|
-
completedStepsCount?: number;
|
|
1611
|
-
totalStepsCount?: number;
|
|
1612
990
|
dueDate?: Date | string | null;
|
|
1613
991
|
startDate?: Date | string | null;
|
|
1614
992
|
endDate?: Date | string | null;
|
|
1615
993
|
activatedAt?: Date | string | null;
|
|
1616
994
|
completedAt?: Date | string | null;
|
|
1617
995
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1618
|
-
minimumCompletionPercentage?: number | null;
|
|
1619
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1620
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1621
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1622
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1623
996
|
createdAt?: Date | string;
|
|
1624
997
|
updatedAt?: Date | string;
|
|
1625
998
|
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1626
|
-
|
|
1627
|
-
|
|
999
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
1000
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
1628
1001
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1629
|
-
|
|
1002
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
1630
1003
|
};
|
|
1631
|
-
export type
|
|
1004
|
+
export type ContractPhaseUncheckedCreateWithoutDocumentationPhaseInput = {
|
|
1632
1005
|
id?: string;
|
|
1633
1006
|
contractId: string;
|
|
1634
|
-
paymentPlanId?: string | null;
|
|
1635
1007
|
name: string;
|
|
1636
1008
|
description?: string | null;
|
|
1637
1009
|
phaseCategory: $Enums.PhaseCategory;
|
|
1638
1010
|
phaseType: $Enums.PhaseType;
|
|
1639
1011
|
order: number;
|
|
1640
1012
|
status?: $Enums.PhaseStatus;
|
|
1641
|
-
currentStepId?: string | null;
|
|
1642
|
-
totalAmount?: number | null;
|
|
1643
|
-
paidAmount?: number;
|
|
1644
|
-
remainingAmount?: number | null;
|
|
1645
|
-
interestRate?: number | null;
|
|
1646
|
-
collectFunds?: boolean;
|
|
1647
|
-
approvedDocumentsCount?: number;
|
|
1648
|
-
requiredDocumentsCount?: number;
|
|
1649
|
-
completedStepsCount?: number;
|
|
1650
|
-
totalStepsCount?: number;
|
|
1651
1013
|
dueDate?: Date | string | null;
|
|
1652
1014
|
startDate?: Date | string | null;
|
|
1653
1015
|
endDate?: Date | string | null;
|
|
1654
1016
|
activatedAt?: Date | string | null;
|
|
1655
1017
|
completedAt?: Date | string | null;
|
|
1656
1018
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1657
|
-
minimumCompletionPercentage?: number | null;
|
|
1658
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1659
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1660
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1661
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1662
1019
|
createdAt?: Date | string;
|
|
1663
1020
|
updatedAt?: Date | string;
|
|
1021
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1022
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1664
1023
|
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1665
|
-
|
|
1024
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
1666
1025
|
};
|
|
1667
|
-
export type
|
|
1026
|
+
export type ContractPhaseCreateOrConnectWithoutDocumentationPhaseInput = {
|
|
1668
1027
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1669
|
-
create: Prisma.XOR<Prisma.
|
|
1028
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutDocumentationPhaseInput>;
|
|
1670
1029
|
};
|
|
1671
|
-
export type
|
|
1672
|
-
update: Prisma.XOR<Prisma.
|
|
1673
|
-
create: Prisma.XOR<Prisma.
|
|
1030
|
+
export type ContractPhaseUpsertWithoutDocumentationPhaseInput = {
|
|
1031
|
+
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutDocumentationPhaseInput>;
|
|
1032
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutDocumentationPhaseInput>;
|
|
1674
1033
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1675
1034
|
};
|
|
1676
|
-
export type
|
|
1035
|
+
export type ContractPhaseUpdateToOneWithWhereWithoutDocumentationPhaseInput = {
|
|
1677
1036
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1678
|
-
data: Prisma.XOR<Prisma.
|
|
1037
|
+
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutDocumentationPhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutDocumentationPhaseInput>;
|
|
1679
1038
|
};
|
|
1680
|
-
export type
|
|
1039
|
+
export type ContractPhaseUpdateWithoutDocumentationPhaseInput = {
|
|
1681
1040
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1682
1041
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1683
1042
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1685,71 +1044,43 @@ export type ContractPhaseUpdateWithoutInstallmentsInput = {
|
|
|
1685
1044
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1686
1045
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1687
1046
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1688
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1689
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1690
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1691
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1692
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1693
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1694
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1695
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1696
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1697
1047
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1698
1048
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1699
1049
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1700
1050
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1701
1051
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1702
1052
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1703
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1704
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1705
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1706
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1707
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1708
1053
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1709
1054
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1710
1055
|
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1711
|
-
|
|
1712
|
-
|
|
1056
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
1057
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1713
1058
|
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
1714
|
-
|
|
1059
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1715
1060
|
};
|
|
1716
|
-
export type
|
|
1061
|
+
export type ContractPhaseUncheckedUpdateWithoutDocumentationPhaseInput = {
|
|
1717
1062
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1718
1063
|
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1719
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1720
1064
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1721
1065
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1722
1066
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1723
1067
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1724
1068
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1725
1069
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1726
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1727
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1728
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1729
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1730
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1731
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1732
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1733
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1734
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1735
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1736
1070
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1737
1071
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1738
1072
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1739
1073
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1740
1074
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1741
1075
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1742
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1743
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1744
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1745
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1746
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1747
1076
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1748
1077
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1078
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1079
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1749
1080
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1750
|
-
|
|
1081
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1751
1082
|
};
|
|
1752
|
-
export type
|
|
1083
|
+
export type ContractPhaseCreateWithoutPaymentPhaseInput = {
|
|
1753
1084
|
id?: string;
|
|
1754
1085
|
name: string;
|
|
1755
1086
|
description?: string | null;
|
|
@@ -1757,84 +1088,56 @@ export type ContractPhaseCreateWithoutPaymentsInput = {
|
|
|
1757
1088
|
phaseType: $Enums.PhaseType;
|
|
1758
1089
|
order: number;
|
|
1759
1090
|
status?: $Enums.PhaseStatus;
|
|
1760
|
-
totalAmount?: number | null;
|
|
1761
|
-
paidAmount?: number;
|
|
1762
|
-
remainingAmount?: number | null;
|
|
1763
|
-
interestRate?: number | null;
|
|
1764
|
-
collectFunds?: boolean;
|
|
1765
|
-
approvedDocumentsCount?: number;
|
|
1766
|
-
requiredDocumentsCount?: number;
|
|
1767
|
-
completedStepsCount?: number;
|
|
1768
|
-
totalStepsCount?: number;
|
|
1769
1091
|
dueDate?: Date | string | null;
|
|
1770
1092
|
startDate?: Date | string | null;
|
|
1771
1093
|
endDate?: Date | string | null;
|
|
1772
1094
|
activatedAt?: Date | string | null;
|
|
1773
1095
|
completedAt?: Date | string | null;
|
|
1774
1096
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1775
|
-
minimumCompletionPercentage?: number | null;
|
|
1776
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1777
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1778
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1779
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1780
1097
|
createdAt?: Date | string;
|
|
1781
1098
|
updatedAt?: Date | string;
|
|
1782
1099
|
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1100
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
1101
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
1102
|
+
payments?: Prisma.ContractPaymentCreateNestedManyWithoutPhaseInput;
|
|
1103
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
1787
1104
|
};
|
|
1788
|
-
export type
|
|
1105
|
+
export type ContractPhaseUncheckedCreateWithoutPaymentPhaseInput = {
|
|
1789
1106
|
id?: string;
|
|
1790
1107
|
contractId: string;
|
|
1791
|
-
paymentPlanId?: string | null;
|
|
1792
1108
|
name: string;
|
|
1793
1109
|
description?: string | null;
|
|
1794
1110
|
phaseCategory: $Enums.PhaseCategory;
|
|
1795
1111
|
phaseType: $Enums.PhaseType;
|
|
1796
1112
|
order: number;
|
|
1797
1113
|
status?: $Enums.PhaseStatus;
|
|
1798
|
-
currentStepId?: string | null;
|
|
1799
|
-
totalAmount?: number | null;
|
|
1800
|
-
paidAmount?: number;
|
|
1801
|
-
remainingAmount?: number | null;
|
|
1802
|
-
interestRate?: number | null;
|
|
1803
|
-
collectFunds?: boolean;
|
|
1804
|
-
approvedDocumentsCount?: number;
|
|
1805
|
-
requiredDocumentsCount?: number;
|
|
1806
|
-
completedStepsCount?: number;
|
|
1807
|
-
totalStepsCount?: number;
|
|
1808
1114
|
dueDate?: Date | string | null;
|
|
1809
1115
|
startDate?: Date | string | null;
|
|
1810
1116
|
endDate?: Date | string | null;
|
|
1811
1117
|
activatedAt?: Date | string | null;
|
|
1812
1118
|
completedAt?: Date | string | null;
|
|
1813
1119
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1814
|
-
minimumCompletionPercentage?: number | null;
|
|
1815
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1816
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1817
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1818
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1819
1120
|
createdAt?: Date | string;
|
|
1820
1121
|
updatedAt?: Date | string;
|
|
1821
|
-
|
|
1822
|
-
|
|
1122
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1123
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1124
|
+
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
1125
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
1823
1126
|
};
|
|
1824
|
-
export type
|
|
1127
|
+
export type ContractPhaseCreateOrConnectWithoutPaymentPhaseInput = {
|
|
1825
1128
|
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1826
|
-
create: Prisma.XOR<Prisma.
|
|
1129
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPhaseInput>;
|
|
1827
1130
|
};
|
|
1828
|
-
export type
|
|
1829
|
-
update: Prisma.XOR<Prisma.
|
|
1830
|
-
create: Prisma.XOR<Prisma.
|
|
1131
|
+
export type ContractPhaseUpsertWithoutPaymentPhaseInput = {
|
|
1132
|
+
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentPhaseInput>;
|
|
1133
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentPhaseInput>;
|
|
1831
1134
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1832
1135
|
};
|
|
1833
|
-
export type
|
|
1136
|
+
export type ContractPhaseUpdateToOneWithWhereWithoutPaymentPhaseInput = {
|
|
1834
1137
|
where?: Prisma.ContractPhaseWhereInput;
|
|
1835
|
-
data: Prisma.XOR<Prisma.
|
|
1138
|
+
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutPaymentPhaseInput, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentPhaseInput>;
|
|
1836
1139
|
};
|
|
1837
|
-
export type
|
|
1140
|
+
export type ContractPhaseUpdateWithoutPaymentPhaseInput = {
|
|
1838
1141
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1839
1142
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1840
1143
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1842,380 +1145,161 @@ export type ContractPhaseUpdateWithoutPaymentsInput = {
|
|
|
1842
1145
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1843
1146
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1844
1147
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1845
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1846
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1847
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1848
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1849
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1850
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1851
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1852
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1853
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1854
1148
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1855
1149
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1856
1150
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1857
1151
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1858
1152
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1859
1153
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1860
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1861
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1862
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1863
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1864
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1865
1154
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1866
1155
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1867
1156
|
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1157
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
1158
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1159
|
+
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
1160
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1872
1161
|
};
|
|
1873
|
-
export type
|
|
1162
|
+
export type ContractPhaseUncheckedUpdateWithoutPaymentPhaseInput = {
|
|
1874
1163
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1875
1164
|
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1876
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1877
1165
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1878
1166
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1879
1167
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1880
1168
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1881
1169
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1882
1170
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1883
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1884
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1885
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1886
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1887
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1888
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1889
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1890
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1891
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1892
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1893
1171
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1894
1172
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1895
1173
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1896
1174
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1897
1175
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1898
1176
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1899
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1900
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1901
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1902
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1903
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1904
1177
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1905
1178
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1906
|
-
|
|
1907
|
-
|
|
1179
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1180
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1181
|
+
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1182
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
1908
1183
|
};
|
|
1909
|
-
export type
|
|
1184
|
+
export type ContractPhaseCreateWithoutPaymentsInput = {
|
|
1910
1185
|
id?: string;
|
|
1911
|
-
contractId: string;
|
|
1912
1186
|
name: string;
|
|
1913
1187
|
description?: string | null;
|
|
1914
1188
|
phaseCategory: $Enums.PhaseCategory;
|
|
1915
1189
|
phaseType: $Enums.PhaseType;
|
|
1916
1190
|
order: number;
|
|
1917
1191
|
status?: $Enums.PhaseStatus;
|
|
1918
|
-
currentStepId?: string | null;
|
|
1919
|
-
totalAmount?: number | null;
|
|
1920
|
-
paidAmount?: number;
|
|
1921
|
-
remainingAmount?: number | null;
|
|
1922
|
-
interestRate?: number | null;
|
|
1923
|
-
collectFunds?: boolean;
|
|
1924
|
-
approvedDocumentsCount?: number;
|
|
1925
|
-
requiredDocumentsCount?: number;
|
|
1926
|
-
completedStepsCount?: number;
|
|
1927
|
-
totalStepsCount?: number;
|
|
1928
1192
|
dueDate?: Date | string | null;
|
|
1929
1193
|
startDate?: Date | string | null;
|
|
1930
1194
|
endDate?: Date | string | null;
|
|
1931
1195
|
activatedAt?: Date | string | null;
|
|
1932
1196
|
completedAt?: Date | string | null;
|
|
1933
1197
|
requiresPreviousPhaseCompletion?: boolean;
|
|
1934
|
-
minimumCompletionPercentage?: number | null;
|
|
1935
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1936
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1937
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1938
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1939
1198
|
createdAt?: Date | string;
|
|
1940
1199
|
updatedAt?: Date | string;
|
|
1200
|
+
contract: Prisma.ContractCreateNestedOneWithoutPhasesInput;
|
|
1201
|
+
questionnairePhase?: Prisma.QuestionnairePhaseCreateNestedOneWithoutPhaseInput;
|
|
1202
|
+
documentationPhase?: Prisma.DocumentationPhaseCreateNestedOneWithoutPhaseInput;
|
|
1203
|
+
paymentPhase?: Prisma.PaymentPhaseCreateNestedOneWithoutPhaseInput;
|
|
1204
|
+
currentForContracts?: Prisma.ContractCreateNestedManyWithoutCurrentPhaseInput;
|
|
1941
1205
|
};
|
|
1942
|
-
export type
|
|
1943
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1944
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1945
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1946
|
-
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1947
|
-
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1948
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1949
|
-
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1950
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1951
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1952
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1953
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1954
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1955
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1956
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1957
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1958
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1959
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1960
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1961
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1962
|
-
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1963
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1964
|
-
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1965
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1966
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1967
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1968
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1969
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1970
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1971
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1972
|
-
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1973
|
-
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
1974
|
-
installments?: Prisma.ContractInstallmentUpdateManyWithoutPhaseNestedInput;
|
|
1975
|
-
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
1976
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutPhaseNestedInput;
|
|
1977
|
-
};
|
|
1978
|
-
export type ContractPhaseUncheckedUpdateWithoutPaymentPlanInput = {
|
|
1979
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1980
|
-
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1981
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1982
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1983
|
-
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1984
|
-
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1985
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1986
|
-
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
1987
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1988
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1989
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1990
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1991
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1992
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1993
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1994
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1995
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1996
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1997
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1998
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1999
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2000
|
-
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2001
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2002
|
-
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2003
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2004
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2005
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2006
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2007
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2008
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2009
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2010
|
-
installments?: Prisma.ContractInstallmentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2011
|
-
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2012
|
-
steps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2013
|
-
};
|
|
2014
|
-
export type ContractPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
|
|
2015
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2016
|
-
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2017
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2018
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2019
|
-
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2020
|
-
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2021
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2022
|
-
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2023
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2024
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2025
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2026
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2027
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2028
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2029
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2030
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2031
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2032
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2033
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2034
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2035
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2036
|
-
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2037
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2038
|
-
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2039
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2040
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2041
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2042
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2043
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2044
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2045
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2046
|
-
};
|
|
2047
|
-
export type ContractPhaseCreateManyContractInput = {
|
|
1206
|
+
export type ContractPhaseUncheckedCreateWithoutPaymentsInput = {
|
|
2048
1207
|
id?: string;
|
|
2049
|
-
|
|
1208
|
+
contractId: string;
|
|
2050
1209
|
name: string;
|
|
2051
1210
|
description?: string | null;
|
|
2052
1211
|
phaseCategory: $Enums.PhaseCategory;
|
|
2053
1212
|
phaseType: $Enums.PhaseType;
|
|
2054
1213
|
order: number;
|
|
2055
1214
|
status?: $Enums.PhaseStatus;
|
|
2056
|
-
currentStepId?: string | null;
|
|
2057
|
-
totalAmount?: number | null;
|
|
2058
|
-
paidAmount?: number;
|
|
2059
|
-
remainingAmount?: number | null;
|
|
2060
|
-
interestRate?: number | null;
|
|
2061
|
-
collectFunds?: boolean;
|
|
2062
|
-
approvedDocumentsCount?: number;
|
|
2063
|
-
requiredDocumentsCount?: number;
|
|
2064
|
-
completedStepsCount?: number;
|
|
2065
|
-
totalStepsCount?: number;
|
|
2066
1215
|
dueDate?: Date | string | null;
|
|
2067
1216
|
startDate?: Date | string | null;
|
|
2068
1217
|
endDate?: Date | string | null;
|
|
2069
1218
|
activatedAt?: Date | string | null;
|
|
2070
1219
|
completedAt?: Date | string | null;
|
|
2071
1220
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2072
|
-
minimumCompletionPercentage?: number | null;
|
|
2073
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
2074
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2075
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2076
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2077
1221
|
createdAt?: Date | string;
|
|
2078
1222
|
updatedAt?: Date | string;
|
|
1223
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1224
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1225
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedCreateNestedOneWithoutPhaseInput;
|
|
1226
|
+
currentForContracts?: Prisma.ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput;
|
|
2079
1227
|
};
|
|
2080
|
-
export type
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2084
|
-
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2085
|
-
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2086
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2087
|
-
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2088
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2089
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2090
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2091
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2092
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2093
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2094
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2095
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2096
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2097
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2098
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2099
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2100
|
-
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2101
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2102
|
-
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2103
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2104
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2105
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2106
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2107
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2108
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2109
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2110
|
-
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutContractPhasesNestedInput;
|
|
2111
|
-
currentStep?: Prisma.DocumentationStepUpdateOneWithoutCurrentForPhaseNestedInput;
|
|
2112
|
-
installments?: Prisma.ContractInstallmentUpdateManyWithoutPhaseNestedInput;
|
|
2113
|
-
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
2114
|
-
steps?: Prisma.DocumentationStepUpdateManyWithoutPhaseNestedInput;
|
|
1228
|
+
export type ContractPhaseCreateOrConnectWithoutPaymentsInput = {
|
|
1229
|
+
where: Prisma.ContractPhaseWhereUniqueInput;
|
|
1230
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentsInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentsInput>;
|
|
2115
1231
|
};
|
|
2116
|
-
export type
|
|
1232
|
+
export type ContractPhaseUpsertWithoutPaymentsInput = {
|
|
1233
|
+
update: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutPaymentsInput, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentsInput>;
|
|
1234
|
+
create: Prisma.XOR<Prisma.ContractPhaseCreateWithoutPaymentsInput, Prisma.ContractPhaseUncheckedCreateWithoutPaymentsInput>;
|
|
1235
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
1236
|
+
};
|
|
1237
|
+
export type ContractPhaseUpdateToOneWithWhereWithoutPaymentsInput = {
|
|
1238
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
1239
|
+
data: Prisma.XOR<Prisma.ContractPhaseUpdateWithoutPaymentsInput, Prisma.ContractPhaseUncheckedUpdateWithoutPaymentsInput>;
|
|
1240
|
+
};
|
|
1241
|
+
export type ContractPhaseUpdateWithoutPaymentsInput = {
|
|
2117
1242
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2118
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2119
1243
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2120
1244
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2121
1245
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2122
1246
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2123
1247
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2124
1248
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2125
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2126
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2127
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2128
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2129
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2130
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2131
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2132
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2133
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2134
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2135
1249
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2136
1250
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2137
1251
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2138
1252
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2139
1253
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2140
1254
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2141
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2142
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2143
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2144
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2145
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2146
1255
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2147
1256
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
1257
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1258
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
1259
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1260
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1261
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
2151
1262
|
};
|
|
2152
|
-
export type
|
|
1263
|
+
export type ContractPhaseUncheckedUpdateWithoutPaymentsInput = {
|
|
2153
1264
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2154
|
-
|
|
1265
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2155
1266
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2156
1267
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2157
1268
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2158
1269
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2159
1270
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2160
1271
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2161
|
-
currentStepId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2162
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2163
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2164
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2165
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2166
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2167
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2168
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2169
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2170
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2171
1272
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2172
1273
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2173
1274
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2174
1275
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2175
1276
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2176
1277
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2177
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2178
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2179
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2180
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2181
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2182
1278
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2183
1279
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1280
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1281
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1282
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1283
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
2184
1284
|
};
|
|
2185
|
-
export type
|
|
1285
|
+
export type ContractPhaseCreateManyContractInput = {
|
|
2186
1286
|
id?: string;
|
|
2187
|
-
contractId: string;
|
|
2188
|
-
paymentPlanId?: string | null;
|
|
2189
1287
|
name: string;
|
|
2190
1288
|
description?: string | null;
|
|
2191
1289
|
phaseCategory: $Enums.PhaseCategory;
|
|
2192
1290
|
phaseType: $Enums.PhaseType;
|
|
2193
1291
|
order: number;
|
|
2194
1292
|
status?: $Enums.PhaseStatus;
|
|
2195
|
-
totalAmount?: number | null;
|
|
2196
|
-
paidAmount?: number;
|
|
2197
|
-
remainingAmount?: number | null;
|
|
2198
|
-
interestRate?: number | null;
|
|
2199
|
-
collectFunds?: boolean;
|
|
2200
|
-
approvedDocumentsCount?: number;
|
|
2201
|
-
requiredDocumentsCount?: number;
|
|
2202
|
-
completedStepsCount?: number;
|
|
2203
|
-
totalStepsCount?: number;
|
|
2204
1293
|
dueDate?: Date | string | null;
|
|
2205
1294
|
startDate?: Date | string | null;
|
|
2206
1295
|
endDate?: Date | string | null;
|
|
2207
1296
|
activatedAt?: Date | string | null;
|
|
2208
1297
|
completedAt?: Date | string | null;
|
|
2209
1298
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2210
|
-
minimumCompletionPercentage?: number | null;
|
|
2211
|
-
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
2212
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2213
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2214
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2215
1299
|
createdAt?: Date | string;
|
|
2216
1300
|
updatedAt?: Date | string;
|
|
2217
1301
|
};
|
|
2218
|
-
export type
|
|
1302
|
+
export type ContractPhaseUpdateWithoutContractInput = {
|
|
2219
1303
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2220
1304
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2221
1305
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2223,100 +1307,56 @@ export type ContractPhaseUpdateWithoutCurrentStepInput = {
|
|
|
2223
1307
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2224
1308
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2225
1309
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2226
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2227
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2228
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2229
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2230
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2231
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2232
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2233
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2234
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2235
1310
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2236
1311
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2237
1312
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2238
1313
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2239
1314
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2240
1315
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2241
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2242
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2243
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2244
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2245
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2246
1316
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2247
1317
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
1318
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUpdateOneWithoutPhaseNestedInput;
|
|
1319
|
+
documentationPhase?: Prisma.DocumentationPhaseUpdateOneWithoutPhaseNestedInput;
|
|
1320
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneWithoutPhaseNestedInput;
|
|
2251
1321
|
payments?: Prisma.ContractPaymentUpdateManyWithoutPhaseNestedInput;
|
|
2252
|
-
|
|
1322
|
+
currentForContracts?: Prisma.ContractUpdateManyWithoutCurrentPhaseNestedInput;
|
|
2253
1323
|
};
|
|
2254
|
-
export type
|
|
1324
|
+
export type ContractPhaseUncheckedUpdateWithoutContractInput = {
|
|
2255
1325
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2256
|
-
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2257
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2258
1326
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2259
1327
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2260
1328
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2261
1329
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2262
1330
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2263
1331
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2264
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2265
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2266
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2267
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2268
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2269
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2270
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2271
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2272
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2273
1332
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2274
1333
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2275
1334
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2276
1335
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2277
1336
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2278
1337
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2279
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2280
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2281
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2282
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2283
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2284
1338
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2285
1339
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2286
|
-
|
|
1340
|
+
questionnairePhase?: Prisma.QuestionnairePhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1341
|
+
documentationPhase?: Prisma.DocumentationPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
1342
|
+
paymentPhase?: Prisma.PaymentPhaseUncheckedUpdateOneWithoutPhaseNestedInput;
|
|
2287
1343
|
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
2288
|
-
|
|
1344
|
+
currentForContracts?: Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput;
|
|
2289
1345
|
};
|
|
2290
|
-
export type
|
|
1346
|
+
export type ContractPhaseUncheckedUpdateManyWithoutContractInput = {
|
|
2291
1347
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2292
|
-
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2293
|
-
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2294
1348
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2295
1349
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2296
1350
|
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
2297
1351
|
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
2298
1352
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2299
1353
|
status?: Prisma.EnumPhaseStatusFieldUpdateOperationsInput | $Enums.PhaseStatus;
|
|
2300
|
-
totalAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2301
|
-
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2302
|
-
remainingAmount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2303
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2304
|
-
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2305
|
-
approvedDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2306
|
-
requiredDocumentsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2307
|
-
completedStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2308
|
-
totalStepsCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2309
1354
|
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2310
1355
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2311
1356
|
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2312
1357
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2313
1358
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2314
1359
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2315
|
-
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2316
|
-
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
2317
|
-
paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2318
|
-
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2319
|
-
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2320
1360
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2321
1361
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2322
1362
|
};
|
|
@@ -2324,14 +1364,12 @@ export type ContractPhaseUncheckedUpdateManyWithoutCurrentStepInput = {
|
|
|
2324
1364
|
* Count Type ContractPhaseCountOutputType
|
|
2325
1365
|
*/
|
|
2326
1366
|
export type ContractPhaseCountOutputType = {
|
|
2327
|
-
installments: number;
|
|
2328
1367
|
payments: number;
|
|
2329
|
-
|
|
1368
|
+
currentForContracts: number;
|
|
2330
1369
|
};
|
|
2331
1370
|
export type ContractPhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2332
|
-
installments?: boolean | ContractPhaseCountOutputTypeCountInstallmentsArgs;
|
|
2333
1371
|
payments?: boolean | ContractPhaseCountOutputTypeCountPaymentsArgs;
|
|
2334
|
-
|
|
1372
|
+
currentForContracts?: boolean | ContractPhaseCountOutputTypeCountCurrentForContractsArgs;
|
|
2335
1373
|
};
|
|
2336
1374
|
/**
|
|
2337
1375
|
* ContractPhaseCountOutputType without action
|
|
@@ -2342,12 +1380,6 @@ export type ContractPhaseCountOutputTypeDefaultArgs<ExtArgs extends runtime.Type
|
|
|
2342
1380
|
*/
|
|
2343
1381
|
select?: Prisma.ContractPhaseCountOutputTypeSelect<ExtArgs> | null;
|
|
2344
1382
|
};
|
|
2345
|
-
/**
|
|
2346
|
-
* ContractPhaseCountOutputType without action
|
|
2347
|
-
*/
|
|
2348
|
-
export type ContractPhaseCountOutputTypeCountInstallmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2349
|
-
where?: Prisma.ContractInstallmentWhereInput;
|
|
2350
|
-
};
|
|
2351
1383
|
/**
|
|
2352
1384
|
* ContractPhaseCountOutputType without action
|
|
2353
1385
|
*/
|
|
@@ -2357,135 +1389,87 @@ export type ContractPhaseCountOutputTypeCountPaymentsArgs<ExtArgs extends runtim
|
|
|
2357
1389
|
/**
|
|
2358
1390
|
* ContractPhaseCountOutputType without action
|
|
2359
1391
|
*/
|
|
2360
|
-
export type
|
|
2361
|
-
where?: Prisma.
|
|
1392
|
+
export type ContractPhaseCountOutputTypeCountCurrentForContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1393
|
+
where?: Prisma.ContractWhereInput;
|
|
2362
1394
|
};
|
|
2363
1395
|
export type ContractPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2364
1396
|
id?: boolean;
|
|
2365
1397
|
contractId?: boolean;
|
|
2366
|
-
paymentPlanId?: boolean;
|
|
2367
1398
|
name?: boolean;
|
|
2368
1399
|
description?: boolean;
|
|
2369
1400
|
phaseCategory?: boolean;
|
|
2370
1401
|
phaseType?: boolean;
|
|
2371
1402
|
order?: boolean;
|
|
2372
1403
|
status?: boolean;
|
|
2373
|
-
currentStepId?: boolean;
|
|
2374
|
-
totalAmount?: boolean;
|
|
2375
|
-
paidAmount?: boolean;
|
|
2376
|
-
remainingAmount?: boolean;
|
|
2377
|
-
interestRate?: boolean;
|
|
2378
|
-
collectFunds?: boolean;
|
|
2379
|
-
approvedDocumentsCount?: boolean;
|
|
2380
|
-
requiredDocumentsCount?: boolean;
|
|
2381
|
-
completedStepsCount?: boolean;
|
|
2382
|
-
totalStepsCount?: boolean;
|
|
2383
1404
|
dueDate?: boolean;
|
|
2384
1405
|
startDate?: boolean;
|
|
2385
1406
|
endDate?: boolean;
|
|
2386
1407
|
activatedAt?: boolean;
|
|
2387
1408
|
completedAt?: boolean;
|
|
2388
1409
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2389
|
-
minimumCompletionPercentage?: boolean;
|
|
2390
|
-
completionCriterion?: boolean;
|
|
2391
|
-
paymentPlanSnapshot?: boolean;
|
|
2392
|
-
stepDefinitionsSnapshot?: boolean;
|
|
2393
|
-
requiredDocumentSnapshot?: boolean;
|
|
2394
1410
|
createdAt?: boolean;
|
|
2395
1411
|
updatedAt?: boolean;
|
|
2396
1412
|
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
1413
|
+
questionnairePhase?: boolean | Prisma.ContractPhase$questionnairePhaseArgs<ExtArgs>;
|
|
1414
|
+
documentationPhase?: boolean | Prisma.ContractPhase$documentationPhaseArgs<ExtArgs>;
|
|
1415
|
+
paymentPhase?: boolean | Prisma.ContractPhase$paymentPhaseArgs<ExtArgs>;
|
|
2400
1416
|
payments?: boolean | Prisma.ContractPhase$paymentsArgs<ExtArgs>;
|
|
2401
|
-
|
|
1417
|
+
currentForContracts?: boolean | Prisma.ContractPhase$currentForContractsArgs<ExtArgs>;
|
|
2402
1418
|
_count?: boolean | Prisma.ContractPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2403
1419
|
}, ExtArgs["result"]["contractPhase"]>;
|
|
2404
1420
|
export type ContractPhaseSelectScalar = {
|
|
2405
1421
|
id?: boolean;
|
|
2406
1422
|
contractId?: boolean;
|
|
2407
|
-
paymentPlanId?: boolean;
|
|
2408
1423
|
name?: boolean;
|
|
2409
1424
|
description?: boolean;
|
|
2410
1425
|
phaseCategory?: boolean;
|
|
2411
1426
|
phaseType?: boolean;
|
|
2412
1427
|
order?: boolean;
|
|
2413
1428
|
status?: boolean;
|
|
2414
|
-
currentStepId?: boolean;
|
|
2415
|
-
totalAmount?: boolean;
|
|
2416
|
-
paidAmount?: boolean;
|
|
2417
|
-
remainingAmount?: boolean;
|
|
2418
|
-
interestRate?: boolean;
|
|
2419
|
-
collectFunds?: boolean;
|
|
2420
|
-
approvedDocumentsCount?: boolean;
|
|
2421
|
-
requiredDocumentsCount?: boolean;
|
|
2422
|
-
completedStepsCount?: boolean;
|
|
2423
|
-
totalStepsCount?: boolean;
|
|
2424
1429
|
dueDate?: boolean;
|
|
2425
1430
|
startDate?: boolean;
|
|
2426
1431
|
endDate?: boolean;
|
|
2427
1432
|
activatedAt?: boolean;
|
|
2428
1433
|
completedAt?: boolean;
|
|
2429
1434
|
requiresPreviousPhaseCompletion?: boolean;
|
|
2430
|
-
minimumCompletionPercentage?: boolean;
|
|
2431
|
-
completionCriterion?: boolean;
|
|
2432
|
-
paymentPlanSnapshot?: boolean;
|
|
2433
|
-
stepDefinitionsSnapshot?: boolean;
|
|
2434
|
-
requiredDocumentSnapshot?: boolean;
|
|
2435
1435
|
createdAt?: boolean;
|
|
2436
1436
|
updatedAt?: boolean;
|
|
2437
1437
|
};
|
|
2438
|
-
export type ContractPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "contractId" | "
|
|
1438
|
+
export type ContractPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "contractId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "status" | "dueDate" | "startDate" | "endDate" | "activatedAt" | "completedAt" | "requiresPreviousPhaseCompletion" | "createdAt" | "updatedAt", ExtArgs["result"]["contractPhase"]>;
|
|
2439
1439
|
export type ContractPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2440
1440
|
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
1441
|
+
questionnairePhase?: boolean | Prisma.ContractPhase$questionnairePhaseArgs<ExtArgs>;
|
|
1442
|
+
documentationPhase?: boolean | Prisma.ContractPhase$documentationPhaseArgs<ExtArgs>;
|
|
1443
|
+
paymentPhase?: boolean | Prisma.ContractPhase$paymentPhaseArgs<ExtArgs>;
|
|
2444
1444
|
payments?: boolean | Prisma.ContractPhase$paymentsArgs<ExtArgs>;
|
|
2445
|
-
|
|
1445
|
+
currentForContracts?: boolean | Prisma.ContractPhase$currentForContractsArgs<ExtArgs>;
|
|
2446
1446
|
_count?: boolean | Prisma.ContractPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2447
1447
|
};
|
|
2448
1448
|
export type $ContractPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2449
1449
|
name: "ContractPhase";
|
|
2450
1450
|
objects: {
|
|
2451
1451
|
contract: Prisma.$ContractPayload<ExtArgs>;
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
1452
|
+
questionnairePhase: Prisma.$QuestionnairePhasePayload<ExtArgs> | null;
|
|
1453
|
+
documentationPhase: Prisma.$DocumentationPhasePayload<ExtArgs> | null;
|
|
1454
|
+
paymentPhase: Prisma.$PaymentPhasePayload<ExtArgs> | null;
|
|
2455
1455
|
payments: Prisma.$ContractPaymentPayload<ExtArgs>[];
|
|
2456
|
-
|
|
1456
|
+
currentForContracts: Prisma.$ContractPayload<ExtArgs>[];
|
|
2457
1457
|
};
|
|
2458
1458
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2459
1459
|
id: string;
|
|
2460
1460
|
contractId: string;
|
|
2461
|
-
paymentPlanId: string | null;
|
|
2462
1461
|
name: string;
|
|
2463
1462
|
description: string | null;
|
|
2464
1463
|
phaseCategory: $Enums.PhaseCategory;
|
|
2465
1464
|
phaseType: $Enums.PhaseType;
|
|
2466
1465
|
order: number;
|
|
2467
1466
|
status: $Enums.PhaseStatus;
|
|
2468
|
-
currentStepId: string | null;
|
|
2469
|
-
totalAmount: number | null;
|
|
2470
|
-
paidAmount: number;
|
|
2471
|
-
remainingAmount: number | null;
|
|
2472
|
-
interestRate: number | null;
|
|
2473
|
-
collectFunds: boolean;
|
|
2474
|
-
approvedDocumentsCount: number;
|
|
2475
|
-
requiredDocumentsCount: number;
|
|
2476
|
-
completedStepsCount: number;
|
|
2477
|
-
totalStepsCount: number;
|
|
2478
1467
|
dueDate: Date | null;
|
|
2479
1468
|
startDate: Date | null;
|
|
2480
1469
|
endDate: Date | null;
|
|
2481
1470
|
activatedAt: Date | null;
|
|
2482
1471
|
completedAt: Date | null;
|
|
2483
1472
|
requiresPreviousPhaseCompletion: boolean;
|
|
2484
|
-
minimumCompletionPercentage: number | null;
|
|
2485
|
-
completionCriterion: $Enums.CompletionCriterion | null;
|
|
2486
|
-
paymentPlanSnapshot: runtime.JsonValue | null;
|
|
2487
|
-
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
2488
|
-
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
2489
1473
|
createdAt: Date;
|
|
2490
1474
|
updatedAt: Date;
|
|
2491
1475
|
}, ExtArgs["result"]["contractPhase"]>;
|
|
@@ -2766,11 +1750,11 @@ export interface ContractPhaseDelegate<ExtArgs extends runtime.Types.Extensions.
|
|
|
2766
1750
|
export interface Prisma__ContractPhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2767
1751
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2768
1752
|
contract<T extends Prisma.ContractDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractClient<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
1753
|
+
questionnairePhase<T extends Prisma.ContractPhase$questionnairePhaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhase$questionnairePhaseArgs<ExtArgs>>): Prisma.Prisma__QuestionnairePhaseClient<runtime.Types.Result.GetResult<Prisma.$QuestionnairePhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1754
|
+
documentationPhase<T extends Prisma.ContractPhase$documentationPhaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhase$documentationPhaseArgs<ExtArgs>>): Prisma.Prisma__DocumentationPhaseClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1755
|
+
paymentPhase<T extends Prisma.ContractPhase$paymentPhaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhase$paymentPhaseArgs<ExtArgs>>): Prisma.Prisma__PaymentPhaseClient<runtime.Types.Result.GetResult<Prisma.$PaymentPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2772
1756
|
payments<T extends Prisma.ContractPhase$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhase$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2773
|
-
|
|
1757
|
+
currentForContracts<T extends Prisma.ContractPhase$currentForContractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhase$currentForContractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2774
1758
|
/**
|
|
2775
1759
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2776
1760
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -2798,34 +1782,18 @@ export interface Prisma__ContractPhaseClient<T, Null = never, ExtArgs extends ru
|
|
|
2798
1782
|
export interface ContractPhaseFieldRefs {
|
|
2799
1783
|
readonly id: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2800
1784
|
readonly contractId: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2801
|
-
readonly paymentPlanId: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2802
1785
|
readonly name: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2803
1786
|
readonly description: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2804
1787
|
readonly phaseCategory: Prisma.FieldRef<"ContractPhase", 'PhaseCategory'>;
|
|
2805
1788
|
readonly phaseType: Prisma.FieldRef<"ContractPhase", 'PhaseType'>;
|
|
2806
1789
|
readonly order: Prisma.FieldRef<"ContractPhase", 'Int'>;
|
|
2807
1790
|
readonly status: Prisma.FieldRef<"ContractPhase", 'PhaseStatus'>;
|
|
2808
|
-
readonly currentStepId: Prisma.FieldRef<"ContractPhase", 'String'>;
|
|
2809
|
-
readonly totalAmount: Prisma.FieldRef<"ContractPhase", 'Float'>;
|
|
2810
|
-
readonly paidAmount: Prisma.FieldRef<"ContractPhase", 'Float'>;
|
|
2811
|
-
readonly remainingAmount: Prisma.FieldRef<"ContractPhase", 'Float'>;
|
|
2812
|
-
readonly interestRate: Prisma.FieldRef<"ContractPhase", 'Float'>;
|
|
2813
|
-
readonly collectFunds: Prisma.FieldRef<"ContractPhase", 'Boolean'>;
|
|
2814
|
-
readonly approvedDocumentsCount: Prisma.FieldRef<"ContractPhase", 'Int'>;
|
|
2815
|
-
readonly requiredDocumentsCount: Prisma.FieldRef<"ContractPhase", 'Int'>;
|
|
2816
|
-
readonly completedStepsCount: Prisma.FieldRef<"ContractPhase", 'Int'>;
|
|
2817
|
-
readonly totalStepsCount: Prisma.FieldRef<"ContractPhase", 'Int'>;
|
|
2818
1791
|
readonly dueDate: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2819
1792
|
readonly startDate: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2820
1793
|
readonly endDate: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2821
1794
|
readonly activatedAt: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2822
1795
|
readonly completedAt: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2823
1796
|
readonly requiresPreviousPhaseCompletion: Prisma.FieldRef<"ContractPhase", 'Boolean'>;
|
|
2824
|
-
readonly minimumCompletionPercentage: Prisma.FieldRef<"ContractPhase", 'Float'>;
|
|
2825
|
-
readonly completionCriterion: Prisma.FieldRef<"ContractPhase", 'CompletionCriterion'>;
|
|
2826
|
-
readonly paymentPlanSnapshot: Prisma.FieldRef<"ContractPhase", 'Json'>;
|
|
2827
|
-
readonly stepDefinitionsSnapshot: Prisma.FieldRef<"ContractPhase", 'Json'>;
|
|
2828
|
-
readonly requiredDocumentSnapshot: Prisma.FieldRef<"ContractPhase", 'Json'>;
|
|
2829
1797
|
readonly createdAt: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2830
1798
|
readonly updatedAt: Prisma.FieldRef<"ContractPhase", 'DateTime'>;
|
|
2831
1799
|
}
|
|
@@ -3156,63 +2124,58 @@ export type ContractPhaseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
3156
2124
|
limit?: number;
|
|
3157
2125
|
};
|
|
3158
2126
|
/**
|
|
3159
|
-
* ContractPhase.
|
|
2127
|
+
* ContractPhase.questionnairePhase
|
|
3160
2128
|
*/
|
|
3161
|
-
export type ContractPhase$
|
|
2129
|
+
export type ContractPhase$questionnairePhaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3162
2130
|
/**
|
|
3163
|
-
* Select specific fields to fetch from the
|
|
2131
|
+
* Select specific fields to fetch from the QuestionnairePhase
|
|
3164
2132
|
*/
|
|
3165
|
-
select?: Prisma.
|
|
2133
|
+
select?: Prisma.QuestionnairePhaseSelect<ExtArgs> | null;
|
|
3166
2134
|
/**
|
|
3167
|
-
* Omit specific fields from the
|
|
2135
|
+
* Omit specific fields from the QuestionnairePhase
|
|
3168
2136
|
*/
|
|
3169
|
-
omit?: Prisma.
|
|
2137
|
+
omit?: Prisma.QuestionnairePhaseOmit<ExtArgs> | null;
|
|
3170
2138
|
/**
|
|
3171
2139
|
* Choose, which related nodes to fetch as well
|
|
3172
2140
|
*/
|
|
3173
|
-
include?: Prisma.
|
|
3174
|
-
where?: Prisma.
|
|
2141
|
+
include?: Prisma.QuestionnairePhaseInclude<ExtArgs> | null;
|
|
2142
|
+
where?: Prisma.QuestionnairePhaseWhereInput;
|
|
3175
2143
|
};
|
|
3176
2144
|
/**
|
|
3177
|
-
* ContractPhase.
|
|
2145
|
+
* ContractPhase.documentationPhase
|
|
3178
2146
|
*/
|
|
3179
|
-
export type ContractPhase$
|
|
2147
|
+
export type ContractPhase$documentationPhaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3180
2148
|
/**
|
|
3181
|
-
* Select specific fields to fetch from the
|
|
2149
|
+
* Select specific fields to fetch from the DocumentationPhase
|
|
3182
2150
|
*/
|
|
3183
|
-
select?: Prisma.
|
|
2151
|
+
select?: Prisma.DocumentationPhaseSelect<ExtArgs> | null;
|
|
3184
2152
|
/**
|
|
3185
|
-
* Omit specific fields from the
|
|
2153
|
+
* Omit specific fields from the DocumentationPhase
|
|
3186
2154
|
*/
|
|
3187
|
-
omit?: Prisma.
|
|
2155
|
+
omit?: Prisma.DocumentationPhaseOmit<ExtArgs> | null;
|
|
3188
2156
|
/**
|
|
3189
2157
|
* Choose, which related nodes to fetch as well
|
|
3190
2158
|
*/
|
|
3191
|
-
include?: Prisma.
|
|
3192
|
-
where?: Prisma.
|
|
2159
|
+
include?: Prisma.DocumentationPhaseInclude<ExtArgs> | null;
|
|
2160
|
+
where?: Prisma.DocumentationPhaseWhereInput;
|
|
3193
2161
|
};
|
|
3194
2162
|
/**
|
|
3195
|
-
* ContractPhase.
|
|
2163
|
+
* ContractPhase.paymentPhase
|
|
3196
2164
|
*/
|
|
3197
|
-
export type ContractPhase$
|
|
2165
|
+
export type ContractPhase$paymentPhaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3198
2166
|
/**
|
|
3199
|
-
* Select specific fields to fetch from the
|
|
2167
|
+
* Select specific fields to fetch from the PaymentPhase
|
|
3200
2168
|
*/
|
|
3201
|
-
select?: Prisma.
|
|
2169
|
+
select?: Prisma.PaymentPhaseSelect<ExtArgs> | null;
|
|
3202
2170
|
/**
|
|
3203
|
-
* Omit specific fields from the
|
|
2171
|
+
* Omit specific fields from the PaymentPhase
|
|
3204
2172
|
*/
|
|
3205
|
-
omit?: Prisma.
|
|
2173
|
+
omit?: Prisma.PaymentPhaseOmit<ExtArgs> | null;
|
|
3206
2174
|
/**
|
|
3207
2175
|
* Choose, which related nodes to fetch as well
|
|
3208
2176
|
*/
|
|
3209
|
-
include?: Prisma.
|
|
3210
|
-
where?: Prisma.
|
|
3211
|
-
orderBy?: Prisma.ContractInstallmentOrderByWithRelationInput | Prisma.ContractInstallmentOrderByWithRelationInput[];
|
|
3212
|
-
cursor?: Prisma.ContractInstallmentWhereUniqueInput;
|
|
3213
|
-
take?: number;
|
|
3214
|
-
skip?: number;
|
|
3215
|
-
distinct?: Prisma.ContractInstallmentScalarFieldEnum | Prisma.ContractInstallmentScalarFieldEnum[];
|
|
2177
|
+
include?: Prisma.PaymentPhaseInclude<ExtArgs> | null;
|
|
2178
|
+
where?: Prisma.PaymentPhaseWhereInput;
|
|
3216
2179
|
};
|
|
3217
2180
|
/**
|
|
3218
2181
|
* ContractPhase.payments
|
|
@@ -3238,27 +2201,27 @@ export type ContractPhase$paymentsArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
3238
2201
|
distinct?: Prisma.ContractPaymentScalarFieldEnum | Prisma.ContractPaymentScalarFieldEnum[];
|
|
3239
2202
|
};
|
|
3240
2203
|
/**
|
|
3241
|
-
* ContractPhase.
|
|
2204
|
+
* ContractPhase.currentForContracts
|
|
3242
2205
|
*/
|
|
3243
|
-
export type ContractPhase$
|
|
2206
|
+
export type ContractPhase$currentForContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3244
2207
|
/**
|
|
3245
|
-
* Select specific fields to fetch from the
|
|
2208
|
+
* Select specific fields to fetch from the Contract
|
|
3246
2209
|
*/
|
|
3247
|
-
select?: Prisma.
|
|
2210
|
+
select?: Prisma.ContractSelect<ExtArgs> | null;
|
|
3248
2211
|
/**
|
|
3249
|
-
* Omit specific fields from the
|
|
2212
|
+
* Omit specific fields from the Contract
|
|
3250
2213
|
*/
|
|
3251
|
-
omit?: Prisma.
|
|
2214
|
+
omit?: Prisma.ContractOmit<ExtArgs> | null;
|
|
3252
2215
|
/**
|
|
3253
2216
|
* Choose, which related nodes to fetch as well
|
|
3254
2217
|
*/
|
|
3255
|
-
include?: Prisma.
|
|
3256
|
-
where?: Prisma.
|
|
3257
|
-
orderBy?: Prisma.
|
|
3258
|
-
cursor?: Prisma.
|
|
2218
|
+
include?: Prisma.ContractInclude<ExtArgs> | null;
|
|
2219
|
+
where?: Prisma.ContractWhereInput;
|
|
2220
|
+
orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
|
|
2221
|
+
cursor?: Prisma.ContractWhereUniqueInput;
|
|
3259
2222
|
take?: number;
|
|
3260
2223
|
skip?: number;
|
|
3261
|
-
distinct?: Prisma.
|
|
2224
|
+
distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
|
|
3262
2225
|
};
|
|
3263
2226
|
/**
|
|
3264
2227
|
* ContractPhase without action
|